1. Packages
  2. Alibaba Cloud Provider
  3. API Docs
  4. ecs
  5. getEcsDedicatedHostClusters
Alibaba Cloud v3.66.0 published on Friday, Nov 15, 2024 by Pulumi

alicloud.ecs.getEcsDedicatedHostClusters

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.66.0 published on Friday, Nov 15, 2024 by Pulumi

    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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: alicloud:ecs/getEcsDedicatedHostClusters:getEcsDedicatedHostClusters
      arguments:
        # arguments dictionary

    The following arguments are supported:

    DedicatedHostClusterIds List<string>
    The IDs of dedicated host clusters.
    DedicatedHostClusterName string
    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).
    Tags Dictionary<string, string>
    A mapping of tags to assign to the resource.
    ZoneId string
    The zone ID of the dedicated host cluster.
    DedicatedHostClusterIds []string
    The IDs of dedicated host clusters.
    DedicatedHostClusterName string
    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).
    Tags map[string]string
    A mapping of tags to assign to the resource.
    ZoneId string
    The zone ID of the dedicated host cluster.
    dedicatedHostClusterIds List<String>
    The IDs of dedicated host clusters.
    dedicatedHostClusterName String
    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).
    tags Map<String,String>
    A mapping of tags to assign to the resource.
    zoneId String
    The zone ID of the dedicated host cluster.
    dedicatedHostClusterIds string[]
    The IDs of dedicated host clusters.
    dedicatedHostClusterName string
    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).
    tags {[key: string]: string}
    A mapping of tags to assign to the resource.
    zoneId string
    The zone ID of the dedicated host cluster.
    dedicated_host_cluster_ids Sequence[str]
    The IDs of dedicated host clusters.
    dedicated_host_cluster_name str
    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).
    tags Mapping[str, str]
    A mapping of tags to assign to the resource.
    zone_id str
    The zone ID of the dedicated host cluster.
    dedicatedHostClusterIds List<String>
    The IDs of dedicated host clusters.
    dedicatedHostClusterName String
    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).
    tags 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.AliCloud.Ecs.Outputs.GetEcsDedicatedHostClustersCluster>
    Id string
    The provider-assigned unique ID for this managed resource.
    Ids List<string>
    Names List<string>
    DedicatedHostClusterIds List<string>
    DedicatedHostClusterName string
    NameRegex string
    OutputFile string
    Tags Dictionary<string, string>
    ZoneId string
    Clusters []GetEcsDedicatedHostClustersCluster
    Id string
    The provider-assigned unique ID for this managed resource.
    Ids []string
    Names []string
    DedicatedHostClusterIds []string
    DedicatedHostClusterName string
    NameRegex string
    OutputFile string
    Tags map[string]string
    ZoneId string
    clusters List<GetEcsDedicatedHostClustersCluster>
    id String
    The provider-assigned unique ID for this managed resource.
    ids List<String>
    names List<String>
    dedicatedHostClusterIds List<String>
    dedicatedHostClusterName String
    nameRegex String
    outputFile String
    tags Map<String,String>
    zoneId String
    clusters GetEcsDedicatedHostClustersCluster[]
    id string
    The provider-assigned unique ID for this managed resource.
    ids string[]
    names string[]
    dedicatedHostClusterIds string[]
    dedicatedHostClusterName string
    nameRegex string
    outputFile string
    tags {[key: string]: string}
    zoneId string
    clusters Sequence[GetEcsDedicatedHostClustersCluster]
    id str
    The provider-assigned unique ID for this managed resource.
    ids Sequence[str]
    names Sequence[str]
    dedicated_host_cluster_ids Sequence[str]
    dedicated_host_cluster_name str
    name_regex str
    output_file str
    tags 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>
    dedicatedHostClusterIds List<String>
    dedicatedHostClusterName String
    nameRegex String
    outputFile String
    tags Map<String>
    zoneId String

    Supporting Types

    GetEcsDedicatedHostClustersCluster

    DedicatedHostClusterCapacities List<Pulumi.AliCloud.Ecs.Inputs.GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacity>
    The capacity of the dedicated host cluster.
    DedicatedHostClusterId string
    The ID of the dedicated host cluster.
    DedicatedHostClusterName string
    The name of the dedicated host cluster.
    DedicatedHostIds List<string>
    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.
    ResourceGroupId string
    The ID of the resource group to which the dedicated host cluster belongs.
    Tags Dictionary<string, string>
    A mapping of tags to assign to the resource.
    ZoneId string
    The zone ID of the dedicated host cluster.
    DedicatedHostClusterCapacities []GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacity
    The capacity of the dedicated host cluster.
    DedicatedHostClusterId string
    The ID of the dedicated host cluster.
    DedicatedHostClusterName string
    The name of the dedicated host cluster.
    DedicatedHostIds []string
    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.
    ResourceGroupId string
    The ID of the resource group to which the dedicated host cluster belongs.
    Tags map[string]string
    A mapping of tags to assign to the resource.
    ZoneId string
    The zone ID of the dedicated host cluster.
    dedicatedHostClusterCapacities List<GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacity>
    The capacity of the dedicated host cluster.
    dedicatedHostClusterId String
    The ID of the dedicated host cluster.
    dedicatedHostClusterName String
    The name of the dedicated host cluster.
    dedicatedHostIds List<String>
    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.
    resourceGroupId String
    The ID of the resource group to which the dedicated host cluster belongs.
    tags Map<String,String>
    A mapping of tags to assign to the resource.
    zoneId String
    The zone ID of the dedicated host cluster.
    dedicatedHostClusterCapacities GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacity[]
    The capacity of the dedicated host cluster.
    dedicatedHostClusterId string
    The ID of the dedicated host cluster.
    dedicatedHostClusterName string
    The name of the dedicated host cluster.
    dedicatedHostIds string[]
    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.
    resourceGroupId string
    The ID of the resource group to which the dedicated host cluster belongs.
    tags {[key: string]: string}
    A mapping of tags to assign to the resource.
    zoneId string
    The zone ID of the dedicated host cluster.
    dedicated_host_cluster_capacities Sequence[GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacity]
    The capacity of the dedicated host cluster.
    dedicated_host_cluster_id str
    The ID of the dedicated host cluster.
    dedicated_host_cluster_name str
    The name of the dedicated host cluster.
    dedicated_host_ids Sequence[str]
    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_id str
    The ID of the resource group to which the dedicated host cluster belongs.
    tags Mapping[str, str]
    A mapping of tags to assign to the resource.
    zone_id str
    The zone ID of the dedicated host cluster.
    dedicatedHostClusterCapacities List<Property Map>
    The capacity of the dedicated host cluster.
    dedicatedHostClusterId String
    The ID of the dedicated host cluster.
    dedicatedHostClusterName String
    The name of the dedicated host cluster.
    dedicatedHostIds List<String>
    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.
    resourceGroupId String
    The ID of the resource group to which the dedicated host cluster belongs.
    tags 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.
    LocalStorageCapacities List<Pulumi.AliCloud.Ecs.Inputs.GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacity>
    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.
    LocalStorageCapacities []GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacity
    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.
    localStorageCapacities List<GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacity>
    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.
    localStorageCapacities GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacity[]
    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_capacities Sequence[GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacity]
    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.
    localStorageCapacities List<Property Map>
    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.
    DataDiskCategory string
    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.
    DataDiskCategory string
    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.
    dataDiskCategory String
    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.
    dataDiskCategory string
    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_category str
    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.
    dataDiskCategory String
    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 alicloud Terraform Provider.
    alicloud logo
    Alibaba Cloud v3.66.0 published on Friday, Nov 15, 2024 by Pulumi