alicloud_pvtz_resolver_zones
更新时间:
This data source provides the available zones with the Private Zone Resolver of the current Alibaba Cloud user.
-> NOTE: Available in v1.143.0+.
Example Usage
Basic Usage
data "alicloud_pvtz_resolver_zones" "default" {
status = "NORMAL"
}
output "first_zones_id" {
value = data.alicloud_pvtz_resolver_zones.default.zones.0.zone_id
}
Argument Reference
The following arguments are supported:
output_file
- (Optional) File name where to save data source results (after runningterraform plan
).status
- (Optional, ForceNew) The status of the Zone. Valid values:NORMAL
,SOLD_OUT
.
Argument Reference
The following attributes are exported in addition to the arguments listed above:
zones
- A list of Private Zone Resolver zones. Each element contains the following attributes:zone_id
- The zone ID.status
- The status of the Zone.
文档内容是否对您有帮助?