This is an archive version of the document. To get the most up-to-date information, see the current version.

Editing Worker Configuration by Worker Configuration ID

This section explains how to edit an existing worker configuration.

Request

PUT https://<hostname>/api/v1/workerConfiguration/{workerConfigurationId}

Request Headers

The request header must contain an authorization token of the current session.

Request Parameters

The following parameters must be posted as URL.

Parameter

Description

workerConfigurationId

The identification numbers of the worker configuration. Can be obtained as described in Getting Worker Configuration

Request Body

Property

Type

Description

minInstances

integer

Sets the minimum allowed number of instances that might be deployed in accordance with the worker configuration.

maxInstances

integer

Sets the maximum allowed number of instances that might be deployed in accordance with the worker configuration.

subnet

string

Sets the subnetwork name.

virtualNetworkResourceId

string

Sets the identification number of the virtual network that you want to use. Can be obtained as described in Getting Worker Configuration.

regionId

string

Sets the identification number of the Azure region that you want to use. Can be obtained as described in Getting Worker Configuration.

networkSecurityGroupId

string

Sets the identification number of the network security group that you want to use. Can be obtained as described in Getting Worker Configuration.

virtualMachineType

string

Sets the VM type.

Request Example

Request:

POST https://<hostname>/api/v1/workerConfiguration

 

Request Header:

Authorization: Bearer <Access-Token>

 

Request Body:

{

 "minInstances": 1,

 "maxInstances": 10,

 "subnet": "veeambackup",

 "virtualNetworkResourceId": "/subscriptions/3a9a8330-7bbc-4b03-9c68-15d674fbc809/resourcegroups/jenkins-abc/providers/microsoft.network/virtualnetworks/vba_vnet-eastus-0",

 "regionId": "eastus",

 "networkSecurityGroupId": "/subscriptions/3a9a8330-7bbc-4b03-9c68-15d674fbc809/resourcegroups/cpm-backup-martin/providers/microsoft.network/networksecuritygroups/controller-nsg",

 "virtualMachineType": "Standard_A2"

}

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 HTTPS headers.

Header

Description

Content-length

The length of the response body.

Content-type

The media type and syntax of the response body message: application/json; charset=utf-8

Response Body

None.

I want to report a typo

There is a misspelling right here:

 

I want to let the Veeam Documentation Team know about that.