ConfigureReplicationVmDisk

ConfigureReplicationVmDisk
ConfigureReplicationVmDisk

VM disk information while configuring or reconfiguring a replication.

JSON Example
{
    "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"
}
vm_disk
Required

vm_disk

boolean
enabled_for_replication
Required

Indicate whether the VM disk is enabled for replication.

boolean
use_seeds
Optional

Whether to use seeds for this VM disk. If this field is true, then also set the destination_path property.

string
destination_storage_policy_id
Optional

The destination storage policy ID. If destination storage policy ID is null then default datastore policy will be used.

string
destination_path
Optional

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.

string
destination_datastore_id
Required

The ID of the destination datastore at the target site.

string
destination_disk_format
Required

The format of the virtual disk.

Possible values are : SAME_AS_SOURCE, SAME_AS_PRIMARY, AS_DEFINED_IN_PROFILE, FLAT, THICK, NATIVE_THICK, THIN, RDM,