- About Veeam Backup for Microsoft Azure REST API
- Overview
- How To
- Changelog
- Authorization
- Availability Sets
- Availability Zones
- Asynchronous Operations
- Azure Key Vaults
- Azure Network Security Groups
- Azure Regions
- Azure Resource Groups
- Service Accounts
- getGet Collection of Service Accounts
- getGet Service Account Data
- delRemove Service Account
- postVerify Service Account Permissions
- postExport Service Account Required Permissions
- postExport Permissions by Application
- postExport Permissions by Token
- postExport Collection of Service Accounts
- postGet List of Tenants by Token
- postGet List of Subscriptions by Application
- postGet List of Microsoft Entra Groups
- postValidate User
- postAdd Service Account Using Existing Application
- putEdit Service Account Created Using Existing Application
- putValidate Editing of Service Account Created Using Existing Application
- getGet Service Accounts Suitable for Worker Management
- putSpecify Service Account for Worker Management
- Azure SQL Elastic Pools
- Azure Storage Accounts
- Azure Subscriptions
- Azure Tags
- Microsoft Entra Tenants
- Azure Virtual Networks
- Azure VM Schedule-Based Backup Policies
- getGet Collection of Azure VM Schedule-Based Backup Policies
- postCreate Backup Policy
- getGet Backup Policy Data
- putModify Backup Policy
- delRemove Backup Policy
- getGet Resources Selected for Backup Policy
- getGet Azure Regions Specified in Policy Settings
- getGet Resources Excluded from Backup Policy
- postSet Backup Policy Priority
- postEnable Backup Policy
- postDisable Backup Policy
- postStart Backup Policy
- postStop Backup Policy
- postResets Backup Policy CBT
- postExport Backup Policies
- getGet Collection of Protected Items
- getGet Resources Protected by Backup Policy
- Azure VM SLA-Based Backup Policies
- getGet Collection of SLA-Based Backup Policies
- postCreate SLA-Based Backup Policy
- postExport Collection of SLA-Based Backup Policies
- getGet SLA-Based Backup Policy Data
- putModify SLA-Based Backup Policy
- delRemove SLA-Based Backup Policy
- getGet SLA Compliance Information
- getGet Resources Protected by SLA-Based Backup Policy
- getGet Azure Regions Specified in SLA-Based Backup Policy Settings
- getGet Resources Excluded from SLA-Based Backup Policy
- postSet SLA-Based Backup Policy Priority
- postEnable SLA-Based Backup Policy
- postDisable SLA-Based Backup Policy
- getGet Collection of Protected Items
- getGet Resources Protected by SLA-Based Backup Policy
- postCalculate Estimated Cost of SLA-Based Backup Policy
- postExport Estimation Cost Report
- Azure VM Policy Cost Estimation
- Azure VMs
- Azure VM Sizes
- Azure VMs Protected by Veeam Backup for Microsoft Azure
- getGet Collection of Protected Azure VMs
- getGet Protected Azure VM Data
- postExport Collection of Protected Azure VMs
- postRemove Backups of Protected Azure VM
- postRemove Snapshots of Protected Azure VM
- postRemove Backups of Protected Azure VMs
- postRemove Snapshots of Protected Azure VMs
- postRemove Manual Snapshots of Protected Azure VMs
- postRemove Manual Snapshots of Protected Azure VM
- Azure VM Restore Points
- getGet Azure VM Restore Points
- getGet Azure VM Restore Point Data
- delRemove Azure VM Restore Point
- postPerform Virtual Disk Restore
- postPerform Azure VM Restore
- postPerform Azure VM File-Level Restore
- postRetrieve Data from Archive
- postExtend Data Availability Period
- getGet Collection of Virtual Disk Snapshots
- postVirtual Disk Snapshots Rescan
- getGet Collection of Azure VM Snapshots
- Backup Repositories
- getGet Collection of Backup Repositories
- postAdd Backup Repository
- getGet Backup Repository Data
- putModify Backup Repository Settings
- delRemove Backup Repository
- postGet Backup Repository Metadata
- postVerify Backup Repository Password
- postExport Collection of Backup Repositories
- getValidate Repository Deletion
- Configuration
- Configuration Backup
- getGet Backup Appliance Statistics
- postCreate Configuration Backup
- getGet Configuration Backup Settings
- putModify Configuration Backup Settings
- postStart Configuration Backup Export
- getCheck Status of Configuration Backup Export
- postDownload Configuration Backup File
- getGet Configuration Backup Restore Points
- getGet Configuration Backup Restore Point Data
- delRemove Configuration Backup Restore Point
- Cosmos DB Accounts
- Cosmos DB Account Point-in-Time Restore Information
- Cosmos DB Accounts Protected by Veeam Backup for Microsoft Azure
- getGet Collection of Protected Cosmos DB Accounts
- getGet Protected Cosmos DB Account Data
- postExport Collection of Protected Cosmos DB Accounts
- postRemove Backups of Protected Cosmos DB Account
- postRemove Manual Backups of Protected Cosmos DB Account
- postRemove Continuous Backups of Protected Cosmos DB Account
- postPerform Cosmos DB Account Point-in-time Restore
- Cosmos DB Backup Policies
- getGet Collection of Cosmos DB Backup Policies
- postCreate Backup Policy
- getGet Backup Policy Data
- putModify Backup Policy
- delRemove Backup Policy
- getGet Resources Selected for Backup Policy
- getGet Azure Regions Specified in Policy Settings
- getGet Resources Excluded from Backup Policy
- postSet Backup Policy Priority
- postEnable Backup Policy
- postDisable Backup Policy
- postStart Backup Policy
- postStop Backup Policy
- postExport Backup Policies
- getGet Collection of Protected Items
- getGet Resources Protected by Backup Policy
- Cosmos DB Policy Cost Estimation
- Cosmos DB Restore Points
- File-Level Recovery
- File Share Backup Policies
- getGet Collection of File Share Backup Policies
- postCreate Backup Policy
- getGet Backup Policy Data
- putModify Backup Policy
- delRemove Backup Policy
- getGet Resources Selected for Backup Policy
- getGet Azure Regions Specified in Policy Settings
- getGet Resources Excluded from Backup Policy
- postSet Backup Policy Priority
- postEnable Backup Policy
- postDisable Backup Policy
- postStart Backup Policy
- postStop Backup Policy
- postExport Backup Policies
- getGet Collection of Protected Items
- getGet Resources Protected by Backup Policy
- File Share Policy Cost Estimation
- File Share Restore Points
- File Shares
- File Shares Protected by Veeam Backup for Microsoft Azure
- Job Sessions
- getGet Collection of Sessions
- getGet Retention Session Data
- getGet Backup Session Data
- getGet Health Check Session Data
- getGet Restore Session Data
- getGet SQL Restore Session Data
- getGet Azure VM File-Level Restore Session Data
- getGet File Share File-Level Restore Session Data
- getGet Virtual Network Configuration Restore Session Data
- getGet Session Data
- getGet Session Log Details
- postStop Session
- postExport Collection of Sessions
- getGet Cosmos DB Restore Session Data
- License
- License Agreements
- Overview
- Retention Settings
- Security Certificates
- SLA Details
- SLA Templates
- SMTP and Database Accounts
- Storage Templates
- SQL Backup Policies
- getGet Collection of SQL Backup Policies
- postCreate Backup Policy
- getGet Backup Policy Data
- putModify Backup Policy
- delRemove Backup Policy
- getGet Resources Selected for Backup Policy
- getGet Azure Regions Specified in Policy Settings
- getGet Resources Excluded from Backup Policy
- postSet Backup Policy Priority
- postCheck Configuration of Backup Policy
- postEnable Backup Policy
- postDisable Backup Policy
- postStart Backup Policy
- postStop Backup Policy
- postExport Backup Policies
- getGet Collection of Protected Items
- getGet Resources Protected by Backup Policy
- SQL Databases
- SQL Databases Protected by Veeam Backup for Microsoft Azure
- SQL Policy Cost Estimation
- SQL Restore Points
- SQL Servers
- SSO Settings
- System
- Users
- Virtual Network Configuration Backup Policy
- getGet Virtual Network Configuration Backup Policy
- putModify Virtual Network Configuration Backup Policy
- postStart Virtual Network Configuration Backup Policy
- postStop Virtual Network Configuration Backup Policy
- postEnable Virtual Network Configuration Backup Policy
- postDisable Virtual Network Configuration Backup Policy
- postExport Virtual Network Configuration Backup Policy
- Virtual Network Configuration Protected by Veeam Backup for Microsoft Azure
- Virtual Network Configuration Restore Points
- Workers
- getGet Collection of Worker Instances
- delRemove Worker Instance
- postExport Collection of Worker Instances
- getGet Worker Instance Statistics
- getGet Collection of Worker Configurations
- postAdd Worker Configuration
- getGet Worker Configuration Data
- putModify Worker Configuration
- delRemove Worker Configuration
- postExport Worker Configurations
- postSpecify Worker Location and Service Account
- getGet Collection of Worker Profiles
- postAdd Worker Profiles
- getGet Worker Profiles for Region
- putModify Worker Profiles
- delRemove Worker Profiles
- postExport Worker Profiles
- getGet Worker Custom Tags
- putModify Worker Custom Tags
The /workers
resource collection represents worker configurations and profiles added to Veeam Backup for Microsoft Azure.
Get Collection of Worker Instances
The HTTP GET request to the /workers
endpoint retrieves a list of worker instances currently launched by Veeam Backup for Microsoft Azure.
query Parameters
SearchPattern | string or null Returns only those items of a resource collection whose names match the specified search pattern in the parameter value. x-veeam-parameter-group: WorkerOptions |
Offset | integer <int32> >= 0 Specifies the first N items of a resource collection that will be excluded from the response. x-veeam-parameter-group: Veeam.Azure.REST.RequestQuery.V2.PageProperties |
Limit | integer <int32> >= -1 Specifies the maximum number of items of a resource collection that will be returned in the response. x-veeam-parameter-group: Veeam.Azure.REST.RequestQuery.V2.PageProperties |
OK
Bad Request
Unauthorized
Forbidden
- curl
curl -i -X GET \ 'https://123.123.123.123/api/v8/workers?SearchPattern=string&Offset=0&Limit=-1' \ -H 'Authorization: YOUR_API_KEY_HERE'
- 200
- 400
- 401
- 403
{- "offset": 0,
- "limit": 0,
- "totalCount": 0,
- "_links": {
}, - "results": [
- {
- "resourceId": "string",
- "name": "string",
- "host": "string",
- "network": "string",
- "subnetName": "string",
- "instanceType": "string",
- "availabilityZone": "string",
- "status": "Creating",
- "region": "string",
- "regionId": "string",
- "profile": "Small"
}
]
}
Remove Worker Instance
The HTTP DELETE request to the /workers/{vmName}
endpoint removes a worker instance with the specified name from the Microsoft Azure environment.
path Parameters
vmName required | string Specifies the name of an Azure VM that is launched as a worker instance. |
No Content
Unauthorized
Forbidden
- curl
curl -i -X DELETE \ 'https://123.123.123.123/api/v8/workers/{vmName}' \ -H 'Authorization: YOUR_API_KEY_HERE'
- 401
- 403
{- "extensions": { },
- "status": 0,
- "title": "string",
- "detail": "string",
- "type": "string"
}
Export Collection of Worker Instances
The HTTP POST request to the /workers/export
endpoint exports a list of worker instances to a .CSV or an .XML file.
header Parameters
Accept | string or null Specifies a media type of representation of the exported data. The default value is text/csv media type. |
Request Body schema: application/json
vmNames | Array of strings or null Specifies the Azure VM names of worker instances whose details will be exported. |
OK
Unauthorized
Forbidden
- Payload
- curl
{- "vmNames": [
- "string"
]
}
- 401
- 403
{- "extensions": { },
- "status": 0,
- "title": "string",
- "type": "string",
- "licenseAgreementAcceptanceRequired": true
}
Get Worker Instance Statistics
The HTTP GET request to the /workers/statistics
endpoint retrieves the Veeam Backup for Microsoft Azure statistics on worker instances.
OK
Unauthorized
Forbidden
- curl
curl -i -X GET \ https://123.123.123.123/api/v8/workers/statistics \ -H 'Authorization: YOUR_API_KEY_HERE'
- 200
- 401
- 403
{- "countOfWorkers": 0,
- "runningWorkers": 0,
- "totalCycleTime": "string",
- "usedWorkers": 0,
- "deployedWorkers": 0
}
Get Collection of Worker Configurations
The HTTP GET request to the /workers/networkConfiguration
endpoint retrieves a list of worker configurations added to Veeam Backup for Microsoft Azure.
query Parameters
RegionId | string or null Returns only worker configurations added for an Azure region with the specified ID. x-veeam-parameter-group: WorkerNetworkConfigurationOptions |
SearchPattern | string or null Returns only those items of a resource collection whose names match the specified search pattern in the parameter value. x-veeam-parameter-group: WorkerNetworkConfigurationOptions |
Offset | integer <int32> >= 0 Specifies the first N items of a resource collection that will be excluded from the response. x-veeam-parameter-group: Veeam.Azure.REST.RequestQuery.V2.PageProperties |
Limit | integer <int32> >= -1 Specifies the maximum number of items of a resource collection that will be returned in the response. x-veeam-parameter-group: Veeam.Azure.REST.RequestQuery.V2.PageProperties |
OK
Bad Request
Unauthorized
Forbidden
- curl
curl -i -X GET \ 'https://123.123.123.123/api/v8/workers/networkConfiguration?RegionId=string&SearchPattern=string&Offset=0&Limit=-1' \ -H 'Authorization: YOUR_API_KEY_HERE'
- 200
- 400
- 401
- 403
{- "offset": 0,
- "limit": 0,
- "totalCount": 0,
- "_links": {
}, - "results": [
- {
- "virtualNetwork": {
- "name": "string",
- "resourceId": "string",
- "subnet": "string",
- "regionId": "string",
- "resourceGroupId": "string",
- "subscriptionId": "d079718b-ff63-45dd-947b-4950c023750f",
- "resourceGroupName": "string"
}, - "region": {
- "id": "string",
- "name": "string",
- "resourceId": "string"
}, - "networkSecurityGroup": {
- "id": "string",
- "name": "string",
- "regionId": "string",
- "resourceGroupName": "string",
- "subscriptionId": "string"
}, - "forbidPublicIp": true,
- "tenantId": "f97df110-f4de-492e-8849-4a6af68026b0",
- "tenantName": "string",
- "subscriptionId": "d079718b-ff63-45dd-947b-4950c023750f",
- "subscriptionName": "string",
- "resourceGroup": "string",
- "configurationType": "Automatic",
}
]
}
Add Worker Configuration
The HTTP POST request to the /workers/networkConfiguration
endpoint creates a new worker configuration used to launch worker instances in a specific Azure region.
Request Body schema: application/jsonrequired
regionId required | string Specifies a Microsoft Azure ID assigned to a region where the worker configuration will reside. |
subnet required | string Specifies the name of the subnet to which worker instances will be connected. |
virtualNetworkResourceId required | string Specifies the complete resource ID containing all information on the virtual network where the worker resides. |
networkSecurityGroupId | string or null Specifies the Microsoft Azure ID assigned to a network security group. |
forbidPublicIp | boolean or null Defines whether to assign only private IP addresses to worker instances used for file-level recovery operations. |
tenantId | string or null <uuid> Specifies the Microsoft Azure ID assigned to a tenant in which worker instances will be launched. If no value is specified for the property, Veeam Backup for Microsoft Azure will use the tenant where the backup appliance is deployed. Consider that if private network deployment is enabled on the backup appliance, you can only specify a tenant where the backup appliance is deployed. |
subscriptionId | string or null <uuid> Specifies the Microsoft Azure ID assigned to a subscription in which worker instances will be launched. Note that the subscription must belong to the tenant specified in the value of the |
resourceGroup | string or null Specifies the name of the resource group in which the worker instances will be launched. Note that the resource group must belong to the subscription specified in the |
Created
Bad Request
Unauthorized
Forbidden
Conflict
Client Error
- Payload
- curl
{- "subnet": "string",
- "virtualNetworkResourceId": "string",
- "regionId": "string",
- "networkSecurityGroupId": "string",
- "forbidPublicIp": true,
- "tenantId": "f97df110-f4de-492e-8849-4a6af68026b0",
- "subscriptionId": "d079718b-ff63-45dd-947b-4950c023750f",
- "resourceGroup": "string"
}
- 201
- 400
- 401
- 403
- 409
- 415
{- "virtualNetwork": {
- "name": "string",
- "resourceId": "string",
- "subnet": "string",
- "regionId": "string",
- "resourceGroupId": "string",
- "subscriptionId": "d079718b-ff63-45dd-947b-4950c023750f",
- "resourceGroupName": "string"
}, - "region": {
- "id": "string",
- "name": "string",
- "resourceId": "string"
}, - "networkSecurityGroup": {
- "id": "string",
- "name": "string",
- "regionId": "string",
- "resourceGroupName": "string",
- "subscriptionId": "string"
}, - "forbidPublicIp": true,
- "tenantId": "f97df110-f4de-492e-8849-4a6af68026b0",
- "tenantName": "string",
- "subscriptionId": "d079718b-ff63-45dd-947b-4950c023750f",
- "subscriptionName": "string",
- "resourceGroup": "string",
- "configurationType": "Automatic",
}
Get Worker Configuration Data
The HTTP GET request to the /workers/networkConfiguration/{regionId}
endpoint retrieves information on worker configurations added for a specific Azure region.
path Parameters
regionId required | string Specifies a Microsoft Azure ID assigned to a region for which worker configurations will be returned. |
query Parameters
subscriptionId | string <uuid> Specifies a Microsoft Azure ID assigned to a subscription for which the worker configuration will be returned. |
OK
Bad Request
Unauthorized
Forbidden
Not Found
- curl
curl -i -X GET \ 'https://123.123.123.123/api/v8/workers/networkConfiguration/{regionId}?subscriptionId=497f6eca-6276-4993-bfeb-53cbbbba6f08' \ -H 'Authorization: YOUR_API_KEY_HERE'
- 200
- 400
- 401
- 403
- 404
{- "virtualNetwork": {
- "name": "string",
- "resourceId": "string",
- "subnet": "string",
- "regionId": "string",
- "resourceGroupId": "string",
- "subscriptionId": "d079718b-ff63-45dd-947b-4950c023750f",
- "resourceGroupName": "string"
}, - "region": {
- "id": "string",
- "name": "string",
- "resourceId": "string"
}, - "networkSecurityGroup": {
- "id": "string",
- "name": "string",
- "regionId": "string",
- "resourceGroupName": "string",
- "subscriptionId": "string"
}, - "forbidPublicIp": true,
- "tenantId": "f97df110-f4de-492e-8849-4a6af68026b0",
- "tenantName": "string",
- "subscriptionId": "d079718b-ff63-45dd-947b-4950c023750f",
- "subscriptionName": "string",
- "resourceGroup": "string",
- "configurationType": "Automatic",
}
Modify Worker Configuration
The HTTP PUT request to the /workers/networkConfiguration/{regionId}
endpoint updates worker configuration settings added for a specific Azure region.
path Parameters
regionId required | string Specifies a Microsoft Azure ID assigned to a region for which a worker configuration is added. |
Request Body schema: application/jsonrequired
regionId required | string Specifies a Microsoft Azure ID assigned to a region where the worker configuration will reside. |
subnet required | string Specifies the name of the subnet to which worker instances will be connected. |
virtualNetworkResourceId required | string Specifies the complete resource ID containing all information on the virtual network where the worker resides. |
networkSecurityGroupId | string or null Specifies the Microsoft Azure ID assigned to a network security group. |
forbidPublicIp | boolean or null Defines whether to assign only private IP addresses to worker instances used for file-level recovery operations. |
tenantId | string or null <uuid> Specifies the Microsoft Azure ID assigned to a tenant in which worker instances will be launched. If no value is specified for the property, Veeam Backup for Microsoft Azure will use the tenant where the backup appliance is deployed. Consider that if private network deployment is enabled on the backup appliance, you can only specify a tenant where the backup appliance is deployed. |
subscriptionId | string or null <uuid> Specifies the Microsoft Azure ID assigned to a subscription in which worker instances will be launched. Note that the subscription must belong to the tenant specified in the value of the |
resourceGroup | string or null Specifies the name of the resource group in which the worker instances will be launched. Note that the resource group must belong to the subscription specified in the |
No Content
Bad Request
Unauthorized
Forbidden
Not Found
Client Error
- Payload
- curl
{- "subnet": "string",
- "virtualNetworkResourceId": "string",
- "regionId": "string",
- "networkSecurityGroupId": "string",
- "forbidPublicIp": true,
- "tenantId": "f97df110-f4de-492e-8849-4a6af68026b0",
- "subscriptionId": "d079718b-ff63-45dd-947b-4950c023750f",
- "resourceGroup": "string"
}
- 400
- 401
- 403
- 404
- 415
{- "extensions": { },
- "status": 0,
- "title": "string",
- "detail": "string",
- "type": "string"
}
Remove Worker Configuration
The HTTP DELETE request to the /workers/networkConfiguration/{regionId} removes a worker configuration for a specific Azure region.
path Parameters
regionId required | string Specifies a Microsoft Azure ID assigned to a region for which a worker configuration is deleted. |
query Parameters
subscriptionId | string Specifies a Microsoft Azure ID assigned to a subscription for which a worker configuration is deleted. |
Accepted
Bad Request
Unauthorized
Forbidden
Not Found
- curl
curl -i -X DELETE \ 'https://123.123.123.123/api/v8/workers/networkConfiguration/{regionId}?subscriptionId=string' \ -H 'Authorization: YOUR_API_KEY_HERE'
- 202
- 400
- 401
- 403
- 404
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "startTime": "2019-08-24T14:15:22Z",
- "status": "Canceled",
- "error": {
- "type": "string",
- "title": "string",
- "status": 0,
- "detail": "string",
- "instance": "string",
- "extensions": {
- "property1": { },
- "property2": { }
}
}, - "_links": {
}, - "result": {
- "busyWorkersExists": true,
- "remainingNetworkInterfaceIds": [
- "string"
], - "deletionSuccessfull": true,
- "virtualNetworkName": "string"
}
}
Export Worker Configurations
The HTTP POST request to the /workers/networkConfiguration/export/
endpoint exports a list of worker configurations to a .CSV or an .XML file.
header Parameters
Accept | string or null Specifies a media type of representation of the exported data. The default value is text/csv media type. |
Request Body schema: application/json
regionIds | Array of strings or null Specifies Azure IDs assigned to regions for which the worker configurations will be exported. |
OK
Unauthorized
Forbidden
- Payload
- curl
{- "regionIds": [
- "string"
]
}
- 401
- 403
{- "extensions": { },
- "status": 0,
- "title": "string",
- "type": "string",
- "licenseAgreementAcceptanceRequired": true
}
Specify Worker Location and Service Account
The HTTP POST request to the /workers/networkConfiguration/setWorkerDeploymentOptions
endpoint allows you to specify a service account that will be used to launch worker instances, and also a subscription and a resource group in which the worker instances will be launched.
query Parameters
azureAccountId | string or null <uuid> Specifies the system ID assigned in the Veeam Backup for Microsoft Azure REST API to a service account that will be used to launch worker instances. x-veeam-parameter-group: WorkerDeploymentOptions |
subscriptionId | string or null <uuid> Specifies a Microsoft Azure ID assigned to the subscription in which the worker instances will be launched. Note that the service account specified in the azureAccountId parameter must have the worker management permissions assigned in this subscription. For more information, see the Veeam Backup for Microsoft Azure User Guide. x-veeam-parameter-group: WorkerDeploymentOptions |
resourceGroupName | string or null Specifies the name of the resource group in which the worker instances will be launched. Note that the resource group must belong to the subscription specified in the subscriptionId parameter. x-veeam-parameter-group: WorkerDeploymentOptions |
No Content
Bad Request
Unauthorized
Forbidden
Not Found
- curl
curl -i -X POST \ 'https://123.123.123.123/api/v8/workers/networkConfiguration/setWorkerDeploymentOptions?azureAccountId=497f6eca-6276-4993-bfeb-53cbbbba6f08&subscriptionId=497f6eca-6276-4993-bfeb-53cbbbba6f08&resourceGroupName=string' \ -H 'Authorization: YOUR_API_KEY_HERE'
- 400
- 401
- 403
- 404
{- "detail": "string",
- "errors": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "status": 0,
- "title": "string",
- "traceId": "string",
- "type": "string"
}
Get Collection of Worker Profiles
The HTTP GET request to the /workers/profiles
endpoint retrieves a list of worker profiles added to Veeam Backup for Microsoft Azure.
query Parameters
RegionId | string or null Returns only worker profiles configured for an Azure region with the specified ID. x-veeam-parameter-group: WorkerProfileOptions |
SearchPattern | string or null Returns only those items of a resource collection whose names match the specified search pattern in the parameter value. x-veeam-parameter-group: WorkerProfileOptions |
Offset | integer <int32> >= 0 Specifies the first N items of a resource collection that will be excluded from the response. x-veeam-parameter-group: Veeam.Azure.REST.RequestQuery.V2.PageProperties |
Limit | integer <int32> >= -1 Specifies the maximum number of items of a resource collection that will be returned in the response. x-veeam-parameter-group: Veeam.Azure.REST.RequestQuery.V2.PageProperties |
OK
Bad Request
Unauthorized
Forbidden
- curl
curl -i -X GET \ 'https://123.123.123.123/api/v8/workers/profiles?RegionId=string&SearchPattern=string&Offset=0&Limit=-1' \ -H 'Authorization: YOUR_API_KEY_HERE'
- 200
- 400
- 401
- 403
{- "offset": 0,
- "limit": 0,
- "totalCount": 0,
- "_links": {
}, - "results": [
- {
- "minInstances": 0,
- "maxInstances": 0,
- "region": {
- "id": "string",
- "name": "string",
- "resourceId": "string"
}, - "virtualMachineSimpleType": "string",
- "virtualMachineSmallType": "string",
- "virtualMachineMediumType": "string",
- "virtualMachineLargeType": "string",
- "virtualMachineArchiveType": "string",
}
]
}
Add Worker Profiles
The HTTP POST request to the/workers/profiles
endpoint creates a new set of worker profiles.
Request Body schema: application/jsonrequired
regionId required | string Specifies a Microsoft Azure ID assigned to a region for which a set of worker profiles will be added. |
minInstances | integer <int32> >= 0 Specifies number of worker instances that are deployed in the specified region and kept in the Azure environment even when no operations are performed by Veeam Backup for Microsoft Azure. |
maxInstances | integer <int32> [ 1 .. 1000 ] Specifies a maximum number of worker instances that can be deployed in the specified region and used simultaneously to process Azure resources during backup and restore operations. |
virtualMachineSimpleType | string or null [Applies only if one single VM size will be used to launch all worker instances in the specified region] Specifies a profile used for backup, restore and archive operations. |
virtualMachineSmallType | string or null Specifies a profile used to create image-level backups and restore data if the total disk size of the processed Azure VM or the total size of the processed Azure SQL database is less than 100 GB. |
virtualMachineMediumType | string or null Specifies a profile used to create image-level backups and restore data if the total disk size of the processed Azure VM or the total size of the processed Azure SQL database is 100 GB - 1 TB. |
virtualMachineLargeType | string or null Specifies a profile used to create image-level backups and restore data if the total disk size of the processed Azure VM or the total size of the processed Azure SQL database is more than 1 TB. |
virtualMachineArchiveType | string Specifies a profile used to create archived backups. |
Create
Bad Request
Unauthorized
Forbidden
Conflict
Client Error
- Payload
- curl
{- "minInstances": 0,
- "maxInstances": 1,
- "regionId": "string",
- "virtualMachineSimpleType": "string",
- "virtualMachineSmallType": "string",
- "virtualMachineMediumType": "string",
- "virtualMachineLargeType": "string",
- "virtualMachineArchiveType": "string"
}
- 201
- 400
- 401
- 403
- 409
- 415
{- "minInstances": 0,
- "maxInstances": 0,
- "region": {
- "id": "string",
- "name": "string",
- "resourceId": "string"
}, - "virtualMachineSimpleType": "string",
- "virtualMachineSmallType": "string",
- "virtualMachineMediumType": "string",
- "virtualMachineLargeType": "string",
- "virtualMachineArchiveType": "string",
}
Get Worker Profiles for Region
The HTTP GET request to the /workers/profiles/{regionId}
endpoint retrieves information on a set of worker profiles added for a specific Azure region.
path Parameters
regionId required | string Specifies a Microsoft Azure ID assigned to a region for which a set of profiles is added. |
OK
Bad Request
Unauthorized
Forbidden
Not Found
- curl
curl -i -X GET \ 'https://123.123.123.123/api/v8/workers/profiles/{regionId}' \ -H 'Authorization: YOUR_API_KEY_HERE'
- 200
- 400
- 401
- 403
- 404
{- "minInstances": 0,
- "maxInstances": 0,
- "region": {
- "id": "string",
- "name": "string",
- "resourceId": "string"
}, - "virtualMachineSimpleType": "string",
- "virtualMachineSmallType": "string",
- "virtualMachineMediumType": "string",
- "virtualMachineLargeType": "string",
- "virtualMachineArchiveType": "string",
}
Modify Worker Profiles
The HTTP PUT request to the /workers/profiles/{regionId}
endpoint updates a set of worker profiles for a specific Azure region.
path Parameters
regionId required | string Specifies a Microsoft Azure ID assigned to a region for which a set of profiles is added. |
Request Body schema: application/jsonrequired
regionId required | string Specifies a Microsoft Azure ID assigned to a region for which a set of worker profiles will be added. |
minInstances | integer <int32> >= 0 Specifies number of worker instances that are deployed in the specified region and kept in the Azure environment even when no operations are performed by Veeam Backup for Microsoft Azure. |
maxInstances | integer <int32> [ 1 .. 1000 ] Specifies a maximum number of worker instances that can be deployed in the specified region and used simultaneously to process Azure resources during backup and restore operations. |
virtualMachineSimpleType | string or null [Applies only if one single VM size will be used to launch all worker instances in the specified region] Specifies a profile used for backup, restore and archive operations. |
virtualMachineSmallType | string or null Specifies a profile used to create image-level backups and restore data if the total disk size of the processed Azure VM or the total size of the processed Azure SQL database is less than 100 GB. |
virtualMachineMediumType | string or null Specifies a profile used to create image-level backups and restore data if the total disk size of the processed Azure VM or the total size of the processed Azure SQL database is 100 GB - 1 TB. |
virtualMachineLargeType | string or null Specifies a profile used to create image-level backups and restore data if the total disk size of the processed Azure VM or the total size of the processed Azure SQL database is more than 1 TB. |
virtualMachineArchiveType | string Specifies a profile used to create archived backups. |
No Content
Bad Request
Unauthorized
Forbidden
Not Found
Client Error
- Payload
- curl
{- "minInstances": 0,
- "maxInstances": 1,
- "regionId": "string",
- "virtualMachineSimpleType": "string",
- "virtualMachineSmallType": "string",
- "virtualMachineMediumType": "string",
- "virtualMachineLargeType": "string",
- "virtualMachineArchiveType": "string"
}
- 400
- 401
- 403
- 404
- 415
{- "extensions": { },
- "status": 0,
- "title": "string",
- "detail": "string",
- "type": "string"
}
Remove Worker Profiles
The HTTP DELETE request to the /workers/profiles/{regionId}
endpoint removes a set of worker profiles for a specific Azure region.
path Parameters
regionId required | string Specifies a Microsoft Azure ID assigned to a region for which a set of profiles is added. |
Accepted
Bad Request
Unauthorized
Forbidden
Not Found
- curl
curl -i -X DELETE \ 'https://123.123.123.123/api/v8/workers/profiles/{regionId}' \ -H 'Authorization: YOUR_API_KEY_HERE'
- 202
- 400
- 401
- 403
- 404
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "startTime": "2019-08-24T14:15:22Z",
- "status": "Canceled",
- "error": {
- "type": "string",
- "title": "string",
- "status": 0,
- "detail": "string",
- "instance": "string",
- "extensions": {
- "property1": { },
- "property2": { }
}
}, - "_links": {
}, - "result": {
- "busyWorkersExists": true,
- "deletionSuccessfull": true
}
}
Export Worker Profiles
The HTTP POST request to the /workers/profiles/export
endpoint exports a list of worker profiles to an .XML or .CSV file.
header Parameters
Accept | string or null Specifies a media type of representation of the exported data. The default value is text/csv media type. |
Request Body schema: application/json
regionIds | Array of strings or null Specifies a list of Azure IDs assigned to regions whose worker profiles will be exported. |
OK
Unauthorized
Forbidden
- Payload
- curl
{- "regionIds": [
- "string"
]
}
- 401
- 403
{- "extensions": { },
- "status": 0,
- "title": "string",
- "type": "string",
- "licenseAgreementAcceptanceRequired": true
}
Get Worker Custom Tags
The HTTP GET request to the /workers/customTags
endpoint retrieves a list of custom tags that are assigned to worker instances.
OK
Bad Request
Unauthorized
- curl
curl -i -X GET \ https://123.123.123.123/api/v8/workers/customTags \ -H 'Authorization: YOUR_API_KEY_HERE'
- 200
- 400
- 401
{- "tags": [
- {
- "key": "string",
- "value": "string"
}
]
}
Modify Worker Custom Tags
The HTTP PUT request to the /workers/customTags
endpoint updates a list of custom tags that must be assigned to worker instances.
Request Body schema: application/jsonrequired
Array of objects or null (WorkerTag) Information on each Azure tag assigned to worker instances. |
OK
Bad Request
Unauthorized
Forbidden
Client Error
- Payload
- curl
{- "tags": [
- {
- "key": "string",
- "value": "string"
}
]
}
- 400
- 401
- 403
- 415
{- "extensions": { },
- "status": 0,
- "title": "string",
- "detail": "string",
- "type": "string"
}