Vmware Distributed Virtual Switch Enable Network Resource Management
Enable/Disable network I/O control on the vSphere Distributed Switch.
Required privileges: DVSwitch.ResourceManagement
The unique identifier for the managed object to which the method attaches; the serialized managed object reference for a request has the form moType/moId
, in this case VmwareDistributedVirtualSwitch/{moId}
.
The vSphere release schema. The current specification covers vSphere 8.0.2.0 APIs.
"EnableNetworkResourceManagementRequestType Object"
If true, enables I/O control. If false, disables network I/O control.
No Content
DvsFault: if the enabling/disabling fails.
NotSupported: if network I/O control is not supported on the vSphere Distributed Switch.
DvsNotAuthorized: if login-session's extension key does not match the switch's configured extensionKey.
"DvsFault Object"
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/sdk/vim25/{release}/VmwareDistributedVirtualSwitch/{moId}/EnableNetworkResourceManagement