VmProtectionDevice

VmProtectionDevice
VmProtectionDevice

Representation of a VM device and its SRM protection status

JSON Example
{
    "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": [
        "string"
    ],
    "recovery_path": {
        "datastore": "string",
        "datastore_name": "local",
        "path": "vms/finance-vm",
        "filename": "finance-vm.vmdk",
        "friendly_path": "string"
    },
    "replicated": false,
    "detached": false
}
integer As int32 As int32
key
Optional

Identificator of the device

string
type
Optional

Type of the device

Possible values are : HARD_DRIVE, OPTICAL_DRIVE, FLOPPY_DRIVE,
string
backing
Optional

Backing type of the device. <ul> <li>FILE: file-backed type of device</li> <li>RDM: Raw-disk mapping (RDM) type of device</li> <li>CLIENT: Client device</li> <li>HOST: Host device</li> </ul>

Possible values are : FILE, RDM, CLIENT, HOST,
string
label
Optional

Label of the device

production_path
Optional

production_path

array of string
production_datastores
Optional

List of production datastores in case of device with FILE backing type. Could contain multiple values in case of linked clone VM.

recovery_path
Optional

recovery_path

boolean
replicated
Optional

Weather this device is already replicated

boolean
detached
Optional

Weather this device is detached. Devices with RDM, CLIENT and HOST backing type are always detached and cannot be configured for protection.