VmProtectionSettings

VmProtectionSettings
VmProtectionSettings

Protection settings for a VM

JSON Example
{
    "placeholder_needs_repair": false,
    "vsan_target_cluster": "string",
    "location": {
        "name": "string",
        "protected_site": "string",
        "production_vm_path": {
            "datastore": "string",
            "datastore_name": "local",
            "path": "vms/finance-vm",
            "filename": "finance-vm.vmdk",
            "friendly_path": "string"
        },
        "recovery_site": "string",
        "placeholder_vm_path": {
            "datastore": "string",
            "datastore_name": "local",
            "path": "vms/finance-vm",
            "filename": "finance-vm.vmdk",
            "friendly_path": "string"
        },
        "placeholder_vm": "string"
    },
    "devices": [
        {
            "key": 0,
            "type": "string",
            "backing": "string",
            "label": "string",
            "production_path": {
                "datastore": "string",
                "datastore_name": "local",
                "path": "vms/finance-vm",
                "filename": "finance-vm.vmdk",
                "friendly_path": "string"
            },
            "production_datastores": [
                {}
            ],
            "recovery_path": {
                "datastore": "string",
                "datastore_name": "local",
                "path": "vms/finance-vm",
                "filename": "finance-vm.vmdk",
                "friendly_path": "string"
            },
            "replicated": false,
            "detached": false
        }
    ],
    "networks": [
        {
            "editable": false,
            "source": "string",
            "source_name": "string",
            "target": "string",
            "target_name": "string",
            "is_inventory_mapped_target": false,
            "source_has_inventory_mapping": false,
            "index": 0,
            "key": 0,
            "source_network_nsx_backed": false,
            "target_network_nsx_backed": false
        }
    ],
    "folder": {
        "editable": false,
        "source": "string",
        "source_name": "string",
        "target": "string",
        "target_name": "string",
        "is_inventory_mapped_target": false,
        "source_has_inventory_mapping": false
    },
    "resource_pool": {
        "editable": false,
        "source": "string",
        "source_name": "string",
        "target": "string",
        "target_name": "string",
        "is_inventory_mapped_target": false,
        "source_has_inventory_mapping": false
    },
    "host": {
        "editable": false,
        "source": "string",
        "source_name": "string",
        "target": "string",
        "target_name": "string",
        "is_inventory_mapped_target": false,
        "source_has_inventory_mapping": false
    },
    "change_version": "string"
}
boolean
placeholder_needs_repair
Optional

Whether repair placeholder operation is required. If true, only repair placeholder is possible and not configure protection.

string
vsan_target_cluster
Optional

Target vSAN cluster used by vSAN cluster pair. You can use as a target resource pool only resource pools which are under the vSAN target cluster. Applicable if the containing protection group is vSAN-based.

location
Optional

Location details about a protected virtual machine.

devices
Optional

List of VM devices, including hard disks, optical disks and floppy disks

networks
Optional

List of VM networks

folder
Optional

Details about a protection resource of a VM. For example: folder, resource pool, host, network.

resource_pool
Optional

Details about a protection resource of a VM. For example: folder, resource pool, host, network.

host
Optional

Details about a protection resource of a VM. For example: folder, resource pool, host, network.

string
change_version
Optional

Version number of these settings. Keep this if need to update the VM protection settings. Applicable only if the VM is protected.