» huaweicloud_dms_az_v1

Use this data source to get the ID of an available HuaweiCloud dms az.

» Example Usage


data "huaweicloud_dms_az_v1" "az1" {
  name = "可用区1"
  port = "8002"
  code = "cn-north-1a"
}

» Argument Reference

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

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

  • port - (Required) 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.