Get Vm Protection Settings
Get details about the current protection settings of a virtual machine.
The ID of a pairing between this Site Recovery Manager server and remote one
The ID of a protection group defined within current pairing
The ID of a protected virtual machine
Detailed VM protection settings
{
"placeholder_needs_repair": false,
"location": {
"name": "string",
"protected_site": "string",
"production_vm_path": {
"datastore": "string",
"datastore_name": "local",
"path": "vms/finance-vm",
"filename": "finance-vm.vmdk",
"friendly_path": "string"
},
"recovery_site": "string",
"placeholder_vm_path": {
"datastore": "string",
"datastore_name": "local",
"path": "vms/finance-vm",
"filename": "finance-vm.vmdk",
"friendly_path": "string"
},
"placeholder_vm": "string"
},
"devices": [
{
"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
}
],
"networks": [
{
"editable": false,
"source": "string",
"source_name": "string",
"target": "string",
"target_name": "string",
"is_inventory_mapped_target": false,
"source_has_inventory_mapping": false,
"index": 0,
"key": 0,
"source_network_nsx_backed": false,
"target_network_nsx_backed": false
}
],
"folder": {
"editable": false,
"source": "string",
"source_name": "string",
"target": "string",
"target_name": "string",
"is_inventory_mapped_target": false,
"source_has_inventory_mapping": false
},
"resource_pool": {
"editable": false,
"source": "string",
"source_name": "string",
"target": "string",
"target_name": "string",
"is_inventory_mapped_target": false,
"source_has_inventory_mapping": false
},
"host": {
"editable": false,
"source": "string",
"source_name": "string",
"target": "string",
"target_name": "string",
"is_inventory_mapped_target": false,
"source_has_inventory_mapping": false
},
"change_version": "string",
"_meta": {
"errors": [
{
"code": "string",
"message": "string",
"field": "string"
}
]
}
}
Bad request - the server cannot understand the request due to invalid syntax or invalid request body content
"ResponseError Object"
The code of the error.
The message of the error.
The ID of the operation.
Unauthorized - the client must authenticate itself to get the requested response
Forbidden - not sufficient access rights to fulfill the request
"ResponseError Object"
The code of the error.
The message of the error.
The ID of the operation.
Not Found - server cannot find the requested in URL resource
Internal server error - unexpected condition prevents fulfilling the request
"ResponseError Object"
The code of the error.
The message of the error.
The ID of the operation.
curl -H 'Authorization: <value>' https://{api_host}/pairings/{pairing_id}/protection-management/groups/{group_id}/vms/{vm_id}/protection-settings