alicloud_ddoscoo_ports

This data source provides the Ddoscoo Ports of the current Alibaba Cloud user.

Example Usage

Basic Usage

data "alicloud_ddoscoo_ports" "example" {
  instance_id = "ddoscoo-cn-6ja1rl4j****"
  ids         = ["ddoscoo-cn-6ja1rl4j****:7001:tcp"]
}

output "first_ddoscoo_port_id" {
  value = data.alicloud_ddoscoo_ports.example.ports.0.id
}

Argument Reference

The following arguments are supported:

Argument Reference

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