UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

171 lines (170 loc) 7.56 kB
import * as pulumi from "@pulumi/pulumi"; /** * Provides a resource to manage cloud identity user provisioning * ## Import * * CloudIdentityUserProvisioning can be imported using the id, e.g. * * ```sh * $ pulumi import volcengine:cloud_identity/userProvisioning:UserProvisioning default resource_id * ``` */ export declare class UserProvisioning extends pulumi.CustomResource { /** * Get an existing UserProvisioning 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<pulumi.ID>, state?: UserProvisioningState, opts?: pulumi.CustomResourceOptions): UserProvisioning; /** * Returns true if the given object is an instance of UserProvisioning. 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 UserProvisioning; /** * The deletion strategy of the cloud identity user provisioning. Valid values: `Keep`, `Delete`. */ readonly deletionStrategy: pulumi.Output<string>; /** * The description of the cloud identity user provisioning. */ readonly description: pulumi.Output<string | undefined>; /** * The duplication strategy of the cloud identity user provisioning. Valid values: `KeepBoth`, `Takeover`. */ readonly duplicationStrategy: pulumi.Output<string>; /** * The duplication suffix of the cloud identity user provisioning. When the `duplicationStrategy` is `KeepBoth`, this field must be specified. */ readonly duplicationSuffix: pulumi.Output<string | undefined>; /** * The identity source strategy of the cloud identity user provisioning. Valid values: `Create`, `Ignore`. */ readonly identitySourceStrategy: pulumi.Output<string>; /** * A list of policy name. Valid values: `AdministratorAccess`. This field is valid when the `principalType` is `User`. */ readonly policyName: pulumi.Output<string | undefined>; /** * The principal id of the cloud identity user provisioning. When the `principalType` is `User`, this field is specified to `UserId`. When the `principalType` is `Group`, this field is specified to `GroupId`. */ readonly principalId: pulumi.Output<string>; /** * The principal name of the cloud identity user provisioning. When the `principalType` is `User`, this field is specified to `UserName`. When the `principalType` is `Group`, this field is specified to `GroupName`. */ readonly principalName: pulumi.Output<string>; /** * The principal type of the cloud identity user provisioning. Valid values: `User`, `Group`. */ readonly principalType: pulumi.Output<string>; /** * The status of the cloud identity user provisioning. */ readonly provisionStatus: pulumi.Output<string>; /** * The target account id of the cloud identity user provisioning. */ readonly targetId: pulumi.Output<string>; /** * Create a UserProvisioning 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: UserProvisioningArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering UserProvisioning resources. */ export interface UserProvisioningState { /** * The deletion strategy of the cloud identity user provisioning. Valid values: `Keep`, `Delete`. */ deletionStrategy?: pulumi.Input<string>; /** * The description of the cloud identity user provisioning. */ description?: pulumi.Input<string>; /** * The duplication strategy of the cloud identity user provisioning. Valid values: `KeepBoth`, `Takeover`. */ duplicationStrategy?: pulumi.Input<string>; /** * The duplication suffix of the cloud identity user provisioning. When the `duplicationStrategy` is `KeepBoth`, this field must be specified. */ duplicationSuffix?: pulumi.Input<string>; /** * The identity source strategy of the cloud identity user provisioning. Valid values: `Create`, `Ignore`. */ identitySourceStrategy?: pulumi.Input<string>; /** * A list of policy name. Valid values: `AdministratorAccess`. This field is valid when the `principalType` is `User`. */ policyName?: pulumi.Input<string>; /** * The principal id of the cloud identity user provisioning. When the `principalType` is `User`, this field is specified to `UserId`. When the `principalType` is `Group`, this field is specified to `GroupId`. */ principalId?: pulumi.Input<string>; /** * The principal name of the cloud identity user provisioning. When the `principalType` is `User`, this field is specified to `UserName`. When the `principalType` is `Group`, this field is specified to `GroupName`. */ principalName?: pulumi.Input<string>; /** * The principal type of the cloud identity user provisioning. Valid values: `User`, `Group`. */ principalType?: pulumi.Input<string>; /** * The status of the cloud identity user provisioning. */ provisionStatus?: pulumi.Input<string>; /** * The target account id of the cloud identity user provisioning. */ targetId?: pulumi.Input<string>; } /** * The set of arguments for constructing a UserProvisioning resource. */ export interface UserProvisioningArgs { /** * The deletion strategy of the cloud identity user provisioning. Valid values: `Keep`, `Delete`. */ deletionStrategy: pulumi.Input<string>; /** * The description of the cloud identity user provisioning. */ description?: pulumi.Input<string>; /** * The duplication strategy of the cloud identity user provisioning. Valid values: `KeepBoth`, `Takeover`. */ duplicationStrategy: pulumi.Input<string>; /** * The duplication suffix of the cloud identity user provisioning. When the `duplicationStrategy` is `KeepBoth`, this field must be specified. */ duplicationSuffix?: pulumi.Input<string>; /** * The identity source strategy of the cloud identity user provisioning. Valid values: `Create`, `Ignore`. */ identitySourceStrategy: pulumi.Input<string>; /** * A list of policy name. Valid values: `AdministratorAccess`. This field is valid when the `principalType` is `User`. */ policyName?: pulumi.Input<string>; /** * The principal id of the cloud identity user provisioning. When the `principalType` is `User`, this field is specified to `UserId`. When the `principalType` is `Group`, this field is specified to `GroupId`. */ principalId: pulumi.Input<string>; /** * The principal type of the cloud identity user provisioning. Valid values: `User`, `Group`. */ principalType: pulumi.Input<string>; /** * The target account id of the cloud identity user provisioning. */ targetId: pulumi.Input<string>; }