alicloud_pvtz_rules

This data source provides the PrivateZone Rules of the current Alibaba Cloud user.

Example Usage

Basic Usage

data "alicloud_pvtz_rules" "ids" {}

output "pvtz_rule_id_1" {
  value = data.alicloud_pvtz_rules.ids.rules.0.id
}

data "alicloud_pvtz_rules" "nameRegex" {
  name_regex = "^my-Rule"
}

output "pvtz_rule_id_2" {
  value = data.alicloud_pvtz_rules.nameRegex.rules.0.id
}

Argument Reference

The following arguments are supported:

Argument Reference

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

Block bind_vpcs

The bind_vpcs supports the following: