alicloud_pvtz_endpoints

This data source provides the Pvtz Endpoints of the current Alibaba Cloud user.

Example Usage

Basic Usage

data "alicloud_pvtz_endpoints" "ids" {
  ids = ["example_id"]
}

output "pvtz_endpoint_id_1" {
  value = data.alicloud_pvtz_endpoints.ids.endpoints.0.id
}

data "alicloud_pvtz_endpoints" "nameRegex" {
  name_regex = "^my-Endpoint"
}

output "pvtz_endpoint_id_2" {
  value = data.alicloud_pvtz_endpoints.nameRegex.endpoints.0.id
}

Argument Reference

The following arguments are supported:

Argument Reference

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