alicloud_sag_qos_car

Provides a Sag Qos Car resource.

For information about Sag Qos Car and how to use it, see What is Qos Car.

Example Usage

Basic Usage

provider "alicloud" {
  region = "cn-shanghai"
}

variable "name" {
  default = "tf_example"
}

resource "alicloud_sag_qos" "default" {
  name = var.name
}

resource "alicloud_sag_qos_car" "default" {
  qos_id              = alicloud_sag_qos.default.id
  name                = var.name
  description         = var.name
  priority            = "1"
  limit_type          = "Absolute"
  min_bandwidth_abs   = "10"
  max_bandwidth_abs   = "20"
  percent_source_type = "InternetUpBandwidth"
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

Import

The Sag Qos Car can be imported using the id, e.g.

$ terraform import alicloud_sag_qos_car.example <qos_id>:<qos_car_id>