Show / Hide Table of Contents

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,
    });
}

}
Inheritance
System.Object
Resource
CustomResource
ProjectUser
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
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 Source

ProjectUser(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 Source

Accepted

Whether the user has accepted project membership or not

Declaration
public Output<bool> Accepted { get; }
Property Value
Type Description
Output<System.Boolean>
View Source

Email

Email address of the user

Declaration
public Output<string> Email { get; }
Property Value
Type Description
Output<System.String>
View Source

MemberType

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

Declaration
public Output<string> MemberType { get; }
Property Value
Type Description
Output<System.String>
View Source

Project

The project the user belongs to

Declaration
public Output<string> Project { get; }
Property Value
Type Description
Output<System.String>

Methods

View Source

Get(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
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.