UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

134 lines (133 loc) 3.31 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", * }); * ``` */ export declare function getHpcClusters(args?: GetHpcClustersArgs, opts?: pulumi.InvokeOptions): Promise<GetHpcClustersResult>; /** * A collection of arguments for invoking getHpcClusters. */ export interface GetHpcClustersArgs { /** * 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.GetHpcClustersTag[]; /** * 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 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.GetHpcClustersTag[]; /** * 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 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.GetHpcClustersTagArgs>[]>; /** * The zone id of the hpc cluster. */ zoneId?: pulumi.Input<string>; }