Zerto APIs : Managing vCD APIs : VPG Management APIs
  
VPG Management APIs
Using the VpgSettings APIs, you can view existing vCD VPGs, create, update and delete existing vCD VPGs.
There are two ways of creating new vCD VPGs:
Multi-Step Operation for Creating an Empty VPG Template
Two Step Operation
Following is an explanation for both methods.
Multi-Step Operation for Creating an Empty VPG Template
Using this method, you run the following APIs:
1. Get a VPG Settings Identifier
2. Get an Empty VPG Template
3. Add Values in the Empty VPG Template
4. Get a Full VPG Template
Get a VPG Settings Identifier
Run this API to get a VPG settings identifier. With the VPG Settings Identifier, you can request for an empty VPG template.
Request Body Using Json Format
Response In Json Format
 
method
url
POST
https://zvm_ip:port/v1/vpgSettings
 
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.
 
Request Body Using Json Format
The request Json body is empty.
Response In Json Format
The following is an example response.
 
{
  "VpgSettingsIdentifier": "String content"
}
 
VpgSettingsIdentifier
The identifier of the VPG settings.
 
Back to VPG Management APIs
Back to Managing vCD APIs
Back to All APIs
Get an Empty VPG Template
Run this API to get an empty VPG template. The empty template includes mandatory fields for creating a VPG.
 
method
url
GET
https://zvm_ip:port/v1/vpgSettings/VpgSettingsIdentifier
 
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.
 
Request Body Using Json Format
Response In Json Format
Request Body Using Json Format
The request body is empty.
Response In Json Format
The following is an example response.
 
[{
  "Backup": "String Content",
  "Basic": {
    "JournalHistoryInHours": number,
    "Name": "String Content",
    "Priority": "String Content",
    "ProtectedSiteIdentifier": "String Content",
    "RecoverySiteIdentifier": "String Content",
    "RpoInSeconds": Number,
    "ServiceProfileIdentifier": "String Content",
    "TestIntervalInMinutes":Number,
    "UseWanCompression": Boolean,
    "ZorgIdentifier": "String Content"
  },
  "BootGroups": {
    "BootGroups":[{
      "BootDelayInSeconds": Number,
      "BootGroupIdentifier": "String Content",
      "Name": "String Content"
    }]
  },
  "Journal": {
    "DatastoreIdentifier": "String Content",
    "Limitation": {
      "HardLimitInMB": Number,
      "HardLimitInPercent": Number,
      "WarningThresholdInMB": Number,
      "WarningThresholdInPercent": Number
    }
  },
  "Networks": {
    "Failover": {
      Hypervisor": {
        "DefaultNetworkIdentifier": "String Content"
      }
      "VCD": "String Content"
    },
    "FailoverTest": {
      "Hypervisor": {
        "DefaultNetworkIdentifier": "String Content"
      }
      "VCD": "String Content"
    }
  },
  "Protected": {
    "VCD": {
      "VCDVappIdentifier": "String Content"
    }
  }
  "Recovery": {
    "DefaultDatastoreClusterIdentifier": "String Content",
    "DefaultDatastoreIdentifier": "String Content",
    "DefaultFolderIdentifier": "String Content",
    "DefaultHostClusterIdentifier": "String Content",
    "DefaultHostIdentifier": "String Content",
    "ResourcePoolIdentifier": "String Content"
    "VCD": {
      "OrgVcdIdentifier": "String Content"
    }
  },
  "Scripting": {
    "PostBackup": "String Content",
    "PostRecovery": {
      "Command": "String Content",
      "Parameters": null,
      "TimeoutInSeconds": Number
    },
    "PreRecovery": {
      "Command": "String Content",
      "Parameters": "String Content",
      "TimeoutInSeconds": Number
    }
  },
  "Vms": [],
  "VpgIdentifier": "String Content",
  "VpgSettingsIdentifier": "String Content"
}]
 
Parameter
Description
Backup (Deprecated)
Information related to offsite backup.
Basic
Basic VPG settings.
JournalHistoryInHours
The time that all write commands are saved in the journal. The value is between 1 and 336 (14 days).
Name
The name of the VPG.
Priority
The priority specified for the VPG. Possible values are:
Low: The VPG has a low priority for transferring data.
Medium: The VPG has a medium priority for transferring data.
High: The VPG has a high priority for transferring data.
ProtectedSiteIdentifier
The identifier of the source site where the VPG virtual machines will be protected. This is the site where the API runs.
RecoverySiteIdentifier
The identifier of the target site where the VPG virtual machines will be recovered.
RpoInSeconds
The maximum desired time between each automatic checkpoint being written to the journal before an alert is issued.
ServiceProfileIdentifier
The identifier of the service profile to use for the VPG when a Zerto Cloud Manager is used.
TestIntervalInMinutes
The time, in minutes, recommended between testing the integrity of the VPG. A warning is issued if a test is not done within this time frame. Possible values are:
0: No testing is expected.
43200 or null: Testing is expected monthly.
131040: Testing is expected every three months.
262080: Testing is expected every six months.
394560: Testing is expected every nine months.
525600: Testing is expected every twelve months.
UseWanCompression
True: Data will be compressed before sending it to the recovery site.
False: Data will not be compressed before sending it to the recovery site.
ZorgIdentifier
The identifier of the ZORG, Zerto organization, defined in the Zerto Cloud Manager.
BootGroups
Information about boot groups.
BootGroups
BootDelayInSeconds
Specifies the delay, in seconds, between starting up the virtual machines in this group and starting up the virtual machines in the next group.
BootGroupIdentifier
The identifier of a boot group.
Name
The name of a boot group.
Journal
Information about the journal.
DatastoreIdentifier
The identifier of the storage used by the journal for the VM. The identifier comprises the server identifier and the storage moref, with the format, serverid.moref.
Limitation
Information about the journal limitations.
HardLimitInMB
The maximum journal size in MBs. 0 means unlimited. Integer values.
HardLimitInPercent
The percentage of the virtual machine volume size the journal can grow to. 0 means unlimited. Integer values.
WarningThresholdInMB
The journal size, in MBs, that generates a warning that the journal is nearing its hard limit. 0 means unlimited. Integer values.
WarningThresholdInPercent
The percentage of the virtual machine volume size that generates a warning. 0 means unlimited. Integer values.
Networks
Information about the networks that connect the protected and recovery sites.
Failover
Information about the networks used for failover.
Hypervisor
Information related to networks used in hypervisors.
DefaultNetworkIdentifier
The network identifier of the network to use during a failover or move operation in which the recovered virtual machines will run.
VCD
Information related to networks used in vCDs.
FailoverTest
Information about the networks used for testing failover.
Hypervisor
Information related to networks used in hypervisors.
DefaultNetworkIdentifier
The network identifier of the network to use when testing the failover of virtual machines in the recovery site.
VCD
Information related to networks used in a vCD environment.
Protected
Information about the protected site.
VCD
Null
Recovery
Information about the recovery.
DefaultDatastoreClusterIdentifier
The identifier of the default datastore cluster used in the recovery site.
Note: Only when the recovery site is a vSphere site.
 
