alicloud_cloud_storage_gateway_gateway_cache_disks

This data source provides the Cloud Storage Gateway Gateway Cache Disks of the current Alibaba Cloud user.

Example Usage

Basic Usage

data "alicloud_cloud_storage_gateway_gateway_cache_disks" "ids" {
  gateway_id = "example_value"
  ids        = ["example_value-1", "example_value-2"]
}
output "cloud_storage_gateway_gateway_cache_disk_id_1" {
  value = data.alicloud_cloud_storage_gateway_gateway_cache_disks.ids.disks.0.id
}

data "alicloud_cloud_storage_gateway_gateway_cache_disks" "status" {
  gateway_id = "example_value"
  ids        = ["example_value-1", "example_value-2"]
  status     = "0"
}
output "cloud_storage_gateway_gateway_cache_disk_id_2" {
  value = data.alicloud_cloud_storage_gateway_gateway_cache_disks.status.disks.0.id
}

Argument Reference

The following arguments are supported:

Argument Reference

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