Create DocumentDB cluster group
Select
SaaS
Customer Managed
This operation creates a new DocumentDB subclient (cluster group).
- application/json
Request Body
subClientProperties object
Responses
- 200
- 400
- 409
- 500
OK
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
processinginstructioninfo object
response object
{
"processinginstructioninfo": {
"attributes": [
{
"name": "string",
"value": "string"
}
]
},
"response": {
"warningCode": 0,
"errorCode": 0,
"warningMessage": "string",
"entity": {
"subclientId": 0,
"_type_": 0
}
}
}
{
"processinginstructioninfo": {
"attributes": [
{
"name": "exitval",
"value": "0"
}
]
},
"response": {
"warningCode": 0,
"errorCode": 0,
"warningMessage": "",
"entity": {
"subclientId": 16201,
"_type_": 0
}
}
}
Bad Request
Conflict
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
- errorMessage string
- errorCode integer
{
"errorMessage": "string",
"errorCode": 0
}
{
"errorMessage": "A subclient by this name already exists as part of this backup set.",
"errorCode": 3
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
- errorMessage string
- errorCode integer
{
"errorMessage": "string",
"errorCode": 0
}
{
"errorMessage": "Failed to create new subclient.",
"errorCode": 1
}
POST /subclient
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X POST 'https://ServerURL/commandcenter/api/subclient' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"subClientProperties": {
"subClientEntity": {
"clientName": "string",
"instanceName": "string",
"appName": "string",
"backupsetName": "defaultBackupSet",
"subclientName": "string"
},
"cloudDbContent": {
"children": [
{
"displayName": "string",
"name": "string",
"path": "string",
"type": "string",
"allOrAnyChildren": true,
"negation": true
}
]
},
"cloudDbFilter": {},
"commonProperties": {
"numberOfBackupStreams": 0
}
}
}'
curl -L -X POST 'https://ServerURL/commandcenter/api/subclient' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"subClientProperties": {
"subClientEntity": {
"clientName": "string",
"instanceName": "string",
"appName": "string",
"backupsetName": "defaultBackupSet",
"subclientName": "string"
},
"cloudDbContent": {
"children": [
{
"displayName": "string",
"name": "string",
"path": "string",
"type": "string",
"allOrAnyChildren": true,
"negation": true
}
]
},
"cloudDbFilter": {},
"commonProperties": {
"numberOfBackupStreams": 0
}
}
}'
curl -L -X POST 'https://ServerURL/commandcenter/api/subclient' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"subClientProperties": {
"subClientEntity": {
"clientName": "string",
"instanceName": "string",
"appName": "string",
"backupsetName": "defaultBackupSet",
"subclientName": "string"
},
"cloudDbContent": {
"children": [
{
"displayName": "string",
"name": "string",
"path": "string",
"type": "string",
"allOrAnyChildren": true,
"negation": true
}
]
},
"cloudDbFilter": {},
"commonProperties": {
"numberOfBackupStreams": 0
}
}
}'
curl -L -X POST 'https://ServerURL/commandcenter/api/subclient' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"subClientProperties": {
"subClientEntity": {
"clientName": "string",
"instanceName": "string",
"appName": "string",
"backupsetName": "defaultBackupSet",
"subclientName": "string"
},
"cloudDbContent": {
"children": [
{
"displayName": "string",
"name": "string",
"path": "string",
"type": "string",
"allOrAnyChildren": true,
"negation": true
}
]
},
"cloudDbFilter": {},
"commonProperties": {
"numberOfBackupStreams": 0
}
}
}'
curl -L -X POST 'https://ServerURL/commandcenter/api/subclient' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"subClientProperties": {
"subClientEntity": {
"clientName": "string",
"instanceName": "string",
"appName": "string",
"backupsetName": "defaultBackupSet",
"subclientName": "string"
},
"cloudDbContent": {
"children": [
{
"displayName": "string",
"name": "string",
"path": "string",
"type": "string",
"allOrAnyChildren": true,
"negation": true
}
]
},
"cloudDbFilter": {},
"commonProperties": {
"numberOfBackupStreams": 0
}
}
}'
curl -L -X POST 'https://ServerURL/commandcenter/api/subclient' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"subClientProperties": {
"subClientEntity": {
"clientName": "string",
"instanceName": "string",
"appName": "string",
"backupsetName": "defaultBackupSet",
"subclientName": "string"
},
"cloudDbContent": {
"children": [
{
"displayName": "string",
"name": "string",
"path": "string",
"type": "string",
"allOrAnyChildren": true,
"negation": true
}
]
},
"cloudDbFilter": {},
"commonProperties": {
"numberOfBackupStreams": 0
}
}
}'
curl -L -X POST 'https://ServerURL/commandcenter/api/subclient' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"subClientProperties": {
"subClientEntity": {
"clientName": "string",
"instanceName": "string",
"appName": "string",
"backupsetName": "defaultBackupSet",
"subclientName": "string"
},
"cloudDbContent": {
"children": [
{
"displayName": "string",
"name": "string",
"path": "string",
"type": "string",
"allOrAnyChildren": true,
"negation": true
}
]
},
"cloudDbFilter": {},
"commonProperties": {
"numberOfBackupStreams": 0
}
}
}'