Resources Report API XML Response Formats
Important: This document is being phased out and does not contain up-to-date information. For updated API documentation for Zerto versions 9.5 and later, see ZVM REST API - Swagger.
You can also access Swagger from the ZVM: click the menu button () on the top right and select APIs or navigate to https://<ZVM IP>:9669/swagger/index.html in a Windows ZVM or https://<ZVM IP>/management/api/swagger/index.html in ZVM Appliance.
Response Format
The following is an example response XML body for https://zvm_ip:port/v1/reports/resources.
<ArrayOfVmResourcesReportApi xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.zerto.com/zvm/api">
<VmResourcesReportApi>
<Performance xmlns:a="http://schemas.datacontract.org/2004/07/Zerto.Zvm.Api.Interfaces.ResourcesReports.VmInfoApiDataItems">
<a:BandwidthInBps>-1</a:BandwidthInBps>
<a:ThroughputInBps>-1</a:ThroughputInBps>
</Performance>
<ProtectedSite xmlns:a="http://schemas.datacontract.org/2004/07/Zerto.Zvm.Api.Interfaces.ResourcesReports.VmInfoApiDataItems">
<a:SiteName>Site-20</a:SiteName>
<a:VcdOrgName/>
<a:Compute>
<a:ClusterName>Cluster</a:ClusterName>
<a:HostName>172.20.99.6</a:HostName>
<a:OrgVdcName/>
<a:ResourcePoolName/>
<a:VraName>Z-VRA-172.20.99.6</a:VraName>
</a:Compute>
<a:Storage>
<a:VolumesProvisionedStorageInGB>0.5</a:VolumesProvisionedStorageInGB>
<a:VolumesUsedStorageInGB>0.498</a:VolumesUsedStorageInGB>
<a:NumberOfVolumes>1</a:NumberOfVolumes>
</a:Storage>
<a:VmInfo>
<a:Cpu>
<a:CpuLimitationInMhz>0</a:CpuLimitationInMhz>
<a:CpuReservedInMhz>0</a:CpuReservedInMhz>
<a:CpuUsedInMhz>0</a:CpuUsedInMhz>
<a:NumberOfvCpus>1</a:NumberOfvCpus>
</a:Cpu>
<a:HardwareVersion>vmx-08</a:HardwareVersion>
<a:Memory>
<a:ActiveGuestMemoryInMB>5</a:ActiveGuestMemoryInMB>
<a:ConsumedHostMemoryInMB>129</a:ConsumedHostMemoryInMB>
<a:MemoryInMB>256</a:MemoryInMB>
<a:MemoryLimitationInMB>0</a:MemoryLimitationInMB>
<a:MemoryReservedInMB>0</a:MemoryReservedInMB>
</a:Memory>
<a:VmIdentifier>949ab3d4-5e41-4a10-ad55-87f2414326d5.vm-102</a:VmIdentifier>
<a:VmName>Forex-AppServer</a:VmName>
</a:VmInfo>
</ProtectedSite>
<RecoverySite xmlns:a="http://schemas.datacontract.org/2004/07/Zerto.Zvm.Api.Interfaces.ResourcesReports.VmInfoApiDataItems">
<a:SiteName>Site-30</a:SiteName>
<a:VcdOrgName/>
<a:Compute>
<a:ClusterName>Cluster</a:ClusterName>
<a:HostName>172.20.99.24</a:HostName>
<a:OrgVdcName/>
<a:ResourcePoolName/>
<a:VraName>Z-VRA-172.20.99.24</a:VraName>
<a:FailoverOrMoveInstanceFamily/>
<a:FailoverOrMoveInstanceType/>
<a:FailoverTestInstanceFamily/>
<a:FailoverTestInstanceType/>
</a:Compute>
<a:Storage>
<a:VolumesProvisionedStorageInGB>0.5</a:VolumesProvisionedStorageInGB>
<a:VolumesUsedStorageInGB>0</a:VolumesUsedStorageInGB>
<a:DatastoreName>ZNest126 MSFT DS</a:DatastoreName>
<a:JournalProvisionedStorageInGB>16</a:JournalProvisionedStorageInGB>
<a:JournalUsedStorageInGB>0.297</a:JournalUsedStorageInGB>
<a:StoragePolicyName/>
</a:Storage>
</RecoverySite>
<SampleTime>2018-04-12T22:00:00.000Z</SampleTime>
<Vpg xmlns:a="http://schemas.datacontract.org/2004/07/Zerto.Zvm.Api.Interfaces.ResourcesReports.VmInfoApiDataItems">
<a:CrmIdentifier/>
<a:ProtectedAndRecoveryType>VC2VC</a:ProtectedAndRecoveryType>
<a:ServiceProfileName/>
<a:VpgName>New York</a:VpgName>
<a:ZorgName/>
</Vpg>
</VmResourcesReportApi>
</ArrayOfVmResourcesReportApi>