Help Center
Choose product document...
Veeam Availability Orchestrator 2.0
REST API Reference

Get Collection of Recovery Locations

You can get a list of all configured recovery locations.

Request

To retrieve a representation of a collection of recovery locations, send the HTTP GET request to the URL of the /RecoveryLocations collection.

HTTP Request

GET https://<hostname>:<port>/v2/RecoveryLocations

Request Headers

The request contains the following headers.

Header

Required/Optional

Value

Description

Authorization

required

Bearer <Access-Token>

Authenticates a client who sends the request to the server. Must contain the access token for the current logon session in the Bearer <Access-Token> format.

Accept

optional

  • application/xml
  • text/json
  • application/json

Specifies a media type of representation that is required in the response message. If the requested type is not supported, the server will return the response in the application/json media type.

Response

The server returns the following response to the client.

Response Code

A successfully completed operation returns response code 200 Success.

Response Headers

The response to this request contains the following headers. The response may also include additional standard HTTP headers.

Header

Value

Description

Content-Length

integer

Identifies the length of the response body message, in bytes.

Content-Type

  • application/xml
  • text/json
  • application/json

Identifies the media type of the response body message.

Response Body

In the response body, VAO returns a representation of the /RecoveryLocations collection.

Example Get Collection of Recovery Locations

The following request returns a full list of recovery locations configured in VAO.

Request:

GET https://uwin2012r2.n.local:9899/v2/RecoveryLocations

 

Request Header:

Authorization: Bearer <Access-Token>

 

Response:

200 Success

 

Response Body:

[

 {

   "name": "Original VM Location",

   "id": "8f269782-5ec3-42e2-92da-dc79af2f132e",

   "description": "Original location of source VM",

   "storageUsageThreshold": 80,

   "ivr": true,

   "reip": false,

   "networkMapping": false,

   "_links": {

     "self": {

       "href": "/v2/RecoveryLocations/8f269782-5ec3-42e2-92da-dc79af2f132e"

     }

   }

 },

 {

   "name": "local VMs",

   "id": "ad19ae02-2760-4b38-acee-e1d459b97555",

   "description": "description",

   "storageUsageThreshold": 96,

   "ivr": false,

   "reip": false,

   "networkMapping": false,

   "_links": {

     "self": {

       "href": "/v2/RecoveryLocations/ad19ae02-2760-4b38-acee-e1d459b97555"

     }

   }

 }

]

Veeam Large Logo

User Guide

Deployment Guide

Group Management Guide

REST API Reference