List Services
Lists details of vCenter services.
Request
URLURL
Header Parameters
Header Parameters
Required session ID, acquired from Create Session API under CIS product
vmware-api-session-id example
"b00db39f948d13ea1e59b4d6fce56389"
Authentication
Response
Response BodyResponse Body
map
of
ServicesInfo
of type application/json
Map of service identifiers to service Info structures. The key in the result map will be an identifier for the resource type: com.vmware.appliance.services.
{
"description": "string",
"state": "STARTING"
}
Service description
The Services.State enumerated type defines valid Run State for services.
STARTING : Service Run State is Starting, it is still not functional
STOPPING : Service Run State is Stopping, it is not functional
STARTED : Service Run State is Started, it is fully functional
STOPPED : Service Run State is Stopped
Possible values are: STARTING , STOPPING , STARTED , STOPPED
Errors
com.vmware.vapi.std.errors.error : if any error occurs during the execution of the operation.
‘Default’ means this response is used for all HTTP codes that are not covered individually for this operation.
Code Samples
PowerCLI Client SDK Example
cURL Command
Vendor Extensions
x-vmw-doc-deprecated-method: get
x-vmw-doc-deprecated-path: /rest/appliance/services
x-vmw-doc-operation: list