Zerto Virtual Replication APIs : Resources Report API : Filters
  
Filters
Any combination of filters is valid. Filters are not case-sensitive.
Optional Filters
The following filter is optional when using both the getSamples and getSamplesWithFilter options:
startIndex
The first record within the time frame to write to the report. The value is zero-based and the default starting point is the first record, startIndex=0.
Mandatory Filters
The following filters are mandatory when using both the getSamples and getSamplesWithFilter options:
fromTimeString
The starting time of the report, supplied as a date and time with the format of the Zerto Virtual Manager where the API runs, with the format yyyy-mm-dd hh:mm:ss. If the time portion is not specified, the starting time of the report is 00:00:00.
toTimeString
The end time of the report, supplied as a date and time with the format of the Zerto Virtual Manager where the API runs, with the format yyyy-mm-dd hh:mm:ss. If the time portion is not specified, the starting time for the report is 00:00:00.
count
The number of records to write to the report. The maximum value is 500 and values over 500 default to 500. If a value is not specified, no records are written in the report. To return more than 500 records, see Perl Code Example: Retrieving All the Records.
The filter parameter is mandatory when using the getSamplesWithFilter option:
filter
Enables advanced filtering of the results according to specific criteria. For example:
filter=(SourceSite='Las Vegas')
The filter can include =, >, >=, <, <=, <>, the “or” and the “and” logical operators. For example:
(SourceSite='New York' or SourceSite='London') and (ThroughputInBytes>5.6 or ThroughputInBytes<2.6 or ThroughputInBytes=3) and (NumberOfvCpu>=2)
Passing an empty filter is equivalent to not specifying any advanced filtering.
filter=
 
Filter
Description
 
ActiveGuestMemoryInMB
The active memory of the virtual machine.
 
BandwidthInBytes
The average bandwidth used between two consecutive samples.
 
ConsumedHostMemoryInMB
The amount of host memory consumed by the virtual machine.
 
CpuLimitInMhz
The maximum MHz available for the CPUs in the virtual machine.
 
CpuReservedInMhz
The MHz reserved for use by the CPUs in the virtual machine.
 
CpuUsedInMhz
The MHz used by the CPUs in the virtual machine.
 
CrmId
The CRM identifier specified in Zerto Cloud Manager for an organization that uses a cloud service provider for recovery.
 
MemoryInMB
The virtual machine defined memory.
 
MemoryLimitInMB
The upper limit for this virtual machine’s memory allocation.
 
MemoryReservedInMB
The guaranteed memory allocation for this virtual machine.
 
NumberOfvCpu
The number of CPUs for the virtual machine.
 
NumberOfVolumes
The number of volumes attached to the virtual machine.
 
RecoveryJournalProvisionedStorageInGB
The amount of provisioned journal storage for the virtual machine.
 
RecoveryJournalUsedStorageInGB
The amount of used journal storage for the virtual machine.
 
RecoveryVolumesProvisionedStorageInGB
The amount of provisioned storage for the virtual machine in the target site. This value is the sum of volumes’ provisioned size.
 
RecoveryVolumesUsedStorageInGB
The amount of used storage for the virtual machine in the target site.
 
ServiceProfile
The service profile used by the VPG.
 
SourceCluster
The source cluster name hosting the virtual machine.
 
SourceHost
The source ESX/ESXi name hosting the virtual machine.
 
SourceOrgVDC
The name of the source vDC Org.
 
SourceResourcePool
The source resource pool name hosting the virtual machine.
 
SourceSite
The source protected site name, defined in the Zerto User Interface.
 
SourceVCDOrg
The name of the source vCD Org.
 
SourceVolumesProvisionedStorageInGB
The amount of provisioned storage for the virtual machine in the source site. This value is the sum of volumes’ provisioned size.
 
SourceVolumesUsedStorageInGB
The amount of used storage for the virtual machine in the source site. This value is the sum of the volumes’ used size.
 
SourceVraName
The name of the source VRA used to send data to the recovery site.
 
StorageProfile
The target vCD storage profile used.
 
TargetCluster
The target cluster name hosting the virtual machine.
 
TargetDatastores
The target datastore used for the virtual machine if it is recovered.
 
TargetHost
The target ESX/ESXi name hosting the virtual machine when it is recovered.
 
TargetOrgVDC
The name of the target vDC Org
 
TargetResourcePool
The target resource pool name where the virtual machine will be recovered.
 
TargetSite
The target site name, defined in the Zerto User Interface.
 
TargetVCDOrg
The name of the target vCD Org.
 
TargetVraName
The name of the recovery VRA managing the recovery.
 
ThroughputInBytes
The average throughput used between two consecutive samples.
 
Timestamp
The date and time the resource information was collected.
 
VmHardwareVersion
The VMware hardware version.
 
VmIdentifier
The internal virtual machine identifier. The identifier comprises the server identifier and the virtual machine moref, with the format, serverid.moref.
 
VmName
The name of the virtual machine.
 
VpgName
The name of the VPG.
 
VpgType
The VPG Type:
VC2VC: vCenter to vCenter replication.
VC2VCD: vCenter to vCloud Director replication.
VCD2VCD: vCloud Director to vCloud Director replication.
VCD2VC: vCloud Director to vCenter replication.
 
ZORG
An organization set up in the Zerto Cloud Manager using a cloud service provider for recovery.