文档

alicloud_ecd_desktop_types

更新时间:
一键部署

This data source provides the Ecd Desktop Types of the current Alibaba Cloud user.

-> NOTE: Available in v1.170.0+.

Example Usage

Basic Usage

data "alicloud_ecd_desktop_types" "ids" {
  instance_type_family = "eds.hf"
}
output "ecd_desktop_type_id_1" {
  value = data.alicloud_ecd_desktop_types.ids.types.0.id
}

Argument Reference

The following arguments are supported:

  • cpu_count - (Optional, ForceNew) The CPU cores.
  • gpu_count - (Optional, ForceNew) The GPU cores.
  • ids - (Optional, ForceNew, Computed) A list of Desktop Type IDs.
  • instance_type_family - (Optional, ForceNew) The Specification family. Valid values: eds.graphics, eds.hf, eds.general, ecd.graphics, ecd.performance, ecd.advanced, ecd.basic.
  • memory_size - (Optional, ForceNew) The Memory size. Unit: MiB.
  • output_file - (Optional) File name where to save data source results (after running terraform plan).
  • status - (Optional, ForceNew) The status of the resource. Valid values: SUFFICIENT.

Argument Reference

The following attributes are exported in addition to the arguments listed above:

  • ids - A list of Desktop Type IDs.
  • types - A list of Ecd Desktop Types. Each element contains the following attributes:
    • cpu_count - The CPU cores.
    • data_disk_size - The size of the data disk. Unit: GiB.
    • desktop_type_id - Specification ID.
    • gpu_count - The GPU cores.
    • gpu_spec - The GPU video memory.
    • id - The ID of the Desktop Type.
    • instance_type_family - The Specification family.
    • memory_size - The Memory size. Unit: MiB.
    • status - The status of the resource.
    • system_disk_size - The size of the system disk. Unit: GiB.

  • 本页导读 (0)