Distributed Virtual Switch Reconfigure DV Port Task
Reconfigure individual ports.
Required privileges: DVSwitch.PortConfig
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.
"ReconfigureDVPortRequestType Object"
The specification of the ports.
Returns a Task object with which to monitor the operation.
"MoRefTask Object"
NotSupported: If called directly on a host or if the switch implementation doesn't support this API or if the spec includes settings for any vSphere Distributed Switch feature that is not supported on this switch.
InvalidArgument: If the array have different elements for the same port.
DvsFault: if operation fails on any host or if there are other update failures.
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}/ReconfigureDVPort_Task