Skip to main content

Configure Backup Client for MariaDB Instance

Select

SaaS
Customer Managed

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.

Request Body

  • cloudAccount object required
  • id integer
  • name 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 integer
  • name string
  • sslEnabled boolean

    Default is false

  • SSL_CA_Certificate string
  • database object required
  • username string required

    Database username

  • password string required

    Database password in base 64 encoded format

Responses

OK


Schema
  • instance object
  • id integer
  • name string
POST /v4/azuredb/maria/instance    

Authorization

type: apiKeyname: Authtokenin: header

Request

Click Edit to configure Base URL
https://CommandCenterHostName/commandcenter/api
Security Scheme
token
Body

{
"cloudAccount": {
"id": 0,
"name": "string"
},
"dbInstanceIdentifier": "string",
"endPoint": "string",
"port": 0,
"plan": {
"id": 0,
"name": "string"
},
"sslEnabled": true,
"SSL_CA_Certificate": "string",
"database": {
"username": "string",
"password": "string"
},
"region": {
"id": 0,
"name": "string"
},
"backupGateways": [
{
"id": 0,
"name": "string"
}
]
}
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/azuredb/maria/instance' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"cloudAccount": {
"id": 0,
"name": "string"
},
"dbInstanceIdentifier": "string",
"endPoint": "string",
"port": 0,
"plan": {
"id": 0,
"name": "string"
},
"sslEnabled": true,
"SSL_CA_Certificate": "string",
"database": {
"username": "string",
"password": "string"
},
"region": {
"id": 0,
"name": "string"
},
"backupGateways": [
{
"id": 0,
"name": "string"
}
]
}'