You can use the VMware Cloud API Explorer to retrieve a health report for your VMware Site Recovery SDDC.
When you invoke the APIs from the API Explorer, the API Explorer injects the authentication token automatically and auto-fills the organization ID path parameter in the endpoint's path.
Procedure
- Log in to https://vmc.vmware.com/.
- Click your user name at the top right and then switch to the organization that you want to use.
- Navigate to .
- To retrieve the health report in JSON format, expand the site-recovery-health-report menu in API categories, select the GET request, and click Execute.
GET /api/vsr-guardrails/{org_id}/deployments/{deployment_id}/site-recovery-health-reports
You can copy or download the response to a local machine, or expand the
SiteRecoveryHealthReport and read the report.
- To retrieve the health report in JSON format for a specific SDDC, expand the site-recovery-health-report-html menu in API categories, select the GET request, and click Execute.
GET /api/vsr-guardrails/{org_id}/deployments/{deployment_id}/site-recovery-health-reports/{report_id}
You can copy or download the response to a local machine, or expand the
SiteRecoveryHealthReport and read the report.
- To retrieve the details for a health report in JSON format, expand the site-recovery-health-report menu in API categories, select the GET request, and click Execute.
GET /api/vsr-guardrails/{org_id}/deployments/{deployment_id}/site-recovery-health-reports/{report_id}/details
You can copy or download the response to a local machine, or expand the
SiteRecoveryHealthReport and read the report.
- To retrieve the health report in html format, expand the site-recovery-health-report-html menu in API categories, select the GET request, and click Execute.
GET /api/vsr-guardrails/{org_id}/deployments/{deployment_id}/site-recovery-health-reports/{report_id}/details/html
The HTML code snippet is embedded in the text field as a string. To convert the content to a common HTML code, you must perform the following steps.
- Click COPY RESPONSE.
- Open a web browser, navigate to https://jsoneditoronline.org/ and paste the response on the left pane.
- To switch to the tree view, click tree.
- Copy the content value of the text node, paste it in a text editor, and save the content as an html file.
- To review the health report, open the html file in a browser.