Start Services
DescriptionStarts a service
Request
URLURL
Path Parameters
Path Parameters
identifier of the service to start The parameter must be an identifier for the resource type: com.vmware.appliance.services.
Header Parameters
Header Parameters
Required session ID, acquired from Create Session API under CIS product
vmware-api-session-id example
"b00db39f948d13ea1e59b4d6fce56389"
Authentication
Errors
Errors
com.vmware.vapi.std.errors.not_allowed_in_current_state : if the operation is denied in the current state of the service. If a stop or restart operation is in progress, the start operation will not be allowed. if start operation is issued on a service which has startup type StartupType#DISABLED.
com.vmware.vapi.std.errors.not_found : if the service associated with service does not exist.
com.vmware.vapi.std.errors.timed_out : if any timeout occurs during the execution of the start operation. Timeout occurs when the service takes longer than StartTimeout to start. | com.vmware.vapi.std.errors.error : if any other 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: post
x-vmw-doc-deprecated-path: /rest/appliance/services/{service}/start
x-vmw-doc-operation: start