DefaultDatastoreIdentifier
The identifier of the default storage where the metadata files for the virtual machines are stored, such as the vmx or vhdx files. The identifier comprises the server identifier and the storage moref, with the format, serverid.moref.
DefaultFolderIdentifier
The identifier of the default folder used for recovery. The identifier comprises the server identifier and the folder moref, with the format, serverid.moref.
DefaultHostClusterIdentifier
The identifier of the default host cluster that handles the replicated data. The identifier comprises the server identifier and the host cluster moref, with the format, serverid.moref.
DefaultHostIdentifier
The identifier of the default host that handles the replicated data. The identifier comprises the server identifier and the host moref, with the format, serverid.moref.
ResourcePoolIdentifier
The identifier of the resource pool for the recovered virtual machines. The identifier comprises the server identifier and the resource pool moref, with the format, serverid.moref.
VCD
Null. Information about the vCD recovery vApp.
Scripting
Information about the scripts to run, either before or after recovery operation, or after an offsite backup is run.
PostBackup
Information about scripts that are run after an offsite backup is performed.
PostRecovery
Information about scripts that are run after a recovery operation is performed.
Command
The full path of the script. The script must be located on the same machine as the Zerto Virtual Manager for the recovery site.
Parameters
Parameters to pass to the script.
TimeoutInSeconds
The time-out, in seconds, for the script to run.
PreRecovery
Information about scripts that are run before a recovery operation is performed.
Command
The full path of the script. The script must be located on the same machine as the Zerto Virtual Manager for the recovery site.
Parameters
Parameters to pass to the script.
TimeoutInSeconds
The time-out, in seconds, for the script to run.
Vms
Information about the virtual machines in a VPG.
VpgIdentifier
The VPG identifier will be specified if a VPG was already created in a previous session. The session is identified by the VpgSettingsIdentifier, and must be stated when running the current API.
VpgSettingsIdentifier
The identifier received after running the following POST API:
https://zvm_ip:port/v1/vpgSettings
 
 
 
 
Back to VPG Management APIs
Back to Managing vCD APIs
Back to All APIs
Add Values in the Empty VPG Template
Once you get the empty template, add values for the new VPG.
Some parameters appear as stand alone with the value null, even though they have sub-parameters. See for example the parameter OrgVcdIdentifier:
By running this API with a value in OrgVcdIdentifier, you are defining the recovery site as a vCD site. After adding the values in the empty template, you run a GET API to receive the full template, with the newly defined parameters. If you added a value to the OrgVcdIdentifier parameter, the Networks section expands from the original Networks section:
To the full section:
Note: Not all parameters with a value of null, are expanded after they are filled.
 
method
url
PUT
https://zvm_ip:port/v1/vpgSettings/VpgSettingsIdentifier
 
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.
VpgSettingsIdentifier
The identifier of the session.
 
Request Body Using Json Format
Response In Json Format
Request Body Using Json Format
The following is an example vCD request Json body.
 
[{
  "Backup": "String Content",
  "Basic": {
    "JournalHistoryInHours": number,
    "Name": "String Content",
    "Priority": "String Content",
    "ProtectedSiteIdentifier": "String Content",
    "RecoverySiteIdentifier": "String Content",
    "RpoInSeconds": Number,
    "ServiceProfileIdentifier": "String Content",
    "TestIntervalInMinutes":Number,
    "UseWanCompression": Boolean,
    "ZorgIdentifier": "String Content"
  },
  "BootGroups": {
    "BootGroups":[{
      "BootDelayInSeconds": Number,
      "BootGroupIdentifier": "String Content",
      "Name": "String Content"
    }]
  },
  "Journal": {
    "DatastoreIdentifier": "String Content",
    "Limitation": {
      "HardLimitInMB": Number,
      "HardLimitInPercent": Number,
      "WarningThresholdInMB": Number,
      "WarningThresholdInPercent": Number
    }
  },
  "Networks": {
    "Failover": {
      Hypervisor": {
        "DefaultNetworkIdentifier": "String Content"
      }
      "VCD": "String Content"
    },
    "FailoverTest": {
      "Hypervisor": {
        "DefaultNetworkIdentifier": "String Content"
      }
      "VCD": "String Content"
    }
  },
  "Protected": {
    "VCD": {
      "VCDVappIdentifier": "String Content"
    }
  }
  "Recovery": {
    "DefaultDatastoreClusterIdentifier": "String Content",
    "DefaultDatastoreIdentifier": "String Content",
    "DefaultFolderIdentifier": "String Content",
    "DefaultHostClusterIdentifier": "String Content",
    "DefaultHostIdentifier": "String Content",
    "ResourcePoolIdentifier": "String Content"
    "VCD": {
      "OrgVcdIdentifier": "String Content"
    }
  },
  "Scripting": {
    "PostBackup": "String Content",
    "PostRecovery": {
      "Command": "String Content",
      "Parameters": null,
      "TimeoutInSeconds": Number
    },
    "PreRecovery": {
      "Command": "String Content",
      "Parameters": "String Content",
      "TimeoutInSeconds": Number
    }
  },
  "Vms": [],
  "VpgIdentifier": "String Content",
  "VpgSettingsIdentifier": "String Content"
}]
 
Parameter
type
Description
Backup (Deprecated)
 
Information related to offsite backup.
Basic
 
Basic VPG settings.
JournalHistoryInHours
Integer
The time that all write commands are saved in the journal. The value is between 1 and 336 (14 days).
Name
String
The name of the VPG.
Priority
String
The priority specified for the VPG. Possible values are:
Low: The VPG has a low priority for transferring data.
Medium: The VPG has a medium priority for transferring data.
High: The VPG has a high priority for transferring data.
ProtectedSiteIdentifier
String
The identifier of the source site where the VPG virtual machines will be protected. This is the site where the API runs.
RecoverySiteIdentifier
String
The identifier of the target site where the VPG virtual machines will be recovered.
RpoInSeconds
Integer
The maximum desired time between each automatic checkpoint being written to the journal before an alert is issued.
ServiceProfileIdentifier
String
The identifier of the service profile to use for the VPG when a Zerto Cloud Manager is used.
TestIntervalInMinutes
Integer
The time, in minutes, recommended between testing the integrity of the VPG. A warning is issued if a test is not done within this time frame. Possible values are:
0: No testing is expected.
43200 or null: Testing is expected monthly.
131040: Testing is expected every three months.
262080: Testing is expected every six months.
394560: Testing is expected every nine months.
525600: Testing is expected every twelve months.
UseWanCompression
Boolean
True: Data will be compressed before sending it to the recovery site.
False: Data will not be compressed before sending it to the recovery site.
ZorgIdentifier
String
The identifier of the ZORG, Zerto organization, defined in the Zerto Cloud Manager.
BootGroups
 
Information about boot groups.
BootGroups
 
BootDelayInSeconds
Integer
Specifies the delay, in seconds, between starting up the virtual machines in this group and starting up the virtual machines in the next group.
BootGroupIdentifier
String
The identifier of a boot group.
Name
String
The name of a boot group.
Journal
 
