- 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
- getGet Disk Items 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
- postStart SLA-Based Backup Policy
- getGet Manual Start Settings of SLA-Based Backup Policy
- getCheck Whether SLA-Based Backup Policies Can Be Started Manually
- 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
- getGet Disk Items 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 or Create Backup Repository
- 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
- Cosmos DB SLA-Based Backup Policies
- getGet Collection of SLA-Based Cosmos DB Backup Policies
- postCreate SLA-Based Cosmos DB Backup Policy
- getGet SLA-Based Cosmos DB Backup Policy Data
- putModify SLA-Based Cosmos DB Backup Policy
- delRemove SLA-Based Cosmos DB Backup Policy
- postSet Backup Policy Priority
- getGet Azure Regions Specified in SLA-Based Cosmos DB Backup Policy Settings
- getGet Collection of Protected Items
- getGet Resources Protected by SLA-Based Cosmos DB Backup Policy
- getGet Resources Selected for SLA-Based Cosmos DB Backup Policy
- getGet Resources Excluded from SLA-Based Cosmos DB Backup Policy
- postStart SLA-Based Cosmos DB Backup Policy
- getGet Manual Start Settings of SLA-Based Cosmos DB Backup Policy
- getCheck Whether SLA-Based Cosmos DB Backup Policies Can Be Started Manually
- postEnable SLA-Based Cosmos DB Backup Policy
- postDisable SLA-Based Cosmos DB Backup Policy
- postExport SLA-Based Backup Policies
- getGet SLA Compliance Information
- 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 Share SLA-Based Backup Policies
- getGet Collection of SLA-Based Azure Files Backup Policies
- postCreate SLA-Based Azure Files Backup Policy
- getGet SLA-Based Azure Files Backup Policy Data
- putModify SLA-Based Azure Files Backup Policy
- delRemove SLA-Based Azure Files Backup Policy
- postExport SLA-Based Backup Policies
- postCalculate Estimated Cost of SLA-Based Azure Files Backup Policy
- postExport SLA-Based Azure Files Cost Estimation Report
- postStart SLA-Based Azure Files Backup Policy
- getGet Manual Start Settings of SLA-Based Azure Files Backup Policy
- getCheck Whether SLA-Based Azure Files Backup Policies Can Be Started Manually
- postEnable SLA-Based Azure Files Backup Policy
- postDisable SLA-Based Azure Files Backup Policy
- getGet Azure Regions Specified in SLA-Based Azure Files Backup Policy Settings
- getGet Collection of Protected Items
- getGet Resources Protected by SLA-Based Azure Files Backup Policy
- getGet Resources Selected for SLA-Based Azure Files Backup Policy
- getGet Resources Excluded from SLA-Based Azure Files Backup Policy
- postSet Backup Policy Priority
- getGet SLA Compliance Information
- 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 Actions
- getGet Azure VM File-Level Restore Action Items
- getGet Azure VM File-Level Restore Session Data
- getGet File Share File-Level Restore Session Data
- getGet File Share File-Level Restore Actions
- getGet File Share File-Level Restore Action Items
- getGet Session Data
- getGet Session Log Details
- postStop Session
- postExport Collection of Sessions
- getGet Cosmos DB Restore Session Data
- getGet PostgreSQL Restore Session Data
- getGet Virtual Network Configuration Restore Session Data
- License
- License Agreements
- Overview
- PostgreSQL Backup Policies
- getGet Collection of PostgreSQL Backup Policies
- postCreate PostgreSQL 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 Resources Protected by Backup Policy
- PostgreSQL Policy Cost Estimation
- PostgreSQL Restore Points
- PostgreSQL Servers
- PostgreSQL Servers Protected by Veeam Backup for Microsoft Azure
- 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
- postCreate Backup Policy With Test Configuration Session
- putModify Backup Policy With Test Configuration Session
- 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 SLA-Based Backup Policies
- getGet Collection of SLA-Based SQL Backup Policies
- postCreate SLA-Based SQL Backup Policy
- getGet SLA-Based SQL Backup Policy Data
- putModify SLA-Based SQL Backup Policy
- delRemove SLA-Based SQL Backup Policy
- postCreate SLA-Based Backup Policy With Test Configuration Session
- putModify SLA-Based Backup Policy With Test Configuration Session
- postExport SLA-Based Backup Policies
- postCalculate Estimated Cost of SLA-Based SQL Backup Policy
- postExport SLA-Based SQL Cost Estimation Report
- postStart SLA-Based SQL Backup Policy
- getGet Manual Start Settings of SLA-Based SQL Backup Policy
- getCheck Whether SLA-Based SQL Backup Policies Can Be Started Manually
- postEnable SLA-Based SQL Backup Policy
- postDisable SLA-Based SQL Backup Policy
- getGet Azure Regions Specified in SLA-Based SQL Backup Policy Settings
- getGet Collection of Protected Items
- getGet Resources Protected by SLA-Based SQL Backup Policy
- getGet Resources Selected for SLA-Based SQL Backup Policy
- getGet Resources Excluded from SLA-Based SQL Backup Policy
- postSet Backup Policy Priority
- getGet SLA Compliance Information
- SQL Servers
- SSO Settings
- System
- Users
- Virtual Network Backup Policies
- getGet Collection of VNet Backup Policies
- postCreate VNet Backup Policy
- getGet SLA Compliance Information
- getGet Backup Policy Data
- putModify Backup Policy
- delRemove Backup Policy
- getGet Resources Selected for Backup Policy
- getGet Resources Excluded from Backup Policy
- getGet Resources Protected by Backup Policy
- postSet Backup Policy Priority
- postEnable Backup Policy
- postDisable Backup Policy
- postStart Backup Policy
- postStop Backup Policy
- postExport Backup Policies
- 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
- Veeam Data Cloud Vault Connection
- 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 Default Worker VM Sizes per Tier
- getGet Worker Profiles for Region
- putModify Worker Profiles
- delRemove Worker Profiles
- postExport Worker Profiles
- getGet Worker Custom Tags
- putModify Worker Custom Tags
The /policies/postgresFlexible resource collection represents PostgreSQL backup policies configured in Veeam Backup for Microsoft Azure.
Get Collection of PostgreSQL Backup Policies
The HTTP GET request to the /policies/postgresFlexible endpoint retrieves a list of PostgreSQL backup policies configured in Veeam Backup for Microsoft Azure.
query Parameters
| PolicyName | string or null Returns a backup policy with the specified name. |
| ServerId | string or null Returns only backup policies that protect a PostgreSQL server with the specified ID. |
| LastJobStatus | Array of strings or null (JobStatus) Returns only backup policies with the specified status of the latest session. |
| PolicyStatus | Array of strings or null (PolicyStatus) Returns only backup policies with the specified status. |
| RepositoryId | string or null Returns only backup policies that store backup files in a repository with the specified ID. |
| Offset | integer <int32> >= 0 Specifies the first N items of a resource collection that will be excluded from the response. |
| Limit | integer <int32> >= -1 Specifies the maximum number of items of a resource collection that will be returned in the response. |
OK
Bad Request
Unauthorized
Forbidden
- curl
- 200
- 400
- 401
- 403
{- "offset": 0,
- "limit": 0,
- "totalCount": 0,
- "_links": {
}, - "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "priority": 0,
- "excludedItemsCount": 0,
- "tenantId": "string",
- "serviceAccountId": "a814cf67-aaac-43ae-acb4-8d34e82a4b4c",
- "backupStatus": "Canceled",
- "archiveStatus": "Canceled",
- "healthCheckStatus": "Canceled",
- "nextExecutionTime": "2019-08-24T14:15:22Z",
- "isArchiveBackupConfigured": true,
- "createPrivateEndpointToWorkloadAutomatically": true,
- "_links": {
}, - "name": "string",
- "description": "string",
- "retrySettings": {
- "retryCount": 0
}, - "policyNotificationSettings": {
- "recipient": "string",
- "notifyOnSuccess": true,
- "notifyOnWarning": true,
- "notifyOnFailure": true
}, - "isEnabled": true,
- "backupType": "AllSubscriptions",
- "dailySchedule": {
- "dailyType": "Everyday",
- "selectedDays": [
- "Sunday"
], - "backupSchedule": {
- "hours": [
- 0
], - "retention": {
- "timeRetentionDuration": 0,
- "retentionDurationType": "Days"
}, - "targetRepositoryId": "string"
}
}, - "weeklySchedule": {
- "startTime": 0,
- "backupSchedule": {
- "selectedDays": [
- "Sunday"
], - "retention": {
- "timeRetentionDuration": 0,
- "retentionDurationType": "Days"
}, - "targetRepositoryId": "string"
}
}, - "monthlySchedule": {
- "startTime": 0,
- "type": "First",
- "dayOfWeek": "Sunday",
- "dayOfMonth": 0,
- "monthlyLastDay": true,
- "backupSchedule": {
- "selectedMonths": [
- "January"
], - "retention": {
- "timeRetentionDuration": 0,
- "retentionDurationType": "Days"
}, - "targetRepositoryId": "string"
}
}, - "yearlySchedule": {
- "startTime": 0,
- "month": "January",
- "type": "First",
- "dayOfWeek": "Sunday",
- "dayOfMonth": 0,
- "yearlyLastDay": true,
- "retentionYearsCount": 0,
- "targetRepositoryId": "string"
}, - "healthCheckSchedule": {
- "healthCheckEnabled": true,
- "localTime": "2019-08-24T14:15:22Z",
- "dayNumberInMonth": "First",
- "daysOfWeek": [
- "Sunday"
], - "dayOfMonth": 0,
- "months": [
- "January"
]
}, - "defaultBackupAccountId": "string",
- "credentialsList": {
- "property1": "string",
- "property2": "string"
}, - "enableEntraIdAuthenticationForServerIds": [
- "string"
]
}
]
}Create PostgreSQL Backup Policy
The HTTP POST request to the /policies/postgresFlexible endpoint creates a new PostgreSQL backup policy.
Request Body schema: application/jsonrequired
| backupType required | string or null (BackupTypeNullable) Defines whether you want to include to the backup scope all resources residing in the specified Azure regions and to which the specified service account has access. |
| isEnabled required | boolean or null Defines whether to enable the policy. |
| name required | string [ 1 .. 255 ] characters Specifies a name for the backup policy. |
required | Array of objects (PolicyRegionFromClient) non-empty Azure regions where the resources that will be backed up reside. |
| tenantId required | string Specifies a Microsoft Azure ID assigned to a tenant with which the service account used to protect Azure resources is associated. |
| serviceAccountId required | string <uuid> Specifies the system ID assigned in the Veeam Backup for Microsoft Azure REST API to a service account whose permissions will be used to perform PostgreSQL backup. |
object or null (PostgresFlexibleServerPolicyBackupItemsFromClient) Specifies information on Azure resources to protect by the backup policy. | |
object or null (PostgresFlexibleServerPolicyExcludedItemsFromClient) Specifies Azure resources to exclude from the backup scope. | |
| description | string or null Specifies a description for the backup policy. |
object or null (RetrySettings) Specifies the retry settings for the backup policy. | |
object or null (PolicyNotificationSettings) Specifies the notification settings for the backup policy. | |
| createPrivateEndpointToWorkloadAutomatically | boolean or null Defines whether the backup policy should create private endpoint to workload automatically. |
object or null (DailySqlSchedule) Specifies daily schedule settings for the backup policy. | |
object or null (WeeklySqlSchedule) Specifies weekly schedule settings for the backup policy. | |
object or null (MonthlySqlSchedule) Specifies monthly schedule settings for the backup policy. | |
object or null (YearlySchedule) Specifies the yearly schedule settings for the backup policy. | |
object or null (HealthCheckSchedule) [Applies if backup creation is enabled for the backup policy] Specifies the health check schedule settings. | |
| defaultBackupAccountId | string <int64> Specifies the system ID assigned in the Veeam Backup for Microsoft Azure REST API to a default account that will be used to access all protected PostgreSQL flexible servers. |
object or null (PostgresFlexibleServerProcessingCredentials) Specifies a list of credentials that will be used to connect to the specified PostgreSQL flexible servers. | |
| enableEntraIdAuthenticationForServerIds | Array of strings or null Specifies Microsoft Azure IDs of PostgreSQL servers against which Veeam Backup for Microsoft Azure will authenticate using the Entra ID application instead of database accounts. |
Created
Bad Request
Unauthorized
Forbidden
Client Error
- Payload
- curl
{- "tenantId": "string",
- "serviceAccountId": "a814cf67-aaac-43ae-acb4-8d34e82a4b4c",
- "regions": [
- {
- "regionId": "string"
}
], - "selectedItems": {
- "subscriptions": [
- {
- "subscriptionId": "string"
}
], - "tags": [
- {
- "name": "string",
- "value": "string"
}
], - "resourceGroups": [
- {
- "id": "string"
}
], - "servers": [
- {
- "id": "string"
}
], - "tagGroups": [
- {
- "name": "string",
- "subscription": {
- "subscriptionId": "string"
}, - "resourceGroup": {
- "id": "string"
}, - "tags": [
- {
- "name": "string",
- "value": "string"
}
]
}
]
}, - "excludedItems": {
- "servers": [
- {
- "id": "string"
}
], - "tags": [
- {
- "name": "string",
- "value": "string"
}
]
}, - "name": "string",
- "description": "string",
- "retrySettings": {
- "retryCount": 0
}, - "policyNotificationSettings": {
- "recipient": "string",
- "notifyOnSuccess": true,
- "notifyOnWarning": true,
- "notifyOnFailure": true
}, - "isEnabled": true,
- "createPrivateEndpointToWorkloadAutomatically": true,
- "backupType": "AllSubscriptions",
- "dailySchedule": {
- "dailyType": "Everyday",
- "selectedDays": [
- "Sunday"
], - "backupSchedule": {
- "hours": [
- 0
], - "retention": {
- "timeRetentionDuration": 0,
- "retentionDurationType": "Days"
}, - "targetRepositoryId": "string"
}
}, - "weeklySchedule": {
- "startTime": 0,
- "backupSchedule": {
- "selectedDays": [
- "Sunday"
], - "retention": {
- "timeRetentionDuration": 0,
- "retentionDurationType": "Days"
}, - "targetRepositoryId": "string"
}
}, - "monthlySchedule": {
- "startTime": 0,
- "type": "First",
- "dayOfWeek": "Sunday",
- "dayOfMonth": 0,
- "monthlyLastDay": true,
- "backupSchedule": {
- "selectedMonths": [
- "January"
], - "retention": {
- "timeRetentionDuration": 0,
- "retentionDurationType": "Days"
}, - "targetRepositoryId": "string"
}
}, - "yearlySchedule": {
- "startTime": 0,
- "month": "January",
- "type": "First",
- "dayOfWeek": "Sunday",
- "dayOfMonth": 0,
- "yearlyLastDay": true,
- "retentionYearsCount": 0,
- "targetRepositoryId": "string"
}, - "healthCheckSchedule": {
- "healthCheckEnabled": true,
- "localTime": "2019-08-24T14:15:22Z",
- "dayNumberInMonth": "First",
- "daysOfWeek": [
- "Sunday"
], - "dayOfMonth": 0,
- "months": [
- "January"
]
}, - "defaultBackupAccountId": "string",
- "credentialsList": {
- "property1": "string",
- "property2": "string"
}, - "enableEntraIdAuthenticationForServerIds": [
- "string"
]
}- 201
- 400
- 401
- 403
- 415
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "priority": 0,
- "excludedItemsCount": 0,
- "tenantId": "string",
- "serviceAccountId": "a814cf67-aaac-43ae-acb4-8d34e82a4b4c",
- "backupStatus": "Canceled",
- "archiveStatus": "Canceled",
- "healthCheckStatus": "Canceled",
- "nextExecutionTime": "2019-08-24T14:15:22Z",
- "isArchiveBackupConfigured": true,
- "createPrivateEndpointToWorkloadAutomatically": true,
- "_links": {
}, - "name": "string",
- "description": "string",
- "retrySettings": {
- "retryCount": 0
}, - "policyNotificationSettings": {
- "recipient": "string",
- "notifyOnSuccess": true,
- "notifyOnWarning": true,
- "notifyOnFailure": true
}, - "isEnabled": true,
- "backupType": "AllSubscriptions",
- "dailySchedule": {
- "dailyType": "Everyday",
- "selectedDays": [
- "Sunday"
], - "backupSchedule": {
- "hours": [
- 0
], - "retention": {
- "timeRetentionDuration": 0,
- "retentionDurationType": "Days"
}, - "targetRepositoryId": "string"
}
}, - "weeklySchedule": {
- "startTime": 0,
- "backupSchedule": {
- "selectedDays": [
- "Sunday"
], - "retention": {
- "timeRetentionDuration": 0,
- "retentionDurationType": "Days"
}, - "targetRepositoryId": "string"
}
}, - "monthlySchedule": {
- "startTime": 0,
- "type": "First",
- "dayOfWeek": "Sunday",
- "dayOfMonth": 0,
- "monthlyLastDay": true,
- "backupSchedule": {
- "selectedMonths": [
- "January"
], - "retention": {
- "timeRetentionDuration": 0,
- "retentionDurationType": "Days"
}, - "targetRepositoryId": "string"
}
}, - "yearlySchedule": {
- "startTime": 0,
- "month": "January",
- "type": "First",
- "dayOfWeek": "Sunday",
- "dayOfMonth": 0,
- "yearlyLastDay": true,
- "retentionYearsCount": 0,
- "targetRepositoryId": "string"
}, - "healthCheckSchedule": {
- "healthCheckEnabled": true,
- "localTime": "2019-08-24T14:15:22Z",
- "dayNumberInMonth": "First",
- "daysOfWeek": [
- "Sunday"
], - "dayOfMonth": 0,
- "months": [
- "January"
]
}, - "defaultBackupAccountId": "string",
- "credentialsList": {
- "property1": "string",
- "property2": "string"
}, - "enableEntraIdAuthenticationForServerIds": [
- "string"
]
}Get Backup Policy Data
The HTTP GET request to the /policies/postgresFlexible/{policyId} endpoint retrieves information on a PostgreSQL backup policy with the specified ID.
path Parameters
| policyId required | string <uuid> Specifies the system ID assigned to a backup policy in the Veeam Backup for Microsoft Azure REST API. |
OK
Bad Request
Unauthorized
Forbidden
Not Found
- curl
- 200
- 400
- 401
- 403
- 404
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "priority": 0,
- "excludedItemsCount": 0,
- "tenantId": "string",
- "serviceAccountId": "a814cf67-aaac-43ae-acb4-8d34e82a4b4c",
- "backupStatus": "Canceled",
- "archiveStatus": "Canceled",
- "healthCheckStatus": "Canceled",
- "nextExecutionTime": "2019-08-24T14:15:22Z",
- "isArchiveBackupConfigured": true,
- "createPrivateEndpointToWorkloadAutomatically": true,
- "_links": {
}, - "name": "string",
- "description": "string",
- "retrySettings": {
- "retryCount": 0
}, - "policyNotificationSettings": {
- "recipient": "string",
- "notifyOnSuccess": true,
- "notifyOnWarning": true,
- "notifyOnFailure": true
}, - "isEnabled": true,
- "backupType": "AllSubscriptions",
- "dailySchedule": {
- "dailyType": "Everyday",
- "selectedDays": [
- "Sunday"
], - "backupSchedule": {
- "hours": [
- 0
], - "retention": {
- "timeRetentionDuration": 0,
- "retentionDurationType": "Days"
}, - "targetRepositoryId": "string"
}
}, - "weeklySchedule": {
- "startTime": 0,
- "backupSchedule": {
- "selectedDays": [
- "Sunday"
], - "retention": {
- "timeRetentionDuration": 0,
- "retentionDurationType": "Days"
}, - "targetRepositoryId": "string"
}
}, - "monthlySchedule": {
- "startTime": 0,
- "type": "First",
- "dayOfWeek": "Sunday",
- "dayOfMonth": 0,
- "monthlyLastDay": true,
- "backupSchedule": {
- "selectedMonths": [
- "January"
], - "retention": {
- "timeRetentionDuration": 0,
- "retentionDurationType": "Days"
}, - "targetRepositoryId": "string"
}
}, - "yearlySchedule": {
- "startTime": 0,
- "month": "January",
- "type": "First",
- "dayOfWeek": "Sunday",
- "dayOfMonth": 0,
- "yearlyLastDay": true,
- "retentionYearsCount": 0,
- "targetRepositoryId": "string"
}, - "healthCheckSchedule": {
- "healthCheckEnabled": true,
- "localTime": "2019-08-24T14:15:22Z",
- "dayNumberInMonth": "First",
- "daysOfWeek": [
- "Sunday"
], - "dayOfMonth": 0,
- "months": [
- "January"
]
}, - "defaultBackupAccountId": "string",
- "credentialsList": {
- "property1": "string",
- "property2": "string"
}, - "enableEntraIdAuthenticationForServerIds": [
- "string"
]
}Modify Backup Policy
The HTTP PUT request to the /policies/postgresFlexible/{policyId} endpoint updates settings of a PostgreSQL backup policy with the specified ID.
path Parameters
| policyId required | string <uuid> Specifies the system ID assigned to a backup policy in the Veeam Backup for Microsoft Azure REST API. |
Request Body schema: application/jsonrequired
| backupType required | string or null (BackupTypeNullable) Defines whether you want to include to the backup scope all resources residing in the specified Azure regions and to which the specified service account has access. |
| isEnabled required | boolean or null Defines whether to enable the policy. |
| name required | string [ 1 .. 255 ] characters Specifies a name for the backup policy. |
required | Array of objects (PolicyRegionFromClient) non-empty Specifies Azure regions where the backed up resources will reside. |
| tenantId | string or null Specifies a Microsoft Azure ID assigned to a tenant to which the protected Azure resources belong. |
| serviceAccountId | string or null <uuid> Specifies the system ID assigned in the Veeam Backup for Microsoft Azure REST API to the service account whose permissions will be used to create backups of PostgreSQL servers. |
object or null (PostgresFlexibleServerPolicyBackupItemsFromClient) Specifies information on Azure resources to protect by the backup policy. | |
object or null (PostgresFlexibleServerPolicyExcludedItemsFromClient) Specifies Azure resources to exclude from the backup scope. | |
| description | string or null Specifies a description for the backup policy. |
object or null (RetrySettings) Specifies the retry settings for the backup policy. | |
object or null (PolicyNotificationSettings) Specifies the notification settings for the backup policy. | |
| createPrivateEndpointToWorkloadAutomatically | boolean or null Defines whether the backup policy should create private endpoint to workload automatically. |
object or null (DailySqlSchedule) Specifies daily schedule settings for the backup policy. | |
object or null (WeeklySqlSchedule) Specifies weekly schedule settings for the backup policy. | |
object or null (MonthlySqlSchedule) Specifies monthly schedule settings for the backup policy. | |
object or null (YearlySchedule) Specifies the yearly schedule settings for the backup policy. | |
object or null (HealthCheckSchedule) [Applies if backup creation is enabled for the backup policy] Specifies the health check schedule settings. | |
| defaultBackupAccountId | string <int64> Specifies the system ID assigned in the Veeam Backup for Microsoft Azure REST API to a default account that will be used to access all protected PostgreSQL flexible servers. |
object or null (PostgresFlexibleServerProcessingCredentials) Specifies a list of credentials that will be used to connect to the specified PostgreSQL flexible servers. | |
| enableEntraIdAuthenticationForServerIds | Array of strings or null Specifies Microsoft Azure IDs of PostgreSQL servers against which Veeam Backup for Microsoft Azure will authenticate using the Entra ID application instead of database accounts. |
OK
No Content
Bad Request
Unauthorized
Forbidden
Not Found
Client Error
- Payload
- curl
{- "tenantId": "string",
- "serviceAccountId": "a814cf67-aaac-43ae-acb4-8d34e82a4b4c",
- "regions": [
- {
- "regionId": "string"
}
], - "selectedItems": {
- "subscriptions": [
- {
- "subscriptionId": "string"
}
], - "tags": [
- {
- "name": "string",
- "value": "string"
}
], - "resourceGroups": [
- {
- "id": "string"
}
], - "servers": [
- {
- "id": "string"
}
], - "tagGroups": [
- {
- "name": "string",
- "subscription": {
- "subscriptionId": "string"
}, - "resourceGroup": {
- "id": "string"
}, - "tags": [
- {
- "name": "string",
- "value": "string"
}
]
}
]
}, - "excludedItems": {
- "servers": [
- {
- "id": "string"
}
], - "tags": [
- {
- "name": "string",
- "value": "string"
}
]
}, - "name": "string",
- "description": "string",
- "retrySettings": {
- "retryCount": 0
}, - "policyNotificationSettings": {
- "recipient": "string",
- "notifyOnSuccess": true,
- "notifyOnWarning": true,
- "notifyOnFailure": true
}, - "isEnabled": true,
- "createPrivateEndpointToWorkloadAutomatically": true,
- "backupType": "AllSubscriptions",
- "dailySchedule": {
- "dailyType": "Everyday",
- "selectedDays": [
- "Sunday"
], - "backupSchedule": {
- "hours": [
- 0
], - "retention": {
- "timeRetentionDuration": 0,
- "retentionDurationType": "Days"
}, - "targetRepositoryId": "string"
}
}, - "weeklySchedule": {
- "startTime": 0,
- "backupSchedule": {
- "selectedDays": [
- "Sunday"
], - "retention": {
- "timeRetentionDuration": 0,
- "retentionDurationType": "Days"
}, - "targetRepositoryId": "string"
}
}, - "monthlySchedule": {
- "startTime": 0,
- "type": "First",
- "dayOfWeek": "Sunday",
- "dayOfMonth": 0,
- "monthlyLastDay": true,
- "backupSchedule": {
- "selectedMonths": [
- "January"
], - "retention": {
- "timeRetentionDuration": 0,
- "retentionDurationType": "Days"
}, - "targetRepositoryId": "string"
}
}, - "yearlySchedule": {
- "startTime": 0,
- "month": "January",
- "type": "First",
- "dayOfWeek": "Sunday",
- "dayOfMonth": 0,
- "yearlyLastDay": true,
- "retentionYearsCount": 0,
- "targetRepositoryId": "string"
}, - "healthCheckSchedule": {
- "healthCheckEnabled": true,
- "localTime": "2019-08-24T14:15:22Z",
- "dayNumberInMonth": "First",
- "daysOfWeek": [
- "Sunday"
], - "dayOfMonth": 0,
- "months": [
- "January"
]
}, - "defaultBackupAccountId": "string",
- "credentialsList": {
- "property1": "string",
- "property2": "string"
}, - "enableEntraIdAuthenticationForServerIds": [
- "string"
]
}- 200
- 400
- 401
- 403
- 404
- 415
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "priority": 0,
- "excludedItemsCount": 0,
- "tenantId": "string",
- "serviceAccountId": "a814cf67-aaac-43ae-acb4-8d34e82a4b4c",
- "backupStatus": "Canceled",
- "archiveStatus": "Canceled",
- "healthCheckStatus": "Canceled",
- "nextExecutionTime": "2019-08-24T14:15:22Z",
- "isArchiveBackupConfigured": true,
- "createPrivateEndpointToWorkloadAutomatically": true,
- "_links": {
}, - "name": "string",
- "description": "string",
- "retrySettings": {
- "retryCount": 0
}, - "policyNotificationSettings": {
- "recipient": "string",
- "notifyOnSuccess": true,
- "notifyOnWarning": true,
- "notifyOnFailure": true
}, - "isEnabled": true,
- "backupType": "AllSubscriptions",
- "dailySchedule": {
- "dailyType": "Everyday",
- "selectedDays": [
- "Sunday"
], - "backupSchedule": {
- "hours": [
- 0
], - "retention": {
- "timeRetentionDuration": 0,
- "retentionDurationType": "Days"
}, - "targetRepositoryId": "string"
}
}, - "weeklySchedule": {
- "startTime": 0,
- "backupSchedule": {
- "selectedDays": [
- "Sunday"
], - "retention": {
- "timeRetentionDuration": 0,
- "retentionDurationType": "Days"
}, - "targetRepositoryId": "string"
}
}, - "monthlySchedule": {
- "startTime": 0,
- "type": "First",
- "dayOfWeek": "Sunday",
- "dayOfMonth": 0,
- "monthlyLastDay": true,
- "backupSchedule": {
- "selectedMonths": [
- "January"
], - "retention": {
- "timeRetentionDuration": 0,
- "retentionDurationType": "Days"
}, - "targetRepositoryId": "string"
}
}, - "yearlySchedule": {
- "startTime": 0,
- "month": "January",
- "type": "First",
- "dayOfWeek": "Sunday",
- "dayOfMonth": 0,
- "yearlyLastDay": true,
- "retentionYearsCount": 0,
- "targetRepositoryId": "string"
}, - "healthCheckSchedule": {
- "healthCheckEnabled": true,
- "localTime": "2019-08-24T14:15:22Z",
- "dayNumberInMonth": "First",
- "daysOfWeek": [
- "Sunday"
], - "dayOfMonth": 0,
- "months": [
- "January"
]
}, - "defaultBackupAccountId": "string",
- "credentialsList": {
- "property1": "string",
- "property2": "string"
}, - "enableEntraIdAuthenticationForServerIds": [
- "string"
]
}Remove Backup Policy
The HTTP DELETE request to the /policies/postgresFlexible/{policyId} endpoint deletes a specific PostgreSQL backup policy from the Veeam Backup for Microsoft Azure configuration database.
path Parameters
| policyId required | string <uuid> Specifies the system ID assigned to a backup policy in the Veeam Backup for Microsoft Azure REST API. |
No Content
Bad Request
Unauthorized
Forbidden
Not Found
Conflict
- curl
- 400
- 401
- 403
- 404
- 409
{- "detail": "string",
- "errors": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "status": 0,
- "title": "string",
- "traceId": "string",
- "type": "string"
}Get Resources Selected for Backup Policy
The HTTP GET request to the /policies/postgresFlexible/{policyId}/selectedItems endpoint retrieves information on resources protected by a PostgreSQL backup policy with the specified ID.
path Parameters
| policyId required | string <uuid> Specifies the system ID assigned to a backup policy in the Veeam Backup for Microsoft Azure REST API. |
query Parameters
| Offset | integer <int32> >= 0 Specifies the first N items of a resource collection that will be excluded from the response. |
| Limit | integer <int32> >= -1 Specifies the maximum number of items of a resource collection that will be returned in the response. |
OK
Bad Request
Unauthorized
Forbidden
Not Found
- curl
- 200
- 400
- 401
- 403
- 404
{- "offset": 0,
- "limit": 0,
- "totalCount": 0,
- "_links": {
}, - "results": [
- {
- "subscription": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "environment": "Global",
- "tenantId": "string",
- "tenantName": "string",
- "name": "string",
- "status": "Active",
- "availability": "Available",
- "workerResourceGroupName": "string",
}, - "tag": {
- "id": "string",
- "name": "string",
- "value": "string"
}, - "resourceGroup": {
- "id": "string",
- "resourceId": "string",
- "name": "string",
- "azureEnvironment": "Global",
- "subscriptionId": "d079718b-ff63-45dd-947b-4950c023750f",
- "tenantId": "string",
- "regionId": "string",
}, - "server": {
- "id": "string",
- "name": "string",
- "resourceId": "string",
- "subscriptionId": "d079718b-ff63-45dd-947b-4950c023750f",
- "regionId": "string",
}, - "deletedItem": {
- "name": "string",
- "id": "string",
- "resourceId": "string",
- "subscriptionId": "d079718b-ff63-45dd-947b-4950c023750f",
- "regionId": "string",
- "regionName": "string"
}, - "tagGroup": {
- "name": "string",
- "subscription": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "environment": "Global",
- "tenantId": "string",
- "tenantName": "string",
- "name": "string",
- "status": "Active",
- "availability": "Available",
- "workerResourceGroupName": "string",
}, - "resourceGroup": {
- "id": "string",
- "resourceId": "string",
- "name": "string",
- "azureEnvironment": "Global",
- "subscriptionId": "d079718b-ff63-45dd-947b-4950c023750f",
- "tenantId": "string",
- "regionId": "string",
}, - "tags": [
- {
- "id": "string",
- "name": "string",
- "value": "string"
}
]
}
}
]
}Get Azure Regions Specified in Policy Settings
The HTTP GET request to the /policies/postgresFlexible/{policyId}/regions endpoint retrieves a list of Azure regions protected by a PostgreSQL backup policy with the specified ID.
path Parameters
| policyId required | string <uuid> Specifies the system ID assigned to a backup policy in the Veeam Backup for Microsoft Azure REST API. |
query Parameters
| Offset | integer <int32> >= 0 Specifies the first N items of a resource collection that will be excluded from the response. |
| Limit | integer <int32> >= -1 Specifies the maximum number of items of a resource collection that will be returned in the response. |
OK
Bad Request
Unauthorized
Forbidden
Not Found
- curl
- 200
- 400
- 401
- 403
- 404
{- "offset": 0,
- "limit": 0,
- "totalCount": 0,
- "_links": {
}, - "results": [
- {
- "id": "string",
- "name": "string",
- "resourceId": "string"
}
]
}Get Resources Excluded from Backup Policy
The HTTP GET request to the /policies/postgresFlexible/{policyId}/excludedItems endpoint retrieves a list of PostgreSQL servers excluded from a PostgreSQL backup policy with the specified ID.
path Parameters
| policyId required | string <uuid> Specifies the system ID assigned to a backup policy in the Veeam Backup for Microsoft Azure REST API. |
query Parameters
| Offset | integer <int32> >= 0 Specifies the first N items of a resource collection that will be excluded from the response. |
| Limit | integer <int32> >= -1 Specifies the maximum number of items of a resource collection that will be returned in the response. |
| NameSearchPattern | string or null Returns only those items of a resource collection whose names match the specified search pattern in the parameter value. |
OK
Bad Request
Unauthorized
Forbidden
Not Found
- curl
- 200
- 400
- 401
- 403
- 404
{- "offset": 0,
- "limit": 0,
- "totalCount": 0,
- "_links": {
}, - "results": [
- {
- "server": {
- "id": "string",
- "name": "string",
- "resourceId": "string",
- "subscriptionId": "d079718b-ff63-45dd-947b-4950c023750f",
- "regionId": "string",
}, - "deletedItem": {
- "name": "string",
- "id": "string",
- "resourceId": "string",
- "subscriptionId": "d079718b-ff63-45dd-947b-4950c023750f",
- "regionId": "string",
- "regionName": "string"
}, - "tag": {
- "id": "string",
- "name": "string",
- "value": "string"
}
}
]
}Set Backup Policy Priority
The HTTP POST request to the /policies/postgresFlexible/orderPriorities endpoint sets the priority order for PostgreSQL backup policies.
Request Body schema: application/json
Specifies system IDs assigned in the Veeam Backup for Microsoft Azure REST API to backup policies in the specified order.
No Content
Bad Request
Unauthorized
Forbidden
Client Error
- Payload
- curl
[- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]- 400
- 401
- 403
- 415
{- "detail": "string",
- "errors": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "status": 0,
- "title": "string",
- "traceId": "string",
- "type": "string"
}Enable Backup Policy
The HTTP POST request to the /policies/postgresFlexible/{policyId}/enable endpoint enables a disabled PostgreSQL backup policy with the specified ID.
path Parameters
| policyId required | string <uuid> Specifies the system ID assigned to a backup policy in the Veeam Backup for Microsoft Azure REST API. |
No Content
Bad Request
Unauthorized
Forbidden
Not Found
- curl
- 400
- 401
- 403
- 404
{- "detail": "string",
- "errors": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "status": 0,
- "title": "string",
- "traceId": "string",
- "type": "string"
}Disable Backup Policy
The HTTP POST request to the /policies/postgresFlexible/{policyId}/disable endpoint disables an enabled PostgreSQL backup policy with the specified ID.
path Parameters
| policyId required | string <uuid> Specifies the system ID assigned to a backup policy in the Veeam Backup for Microsoft Azure REST API. |
No Content
Bad Request
Unauthorized
Forbidden
Not Found
- curl
- 400
- 401
- 403
- 404
{- "detail": "string",
- "errors": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "status": 0,
- "title": "string",
- "traceId": "string",
- "type": "string"
}Start Backup Policy
The HTTP POST request to the /policies/postgresFlexible/{policyId}/start endpoint launches a PostgreSQL backup policy with the specified ID.
path Parameters
| policyId required | string <uuid> Specifies the system ID assigned to a backup policy in the Veeam Backup for Microsoft Azure REST API. |
Accepted
Bad Request
Unauthorized
Forbidden
Not Found
Conflict
- curl
- 202
- 400
- 401
- 403
- 404
- 409
[- {
- "id": "string",
- "type": "BackupRetention",
- "localizedType": "string",
- "executionStartTime": "2019-08-24T14:15:22Z",
- "executionStopTime": "2019-08-24T14:15:22Z",
- "executionDuration": "string",
- "status": "Canceled",
- "traceId": "string",
- "eventIds": [
- "string"
], - "timezones": [
- "string"
], - "regions": [
- "string"
], - "tenantIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "backupJobInfo": {
- "policyId": "2f5573e6-5ba4-48f2-a75d-df99c936463b",
- "policyName": "string",
- "policyType": "VirtualMachines",
- "protectedInstancesCount": 0,
- "policyRemoved": true,
- "tenantId": "f97df110-f4de-492e-8849-4a6af68026b0"
}, - "healthCheckJobInfo": {
- "policyId": "2f5573e6-5ba4-48f2-a75d-df99c936463b",
- "policyName": "string",
- "checkedInstancesCount": 0,
- "policyRemoved": true,
- "tenantId": "f97df110-f4de-492e-8849-4a6af68026b0"
}, - "policyConfigurationCheckJobInfo": {
- "policyId": "2f5573e6-5ba4-48f2-a75d-df99c936463b",
- "policyName": "string"
}, - "restoreJobInfo": {
- "reason": "string",
- "backupPolicyDisplayName": "string",
- "tenantId": "f97df110-f4de-492e-8849-4a6af68026b0"
}, - "fileLevelRestoreJobInfo": {
- "initiator": "string",
- "reason": "string",
- "flrLink": {
- "url": "string",
- "thumbprint": "string"
}, - "vmId": "string",
- "vmName": "string",
- "backupPolicyDisplayName": "string",
- "restorePointCreatedDateUtc": "2019-08-24T14:15:22Z",
- "isFlrSessionReady": true,
- "tenantId": "f97df110-f4de-492e-8849-4a6af68026b0"
}, - "fileShareFileLevelRestoreJobInfo": {
- "initiator": "string",
- "reason": "string",
- "flrLink": {
- "url": "string",
- "thumbprint": "string"
}, - "fileShareId": "string",
- "fileShareName": "string",
- "backupPolicyDisplayName": "string",
- "restorePointCreatedDateUtc": "2019-08-24T14:15:22Z",
- "tenantId": "f97df110-f4de-492e-8849-4a6af68026b0"
}, - "repositoryJobInfo": {
- "repositoryId": "string",
- "repositoryName": "string",
- "repositoryRemoved": true,
- "tenantId": "f97df110-f4de-492e-8849-4a6af68026b0"
}, - "restorePointDataRetrievalJobInfo": {
- "restorePointId": "8c843d10-6d0f-4abe-b898-e1ba18b94f68",
- "sqlRestorePointId": "859c4224-81c0-43b0-8c6a-f09eb203fa33",
- "cosmosDbRestorePointId": "10233446-f8f4-4379-8a69-f08231b4f7b6",
- "postgresFlexibleServerRestorePointId": "3cf2ab9d-1ec3-465f-9f81-02945c719ecc",
- "initiator": "string",
- "instanceName": "string",
- "daysToKeep": 0,
- "dataRetrievalPriority": "Normal"
}, - "retentionJobInfo": {
- "deletedRestorePointsCount": 0
},
}
]Stop Backup Policy
The HTTP POST request to the /policies/postgresFlexible/{policyId}/stop endpoint stops execution of a PostgreSQL backup policy with the specified ID.
path Parameters
| policyId required | string <uuid> Specifies the system ID assigned to a backup policy in the Veeam Backup for Microsoft Azure REST API. |
No Content
Bad Request
Unauthorized
Forbidden
Not Found
- curl
- 400
- 401
- 403
- 404
{- "detail": "string",
- "errors": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "status": 0,
- "title": "string",
- "traceId": "string",
- "type": "string"
}Export Backup Policies
The HTTP POST request to the /policies/postgresFlexible/export endpoint exports a list of PostgreSQL backup policies created in Veeam Backup for Microsoft Azure 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
| policyIds | Array of strings or null <uuid> Returns only information on the policies with the specified IDs. |
| policyName | string or null Returns a backup policy with the specified name. |
| lastJobStatus | Array of strings or null (JobStatus) Returns only backup policies with the specified status of the latest session. |
| policyStatus | Array of strings or null (PolicyStatus) Returns only backup policies with the specified status. |
OK
Unauthorized
Forbidden
- Payload
- curl
{- "policyIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "policyName": "string",
- "lastJobStatus": [
- "Canceled"
], - "policyStatus": [
- "Enabled"
]
}- 401
- 403
{- "extensions": { },
- "status": 0,
- "title": "string",
- "detail": "string",
- "type": "string"
}Get Resources Protected by Backup Policy
The HTTP GET request to the /policies/postgresFlexible/{policyId}/protectedItems endpoint retrieves a list of PostgreSQL servers protected by a backup policy with the specified ID.
path Parameters
| policyId required | string <uuid> Specifies the system ID assigned to a backup policy in the Veeam Backup for Microsoft Azure REST API. |
query Parameters
| Offset | integer <int32> >= 0 Specifies the first N items of a resource collection that will be excluded from the response. |
| Limit | integer <int32> >= -1 Specifies the system ID assigned to a backup policy in the Veeam Backup for Microsoft Azure REST API. |
OK
Unauthorized
Forbidden
- curl
- 200
- 401
- 403
{- "offset": 0,
- "limit": 0,
- "totalCount": 0,
- "_links": {
}, - "results": [
- {
- "resourceId": "string",
- "policyId": "2f5573e6-5ba4-48f2-a75d-df99c936463b",
- "subscriptionId": "d079718b-ff63-45dd-947b-4950c023750f"
}
]
}