alicloud_cloud_storage_gateway_gateways

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

Example Usage

Basic Usage

resource "alicloud_cloud_storage_gateway_storage_bundle" "example" {
  storage_bundle_name = "example_value"
}
data "alicloud_cloud_storage_gateway_gateways" "nameRegex" {
  storage_bundle_id = alicloud_cloud_storage_gateway_storage_bundle.example.id
  name_regex        = "^my-Gateway"
}
output "cloud_storage_gateway_gateway_id" {
  value = data.alicloud_cloud_storage_gateway_gateways.nameRegex.gateways.0.id
}

Argument Reference

The following arguments are supported:

Argument Reference

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