import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * An IAM sub-user is an identity for access control, created by an account or a user with permissions. After permissions are granted, the user can log in to the console or use the access key to call APIs to access cloud resources. * * ## Import * * ```sh * $ pulumi import volcenginecc:iam/user:User example "user_name" * ``` */ export declare class User extends pulumi.CustomResource { /** * Get an existing User 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?: UserState, opts?: pulumi.CustomResourceOptions): User; /** * Returns true if the given object is an instance of User. 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 User; readonly accessKeys: pulumi.Output; /** * Main account to which the sub-user belongs. */ readonly accountId: pulumi.Output; /** * Sub-user's creation time. */ readonly createDate: pulumi.Output; /** * Description for the sub-user, up to 255 characters. */ readonly description: pulumi.Output; /** * Display name for the sub-user, user display name. Length 1–128. Supports Chinese, English, numbers, spaces, and .-_@ characters only. */ readonly displayName: pulumi.Output; /** * Sub-user's email address. */ readonly email: pulumi.Output; /** * Whether the sub-user's email address is verified. 'true' means verified, 'false' means not verified. */ readonly emailIsVerify: pulumi.Output; /** * User group to which the sub-user belongs. */ readonly groups: pulumi.Output; /** * Login configuration for the sub-user. */ readonly loginProfile: pulumi.Output; /** * Sub-user's mobile number. */ readonly mobilePhone: pulumi.Output; /** * Whether the sub-user's phone number is verified. 'true' means verified, 'false' means not verified. */ readonly mobilePhoneIsVerify: pulumi.Output; readonly policies: pulumi.Output; /** * Operation protection configuration for the sub-user. */ readonly securityConfig: pulumi.Output; readonly tags: pulumi.Output; /** * TRN expression for the sub-user. */ readonly trn: pulumi.Output; /** * Update time for the sub-user. */ readonly updateDate: pulumi.Output; /** * Sub-user's ID. */ readonly userId: pulumi.Output; /** * Sub-user name, username. Length 1–64. Supports English, numbers, underscores, and .-@ characters. */ readonly userName: pulumi.Output; /** * Create a User 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: UserArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering User resources. */ export interface UserState { accessKeys?: pulumi.Input[]>; /** * Main account to which the sub-user belongs. */ accountId?: pulumi.Input; /** * Sub-user's creation time. */ createDate?: pulumi.Input; /** * Description for the sub-user, up to 255 characters. */ description?: pulumi.Input; /** * Display name for the sub-user, user display name. Length 1–128. Supports Chinese, English, numbers, spaces, and .-_@ characters only. */ displayName?: pulumi.Input; /** * Sub-user's email address. */ email?: pulumi.Input; /** * Whether the sub-user's email address is verified. 'true' means verified, 'false' means not verified. */ emailIsVerify?: pulumi.Input; /** * User group to which the sub-user belongs. */ groups?: pulumi.Input[]>; /** * Login configuration for the sub-user. */ loginProfile?: pulumi.Input; /** * Sub-user's mobile number. */ mobilePhone?: pulumi.Input; /** * Whether the sub-user's phone number is verified. 'true' means verified, 'false' means not verified. */ mobilePhoneIsVerify?: pulumi.Input; policies?: pulumi.Input[]>; /** * Operation protection configuration for the sub-user. */ securityConfig?: pulumi.Input; tags?: pulumi.Input[]>; /** * TRN expression for the sub-user. */ trn?: pulumi.Input; /** * Update time for the sub-user. */ updateDate?: pulumi.Input; /** * Sub-user's ID. */ userId?: pulumi.Input; /** * Sub-user name, username. Length 1–64. Supports English, numbers, underscores, and .-@ characters. */ userName?: pulumi.Input; } /** * The set of arguments for constructing a User resource. */ export interface UserArgs { /** * Description for the sub-user, up to 255 characters. */ description?: pulumi.Input; /** * Display name for the sub-user, user display name. Length 1–128. Supports Chinese, English, numbers, spaces, and .-_@ characters only. */ displayName?: pulumi.Input; /** * Sub-user's email address. */ email?: pulumi.Input; /** * Whether the sub-user's email address is verified. 'true' means verified, 'false' means not verified. */ emailIsVerify?: pulumi.Input; /** * User group to which the sub-user belongs. */ groups?: pulumi.Input[]>; /** * Login configuration for the sub-user. */ loginProfile?: pulumi.Input; /** * Sub-user's mobile number. */ mobilePhone?: pulumi.Input; policies?: pulumi.Input[]>; /** * Operation protection configuration for the sub-user. */ securityConfig?: pulumi.Input; tags?: pulumi.Input[]>; /** * Sub-user name, username. Length 1–64. Supports English, numbers, underscores, and .-@ characters. */ userName: pulumi.Input; }