Replace a Company Network Extension Alliance
You can change parameters of a specific network extension appliance 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:
- id
- name
- ipAddress
- defaultGateway
- dhcpEnabled
- subnetMask
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 BackupTenantNetworkAppliance:bd96471c-70c6-4228-99a4-e55060ed07181332c8cc-c669-41a7-8d4d-a89a11c79083.
Request: PUT https://localhost:1281/v2/tenants/2/replicaResources/BackupTenantNetworkAppliance:bd96471c-70c6-4228-99a4-e55060ed07181332c8cc-c669-41a7-8d4d-a89a11c79083
Request Header: Content-Type: application/json Authorization: Bearer <Access-Token>
Request Body: { "id": "BackupTenantNetworkAppliance:bd96471c-70c6-4228-99a4-e55060ed07181332c8cc-c669-41a7-8d4d-a89a11c79083", "name": "Network Extension Appliance Alpha_1(esx02)", "ipAddress": "172.17.53.100", "defaultGateway": "255.255.0.0", "dhcpEnabled": false, "subnetMask": "255.255.0.0" }
Response Code: 201
Response Body: "Network extension appliance has been replaced." |