NSX-T Data Center REST API
Create or Replace QoS profile.
Create or Replace QoS profile.This API is available when using VMware Cloud (AWS, Dell-EMC, Outpost, Hyperscalers) or VMware NSX-T.
Request:
Method:
PUT
URI Path(s):
/policy/api/v1/infra/qos-profiles/<qos-profile-id>
/policy/api/v1/global-infra/qos-profiles/<qos-profile-id>
/policy/api/v1/global-infra/qos-profiles/<qos-profile-id>
Request Headers:
n/a
Query Parameters:
OverrideRequestParameters+
Request Body:
QoSProfile+
Example Request:
PUT https://<policy-mgr>/policy/api/v1/infra/qos-profiles/profile_2 { "dscp": { "mode": "TRUSTED", "priority": 0 }, "shaper_configurations": [ { "resource_type": "IngressRateLimiter", "enabled": false, "average_bandwidth": 0, "peak_bandwidth": 0, "burst_size": 0 }, { "resource_type": "IngressBroadcastRateLimiter", "enabled": false, "burst_size": 0, "peak_bandwidth": 0, "average_bandwidth": 0 }, { "resource_type": "EgressRateLimiter", "enabled": false, "average_bandwidth": 0, "peak_bandwidth": 0, "burst_size": 0 } ], "class_of_service": 2 }Successful Response:
Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
QoSProfile+