Get Company Backup Resources

In this article

    You can get a representation of a collection of all backup resources available to a company with the specified ID.

    Request

    To get a representation of all company backup resources in Veeam Service Provider Console, send the GET HTTPS request to the URL of the /tenants/{ID}/backupResources collection.

    HTTP Request

    GET https://<hostname>:1281/v2/tenants/{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 OK.

    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 Service Provider Console returns a representation of the /tenants/{ID}/backupResources collection.

    Example Get Company Backup Resources

    The following request returns all cloud repository resources available to a company with ID 2.

    Request:

    GET https://localhost:1281/v2/tenants/2/backupResources

     

    Request Header:

    Authorization: Bearer <Access-Token>

     

    Response Code:

    200 Success

     

    Response Body:

    [

     {

       "id": 1,

       "cloudRepositoryName": "Delta Cloud Vol01",

       "providerRepositoryUid": "1ca14917-1b46-422d-b536-4baba4fe92db",

       "storageQuota": 300,

       "storageQuotaUnits": "GB",

       "vMsQuota": 0,

       "quotasAreUnlimited": false,

       "serversQuota": 3,

       "workstationsQuota": 3,

       "trafficQuota": 0,

       "trafficQuotaUnits": "GB",

       "wanAccelerationEnabled": true,

       "usedStorageQuota": 10.6,

       "usedStorageQuotaUnits": "GB",

       "usedTrafficQuota": 1.9,

       "usedTrafficQuotaUnits": "MB",

       "intervalStartTime": "2019-03-22T00:00:00Z",

       "intervalEndTime": "2019-03-28T00:00:00Z",

       "_links": {

         "self": {

           "href": "https://vac.tech.local:1281/v2/tenants/2/backupResources/1"

         },

         "backupRepositories": {

           "href": "https://vac.tech.local:1281/v2/backupRepositories/7"

         },

         "wanAccelerators": {

           "href": "https://vac.tech.local:1281/v2/wanAccelerators/4512013c-376b-47db-8837-286399790ca8"

         }

       }

     },

    {

       "id": 2,

       "cloudRepositoryName": "Delta Cloud Vol02",

       "providerRepositoryUid": "5a096adc-0164-4fd2-8ff8-79fce99ad11e",

       "storageQuota": 300,

       "storageQuotaUnits": "GB",

       "vMsQuota": 0,

       "quotasAreUnlimited": false,

       "serversQuota": 2,

       "workstationsQuota": 5,

       "trafficQuota": 0,

       "trafficQuotaUnits": "GB",

       "wanAccelerationEnabled": true,

       "usedStorageQuota": 8.5,

       "usedStorageQuotaUnits": "GB",

       "usedTrafficQuota": 1.2,

       "usedTrafficQuotaUnits": "MB",

       "intervalStartTime": "2019-03-25T00:00:00Z",

       "intervalEndTime": "2019-03-28T00:00:00Z",

       "_links": {

         "self": {

           "href": "https://vac.tech.local:1281/v2/tenants/2/backupResources/2"

         },

         "backupRepositories": {

           "href": "https://vac.tech.local:1281/v2/backupRepositories/7"

         },

         "wanAccelerators": {

           "href": "https://vac.tech.local:1281/v2/wanAccelerators/4512013c-376b-47db-8837-286399790ca8"

         }

       }

     }

    ]

    I want to report a typo

    There is a misspelling right here:

     

    I want to let the Veeam Documentation Team know about that.