openstack_networking_qos_bandwidth_limit_rule_v2
This instruction is an adapted copy of the official OpenStack Terraform provider documentation in the Terraform Registry.
Use this data source to get the ID of an available OpenStack QoS bandwidth limit rule.
Example Usage
data "openstack_networking_qos_bandwidth_limit_rule_v2" "qos_bandwidth_limit_rule_1" {
max_kbps = 300
qos_policy_id = "a5bbd213-e1d3-49b6-aed1-9df60ea94b9a"
}
Argument Reference
-
region
— (Optional) The region in which to obtain the V2 Networking client. A Networking client is needed to create a Neutron QoS bandwidth limit rule. If omitted, theregion
argument of the provider is used. -
qos_policy_id
— (Required) The QoS policy reference. -
max_kbps
— (Optional) The maximum kilobits per second of a QoS bandwidth limit rule. -
max_burst_kbps
— (Optional) The maximum burst size in kilobits of a QoS bandwidth limit rule. -
direction
— (Optional) The direction of traffic.
Attributes Reference
id
is set to the qos_policy_id/bandwidth_limit_rule_id
format of the found QoS bandwidth limit rule.
In addition, the following attributes are exported:
region
— See Argument Reference above.qos_policy_id
— See Argument Reference above.max_kbps
— See Argument Reference above.max_burst_kbps
— See Argument Reference above.direction
— See Argument Reference above.