Information about the journal.
DatastoreIdentifier
String
The identifier of the storage used by the journal for the VM. The identifier comprises the server identifier and the storage moref, with the format, serverid.moref.
Limitation
String
Information about the journal limitations.
HardLimitInMB
Integer
The maximum journal size in MBs. 0 means unlimited. Integer values.
HardLimitInPercent
Integer
The percentage of the virtual machine volume size the journal can grow to. 0 means unlimited. Integer values.
WarningThresholdInMB
Integer
The journal size, in MBs, that generates a warning that the journal is nearing its hard limit. 0 means unlimited. Integer values.
WarningThresholdInPercent
Integer
The percentage of the virtual machine volume size that generates a warning. 0 means unlimited. Integer values.
Networks
 
Information about the networks that connect the protected and recovery sites.
Failover
 
Information about the networks used for failover.
Hypervisor
 
Information related to networks used in hypervisors.
DefaultNetworkIdentifier
String
The network identifier of the network to use during a failover or move operation in which the recovered virtual machines will run.
VCD
 
Information related to networks used in vCDs.
FailoverTest
 
Information about the networks used for testing failover.
Hypervisor
 
Information related to networks used in hypervisors.
DefaultNetworkIdentifier
String
The network identifier of the network to use when testing the failover of virtual machines in the recovery site.
VCD
 
Information related to networks used in a vCD environment.
Protected
 
Information about the protected site.
VCD
 
Null when the protected site is hypervisor.
Recovery
 
Information about the recovery.
DefaultDatastoreClusterIdentifier
 
The identifier of the default datastore cluster used in the recovery site.
Note: Only when the recovery site is a vSphere site.
 
DefaultDatastoreIdentifier
String
The identifier of the default storage where the metadata files for the virtual machines are stored, such as the vmx or vhdx files. The identifier comprises the server identifier and the storage moref, with the format, serverid.moref.
DefaultFolderIdentifier
String
The identifier of the default folder used for recovery. The identifier comprises the server identifier and the folder moref, with the format, serverid.moref.
DefaultHostClusterIdentifier
String
The identifier of the default host cluster that handles the replicated data. The identifier comprises the server identifier and the host cluster moref, with the format, serverid.moref.
DefaultHostIdentifier
String
The identifier of the default host that handles the replicated data. The identifier comprises the server identifier and the host moref, with the format, serverid.moref.
ResourcePoolIdentifier
String
The identifier of the resource pool for the recovered virtual machines. The identifier comprises the server identifier and the resource pool moref, with the format, serverid.moref.
VCD
 
Null. Information about the vCD recovery vApp.
Scripting
 
Information about the scripts to run, either before or after recovery operation, or after an offsite backup is run.
PostBackup
 
Information about scripts that are run after an offsite backup is performed.
PostRecovery
 
Information about scripts that are run after a recovery operation is performed.
Command
String
The full path of the script. The script must be located on the same machine as the Zerto Virtual Manager for the recovery site.
Parameters
String
Parameters to pass to the script.
TimeoutInSeconds
Integer
The time-out, in seconds, for the script to run.
PreRecovery
 
Information about scripts that are run before a recovery operation is performed.
Command
String
The full path of the script. The script must be located on the same machine as the Zerto Virtual Manager for the recovery site.
Parameters
String
Parameters to pass to the script.
TimeoutInSeconds
Integer
The time-out, in seconds, for the script to run.
Vms
 
Information about the virtual machines in a VPG.
VpgIdentifier
String
The VPG identifier will be specified if a VPG was already created in a previous session. The session is identified by the VpgSettingsIdentifier, and must be stated when running the current API.
VpgSettingsIdentifier
String
The identifier received after running the following POST API:
https://zvm_ip:port/v1/vpgSettings
 
Response In Json Format
The response body is empty.
Back to VPG Management APIs
Back to Managing vCD APIs
Back to All APIs
Get a Full VPG Template
After you add the values to the basic parameters, run this API to receive a more detailed template. The detailed template includes sub-parameters of the parameters to which you added values, as explained in the previous API. See Add Values in the Empty VPG Template.
 
method
url
GET
https://zvm_ip:port/v1/vpgSettings/VpgSettingsIdentifier
 
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.
VpgSettingsIdentifier
The identifier of the session.
 
Request Body Using Json Format
Response In Json Format
Request Body Using Json Format
The request body is empty.
Response In Json Format
The following is an example vCD response Json body.
 
[{
  "Backup": null
    "RepositoryIdentifier": "String content",
    "RetentionPeriod": "String content",
    "Retry": {
      "IntervalInMinutes":2147483647,
      "Number":2147483647,
      "Retry": Boolean
    },
    "Scheduler": {
      "DayOfWeek": "String content",
      "SchedulerPeriod": "String content",
      "TimeOfDay": "String content"
    }
  },
  "Basic": {
    "JournalHistoryInHours":2147483647,
    "Name": "String content",
    "Priority": "String content",
    "ProtectedSiteIdentifier": "String content",
    "RecoverySiteIdentifier": "String content",
    "RpoInSeconds":4294967295,
    "ServiceProfileIdentifier": "String content",
    "TestIntervalInMinutes":2147483647,
    "UseWanCompression": Boolean,
    "ZorgIdentifier": "String content"
  },
  "BootGroups": {
    "BootGroups":[{
      "BootDelayInSeconds":4294967295,
      "BootGroupIdentifier": "String content",
      "Name": "String content"
    }]
  },
  "Journal": {
    "DatastoreIdentifier": "String content",
    "Limitation": {
      "HardLimitInMB":2147483647,
      "HardLimitInPercent":2147483647,
      "WarningThresholdInMB":2147483647,
      "WarningThresholdInPercent":2147483647
    }
  },
  "Networks": {
    "Failover": {
      Hypervisor": {
        "DefaultNetworkIdentifier": null
      }
      "VCD": {
        "CopyNatRules": "String content",
        "IsEnableGuestCustomization": "true",
        "DefaultRecoveryOrgVdcNetworkIdentifier": "String content":,
        "Mapping": {
          "ProtectedOrgVdcNetworkIdentifier": "String content",
          "RecoveryOrgVdcNetworkIdentifier": "String content"
          "ReverseTestOrgVdcNetworkIdentifier": "String content"
        }
      }
    },
    "FailoverTest": {
      "Hypervisor": {
        "DefaultNetworkIdentifier": null
      }
      "VCD": {
        "CopyNatRules": "String content",
        "IsEnableGuestCustomization": "true",
        "DefaultRecoveryOrgVdcNetworkIdentifier": "String content":,
        "Mapping": {
          "ProtectedOrgVdcNetworkIdentifier": "String content",
          "RecoveryOrgVdcNetworkIdentifier": "String content"
          "ReverseTestOrgVdcNetworkIdentifier": "String content"
        }
      }
    }
  },
  "Protected": {
    "VCD": {
      "VCDVappIdentifier": null
    }
  }
  "Recovery": {
    "DefaultDatastoreClusterIdentifier": "String content",
    "DefaultDatastoreIdentifier": "String content",
    "DefaultFolderIdentifier": "String content",
    "DefaultHostClusterIdentifier": "String content",
    "DefaultHostIdentifier": "String content",
    "ResourcePoolIdentifier": "String content"
    "VCD": {
      "OrgVcdIdentifier": null
    }
  },
  "Scripting": {
    "PostBackup": {
    "PostRecovery": {
      "Command": null,
      "Parameters": null
      "TimeoutInSeconds": 300
    },
    "PreRecovery": {
      "Command": null,
      "Parameters": null,
      "TimeoutInSeconds":300
    }
  },
  "Vms":[{
    "BootGroupIdentifier": "String content",
    "Journal": {
      "DatastoreIdentifier": "String content",
      "Limitation": {
        "HardLimitInMB":4294967295,
        "HardLimitInPercent":4294967295,
        "WarningThresholdInMB":4294967295,
        "WarningThresholdInPercent":4294967295
      }
    },
    "Nics":[{
      "Failover": {
        "Hypervisor": null
        "VCD": {
          "IpAddress": "String content",
          "IpMode": "String content",
          "IsConnected": Boolean,
          "IsPrimary": Boolean,
          "RecoveryOrgVdcNetworkIdentifier": "String content"
          "ShouldReplaceMacAddress": "String content"
        }
      },
      "FailoverTest": {
        "Hypervisor": null,
        "VCD": "String",
          "IpAddress": "String content",
          "IpMode": "String content",
          "IsConnected": Boolean,
          "IsPrimary": Boolean,
          "RecoveryOrgVdcNetworkIdentifier": "String content"
          "ShouldReplaceMacAddress": "String content"
        },
      },
      "NicIdentifier": "String content"
    },
    "Recovery": {
      "DefaultDatastoreClusterIdentifier": "String content",
      "DefaultDatastoreIdentifier": "String content",
      "DefaultFolderIdentifier": "String content",
      "DefaultHostClusterIdentifier": "String content",
      "DefaultHostIdentifier": "String content",
      "ResourcePoolIdentifier": "String content"
      "VCD": {
        "StorageProfileIdentifier": "String content
      }
    },
    "VmIdentifier": "String content",
    "Volumes":[{
      "Datastore": null
      "IsSwap: Boolean,
      "Preseed": {
        "DatastoreIdentifier":"String content",
        "Path":"String content"
      },
      "VCD": {
        "IsThin": Boolean
      }
      "VolumeIdentifier": String
      },
    }]
  }
  "VpgIdentifier": null
  "VpgSettingsIdentifier": "String content"
  }],
}
 
