UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

107 lines (106 loc) 2.82 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({}); * ``` */ /** @deprecated volcengine.bioos.Clusters has been deprecated in favor of volcengine.bioos.getClusters */ export declare function clusters(args?: ClustersArgs, opts?: pulumi.InvokeOptions): Promise<ClustersResult>; /** * A collection of arguments for invoking Clusters. */ export interface ClustersArgs { /** * 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 Clusters. */ export interface ClustersResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly ids?: string[]; /** * The list of clusters. */ readonly items: outputs.bioos.ClustersItem[]; 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({}); * ``` */ /** @deprecated volcengine.bioos.Clusters has been deprecated in favor of volcengine.bioos.getClusters */ export declare function clustersOutput(args?: ClustersOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<ClustersResult>; /** * A collection of arguments for invoking Clusters. */ export interface ClustersOutputArgs { /** * 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>[]>; }