alicloud_gwlb_zones
更新时间:2025-04-02 01:34:07
This data source provides Gwlb Zone available to the user.What is Zone
-> NOTE: Available since v1.236.0.
Example Usage
provider "alicloud" {
region = "cn-wulanchabu"
}
data "alicloud_gwlb_zones" "default" {
}
output "alicloud_gwlb_zone_example_id" {
value = data.alicloud_gwlb_zones.default.zones.0.id
}
Argument Reference
The following arguments are supported:
accept_language
- (ForceNew, Optional) The supported language. Valid values:- zh-CN: Chinese
- en-US (default): English
- ja: Japanese
ids
- (Optional, ForceNew, Computed) A list of Zone IDs.output_file
- (Optional) File name where to save data source results (after runningterraform plan
).
Attributes Reference
The following attributes are exported in addition to the arguments listed above:
ids
- A list of Zone IDs.zones
- A list of Zone Entries. Each element contains the following attributes:local_name
- The zone name.zone_id
- The zone ID.id
- The zone ID.
该文章对您有帮助吗?
- 本页导读 (1)
- Example Usage
- Argument Reference
- Attributes Reference