Cosmos DB SLA-Based Backup Policies

The /policy/slaBased/cosmosDb resource collection represents Cosmos DB SLA-based backup policies configured in Veeam Backup for Microsoft Azure.

Get Collection of SLA-Based Cosmos DB Backup Policies

The HTTP GET request to the /policy/slaBased/cosmosDb endpoint retrieves a list of SLA-based Cosmos DB backup policies configured in Veeam Backup for Microsoft Azure.

SecurityBearer
Request
query Parameters
PolicyName
string or null

Returns a backup policy with the specified name.

AccountId
string or null

Returns only backup policies that protect a Cosmos DB account with the specified ID.

LastJobStatus
Array of strings or null (JobStatus)

Returns only backup policies with the specified status of the latest session.

Enum: "Canceled" "Canceling" "Error" "NeverExecuted" "Running" "RunningWithError" "RunningWithWarning" "Success" "Warning" "Pending" "Unknown"
PolicyStatus
Array of strings or null (PolicyStatus)

Returns only backup policies with the specified status.

Enum: "Enabled" "Disabled" "Unknown"
RepositoryId
string or null

/[Applies only to backup policies that have the Backup to repository option enabled] 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.

Responses
200

OK

400

Bad Request

401

Unauthorized

403

Forbidden

get/api/v10/policy/slaBased/cosmosDb
Request samples
Response samples
application/json
{
  • "offset": 0,
  • "limit": 0,
  • "totalCount": 0,
  • "_links": {},
  • "results": [
    ]
}

Create SLA-Based Cosmos DB Backup Policy

The HTTP POST request to the /policy/slaBased/cosmosDb endpoint creates a new SLA-based Cosmos DB backup policy.

SecurityBearer
Request
Request Body schema: application/json
required
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.

Enum: "AllSubscriptions" "SelectedItems" "Unknown"
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 Cosmos DB backup.

slaPolicyTemplateId
required
string <uuid>

System ID assigned in the Veeam Backup for Microsoft Azure REST API to the SLA template assigned to the policy.

storagePolicyTemplateId
required
string <uuid>

Specifies the system ID assigned in the Veeam Backup for Microsoft Azure REST API to the storage template that will be assigned to the policy.

continuousBackupType
required
string or null (PolicyCosmosDbBackupTier)

Specifies the retention period for Cosmos DB continuous backup.

Enum: "Continuous7Days" "Continuous30Days" "Continuous35Days"
object or null (CosmosDbPolicyBackupItemsFromClient)

Specifies information on Azure resources to protect by the backup policy.

object or null (CosmosDbPolicyExcludedItemsFromClient)

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.

object or null

Specifies SLA report notification settings for the backup policy.

createPrivateEndpointToWorkloadAutomatically
boolean or null

Defines whether the backup policy should create private endpoint to workload automatically.

backupWorkloads
Array of strings or null (PolicyCosmosDbBackupWorkload)

Specifies kinds of the Cosmos DB accounts protected using the Backup to repository option.

Enum: "PostgreSQL" "MongoDB"
defaultBackupAccountId
string or null <int64>

Specifies the system ID assigned in the Veeam Backup for Microsoft Azure REST API to a default database account that will be used to access all protected databases.

object or null (CosmosDbProcessingCredentials)

Specifies a list of credentials that will be used to connect to the databases of the specified Cosmos DB accounts.

Responses
201

Created

400

Bad Request

401

Unauthorized

403

Forbidden

415

Client Error

