» nsxt_qos_switching_profile

Provides a resource to configure Qos switching profile on NSX-T manager

» Example Usage

resource "nsxt_qos_switching_profile" "qos_switching_profile" {
  description      = "qos_switching_profile provisioned by Terraform"
  display_name     = "qos_switching_profile"
  class_of_service = "5"
  dscp_trusted     = "true"
  dscp_priority    = "53"

  ingress_rate_shaper {
    enabled         = "true"
    peak_bw_mbps    = "800"
    burst_size      = "200"
    average_bw_mbps = "100"
  }

  egress_rate_shaper {
    enabled         = "true"
    peak_bw_mbps    = "800"
    burst_size      = "200"
    average_bw_mbps = "100"
  }

  ingress_broadcast_rate_shaper {
    enabled         = "true"
    average_bw_kbps = "111"
    burst_size      = "222"
    peak_bw_kbps    = "500"
  }

  tag = {
    scope = "color"
    tag   = "red"
  }
}

» Argument Reference

The following arguments are supported:

» Attributes Reference

In addition to arguments listed above, the following attributes are exported:

  • id - ID of the QoS switching profile.
  • revision - Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.

» Importing

An existing qos switching profile can be imported into this resource, via the following command:

terraform import nsxt_qos_switching_profile.qos_switching_profile UUID

The above would import the Qos switching profile named qos_switching_profile with the nsx id UUID