UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

136 lines (135 loc) 3.47 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; 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 list of hpc cluster ids. */ ids?: string[]; /** * The name of the hpc cluster. */ name?: string; /** * A Name Regex of Resource. */ nameRegex?: string; /** * File name where to save data source results. */ outputFile?: string; /** * The project name of the hpc cluster. */ projectName?: string; /** * Tags. */ tags?: inputs.ecs.HpcClustersTag[]; /** * 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 ids?: string[]; /** * The name of the hpc cluster. */ readonly name?: string; readonly nameRegex?: string; readonly outputFile?: string; /** * The project name of the hpc cluster. */ readonly projectName?: string; /** * Tags. */ readonly tags?: outputs.ecs.HpcClustersTag[]; /** * 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 list of hpc cluster ids. */ ids?: pulumi.Input<pulumi.Input<string>[]>; /** * The name of the hpc cluster. */ name?: pulumi.Input<string>; /** * A Name Regex of Resource. */ nameRegex?: pulumi.Input<string>; /** * File name where to save data source results. */ outputFile?: pulumi.Input<string>; /** * The project name of the hpc cluster. */ projectName?: pulumi.Input<string>; /** * Tags. */ tags?: pulumi.Input<pulumi.Input<inputs.ecs.HpcClustersTagArgs>[]>; /** * The zone id of the hpc cluster. */ zoneId?: pulumi.Input<string>; }