Search Index Find All By Ip
Finds all virtual machines or hosts by IP address, where the IP address is in dot-decimal notation.
For example, 10.17.12.12. The IP address for a virtual machine is the one returned from VMware tools, ipAddress.
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"
},
"ip": "string",
"vmSearch": false
}
The dot-decimal notation formatted IP address to find.
If true, search for virtual machines, otherwise search for hosts.
The list of all virtual machines or hosts that are found. If no managed entities are found, an empty list is returned. If there are multiple matches, all matching entities are returned.
[
{
"_typeName": "string",
"type": "string",
"value": "string"
}
]