UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

74 lines (73 loc) 2.25 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to query detailed information of organizations * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const foo = volcengine.organization.getOrganizations({}); * ``` */ /** @deprecated volcengine.organization.Organizations has been deprecated in favor of volcengine.organization.getOrganizations */ export declare function organizations(args?: OrganizationsArgs, opts?: pulumi.InvokeOptions): Promise<OrganizationsResult>; /** * A collection of arguments for invoking Organizations. */ export interface OrganizationsArgs { /** * A Name Regex of Resource. */ nameRegex?: string; /** * File name where to save data source results. */ outputFile?: string; } /** * A collection of values returned by Organizations. */ export interface OrganizationsResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly nameRegex?: string; /** * The collection of query. */ readonly organizations: outputs.organization.OrganizationsOrganization[]; readonly outputFile?: string; /** * The total count of query. */ readonly totalCount: number; } /** * Use this data source to query detailed information of organizations * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const foo = volcengine.organization.getOrganizations({}); * ``` */ /** @deprecated volcengine.organization.Organizations has been deprecated in favor of volcengine.organization.getOrganizations */ export declare function organizationsOutput(args?: OrganizationsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<OrganizationsResult>; /** * A collection of arguments for invoking Organizations. */ export interface OrganizationsOutputArgs { /** * A Name Regex of Resource. */ nameRegex?: pulumi.Input<string>; /** * File name where to save data source results. */ outputFile?: pulumi.Input<string>; }