alicloud_express_connect_traffic_qos

更新时间:

Provides a Express Connect Traffic Qos resource.

Express Connect Traffic QoS Policy.

For information about Express Connect Traffic Qos and how to use it, see What is Traffic Qos.

-> NOTE: Available since v1.224.0.

Example Usage

Basic Usage


variable "name" {
  default = "terraform-example"
}

resource "alicloud_express_connect_traffic_qos" "createQos" {
  qos_name        = var.name
  qos_description = var.name
}

Argument Reference

The following arguments are supported:

  • qos_description - (Optional) The description of the QoS policy. The length is 0 to 256 characters and cannot start with 'http:// 'or 'https.
  • qos_name - (Optional) The name of the QoS policy. The length is 0 to 128 characters and cannot start with 'http:// 'or 'https.
  • resource_group_id - (Optional, Available since v1.261.0) The ID of the resource group.
  • tags - (Optional, Map, Available since v1.261.0) The tag of the resource.

Attributes Reference

The following attributes are exported:

  • id - The ID of the resource supplied above.
  • status - The status of the QoS policy.

Timeouts

The timeouts block allows you to specify timeouts for certain actions:

  • create - (Defaults to 5 mins) Used when create the Traffic Qos.
  • delete - (Defaults to 5 mins) Used when delete the Traffic Qos.
  • update - (Defaults to 8 mins) Used when update the Traffic Qos.

Import

Express Connect Traffic Qos can be imported using the id, e.g.

$ terraform import alicloud_express_connect_traffic_qos.example <id>