Search Index Find By Uuid
Finds a virtual machine or host by BIOS or instance UUID.
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 SearchIndex/{moId}
.
The vSphere release schema. The current specification covers vSphere 8.0.2.0 APIs.
{
"datacenter": {
"_typeName": "string",
"type": "string",
"value": "string"
},
"uuid": "string",
"vmSearch": false,
"instanceUuid": false
}
The UUID to find. If vmSearch is true, the uuid can be either BIOS or instance UUID.
If true, search for virtual machines, otherwise search for hosts.
Should only be set when vmSearch is true. If specified, search for virtual machines whose instance UUID matches the given uuid. Otherwise, search for virtual machines whose BIOS UUID matches the given uuid.
The virtual machine or host managed entity that is found. If no managed entities are found, null is returned. Only a single entity is returned, even if there are multiple matches.
{
"_typeName": "string",
"type": "string",
"value": "string"
}