Distributed Virtual Switch Manager Query Dvs Config Target
This operation returns the DistributedVirtualSwitch or DistributedVirtualPortgroup configuration target on a host.
Required privileges: System.View
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 DistributedVirtualSwitchManager/{moId}
.
The vSphere release schema. The current specification covers vSphere 9.0.0.0 APIs.
"QueryDvsConfigTargetRequestType Object"
The host on which the query is to be made. If called directly on the host this parameter need not be specified.
The distributed virtual switch on which the query is to be made. If unspecified the config target will encompass all the distributed virtual switches available on the host.
OK
"DVSManagerDvsConfigTarget Object"
List of any DistributedVirtualPortgroup available for host Virtual NIC connection.
List of any DistributedVirtualSwitch available for host Virtual NIC connection.
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/sdk/vim25/{release}/DistributedVirtualSwitchManager/{moId}/QueryDvsConfigTarget