[{"label":"Latest (2.0.0)","version":"latest"},{"version":"1.0.0"}]
srm-rest-api

VmProtectionDevice

Representation of a VM device and its SRM protection status


Properties

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: FILERDMCLIENTHOST


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.


integer as int32
key Optional

Identificator of the device


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.


production_path Optional

Data object that is used to fully qualify a datastore path.


recovery_path Optional

Data object that is used to fully qualify a datastore path.


boolean
replicated Optional

Weather this device is already replicated


string
type Optional

Type of the device

Possible values are: HARD_DRIVEOPTICAL_DRIVEFLOPPY_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"
}
[{"label":"Latest (2.0.0)","version":"latest"},{"version":"1.0.0"}]
srm-rest-api
Property Of

VmProtectionSettings

Feedback

Was this page helpful?