post/api/v10/policy/slaBased/cosmosDb
Request samples
application/json
{
  • "tenantId": "string",
  • "serviceAccountId": "a814cf67-aaac-43ae-acb4-8d34e82a4b4c",
  • "regions": [
    ],
  • "selectedItems": {
    },
  • "excludedItems": {
    },
  • "continuousBackupType": "Continuous7Days",
  • "name": "string",
  • "description": "string",
  • "retrySettings": {
    },
  • "policyNotificationSettings": {
    },
  • "slaPolicyNotificationSettings": {
    },
  • "isEnabled": true,
  • "createPrivateEndpointToWorkloadAutomatically": true,
  • "backupType": "AllSubscriptions",
  • "slaPolicyTemplateId": "73daf31b-f31a-40dd-b109-5f0980ce57a1",
  • "storagePolicyTemplateId": "f3f86a0e-d99c-4ff1-84bf-5cef773966ef",
  • "backupWorkloads": [
    ],
  • "defaultBackupAccountId": "string",
  • "credentialsList": {
    }
}
Response samples
application/json
{
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "priority": 0,
  • "excludedItemsCount": 0,
  • "tenantId": "string",
  • "serviceAccountId": "a814cf67-aaac-43ae-acb4-8d34e82a4b4c",
  • "backupStatus": "Canceled",
  • "archiveStatus": "Canceled",
  • "healthCheckStatus": "Canceled",
  • "configurationStatus": "Canceled",
  • "nextExecutionTime": "2019-08-24T14:15:22Z",
  • "isArchiveBackupConfigured": true,
  • "createPrivateEndpointToWorkloadAutomatically": true,
  • "_links": {},
  • "name": "string",
  • "description": "string",
  • "retrySettings": {
    },
  • "policyNotificationSettings": {
    },
  • "slaPolicyNotificationSettings": {
    },
  • "isEnabled": true,
  • "backupType": "AllSubscriptions",
  • "slaPolicyTemplateId": "73daf31b-f31a-40dd-b109-5f0980ce57a1",
  • "storagePolicyTemplateId": "f3f86a0e-d99c-4ff1-84bf-5cef773966ef",
  • "continuousBackupType": "Continuous7Days",
  • "backupWorkloads": [
    ],
  • "defaultBackupAccountId": "string",
  • "credentialsList": {
    }
}

Get SLA-Based Cosmos DB Backup Policy Data

The HTTP GET request to the /policy/slaBased/cosmosDb/{policyId} endpoint retrieves information on an SLA-based Cosmos DB backup policy with the specified ID.

SecurityBearer
Request
path Parameters
policyId
required
string <uuid>

Specifies the system ID assigned to a backup policy in the Veeam Backup for Microsoft Azure REST API.

Responses
200

OK

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

get/api/v10/policy/slaBased/cosmosDb/{policyId}
Request samples
Response samples
application/json
{
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "priority": 0,
  • "excludedItemsCount": 0,
  • "tenantId": "string",
  • "serviceAccountId": "a814cf67-aaac-43ae-acb4-8d34e82a4b4c",
  • "backupStatus": "Canceled",
  • "archiveStatus": "Canceled",
  • "healthCheckStatus": "Canceled",
  • "configurationStatus": "Canceled",
  • "nextExecutionTime": "2019-08-24T14:15:22Z",
  • "isArchiveBackupConfigured": true,
  • "createPrivateEndpointToWorkloadAutomatically": true,
  • "_links": {},
  • "name": "string",
  • "description": "string",
  • "retrySettings": {
    },
  • "policyNotificationSettings": {
    },
  • "slaPolicyNotificationSettings": {
    },
  • "isEnabled": true,
  • "backupType": "AllSubscriptions",
  • "slaPolicyTemplateId": "73daf31b-f31a-40dd-b109-5f0980ce57a1",
  • "storagePolicyTemplateId": "f3f86a0e-d99c-4ff1-84bf-5cef773966ef",
  • "continuousBackupType": "Continuous7Days",
  • "backupWorkloads": [
    ],
  • "defaultBackupAccountId": "string",
  • "credentialsList": {
    }
}

Modify SLA-Based Cosmos DB Backup Policy

The HTTP PUT request to the /policy/slaBased/cosmosDb/{policyId} endpoint modifies an existing SLA-based Cosmos DB backup policy.

SecurityBearer
Request
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/json
required
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.

Enum: "AllSubscriptions" "SelectedItems" "Unknown"
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.

slaPolicyTemplateId
required
string <uuid>

System ID assigned in the Veeam Backup for Microsoft Azure REST API to the SLA template assigned to the policy.

storagePolicyTemplateId
required
string <uuid>

Specifies the system ID assigned in the Veeam Backup for Microsoft Azure REST API to the storage template that will be assigned to the policy.

continuousBackupType
required
string or null (PolicyCosmosDbBackupTier)

Specifies the retention period for Cosmos DB continuous backup.

Enum: "Continuous7Days" "Continuous30Days" "Continuous35Days"
tenantId
string or null

Specifies a Microsoft Azure ID assigned to a tenant with which the service account used to protect Azure resources is associated.

serviceAccountId
string or null <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 Cosmos DB backup.

object or null (CosmosDbPolicyBackupItemsFromClient)

Specifies information on Azure resources to protect by the backup policy.

