ConfigureReplicationVmDisk
VM disk information while configuring or reconfiguring a replication.
{
"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"
}
Indicate whether the VM disk is enabled for replication.
Whether to use seeds for this VM disk. If this field is true, then also set the destination_path property.
The destination storage policy ID. If destination storage policy ID is null then default datastore policy will be used.
If use_seeds is true, specify the destination path where the seed folder and vmdk files are located. Otherwise, leave it null. For VM home disk - always must be null.
The ID of the destination datastore at the target site.
The format of the virtual disk.