import * as pulumi from "@pulumi/pulumi"; /** * Creates and manages Scaleway IAM Users. * For more information, see [the documentation](https://www.scaleway.com/en/developers/api/iam/#path-users-list-users-of-an-organization). * * ## Example Usage * * ### Basic * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@ediri/scaleway"; * * const basic = new scaleway.IamUser("basic", {email: "test@test.com"}); * ``` * * ## Import * * IAM users can be imported using the `{id}`, e.g. * * bash * * ```sh * $ pulumi import scaleway:index/iamUser:IamUser basic 11111111-1111-1111-1111-111111111111 * ``` */ export declare class IamUser extends pulumi.CustomResource { /** * Get an existing IamUser 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?: IamUserState, opts?: pulumi.CustomResourceOptions): IamUser; /** * Returns true if the given object is an instance of IamUser. 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 IamUser; /** * The ID of the account root user associated with the user. */ readonly accountRootUserId: pulumi.Output; /** * The date and time of the creation of the IAM user. */ readonly createdAt: pulumi.Output; /** * Whether the IAM user is deletable. */ readonly deletable: pulumi.Output; /** * The email of the IAM user. */ readonly email: pulumi.Output; /** * The date of the last login. */ readonly lastLoginAt: pulumi.Output; /** * Whether the MFA is enabled. */ readonly mfa: pulumi.Output; /** * `organizationId`) The ID of the organization the user is associated with. */ readonly organizationId: pulumi.Output; /** * The status of user invitation. Check the possible values in the [API doc](https://www.scaleway.com/en/developers/api/iam/#path-users-get-a-given-user). */ readonly status: pulumi.Output; /** * The tags associated with the user. */ readonly tags: pulumi.Output; /** * The type of user. Check the possible values in the [API doc](https://www.scaleway.com/en/developers/api/iam/#path-users-get-a-given-user). */ readonly type: pulumi.Output; /** * The date and time of the last update of the IAM user. */ readonly updatedAt: pulumi.Output; /** * Create a IamUser 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: IamUserArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering IamUser resources. */ export interface IamUserState { /** * The ID of the account root user associated with the user. */ accountRootUserId?: pulumi.Input; /** * The date and time of the creation of the IAM user. */ createdAt?: pulumi.Input; /** * Whether the IAM user is deletable. */ deletable?: pulumi.Input; /** * The email of the IAM user. */ email?: pulumi.Input; /** * The date of the last login. */ lastLoginAt?: pulumi.Input; /** * Whether the MFA is enabled. */ mfa?: pulumi.Input; /** * `organizationId`) The ID of the organization the user is associated with. */ organizationId?: pulumi.Input; /** * The status of user invitation. Check the possible values in the [API doc](https://www.scaleway.com/en/developers/api/iam/#path-users-get-a-given-user). */ status?: pulumi.Input; /** * The tags associated with the user. */ tags?: pulumi.Input[]>; /** * The type of user. Check the possible values in the [API doc](https://www.scaleway.com/en/developers/api/iam/#path-users-get-a-given-user). */ type?: pulumi.Input; /** * The date and time of the last update of the IAM user. */ updatedAt?: pulumi.Input; } /** * The set of arguments for constructing a IamUser resource. */ export interface IamUserArgs { /** * The email of the IAM user. */ email: pulumi.Input; /** * `organizationId`) The ID of the organization the user is associated with. */ organizationId?: pulumi.Input; /** * The tags associated with the user. */ tags?: pulumi.Input[]>; }