Replace a Company Replication Resource
You can change parameters of a specific company replication resource by replacing it in Veeam Availability Console configuration.
Request
To replace a company replication resource in Veeam Availability Console, send the PUT HTTPS request to the URL of the /tenants/{ID}/replicaResources/{ID} resource.
HTTP Request
PUT https://<Availability-Console>:1281/v2/tenants/{ID}/replicaResources/{ID} |
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 replication resource that must be added to Veeam Availability Console:
- hardwarePlanId
- 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
The following example replaces a replication resource with ID 94e53bbb-64e0-4e41-8245-3d7bcee2236d.
Request: PUT https://localhost:1281/v2/tenants/2/replicaResources/94e53bbb-64e0-4e41-8245-3d7bcee2236d
Request Header: Content-Type: application/json Authorization: Bearer <Access-Token>
Request Body: { "hardwarePlanId": "1332c8cc-c669-41a7-8d4d-a89a11c79083", "isWanAccelerationEnabled": true, "wanAcceleratorUid": "a2a38062-1263-4c61-84e6-7dac83e79bd5" }
Response Code: 201 Created
Response Body: "Replica resources have been replaced." |