» huaweicloud_dcs_az_v1

Use this data source to get the ID of an available Huaweicloud dcs az.

» Example Usage


data "huaweicloud_dcs_az_v1" "az1" {
  name = "AZ1"
  port = "8004"
  code = "cn-north-1a"
}

» Argument Reference

For details, See Querying AZ Information.

  • name - (Optional) Indicates the name of an AZ.

  • code - (Optional) Indicates the code of an AZ.

  • port - (Optional) Indicates the port number of an AZ.

» Attributes Reference

id is set to the ID of the found az. In addition, the following attributes are exported:

  • name - See Argument Reference above.
  • code - See Argument Reference above.
  • port - See Argument Reference above.