Skip to main content
openstack_networking_qos_minimum_bandwidth_rule_v2
Last update:

openstack_networking_qos_minimum_bandwidth_rule_v2

For your information

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 minimum bandwidth rule.

Example Usage

data "openstack_networking_qos_minimum_bandwidth_rule_v2" "qos_min_bw_rule_1" {
min_kbps = 2000
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 minimum bandwidth rule. If omitted, theregion argument of the provider is used.

  • qos_policy_id — (Required) The QoS policy reference.

  • min_kbps — (Optional) The value of a minimum kbps bandwidth.

Attributes Reference

id is set to the qos_policy_id/minimum_bandwidth_rule_id format of the found QoS minimum bandwidth rule. In addition, the following attributes are exported:

  • region — See Argument Reference above.
  • qos_policy_id — See Argument Reference above.
  • min_kbps — See Argument Reference above.