1. Packages
  2. Aiven
  3. API Docs
  4. AccountTeamMember
Aiven v6.7.2 published on Tuesday, Oct 31, 2023 by Pulumi

aiven.AccountTeamMember

Explore with Pulumi AI

aiven logo
Aiven v6.7.2 published on Tuesday, Oct 31, 2023 by Pulumi

    The Account Team Member resource allows the creation and management of an Aiven Account Team Member.

    During the creation of aiven.AccountTeamMemberresource, 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 the invitation if one was sent but not yet accepted by the user, it will also eliminate an account team member if one has accepted an invitation previously.

    Create AccountTeamMember Resource

    new AccountTeamMember(name: string, args: AccountTeamMemberArgs, opts?: CustomResourceOptions);
    @overload
    def AccountTeamMember(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          account_id: Optional[str] = None,
                          team_id: Optional[str] = None,
                          user_email: Optional[str] = None)
    @overload
    def AccountTeamMember(resource_name: str,
                          args: AccountTeamMemberArgs,
                          opts: Optional[ResourceOptions] = None)
    func NewAccountTeamMember(ctx *Context, name string, args AccountTeamMemberArgs, opts ...ResourceOption) (*AccountTeamMember, error)
    public AccountTeamMember(string name, AccountTeamMemberArgs args, CustomResourceOptions? opts = null)
    public AccountTeamMember(String name, AccountTeamMemberArgs args)
    public AccountTeamMember(String name, AccountTeamMemberArgs args, CustomResourceOptions options)
    
    type: aiven:AccountTeamMember
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args AccountTeamMemberArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args AccountTeamMemberArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args AccountTeamMemberArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AccountTeamMemberArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AccountTeamMemberArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    AccountTeamMember Resource Properties

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

    Inputs

    The AccountTeamMember resource accepts the following input properties:

    AccountId string

    The unique account id. This property cannot be changed, doing so forces recreation of the resource.

    TeamId string

    An account team id. This property cannot be changed, doing so forces recreation of the resource.

    UserEmail string

    Is a user email address that first will be invited, and after accepting an invitation, he or she becomes a member of a team. This property cannot be changed, doing so forces recreation of the resource.

    AccountId string

    The unique account id. This property cannot be changed, doing so forces recreation of the resource.

    TeamId string

    An account team id. This property cannot be changed, doing so forces recreation of the resource.

    UserEmail string

    Is a user email address that first will be invited, and after accepting an invitation, he or she becomes a member of a team. This property cannot be changed, doing so forces recreation of the resource.

    accountId String

    The unique account id. This property cannot be changed, doing so forces recreation of the resource.

    teamId String

    An account team id. This property cannot be changed, doing so forces recreation of the resource.

    userEmail String

    Is a user email address that first will be invited, and after accepting an invitation, he or she becomes a member of a team. This property cannot be changed, doing so forces recreation of the resource.

    accountId string

    The unique account id. This property cannot be changed, doing so forces recreation of the resource.

    teamId string

    An account team id. This property cannot be changed, doing so forces recreation of the resource.

    userEmail string

    Is a user email address that first will be invited, and after accepting an invitation, he or she becomes a member of a team. This property cannot be changed, doing so forces recreation of the resource.

    account_id str

    The unique account id. This property cannot be changed, doing so forces recreation of the resource.

    team_id str

    An account team id. This property cannot be changed, doing so forces recreation of the resource.

    user_email str

    Is a user email address that first will be invited, and after accepting an invitation, he or she becomes a member of a team. This property cannot be changed, doing so forces recreation of the resource.

    accountId String

    The unique account id. This property cannot be changed, doing so forces recreation of the resource.

    teamId String

    An account team id. This property cannot be changed, doing so forces recreation of the resource.

    userEmail String

    Is a user email address that first will be invited, and after accepting an invitation, he or she becomes a member of a team. This property cannot be changed, doing so forces recreation of the resource.

    Outputs

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

    Accepted bool

    is a boolean flag that determines whether an invitation was accepted or not by the user. false value means that the invitation was sent to the user but not yet accepted. true means that the user accepted the invitation and now a member of an account team.

    CreateTime string

    Time of creation

    Id string

    The provider-assigned unique ID for this managed resource.

    InvitedByUserEmail string

    The email address that invited this user.

    Accepted bool

    is a boolean flag that determines whether an invitation was accepted or not by the user. false value means that the invitation was sent to the user but not yet accepted. true means that the user accepted the invitation and now a member of an account team.

    CreateTime string

    Time of creation

    Id string

    The provider-assigned unique ID for this managed resource.

    InvitedByUserEmail string

    The email address that invited this user.

    accepted Boolean

    is a boolean flag that determines whether an invitation was accepted or not by the user. false value means that the invitation was sent to the user but not yet accepted. true means that the user accepted the invitation and now a member of an account team.

    createTime String

    Time of creation

    id String

    The provider-assigned unique ID for this managed resource.

    invitedByUserEmail String

    The email address that invited this user.

    accepted boolean

    is a boolean flag that determines whether an invitation was accepted or not by the user. false value means that the invitation was sent to the user but not yet accepted. true means that the user accepted the invitation and now a member of an account team.

    createTime string

    Time of creation

    id string

    The provider-assigned unique ID for this managed resource.

    invitedByUserEmail string

    The email address that invited this user.

    accepted bool

    is a boolean flag that determines whether an invitation was accepted or not by the user. false value means that the invitation was sent to the user but not yet accepted. true means that the user accepted the invitation and now a member of an account team.

    create_time str

    Time of creation

    id str

    The provider-assigned unique ID for this managed resource.

    invited_by_user_email str

    The email address that invited this user.

    accepted Boolean

    is a boolean flag that determines whether an invitation was accepted or not by the user. false value means that the invitation was sent to the user but not yet accepted. true means that the user accepted the invitation and now a member of an account team.

    createTime String

    Time of creation

    id String

    The provider-assigned unique ID for this managed resource.

    invitedByUserEmail String

    The email address that invited this user.

    Look up Existing AccountTeamMember Resource

    Get an existing AccountTeamMember 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?: AccountTeamMemberState, opts?: CustomResourceOptions): AccountTeamMember
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            accepted: Optional[bool] = None,
            account_id: Optional[str] = None,
            create_time: Optional[str] = None,
            invited_by_user_email: Optional[str] = None,
            team_id: Optional[str] = None,
            user_email: Optional[str] = None) -> AccountTeamMember
    func GetAccountTeamMember(ctx *Context, name string, id IDInput, state *AccountTeamMemberState, opts ...ResourceOption) (*AccountTeamMember, error)
    public static AccountTeamMember Get(string name, Input<string> id, AccountTeamMemberState? state, CustomResourceOptions? opts = null)
    public static AccountTeamMember get(String name, Output<String> id, AccountTeamMemberState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    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.
    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

    is a boolean flag that determines whether an invitation was accepted or not by the user. false value means that the invitation was sent to the user but not yet accepted. true means that the user accepted the invitation and now a member of an account team.

    AccountId string

    The unique account id. This property cannot be changed, doing so forces recreation of the resource.

    CreateTime string

    Time of creation

    InvitedByUserEmail string

    The email address that invited this user.

    TeamId string

    An account team id. This property cannot be changed, doing so forces recreation of the resource.

    UserEmail string

    Is a user email address that first will be invited, and after accepting an invitation, he or she becomes a member of a team. This property cannot be changed, doing so forces recreation of the resource.

    Accepted bool

    is a boolean flag that determines whether an invitation was accepted or not by the user. false value means that the invitation was sent to the user but not yet accepted. true means that the user accepted the invitation and now a member of an account team.

    AccountId string

    The unique account id. This property cannot be changed, doing so forces recreation of the resource.

    CreateTime string

    Time of creation

    InvitedByUserEmail string

    The email address that invited this user.

    TeamId string

    An account team id. This property cannot be changed, doing so forces recreation of the resource.

    UserEmail string

    Is a user email address that first will be invited, and after accepting an invitation, he or she becomes a member of a team. This property cannot be changed, doing so forces recreation of the resource.

    accepted Boolean

    is a boolean flag that determines whether an invitation was accepted or not by the user. false value means that the invitation was sent to the user but not yet accepted. true means that the user accepted the invitation and now a member of an account team.

    accountId String

    The unique account id. This property cannot be changed, doing so forces recreation of the resource.

    createTime String

    Time of creation

    invitedByUserEmail String

    The email address that invited this user.

    teamId String

    An account team id. This property cannot be changed, doing so forces recreation of the resource.

    userEmail String

    Is a user email address that first will be invited, and after accepting an invitation, he or she becomes a member of a team. This property cannot be changed, doing so forces recreation of the resource.

    accepted boolean

    is a boolean flag that determines whether an invitation was accepted or not by the user. false value means that the invitation was sent to the user but not yet accepted. true means that the user accepted the invitation and now a member of an account team.

    accountId string

    The unique account id. This property cannot be changed, doing so forces recreation of the resource.

    createTime string

    Time of creation

    invitedByUserEmail string

    The email address that invited this user.

    teamId string

    An account team id. This property cannot be changed, doing so forces recreation of the resource.

    userEmail string

    Is a user email address that first will be invited, and after accepting an invitation, he or she becomes a member of a team. This property cannot be changed, doing so forces recreation of the resource.

    accepted bool

    is a boolean flag that determines whether an invitation was accepted or not by the user. false value means that the invitation was sent to the user but not yet accepted. true means that the user accepted the invitation and now a member of an account team.

    account_id str

    The unique account id. This property cannot be changed, doing so forces recreation of the resource.

    create_time str

    Time of creation

    invited_by_user_email str

    The email address that invited this user.

    team_id str

    An account team id. This property cannot be changed, doing so forces recreation of the resource.

    user_email str

    Is a user email address that first will be invited, and after accepting an invitation, he or she becomes a member of a team. This property cannot be changed, doing so forces recreation of the resource.

    accepted Boolean

    is a boolean flag that determines whether an invitation was accepted or not by the user. false value means that the invitation was sent to the user but not yet accepted. true means that the user accepted the invitation and now a member of an account team.

    accountId String

    The unique account id. This property cannot be changed, doing so forces recreation of the resource.

    createTime String

    Time of creation

    invitedByUserEmail String

    The email address that invited this user.

    teamId String

    An account team id. This property cannot be changed, doing so forces recreation of the resource.

    userEmail String

    Is a user email address that first will be invited, and after accepting an invitation, he or she becomes a member of a team. This property cannot be changed, doing so forces recreation of the resource.

    Import

     $ pulumi import aiven:index/accountTeamMember:AccountTeamMember foo account_id/team_id/user_email
    

    Package Details

    Repository
    Aiven pulumi/pulumi-aiven
    License
    Apache-2.0
    Notes

    This Pulumi package is based on the aiven Terraform Provider.

    aiven logo
    Aiven v6.7.2 published on Tuesday, Oct 31, 2023 by Pulumi