Create PostgreSQL Database Group
Select
SaaS
Customer Managed
This operation creates a database group in a PostgreSQL Instance
- application/json
Request Body
subClientProperties object
subClientEntity object
clientName stringClient Name
instanceName stringInstance Name
displayName stringbackupsetId integer_type_ stringinstanceId integerbackupsetGUID stringclientId integerappName stringDefault value:
PostgreSQL
Application Name
backupsetName stringBackupSet Name
applicationId integerDefault value:
125
entityInfo object
companyId integercompanyName stringmultiCommcellId integersubclientId integerSubclient ID
subclientName stringSubclient Name
commonProperties objectplanEntity object
planId integerPlan ID to be associated to the subclient
contentOperationType integercontent object[]
postgreSQLContent object
databaseName stringDatabase name which needs to be added to contents
postgreSQLSubclientProp object
numberOfBackupStreams integerDefault value:
1
Number of backup streams
collectObjectListDuringBackup booleanFlag to determine object list collection during backups
Responses
- 200
- 400
- 401
- 409
- 500
OK
- application/json
- Schema
- Example (from schema)
- Example
Schema
processinginstructioninfo object
attributes object[]
name stringvalue stringresponse object
warningCode integererrorCode integerwarningMessage stringentity object
subclientId integerID of create
_type_ integer
{
"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": 21581,
"_type_": 0
}
}
}
Bad Request
- application/json
- Schema
- Example
Schema
- string
Request body is empty or format is invalid
Unauthorized
- application/json
- Schema
- Example (from schema)
- Example
Schema
- errorMessage string
- errorCode integer
{
"errorMessage": "string",
"errorCode": 0
}
{
"errorMessage": "Access denied",
"errorCode": 5
}
Conflict
- application/json
- Schema
- Example (from schema)
- Example
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
- Example 1
Schema
- errorMessage string
- errorCode integer
{
"errorMessage": "string",
"errorCode": 0
}
{
"errorMessage": "Failed to create new subclient.",
"errorCode": 1
}
{
"errorMessage": "User does not have [Use Plan] rights on plan(s)-[Invalid PlanId].",
"errorCode": 1
}
Loading...