object or null (CosmosDbPolicyExcludedItemsFromClient)

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.

object or null

Specifies SLA report notification settings for the backup policy.

createPrivateEndpointToWorkloadAutomatically
boolean or null

Defines whether the backup policy should create private endpoint to workload automatically.

backupWorkloads
Array of strings or null (PolicyCosmosDbBackupWorkload)

Specifies kinds of the Cosmos DB accounts protected using the Backup to repository option.

Enum: "PostgreSQL" "MongoDB"
defaultBackupAccountId
string or null <int64>

Specifies the system ID assigned in the Veeam Backup for Microsoft Azure REST API to a default database account that will be used to access all protected databases.

object or null (CosmosDbProcessingCredentials)

Specifies a list of credentials that will be used to connect to the databases of the specified Cosmos DB accounts.

Responses
200

OK

204

No Content

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

415

Client Error

put/api/v10/policy/slaBased/cosmosDb/{policyId}
Request samples
application/json
{
  • "tenantId": "string",
  • "serviceAccountId": "a814cf67-aaac-43ae-acb4-8d34e82a4b4c",
  • "regions": [
    ],
  • "selectedItems": {
    },
  • "excludedItems": {
    },
  • "continuousBackupType": "Continuous7Days",
  • "name": "string",
  • "description": "string",
  • "retrySettings": {
    },
  • "policyNotificationSettings": {
    },
  • "slaPolicyNotificationSettings": {
    },
  • "isEnabled": true,
  • "createPrivateEndpointToWorkloadAutomatically": true,
  • "backupType": "AllSubscriptions",
  • "slaPolicyTemplateId": "73daf31b-f31a-40dd-b109-5f0980ce57a1",
  • "storagePolicyTemplateId": "f3f86a0e-d99c-4ff1-84bf-5cef773966ef",
  • "backupWorkloads": [
    ],
  • "defaultBackupAccountId": "string",
  • "credentialsList": {
    }
}
Response samples
application/json
{
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "priority": 0,
  • "excludedItemsCount": 0,
  • "tenantId": "string",
  • "serviceAccountId": "a814cf67-aaac-43ae-acb4-8d34e82a4b4c",
  • "backupStatus": "Canceled",
  • "archiveStatus": "Canceled",
  • "healthCheckStatus": "Canceled",
  • "configurationStatus": "Canceled",
  • "nextExecutionTime": "2019-08-24T14:15:22Z",
  • "isArchiveBackupConfigured": true,
  • "createPrivateEndpointToWorkloadAutomatically": true,
  • "_links": {},
  • "name": "string",
  • "description": "string",
  • "retrySettings": {
    },
  • "policyNotificationSettings": {
    },
  • "slaPolicyNotificationSettings": {
    },
  • "isEnabled": true,
  • "backupType": "AllSubscriptions",
  • "slaPolicyTemplateId": "73daf31b-f31a-40dd-b109-5f0980ce57a1",
  • "storagePolicyTemplateId": "f3f86a0e-d99c-4ff1-84bf-5cef773966ef",
  • "continuousBackupType": "Continuous7Days",
  • "backupWorkloads": [
    ],
  • "defaultBackupAccountId": "string",
  • "credentialsList": {
    }
}

Remove SLA-Based Cosmos DB Backup Policy

The HTTP DELETE request to the /policy/slaBased/cosmosDb/{policyId} endpoint removes a specific SLA-based backup policy from the Veeam Backup for Microsoft Azure configuration database.

SecurityBearer
Request
path Parameters
policyId
required
string <uuid>

Specifies the system ID assigned to the SLA-based backup policy in the Veeam Backup for Microsoft Azure REST API.

Responses
204

No Content

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

409

Conflict

delete/api/v10/policy/slaBased/cosmosDb/{policyId}
Request samples
Response samples
application/problem+json
{
  • "detail": "string",
  • "errors": {
    },
  • "status": 0,
  • "title": "string",
  • "traceId": "string",
  • "type": "string"
}

Set Backup Policy Priority

The HTTP POST request to the /policy/slaBased/cosmosDb/orderPriorities endpoint sets the priority order for SLA-based Cosmos DB backup policies.

SecurityBearer
Request
Request Body schema: application/json
required
Array
string <uuid>

Specifies system IDs assigned in the Veeam Backup for Microsoft Azure REST API to backup policies in the specified order.

Responses
204

No Content

