Add Worker Configuration
You can add a worker configuration to the Veeam Backup for Microsoft Azure configuration database.
Request
To add a worker configuration, send the HTTP POST request to the /workerConfiguration endpoint.
HTTP Request
POST https://<hostname>/api/v2/workerConfiguration |
Request Headers
The request contains the following headers.
Header | Required | Value | Description |
---|---|---|---|
Authorization | Required | Bearer <Access-Token> | Authenticates a client who sends the request to the server. Must contain the access token for the current logon session in the Bearer <Access-Token> format. |
Request Body
To add the worker configuration, send the following parameters in the request body.
Parameter | Type | Description |
---|---|---|
minInstances | integer($int32) | The number of workers that Veeam Backup for Microsoft Azure must deploy before the backup and restore operation starts. |
maxInstances | integer($int32) | The maximum number of workers that Veeam Backup for Microsoft Azure can deploy and use simultaneously during backup and restore operations. |
subnet | string | Name of the subnet to which worker instances must be connected. |
virtualNetworkResourceId | string | Azure ID of a network resource group. |
regionId | string | System ID assigned to an Azure region where the worker configuration resides. |
networkSecurityGroupId | string | Azure ID of a network security group. |
virtualMachineType | string | Specify the size of the Azure VM where the worker instance is running. |
Set the parameter values in the following format:
{ "minInstances": 0, "maxInstances": 0, "subnet": "string", "virtualNetworkResourceId": "string", "regionId": "string", "networkSecurityGroupId": "string", "virtualMachineType": "string" } |
Response
The server returns the following response to the client.
Response Codes
A successfully completed operation returns a 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 | Value | Description |
---|---|---|
Content-length | integer | Identifies the length of the response body message, in bytes. |
Content-type |
| Identifies the media type of the response body message. |
Response Body
In the response body, Veeam Backup for Microsoft Azure returns a representation of the added worker configurations. The WorkerConfigurationV2 schema is used for the resource representation.
Example
The following request adds a worker configuration to the Veeam Backup for Microsoft Azure configuration database.
|