Reconfigure Replication
Change the settings of a replication, including reconfiguring a replication on new virtual hard disks and enabling the default seed disk to use a replica disk in the VM folder.
The ID of the pairing between this vSphere Replication server and the remote one.
The ID of a replication
Spec that is used to reconfigure replication.
{
"quiesce_enabled": false,
"rpo": 0,
"network_compression_enabled": false,
"mpit_enabled": false,
"mpit_instances": 0,
"mpit_days": 0,
"auto_replicate_new_disks": false,
"target_replication_server_id": "HmsRemoteHbrServer:HBRSRV-1924009b-0562-433d-8db9-082141ac04cd:067878e6-2ff0-41eb-928c-5e91492a7b29",
"lwd_encryption_enabled": false,
"vm_data_sets_replication_enabled": false,
"disks": [
{
"vm_disk": {
"vm_id": "VirtualMachine:vm-80:e594ad24-5f75-41e3-a276-88a2116dbed0",
"device_key": 0,
"is_vm_home": false,
"encrypted": false,
"capacity": 0,
"source_disk_format": "string",
"source_path": {
"datastore_id": "Datastore:datastore-16:ff4a23e7-2fed-4be0-be39-479ae372badd",
"datastore_name": "local-datastore",
"path": "/path/to/folder",
"filename": "vmDisk1.vmdk"
},
"source_storage_policy_name": "string",
"source_storage_policy_id": "dsbrowser.defaultStoragePolicy",
"label": "string",
"controller_key": 0,
"controller_label": "string",
"supported_for_replication": false
},
"enabled_for_replication": false,
"use_seeds": false,
"destination_storage_policy_id": "dsbrowser.defaultStoragePolicy",
"destination_path": "my_vm_seeds_folder/my_vm_disk_1.vmdk",
"destination_datastore_id": "Datastore:datastore-16:ff4a23e7-2fed-4be0-be39-479ae372badd",
"destination_disk_format": "string"
}
]
}
A flag that defines whether the quiescing method is enabled.
Target RPO in minutes.
Use network compression for replication traffic.
Point-in-time recovery enabled
Point-in-time recovery instances per day.
Point-in-time recovery days to retain instances for.
Enable automatic replication of new disks that are added to a VM that is replicated.
The ID of the vSphere Replication server this group resides on. In case of null, the server will be automatically determined.
Specify whether LWD encryption is enabled for this replication.
Flag defining if VM's DataSets replication is enabled.
A VM disk with a destination path, a disk format, a storage policy, and the replication status.
Reconfigure replication task
{
"id": "string",
"description": "string",
"description_id": "string",
"entity": "string",
"entity_name": "string",
"status": "string",
"error": {
"message": "string",
"details": "string"
},
"progress": 0,
"queued_time": "string",
"start_time": "string",
"complete_time": "string",
"_meta": {
"errors": [
{
"code": "string",
"message": "string",
"field": "string"
}
]
}
}
Bad request - the server could not understand the request due to invalid syntax or invalid request body content
{
"error_code": "string",
"message": "string",
"op_id": "string"
}
error_code
message
op_id
Unauthorized - the client must authenticate itself to get the requested response
Forbidden - not sufficient access rights to fulfill the request
{
"error_code": "string",
"message": "string",
"op_id": "string"
}
error_code
message
op_id
Not Found - server cannot find the requested in URL resource
Internal server error - unexpected condition prevents fulfilling the request
{
"error_code": "string",
"message": "string",
"op_id": "string"
}
error_code
message
op_id