UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

72 lines (71 loc) 2.02 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({}); * ``` */ export declare function getOrganizations(args?: GetOrganizationsArgs, opts?: pulumi.InvokeOptions): Promise<GetOrganizationsResult>; /** * A collection of arguments for invoking getOrganizations. */ export interface GetOrganizationsArgs { /** * A Name Regex of Resource. */ nameRegex?: string; /** * File name where to save data source results. */ outputFile?: string; } /** * A collection of values returned by getOrganizations. */ export interface GetOrganizationsResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly nameRegex?: string; /** * The collection of query. */ readonly organizations: outputs.organization.GetOrganizationsOrganization[]; 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({}); * ``` */ export declare function getOrganizationsOutput(args?: GetOrganizationsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetOrganizationsResult>; /** * A collection of arguments for invoking getOrganizations. */ export interface GetOrganizationsOutputArgs { /** * A Name Regex of Resource. */ nameRegex?: pulumi.Input<string>; /** * File name where to save data source results. */ outputFile?: pulumi.Input<string>; }