Get Company Replication Resources
You can get a representation of a collection of all cloud replication resources available to a company with the specified ID.
Request
To get all cloud replication resources of a company in Veeam Service Provider Console, send the GET HTTPS request to the URL of the /tenants/{ID}/replicaResources collection.
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}/replicaResources collection.
Example
The following request returns all cloud replication resources available in Veeam Service Provider Console for a company with ID 2.
Request: GET https://localhost:1281/v2/tenants/2/replicaResources
Request Header: Authorization: Bearer <Access-Token>
Response Code: 200 Success
Response Body: [ { "id": "94e53bbb-64e0-4e41-8245-3d7bcee2236d", "wanAccelerationEnabled": true, "wanAcceleratorId": "320b66e1-b0ba-4c3d-83b9-d275a50c1f26", "hardwarePlanId": "64716b59-fde7-42a1-976c-737e78a694de" "failoverCapabilitiesEnabled": true, "publicAllocationEnabled": true, "numberOfPublicIps": 2, "_links": { "self": { "href": "https://vac.tech.local:1281/v2/tenants/2/replicaresources/94e53bbb-64e0-4e41-8245-3d7bcee2236d" }, "hardwarePlans": { "href": "https://vac.tech.local:1281/v2/hardwarePlans/1332c8cc-c669-41a7-8d4d-a89a11c79083" }, "wanAccelerators": { "href": "https://vac.tech.local:1281/v2/wanAccelerators/e8baf0ee-3919-49dc-894e-dbacef8eecd8" }, "networkExtensionAppliance": [ { "href": "https://vac.tech.local:1281/v2/tenants/2/networkextensionAppliance/BackupTenantNetworkAppliance%3abd96471c-70c6-4228-99a4-e55060ed07181332c8cc-c669-41a7-8d4d-a89a11c79083" } ] } }, { "id": "7f1a9b49-8390-4626-9eed-1fe16729ac69", "wanAccelerationEnabled": false, "wanAcceleratorId": null, "hardwarePlanId": "ba97c4e3-34c0-43a9-990c-a9f4c67988ab" "failoverCapabilitiesEnabled": true, "publicAllocationEnabled": false, "numberOfPublicIps": 0, "_links": { "self": { "href": "https://vac.tech.local:1281/v2/tenants/2/replicaresources/7f1a9b49-8390-4626-9eed-1fe16729ac69" }, "hardwarePlans": { "href": "https://vac.tech.local:1281/v2/hardwarePlans/0691318f-2239-4a55-86b7-379f01707327" }, "networkExtensionAppliance": [ { "href": "https://vac.tech.local:1281/v2/tenants/2/networkextensionAppliance/BackupTenantNetworkAppliance%3ad3e18854-44e7-46e7-960e-81a4fd09c23b0691318f-2239-4a55-86b7-379f01707327" } ] } } ] |