- About Veeam Recovery Orchestrator REST API
- Overview
- Changelog
- Azure
- getGet Microsoft Azure Subscriptions
- getGet Microsoft Azure Regions
- getGet Microsoft Azure Resource Groups
- getGet Microsoft Azure VM Families
- getGet Microsoft Azure Networks
- getGet Microsoft Azure Subnets
- getGet Microsoft Azure Security Groups
- getGet Microsoft Azure Proxies
- getGet Microsoft Azure Compute Accounts
- Components
- getGet Credentials
- getGet Collection of Standalone Hyper-V Hosts
- postAdd Standalone Hyper-V Host
- getGet Networks by Standalone Hyper-V Host
- delRemove Standalone Hyper-V Host
- getGet CSV disks by Hyper-V Host
- getGet Available Backup Servers
- getGet Available Backup Repositories
- postAdd SCVMM Server
- getGet Collection of SCVMM Servers
- postAdd Hyper-V Failover Cluster
- getGet Collection of Hyper-V Clusters
- getGet Hyper-V Networks by Cluster
- getGet CSV Disks by Cluster
- postAdd vCenter Server
- getGet Collection of vCenter Servers
- getGet Collection of Datacenters
- getGet Networks by vCenter Server
- getGet Collection of Storage Systems
- Groups
- LicenseUsage
- Mfa
- Plans
- getGet Collection of Plans
- postCreate Plan
- getGet Plan Data
- getGet Plan Schedule Data
- delDelete Plan Schedule
- 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
- postRun Failover
- postRun Restore Plan
- postContinue Plan Execution
- postRun Readiness Check
- postRun On-Demand Malware Scan
- postSchedule Plan to Run on Schedule
- putSchedule Plan to Run After Another Plan
- postClone Plan
- RecoveryLocations
- getGet Collection of Recovery Locations
- getGet VMware vSphere Recovery Location Data
- getGet Storage Recovery Location Data
- getGet Microsoft Azure Recovery Location Data
- getGet Microsoft Hyper-V Recovery Location Data
- postCreate Recovery Location for Standalone Hyper-V Host
- postCreate Restore Recovery Location
- postCreate Storage Recovery Location
- postCreate Hyper-V Recovery Location
- postCreate Microsoft Azure Recovery Location
- delDelete Recovery Location
- RuntimeDetails
- Scopes
- Token
- VbrProxy
The /RecoveryLocations resource collection represents all recovery locations configured in Orchestrator. The collection includes resources that 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> [ 0 .. 2147483647 ] Excludes the first N items of a resource collection from the response. |
| limit | integer <int32> [ 0 .. 2147483647 ] Specifies the maximum number of items of a resource collection to return in a response. If the value is 0, the response will include all items. |
Array of objects (Expression) Deprecated Obsolete parameter. Use the actionFilters parameter instead. | |
Array of objects (SortQuery) Defines the order of items of a resource collection in the response. To learn how to use the | |
Array of objects (Expression) Returns only specific items of a resource collection in the response. To learn how to use the | |
| search | string Returns only items of a resource collection that contain the specified value in at least one the searchable fields. The search is case-insensitive and also returns partial matches. |
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 VMware vSphere Recovery Location Data
The HTTP GET request to the /RecoveryLocations/Restore/{id} endpoint retrieves a representation of a VMware vSphere 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",
- "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",
- "name": "172.17.52.* - 172.17.53.*",
- "nameWasAutomaticallySet": true
}
], - "vCenterNetworkMappingRules": [
- {
- "id": "6554ec9d-359c-42d6-8951-f7c1703751e5",
- "name": "rule1",
- "nameWasAutomaticallySet": false,
- "matchAnySourceNetwork": false,
- "sourceNetworkVcId": 17,
- "sourceNetworkVcName": "vc1.test.local",
- "sourceNetworkDcId": 32,
- "sourceNetworkId": "72c5cc45-37fb-4e9a-aeac-eff1258e0d51",
- "sourceNetworkName": "network1",
- "sourceNetworkIsRemoved": false,
- "targetNetworkVcId": 17,
- "targetNetworkVcName": "vc1.test.local",
- "targetNetworkDcId": 32,
- "targetNetworkId": "1f419ca4-eaf4-4aaf-ada0-9fdafde1e5ed",
- "targetNetworkName": "network2",
- "targetNetworkIsRemoved": false
}
], - "cpuPressureThreshold": 1,
- "storagePressureThreshold": 1,
- "instantVmRecovery": true,
- "vbrServerId": "df630c31-4780-4e73-b434-6cf202d154be",
- "repositoryRules": [
- {
- "repositoryId": "bd22b11c-16f0-4e9b-8618-706e2804de54"
}
], - "backupLocation": "Any",
- "enforceDataSovereignty": true,
- "storageGroups": [
- {
- "id": "eba4a8d3-fdac-4292-af58-85b1d6409a5a",
- "name": "group1",
- "resourceType": "Storage",
- "itemsCount": 2
}
], - "physicalNetworkMappingRules": [
- {
- "id": "22e5b409-4503-4647-afe9-d9699d6f3f6c",
- "name": "rule1",
- "nameWasAutomaticallySet": false,
- "matchAnySourceNetwork": false,
- "ipAddress": "172.17.53.0",
- "cidr": 24,
- "targetNetworkVcId": 12,
- "targetNetworkVcName": "vc1.test.local",
- "targetNetworkDcId": 10,
- "targetNetworkId": "ee02e086-16ab-4ee2-8545-f29958201407",
- "targetNetworkName": "network1",
- "targetNetworkIsRemoved": false
}
], - "id": "4862e7c9-2125-463a-b095-f87857cbcdd8",
- "type": "Restore",
- "name": "Dept01 RL",
- "description": "Recovery location for dept01 VMs",
- "isOriginal": false
}Get Storage Recovery Location Data
The HTTP GET request to the /RecoveryLocations/Storage/{id} endpoint retrieves a representation of a storage 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",
- "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",
- "name": "172.17.52.* - 172.17.53.*",
- "nameWasAutomaticallySet": true
}
], - "networkMappingRules": [
- {
- "id": "6554ec9d-359c-42d6-8951-f7c1703751e5",
- "name": "rule1",
- "nameWasAutomaticallySet": false,
- "matchAnySourceNetwork": false,
- "sourceNetworkVcId": 17,
- "sourceNetworkVcName": "vc1.test.local",
- "sourceNetworkDcId": 32,
- "sourceNetworkId": "72c5cc45-37fb-4e9a-aeac-eff1258e0d51",
- "sourceNetworkName": "network1",
- "sourceNetworkIsRemoved": false,
- "targetNetworkVcId": 17,
- "targetNetworkVcName": "vc1.test.local",
- "targetNetworkDcId": 32,
- "targetNetworkId": "1f419ca4-eaf4-4aaf-ada0-9fdafde1e5ed",
- "targetNetworkName": "network2",
- "targetNetworkIsRemoved": false
}
], - "vendor": "NetApp",
- "vCenterId": "a1b2c3d4-e5f6-4780-1234-56789abcdef0",
- "vCenterName": "vcenter1.test.local",
- "datacenterId": "12345678-90ab-cdef-1234-567890abcdef",
- "datacenterName": "Datacenter1",
- "storageSystems": [
- {
- "id": "9abcdef0-1234-5678-90ab-cdef12345678",
- "name": "StorageSystem1",
- "svmName": "SVM1",
- "order": 1
}
], - "id": "4862e7c9-2125-463a-b095-f87857cbcdd8",
- "type": "Storage",
- "name": "Dept01 RL",
- "description": "Recovery location for dept01 VMs",
- "isOriginal": false
}Get Microsoft Azure Recovery Location Data
The HTTP GET request to the /RecoveryLocations/Azure/{id} endpoint retrieves a representation of a Microsoft Azure 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
{- "backupLocation": "Any",
- "vbrServerId": "df630c31-4780-4e73-b434-6cf202d154be",
- "computeAccountId": "aabbccdd-eeff-0011-2233-445566778899",
- "subscriptionId": "11223344-5566-7788-99aa-bbccddeeff00",
- "regionType": "Global",
- "regionId": "99887766-5544-3322-1100-ffeeddccbbaa",
- "resourceGroupId": "66778899-aabb-ccdd-eeff-001122334455",
- "hardwareRules": [
- {
- "machineTypeFamilyId": "55554444-3333-2222-1111-0000ffffffff",
- "machineTypeFamilyName": "Dv2 Series",
- "diskType": "StandardHDD",
- "isPremiumStorageSupported": true,
- "order": 1,
- "machineTypeFamilyMaxCpu": 64,
- "machineTypeFamilyMaxRam": 256,
- "machineTypeFamilyMaxDisks": 16
}
], - "repositoryRules": [
- {
- "repositoryId": "bd22b11c-16f0-4e9b-8618-706e2804de54"
}
], - "proxyIds": [
- "cafebabe-0000-1111-2222-333344445555",
- "deadbeef-6666-7777-8888-9999aaaabbbb"
], - "virtualNetworkMappingRules": [
- {
- "id": "6554ec9d-359c-42d6-8951-f7c1703751e5",
- "name": "rule1",
- "sourceNetworkVcId": 17,
- "sourceNetworkVcName": "vc1.test.local",
- "sourceNetworkDcId": 32,
- "sourceNetworkId": "72c5cc45-37fb-4e9a-aeac-eff1258e0d51",
- "sourceNetworkName": "network1",
- "sourceNetworkIsRemoved": false,
- "targetNetworkId": "1f419ca4-eaf4-4aaf-ada0-9fdafde1e5ed",
- "targetNetworkName": "network2",
- "targetSubnetId": "2233bbaa-4455-ddcc-6677-ffee88990011",
- "targetSubnetName": "subnet1",
- "targetSecurityGroupId": "1122aabb-3344-ccdd-5566-eeff77889900",
- "targetSecurityGroupName": "sg1",
- "nameWasAutomaticallySet": false,
- "matchAnySourceNetwork": false
}
], - "physicalNetworkMappingRules": [
- {
- "id": "22e5b409-4503-4647-afe9-d9699d6f3f6c",
- "name": "rule1",
- "nameWasAutomaticallySet": false,
- "ipAddress": "172.17.53.0",
- "cidr": 24,
- "targetSubnetId": "3344ccdd-5566-eeff-7788-99aabbccddee",
- "targetSubnetName": "subnet1",
- "targetSecurityGroupId": "4455ddee-6677-ff00-8899-001122334455",
- "targetSecurityGroupName": "sg1",
- "targetNetworkId": "ee02e086-16ab-4ee2-8545-f29958201407",
- "targetNetworkName": "network1",
- "matchAnySourceNetwork": false
}
], - "hyperVNetworkMappingRules": [
- {
- "id": "6554ec9d-359c-42d6-8951-f7c1703751e5",
- "name": "rule1",
- "nameWasAutomaticallySet": false,
- "sourceNetworkScVmmId": "a1b2c3d4-5678-90ab-cdef-1234567890ab",
- "sourceNetworkScVmmName": "scvmm1.test.local",
- "sourceNetworkClusterId": "b1c2d3e4-6789-0abc-def1-234567890abc",
- "sourceNetworkClusterName": "cluster1",
- "sourceNetworkId": "72c5cc45-37fb-4e9a-aeac-eff1258e0d51",
- "sourceNetworkName": "network1",
- "sourceNetworkIsRemoved": false,
- "sourceNetworkIsClustered": true,
- "targetNetworkId": "1f419ca4-eaf4-4aaf-ada0-9fdafde1e5ed",
- "targetNetworkName": "network2",
- "targetSubnetId": "2233bbaa-4455-ddcc-6677-ffee88990011",
- "targetSubnetName": "subnet1",
- "targetSecurityGroupId": "1122aabb-3344-ccdd-5566-eeff77889900",
- "targetSecurityGroupName": "sg1",
- "matchAnySourceNetwork": false
}
], - "isolatedNetworkId": "12344321-4321-4321-4321-123443211234",
- "isolatedSubnetId": "abcddcba-dcba-dcba-dcba-abcddcbaabcd",
- "id": "4862e7c9-2125-463a-b095-f87857cbcdd8",
- "type": "Cloud",
- "name": "Dept01 RL",
- "description": "Recovery location for dept01 VMs",
- "isOriginal": false
}Get Microsoft Hyper-V Recovery Location Data
The HTTP GET request to the /RecoveryLocations/HyperV/{id} endpoint retrieves a representation of a Microsoft Hyper-V 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
{- "backupLocation": "Any",
- "enforceDataSovereignty": true,
- "instantVmRecovery": true,
- "scVmmId": "a1b2c3d4-5678-90ab-cdef-1234567890ab",
- "scVmmName": "scvmm1.test.local",
- "clusterId": "b1c2d3e4-6789-0abc-def1-234567890abc",
- "clusterName": "cluster1",
- "storages": [
- {
- "id": "9abcdef0-1234-5678-90ab-cdef12345678",
- "path": "CSV1",
- "isRemoved": false
}
], - "vmNetworkMappingRules": [
- {
- "id": "6554ec9d-359c-42d6-8951-f7c1703751e5",
- "name": "rule1",
- "nameWasAutomaticallySet": false,
- "sourceNetworkVcId": 17,
- "sourceNetworkVcName": "vc1.test.local",
- "sourceNetworkDcId": 32,
- "sourceNetworkId": "72c5cc45-37fb-4e9a-aeac-eff1258e0d51",
- "sourceNetworkName": "network1",
- "sourceNetworkIsRemoved": false,
- "targetNetworkScVmmId": "a1b2c3d4-5678-90ab-cdef-1234567890ab",
- "targetNetworkScVmmName": "scvmm1.test.local",
- "targetNetworkClusterId": "b1c2d3e4-6789-0abc-def1-234567890abc",
- "targetNetworkClusterName": "cluster1",
- "targetNetworkId": "1f419ca4-eaf4-4aaf-ada0-9fdafde1e5ed",
- "targetNetworkName": "network2",
- "targetNetworkIsRemoved": false,
- "targetNetworkIsClustered": true,
- "matchAnySourceNetwork": false
}
], - "hyperVNetworkMappingRules": [
- {
- "id": "22e5b409-4503-4647-afe9-d9699d6f3f6c",
- "name": "rule1",
- "nameWasAutomaticallySet": false,
- "sourceNetworkScVmmId": "a1b2c3d4-5678-90ab-cdef-1234567890ab",
- "sourceNetworkScVmmName": "scvmm1.test.local",
- "sourceNetworkClusterId": "b1c2d3e4-6789-0abc-def1-234567890abc",
- "sourceNetworkClusterName": "cluster1",
- "sourceNetworkId": "72c5cc45-37fb-4e9a-aeac-eff1258e0d51",
- "sourceNetworkName": "network1",
- "sourceNetworkIsRemoved": false,
- "sourceNetworkIsClustered": true,
- "targetNetworkScVmmId": "a1b2c3d4-5678-90ab-cdef-1234567890ab",
- "targetNetworkScVmmName": "scvmm1.test.local",
- "targetNetworkClusterId": "b1c2d3e4-6789-0abc-def1-234567890abc",
- "targetNetworkClusterName": "cluster1",
- "targetNetworkId": "ee02e086-16ab-4ee2-8545-f29958201407",
- "targetNetworkName": "network1",
- "targetNetworkIsRemoved": false,
- "targetNetworkIsClustered": true,
- "matchAnySourceNetwork": false
}
], - "hvConnectionType": "ScVmm",
- "vbrServerId": "df630c31-4780-4e73-b434-6cf202d154be",
- "repositoryRules": [
- {
- "repositoryId": "bd22b11c-16f0-4e9b-8618-706e2804de54"
}
], - "hostStoragePaths": null,
- "id": "4862e7c9-2125-463a-b095-f87857cbcdd8",
- "type": "HyperV",
- "name": "Dept01 RL",
- "description": "Recovery location for dept01 VMs",
- "isOriginal": false
}Create Recovery Location for Standalone Hyper-V Host
The HTTP POST request to the /RecoveryLocations/HyperV/DirectHost endpoint creates a new Microsoft Hyper-V recovery location for restoring VMware or Hyper-V VMs to a standalone Hyper-V host.
Request Body schema: application/json
| directHostId required | string <uuid> System ID assigned to a Microsoft Hyper-V host that is used as a recovery location. |
| hostStoragePaths required | Array of strings or null Paths to folders on the Microsoft Hyper-V host where recovered VMs will be stored. |
| name required | string or null Name of the recovery location. |
required | object (DirectHostVmNetworkMappingRuleInfo) |
| description | string or null Description of the recovery location. |
| backupLocation | string Restore point source. |
| enforceDataSovereignty | boolean Defines whether VMs will be recovered across different locations in the Veeam Backup & Replication server when running recovery plans. |
| instantVmRecovery | boolean Defines whether all processed VMs will be restored using the Instant VM Recovery feature. |
OK
Unauthorized request. The authorization header has been expected but not found (or found but expired).
Internal server error.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "name": "string",
- "description": "string",
- "directHostId": "7f7162b6-a88b-4262-a0ca-d5554c9dfaaa",
- "vmNetworkMappingRule": {
- "name": "string",
- "targetNetworkId": "5c0402d3-4284-4c4d-8df7-54de69fad331"
}, - "backupLocation": "Any",
- "enforceDataSovereignty": true,
- "instantVmRecovery": true,
- "hostStoragePaths": [
- "string"
]
}- 200
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}Create Restore Recovery Location
The HTTP POST request to the /RecoveryLocations/Restore creates a restore recovery location and returns its system ID.
Request Body schema: application/json
| computeGroupIds required | Array of strings or null <uuid> System IDs assigned to compute resource groups used in the recovery location. Specify at least one group to proceed. |
| name required | string or null Name of a recovery location. |
| storageGroupIds required | Array of strings or null <uuid> System IDs assigned to storage resource groups used in the recovery location. Specify at least one group to proceed. |
| storagePressureThreshold required | integer <int32> [ 1 .. 100 ] Datastore capacity level (in percent). |
| description | string or null Description of the recovery location. |
| instantVmRecovery | boolean Defines whether Instant VM Recovery is enabled for the recovery location. |
| enforceDataSovereignty | boolean Defines whether data sovereignty is enforced for the recovery location. |
| backupLocation | string Restore point source. |
| vbrServerId | string or null <uuid> System ID assigned to a backup server specified for the recovery location. |
| backupRepositoryIds | Array of strings or null <uuid> System IDs assigned to backup repositories specified for the recovery location. |
Array of objects or null (RecoveryReIpRuleInfo) Re-IP rules specified for the recovery location. | |
Array of objects or null (NetworkMappingRuleCreateInfo) Virtual network mapping rules configured for the recovery location. Specify at least one network mapping rule (of any type) to proceed. | |
Array of objects or null (PhysicalNetworkMappingRuleCreateInfo) Physical network mapping rules configured for the recovery location. Specify at least one network mapping rule (of any type) to proceed. |
OK
Bad request. The request body is malformed, incomplete or otherwise invalid.
Unauthorized request. The authorization header has been expected but not found (or found but expired).
Internal server error.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "name": "Restore Location",
- "description": "Created via public API",
- "computeGroupIds": [
- "1c447118-4146-4b40-b93a-3d6c43124418"
], - "storageGroupIds": [
- "2a447118-4146-4b40-b93a-3d6c43124418"
], - "storagePressureThreshold": 80,
- "instantVmRecovery": false,
- "enforceDataSovereignty": false,
- "backupLocation": "Any",
- "vbrServerId": null,
- "backupRepositoryIds": null,
- "reIpRules": null,
- "vCenterNetworkMappingRules": [
- {
- "sourceNetworkId": null,
- "name": "Network Mapping Rule",
- "matchAnySourceNetwork": true,
- "targetNetworkId": "7c447118-4146-4b40-b93a-3d6c43124418"
}
], - "physicalNetworkMappingRules": null
}- 200
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}Create Storage Recovery Location
The HTTP POST request /RecoveryLocations/Storage creates a storage recovery location and returns its system ID.
Request Body schema: application/json
| computeGroupIds required | Array of strings or null <uuid> System IDs assigned to compute resource groups specified for the recovery location. You must specify at least one ID to proceed. |
| datacenterId required | string <uuid> System ID assigned to a datacenter specified for the recovery location. |
| name required | string or null Name of a recovery location. |
| storageSystemIds required | Array of strings or null <uuid> System IDs assigned to storage systems used in the recovery location. Orchestrator will process the systems in the order you specify them. You must specify at least one system to proceed. |
| vCenterId required | string <uuid> System ID assigned to a vCenter Server specified for the recovery location. |
| vendor required | string Vendor of storage systems included in the storage recovery location. |
| description | string or null Description of the recovery location. |
Array of objects or null (RecoveryReIpRuleInfo) Re-IP rules specified for the recovery location. | |
Array of objects or null (NetworkMappingRuleCreateInfo) Virtual network mapping rules configured for the recovery location. |
OK
Bad request. The request body is malformed, incomplete or otherwise invalid.
Unauthorized request. The authorization header has been expected but not found (or found but expired).
Internal server error.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "name": "Storage Location",
- "description": "Created via public API",
- "vendor": "NetApp",
- "vCenterId": "3c447118-4146-4b40-b93a-3d6c43124418",
- "datacenterId": "4a447118-4146-4b40-b93a-3d6c43124418",
- "computeGroupIds": [
- "1c447118-4146-4b40-b93a-3d6c43124418"
], - "storageSystemIds": [
- "5a447118-4146-4b40-b93a-3d6c43124418"
], - "reIpRules": null,
- "networkMappingRules": [
- {
- "sourceNetworkId": null,
- "name": "Network Mapping Rule",
- "matchAnySourceNetwork": true,
- "targetNetworkId": "7c447118-4146-4b40-b93a-3d6c43124418"
}
]
}- 200
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}Create Hyper-V Recovery Location
The HTTP POST request /RecoveryLocations/HyperV creates a Hyper-V recovery location for a standalone or SCVMM-managed cluster and returns its system ID. To create a recovery location for a standalone Microsoft Hyper-V host, use the /RecoveryLocations/HyperV/DirectHost endpoint.
Request Body schema: application/json
| clusterId required | string <uuid> System ID assigned to a Microsoft Hyper-V cluster specified for the recovery location. |
| hvConnectionType required | string Type of the Microsoft Hyper-V connection. The supported values are |
| name required | string or null Name of a recovery location. |
| storageIds required | Array of strings or null <uuid> non-empty System IDs assigned to CSV disks used in the recovery location. Specify at least one ID to proceed. |
| description | string or null Description of the recovery location. |
| scVmmId | string or null <uuid> System ID assigned to an SCVMM server that manages the cluster. |
| backupLocation | string Restore point source. |
| enforceDataSovereignty | boolean Defines whether data sovereignty is enforced for the recovery location. |
| instantVmRecovery | boolean Defines whether Instant VM Recovery is enabled for the recovery location. |
| vbrServerId | string or null <uuid> System ID assigned to a backup server specified for the recovery location. |
| backupRepositoryIds | Array of strings or null <uuid> System IDs assigned to backup repositories specified for the recovery location. |
| hostStoragePaths | Array of strings or null Paths to storage folders on the cluster hosts where recovered VM will be stored. |
Array of objects or null (NetworkMappingRuleCreateInfo) Network mapping rules for vSphere VMs. Specify at least one network mapping rule (of any type) to proceed. | |
Array of objects or null (NetworkMappingRuleCreateInfo) Network mapping rules for Hyper-V VMs. Specify at least one network mapping rule (of any type) to proceed. |
OK
Bad request. The request body is malformed, incomplete or otherwise invalid.
Unauthorized request. The authorization header has been expected but not found (or found but expired).
Internal server error.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "name": "Hyper-V Location",
- "description": "Created via public API",
- "hvConnectionType": "Cluster",
- "clusterId": "6a447118-4146-4b40-b93a-3d6c43124418",
- "scVmmId": null,
- "backupLocation": "Any",
- "enforceDataSovereignty": false,
- "instantVmRecovery": false,
- "vbrServerId": null,
- "backupRepositoryIds": null,
- "hostStoragePaths": [
- "C:\\ClusterStorage\\Volume1"
], - "storageIds": [
- "8a447118-4146-4b40-b93a-3d6c43124418"
], - "vmNetworkMappingRules": [
- {
- "sourceNetworkId": null,
- "name": "Network Mapping Rule",
- "matchAnySourceNetwork": true,
- "targetNetworkId": "9a447118-4146-4b40-b93a-3d6c43124418"
}
], - "hyperVNetworkMappingRules": null
}- 200
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}Create Microsoft Azure Recovery Location
The HTTP POST request to the /RecoveryLocations/Azure endpoint creates a Microsoft Azure recovery location and returns its system ID.
Request Body schema: application/json
| computeAccountId required | string <uuid> System ID assigned to a Microsoft Azure compute account specified for the recovery location. |
required | Array of objects or null (AzureHardwareRuleCreateInfo) non-empty Hardware configuration rules for recovered VMs. Orchestrator will process the rules in the order you specify them. Specify at least one rule to proceed. |
| name required | string or null Name of the recovery location. |
| regionId required | string <uuid> System ID assigned to a Microsoft Azure region specified for the recovery location. |
| resourceGroupId required | string <uuid> System ID assigned to a Microsoft Azure resource group specified for the recovery location. |
| subscriptionId required | string <uuid> System ID assigned to a Microsoft Azure subscription specified for the recovery location. |
| vbrServerId required | string <uuid> System ID assigned to a backup server specified for the recovery location. |
| description | string or null Description of the recovery location. |
| backupLocation | string Restore point source. |
| regionType | string Type of the Microsoft Azure region. |
| backupRepositoryIds | Array of strings or null <uuid> System IDs assigned to backup repositories specified for the recovery location. |
| proxyIds | Array of strings or null <uuid> System IDs assigned to the Microsoft Azure proxies specified for the recovery location. |
Array of objects or null (AzureNetworkMappingRuleCreateInfo) Information on network mapping rules configured for vSphere VMs. Specify at least one network mapping rule (of any type) to proceed. | |
Array of objects or null (AzurePhysicalNetworkMappingRuleCreateInfo) Information on network mapping rules configured for Veeam agents. Specify at least one network mapping rule (of any type) to proceed. | |
Array of objects or null (AzureNetworkMappingRuleCreateInfo) Information on network mapping rules configured for Hyper-V VMs. Specify at least one network mapping rule (of any type) to proceed. | |
| isolatedNetworkId | string or null <uuid> [Required if the |
| isolatedSubnetId | string or null <uuid> [Required if the |
OK
Bad request. The request body is malformed, incomplete or otherwise invalid.
Unauthorized request. The authorization header has been expected but not found (or found but expired).
Internal server error.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "name": "Azure Location",
- "description": "Created via public API",
- "backupLocation": "Any",
- "vbrServerId": "1c447118-4146-4b40-b93a-3d6c43124418",
- "computeAccountId": "2c447118-4146-4b40-b93a-3d6c43124418",
- "subscriptionId": "3c447118-4146-4b40-b93a-3d6c43124418",
- "regionType": "Global",
- "regionId": "4c447118-4146-4b40-b93a-3d6c43124418",
- "resourceGroupId": "5c447118-4146-4b40-b93a-3d6c43124418",
- "hardwareRules": [
- {
- "machineTypeFamilyId": "6c447118-4146-4b40-b93a-3d6c43124418",
- "diskType": "StandardSSD"
}
], - "backupRepositoryIds": null,
- "proxyIds": null,
- "virtualNetworkMappingRules": [
- {
- "targetSubnetId": "8c447118-4146-4b40-b93a-3d6c43124418",
- "targetSecurityGroupId": null,
- "sourceNetworkId": null,
- "name": "Network Mapping Rule",
- "matchAnySourceNetwork": true,
- "targetNetworkId": "7c447118-4146-4b40-b93a-3d6c43124418"
}
], - "physicalNetworkMappingRules": null,
- "hyperVNetworkMappingRules": null,
- "isolatedNetworkId": null,
- "isolatedSubnetId": null
}- 200
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}Delete Recovery Location
The HTTP DELETE request to the /RecoveryLocations/{id} endpoint deletes a recovery location with the specified ID.
path Parameters
| id required | string <uuid> System ID assigned to a recovery location. |
No Content
Unauthorized request. The authorization header has been expected but not found (or found but expired).
Internal server error.
- curl
- Python
- JavaScript
- C#
- Go