Configure Backup Client MySQL Instance
Select
SaaS
Customer Managed
Configure Backup Client MySQL Instance
- application/json
Request Body
- CreateInstance-SaaS
- CreateInstance-CustomerManaged
region object required
id integername stringcloudAccount object required
id integername string- dbInstanceIdentifier string required
Database name. Use Select Instance API to fetch this
- endPoint string required
Database endpoint or hostname
- port integer required
Database port
plan object required
id integername string- sslEnabled boolean
Default is false
- SSL_CA_Certificate string
database object required
Database connection credentials
username string requiredDB user name
password stringDB Password. Optional - Not needed if its AD User
backupGateways object[]
List of backupGateways or AccessNodes for Azure DB backup
Optional : Not required if the directCloudBackup is set to true
id integerBackup Gateway ID
name stringBackup Gateway Name
cloudAccount object required
id integername string- dbInstanceIdentifier string required
Database name. Use Select Instance API to fetch this
- endPoint string required
Database endpoint or hostname
- port integer required
Database port
plan object required
id integername string- sslEnabled boolean
Default is false
- SSL_CA_Certificate string
database object required
Database connection credentials
username string requiredDB user name
password stringDB Password. Optional - Not needed if its AD User
oneOf
Responses
- 200
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
instance object
name stringid integer
{
"instance": {
"name": "string",
"id": 0
}
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
- Backup Gateway offline
- D B Info not provided
Schema
- failedStage string
- errorCode integer
errorMessage object
errorMessage stringerrorCode stringentity object
subclientId stringclientId stringinstanceName stringinstanceId string_type_ string
{
"failedStage": "string",
"errorCode": 0,
"errorMessage": {
"errorMessage": "string",
"errorCode": "string",
"entity": {
"subclientId": "string",
"clientId": "string",
"instanceName": "string",
"instanceId": "string",
"_type_": "string"
}
}
}
{
"failedStage": "PostInstance",
"errorCode": -1,
"errorMessage": {
"errorMessage": "Unable to connect to client [azmetallic5-MI] to execute [MySqlBrowseAgent].\\\\nPlease ensure that all iDataAgent software is properly installed.\\\\nAlso check network connectivity and if this product's services are running.",
"errorCode": "4444",
"entity": {
"subclientId": "0",
"clientId": "2034",
"instanceName": "mysqltestserver[eastus]",
"instanceId": "1961",
"_type_": "ROOT_ENTITY"
}
}
}
{
"failedStage": "PostInstance",
"errorCode": -1,
"errorMessage": {
"errorMessage": "Failed to create new instance.",
"errorCode": "1",
"entity": {
"subclientId": "0",
"clientId": "2034",
"instanceName": "",
"instanceId": "-1",
"_type_": "ROOT_ENTITY"
}
}
}
Loading...