import * as pulumi from "@pulumi/pulumi"; /** * The administrator account that created the enterprise organization can create organizational units to build the enterprise's organizational structure and manage accounts by organizational unit. Organizational units can have multiple hierarchical levels, and administrator accounts can belong to any organizational unit node at any level. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcenginecc from "@volcengine/pulumi-volcenginecc"; * * const organizationUnitDemo = new volcenginecc.organization.Unit("OrganizationUnitDemo", { * parentId: "735281472xxxx3651635", * name: "OrganizationUnitDemo", * description: "OrganizationUnitDemo description", * }); * ``` * * ## Import * * ```sh * $ pulumi import volcenginecc:organization/unit:Unit example "org_unit_id" * ``` */ export declare class Unit extends pulumi.CustomResource { /** * Get an existing Unit 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?: UnitState, opts?: pulumi.CustomResourceOptions): Unit; /** * Returns true if the given object is an instance of Unit. 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 Unit; /** * Creation time. */ readonly createdTime: pulumi.Output; /** * Deletion flag. */ readonly deleteUk: pulumi.Output; /** * Deletion time. */ readonly deletedTime: pulumi.Output; /** * Depth. */ readonly depth: pulumi.Output; /** * Description. */ readonly description: pulumi.Output; /** * Organizational unit name. */ readonly name: pulumi.Output; /** * Organization ID. */ readonly orgId: pulumi.Output; /** * Organization type. Enterprise organization: 1 */ readonly orgType: pulumi.Output; /** * Organizational unit ID. */ readonly orgUnitId: pulumi.Output; /** * Administrator ID. */ readonly owner: pulumi.Output; /** * Parent unit ID. */ readonly parentId: pulumi.Output; /** * Update time. */ readonly updatedTime: pulumi.Output; /** * Create a Unit 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: UnitArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Unit resources. */ export interface UnitState { /** * Creation time. */ createdTime?: pulumi.Input; /** * Deletion flag. */ deleteUk?: pulumi.Input; /** * Deletion time. */ deletedTime?: pulumi.Input; /** * Depth. */ depth?: pulumi.Input; /** * Description. */ description?: pulumi.Input; /** * Organizational unit name. */ name?: pulumi.Input; /** * Organization ID. */ orgId?: pulumi.Input; /** * Organization type. Enterprise organization: 1 */ orgType?: pulumi.Input; /** * Organizational unit ID. */ orgUnitId?: pulumi.Input; /** * Administrator ID. */ owner?: pulumi.Input; /** * Parent unit ID. */ parentId?: pulumi.Input; /** * Update time. */ updatedTime?: pulumi.Input; } /** * The set of arguments for constructing a Unit resource. */ export interface UnitArgs { /** * Description. */ description?: pulumi.Input; /** * Organizational unit name. */ name: pulumi.Input; /** * Parent unit ID. */ parentId: pulumi.Input; }