Distributed Virtual Switch Add Network Resource Pool
Deprecated as of vSphere API 6.0 Use DvsReconfigureVmVnicNetworkResourcePool_Task instead to add a Virtual NIC network resource pool.
Add a network resource pool.
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 DistributedVirtualSwitch/{moId}
.
The vSphere release schema. The current specification covers vSphere 8.0.2.0 APIs.
"AddNetworkResourcePoolRequestType Object"
the network resource pool configuration specification.
No Content
DvsFault: if operation fails on any host or if there are other update failures.
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.
"VimFault Object"
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/sdk/vim25/{release}/DistributedVirtualSwitch/{moId}/AddNetworkResourcePool