Distributed Virtual Switch Manager Query Compatible Host For New Dvs

Distributed Virtual Switch Manager Query Compatible Host For New Dvs

This operation returns a list of hosts that are compatible with the given DistributedVirtualSwitch product specification.

Required privileges: System.View

Request
URI
POST
https://{vcenter-host}/sdk/vim25/{release}/DistributedVirtualSwitchManager/{moId}/QueryCompatibleHostForNewDvs
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.2.0 APIs.


Request Body
QueryCompatibleHostForNewDvsRequestType of type(s) application/json
Required
{
    "container": {
        "_typeName": "string",
        "type": "string",
        "value": "string"
    },
    "recursive": false,
    "switchProductSpec": {
        "_typeName": "string",
        "name": "string",
        "vendor": "string",
        "version": "string",
        "build": "string",
        "forwardingClass": "string",
        "bundleId": "string",
        "bundleUrl": "string"
    }
}
container
Required

Reference to an instance of the ManagedEntity managed object.

boolean
recursive
Required

Whether to search for hosts in the subfolders, if applicable. In the case when container is a Datacenter, the recursive flag is applied to its HostFolder.

switchProductSpec
Optional

This data object type is a subset of AboutInfo.

An object of this type can be used to describe the specification for a proxy switch module of a DistributedVirtualSwitch.

Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns Array of MoRefHostSystem of type(s) application/json
[
    {
        "_typeName": "string",
        "type": "string",
        "value": "string"
    }
]