Create database group
This operation creates a database group for a MySQL instance.
- application/json
Request Body
subClientProperties object
subClientEntity object required
clientName stringName of the cloud account
instanceName stringName of the Instance for which database group has to be created
applicationId integerDefault value:
104
backupsetId integerBackupset ID
subclientName stringName of the database group to be created
planEntity object required
planName stringcontentOperationType string requiredDefault value:
ADD
mySqlSubclientProp object
numberOfBackupStreams integer requiredPossible values:
>= 1
and<= 100
Default value:
2
No of streams for data backup
content object[]
mySQLContent object required
Names of the databases to be added to the Database group content
databaseName string
Responses
- 200
- 400
- 409
- 500
OK
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
processinginstructioninfo object
attributes object[]
name stringvalue stringresponse object
warningCode integererrorCode integerwarningMessage stringentity object
subclientId integer_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": 1477,
"_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
}
Loading...