Show / Hide Table of Contents

Class AccountTeamMember

During the creation of aiven..AccountTeamMember resource, an email invitation will be sent to a user using user_email address. If the user accepts an invitation, he or she will become a member of the account team. The deletion of aiven..AccountTeamMember will not only delete invitation if one was sent but not yet accepted by the user, and it will also eliminate an account team member if one has accepted an invitation previously.

Example Usage

using Pulumi;
using Aiven = Pulumi.Aiven;

class MyStack : Stack
{
public MyStack()
{
    var foo = new Aiven.AccountTeamMember("foo", new Aiven.AccountTeamMemberArgs
    {
        AccountId = aiven_account.Developers.Account_id,
        TeamId = aiven_account.Developers.Account_id,
        UserEmail = "user+1@example.com",
    });
}

}
Inheritance
System.Object
Resource
CustomResource
AccountTeamMember
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 AccountTeamMember : CustomResource

Constructors

View Source

AccountTeamMember(String, AccountTeamMemberArgs, CustomResourceOptions)

Create a AccountTeamMember resource with the given unique name, arguments, and options.

Declaration
public AccountTeamMember(string name, AccountTeamMemberArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

AccountTeamMemberArgs 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

Team member invitation status

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

AccountId

Account id

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

CreateTime

Time of creation

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

InvitedByUserEmail

Team invited by user email

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

TeamId

Account team id

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

UserEmail

Team invite user email

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

Methods

View Source

Get(String, Input<String>, AccountTeamMemberState, CustomResourceOptions)

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

Declaration
public static AccountTeamMember Get(string name, Input<string> id, AccountTeamMemberState 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.

AccountTeamMemberState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
AccountTeamMember
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.