UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

88 lines (87 loc) 2.29 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to query detailed information of ecs hpc clusters * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const foo = volcengine.ecs.getHpcClusters({ * zoneId: "cn-beijing-a", * }); * ``` */ export declare function getHpcClusters(args?: GetHpcClustersArgs, opts?: pulumi.InvokeOptions): Promise<GetHpcClustersResult>; /** * A collection of arguments for invoking getHpcClusters. */ export interface GetHpcClustersArgs { /** * A Name Regex of Resource. */ nameRegex?: string; /** * File name where to save data source results. */ outputFile?: string; /** * The zone id of the hpc cluster. */ zoneId?: string; } /** * A collection of values returned by getHpcClusters. */ export interface GetHpcClustersResult { /** * The collection of query. */ readonly hpcClusters: outputs.ecs.GetHpcClustersHpcCluster[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly nameRegex?: string; readonly outputFile?: string; /** * The total count of query. */ readonly totalCount: number; /** * The zone id of the hpc cluster. */ readonly zoneId?: string; } /** * Use this data source to query detailed information of ecs hpc clusters * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const foo = volcengine.ecs.getHpcClusters({ * zoneId: "cn-beijing-a", * }); * ``` */ export declare function getHpcClustersOutput(args?: GetHpcClustersOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetHpcClustersResult>; /** * A collection of arguments for invoking getHpcClusters. */ export interface GetHpcClustersOutputArgs { /** * A Name Regex of Resource. */ nameRegex?: pulumi.Input<string>; /** * File name where to save data source results. */ outputFile?: pulumi.Input<string>; /** * The zone id of the hpc cluster. */ zoneId?: pulumi.Input<string>; }