Snapservice. Tasks Get
Returns information about a task.
This operation was added in vSphere API 8.0.3.0.
Returns an authorization error if you do not have all of the privileges described as follows:
- Operation execution requires
System.Read.
Task identifier.
The parameter must be an identifier for the resource type: com.vmware.snapservice.task.
Information about the specified task.
"Snapservice.Tasks.Info Object"
if the user can not be authenticated.
"Vapi.Std.Errors.Unauthenticated Object"
if the user doesn't have the required privileges.
"Vapi.Std.Errors.Unauthorized Object"
if the task is not found.
"Vapi.Std.Errors.NotFound Object"
Vapi.Std.Errors.Error if the system reports an error while responding to the request.
Vapi.Std.Errors.ResourceInaccessible if the task's state cannot be accessed.
"Vapi.Std.Errors.Error Object"
if the system is unable to communicate with a service to complete the request.
"Vapi.Std.Errors.ServiceUnavailable Object"
curl -H 'Authorization: <value>' https://{api_host}/api/snapservice/tasks/{task}