Viewing docs for Volcengine v0.0.47
published on Friday, Mar 13, 2026 by Volcengine
published on Friday, Mar 13, 2026 by Volcengine
Viewing docs for Volcengine v0.0.47
published on Friday, Mar 13, 2026 by Volcengine
published on Friday, Mar 13, 2026 by Volcengine
Deprecated: volcengine.ecs.HpcClusters has been deprecated in favor of volcengine.ecs.getHpcClusters
Use this data source to query detailed information of ecs hpc clusters
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const foo = volcengine.ecs.getHpcClusters({
zoneId: "cn-beijing-a",
});
import pulumi
import pulumi_volcengine as volcengine
foo = volcengine.ecs.get_hpc_clusters(zone_id="cn-beijing-a")
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/ecs"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ecs.GetHpcClusters(ctx, &ecs.GetHpcClustersArgs{
ZoneId: pulumi.StringRef("cn-beijing-a"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;
return await Deployment.RunAsync(() =>
{
var foo = Volcengine.Ecs.GetHpcClusters.Invoke(new()
{
ZoneId = "cn-beijing-a",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.volcengine.ecs.EcsFunctions;
import com.pulumi.volcengine.ecs.inputs.GetHpcClustersArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var foo = EcsFunctions.getHpcClusters(GetHpcClustersArgs.builder()
.zoneId("cn-beijing-a")
.build());
}
}
variables:
foo:
fn::invoke:
Function: volcengine:ecs:getHpcClusters
Arguments:
zoneId: cn-beijing-a
Using HpcClusters
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function hpcClusters(args: HpcClustersArgs, opts?: InvokeOptions): Promise<HpcClustersResult>
function hpcClustersOutput(args: HpcClustersOutputArgs, opts?: InvokeOptions): Output<HpcClustersResult>def hpc_clusters(ids: Optional[Sequence[str]] = None,
name: Optional[str] = None,
name_regex: Optional[str] = None,
output_file: Optional[str] = None,
project_name: Optional[str] = None,
tags: Optional[Sequence[HpcClustersTag]] = None,
zone_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> HpcClustersResult
def hpc_clusters_output(ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
name: Optional[pulumi.Input[str]] = None,
name_regex: Optional[pulumi.Input[str]] = None,
output_file: Optional[pulumi.Input[str]] = None,
project_name: Optional[pulumi.Input[str]] = None,
tags: Optional[pulumi.Input[Sequence[pulumi.Input[HpcClustersTagArgs]]]] = None,
zone_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[HpcClustersResult]func HpcClusters(ctx *Context, args *HpcClustersArgs, opts ...InvokeOption) (*HpcClustersResult, error)
func HpcClustersOutput(ctx *Context, args *HpcClustersOutputArgs, opts ...InvokeOption) HpcClustersResultOutputpublic static class HpcClusters
{
public static Task<HpcClustersResult> InvokeAsync(HpcClustersArgs args, InvokeOptions? opts = null)
public static Output<HpcClustersResult> Invoke(HpcClustersInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<HpcClustersResult> hpcClusters(HpcClustersArgs args, InvokeOptions options)
public static Output<HpcClustersResult> hpcClusters(HpcClustersArgs args, InvokeOptions options)
fn::invoke:
function: volcengine:ecs:HpcClusters
arguments:
# arguments dictionaryThe following arguments are supported:
- Ids List<string>
- A list of hpc cluster ids.
- Name string
- The name of the hpc cluster.
- Name
Regex string - A Name Regex of Resource.
- Output
File string - File name where to save data source results.
- Project
Name string - The project name of the hpc cluster.
-
List<Hpc
Clusters Tag> - Tags.
- Zone
Id string - The zone id of the hpc cluster.
- Ids []string
- A list of hpc cluster ids.
- Name string
- The name of the hpc cluster.
- Name
Regex string - A Name Regex of Resource.
- Output
File string - File name where to save data source results.
- Project
Name string - The project name of the hpc cluster.
-
[]Hpc
Clusters Tag - Tags.
- Zone
Id string - The zone id of the hpc cluster.
- ids List<String>
- A list of hpc cluster ids.
- name String
- The name of the hpc cluster.
- name
Regex String - A Name Regex of Resource.
- output
File String - File name where to save data source results.
- project
Name String - The project name of the hpc cluster.
-
List<Hpc
Clusters Tag> - Tags.
- zone
Id String - The zone id of the hpc cluster.
- ids string[]
- A list of hpc cluster ids.
- name string
- The name of the hpc cluster.
- name
Regex string - A Name Regex of Resource.
- output
File string - File name where to save data source results.
- project
Name string - The project name of the hpc cluster.
-
Hpc
Clusters Tag[] - Tags.
- zone
Id string - The zone id of the hpc cluster.
- ids Sequence[str]
- A list of hpc cluster ids.
- name str
- The name of the hpc cluster.
- name_
regex str - A Name Regex of Resource.
- output_
file str - File name where to save data source results.
- project_
name str - The project name of the hpc cluster.
-
Sequence[Hpc
Clusters Tag] - Tags.
- zone_
id str - The zone id of the hpc cluster.
- ids List<String>
- A list of hpc cluster ids.
- name String
- The name of the hpc cluster.
- name
Regex String - A Name Regex of Resource.
- output
File String - File name where to save data source results.
- project
Name String - The project name of the hpc cluster.
- List<Property Map>
- Tags.
- zone
Id String - The zone id of the hpc cluster.
HpcClusters Result
The following output properties are available:
- Hpc
Clusters List<HpcClusters Hpc Cluster> - The collection of query.
- Id string
- The provider-assigned unique ID for this managed resource.
- Total
Count int - The total count of query.
- Ids List<string>
- Name string
- The name of the hpc cluster.
- Name
Regex string - Output
File string - Project
Name string - The project name of the hpc cluster.
-
List<Hpc
Clusters Tag> - Tags.
- Zone
Id string - The zone id of the hpc cluster.
- Hpc
Clusters []HpcClusters Hpc Cluster - The collection of query.
- Id string
- The provider-assigned unique ID for this managed resource.
- Total
Count int - The total count of query.
- Ids []string
- Name string
- The name of the hpc cluster.
- Name
Regex string - Output
File string - Project
Name string - The project name of the hpc cluster.
-
[]Hpc
Clusters Tag - Tags.
- Zone
Id string - The zone id of the hpc cluster.
- hpc
Clusters List<HpcClusters Hpc Cluster> - The collection of query.
- id String
- The provider-assigned unique ID for this managed resource.
- total
Count Integer - The total count of query.
- ids List<String>
- name String
- The name of the hpc cluster.
- name
Regex String - output
File String - project
Name String - The project name of the hpc cluster.
-
List<Hpc
Clusters Tag> - Tags.
- zone
Id String - The zone id of the hpc cluster.
- hpc
Clusters HpcClusters Hpc Cluster[] - The collection of query.
- id string
- The provider-assigned unique ID for this managed resource.
- total
Count number - The total count of query.
- ids string[]
- name string
- The name of the hpc cluster.
- name
Regex string - output
File string - project
Name string - The project name of the hpc cluster.
-
Hpc
Clusters Tag[] - Tags.
- zone
Id string - The zone id of the hpc cluster.
- hpc_
clusters Sequence[HpcClusters Hpc Cluster] - The collection of query.
- id str
- The provider-assigned unique ID for this managed resource.
- total_
count int - The total count of query.
- ids Sequence[str]
- name str
- The name of the hpc cluster.
- name_
regex str - output_
file str - project_
name str - The project name of the hpc cluster.
-
Sequence[Hpc
Clusters Tag] - Tags.
- zone_
id str - The zone id of the hpc cluster.
- hpc
Clusters List<Property Map> - The collection of query.
- id String
- The provider-assigned unique ID for this managed resource.
- total
Count Number - The total count of query.
- ids List<String>
- name String
- The name of the hpc cluster.
- name
Regex String - output
File String - project
Name String - The project name of the hpc cluster.
- List<Property Map>
- Tags.
- zone
Id String - The zone id of the hpc cluster.
Supporting Types
HpcClustersHpcCluster
- Created
At string - The created time of the hpc cluster.
- Description string
- The description of the hpc cluster.
- Hpc
Cluster stringId - The id of the hpc cluster.
- Id string
- The id of the hpc cluster.
- Name string
- The name of the hpc cluster.
- Project
Name string - The project name of the hpc cluster.
-
List<Hpc
Clusters Hpc Cluster Tag> - Tags.
- Updated
At string - The updated time of the hpc cluster.
- Vpc
Id string - The vpc id of the hpc cluster.
- Zone
Id string - The zone id of the hpc cluster.
- Created
At string - The created time of the hpc cluster.
- Description string
- The description of the hpc cluster.
- Hpc
Cluster stringId - The id of the hpc cluster.
- Id string
- The id of the hpc cluster.
- Name string
- The name of the hpc cluster.
- Project
Name string - The project name of the hpc cluster.
-
[]Hpc
Clusters Hpc Cluster Tag - Tags.
- Updated
At string - The updated time of the hpc cluster.
- Vpc
Id string - The vpc id of the hpc cluster.
- Zone
Id string - The zone id of the hpc cluster.
- created
At String - The created time of the hpc cluster.
- description String
- The description of the hpc cluster.
- hpc
Cluster StringId - The id of the hpc cluster.
- id String
- The id of the hpc cluster.
- name String
- The name of the hpc cluster.
- project
Name String - The project name of the hpc cluster.
-
List<Hpc
Clusters Hpc Cluster Tag> - Tags.
- updated
At String - The updated time of the hpc cluster.
- vpc
Id String - The vpc id of the hpc cluster.
- zone
Id String - The zone id of the hpc cluster.
- created
At string - The created time of the hpc cluster.
- description string
- The description of the hpc cluster.
- hpc
Cluster stringId - The id of the hpc cluster.
- id string
- The id of the hpc cluster.
- name string
- The name of the hpc cluster.
- project
Name string - The project name of the hpc cluster.
-
Hpc
Clusters Hpc Cluster Tag[] - Tags.
- updated
At string - The updated time of the hpc cluster.
- vpc
Id string - The vpc id of the hpc cluster.
- zone
Id string - The zone id of the hpc cluster.
- created_
at str - The created time of the hpc cluster.
- description str
- The description of the hpc cluster.
- hpc_
cluster_ strid - The id of the hpc cluster.
- id str
- The id of the hpc cluster.
- name str
- The name of the hpc cluster.
- project_
name str - The project name of the hpc cluster.
-
Sequence[Hpc
Clusters Hpc Cluster Tag] - Tags.
- updated_
at str - The updated time of the hpc cluster.
- vpc_
id str - The vpc id of the hpc cluster.
- zone_
id str - The zone id of the hpc cluster.
- created
At String - The created time of the hpc cluster.
- description String
- The description of the hpc cluster.
- hpc
Cluster StringId - The id of the hpc cluster.
- id String
- The id of the hpc cluster.
- name String
- The name of the hpc cluster.
- project
Name String - The project name of the hpc cluster.
- List<Property Map>
- Tags.
- updated
At String - The updated time of the hpc cluster.
- vpc
Id String - The vpc id of the hpc cluster.
- zone
Id String - The zone id of the hpc cluster.
HpcClustersHpcClusterTag
HpcClustersTag
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengineTerraform Provider.
Viewing docs for Volcengine v0.0.47
published on Friday, Mar 13, 2026 by Volcengine
published on Friday, Mar 13, 2026 by Volcengine
