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 DistributedVirtualSwitch/{moId}
.
The vSphere release schema. The current specification covers vSphere 8.0.2.0 APIs.
"UpdateDvsCapabilityRequestType Object"
The DVSCapability data object describes the distributed virtual switch features and indicates the level of configuration that is allowed.
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}/DistributedVirtualSwitch/{moId}/UpdateDvsCapability