alicloud_cloud_storage_gateway_gateway_file_shares

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

Example Usage

Basic Usage

data "alicloud_cloud_storage_gateway_gateway_file_shares" "ids" {
  gateway_id = "example_value"
  ids        = ["example_value-1", "example_value-2"]
}
output "cloud_storage_gateway_gateway_file_share_id_1" {
  value = data.alicloud_cloud_storage_gateway_gateway_file_shares.ids.shares.0.id
}

data "alicloud_cloud_storage_gateway_gateway_file_shares" "nameRegex" {
  gateway_id = "example_value"
  name_regex = "^my-GatewayFileShare"
}
output "cloud_storage_gateway_gateway_file_share_id_2" {
  value = data.alicloud_cloud_storage_gateway_gateway_file_shares.nameRegex.shares.0.id
}

Argument Reference

The following arguments are supported:

Argument Reference

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