Parameter
Description
Backup (Deprecated)
Information related to offsite backup.
RepositoryIdentifier
The identifier of the repository where offsite backups will be written.
RetentionPeriod
The length of time to keep offsite backups, up to a maximum of 12 months. Over time, Zerto reduces the number of stored offsite backups to save space.
The SchedulerPeriod parameter defines whether backups are created daily or weekly.
For an explanation of how Zerto reduces the number of offsite backups, see the Zerto Administration Guide.
Retry
Information about backup retries.
IntervalInMinutes
How much time to wait, in minutes, after a backup job fails before running the backup job again.
Number
The number of retries that will be attempted.
Retry
True: The offsite backup job will rerun automatically if it fails.
False: The offsite backup job will not rerun automatically if it fails.
Scheduler
Offsite backup schedule settings.
DayOfWeek
The day of the week that the offsite backups will run.
SchedulerPeriod
How often are backups created. Possible values are:
Daily: The offsite backups will run every day.
Weekly: The offsite backups will run once a week.
TimeOfDay
The time of day when offsite backup jobs will run. The time is based on a 24-hour clock.
Basic
Basic VPG settings.
JournalHistoryInHours
The time that all write commands are saved in the journal. The value is between 1 and 336 (14 days).
Name
The name of the VPG.
Priority
The priority specified for the VPG. Possible values are:
Low: The VPG has a low priority for transferring data.
Medium: The VPG has a medium priority for transferring data.
High: The VPG has a high priority for transferring data.
ProtectedSiteIdentifier
The identifier of the source site where the VPG virtual machines will be protected. This is the site where the API runs.
RecoverySiteIdentifier
The identifier of the target site where the VPG virtual machines will be recovered.
RpoInSeconds
The maximum desired time between each automatic checkpoint being written to the journal before an alert is issued.
ServiceProfileIdentifier
The identifier of the service profile to use for the VPG when a Zerto Cloud Manager is used.
TestIntervalInMinutes
The time, in minutes, recommended between testing the integrity of the VPG. A warning is issued if a test is not done within this time frame. Possible values are:
0: No testing is expected.
43200 or null: Testing is expected monthly.
131040: Testing is expected every three months.
262080: Testing is expected every six months.
394560: Testing is expected every nine months.
525600: Testing is expected every twelve months.
UseWanCompression
True: Data will be compressed before sending it to the recovery site.
False: Data will not be compressed before sending it to the recovery site.
ZorgIdentifier
The identifier of the ZORG, Zerto organization, defined in the Zerto Cloud Manager.
BootGroups
Information about boot groups.
BootGroups
BootDelayInSeconds
Specifies the delay, in seconds, between starting up the virtual machines in this group and starting up the virtual machines in the next group.
BootGroupIdentifier
The identifier of a boot group.
Name
The name of a boot group.
Journal
Information about the journal.
DatastoreIdentifier
The identifier of the storage used by the journal for the VM. The identifier comprises the server identifier and the storage moref, with the format, serverid.moref.
Limitation
Information about the journal limitations.
HardLimitInMB
The maximum journal size in MBs. 0 means unlimited. Integer values.
HardLimitInPercent
The percentage of the virtual machine volume size the journal can grow to. 0 means unlimited. Integer values.
WarningThresholdInMB
The journal size, in MBs, that generates a warning that the journal is nearing its hard limit. 0 means unlimited. Integer values.
WarningThresholdInPercent
The percentage of the virtual machine volume size that generates a warning. 0 means unlimited. Integer values.
Networks
Information about the networks that connect the protected and recovery sites.
Failover
Information about the networks used for failover.
Hypervisor
Information about the hypervisor protected site.
DefaultNetworkIdentifier
The network identifier of the network to use during a failover or move operation in which the recovered virtual machines will run.
VCD
Information about the vCD protected site.
CopyNatRules
Whether to copy the NAT rules on protected vApp networks to the recovery vApp during recovery. Possible values are:
Use automatically allocated IP
Use source external IP
When both the protected and recovery sites are vCD environments, the NAT rules on protected vApp networks are automatically copied to the recovery vApp during recovery.
IsEnableGuestCustomization
True: The computer name and network settings configured for this virtual machine are applied to its Guest OS when the virtual machine is powered on. Use this option to enable re-IPing the recovered virtual machines.
False: The computer name and network settings configured for this virtual machine are not applied to its Guest OS when the virtual machine is powered on. Re-Iping is not available.
DefaultRecoveryOrgVdcNetworkIdentifier
The default recovery Org vDC network to use in the recovery site.
Mapping
 
ProtectedOrgVdcNetworkIdentifier
The OrgVdc network used on the protected site.
RecoveryOrgVdcNetworkIdentifier
The OrgVdc network used on the recovery site.
ReverseTestOrgVdcNetworkIdentifier
 
