UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

105 lines (104 loc) 2.64 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to query detailed information of bioos clusters * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const default = volcengine.bioos.getClusters({}); * ``` */ export declare function getClusters(args?: GetClustersArgs, opts?: pulumi.InvokeOptions): Promise<GetClustersResult>; /** * A collection of arguments for invoking getClusters. */ export interface GetClustersArgs { /** * A list of cluster ids. */ ids?: string[]; /** * File name where to save data source results. */ outputFile?: string; /** * whether it is a public cluster. */ public?: boolean; /** * The status of the clusters. */ statuses?: string[]; /** * The type of the clusters. */ types?: string[]; } /** * A collection of values returned by getClusters. */ export interface GetClustersResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly ids?: string[]; /** * The list of clusters. */ readonly items: outputs.bioos.GetClustersItem[]; readonly outputFile?: string; /** * whether it is a public cluster. */ readonly public?: boolean; /** * The status of the cluster. */ readonly statuses?: string[]; /** * The total count of Cluster query. */ readonly totalCount: number; readonly types?: string[]; } /** * Use this data source to query detailed information of bioos clusters * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const default = volcengine.bioos.getClusters({}); * ``` */ export declare function getClustersOutput(args?: GetClustersOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetClustersResult>; /** * A collection of arguments for invoking getClusters. */ export interface GetClustersOutputArgs { /** * A list of cluster ids. */ ids?: pulumi.Input<pulumi.Input<string>[]>; /** * File name where to save data source results. */ outputFile?: pulumi.Input<string>; /** * whether it is a public cluster. */ public?: pulumi.Input<boolean>; /** * The status of the clusters. */ statuses?: pulumi.Input<pulumi.Input<string>[]>; /** * The type of the clusters. */ types?: pulumi.Input<pulumi.Input<string>[]>; }