ProjectUser

Example Usage

using Pulumi;
using Aiven = Pulumi.Aiven;

class MyStack : Stack
{
    public MyStack()
    {
        var mytestuser = new Aiven.ProjectUser("mytestuser", new Aiven.ProjectUserArgs
        {
            Email = "john.doe@example.com",
            MemberType = "admin",
            Project = aiven_project.Myproject.Project,
        });
    }

}

Coming soon!

import pulumi
import pulumi_aiven as aiven

mytestuser = aiven.ProjectUser("mytestuser",
    email="john.doe@example.com",
    member_type="admin",
    project=aiven_project["myproject"]["project"])
import * as pulumi from "@pulumi/pulumi";
import * as aiven from "@pulumi/aiven";

const mytestuser = new aiven.ProjectUser("mytestuser", {
    email: "john.doe@example.com",
    memberType: "admin",
    project: aiven_project_myproject.project,
});

Create a ProjectUser Resource

def ProjectUser(resource_name, opts=None, email=None, member_type=None, project=None, __props__=None);
func NewProjectUser(ctx *Context, name string, args ProjectUserArgs, opts ...ResourceOption) (*ProjectUser, error)
public ProjectUser(string name, ProjectUserArgs args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args ProjectUserArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args ProjectUserArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ProjectUserArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

ProjectUser Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

The ProjectUser resource accepts the following input properties:

Email string

Email address of the user

MemberType string

Project membership type. One of: admin, developer, operator

Project string

The project the user belongs to

Email string

Email address of the user

MemberType string

Project membership type. One of: admin, developer, operator

Project string

The project the user belongs to

email string

Email address of the user

memberType string

Project membership type. One of: admin, developer, operator

project string

The project the user belongs to

email str

Email address of the user

member_type str

Project membership type. One of: admin, developer, operator

project str

The project the user belongs to

Outputs

All input properties are implicitly available as output properties. Additionally, the ProjectUser resource produces the following output properties:

Accepted bool

Whether the user has accepted project membership or not

Id string
The provider-assigned unique ID for this managed resource.
Accepted bool

Whether the user has accepted project membership or not

Id string
The provider-assigned unique ID for this managed resource.
accepted boolean

Whether the user has accepted project membership or not

id string
The provider-assigned unique ID for this managed resource.
accepted bool

Whether the user has accepted project membership or not

id str
The provider-assigned unique ID for this managed resource.

Look up an Existing ProjectUser Resource

Get an existing ProjectUser resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: ProjectUserState, opts?: CustomResourceOptions): ProjectUser
static get(resource_name, id, opts=None, accepted=None, email=None, member_type=None, project=None, __props__=None);
func GetProjectUser(ctx *Context, name string, id IDInput, state *ProjectUserState, opts ...ResourceOption) (*ProjectUser, error)
public static ProjectUser Get(string name, Input<string> id, ProjectUserState? state, CustomResourceOptions? opts = null)
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.

The following state arguments are supported:

Accepted bool

Whether the user has accepted project membership or not

Email string

Email address of the user

MemberType string

Project membership type. One of: admin, developer, operator

Project string

The project the user belongs to

Accepted bool

Whether the user has accepted project membership or not

Email string

Email address of the user

MemberType string

Project membership type. One of: admin, developer, operator

Project string

The project the user belongs to

accepted boolean

Whether the user has accepted project membership or not

email string

Email address of the user

memberType string

Project membership type. One of: admin, developer, operator

project string

The project the user belongs to

accepted bool

Whether the user has accepted project membership or not

email str

Email address of the user

member_type str

Project membership type. One of: admin, developer, operator

project str

The project the user belongs to

Package Details

Repository
https://github.com/pulumi/pulumi-aiven
License
Apache-2.0
Notes
This Pulumi package is based on the aiven Terraform Provider.