Configure Backup Client for CosmosDB Instance
Select
SaaS
This API creates a Cosmos Cloud DB Instance on metallic azure.
Cloud DB Content is optional . If not provided all containers in the DB are backed up.
- application/json
Request Body
cloudAccount object required
cloud account name or id
id integername stringregion object required
region id or name
id integerplan object required
plan name or id
id integerbackupGateways object[]
backup gateway name or id
id integername stringcloudDBContent object
cloud DB content to be backed up. Payload contains the Array of the contents of the Cosmos DB that should be explicitly backed up. We get this from cloudDBContentPreview API for COSMOS DB.
children object[]
Copy from select backup content
path stringDB
displayName stringname stringtype stringvalue string
Responses
- 200
- 500
OK
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
instance object
id integername string
{
"instance": {
"id": 0,
"name": "string"
}
}
{
"instance": {
"id": 1752,
"name": "SQL API [eastus]"
}
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
- errorMessage string
- errorCode integer
entity object
subclientId integerclientId integerinstanceName stringinstanceId integer_type_ integer
{
"errorMessage": "string",
"errorCode": 0,
"entity": {
"subclientId": 0,
"clientId": 0,
"instanceName": "string",
"instanceId": 0,
"_type_": 0
}
}
{
"errorMessage": "An instance by this name already exists.",
"errorCode": 3,
"entity": {
"subclientId": 0,
"clientId": 2038,
"instanceName": "sqlami-eastus.0b6ca3d85c3b.database.windows.net",
"instanceId": -1,
"_type_": 0
}
}
Loading...