Configure Backup Client for MariaDB Instance
This API creates Cloud Database Instance for MariaDB.
All the databases in the MariaDB instance will be backed up after creation.
Use GET azuredb/maria/instance API to get the dbInstanceIdentifier and port.
- application/json
Request Body
- CreateMariaDB-SaaS
- CreateMariaDB-CustomerManaged
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
username string requiredDatabase username
password string requiredDatabase password in base 64 encoded format
region object
id integername stringbackupGateways 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
username string requiredDatabase username
password string requiredDatabase password in base 64 encoded format
oneOf
Responses
- 200
- 500
OK
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
instance object
id integername string
{
"instance": {
"id": 0,
"name": "string"
}
}
{
"instance": {
"id": 1724,
"name": "mariadb/mariadb103[eastus]"
}
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
- Without db instance identifier
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": "Failed to create new instance.",
"errorCode": "1",
"entity": {
"subclientId": "0",
"clientId": "2015",
"instanceName": "",
"instanceId": "-1",
"_type_": "ROOT_ENTITY"
}
}
}
Loading...