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

  1. Log in to https://vmc.vmware.com/.
  2. Click your user name at the top right and then switch to the organization that you want to use.
  3. Navigate to Developer Center > API Explorer > VMware Site Recovery > Health Reports (VMC on AWS).
  4. 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.
  5. 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.
  6. 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.
  7. 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.
    1. Click COPY RESPONSE.
    2. Open a web browser, navigate to https://jsoneditoronline.org/ and paste the response on the left pane.
    3. To switch to the tree view, click tree.
    4. Copy the content value of the text node, paste it in a text editor, and save the content as an html file.
    5. To review the health report, open the html file in a browser.