FailoverTest
Information about the networks used for testing failover.
Hypervisor
Information about the hypervisor recovery site.
DefaultNetworkIdentifier
The network identifier of the network to use when testing the failover of virtual machines in the recovery site.
VCD
 
CopyNatRules
Whether to copy the NAT rules on source vApp networks to the recovery vApp during recovery. Possible values are:
AutoAllocatedByRecovery
KeepSourceExternalIP
NoCopy
The automatic setting is applied as automatic and the manual setting is applied as manual using the IPs on the source.
When both the protected and recovery sites are vCD environments, the NAT rules on source vApp networks are automatically copied to the recovery vApp during recovery.
The automatic setting is applied as automatic and the manual setting is applied as manual using the IPs on the source.
IsEnableGuestCustomization
True: The computer name and network settings configured for this virtual
machine are applied to its Guest OS when the virtual machine is powered on. Use this option to enable re-IPing the recovered virtual machines.
False: The computer name and network settings configured for this virtual
machine are not applied to its Guest OS when the virtual machine is powered on.
Re-Iping is not available.
DefaultRecoveryOrgVdcNetworkIdentifier
The default recovery Org vDC network to use in the recovery site.
Mapping
 
ProtectedOrgVdcNetworkIdentifier
The OrgVdc network used on the protected site.
RecoveryOrgVdcNetworkIdentifier
The OrgVdc network used on the recovery site.
ReverseTestOrgVdcNetworkIdentifier
 
Protected
 
VCD
 
VCDVappIdentifier
The identifier of the vCD vApp to protect. When protecting virtual machines in a vCenter Server, this value is null. Get the identifier using the API List Unprotected vCD vApps in a Site.
Recovery
 
DefaultDatastoreClusterIdentifier
The identifier of the default datastore cluster used in the recovery site.
Note: Only when the recovery site is a vSphere site.
 
DefaultDatastoreIdentifier
The identifier of the default storage where the metadata files for the virtual machines are stored, such as the vmx or vhdx files. The identifier comprises the server identifier and the storage moref, with the format, serverid.moref.
DefaultFolderIdentifier
The identifier of the default folder used for recovery. The identifier comprises the server identifier and the folder moref, with the format, serverid.moref.
DefaultHostClusterIdentifier
The identifier of the default host cluster that handles the replicated data. The identifier comprises the server identifier and the host cluster moref, with the format, serverid.moref.
DefaultHostIdentifier
The identifier of the default host that handles the replicated data. The identifier comprises the server identifier and the host moref, with the format, serverid.moref.
ResourcePoolIdentifier
The identifier of the resource pool for the recovered virtual machines. The identifier comprises the server identifier and the resource pool moref, with the format, serverid.moref.
VCD
 
OrgVcdIdentifier
The OrgvCD identifier when recovering to vCD. Get the identifier using VMware only: Resource Pools.
Scripting
Information about the scripts to run, either before or after recovery operation, or after an offsite backup is run.
PostBackup: null
Information about scripts that are run after an offsite backup is performed.
PostRecovery
Information about scripts that are run after a recovery operation is performed.
Command
The full path of the script. The script must be located on the same machine as the Zerto Virtual Manager for the recovery site.
Parameters
Parameters to pass to the script.
TimeoutInSeconds
The time-out, in seconds, for the script to run.
PreRecovery
Information about scripts that are run before a recovery operation is performed.
Command
The full path of the script. The script must be located on the same machine as the Zerto Virtual Manager for the recovery site.
Parameters
Parameters to pass to the script.
TimeoutInSeconds
The time-out, in seconds, for the script to run.
Vms
Information about the virtual machines in a VPG.
BootGroupIdentifier
The boot group identifier of a virtual machine.
Journal
Journal information of the virtual machine
DatastoreIdentifier
The identifier of the storage used by the journal for the virtual machine. The identifier comprises the server identifier and the storage moref, with the format, serverid.more
Limitation
Information about the journal limitations.
HardLimitInMB
The maximum journal size in MBs. 0 means unlimited. Integer values.
HardLimitInPercent
The percentage of the virtual machine volume size the journal can grow to. 0 means unlimited. Integer values.
WarningThresholdInMB
The journal size, in MBs, that generates a warning that the journal is nearing its hard limit. 0 means unlimited. Integer values.
WarningThresholdInPercent
The percentage of the virtual machine volume size that generates a warning. 0 means unlimited. Integer values.
Nics
Information about NICs used by the virtual machine in the VPG.
Failover
Information about the networks used for failover by this virtual machine.
Hypervisor
Information about the networks used for failover in a hypervisor.
VCD
 
IpAddress
The IP address of the vCD.
IpMode
The mask for the network.
IsConnected
True: DHCP will be used for the virtual machine on the recovery site.
False: A static IP address will be used for the virtual machine on the recovery site.
IsPrimary
True: the DNS server that handles Internet protocol mapping is the primary.
False: the DNS server that handles Internet protocol mapping is not the primary.
RecoveryOrgVdcNetworkIdentifier
The OrgVdc network used on the recovery site.
ShouldReplaceMacAddress
True: The Media Access Control (MAC) address used on the protected site will be copied to the recovery site.
False: The Media Access Control (MAC) address used on the protected site will not be copied to the recovery site.
FailoverTest
Information about the networks used for testing failover by this virtual machine.
Hypervisor
VCD
 
IpAddress
The IP address of the vCD.
IpMode
The mask for the network.
IsConnected
True: DHCP will be used for the virtual machine on the recovery site.
False: A static IP address will be used for the virtual machine on the recovery site.
IsPrimary
True: the DNS server that handles Internet protocol mapping is the primary.
False: the DNS server that handles Internet protocol mapping is not the primary.
RecoveryOrgVdcNetworkIdentifier
The OrgVdc network used on the recovery site.
ShouldReplaceMacAddress
True: The Media Access Control (MAC) address used on the protected site will be copied to the recovery site.
False: The Media Access Control (MAC) address used on the protected site will not be copied to the recovery site.
NicIdentifier
The identifier of the NIC for which settings are returned.
Recovery
Information about the recovery site.
DatastoreClusterIdentifier
The identifier of the datastore cluster used in the recovery site for the VM.
Note: Only when the recovery site is a vSphere site.
 
DefaultDatastoreIdentifier
The identifier of the storage. The identifier comprises the server identifier and the storage moref, with the format, serverid.moref.
DefaultFolderIdentifier
The identifier of the folder used for recovery by the virtual machine. The identifier comprises the server identifier and the folder moref, with the format, serverid.moref.
DefaultHostClusterIdentifier
The identifier of the host cluster that handles the replicated data. The identifier comprises the server identifier and the host cluster moref, with the format, serverid.moref.
DefaultHostIdentifier
The identifier of the host that handles the replicated data. The identifier comprises the server identifier and the host moref, with the format, serverid.moref.
DefaultResourcePoolIdentifier
The identifier of the resource pool for the recovered virtual machines. The identifier comprises the server identifier and the resource pool moref, with the format, serverid.moref.
VmIdentifier
The identifier of the virtual machine. The identifier comprises the server identifier and the virtual machine moref, with the format, serverid.more.
Volumes
Information about the volumes used by the virtual machine.
Datastore
Information about the datastore used by the virtual machine.
DatastoreClusterIdentifier
The identifier of the datastore cluster used in the recovery site for the volume.
Note: Only when the recovery site is a vSphere site.
 
