Service Manager Query Service List
A query interface that returns a list of services that match certain criteria.
Besides a basic service name entry, an arbitrary list of matching locations can also be specified. The location array is assumed to be a list of AND expressions, ie, all locations must match for an entry to be considered a match. Regular expressions are not allowed in the query service.
Required privileges: Global.ServiceManagers
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 ServiceManager/{moId}
.
The vSphere release schema. The current specification covers vSphere 8.0.2.0 APIs.
{
"serviceName": "string",
"location": [
"string"
]
}
The name of the service to be located.
The list of location information that needs to match for a service to be considered a match.
OK
[
{
"_typeName": "string",
"serviceName": "string",
"location": [
"string"
],
"service": {
"_typeName": "string",
"type": "string",
"value": "string"
},
"description": "string"
}
]