alicloud_cloud_storage_gateway_gateway_block_volumes

This data source provides the Cloud Storage Gateway Gateway Block Volumes of the current Alibaba Cloud user.

Example Usage

Basic Usage

data "alicloud_cloud_storage_gateway_gateway_block_volumes" "ids" {
  gateway_id = "example_value"
  ids        = ["example_value-1", "example_value-2"]
}
output "cloud_storage_gateway_gateway_block_volume_id_1" {
  value = data.alicloud_cloud_storage_gateway_gateway_block_volumes.ids.volumes.0.id
}

data "alicloud_cloud_storage_gateway_gateway_block_volumes" "nameRegex" {
  gateway_id = "example_value"
  name_regex = "^my-GatewayBlockVolume"
}
output "cloud_storage_gateway_gateway_block_volume_id_2" {
  value = data.alicloud_cloud_storage_gateway_gateway_block_volumes.nameRegex.volumes.0.id
}

Argument Reference

The following arguments are supported:

Argument Reference

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