Get a Company Backup Resource
You can get a representation of a company backup resource with the specified ID.
Request
To get a representation of a company backup resource in Veeam Service Provider Console, send the GET HTTPS request to the URL of the /tenants/{ID}/backupResources/{ID} resource.
HTTP Request
Request Headers
The request header must contain the authorization token.
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/{ID} resource.
Example
The following example returns a representation of a backup resource with ID 1 configured for a company with ID 2.
Request: GET https://localhost:1281/v2/tenants/2/backupResources/1
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" } } } |