400

Bad Request

401

Unauthorized

403

Forbidden

415

Client Error

post/api/v10/policy/slaBased/cosmosDb/orderPriorities
Request samples
application/json
[
  • "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
Response samples
application/problem+json
{
  • "detail": "string",
  • "errors": {
    },
  • "status": 0,
  • "title": "string",
  • "traceId": "string",
  • "type": "string"
}

Get Azure Regions Specified in SLA-Based Cosmos DB Backup Policy Settings

The HTTP GET request to the /policy/slaBased/cosmosDb/{policyId}/regions endpoint retrieves a list of Azure regions added to the SLA-based Cosmos DB backup policy with the specified ID.

SecurityBearer
Request
path Parameters
policyId
required
string <uuid>

Specifies the system ID assigned to the 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.

Responses
200

OK

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

get/api/v10/policy/slaBased/cosmosDb/{policyId}/regions
Request samples
Response samples
application/json
{
  • "offset": 0,
  • "limit": 0,
  • "totalCount": 0,
  • "_links": {},
  • "results": [
    ]
}

Get Collection of Protected Items

The HTTP GET request to the /policy/slaBased/cosmosDb/protectedItems endpoint retrieves a list of Azure Cosmos DB databases that are protected by SLA-based backup policies configured in Veeam Backup for Microsoft Azure.

SecurityBearer
Request
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.

Responses
200

OK

401

Unauthorized

403

Forbidden

get/api/v10/policy/slaBased/cosmosDb/protectedItems
Request samples
Response samples
application/json
{
  • "offset": 0,
  • "limit": 0,
  • "totalCount": 0,
  • "_links": {},
  • "results": [
    ]
}

Get Resources Protected by SLA-Based Cosmos DB Backup Policy

The HTTP GET request to the /policy/slaBased/cosmosDb/{policyId}/protectedItems endpoint retrieves a list of Azure Cosmos DB databases protected by the SLA-based backup policy with the specified ID.

SecurityBearer
Request
path Parameters
policyId
required
string <uuid>

Specifies the system ID assigned to the 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.

Responses
200

OK

401

Unauthorized

403

Forbidden

get/api/v10/policy/slaBased/cosmosDb/{policyId}/protectedItems
Request samples
Response samples
application/json
{
  • "offset": 0,
  • "limit": 0,
  • "totalCount": 0,
  • "_links": {},
  • "results": [
    ]
}

Get Resources Selected for SLA-Based Cosmos DB Backup Policy

The HTTP GET request to the /policy/slaBased/cosmosDb/{policyId}/selectedItems endpoint retrieves information on resources selected for the SLA-based Cosmos DB backup policy with the specified ID.

SecurityBearer
Request
path Parameters
policyId
required
string <uuid>

Specifies the system ID assigned to the 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.

Responses
200

OK

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

get/api/v10/policy/slaBased/cosmosDb/{policyId}/selectedItems
Request samples
Response samples
application/json
{
  • "offset": 0,
  • "limit": 0,
  • "totalCount": 0,
  • "_links": {},
  • "results": [
    ]
}

Get Resources Excluded from SLA-Based Cosmos DB Backup Policy

The HTTP GET request to the /policy/slaBased/cosmosDb/{policyId}/excludedItems endpoint retrieves a list of Azure Cosmos DB databases excluded from the SLA-based Cosmos DB backup policy with the specified ID.

SecurityBearer
Request
path Parameters
policyId
required
string <uuid>

Specifies the system ID assigned to the 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.

Responses
200

OK

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

get/api/v10/policy/slaBased/cosmosDb/{policyId}/excludedItems
Request samples
Response samples
application/json
{
  • "offset": 0,
  • "limit": 0,
  • "totalCount": 0,
  • "_links": {},
  • "results": [
    ]
}

Start SLA-Based Cosmos DB Backup Policy

The HTTP POST request to the /policy/slaBased/cosmosDb/{policyId}/start endpoint launches the Cosmos DB SLA-based backup policy with the specified ID.

SecurityBearer
Request
path Parameters
policyId
required
string <uuid>

Specifies the system ID assigned to a backup policy in the Veeam Backup for Microsoft Azure REST API.

Responses
202

Accepted

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

409

Conflict

post/api/v10/policy/slaBased/cosmosDb/{policyId}/start
Request samples
Response samples
application/json
[
  • {
    }
]

Get Manual Start Settings of SLA-Based Cosmos DB Backup Policy

The HTTP GET request to the /policy/slaBased/cosmosDb/{policyId}/start endpoint retrieves the retention settings that will be applied to restore points created when you start the Cosmos DB SLA-based backup policy with the specified ID manually.

SecurityBearer
Request
path Parameters
policyId
required
string <uuid>

Specifies the system ID assigned to a backup policy in the Veeam Backup for Microsoft Azure REST API.

Responses
200

OK

400

Bad Request

401

Unauthorized

403

Forbidden

get/api/v10/policy/slaBased/cosmosDb/{policyId}/start
Request samples
Response samples
application/json
{
  • "storeFor": 0,
  • "storeForUnit": "Minute"
}

Check Whether SLA-Based Cosmos DB Backup Policies Can Be Started Manually

The HTTP GET request to the /policy/slaBased/cosmosDb/startEnabled endpoint checks whether Cosmos DB SLA-based backup policies can be started manually.

SecurityBearer
Responses
200

OK

400

Bad Request

401

Unauthorized

403

Forbidden

get/api/v10/policy/slaBased/cosmosDb/startEnabled
Request samples
Response samples
application/json
true

Enable SLA-Based Cosmos DB Backup Policy

The HTTP POST request to the /policy/slaBased/cosmosDb/{policyId}/enable endpoint enables a disabled SLA-based Cosmos DB backup policy with the specified ID.

SecurityBearer
Request
path Parameters
policyId
required
string <uuid>

Specifies the system ID assigned to a backup policy in the Veeam Backup for Microsoft Azure REST API.

Responses
204

No Content

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

post/api/v10/policy/slaBased/cosmosDb/{policyId}/enable
Request samples
Response samples
application/problem+json
{
  • "detail": "string",
  • "errors": {
    },
  • "status": 0,
  • "title": "string",
  • "traceId": "string",
  • "type": "string"
}

Disable SLA-Based Cosmos DB Backup Policy

The HTTP POST request to the /policy/slaBased/cosmosDb/{policyId}/disable endpoint disables an enabled SLA-based Cosmos DB backup policy with the specified ID.

SecurityBearer
Request
path Parameters
policyId
required
string <uuid>

Specifies the system ID assigned to a backup policy in the Veeam Backup for Microsoft Azure REST API.

Responses
204

No Content

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

post/api/v10/policy/slaBased/cosmosDb/{policyId}/disable
Request samples
Response samples
application/problem+json
{
  • "detail": "string",
  • "errors": {
    },
  • "status": 0,
  • "title": "string",
  • "traceId": "string",
  • "type": "string"
}

Export SLA-Based Backup Policies

The HTTP POST request to the /policy/slaBased/cosmosDb/export endpoint exports a list of SLA-based Cosmos DB backup policies created in Veeam Backup for Microsoft Azure to a .CSV or an .XML file.

SecurityBearer
Request
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.

Enum: "Canceled" "Canceling" "Error" "NeverExecuted" "Running" "RunningWithError" "RunningWithWarning" "Success" "Warning" "Pending" "Unknown"
policyStatus
Array of strings or null (PolicyStatus)

Returns only backup policies with the specified status.

Enum: "Enabled" "Disabled" "Unknown"
Responses
200

OK

401

Unauthorized

403

Forbidden

post/api/v10/policy/slaBased/cosmosDb/export
Request samples
application/json
{
  • "policyIds": [
    ],
  • "policyName": "string",
  • "lastJobStatus": [
    ],
  • "policyStatus": [
    ]
}
Response samples
application/problem+json
{
  • "extensions": { },
  • "status": 0,
  • "title": "string",
  • "detail": "string",
  • "type": "string"
}

Get SLA Compliance Information

The HTTP GET request to the /policy/slaBased/cosmosDb/slaReport endpoint retrieves a list of SLA-based Cosmos DB backup policies configured in Veeam Backup for Microsoft Azure and their SLA compliance information.

SecurityBearer
Request
query Parameters
PolicyName
string or null

Returns only backup policies with the specified name.

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.

Responses
200

OK

400

Bad Request

401

Unauthorized

403

Forbidden

get/api/v10/policy/slaBased/cosmosDb/slaReport
Request samples
Response samples
application/json
{
  • "offset": 0,
  • "limit": 0,
  • "totalCount": 0,
  • "_links": {},
  • "results": [
    ]
}