@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
90 lines (89 loc) • 2.47 kB
TypeScript
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",
* });
* ```
*/
/** @deprecated volcengine.ecs.HpcClusters has been deprecated in favor of volcengine.ecs.getHpcClusters */
export declare function hpcClusters(args?: HpcClustersArgs, opts?: pulumi.InvokeOptions): Promise<HpcClustersResult>;
/**
* A collection of arguments for invoking HpcClusters.
*/
export interface HpcClustersArgs {
/**
* 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 HpcClusters.
*/
export interface HpcClustersResult {
/**
* The collection of query.
*/
readonly hpcClusters: outputs.ecs.HpcClustersHpcCluster[];
/**
* 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",
* });
* ```
*/
/** @deprecated volcengine.ecs.HpcClusters has been deprecated in favor of volcengine.ecs.getHpcClusters */
export declare function hpcClustersOutput(args?: HpcClustersOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<HpcClustersResult>;
/**
* A collection of arguments for invoking HpcClusters.
*/
export interface HpcClustersOutputArgs {
/**
* 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>;
}