Create VPG (VMware only) | https://zvm_ip:port/v1/vpgs |
Insert a tagged checkpoint | https://zvm_ip:port/v1/vpgs/{protectionGroupIdentifier}/Checkpoints |
Clone VPG | https://zvm_ip:port/v1/vpgs/{protectionGroupIdentifier}/CloneStart |
Abort VPG clone | https://zvm_ip:port/v1/vpgs/{protectionGroupIdentifier}/CloneAbort |
Failover VPG | https://zvm_ip:port/v1/vpgs/{protectionGroupIdentifier}/Failover |
Commit VPG failover | https://zvm_ip:port/v1/vpgs/{protectionGroupIdentifier}/FailoverCommit |
Rollback VPG failover | https://zvm_ip:port/v1/vpgs/{protectionGroupIdentifier}/FailoverRollback |
Test VPG | https://zvm_ip:port/v1/vpgs/{protectionGroupIdentifier}/failoverTest |
Stop VPG test | https://zvm_ip:port/v1/vpgs/{protectionGroupIdentifier}/failoverTestStop |
Force synchronize a VPG | https://zvm_ip:port/v1/vpgs/{protectionGroupIdentifier}/forcesync |
Pause VPG protection | https://zvm_ip:port/v1/vpgs/{protectionGroupIdentifier}/pause |
Resume VPG protection | https://zvm_ip:port/v1/vpgs/{protectionGroupIdentifier}/resume |
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. | |
protectionGroupIdentifier | The identifier of the VPG for which an action is executed, such as a clone, failover or failover test. | |
{ "DatastoreIdentifier": "String content", "OrgVdcIdentifier": "String content", "Priority":0, "ResourcePoolIdentifier": "String content", "ServiceProfileIdentifier": "String content", "SourceSiteIdentifier": "String content", "TargetSiteIdentifier": "String content", "VcdVappIdentifier": "String content", "VmsIdentifiers": [ "String content", ... ], "VpgName": "String content", "ZorgIdentifier": "String content" } |
{ "checkpointName": "String content" } |
{ "CheckpointIdentifier": "String content" "DatastoreIdentifier": "String content" } |
{ "CheckpointIdentifier": "String content", "CommitPolicy":1, "ShutdownPolicy":0, "TimeToWaitBeforeShutdownInSec":2147483647 "IsReverseProtection": Boolean } |
{ "CheckpointIdentifier": "String content" } |
{ "FailoverTestSuccess": Boolean, "FailoverTestSummary": "String content" } |
{ "IsReverseProtection": Boolean } |
Parameter | Description | mandatory | default |
DatastoreIdentifier | The identifier of the datastore for the recovered virtual machine disks. Get the identifier using Datastores. The identifier comprises the server identifier and the storage moref, with the format serverid.moref. | No | The datastore with the most free space, or the first datastore accessible by the ZORG, if specified. |
OrgVdcIdentifier | The OrgvCD identifier when recovering to vCD. Get the identifier using VMware only: Resource Pools. | No | |
Priority | The priority to assign to the VPG. Possible values are (Json/XML): 0/Low: The VPG has a low priority for transferring data. 1/Medium: The VPG has a medium priority for transferring data. 2/High: The VPG has a high priority for transferring data. | No | |
ResourcePoolIdentifier | The identifier of the resource pool for the recovered virtual machines. Get the identifier using VMware only: Resource Pools. | No | |
ServiceProfileIdentifier | The identifier of the service profile to use for the VPG when a Zerto Cloud Manager is used. Get the identifier using Service Profiles API. | Not | |
SourceSiteIdentifier | The identifier of the protected site. Get the identifier using Virtualization sites. | No | If a source site is not specified, the site where the API is run is used as the source site. |
TargetSiteIdentifier | The identifier of the target site. Get the identifier using Virtualization sites. | No | The target site is the same as the source site. Enabling replication to the same vCenter Server must be set in the Zerto user interface. |
VcVappIdentifier | Deprecated. See VcdVappIdentifier. | N/A | |
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 List Unprotected vCD vApps in a Site. | Yes | |
VmsIdentifier | The identifiers of the virtual machines to protect. When protecting a vCenter Server vApp or a vCD vApp, this value is null. Get the identifiers using Unprotected VMs. | Yes | |
VpgName | The name to identify the VPG. This name must be unique for a specific ZORG. | ||
ZorgIdentifier | The identifier of the ZORG, Zerto organization, defined in the Zerto Cloud Manager. Get the identifier using ZORGs API. | No |
{"DatastoreIdentifier":null,"OrgVdcIdentifier":null,"ResourcePoolIdentifier":null,"ServiceProfileIdentifier":null,"SourceSiteIdentifier":null,"TargetSiteIdentifier":"a9cc87d9-1a97-41c0-a91f-9ef306097d40","VcdVappIdentifier":null,"VmsIdentifier":["598e5def-3500-4409-a691-d25b5cd10d22.vm-51","598e5def-3500-4409-a691-d25b5cd10d22.vm-50"],"VpgName":"Reports","ZorgIdentifier":null} |
{"TargetSite":"a9cc87d9-1a97-41c0-a91f-9ef306097d40","Vms":["598e5def-3500-4409-a691-d25b5cd10d22.vm-51","598e5def-3500-4409-a691-d25b5cd10d22.vm-50"],"VpgName":"Reports"} |
Parameter | Description | mandatory | default |
CheckpointName | The name of the tagged checkpoint. | Yes | - |
Parameter | Description | mandatory | default |
CheckpointId | Deprecated. See CheckpointIdentifier. | - | - |
CheckpointIdentifier | The identifier of the checkpoint to use for cloning. | No | The latest checkpoint. |
DatastoreIdentifier | The identifier of the datastore on which the cloned virtual machines are created. Specifying a datastore when the recovery site is vCD or Public cloud is not allowed. | No | The datastore (vSphere) or storage (Hyper-V) with the most free space. |
Parameter | Description | Mandatory | default |
CheckpointIdentifier | The identifier of the checkpoint to use for cloning. | No | Last checkpoint |
CommitPolicy | The policy to use after the failover enters a Before Commit state. Possible values are (Json/XML): Rollback or 0: After the seconds specified in the commitValue setting have elapsed, the failover is rolled back. Commit or 1: After the seconds specified in the commitValue setting have elapsed, the failover continue, committing the virtual machines in the recovery site. None or 2: The virtual machines in the VPG being failed over remain in the Before Commit state until either they are committed with Commit a failover, or rolled back with Roll back a failover. | No | Rollback |
CommitValue | The amount of time in seconds the failover waits in a Before Commit state to enable checking that the failover is as required before performing the commitPolicy setting. | ||
ShutdownPolicy | The shutdown policy to apply to the virtual machines on the protected site that are being failed over Possible values are (Json/XML): 0: The protected virtual machines are not touched before starting the failover. This assumes that you do not have access to the protected virtual machines. 1: If the protected virtual machines have VMware Tools or Microsoft Integration Services available, the virtual machines are gracefully shut down, otherwise the failover operation fails. This is similar to performing a Move operation to a specified checkpoint. 2: The protected virtual machines are forcibly shut down before starting the failover. If the protected virtual machines have VMware Tools or Microsoft Integration Services available, the procedure waits five minutes for the virtual machines to be gracefully shut down before forcibly powering them off. This is similar to performing a Move operation to a specified checkpoint. | ||
TimeToWaitBeforeShutdownInSec | The amount of time in seconds the failover waits in a Before Commit state to enable checking that the failover is as required before performing the commit policy setting. The commit policy setting can either be commit or rollback. | ||
IsReverseProtection | 1/True - Enable reverse protection. The virtual machines are recovered on the recovery site and then protected using the default reverse protection settings. 0/False - Do not enable reverse protection. The VPG definition is kept with the status Needs Configuration and the reverse settings in the VPG definition are not set. | No | False |
Parameter | Description | mandatory | default |
IsReverseProtection | 1/True - Enable reverse protection. The virtual machines are recovered on the recovery site and then protected using the default reverse protection settings. 0/False - Do not enable reverse protection. The VPG definition is kept with the status Needs Configuration and the reverse settings in the VPG definition are not set. | No | False |
Parameter | Description | mandatory | default |
checkpointId | Deprecated. See CheckpointIdentifier. | Irrelevant | |
CheckpointIdentifier | The identifier of the checkpoint to use for testing. | No | Latest checkpoint |
Parameter | Description | mandatory | default |
FailoverTestSuccess | True: The test was successful. False: The test was not successful. | No | True |
FailoverTestSummary | Free text describing the test. | No | N/A |
{ "TaskIdentifier": "String content" } |
Parameter | Description |
TaskIdentifier | The identifier of the task. The task identifier can be used with the Tasks API to monitor the delete action. |