import * as pulumi from "@pulumi/pulumi"; /** * Creates and manages an Aiven Organization user. * * > **This resource is deprecated** * Users cannot be invited to an organization using Terraform. * Use the Aiven Console to [invite users to your organization](https://aiven.io/docs/platform/howto/manage-org-users). * After the user accepts the invite you can get their information using the `aiven.OrganizationUser` data source. You can manage * user access to projects with the `aiven.OrganizationUserGroup`, `aiven.OrganizationUserGroupMember`, * and `aiven.OrganizationPermission` resources. */ export declare class OrganizationUser extends pulumi.CustomResource { /** * Get an existing OrganizationUser resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: OrganizationUserState, opts?: pulumi.CustomResourceOptions): OrganizationUser; /** * Returns true if the given object is an instance of OrganizationUser. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is OrganizationUser; /** * 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. * * @deprecated This field is deprecated and will be removed in the next major release. */ readonly accepted: pulumi.Output; /** * Time of creation */ readonly createTime: pulumi.Output; /** * The email address of the user who sent an invitation to the user. * * @deprecated This field is deprecated and will be removed in the next major release. */ readonly invitedBy: pulumi.Output; /** * The unique organization ID. Changing this property forces recreation of the resource. */ readonly organizationId: pulumi.Output; /** * This is a user email address that first will be invited, and after accepting an invitation, they become a member of the organization. Should be lowercase. Changing this property forces recreation of the resource. */ readonly userEmail: pulumi.Output; /** * The unique organization user ID */ readonly userId: pulumi.Output; /** * Create a OrganizationUser resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: OrganizationUserArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering OrganizationUser resources. */ export interface OrganizationUserState { /** * 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. * * @deprecated This field is deprecated and will be removed in the next major release. */ accepted?: pulumi.Input; /** * Time of creation */ createTime?: pulumi.Input; /** * The email address of the user who sent an invitation to the user. * * @deprecated This field is deprecated and will be removed in the next major release. */ invitedBy?: pulumi.Input; /** * The unique organization ID. Changing this property forces recreation of the resource. */ organizationId?: pulumi.Input; /** * This is a user email address that first will be invited, and after accepting an invitation, they become a member of the organization. Should be lowercase. Changing this property forces recreation of the resource. */ userEmail?: pulumi.Input; /** * The unique organization user ID */ userId?: pulumi.Input; } /** * The set of arguments for constructing a OrganizationUser resource. */ export interface OrganizationUserArgs { /** * The unique organization ID. Changing this property forces recreation of the resource. */ organizationId: pulumi.Input; /** * This is a user email address that first will be invited, and after accepting an invitation, they become a member of the organization. Should be lowercase. Changing this property forces recreation of the resource. */ userEmail: pulumi.Input; } //# sourceMappingURL=organizationUser.d.ts.map