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",
});
}
}
Inherited Members
Namespace: Pulumi.Aiven
Assembly: Pulumi.Aiven.dll
Syntax
public class AccountTeamMember : CustomResource
Constructors
View SourceAccountTeamMember(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 SourceAccepted
Team member invitation status
Declaration
public Output<bool> Accepted { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Boolean> |
AccountId
Account id
Declaration
public Output<string> AccountId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
CreateTime
Time of creation
Declaration
public Output<string> CreateTime { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
InvitedByUserEmail
Team invited by user email
Declaration
public Output<string> InvitedByUserEmail { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
TeamId
Account team id
Declaration
public Output<string> TeamId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
UserEmail
Team invite user email
Declaration
public Output<string> UserEmail { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(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 |