UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

152 lines (151 loc) 4.49 kB
import * as pulumi from "@pulumi/pulumi"; /** * Provides a resource to manage organization * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@volcengine/pulumi"; * * const foo = new volcengine.organization.Organization("foo", {}); * ``` * * ## Import * * Organization can be imported using the id, e.g. * * ```sh * $ pulumi import volcengine:organization/organization:Organization default resource_id * ``` */ export declare class Organization extends pulumi.CustomResource { /** * Get an existing Organization 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?: OrganizationState, opts?: pulumi.CustomResourceOptions): Organization; /** * Returns true if the given object is an instance of Organization. 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 Organization; /** * The account id of the organization owner. */ readonly accountId: pulumi.Output<number>; /** * The account name of the organization owner. */ readonly accountName: pulumi.Output<string>; /** * The created time of the organization. */ readonly createdTime: pulumi.Output<string>; /** * The delete uk of the organization. */ readonly deleteUk: pulumi.Output<string>; /** * The deleted time of the organization. */ readonly deletedTime: pulumi.Output<string>; /** * The description of the organization. */ readonly description: pulumi.Output<string>; /** * The main name of the organization owner. */ readonly mainName: pulumi.Output<string>; /** * The name of the organization. */ readonly name: pulumi.Output<string>; /** * The owner id of the organization. */ readonly owner: pulumi.Output<string>; /** * The status of the organization. */ readonly status: pulumi.Output<number>; /** * The type of the organization. */ readonly type: pulumi.Output<number>; /** * The updated time of the organization. */ readonly updatedTime: pulumi.Output<string>; /** * Create a Organization 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?: OrganizationArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Organization resources. */ export interface OrganizationState { /** * The account id of the organization owner. */ accountId?: pulumi.Input<number>; /** * The account name of the organization owner. */ accountName?: pulumi.Input<string>; /** * The created time of the organization. */ createdTime?: pulumi.Input<string>; /** * The delete uk of the organization. */ deleteUk?: pulumi.Input<string>; /** * The deleted time of the organization. */ deletedTime?: pulumi.Input<string>; /** * The description of the organization. */ description?: pulumi.Input<string>; /** * The main name of the organization owner. */ mainName?: pulumi.Input<string>; /** * The name of the organization. */ name?: pulumi.Input<string>; /** * The owner id of the organization. */ owner?: pulumi.Input<string>; /** * The status of the organization. */ status?: pulumi.Input<number>; /** * The type of the organization. */ type?: pulumi.Input<number>; /** * The updated time of the organization. */ updatedTime?: pulumi.Input<string>; } /** * The set of arguments for constructing a Organization resource. */ export interface OrganizationArgs { }