- 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 /jobSessions
resource collection represents statistics for every performed operation in Veeam Backup for Microsoft Azure.
Get Collection of Sessions
The HTTP GET request to the /jobSessions
endpoint retrieves a list of Veeam Backup for Microsoft Azure sessions.
query Parameters
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 |
PolicyId | string or null <uuid> Returns only sessions of a backup policy with the specified ID. x-veeam-parameter-group: RESTJobSessionFiltersV8 |
Filter | string or null Returns only sessions that match the specified filter in the parameter value. x-veeam-parameter-group: RESTJobSessionFiltersV8 |
Status | Array of strings or null (JobStatus) Returns only sessions with the specified status. x-veeam-parameter-group: RESTJobSessionFiltersV8 |
Types | Array of strings or null (JobSessionFilterType) Returns only sessions of the specified types. x-veeam-parameter-group: RESTJobSessionFiltersV8 |
FromUtc | string or null <date-time> Returns only sessions launched after the specified date and time. Note: The property value must be specified in the UTC time zone in the following format: YYYY-MM-DDTHH:MM:SSZ. x-veeam-parameter-group: RESTJobSessionFiltersV8 |
ToUtc | string or null <date-time> Returns only sessions launched before the specified date and time. Note: The property value must be specified in the UTC time zone in the following format: YYYY-MM-DDTHH:MM:SSZ. x-veeam-parameter-group: RESTJobSessionFiltersV8 |
ResourceId | string or null Retrieves only sessions that process an Azure resource with the specified ID. x-veeam-parameter-group: RESTJobSessionFiltersV8 |
OK
Bad Request
Unauthorized
Forbidden
- curl
curl -i -X GET \ 'https://123.123.123.123/api/v8/jobSessions?Offset=0&Limit=-1&PolicyId=497f6eca-6276-4993-bfeb-53cbbbba6f08&Filter=string&Status=Canceled&Types=BackupRetention&FromUtc=2019-08-24T14%3A15%3A22Z&ToUtc=2019-08-24T14%3A15%3A22Z&ResourceId=string' \ -H 'Authorization: YOUR_API_KEY_HERE'
- 200
- 400
- 401
- 403
{- "offset": 0,
- "limit": 0,
- "totalCount": 0,
- "_links": {
}, - "results": [
- {
- "id": "string",
- "type": "BackupRetention",
- "localizedType": "string",
- "executionStartTime": "2019-08-24T14:15:22Z",
- "executionStopTime": "2019-08-24T14:15:22Z",
- "executionDuration": "string",
- "status": "Canceled",
- "backupJobInfo": {
- "policyId": "2f5573e6-5ba4-48f2-a75d-df99c936463b",
- "policyName": "string",
- "policyType": "VirtualMachines",
- "protectedInstancesCount": 0,
- "policyRemoved": true
}, - "healthCheckJobInfo": {
- "policyId": "2f5573e6-5ba4-48f2-a75d-df99c936463b",
- "policyName": "string",
- "checkedInstancesCount": 0,
- "policyRemoved": true
}, - "restoreJobInfo": {
- "reason": "string",
- "backupPolicyDisplayName": "string"
}, - "fileLevelRestoreJobInfo": {
- "initiator": "string",
- "reason": "string",
- "flrLink": {
- "url": "string",
- "thumbprint": "string"
}, - "vmId": "string",
- "vmName": "string",
- "backupPolicyDisplayName": "string",
- "restorePointCreatedDateUtc": "2019-08-24T14:15:22Z",
- "isFlrSessionReady": true
}, - "fileShareFileLevelRestoreJobInfo": {
- "initiator": "string",
- "reason": "string",
- "flrLink": {
- "url": "string",
- "thumbprint": "string"
}, - "fileShareId": "string",
- "fileShareName": "string",
- "backupPolicyDisplayName": "string",
- "restorePointCreatedDateUtc": "2019-08-24T14:15:22Z"
}, - "repositoryJobInfo": {
- "repositoryId": "string",
- "repositoryName": "string",
- "repositoryRemoved": true
}, - "restorePointDataRetrievalJobInfo": {
- "restorePointId": "8c843d10-6d0f-4abe-b898-e1ba18b94f68",
- "sqlRestorePointId": "859c4224-81c0-43b0-8c6a-f09eb203fa33",
- "cosmosDbRestorePointId": "10233446-f8f4-4379-8a69-f08231b4f7b6",
- "initiator": "string",
- "instanceName": "string",
- "daysToKeep": 0,
- "dataRetrievalPriority": "Normal"
}, - "retentionJobInfo": {
- "deletedRestorePointsCount": 0
},
}
]
}
Get Retention Session Data
The HTTP GET request to the /session/{retentionSessionId}/deletedItems
endpoint retrieves a list of restore points removed during the retention session with the specified ID.
path Parameters
retentionJobSessionId required | string or null Specifies the system ID assigned to a retention session in the Veeam Backup for Microsoft Azure REST API. |
query Parameters
NameSearchPattern | 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: RetentionJobDeletedItemOptions |
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/jobSessions/{retentionJobSessionId}/deletedItems?NameSearchPattern=string&Offset=0&Limit=-1' \ -H 'Authorization: YOUR_API_KEY_HERE'
- 200
- 400
- 401
- 403
{- "offset": 0,
- "limit": 0,
- "totalCount": 0,
- "_links": {
}, - "results": [
- {
- "backupSizeBytes": 0,
- "snapshotTime": "2019-08-24T14:15:22Z",
- "repositoryId": "string",
- "repositoryName": "string",
- "resource": {
- "id": "string",
- "name": "string",
- "displayName": "string",
- "resourceGroupName": "string",
- "resourceType": "VirtualMachine",
- "regionId": "string",
- "regionName": "string",
- "subscriptionId": "d079718b-ff63-45dd-947b-4950c023750f",
- "subscriptionName": "string",
},
}
]
}
Get Backup Session Data
The HTTP GET request to the /jobSessions/{backupJobSessionId}/protectedItems
endpoint retrieves a list of Azure resources protected during the backup session with the specified ID.
path Parameters
backupJobSessionId required | string or null Specifies the system ID assigned to a backup session in the Veeam Backup for Microsoft Azure REST API. |
query Parameters
NameSearchPattern | 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: BackupJobProtectedItemOptions |
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/jobSessions/{backupJobSessionId}/protectedItems?NameSearchPattern=string&Offset=0&Limit=-1' \ -H 'Authorization: YOUR_API_KEY_HERE'
- 200
- 400
- 401
- 403
{- "offset": 0,
- "limit": 0,
- "totalCount": 0,
- "_links": {
}, - "results": [
- {
- "resource": {
- "id": "string",
- "name": "string",
- "displayName": "string",
- "resourceGroupName": "string",
- "resourceType": "VirtualMachine",
- "regionId": "string",
- "regionName": "string",
- "subscriptionId": "d079718b-ff63-45dd-947b-4950c023750f",
- "subscriptionName": "string",
}, - "resourceParent": {
- "id": "string",
- "name": "string"
}, - "runs": [
- {
- "jobSessionId": "string",
- "status": "Canceled",
- "startTime": "2019-08-24T14:15:22Z",
- "endTime": "2019-08-24T14:15:22Z",
- "rates": {
- "totalDataBytes": 0,
- "readDataBytes": 0,
- "processedDataBytes": 0,
- "transferredDataBytes": 0,
- "processingRateBytesPerSecond": 0
}
}
], - "successCount": 0,
- "failureCount": 0,
- "protectedRegionsCount": 0
}
]
}
Get Health Check Session Data
The HTTP GET request to the /jobSessions/{healthCheckJobSessionId}/checkedItems
endpoint retrieves a list of Azure resources whose backups were checked during the health check session with the specified ID.
path Parameters
healthCheckJobSessionId required | string Specifies the system ID assigned to a health check session in the Veeam Backup for Microsoft Azure REST API. |
query Parameters
NameSearchPattern | 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: HealthCheckedJobCheckedItemOptions |
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/jobSessions/{healthCheckJobSessionId}/checkedItems?NameSearchPattern=string&Offset=0&Limit=-1' \ -H 'Authorization: YOUR_API_KEY_HERE'
- 200
- 400
- 401
- 403
{- "offset": 0,
- "limit": 0,
- "totalCount": 0,
- "_links": {
}, - "results": [
- {
- "id": "string",
- "resource": {
- "id": "string",
- "name": "string",
- "displayName": "string",
- "resourceGroupName": "string",
- "resourceType": "VirtualMachine",
- "regionId": "string",
- "regionName": "string",
- "subscriptionId": "d079718b-ff63-45dd-947b-4950c023750f",
- "subscriptionName": "string",
}, - "repository": {
- "id": "string",
- "name": "string",
- "description": "string",
- "azureStorageAccountId": "string",
- "azureStorageAccountName": "string",
- "azureStorageFolder": {
- "name": "string",
- "supportsVersioning": true,
- "ImmutabilityPolicyState": "NotPresent",
}, - "azureStorageContainer": {
- "name": "string",
- "supportsVersioning": true,
- "ImmutabilityPolicyState": "NotPresent",
}, - "enableEncryption": true,
- "hint": "string",
- "regionId": "string",
- "regionName": "string",
- "azureAccountId": "string",
- "environment": "Global",
- "status": "Creating",
- "storageTier": "Inferred",
- "isStorageTierInferred": true,
- "immutabilityEnabled": true,
- "repositoryOwnership": {
- "hasAnotherOwner": true,
- "currentOwnerIdentifier": "string",
- "currentOwnerName": "string"
}, - "concurrencyLimit": 1,
}, - "status": "Canceled",
- "error": "string",
- "totalRestorePoints": 0,
- "corruptedRestorePoints": 0
}
]
}
Get Restore Session Data
The HTTP GET request to the /jobSessions/{restoreJobSessionId}/restoredItems
endpoint retrieves a list of Azure resources restored during the restore session with the specified ID.
path Parameters
restoreJobSessionId required | string or null Specifies the system ID assigned to a restore session in the Veeam Backup for Microsoft Azure REST API. |
query Parameters
NameSearchPattern | 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: RestoreJobRestoredItemOptions |
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/jobSessions/{restoreJobSessionId}/restoredItems?NameSearchPattern=string&Offset=0&Limit=-1' \ -H 'Authorization: YOUR_API_KEY_HERE'
- 200
- 400
- 401
- 403
{- "offset": 0,
- "limit": 0,
- "totalCount": 0,
- "_links": {
}, - "results": [
- {
- "name": "string",
- "resourceGroupName": "string",
- "regionName": "string"
}
]
}
Get SQL Restore Session Data
The HTTP GET request to the /jobSessions/{restoreJobSessionId}/restoredDatabases
endpoint retrieves a list of SQL databases restored during the restore session with the specified ID.
path Parameters
restoreJobSessionId required | string or null Specifies the system ID assigned to a restore session in the Veeam Backup for Microsoft Azure REST API. |
OK
Bad Request
Unauthorized
Forbidden
- curl
curl -i -X GET \ 'https://123.123.123.123/api/v8/jobSessions/{restoreJobSessionId}/restoredDatabases' \ -H 'Authorization: YOUR_API_KEY_HERE'
- 200
- 400
- 401
- 403
{- "offset": 0,
- "limit": 0,
- "totalCount": 0,
- "_links": {
}, - "results": [
- {
- "name": "string",
- "sqlServerName": "string",
- "elasticPoolName": "string"
}
]
}
Get Azure VM File-Level Restore Session Data
The HTTP GET request to the /jobSessions/{restoreJobSessionId}/fileLevelRestoredItems
endpoint retrieves a list of items restored during a Azure VM file-level restore session with the specified ID.
path Parameters
restoreJobSessionId required | string or null Specifies the system ID assigned to a restore session in the Veeam Backup for Microsoft Azure REST API. |
query Parameters
NameSearchPattern | 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: FileLevelRestoreJobRestoredItemOptions |
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/jobSessions/{restoreJobSessionId}/fileLevelRestoredItems?NameSearchPattern=string&Offset=0&Limit=-1' \ -H 'Authorization: YOUR_API_KEY_HERE'
- 200
- 400
- 401
- 403
{- "offset": 0,
- "limit": 0,
- "totalCount": 0,
- "_links": {
}, - "results": [
- {
- "filePath": "string",
- "virtualMachineName": "string",
- "resourceGroupName": "string",
- "regionName": "string"
}
]
}
Get File Share File-Level Restore Session Data
The HTTP GET request to the /jobSessions/{restoreJobSessionId}/fileLevelRestoredFileShareItems
endpoint retrieves a list of items restored during a File Share file-level restore session with the specified ID.
path Parameters
restoreJobSessionId required | string or null Specifies the system ID assigned to a restore session in the Veeam Backup for Microsoft Azure REST API. |
query Parameters
NameSearchPattern | 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: FileLevelRestoreJobRestoredFileShareOptions |
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/jobSessions/{restoreJobSessionId}/fileLevelRestoredFileShareItems?NameSearchPattern=string&Offset=0&Limit=-1' \ -H 'Authorization: YOUR_API_KEY_HERE'
- 200
- 400
- 401
- 403
{- "offset": 0,
- "limit": 0,
- "totalCount": 0,
- "_links": {
}, - "results": [
- {
- "name": "string",
- "filePath": "string"
}
]
}
Get Virtual Network Configuration Restore Session Data
The HTTP GET request to the /jobSessions/{restoreJobSessionId}/vnetRestoredItems
endpoint retrieves a list of Azure resources restored during the virtual network configuration restore session with the specified ID.
path Parameters
restoreJobSessionId required | string or null Specifies the system ID assigned to a restore session in the Veeam Backup for Microsoft Azure REST API. |
query Parameters
NameSearchPattern | 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: RestoreJobVnetRestoredItemOptions |
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/jobSessions/{restoreJobSessionId}/vnetRestoredItems?NameSearchPattern=string&Offset=0&Limit=-1' \ -H 'Authorization: YOUR_API_KEY_HERE'
- 200
- 400
- 401
- 403
{- "offset": 0,
- "limit": 0,
- "totalCount": 0,
- "_links": {
}, - "results": [
- {
- "name": "string",
- "resourceGroupName": "string",
- "regionName": "string",
- "subscriptionName": "string",
- "status": "Canceled"
}
]
}
Get Session Data
The HTTP GET request to the /jobSession/{sessionId}
endpoint retrieves information on a Veeam Backup for Microsoft Azure session with the specified ID.
path Parameters
sessionId required | string or null Specifies the system ID assigned to a session in the Veeam Backup for Microsoft Azure REST API. |
query Parameters
instanceId | string or null Returns only sessions that process an Azure resource with the specified system ID assigned to the resource in the Veeam Backup for Microsoft Azure REST API. |
OK
Bad Request
Unauthorized
Forbidden
Not Found
- curl
curl -i -X GET \ 'https://123.123.123.123/api/v8/jobSessions/{sessionId}?instanceId=string' \ -H 'Authorization: YOUR_API_KEY_HERE'
- 200
- 400
- 401
- 403
- 404
{- "id": "string",
- "type": "BackupRetention",
- "localizedType": "string",
- "executionStartTime": "2019-08-24T14:15:22Z",
- "executionStopTime": "2019-08-24T14:15:22Z",
- "executionDuration": "string",
- "status": "Canceled",
- "backupJobInfo": {
- "policyId": "2f5573e6-5ba4-48f2-a75d-df99c936463b",
- "policyName": "string",
- "policyType": "VirtualMachines",
- "protectedInstancesCount": 0,
- "policyRemoved": true
}, - "healthCheckJobInfo": {
- "policyId": "2f5573e6-5ba4-48f2-a75d-df99c936463b",
- "policyName": "string",
- "checkedInstancesCount": 0,
- "policyRemoved": true
}, - "restoreJobInfo": {
- "reason": "string",
- "backupPolicyDisplayName": "string"
}, - "fileLevelRestoreJobInfo": {
- "initiator": "string",
- "reason": "string",
- "flrLink": {
- "url": "string",
- "thumbprint": "string"
}, - "vmId": "string",
- "vmName": "string",
- "backupPolicyDisplayName": "string",
- "restorePointCreatedDateUtc": "2019-08-24T14:15:22Z",
- "isFlrSessionReady": true
}, - "fileShareFileLevelRestoreJobInfo": {
- "initiator": "string",
- "reason": "string",
- "flrLink": {
- "url": "string",
- "thumbprint": "string"
}, - "fileShareId": "string",
- "fileShareName": "string",
- "backupPolicyDisplayName": "string",
- "restorePointCreatedDateUtc": "2019-08-24T14:15:22Z"
}, - "repositoryJobInfo": {
- "repositoryId": "string",
- "repositoryName": "string",
- "repositoryRemoved": true
}, - "restorePointDataRetrievalJobInfo": {
- "restorePointId": "8c843d10-6d0f-4abe-b898-e1ba18b94f68",
- "sqlRestorePointId": "859c4224-81c0-43b0-8c6a-f09eb203fa33",
- "cosmosDbRestorePointId": "10233446-f8f4-4379-8a69-f08231b4f7b6",
- "initiator": "string",
- "instanceName": "string",
- "daysToKeep": 0,
- "dataRetrievalPriority": "Normal"
}, - "retentionJobInfo": {
- "deletedRestorePointsCount": 0
},
}
Get Session Log Details
The HTTP GET request to the /jobSession/{sessionId}/log
endpoint retrieves the detailed log of a session with the specified ID.
path Parameters
sessionId required | string or null Specifies the system ID assigned to a session in the Veeam Backup for Microsoft Azure REST API. |
query Parameters
instanceId | string or null Returns only logs related to processing an Azure resource with the specified system ID assigned to the resource in the Veeam Backup for Microsoft Azure REST API. |
OK
Bad Request
Unauthorized
Forbidden
Not Found
- curl
curl -i -X GET \ 'https://123.123.123.123/api/v8/jobSessions/{sessionId}/log?instanceId=string' \ -H 'Authorization: YOUR_API_KEY_HERE'
- 200
- 400
- 401
- 403
- 404
{- "jobSessionId": "string",
- "log": [
- {
- "logTime": "2019-08-24T14:15:22Z",
- "status": "Canceled",
- "message": "string",
- "resourceHashId": "string",
- "executionStartTime": "2019-08-24T14:15:22Z",
- "executionDuration": "string"
}
]
}
Stop Session
The HTTP POST request to the /jobSessions/{sessionId}/stop
endpoint sops processing of a session with the specified ID.
path Parameters
sessionId required | string or null Specifies the system ID assigned to a session in the Veeam Backup for Microsoft Azure REST API. |
No Content
Bad Request
Unauthorized
Forbidden
Not Found
- curl
curl -i -X POST \ 'https://123.123.123.123/api/v8/jobSessions/{sessionId}/stop' \ -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"
}
Export Collection of Sessions
The HTTP POST request to the /jobSessions/export
endpoint exports session statistics 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
jobSessionIds | Array of strings or null Specifies system IDs assigned in the Veeam Backup for Microsoft Azure REST API to sessions whose data will be exported. |
policyId | string or null <uuid> Exports only statistics on sessions related to a backup policy with the specified system ID. |
filter | string or null Exports only statistics on sessions related to a backup policy with the specified name. |
status | Array of strings or null (JobStatus) Exports only statistics on sessions with the specified statuses. |
sessionTypes | Array of strings or null (SessionType) Exports only statistics on sessions of the specified types. |
workloadTypes | Array of strings or null (WorkloadType) Exports only statistics on sessions related to the specified workload types. |
fromUtc | string or null <date-time> Exports only statistics on sessions launched after the specified date and time. Note: The property value must be specified in the UTC time zone in the following format: YYYY-MM-DDTHH:MM:SSZ. |
toUtc | string or null <date-time> Exports only statistics on sessions launched before the specified date and time. Note: The property value must be specified in the UTC time zone in the following format: YYYY-MM-DDTHH:MM:SSZ. |
OK
Unauthorized
Forbidden
- Payload
- curl
{- "jobSessionIds": [
- "string"
], - "policyId": "2f5573e6-5ba4-48f2-a75d-df99c936463b",
- "filter": "string",
- "status": [
- "Canceled"
], - "sessionTypes": [
- "ManualSnapshot"
], - "workloadTypes": [
- "VirtualMachine"
], - "fromUtc": "2019-08-24T14:15:22Z",
- "toUtc": "2019-08-24T14:15:22Z"
}
- 401
- 403
{- "extensions": { },
- "status": 0,
- "title": "string",
- "type": "string",
- "licenseAgreementAcceptanceRequired": true
}
Get Cosmos DB Restore Session Data
The HTTP GET request to the /jobSessions/{restoreJobSessionId}/restoredCosmosDbAccounts
endpoint retrieves a list of Cosmos DB accounts restored during the restore session with the specified ID.
path Parameters
restoreJobSessionId required | string or null Specifies the system ID assigned to a restore session in the Veeam Backup for Microsoft Azure REST API. |
OK
Bad Request
Unauthorized
Forbidden
- curl
curl -i -X GET \ 'https://123.123.123.123/api/v8/jobSessions/{restoreJobSessionId}/restoredCosmosDbAccounts' \ -H 'Authorization: YOUR_API_KEY_HERE'
- 200
- 400
- 401
- 403
{- "offset": 0,
- "limit": 0,
- "totalCount": 0,
- "_links": {
}, - "results": [
- {
- "name": "string",
- "subscriptionId": "d079718b-ff63-45dd-947b-4950c023750f",
- "subscriptionName": "string",
- "resourceGroupName": "string",
- "regionName": "string"
}
]
}