Class 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,
});
}
}
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Aiven
Assembly: Pulumi.Aiven.dll
Syntax
public class ProjectUser : CustomResource
Constructors
View SourceProjectUser(String, ProjectUserArgs, CustomResourceOptions)
Create a ProjectUser resource with the given unique name, arguments, and options.
Declaration
public ProjectUser(string name, ProjectUserArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| ProjectUserArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceAccepted
Whether the user has accepted project membership or not
Declaration
public Output<bool> Accepted { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Boolean> |
Email address of the user
Declaration
public Output<string> Email { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
MemberType
Project membership type. One of: admin, developer, operator
Declaration
public Output<string> MemberType { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Project
The project the user belongs to
Declaration
public Output<string> Project { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, ProjectUserState, CustomResourceOptions)
Get an existing ProjectUser resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static ProjectUser Get(string name, Input<string> id, ProjectUserState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| ProjectUserState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| ProjectUser |