Getting Workers Sizes
This section explains how to get a list of available Azure VMs sizes that can be used as workers.
For more information about workers, see the Workers section of the Veeam Backup for Microsoft Azure User Guide.
Request
GET https://<hostname>/api/v1/cloudInfrastructure/virtualMachineWorkerSizes?region=<regionid> |
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 | Type | Description |
region | string | The identification numbers of the region. Can be obtained as described in Getting Regions. |
Request Body
None.
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
Property | Type | Description |
|---|---|---|
name | string | Shows the name of the VM size. |
subscriptionId | string | Shows the identification number of the subscription. |
maxDataDiskCount | integer | Shows the maximum number of hard drives. |
memoryInMB | integer | Shows the memory. |
numberOfCores | integer | Shows the number of available cores. |
osDiskSizeInMB | integer | Shows the disk size. |
resourceDiskSizeInMB | integer | Shows the resource size. |
pricePerHour | Contains the Price object. | |
_links | Dictionary of string [key] and Object [value] | Links to related resources (navigation property). |
Property | Type | Description |
|---|---|---|
value | integer | Shows the price. |
currency | string | Shows the currency. |
Example
Request: GET https://abc.ukwest.cloudapp.azure.com/api/v1/cloudInfrastructure/virtualMachineWorkerSizes?region=eastus
Request Header: Authorization: Bearer <Access-Token>
Response: 200 OK
Response Body: [ { "name": "Standard_B1ls", "subscriptionId": "3a9a8330-7bbc-4b03-9c68-15d674fbc809", "maxDataDiskCount": 2, "memoryInMB": 512, "numberOfCores": 1, "osDiskSizeInMB": 1047552, "resourceDiskSizeInMB": 4096, "pricePerHour": { "value": 0.0052, "currency": "USD" }, "_links": {"subscription": {"href": "https://abc.ukwest.cloudapp.azure.com/api/v1/cloudInfrastructure/subscriptions/3a9a8330-7bbc-4b03-9c68-15d674fbc809"}} }, { "name": "Standard_B1ms", "subscriptionId": "3a9a8330-7bbc-4b03-9c68-15d674fbc809", "maxDataDiskCount": 2, "memoryInMB": 2048, "numberOfCores": 1, "osDiskSizeInMB": 1047552, "resourceDiskSizeInMB": 4096, "pricePerHour": { "value": 0.0207, "currency": "USD" }, "_links": {"subscription": {"href": "https://abc.ukwest.cloudapp.azure.com/api/v1/cloudInfrastructure/subscriptions/3a9a8330-7bbc-4b03-9c68-15d674fbc809"}} } ] |