This is an archive version of the document. To get the most up-to-date information, see the current version.

Create a Company Backup Resource

In this article

    You can add a backup resource into Veeam Availability Console configuration.

    Request

    To add a backup resource in Veeam Availability Console, send the POST HTTPS request to the URL of the /tenants/{ID}/backupResources resource.

    HTTP Request

    POST https://<Availability-Console>:1281/v2/tenants/{ID}/backupResources

    Request Headers

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

    Request Body

    In the request body, the client must send the following properties for the backup resource that must be added to Veeam Availability Console:

    • backupRepositoryUid
    • cloudRepositoryFriendlyName
    • quota
    • isWanAccelerationEnabled
    • wanAcceleratorUid

    Response

    The server returns the following response to the client.

    Response Code

    A successfully completed operation returns response code 201 Created.

    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 status and a message for an action.

    Example Create a Company Backup Resource

    The following example adds a new backup resource into Veeam Availability Console configuration.

    Request:

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

     

    Request Header:

    Content-Type: application/json

    Authorization: Bearer <Access-Token>

     

    Request Body:

     {

       "backupRepositoryUid": "88788f7e-d8f5-4ea4-bc4f-9b3f5403bcac",

       "cloudRepositoryFriendlyName": "Delta Cloud Vol01",

       "quota": {

         "storageGb": 300,

         "quotasIsUnlimited": false

         "vms": -1,

         "workstations": -1,

         "servers": -1

       },

       "isWanAccelerationEnabled": true,

       "wanAcceleratorUid": "4512013c-376b-47db-8837-286399790ca8"

     }

     

    Response Code:

    201 Created

    I want to report a typo

    There is a misspelling right here:

     

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