IsSwap
True: The recovery disk is marked as a temp data disk.
False: The recovery disk is not marked as a temp data disk.
Preseed
Information about the disk used for preseeding.
DatastoreIdentifier
The identifier of the datastore where the disk is stored.
Path
The path to the vmdk (vSphere) or vhdx (Hyper-V) file in the recovery site.
For all environments:
Use a single forward slash (/) to separate the components of a path. For example: ZertoVMs/dummy_vra_znest175hv02.zertolab.local/RecoveryVolumes/41b4fac2/vm44/VM-1.vhdx.
Backslash (\) is not supported.
VCD
 
IsThin
True: The recovery volumes are thin-provisioned.
False: The recovery volumes are not thin-provisioned.
VolumeIdentifier
The identifier of the volume.
VpgIdentifier
The VPG identifier will be specified if a VPG was already created in a previous session.
VpgSettingsIdentifier
The identifier received after running the following POST API: https://zvm_ip:port/v1/vpgSettings
 
Back to VPG Management APIs
Back to Managing vCD APIs
Back to All APIs
Two Step Operation
Using this method to create a VPG, you run the following APIs:
1. Create an Empty VPG Template
2. Add Values in the Full VPG Template
Create an Empty VPG Template
Run this API to get a VPG settings identifier. This action creates an empty VPG template.
Request Body Using Json Format
Response In Json Format
 
method
url
POST
https://zvm_ip:port/v1/vpgSettings
 
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.
 
Request Body Using Json Format
The request body is empty.
Response In Json Format
The following is an example response.
 
{
  "VpgSettingsIdentifier": "f9e631d3-9bfb-463a-9958-2fa2c6ac7640"
}
 
type
VpgSettingsIdentifier
String content
The identifier of the VPG settings.
 
Back to VPG Management APIs
Back to Managing vCD APIs
Back to All APIs
Add Values in the Full VPG Template
Request Body Using Json Format
Response In Json Format
 
method
url
POST
https://zvm_ip:port/v1/vpgSettings
 
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.
vpgSettings
The identifier of the VPG settings.
 
Request Body Using Json Format
The following is an example vCD request Json body.
Note:  
 
