Vmware Distributed Virtual Switch Update Dvs Capability
Set the capability of the switch.
Required privileges: DVSwitch.Modify
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.0.0.0 APIs.
"UpdateDvsCapabilityRequestType Object"
The capability of the switch.
No Content
NotSupported: If called directly on a host or if the switch implementation doesn't support this API.
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.
"DvsFault Object"
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/sdk/vim25/{release}/VmwareDistributedVirtualSwitch/{moId}/UpdateDvsCapability