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

VmProtectionSettings

Protection settings for a VM


Properties

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.


devices Optional

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


folder 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.


location Optional

Location details about a protected virtual machine.


networks Optional

List of VM networks


boolean
placeholder_needs_repair Optional

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


resource_pool Optional

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

JSON Example

{
	"change_version": "string",
	"devices": [
		{
			"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"
		}
	],
	"folder": {
		"editable": false,
		"is_inventory_mapped_target": false,
		"source": "string",
		"source_has_inventory_mapping": false,
		"source_name": "string",
		"target": "string",
		"target_name": "string"
	},
	"host": {
		"editable": false,
		"is_inventory_mapped_target": false,
		"source": "string",
		"source_has_inventory_mapping": false,
		"source_name": "string",
		"target": "string",
		"target_name": "string"
	},
	"location": {
		"name": "string",
		"placeholder_vm": "string",
		"placeholder_vm_path": {
			"datastore": "string",
			"datastore_name": "local",
			"filename": "finance-vm.vmdk",
			"friendly_path": "string",
			"path": "vms/finance-vm"
		},
		"production_vm_path": {
			"datastore": "string",
			"datastore_name": "local",
			"filename": "finance-vm.vmdk",
			"friendly_path": "string",
			"path": "vms/finance-vm"
		},
		"protected_site": "string",
		"recovery_site": "string"
	},
	"networks": [
		{
			"editable": false,
			"index": 0,
			"is_inventory_mapped_target": false,
			"key": 0,
			"source": "string",
			"source_has_inventory_mapping": false,
			"source_name": "string",
			"source_network_nsx_backed": false,
			"target": "string",
			"target_name": "string",
			"target_network_nsx_backed": false
		}
	],
	"placeholder_needs_repair": false,
	"resource_pool": {
		"editable": false,
		"is_inventory_mapped_target": false,
		"source": "string",
		"source_has_inventory_mapping": false,
		"source_name": "string",
		"target": "string",
		"target_name": "string"
	}
}
[{"label":"Latest (2.0.0)","version":"latest"},{"version":"1.0.0"}]
srm-rest-api
Parameter To

Update VM Protection Settings
Used By

VmProtectionSettingsDrResponseEntity

Feedback

Was this page helpful?