Zerto APIs : Resources Report API
  
Resources Report API
The resources report API generates information about the resources that are used by the virtual machines that are recovered to the site where the report is run. If no virtual machines are recovered to the site where the report is run, the report is empty.
This information is collected at fixed times as defined in the Resources Report section of the Site Settings window. Information for the report is saved for 90 days when the sampling period is hourly, and for one year when the sampling period is daily.
 
method
url
GET
https://zvm_ip:port/v1/reports/resources
Where:
zvm_ip
The IP address of the Zerto Virtual Manager where the API is run.
port
The port to access the Zerto Virtual Manager. The default port is 9669.
Basic filtering
https://zvm_ip:port/v1/reports/resources?startTime={startTime}&endTime={endTime}&pageNumber={pageNumber}&pageSize={pageSize}
Advanced filtering
https://zvm_ip:port/v1/reports/resources?startTime={startTime}&endTime={endTime}&pageNumber={pageNumber}&pageSize={pageSize}&zorgName={zorgName}&vpgName={vpgName}&vmName={vmName}&protectedSiteName={protectedSiteName}&protectedClusterName={protectedClusterName}&protectedHostName={protectedHostName}&protectedOrgVd={protectedOrgVdc}&protectedVcdOrg={protectedVcdOrg}&recoverySiteName={recoverySiteName}&recoveryClusterName={recoveryClusterName}&recoveryHostName={recoveryHostName}&recoveryOrgVdc={recoveryOrgVdc}&recoveryVcdOrg={recoveryVcdOrg}