- About Veeam Recovery Orchestrator REST API
- Overview
- Changelog
- Token
- Mfa
- Clients
- Plans
- getGet Collection of Plans
- getGet Plan Data
- getGet VMs Added to Inventory Group in Plan
- getGet All Groups in Plan
- getGet Parameters Configured for Step in Plan
- getGet Steps Added for VM in Plan
- getGet Steps Added to Virtual Group in Plan
- postEnable Plan
- postDisable Plan
- postHalt Plan
- postRun Permanent Failover
- postFail Back to Source VMs
- postPrepare for Failback
- postSwitchover to Production
- postCommit Failback
- postUndo Plan
- postReset Plan State
- postClear Change Log History for Plan
- postRun Failover
- postRun Restore Plan
- postContinue Plan Execution
- postRun Readiness Check
- delDelete Plan Schedule
- putSchedule Plan to Run at Specific Time
- putSchedule Plan to Run After Another Plan
- postClone Plan
- RecoveryLocations
- RuntimeDetails
- Scopes
- LicenseUsage
The /RecoveryLocations
resource collection represents all recovery locations configured in Orchestrator. The collection includes resources which represent individual recovery locations and have specific system IDs.
Get Collection of Recovery Locations
The HTTP GET request to the /RecoveryLocations
endpoint retrieves a list of all configured recovery locations in Orchestrator.
query Parameters
start | integer <int32> Excludes the first N items of a resource collection from the response. |
limit | integer <int32> Specifies the maximum number of items of a resource collection to return in a response. |
Array of objects (Expression) Returns only specific items of a resource collection in the response. To learn how to use the | |
Array of objects (SortQuery) Specifies the order of items of a resource collection in the response. To learn how to use the |
OK
Unauthorized request. The authorization header has been expected but not found (or found but expired).
Internal server error.
- curl
- Python
- JavaScript
- C#
- Go
- 200
{- "total": 1,
- "data": [
- {
- "id": "62deec4d-e77e-4daf-ba1d-ed898d228ae3",
- "type": "Restore",
- "name": "Dept01 RL",
- "description": "Recovery location for dept01 VMs",
- "isOriginal": false
}
]
}
Get Recovery Location Data
The HTTP GET request to the /RecoveryLocations/{id}
endpoint retrieves a representation of a recovery location with the specified ID.
path Parameters
id required | string <uuid> System ID assigned to a recovery location. |
OK
Unauthorized request. The authorization header has been expected but not found (or found but expired).
Internal server error.
- curl
- Python
- JavaScript
- C#
- Go
- 200
{- "computeGroups": [
- {
- "id": "e922cee9-f044-4c98-9ada-51364fb5db26",
- "name": "cluster1",
- "resourceType": "Compute",
- "availability": "Available",
- "itemsCount": 1
}
], - "reIpRules": [
- {
- "id": "fda2d10a-dfcf-4add-ada9-120f68fe35bc",
- "sourceIp": "172.17.52.*",
- "sourceMask": "255.255.254.0",
- "targetIp": "172.17.53.*",
- "targetMask": "255.255.254.0",
- "targetGateway": "172.17.53.1",
- "preferredDns": "",
- "alternateDns": "",
- "description": "ReIp for group1"
}
], - "networkMappingRules": [
- {
- "id": "6554ec9d-359c-42d6-8951-f7c1703751e5",
- "sourceNetworkId": "72c5cc45-37fb-4e9a-aeac-eff1258e0d51",
- "sourceNetworkName": "network1",
- "sourceNetworkVcId": 17,
- "sourceNetworkVcName": "vc1.test.local",
- "sourceNetworkDcId": 32,
- "sourceNetworkIsRemoved": false,
- "targetNetworkId": "1f419ca4-eaf4-4aaf-ada0-9fdafde1e5ed",
- "targetNetworkName": "network2",
- "targetNetworkVcId": 17,
- "targetNetworkVcName": "vc1.test.local",
- "targetNetworkDcId": 32,
- "targetNetworkIsRemoved": false,
- "name": "rule1",
- "nameWasAutomaticallySet": false,
- "ipAddress": "0.0.0.0",
- "cidr": 0,
- "targetSubnetId": "00000000-0000-0000-0000-000000000000",
- "targetSecurityGroupId": null
}
], - "cpuPressureThreshold": 1,
- "storagePressureThreshold": 1,
- "instantVmRecovery": true,
- "recoverAgentBackups": false,
- "recoverVmBackups": false,
- "preferBackupCopy": false,
- "enforceDataSovereignty": true,
- "storageGroups": [
- {
- "id": "eba4a8d3-fdac-4292-af58-85b1d6409a5a",
- "name": "group1",
- "resourceType": "Storage",
- "availability": "NotAvailable",
- "itemsCount": 2
}
], - "physicalNetworkMappingRules": [
- {
- "targetNetworkId": "ee02e086-16ab-4ee2-8545-f29958201407",
- "targetNetworkName": "network1",
- "targetNetworkIsRemoved": false,
- "targetNetworkDcId": 10,
- "targetNetworkVcId": 12,
- "ipAddress": "172.17.53.0",
- "cidr": 24,
- "id": "22e5b409-4503-4647-afe9-d9699d6f3f6c",
- "name": "rule1",
- "nameWasAutomaticallySet": false
}
], - "id": "4862e7c9-2125-463a-b095-f87857cbcdd8",
- "type": "Restore",
- "name": "Dept01 RL",
- "description": "Recovery location for dept01 VMs",
- "isOriginal": false
}