Help Center
Choose product document...
Veeam Availability Console 3.0
RESTful API Reference

Get Reseller Backup Resources

You can get a representation of a collection of all cloud repository resources available to a reseller with the specified ID.

Request

To get all reseller backup resources in Veeam Availability Console, send the GET HTTPS request to the URL of the /resellers/{ID}/backupResources collection.

HTTP Request

GET https://<Availability-Console>:1281/v2/resellers/{ID}/backupResources

Request Headers

The request header must contain the authorization token for the current logon session.

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

Description

Content-length

The length of the response body.

Content-type

The media type and syntax of the request body message: application/json; charset=utf-8

Response Body

In the response body, Veeam Availability Console returns a representation of the /resellers/{ID}/backupResources collection.

Example Get Reseller Backup Resources

The following request returns all cloud repository resources available in Veeam Availability Console to a reseller with ID 6.

Request:

GET https://localhost:1281/v2/reseller/6/backupResources

 

Request Header:

Authorization: Bearer <Access-Token>

 

Response Code:

200 Success

 

Response Body:

[

 {

   "backupRepositoryUid": "88788f9e-d8f5-4eb4-bc4f-9b3f5403bcec",

   "id": 1,

   "cloudConnectAgentUid": "c074807d-319c-46d2-a972-da519d1ba515",

   "freeSpace": 107374182400,

   "usedSpace": 0,

   "cloudRepositoryFriendlyName": "CloudRep6",

   "quota": {

     "storageGb": 200,

     "quotasIsUnlimited": false,

     "vms": 4,

     "workstations": 4,

     "servers": 4

   },

   "_links": [

     {

       "rel": "self",

       "method": "GET",

       "href": "https://vac:1281/v2/resellers/6/backupResources/1"

     },

     {

       "rel": "create",

       "method": "POST",

       "href": "https://vac:1281/v2/resellers/6/backupResources"

     },

     {

       "rel": "delete",

       "method": "DELETE",

       "href": "https://vac:1281/v2/resellers/6/backupResources/1"

     },

     {

       "rel": "edit",

       "method": "PUT",

       "href": "https://vac:1281/v2/resellers/6/backupResources/1"

     }

   ]

 },

 {

   "backupRepositoryUid": "af9bd07a-8420-438b-90d9-4ebdfa7024e7",

   "id": 2,

   "cloudConnectAgentUid": "e10e4601-1494-4f16-8d7f-264ca37e595a",

   "freeSpace": 56374182400,

   "usedSpace": 75604562300,

   "cloudRepositoryFriendlyName": "CloudRep7",

   "quota": {

     "storageGb": 100,

     "quotasIsUnlimited": false,

     "vms": 2,

     "workstations": 2,

     "servers": 2

   },

   "_links": [

     {

       "rel": "self",

       "method": "GET",

       "href": "https://vac:1281/v2/resellers/6/backupResources/2"

     },

     {

       "rel": "create",

       "method": "POST",

       "href": "https://vac:1281/v2/resellers/6/backupResources"

     },

     {

       "rel": "delete",

       "method": "DELETE",

       "href": "https://vac:1281/v2/resellers/6/backupResources/2"

     },

     {

       "rel": "edit",

       "method": "PUT",

       "href": "https://vac:1281/v2/resellers/6/backupResources/2"

     }

   ]

 }

]

Veeam Large Logo

Deployment Guide

Guide for Service Providers

Guide for End Users

Guide for Resellers

Usage Scenarios for Service Providers

RESTful API Reference