Alibaba Cloud v3.75.0 published on Friday, Mar 7, 2025 by Pulumi
alicloud.ecs.getEcsDedicatedHostClusters
Explore with Pulumi AI
This data source provides the Ecs Dedicated Host Clusters of the current Alibaba Cloud user.
NOTE: Available in v1.146.0+.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const ids = alicloud.ecs.getEcsDedicatedHostClusters({
    ids: ["example_id"],
});
export const ecsDedicatedHostClusterId1 = ids.then(ids => ids.clusters?.[0]?.id);
const nameRegex = alicloud.ecs.getEcsDedicatedHostClusters({
    nameRegex: "^my-DedicatedHostCluster",
});
export const ecsDedicatedHostClusterId2 = nameRegex.then(nameRegex => nameRegex.clusters?.[0]?.id);
const zoneId = alicloud.ecs.getEcsDedicatedHostClusters({
    zoneId: "example_value",
});
export const ecsDedicatedHostClusterId3 = zoneId.then(zoneId => zoneId.clusters?.[0]?.id);
const clusterName = alicloud.ecs.getEcsDedicatedHostClusters({
    dedicatedHostClusterName: "example_value",
});
export const ecsDedicatedHostClusterId4 = clusterName.then(clusterName => clusterName.clusters?.[0]?.id);
const clusterIds = alicloud.ecs.getEcsDedicatedHostClusters({
    dedicatedHostClusterIds: ["example_id"],
});
export const ecsDedicatedHostClusterId5 = clusterIds.then(clusterIds => clusterIds.clusters?.[0]?.id);
import pulumi
import pulumi_alicloud as alicloud
ids = alicloud.ecs.get_ecs_dedicated_host_clusters(ids=["example_id"])
pulumi.export("ecsDedicatedHostClusterId1", ids.clusters[0].id)
name_regex = alicloud.ecs.get_ecs_dedicated_host_clusters(name_regex="^my-DedicatedHostCluster")
pulumi.export("ecsDedicatedHostClusterId2", name_regex.clusters[0].id)
zone_id = alicloud.ecs.get_ecs_dedicated_host_clusters(zone_id="example_value")
pulumi.export("ecsDedicatedHostClusterId3", zone_id.clusters[0].id)
cluster_name = alicloud.ecs.get_ecs_dedicated_host_clusters(dedicated_host_cluster_name="example_value")
pulumi.export("ecsDedicatedHostClusterId4", cluster_name.clusters[0].id)
cluster_ids = alicloud.ecs.get_ecs_dedicated_host_clusters(dedicated_host_cluster_ids=["example_id"])
pulumi.export("ecsDedicatedHostClusterId5", cluster_ids.clusters[0].id)
package main
import (
	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		ids, err := ecs.GetEcsDedicatedHostClusters(ctx, &ecs.GetEcsDedicatedHostClustersArgs{
			Ids: []string{
				"example_id",
			},
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("ecsDedicatedHostClusterId1", ids.Clusters[0].Id)
		nameRegex, err := ecs.GetEcsDedicatedHostClusters(ctx, &ecs.GetEcsDedicatedHostClustersArgs{
			NameRegex: pulumi.StringRef("^my-DedicatedHostCluster"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("ecsDedicatedHostClusterId2", nameRegex.Clusters[0].Id)
		zoneId, err := ecs.GetEcsDedicatedHostClusters(ctx, &ecs.GetEcsDedicatedHostClustersArgs{
			ZoneId: pulumi.StringRef("example_value"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("ecsDedicatedHostClusterId3", zoneId.Clusters[0].Id)
		clusterName, err := ecs.GetEcsDedicatedHostClusters(ctx, &ecs.GetEcsDedicatedHostClustersArgs{
			DedicatedHostClusterName: pulumi.StringRef("example_value"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("ecsDedicatedHostClusterId4", clusterName.Clusters[0].Id)
		clusterIds, err := ecs.GetEcsDedicatedHostClusters(ctx, &ecs.GetEcsDedicatedHostClustersArgs{
			DedicatedHostClusterIds: []string{
				"example_id",
			},
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("ecsDedicatedHostClusterId5", clusterIds.Clusters[0].Id)
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() => 
{
    var ids = AliCloud.Ecs.GetEcsDedicatedHostClusters.Invoke(new()
    {
        Ids = new[]
        {
            "example_id",
        },
    });
    var nameRegex = AliCloud.Ecs.GetEcsDedicatedHostClusters.Invoke(new()
    {
        NameRegex = "^my-DedicatedHostCluster",
    });
    var zoneId = AliCloud.Ecs.GetEcsDedicatedHostClusters.Invoke(new()
    {
        ZoneId = "example_value",
    });
    var clusterName = AliCloud.Ecs.GetEcsDedicatedHostClusters.Invoke(new()
    {
        DedicatedHostClusterName = "example_value",
    });
    var clusterIds = AliCloud.Ecs.GetEcsDedicatedHostClusters.Invoke(new()
    {
        DedicatedHostClusterIds = new[]
        {
            "example_id",
        },
    });
    return new Dictionary<string, object?>
    {
        ["ecsDedicatedHostClusterId1"] = ids.Apply(getEcsDedicatedHostClustersResult => getEcsDedicatedHostClustersResult.Clusters[0]?.Id),
        ["ecsDedicatedHostClusterId2"] = nameRegex.Apply(getEcsDedicatedHostClustersResult => getEcsDedicatedHostClustersResult.Clusters[0]?.Id),
        ["ecsDedicatedHostClusterId3"] = zoneId.Apply(getEcsDedicatedHostClustersResult => getEcsDedicatedHostClustersResult.Clusters[0]?.Id),
        ["ecsDedicatedHostClusterId4"] = clusterName.Apply(getEcsDedicatedHostClustersResult => getEcsDedicatedHostClustersResult.Clusters[0]?.Id),
        ["ecsDedicatedHostClusterId5"] = clusterIds.Apply(getEcsDedicatedHostClustersResult => getEcsDedicatedHostClustersResult.Clusters[0]?.Id),
    };
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.ecs.EcsFunctions;
import com.pulumi.alicloud.ecs.inputs.GetEcsDedicatedHostClustersArgs;
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 ids = EcsFunctions.getEcsDedicatedHostClusters(GetEcsDedicatedHostClustersArgs.builder()
            .ids("example_id")
            .build());
        ctx.export("ecsDedicatedHostClusterId1", ids.applyValue(getEcsDedicatedHostClustersResult -> getEcsDedicatedHostClustersResult.clusters()[0].id()));
        final var nameRegex = EcsFunctions.getEcsDedicatedHostClusters(GetEcsDedicatedHostClustersArgs.builder()
            .nameRegex("^my-DedicatedHostCluster")
            .build());
        ctx.export("ecsDedicatedHostClusterId2", nameRegex.applyValue(getEcsDedicatedHostClustersResult -> getEcsDedicatedHostClustersResult.clusters()[0].id()));
        final var zoneId = EcsFunctions.getEcsDedicatedHostClusters(GetEcsDedicatedHostClustersArgs.builder()
            .zoneId("example_value")
            .build());
        ctx.export("ecsDedicatedHostClusterId3", zoneId.applyValue(getEcsDedicatedHostClustersResult -> getEcsDedicatedHostClustersResult.clusters()[0].id()));
        final var clusterName = EcsFunctions.getEcsDedicatedHostClusters(GetEcsDedicatedHostClustersArgs.builder()
            .dedicatedHostClusterName("example_value")
            .build());
        ctx.export("ecsDedicatedHostClusterId4", clusterName.applyValue(getEcsDedicatedHostClustersResult -> getEcsDedicatedHostClustersResult.clusters()[0].id()));
        final var clusterIds = EcsFunctions.getEcsDedicatedHostClusters(GetEcsDedicatedHostClustersArgs.builder()
            .dedicatedHostClusterIds("example_id")
            .build());
        ctx.export("ecsDedicatedHostClusterId5", clusterIds.applyValue(getEcsDedicatedHostClustersResult -> getEcsDedicatedHostClustersResult.clusters()[0].id()));
    }
}
variables:
  ids:
    fn::invoke:
      function: alicloud:ecs:getEcsDedicatedHostClusters
      arguments:
        ids:
          - example_id
  nameRegex:
    fn::invoke:
      function: alicloud:ecs:getEcsDedicatedHostClusters
      arguments:
        nameRegex: ^my-DedicatedHostCluster
  zoneId:
    fn::invoke:
      function: alicloud:ecs:getEcsDedicatedHostClusters
      arguments:
        zoneId: example_value
  clusterName:
    fn::invoke:
      function: alicloud:ecs:getEcsDedicatedHostClusters
      arguments:
        dedicatedHostClusterName: example_value
  clusterIds:
    fn::invoke:
      function: alicloud:ecs:getEcsDedicatedHostClusters
      arguments:
        dedicatedHostClusterIds:
          - example_id
outputs:
  ecsDedicatedHostClusterId1: ${ids.clusters[0].id}
  ecsDedicatedHostClusterId2: ${nameRegex.clusters[0].id}
  ecsDedicatedHostClusterId3: ${zoneId.clusters[0].id}
  ecsDedicatedHostClusterId4: ${clusterName.clusters[0].id}
  ecsDedicatedHostClusterId5: ${clusterIds.clusters[0].id}
Using getEcsDedicatedHostClusters
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 getEcsDedicatedHostClusters(args: GetEcsDedicatedHostClustersArgs, opts?: InvokeOptions): Promise<GetEcsDedicatedHostClustersResult>
function getEcsDedicatedHostClustersOutput(args: GetEcsDedicatedHostClustersOutputArgs, opts?: InvokeOptions): Output<GetEcsDedicatedHostClustersResult>def get_ecs_dedicated_host_clusters(dedicated_host_cluster_ids: Optional[Sequence[str]] = None,
                                    dedicated_host_cluster_name: Optional[str] = None,
                                    ids: Optional[Sequence[str]] = None,
                                    name_regex: Optional[str] = None,
                                    output_file: Optional[str] = None,
                                    tags: Optional[Mapping[str, str]] = None,
                                    zone_id: Optional[str] = None,
                                    opts: Optional[InvokeOptions] = None) -> GetEcsDedicatedHostClustersResult
def get_ecs_dedicated_host_clusters_output(dedicated_host_cluster_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                                    dedicated_host_cluster_name: Optional[pulumi.Input[str]] = None,
                                    ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                                    name_regex: Optional[pulumi.Input[str]] = None,
                                    output_file: Optional[pulumi.Input[str]] = None,
                                    tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
                                    zone_id: Optional[pulumi.Input[str]] = None,
                                    opts: Optional[InvokeOptions] = None) -> Output[GetEcsDedicatedHostClustersResult]func GetEcsDedicatedHostClusters(ctx *Context, args *GetEcsDedicatedHostClustersArgs, opts ...InvokeOption) (*GetEcsDedicatedHostClustersResult, error)
func GetEcsDedicatedHostClustersOutput(ctx *Context, args *GetEcsDedicatedHostClustersOutputArgs, opts ...InvokeOption) GetEcsDedicatedHostClustersResultOutput> Note: This function is named GetEcsDedicatedHostClusters in the Go SDK.
public static class GetEcsDedicatedHostClusters 
{
    public static Task<GetEcsDedicatedHostClustersResult> InvokeAsync(GetEcsDedicatedHostClustersArgs args, InvokeOptions? opts = null)
    public static Output<GetEcsDedicatedHostClustersResult> Invoke(GetEcsDedicatedHostClustersInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetEcsDedicatedHostClustersResult> getEcsDedicatedHostClusters(GetEcsDedicatedHostClustersArgs args, InvokeOptions options)
public static Output<GetEcsDedicatedHostClustersResult> getEcsDedicatedHostClusters(GetEcsDedicatedHostClustersArgs args, InvokeOptions options)
fn::invoke:
  function: alicloud:ecs/getEcsDedicatedHostClusters:getEcsDedicatedHostClusters
  arguments:
    # arguments dictionaryThe following arguments are supported:
- DedicatedHost List<string>Cluster Ids 
- The IDs of dedicated host clusters.
- DedicatedHost stringCluster Name 
- The name of the dedicated host cluster.
- Ids List<string>
- A list of Dedicated Host Cluster IDs.
- NameRegex string
- A regex string to filter results by Dedicated Host Cluster name.
- OutputFile string
- File name where to save data source results (after running pulumi preview).
- Dictionary<string, string>
- A mapping of tags to assign to the resource.
- ZoneId string
- The zone ID of the dedicated host cluster.
- DedicatedHost []stringCluster Ids 
- The IDs of dedicated host clusters.
- DedicatedHost stringCluster Name 
- The name of the dedicated host cluster.
- Ids []string
- A list of Dedicated Host Cluster IDs.
- NameRegex string
- A regex string to filter results by Dedicated Host Cluster name.
- OutputFile string
- File name where to save data source results (after running pulumi preview).
- map[string]string
- A mapping of tags to assign to the resource.
- ZoneId string
- The zone ID of the dedicated host cluster.
- dedicatedHost List<String>Cluster Ids 
- The IDs of dedicated host clusters.
- dedicatedHost StringCluster Name 
- The name of the dedicated host cluster.
- ids List<String>
- A list of Dedicated Host Cluster IDs.
- nameRegex String
- A regex string to filter results by Dedicated Host Cluster name.
- outputFile String
- File name where to save data source results (after running pulumi preview).
- Map<String,String>
- A mapping of tags to assign to the resource.
- zoneId String
- The zone ID of the dedicated host cluster.
- dedicatedHost string[]Cluster Ids 
- The IDs of dedicated host clusters.
- dedicatedHost stringCluster Name 
- The name of the dedicated host cluster.
- ids string[]
- A list of Dedicated Host Cluster IDs.
- nameRegex string
- A regex string to filter results by Dedicated Host Cluster name.
- outputFile string
- File name where to save data source results (after running pulumi preview).
- {[key: string]: string}
- A mapping of tags to assign to the resource.
- zoneId string
- The zone ID of the dedicated host cluster.
- dedicated_host_ Sequence[str]cluster_ ids 
- The IDs of dedicated host clusters.
- dedicated_host_ strcluster_ name 
- The name of the dedicated host cluster.
- ids Sequence[str]
- A list of Dedicated Host Cluster IDs.
- name_regex str
- A regex string to filter results by Dedicated Host Cluster name.
- output_file str
- File name where to save data source results (after running pulumi preview).
- Mapping[str, str]
- A mapping of tags to assign to the resource.
- zone_id str
- The zone ID of the dedicated host cluster.
- dedicatedHost List<String>Cluster Ids 
- The IDs of dedicated host clusters.
- dedicatedHost StringCluster Name 
- The name of the dedicated host cluster.
- ids List<String>
- A list of Dedicated Host Cluster IDs.
- nameRegex String
- A regex string to filter results by Dedicated Host Cluster name.
- outputFile String
- File name where to save data source results (after running pulumi preview).
- Map<String>
- A mapping of tags to assign to the resource.
- zoneId String
- The zone ID of the dedicated host cluster.
getEcsDedicatedHostClusters Result
The following output properties are available:
- Clusters
List<Pulumi.Ali Cloud. Ecs. Outputs. Get Ecs Dedicated Host Clusters Cluster> 
- Id string
- The provider-assigned unique ID for this managed resource.
- Ids List<string>
- Names List<string>
- DedicatedHost List<string>Cluster Ids 
- DedicatedHost stringCluster Name 
- NameRegex string
- OutputFile string
- Dictionary<string, string>
- ZoneId string
- Clusters
[]GetEcs Dedicated Host Clusters Cluster 
- Id string
- The provider-assigned unique ID for this managed resource.
- Ids []string
- Names []string
- DedicatedHost []stringCluster Ids 
- DedicatedHost stringCluster Name 
- NameRegex string
- OutputFile string
- map[string]string
- ZoneId string
- clusters
List<GetEcs Dedicated Host Clusters Cluster> 
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- names List<String>
- dedicatedHost List<String>Cluster Ids 
- dedicatedHost StringCluster Name 
- nameRegex String
- outputFile String
- Map<String,String>
- zoneId String
- clusters
GetEcs Dedicated Host Clusters Cluster[] 
- id string
- The provider-assigned unique ID for this managed resource.
- ids string[]
- names string[]
- dedicatedHost string[]Cluster Ids 
- dedicatedHost stringCluster Name 
- nameRegex string
- outputFile string
- {[key: string]: string}
- zoneId string
- clusters
Sequence[GetEcs Dedicated Host Clusters Cluster] 
- id str
- The provider-assigned unique ID for this managed resource.
- ids Sequence[str]
- names Sequence[str]
- dedicated_host_ Sequence[str]cluster_ ids 
- dedicated_host_ strcluster_ name 
- name_regex str
- output_file str
- Mapping[str, str]
- zone_id str
- clusters List<Property Map>
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- names List<String>
- dedicatedHost List<String>Cluster Ids 
- dedicatedHost StringCluster Name 
- nameRegex String
- outputFile String
- Map<String>
- zoneId String
Supporting Types
GetEcsDedicatedHostClustersCluster     
- DedicatedHost List<Pulumi.Cluster Capacities Ali Cloud. Ecs. Inputs. Get Ecs Dedicated Host Clusters Cluster Dedicated Host Cluster Capacity> 
- The capacity of the dedicated host cluster.
- DedicatedHost stringCluster Id 
- The ID of the dedicated host cluster.
- DedicatedHost stringCluster Name 
- The name of the dedicated host cluster.
- DedicatedHost List<string>Ids 
- The IDs of dedicated hosts in the dedicated host cluster.
- Description string
- The description of the dedicated host cluster.
- Id string
- The ID of the Dedicated Host Cluster.
- ResourceGroup stringId 
- The ID of the resource group to which the dedicated host cluster belongs.
- Dictionary<string, string>
- A mapping of tags to assign to the resource.
- ZoneId string
- The zone ID of the dedicated host cluster.
- DedicatedHost []GetCluster Capacities Ecs Dedicated Host Clusters Cluster Dedicated Host Cluster Capacity 
- The capacity of the dedicated host cluster.
- DedicatedHost stringCluster Id 
- The ID of the dedicated host cluster.
- DedicatedHost stringCluster Name 
- The name of the dedicated host cluster.
- DedicatedHost []stringIds 
- The IDs of dedicated hosts in the dedicated host cluster.
- Description string
- The description of the dedicated host cluster.
- Id string
- The ID of the Dedicated Host Cluster.
- ResourceGroup stringId 
- The ID of the resource group to which the dedicated host cluster belongs.
- map[string]string
- A mapping of tags to assign to the resource.
- ZoneId string
- The zone ID of the dedicated host cluster.
- dedicatedHost List<GetCluster Capacities Ecs Dedicated Host Clusters Cluster Dedicated Host Cluster Capacity> 
- The capacity of the dedicated host cluster.
- dedicatedHost StringCluster Id 
- The ID of the dedicated host cluster.
- dedicatedHost StringCluster Name 
- The name of the dedicated host cluster.
- dedicatedHost List<String>Ids 
- The IDs of dedicated hosts in the dedicated host cluster.
- description String
- The description of the dedicated host cluster.
- id String
- The ID of the Dedicated Host Cluster.
- resourceGroup StringId 
- The ID of the resource group to which the dedicated host cluster belongs.
- Map<String,String>
- A mapping of tags to assign to the resource.
- zoneId String
- The zone ID of the dedicated host cluster.
- dedicatedHost GetCluster Capacities Ecs Dedicated Host Clusters Cluster Dedicated Host Cluster Capacity[] 
- The capacity of the dedicated host cluster.
- dedicatedHost stringCluster Id 
- The ID of the dedicated host cluster.
- dedicatedHost stringCluster Name 
- The name of the dedicated host cluster.
- dedicatedHost string[]Ids 
- The IDs of dedicated hosts in the dedicated host cluster.
- description string
- The description of the dedicated host cluster.
- id string
- The ID of the Dedicated Host Cluster.
- resourceGroup stringId 
- The ID of the resource group to which the dedicated host cluster belongs.
- {[key: string]: string}
- A mapping of tags to assign to the resource.
- zoneId string
- The zone ID of the dedicated host cluster.
- dedicated_host_ Sequence[Getcluster_ capacities Ecs Dedicated Host Clusters Cluster Dedicated Host Cluster Capacity] 
- The capacity of the dedicated host cluster.
- dedicated_host_ strcluster_ id 
- The ID of the dedicated host cluster.
- dedicated_host_ strcluster_ name 
- The name of the dedicated host cluster.
- dedicated_host_ Sequence[str]ids 
- The IDs of dedicated hosts in the dedicated host cluster.
- description str
- The description of the dedicated host cluster.
- id str
- The ID of the Dedicated Host Cluster.
- resource_group_ strid 
- The ID of the resource group to which the dedicated host cluster belongs.
- Mapping[str, str]
- A mapping of tags to assign to the resource.
- zone_id str
- The zone ID of the dedicated host cluster.
- dedicatedHost List<Property Map>Cluster Capacities 
- The capacity of the dedicated host cluster.
- dedicatedHost StringCluster Id 
- The ID of the dedicated host cluster.
- dedicatedHost StringCluster Name 
- The name of the dedicated host cluster.
- dedicatedHost List<String>Ids 
- The IDs of dedicated hosts in the dedicated host cluster.
- description String
- The description of the dedicated host cluster.
- id String
- The ID of the Dedicated Host Cluster.
- resourceGroup StringId 
- The ID of the resource group to which the dedicated host cluster belongs.
- Map<String>
- A mapping of tags to assign to the resource.
- zoneId String
- The zone ID of the dedicated host cluster.
GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacity         
- AvailableMemory int
- The available memory size. Unit: GiB.
- AvailableVcpus int
- The number of available vCPUs.
- LocalStorage List<Pulumi.Capacities Ali Cloud. Ecs. Inputs. Get Ecs Dedicated Host Clusters Cluster Dedicated Host Cluster Capacity Local Storage Capacity> 
- The local storage.
- TotalMemory int
- The total memory size. Unit: GiB.
- TotalVcpus int
- The total number of vCPUs.
- AvailableMemory int
- The available memory size. Unit: GiB.
- AvailableVcpus int
- The number of available vCPUs.
- LocalStorage []GetCapacities Ecs Dedicated Host Clusters Cluster Dedicated Host Cluster Capacity Local Storage Capacity 
- The local storage.
- TotalMemory int
- The total memory size. Unit: GiB.
- TotalVcpus int
- The total number of vCPUs.
- availableMemory Integer
- The available memory size. Unit: GiB.
- availableVcpus Integer
- The number of available vCPUs.
- localStorage List<GetCapacities Ecs Dedicated Host Clusters Cluster Dedicated Host Cluster Capacity Local Storage Capacity> 
- The local storage.
- totalMemory Integer
- The total memory size. Unit: GiB.
- totalVcpus Integer
- The total number of vCPUs.
- availableMemory number
- The available memory size. Unit: GiB.
- availableVcpus number
- The number of available vCPUs.
- localStorage GetCapacities Ecs Dedicated Host Clusters Cluster Dedicated Host Cluster Capacity Local Storage Capacity[] 
- The local storage.
- totalMemory number
- The total memory size. Unit: GiB.
- totalVcpus number
- The total number of vCPUs.
- available_memory int
- The available memory size. Unit: GiB.
- available_vcpus int
- The number of available vCPUs.
- local_storage_ Sequence[Getcapacities Ecs Dedicated Host Clusters Cluster Dedicated Host Cluster Capacity Local Storage Capacity] 
- The local storage.
- total_memory int
- The total memory size. Unit: GiB.
- total_vcpus int
- The total number of vCPUs.
- availableMemory Number
- The available memory size. Unit: GiB.
- availableVcpus Number
- The number of available vCPUs.
- localStorage List<Property Map>Capacities 
- The local storage.
- totalMemory Number
- The total memory size. Unit: GiB.
- totalVcpus Number
- The total number of vCPUs.
GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacity            
- AvailableDisk int
- The available capacity of the local disk. Unit: GiB.
- DataDisk stringCategory 
- The category of the data disk. Valid values:cloud,cloud_efficiency,cloud_ssd,ephemeral_ssd,cloud_essd.
- TotalDisk int
- The total capacity of the local disk. Unit: GiB.
- AvailableDisk int
- The available capacity of the local disk. Unit: GiB.
- DataDisk stringCategory 
- The category of the data disk. Valid values:cloud,cloud_efficiency,cloud_ssd,ephemeral_ssd,cloud_essd.
- TotalDisk int
- The total capacity of the local disk. Unit: GiB.
- availableDisk Integer
- The available capacity of the local disk. Unit: GiB.
- dataDisk StringCategory 
- The category of the data disk. Valid values:cloud,cloud_efficiency,cloud_ssd,ephemeral_ssd,cloud_essd.
- totalDisk Integer
- The total capacity of the local disk. Unit: GiB.
- availableDisk number
- The available capacity of the local disk. Unit: GiB.
- dataDisk stringCategory 
- The category of the data disk. Valid values:cloud,cloud_efficiency,cloud_ssd,ephemeral_ssd,cloud_essd.
- totalDisk number
- The total capacity of the local disk. Unit: GiB.
- available_disk int
- The available capacity of the local disk. Unit: GiB.
- data_disk_ strcategory 
- The category of the data disk. Valid values:cloud,cloud_efficiency,cloud_ssd,ephemeral_ssd,cloud_essd.
- total_disk int
- The total capacity of the local disk. Unit: GiB.
- availableDisk Number
- The available capacity of the local disk. Unit: GiB.
- dataDisk StringCategory 
- The category of the data disk. Valid values:cloud,cloud_efficiency,cloud_ssd,ephemeral_ssd,cloud_essd.
- totalDisk Number
- The total capacity of the local disk. Unit: GiB.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the alicloudTerraform Provider.