ReplicationSettings
Settings used for configuring a replication.
{
"vcId": "7a3f3a25-1b33-4573-b36b-8dc89a0f8f59",
"vmId": "vm-1",
"description": "My description.",
"externalKey": null,
"excludedDiskKeys": [
2000
],
"rpo": 4,
"dataConnectionType": "ENCRYPTED_COMPRESSED",
"quiesced": true,
"sourceLocation": {
"site": "site1",
"replicatorId": "a336f29d-2e84-45f7-9b5a-286c078c7691"
},
"destinationLocation": {
"site": "site2",
"replicatorId": "841fe316-a2cb-4203-8f30-4ce5ab186de7"
},
"replicationPlacement": {
"datastoreId": "datastore-1",
"datastoreFolder": "folder",
"vcId": "72707e54-b9cd-4ced-8359-499d7f89381a",
"disks": [
{
"diskKey": 2000,
"datastoreId": "datastore-1",
"diskPath": "disk/path",
"isSeed": false,
"storageProfileId": "841fe316-a2cb-4203-8f30-4ce5ab186de7",
"contentId": "040dcc1e-6532-455a-9f27-02840eed4c0a"
}
],
"validateSeedUuids": true,
"storageProfileId": "841fe316-a2cb-4203-8f30-4ce5ab186de7"
},
"retentionPolicy": {
"rules": [
{
"numberOfInstances": 3,
"distance": 60
}
]
},
"autopinInstances": true,
"targetDiskType": "THIN",
"archiveSettings": null,
"startPaused": false,
"initialSyncTime": 0,
"isMigration": false,
"isReversed": false
}
Must be set to 'false'.
User-supplied description of this protection.
Optional virtual disks' device keys to exclude from replication.
Replication initial synchronization time. The time is specified as the difference, measured in milliseconds, between the current time and midnight, January 1, 1970 UTC. When set in the past, as 0, or as a negative, then the synchronization starts immediately. When this field is set the 'startPaused' field must be set to 'true'.
Whether this replication represents a migration.
Whether this replication is reversed. Note: Each reverse operation inverts this flag. Therefore, only the odd reversed replication shows 'true'.
Whether to use guest quiescing. By default, set to 'true', meaning quiescing is active.
Recovery Point Objective.
Sets the replication in paused state upon creation. When 'true' the 'initialSyncTime' must be set.
vCenter Server instance UUID on the source side.
Virtual Machine ManagedObject ID in the source vCenter Server.