The requested article is not available. Either it doesn't apply to this version of the product or the relevant information is organized differently in this version of the docs. You can search, browse, or go back to the other version.
A newer release of this product is available.
REST APIs to download jobs and generate reports
To generate reports and download logs for VMware vSphere client jobs using the SnapCenter Plug-in for VMware vSphere REST APIs, you must use the REST API calls for VMware vSphere.
For each REST API, add https://<server>:<port>
at the front of the REST API to form a complete endpoint.
REST API |
Comments |
/4.1/jobs
|
Get all jobs gets the job details for multiple jobs. You can narrow the scope of the request by specifying a job type, such as backup , mountBackup , or restore .
|
/4.1/jobs/{id}
|
Get job details gets detailed information for the specified job.
|
Use the following REST API in the Jobs section to download job logs:
REST API |
Comments |
/4.1/jobs/{id}/logs
|
getJobLogsById downloads the logs for the specified job.
|
Use the following REST APIs in the Reports section to generate reports:
REST API |
Comments |
4.1/reports/protectedVM
|
Get Protected VM List gets a list of the protected VMs during the last seven days.
|
/4.1/reports/
unProtectedVM
|
Get Unprotected VM List gets a list of the unprotected VMs during the last seven days.
|