VmProtectionDevice
Representation of a VM device and its SRM protection status
Properties
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
Weather this device is detached. Devices with RDM, CLIENT and HOST backing type are always detached and cannot be configured for protection.
Identificator of the device
Label of the device
List of production datastores in case of device with FILE backing type. Could contain multiple values in case of linked clone VM.
Data object that is used to fully qualify a datastore path.
Data object that is used to fully qualify a datastore path.
Weather this device is already replicated
Type of the device
Possible values are: HARD_DRIVE , OPTICAL_DRIVE , FLOPPY_DRIVE
JSON Example
{
"backing": "FILE",
"detached": false,
"key": 0,
"label": "string",
"production_datastores": [
"string"
],
"production_path": {
"datastore": "string",
"datastore_name": "local",
"filename": "finance-vm.vmdk",
"friendly_path": "string",
"path": "vms/finance-vm"
},
"recovery_path": {
"datastore": "string",
"datastore_name": "local",
"filename": "finance-vm.vmdk",
"friendly_path": "string",
"path": "vms/finance-vm"
},
"replicated": false,
"type": "HARD_DRIVE"
}
Property Of
VmProtectionSettings