New Resources
The REST API v7 introduces new resource collections and operations that support new features released in the latest version of Veeam Backup for Microsoft Azure.
New Resource Collections
The following new resource collections were introduced in the Veeam Backup for Microsoft Azure REST API v7:
- /cosmosDb — you can retrieve Cosmos DB accounts that reside in Azure regions selected in backup policy settings and can be protected by Veeam Backup for Microsoft Azure.
- /cloudInfrastructure/cosmosDbAccounts — you can retrieve information required to perform point-in-time restore for Cosmos DB accounts.
- /protectedItem/cosmosDb — you can retrieve Cosmos DB accounts protected by Veeam Backup for Microsoft Azure.
- /policies/cosmosdb — you can retrieve Cosmos DB backup policies configured in Veeam Backup for Microsoft Azure.
- /policies/cosmosdb/estimateCost — you can calculate the estimated monthly cost of using Microsoft Azure resources to protect Cosmos DB accounts.
- /restorePoints/cosmosdb — you can retrieve restore points created for Cosmos DB accounts.
New Operations
The following new operations were added to the existing resource collections in the Veeam Backup for Microsoft Azure REST API v7:
- HTTP POST /api/v7/protectedItem/vnet/import — imports all virtual network configuration backup copies stored in backup repositories to the Veeam Backup for Microsoft Azure configuration database.
- HTTP POST /api/v7/workers/networkConfiguration/setWorkerDeploymentOptions — 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.
- HTTP POST /api/v7/configuration/overrideownership — allows you to import the backup repositories with the specified IDs to the current backup appliance.
- HTTP GET /api/v7/jobSessions/{restoreJobSessionId}/restoredCosmosDbAccounts — retrieves a list of Cosmos DB accounts restored during the restore session with the specified ID.