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

aiven.OrganizationUser

Explore with Pulumi AI

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

    The Organization User resource allows the creation and management of an Aiven Organization User.

    During the creation of aiven.OrganizationUserresource, an email invitation will be sent to a user using user_email address. If the user accepts an invitation, they will become a member of the organization. The deletion of aiven.OrganizationUser will not only delete the invitation if one was sent but not yet accepted by the user, it will also eliminate the member from the organization if one has accepted an invitation previously.

    Create OrganizationUser Resource

    new OrganizationUser(name: string, args: OrganizationUserArgs, opts?: CustomResourceOptions);
    @overload
    def OrganizationUser(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         organization_id: Optional[str] = None,
                         user_email: Optional[str] = None)
    @overload
    def OrganizationUser(resource_name: str,
                         args: OrganizationUserArgs,
                         opts: Optional[ResourceOptions] = None)
    func NewOrganizationUser(ctx *Context, name string, args OrganizationUserArgs, opts ...ResourceOption) (*OrganizationUser, error)
    public OrganizationUser(string name, OrganizationUserArgs args, CustomResourceOptions? opts = null)
    public OrganizationUser(String name, OrganizationUserArgs args)
    public OrganizationUser(String name, OrganizationUserArgs args, CustomResourceOptions options)
    
    type: aiven:OrganizationUser
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args OrganizationUserArgs
    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 OrganizationUserArgs
    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 OrganizationUserArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args OrganizationUserArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args OrganizationUserArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    OrganizationUser 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 OrganizationUser resource accepts the following input properties:

    OrganizationId string

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

    UserEmail string

    This is a user email address that first will be invited, and after accepting an invitation, they become a member of the organization. This property cannot be changed, doing so forces recreation of the resource.

    OrganizationId string

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

    UserEmail string

    This is a user email address that first will be invited, and after accepting an invitation, they become a member of the organization. This property cannot be changed, doing so forces recreation of the resource.

    organizationId String

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

    userEmail String

    This is a user email address that first will be invited, and after accepting an invitation, they become a member of the organization. This property cannot be changed, doing so forces recreation of the resource.

    organizationId string

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

    userEmail string

    This is a user email address that first will be invited, and after accepting an invitation, they become a member of the organization. This property cannot be changed, doing so forces recreation of the resource.

    organization_id str

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

    user_email str

    This is a user email address that first will be invited, and after accepting an invitation, they become a member of the organization. This property cannot be changed, doing so forces recreation of the resource.

    organizationId String

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

    userEmail String

    This is a user email address that first will be invited, and after accepting an invitation, they become a member of the organization. This property cannot be changed, doing so forces recreation of the resource.

    Outputs

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

    Accepted bool

    This 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 organization.

    CreateTime string

    Time of creation

    Id string

    The provider-assigned unique ID for this managed resource.

    InvitedBy string

    The email address of the user who sent an invitation to the user.

    Accepted bool

    This 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 organization.

    CreateTime string

    Time of creation

    Id string

    The provider-assigned unique ID for this managed resource.

    InvitedBy string

    The email address of the user who sent an invitation to the user.

    accepted Boolean

    This 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 organization.

    createTime String

    Time of creation

    id String

    The provider-assigned unique ID for this managed resource.

    invitedBy String

    The email address of the user who sent an invitation to the user.

    accepted boolean

    This 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 organization.

    createTime string

    Time of creation

    id string

    The provider-assigned unique ID for this managed resource.

    invitedBy string

    The email address of the user who sent an invitation to the user.

    accepted bool

    This 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 organization.

    create_time str

    Time of creation

    id str

    The provider-assigned unique ID for this managed resource.

    invited_by str

    The email address of the user who sent an invitation to the user.

    accepted Boolean

    This 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 organization.

    createTime String

    Time of creation

    id String

    The provider-assigned unique ID for this managed resource.

    invitedBy String

    The email address of the user who sent an invitation to the user.

    Look up Existing OrganizationUser Resource

    Get an existing OrganizationUser 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?: OrganizationUserState, opts?: CustomResourceOptions): OrganizationUser
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            accepted: Optional[bool] = None,
            create_time: Optional[str] = None,
            invited_by: Optional[str] = None,
            organization_id: Optional[str] = None,
            user_email: Optional[str] = None) -> OrganizationUser
    func GetOrganizationUser(ctx *Context, name string, id IDInput, state *OrganizationUserState, opts ...ResourceOption) (*OrganizationUser, error)
    public static OrganizationUser Get(string name, Input<string> id, OrganizationUserState? state, CustomResourceOptions? opts = null)
    public static OrganizationUser get(String name, Output<String> id, OrganizationUserState 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

    This 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 organization.

    CreateTime string

    Time of creation

    InvitedBy string

    The email address of the user who sent an invitation to the user.

    OrganizationId string

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

    UserEmail string

    This is a user email address that first will be invited, and after accepting an invitation, they become a member of the organization. This property cannot be changed, doing so forces recreation of the resource.

    Accepted bool

    This 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 organization.

    CreateTime string

    Time of creation

    InvitedBy string

    The email address of the user who sent an invitation to the user.

    OrganizationId string

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

    UserEmail string

    This is a user email address that first will be invited, and after accepting an invitation, they become a member of the organization. This property cannot be changed, doing so forces recreation of the resource.

    accepted Boolean

    This 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 organization.

    createTime String

    Time of creation

    invitedBy String

    The email address of the user who sent an invitation to the user.

    organizationId String

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

    userEmail String

    This is a user email address that first will be invited, and after accepting an invitation, they become a member of the organization. This property cannot be changed, doing so forces recreation of the resource.

    accepted boolean

    This 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 organization.

    createTime string

    Time of creation

    invitedBy string

    The email address of the user who sent an invitation to the user.

    organizationId string

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

    userEmail string

    This is a user email address that first will be invited, and after accepting an invitation, they become a member of the organization. This property cannot be changed, doing so forces recreation of the resource.

    accepted bool

    This 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 organization.

    create_time str

    Time of creation

    invited_by str

    The email address of the user who sent an invitation to the user.

    organization_id str

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

    user_email str

    This is a user email address that first will be invited, and after accepting an invitation, they become a member of the organization. This property cannot be changed, doing so forces recreation of the resource.

    accepted Boolean

    This 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 organization.

    createTime String

    Time of creation

    invitedBy String

    The email address of the user who sent an invitation to the user.

    organizationId String

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

    userEmail String

    This is a user email address that first will be invited, and after accepting an invitation, they become a member of the organization. This property cannot be changed, doing so forces recreation of the resource.

    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