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 9.1.0.0 APIs.
{
"enable": false
}
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.
{
"_typeName": "string",
"faultCause": {
"_typeName": "string",
"faultCause": "MethodFault Object",
"faultMessage": [
{
"_typeName": "string",
"key": "string",
"arg": [
{
"_typeName": "string",
"key": "string",
"value": {
"_typeName": "string"
}
}
],
"message": "string"
}
]
},
"faultMessage": [
{
"_typeName": "string",
"key": "string",
"arg": [
{
"_typeName": "string",
"key": "string",
"value": {
"_typeName": "string"
}
}
],
"message": "string"
}
]
}
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"enable":"boolean"}' https://{api_host}/sdk/vim25/{release}/VmwareDistributedVirtualSwitch/{moId}/EnableNetworkResourceManagement