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 8.0.2.0 APIs.
{
"host": {
"_typeName": "string",
"type": "string",
"value": "string"
},
"dvs": {
"_typeName": "string",
"type": "string",
"value": "string"
}
}
Reference to an instance of the DistributedVirtualSwitch managed object.
OK
{
"_typeName": "string",
"distributedVirtualPortgroup": [
{
"_typeName": "string",
"switchName": "string",
"switchUuid": "string",
"portgroupName": "string",
"portgroupKey": "string",
"portgroupType": "string",
"uplinkPortgroup": false,
"portgroup": {
"_typeName": "string",
"type": "string",
"value": "string"
},
"networkReservationSupported": false,
"backingType": "string",
"logicalSwitchUuid": "string",
"segmentId": "string"
}
],
"distributedVirtualSwitch": [
{
"_typeName": "string",
"switchName": "string",
"switchUuid": "string",
"distributedVirtualSwitch": {
"_typeName": "string",
"type": "string",
"value": "string"
},
"networkReservationSupported": false
}
]
}
List of any DistributedVirtualPortgroup available for host Virtual NIC connection.
List of any DistributedVirtualSwitch available for host Virtual NIC connection.