Create database group
Select
Customer Managed
This operation creates a database group for a PostgreSQL or Aurora PostgreSQL instance.
- 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": 1585,
"_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://CommandCenterHostName/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",
"applicationId": 125,
"backupsetId": 0,
"subclientName": "string"
},
"planEntity": {
"planName": "string"
},
"contentOperationType": "ADD",
"content": [
{
"postgreSQLContent": {
"databaseName": "string"
}
}
],
"postgreSQLSubclientProp": {
"numberOfBackupStreams": 1,
"collectObjectListDuringBackup": false
}
}
}'
curl -L -X POST 'https://CommandCenterHostName/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",
"applicationId": 125,
"backupsetId": 0,
"subclientName": "string"
},
"planEntity": {
"planName": "string"
},
"contentOperationType": "ADD",
"content": [
{
"postgreSQLContent": {
"databaseName": "string"
}
}
],
"postgreSQLSubclientProp": {
"numberOfBackupStreams": 1,
"collectObjectListDuringBackup": false
}
}
}'
curl -L -X POST 'https://CommandCenterHostName/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",
"applicationId": 125,
"backupsetId": 0,
"subclientName": "string"
},
"planEntity": {
"planName": "string"
},
"contentOperationType": "ADD",
"content": [
{
"postgreSQLContent": {
"databaseName": "string"
}
}
],
"postgreSQLSubclientProp": {
"numberOfBackupStreams": 1,
"collectObjectListDuringBackup": false
}
}
}'
curl -L -X POST 'https://CommandCenterHostName/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",
"applicationId": 125,
"backupsetId": 0,
"subclientName": "string"
},
"planEntity": {
"planName": "string"
},
"contentOperationType": "ADD",
"content": [
{
"postgreSQLContent": {
"databaseName": "string"
}
}
],
"postgreSQLSubclientProp": {
"numberOfBackupStreams": 1,
"collectObjectListDuringBackup": false
}
}
}'
curl -L -X POST 'https://CommandCenterHostName/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",
"applicationId": 125,
"backupsetId": 0,
"subclientName": "string"
},
"planEntity": {
"planName": "string"
},
"contentOperationType": "ADD",
"content": [
{
"postgreSQLContent": {
"databaseName": "string"
}
}
],
"postgreSQLSubclientProp": {
"numberOfBackupStreams": 1,
"collectObjectListDuringBackup": false
}
}
}'
curl -L -X POST 'https://CommandCenterHostName/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",
"applicationId": 125,
"backupsetId": 0,
"subclientName": "string"
},
"planEntity": {
"planName": "string"
},
"contentOperationType": "ADD",
"content": [
{
"postgreSQLContent": {
"databaseName": "string"
}
}
],
"postgreSQLSubclientProp": {
"numberOfBackupStreams": 1,
"collectObjectListDuringBackup": false
}
}
}'
curl -L -X POST 'https://CommandCenterHostName/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",
"applicationId": 125,
"backupsetId": 0,
"subclientName": "string"
},
"planEntity": {
"planName": "string"
},
"contentOperationType": "ADD",
"content": [
{
"postgreSQLContent": {
"databaseName": "string"
}
}
],
"postgreSQLSubclientProp": {
"numberOfBackupStreams": 1,
"collectObjectListDuringBackup": false
}
}
}'