Distributed Virtual Switch Manager Query Dvs By Uuid
This operation returns a DistributedVirtualSwitch given a UUID.
Required privileges: System.View
Request
URI
POST
https://{vcenter-host}/sdk/vim25/{release}/DistributedVirtualSwitchManager/{moId}/QueryDvsByUuid
COPY
Path Parameters
string
moId
Required
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}
.
string
release
Required
The vSphere release schema. The current specification covers vSphere 8.0.3.0 APIs.
Request Body
QueryDvsByUuidRequestType of type(s) application/json
Required
{
"uuid": "string"
}
string
uuid
Required
uuid
Responses
200
OK
Returns MoRefDistributedVirtualSwitch of type(s) application/json
This response body class contains all of the following: MoRefManagedEntity
{
"_typeName": "string",
"type": "string",
"value": "string"
}
500
NotFound: If a switch with the UUID doesn't exist.
Returns NotFound of type(s) application/json
This response body class contains all of the following: VimFault
{
"_typeName": "string",
"faultCause": "MethodFault Object",
"faultMessage": [
{
"_typeName": "string",
"key": "string",
"arg": [
{
"_typeName": "string",
"key": "string",
"value": {
"_typeName": "string"
}
}
],
"message": "string"
}
]
}
On This Page
Virtual Infrastructure Operations
POST
Distributed Virtual Switch Manager DVS Manager Export Entity Task
POST
Distributed Virtual Switch Manager DVS Manager Import Entity Task
POST
Distributed Virtual Switch Manager DVS Manager Lookup Dv Port Group
POST
Distributed Virtual Switch Manager Query Available Dvs Spec
POST
Distributed Virtual Switch Manager Query Compatible Host For Existing Dvs
POST
Distributed Virtual Switch Manager Query Compatible Host For New Dvs
POST
Distributed Virtual Switch Manager Query Compatible Vmnics From Hosts
POST
Distributed Virtual Switch Manager Query Dvs By Uuid
POST
Distributed Virtual Switch Manager Query Dvs Check Compatibility
POST
Distributed Virtual Switch Manager Query Dvs Compatible Host Spec
POST
Distributed Virtual Switch Manager Query Dvs Config Target
POST
Distributed Virtual Switch Manager Query Dvs Feature Capability
POST
Distributed Virtual Switch Manager Query Supported Network Offload Spec
POST
Distributed Virtual Switch Manager Rectify Dvs On Host Task