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": [
{}
],
"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:
- FILE - file-backed type of device.
- RDM - Raw-disk mapping (RDM) type of device.
- CLIENT - Client device.
- HOST - Host device.
Possible values are : FILE, RDM, CLIENT, HOST,
string
label
Optional
Label of the device
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.
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.