[{
  "Backup": {
    "RepositoryIdentifier": "String Content",
    "RetentionPeriod": ,
    "Retry": {
      "IntervalInMinutes":2147483647,
      "Number":2147483647,
      "Retry": Boolean
    },
    "Scheduler": {
      "DayOfWeek": "String Content",
      "SchedulerPeriod": "String Content",
      "TimeOfDay": "String Content"
    }
  },
  "Basic": {
    "JournalHistoryInHours":2147483647,
    "Name": "String Content",
    "Priority": "String Content",
    "ProtectedSiteIdentifier": "String Content",
    "RecoverySiteIdentifier": "String Content",
    "RpoInSeconds":4294967295,
    "ServiceProfileIdentifier": "String Content",
    "TestIntervalInMinutes":2147483647,
    "UseWanCompression": Boolean,
    "ZorgIdentifier": "String Content"
  },
  "BootGroups": {
    "BootGroups":[{
      "BootDelayInSeconds":4294967295,
      "BootGroupIdentifier": "String Content",
      "Name": "String Content"
    }]
  },
  "Journal": {
    "DatastoreIdentifier": "String Content",
    "Limitation": {
      "HardLimitInMB":2147483647,
      "HardLimitInPercent":2147483647,
      "WarningThresholdInMB":2147483647,
      "WarningThresholdInPercent":2147483647
    }
  },
  "Networks": {
    "Failover": {
      Hypervisor": {
        "DefaultNetworkIdentifier": "String Content"
      }
      "VCD": {
        "CopyNatRules": "String Content",
        "IsEnableGuestCustomization":Boolean,
        "DefaultRecoveryOrgVdcNetworkIdentifier": "String Content"
        "Mapping": {
          "ProtectedOrgVdcNetworkIdentifier": "String Content",
          "RecoveryOrgVdcNetworkIdentifier": "String Content",
          "ReverseTestOrgVdcNetworkIdentifier": "String Content"
        }
      }
    },
    "FailoverTest": {
      "Hypervisor": {
        "DefaultNetworkIdentifier": "String Content"
      }
      "VCD": {
        "CopyNatRules": "String Content",
        "IsEnableGuestCustomization": Boolean
        "DefaultRecoveryOrgVdcNetworkIdentifier": "String Content",
        "Mapping": {
          "ProtectedOrgVdcNetworkIdentifier": "String Content",
          "RecoveryOrgVdcNetworkIdentifier": "String Content",
          "ReverseTestOrgVdcNetworkIdentifier": "String Content"
        }
      }
    }
  },
  "Protected": {
    "VCD": {
      "VCDVappIdentifier": "String Content"
    }
  }
  "Recovery": {
    "DefaultDatastoreClusterIdentifier": "String Content",
    "DefaultDatastoreIdentifier": "String Content",
    "DefaultFolderIdentifier": "String Content",
    "DefaultHostClusterIdentifier": "String Content",
    "DefaultHostIdentifier": "String Content",
    "ResourcePoolIdentifier": "String Content"
    "VCD": {
      "OrgVcdIdentifier": "String Content"
    }
  },
  "Scripting": {
    "PostBackup": {
    "PostRecovery": {
      "Command": "String Content",
      "Parameters": "String Content",
      "TimeoutInSeconds": Number
    },
    "PreRecovery": {
      "Command": "String Content",
      "Parameters": "String Content",
      "TimeoutInSeconds": Number
    }
  },
  "Vms":[{
    "BootGroupIdentifier": ,
    "Journal": {
      "DatastoreIdentifier": "String Content"
      "Limitation": {
        "HardLimitInMB":Number,
        "HardLimitInPercent":Number,
        "WarningThresholdInMB":Number,
        "WarningThresholdInPercent":Number
      }
    },
    "Nics":[{
      "Failover": {
        "Hypervisor": "String Content"
        "VCD": {
          "IpAddress": "String Content",
          "IpMode": "String Content",
          "IsConnected": Boolean,
          "IsPrimary": Boolean,
          "RecoveryOrgVdcNetworkIdentifier": "String Content",
          "ShouldReplaceMacAddress": Boolean
        }
      },
      "FailoverTest": {
        "Hypervisor": "String Content",
        "VCD": {
          "IpAddress": "String Content",
          "IpMode": "String Content",
          "IsConnected": Boolean,
          "IsPrimary": Boolean
          "RecoveryOrgVdcNetworkIdentifier": "String Content",
          "ShouldReplaceMacAddress": Boolean
        },
      },
      "NicIdentifier": "String Content"
    },
    "Recovery": {
      "DefaultDatastoreClusterIdentifier": "String content",
      "DefaultDatastoreIdentifier": "String content",
      "DefaultFolderIdentifier": "String content",
      "DefaultHostClusterIdentifier": "String content",
      "DefaultHostIdentifier": "String content",
      "ResourcePoolIdentifier": "String Content"
      "VCD": {
        "StorageProfileIdentifier": "String content"
      }
    },
    "VmIdentifier": "String content",
    "Volumes": {
      "Datastore": "String Content",
      "IsSwap: Boolean
      "Preseed": {
        "DatastoreIdentifier":"String content",
        "Path":"String content"
      },
      "VCD": {
        "IsThin": Boolean
      }
      "VolumeIdentifier": "String content"
    },
  }
  "VpgIdentifier": "String Content",
  "VpgSettingsIdentifier": "String content"
}]
 
Parameter
Description
Backup (Deprecated)
Information related to offsite backup.
RepositoryIdentifier
The identifier of the repository where offsite backups will be written.
RetentionPeriod
The length of time to keep offsite backups, up to a maximum of 12 months. Over time, Zerto reduces the number of stored offsite backups to save space.
The SchedulerPeriod parameter defines whether backups are created daily or weekly.
For an explanation of how Zerto reduces the number of offsite backups, see the Zerto Administration Guide.
Retry
Information about backup retries.
IntervalInMinutes
How much time to wait, in minutes, after a backup job fails before running the backup job again.
Number
The number of retries that will be attempted.
Retry
True: The offsite backup job will rerun automatically if it fails.
False: The offsite backup job will not rerun automatically if it fails.
Scheduler
Offsite backup schedule settings.
DayOfWeek
The day of the week that the offsite backups will run.
SchedulerPeriod
Daily: The offsite backups will run every day.
Weekly: The offsite backups will run once a week.
TimeOfDay
The time of day when offsite backup jobs will run. The time is based on a 24-hour clock.
Basic
Basic VPG settings.
JournalHistoryInHours
The time that all write commands are saved in the journal. The value is between 1 and 336 (14 days).
Name
The name of the VPG.
Priority
The priority specified for the VPG. Possible values are:
Low: The VPG has a low priority for transferring data.
Medium: The VPG has a medium priority for transferring data.
High: The VPG has a high priority for transferring data.
ProtectedSiteIdentifier
The identifier of the source site where the VPG virtual machines will be protected. This is the site where the API runs.
RecoverySiteIdentifier
The identifier of the target site where the VPG virtual machines will be recovered.
RpoInSeconds
The maximum desired time between each automatic checkpoint being written to the journal before an alert is issued.
Default appears if default service profile is selected.
ServiceProfileIdentifier
The identifier of the service profile to use for the VPG when a Zerto Cloud Manager is used.
TestIntervalInMinutes
The time, in minutes, recommended between testing the integrity of the VPG. A warning is issued if a test is not done within this time frame. Possible values are:
0: No testing is expected.
43200 or null: Testing is expected monthly.
131040: Testing is expected every three months.
262080: Testing is expected every six months.
394560: Testing is expected every nine months.
525600: Testing is expected every twelve months.
UseWanCompression
True: Data will be compressed before sending it to the recovery site.
False: Data will not be compressed before sending it to the recovery site.
ZorgIdentifier
The identifier of the ZORG, Zerto organization, defined in the Zerto Cloud Manager.
BootGroups
Information about boot groups.
BootGroups
 
BootDelayInSeconds
Specifies the delay, in seconds, between starting up the virtual machines in this group and starting up the virtual machines in the next group.
BootGroupIdentifier
The identifier of a boot group.
Name
The name of a boot group.
Journal
Information about the journal.
DatastoreIdentifier
The identifier of the storage used by the journal for the VM. The identifier comprises the server identifier and the storage moref, with the format, serverid.moref.
Limitation
Information about the journal limitations.
HardLimitInMB
The maximum journal size in MBs. 0 means unlimited.
Can be either in MB or in percentage.
HardLimitInPercent
The percentage of the virtual machine volume size the journal can grow to. 0 means unlimited.
Can be either in MB or in percentage.
WarningThresholdInMB
The journal size, in MBs, that generates a warning that the journal is nearing its hard limit. 0 means unlimited.
Can be either in MB or in percentage.
WarningThresholdInPercent
The percentage of the virtual machine volume size that generates a warning. 0 means unlimited. Integer values.
Can be either in MB or in percentage.
Networks
Information about the networks that connect the protected and recovery sites.
Failover
Information about the networks used for failover.
Hypervisor
Information about the hypervisor protected site.
DefaultNetworkIdentifier
The network identifier of the network to use during a failover or move operation in which the recovered virtual machines will run.
VCD
Information about the vCD protected site.
CopyNatRules
Whether to copy the NAT rules on source vApp networks to the recovery vApp during recovery.
Possible values are:
auto
source
dont
The automatic setting is applied as automatic and the manual setting is applied as manual using the IPs on the source.
When both the protected and recovery sites are vCD environments, the NAT rules on source vApp networks are automatically copied to the recovery vApp during recovery.
IsEnableGuestCustomization
True: The computer name and network settings configured for this virtual
machine are applied to its Guest OS when the virtual machine is powered on. Use this option to enable re-IPing the recovered virtual machines.
False: The computer name and network settings configured for this virtual
machine are not applied to its Guest OS when the virtual machine is powered on.
Re-Iping is not available.
DefaultRecoveryOrgVdcNetworkIdentifier
The default recovery Org vDC network to use in the recovery site.
Mapping
 
ProtectedOrgVdcNetworkIdentifier
The OrgVdc network used on the protected site.
 
RecoveryOrgVdcNetworkIdentifier
The OrgVdc network used on the recovery site.
Should this be added: ...recovery site, for failover/move.
 
ReverseTestOrgVdcNetworkIdentifier
The OrgVdc network used on the recovery site for when testing failover.
 
 
 
FailoverTest
Information about the networks used for testing failover.
Hypervisor
DefaultNetworkIdentifier
The network identifier of the network to use when testing the failover of virtual machines in the recovery site.
VCD
 
CopyNatRules
Whether to copy the NAT rules on source vApp networks to the recovery vApp during recovery. Possible values are:
auto
source
dont
The automatic setting is applied as automatic and the manual setting is applied as manual using the IPs on the source.
When both the protected and recovery sites are vCD environments, the NAT rules on source vApp networks are automatically copied to the recovery vApp during recovery.
The automatic setting is applied as automatic and the manual setting is applied as manual using the IPs on the source.
IsEnableGuestCustomization
True: The computer name and network settings configured for this virtual
machine are applied to its Guest OS when the virtual machine is powered on. Use this option to enable re-IPing the recovered virtual machines.
False: The computer name and network settings configured for this virtual
machine are not applied to its Guest OS when the virtual machine is powered on.
Re-Iping is not available.
DefaultRecoveryOrgVdcNetworkIdentifier
The default recovery Org vDC network to use in the recovery site.
Mapping
 
ProtectedOrgVdcNetworkIdentifier
The OrgVdc network used on the protected site.
 
RecoveryOrgVdcNetworkIdentifier
The OrgVdc network used on the recovery site.
 
ReverseTestOrgVdcNetworkIdentifier
 
The OrgVdc network used on the recovery site for when testing failover.
 
Failover Test to Original Site.
What is name of param?
Protected
 
VCD
 
VCDVappIdentifier
The identifier of the protected vCD vApp.
Recovery
 
DefaultDatastoreClusterIdentifier
The identifier of the default datastore cluster used in the recovery site.
Note: Only when the recovery site is a vSphere site.
 
DefaultDatastoreIdentifier
The identifier of the default storage where the metadata files for the virtual machines are stored, such as the vmx or vhdx files. The identifier comprises the server identifier and the storage moref, with the format, serverid.moref.
DefaultFolderIdentifier
The identifier of the default folder used for recovery. The identifier comprises the server identifier and the folder moref, with the format, serverid.moref.
DefaultHostClusterIdentifier
The identifier of the default host cluster that handles the replicated data. The identifier comprises the server identifier and the folder moref, with the format, serverid.moref.
DefaultHostIdentifier
The identifier of the default host that handles the replicated data. The identifier comprises the server identifier and the host cluster moref, with the format, serverid.moref.
ResourcePoolIdentifier
The identifier of the resource pool for the recovered virtual machines. The identifier comprises the server identifier and the host moref, with the format, serverid.moref.
VCD
 
OrgVcdIdentifier
The OrgvCD identifier when recovering to vCD. Get the identifier using VMware only: Resource Pools.
Scripting
Information about the scripts to run, either before or after recovery operation, or after an offsite backup is run.
PostBackup
Information about scripts that are run after an offsite backup is performed.
PostRecovery
Information about scripts that are run after a recovery operation is performed.
Command
The full path of the script. The script must be located on the same machine as the Zerto Virtual Manager for the recovery site.
Parameters
Parameters to pass to the script.
TimeoutInSeconds
The time-out, in seconds, for the script to run.
PreRecovery
Information about scripts that are run before a recovery operation is performed.
Command
The full path of the script. The script must be located on the same machine as the Zerto Virtual Manager for the recovery site.
Parameters
Parameters to pass to the script.
TimeoutInSeconds
The time-out, in seconds, for the script to run.
Vms
Information about the virtual machines in a VPG.
BootGroupIdentifier
The boot group identifier of a virtual machine.
Journal
Journal information of the virtual machine
DatastoreIdentifier
The identifier of the storage used by the journal for the virtual machine. The identifier comprises the server identifier and the storage moref, with the format, serverid.moref.
Limitation
Information about the journal limitations.
HardLimitInMB
The maximum journal size in MBs. 0 means unlimited. Integer values.
Can be either in MB or in percentage.
HardLimitInPercent
The percentage of the virtual machine volume size the journal can grow to. 0 means unlimited. Integer values.
Can be either in MB or in percentage.
WarningThresholdInMB
The journal size, in MBs, that generates a warning that the journal is nearing its hard limit. 0 means unlimited. Integer values.
Can be either in MB or in percentage.
WarningThresholdInPercent
The percentage of the virtual machine volume size that generates a warning. 0 means unlimited. Integer values.
Can be either in MB or in percentage.
Nics
Information about NICs used by the virtual machine in the VPG.
Failover
Information about the networks used for failover by this virtual machine.
Hypervisor
Not active when running a vCD API
VCD
The DNS name excluding the host.
IpAddress
Information about the IP configuration of the recovery site used for failovers.
IpMode
The mask for the network.
IsConnected
True: DHCP will be used for the virtual machine on the recovery site.
False: A static IP address will be used for the virtual machine on the recovery site.
IsPrimary
The IP address of the primary DNS server that handles Internet protocol mapping.
RecoveryOrgVdcNetworkIdentifier
The IP address of the alternate, secondary, DNS server that handles Internet protocol mapping.
ShouldReplaceMacAddress
 
True: The Media Access Control (MAC) address used on the protected site will be copied to the recovery site.
False: The Media Access Control (MAC) address used on the protected site will not be copied to the recovery site.
FailoverTest
 
Hypervisor
Not active when running a vCD API
VCD
The DNS name excluding the host.
IpAddress
Information about the IP configuration of the recovery site used for failovers.
IpMode
The mask for the network.
IsConnected
True: DHCP will be used for the virtual machine on the recovery site.
False: A static IP address will be used for the virtual machine on the recovery site.
IsPrimary
The IP address of the primary DNS server that handles Internet protocol mapping.
RecoveryOrgVdcNetworkIdentifier
The IP address of the alternate, secondary, DNS server that handles Internet protocol mapping.
ShouldReplaceMacAddress
True: The Media Access Control (MAC) address used on the protected site will be copied to the recovery site.
False: The Media Access Control (MAC) address used on the protected site will not be copied to the recovery site.
NicIdentifier
The identifier of the NIC for which settings are returned.
Recovery
Information about the recovery site.
DatastoreClusterIdentifier
The identifier of the datastore cluster used in the recovery site for the VM.
Note: Only when the recovery site is a vSphere site.
 
DefaultDatastoreIdentifier
 
The identifier of the storage. The identifier comprises the server identifier and the storage moref, with the format, serverid.moref.
DefaultFolderIdentifier
The identifier of the folder used for recovery by the virtual machine. The identifier comprises the server identifier and the folder moref, with the format, serverid.moref.
DefaultHostClusterIdentifier
The identifier of the host cluster that handles the replicated data. The identifier comprises the server identifier and the host cluster moref, with the format, serverid.moref.
DefaultHostIdentifier
The identifier of the host that handles the replicated data. The identifier comprises the server identifier and the host moref, with the format, serverid.moref.
DefaultResourcePoolIdentifier
The identifier of the resource pool for the recovered virtual machines. The identifier comprises the server identifier and the resource pool moref, with the format, serverid.moref.
ResourcePoolIdentifier
The identifier of the resource pool for the recovered virtual machines.
VCD
 
StorageProfileIdentifier
 
VmIdentifier
The identifier of the virtual machine. The identifier comprises the server identifier and the virtual machine moref, with the format, serverid.more.
Volumes
Information about the volumes used by the virtual machine.
Datastore
Information about the datastore used by the virtual machine.
IsSwap
True: The recovery disk is marked as a temp data disk.
False: The recovery disk is not marked as a temp data disk.
Preseed
Information about the disk used for preseeding.
DatastoreIdentifier
The identifier of the datastore where the disk is stored.
Path
The path to the vmdk (vSphere) or vhdx (Hyper-V) file in the recovery site.
For all environments:
Use a single forward slash (/) to separate the components of a path. For example: ZertoVMs/dummy_vra_znest175hv02.zertolab.local/RecoveryVolumes/41b4fac2/vm44/VM-1.vhdx.
Backslash (\) is not supported.
VCD
 
IsThin
True: The recovery volumes are thin-provisioned.
False: The recovery volumes are not thin-provisioned.
VolumeIdentifier
The identifier of the volume.
VpgIdentifier
The identifier of the VPG.
VpgSettingsIdentifier
The identifier of the VPG settings object
Response In Json Format
The response body is empty.
Back to VPG Management APIs
Back to Managing vCD APIs
Back to All APIs