Skip to main content

Create instance

This API creates AWS PaaS Database Instance for MariaDB.

All the databases in the MariaDB instance will be backed up after creation.

Request Body
  • instanceProperties object
  • instance object required
  • instanceName string

    Name of the Instance

  • applicationId integer

    Default value: 104

  • clientName string

    Name of the cloud account

  • mySqlInstance object
  • port string required

    It must be specified in hostname:port format

  • EnableAutoDiscovery boolean required

    Default value is true.

  • SAUser object required
  • userName string

    Database username

  • password string

    Database password in base 64 encoded format

  • version string

    Database instance version

  • cloudDBEngineType string

    Default value: MARIADB

  • sslEnabled boolean

    Default is false

  • sslCa string

    Path to SSL CA file on the Access Node

  • planEntity object
  • planName string

    Name of the plan

  • dbEngine string

    Default value: mariadb

Responses

OK


Schema
  • processinginstructioninfo object
  • attributes object[]
  • name string
  • value string
  • response object
  • warningCode integer
  • errorCode integer
  • warningMessage string
  • entity object
  • subclientId integer
  • clientId integer
  • instanceName string
  • instanceId integer
  • _type_ integer
POST /instance    

Authorization

type: apiKeyname: Authtokenin: header

Request

Click Edit to configure Base URL
https://CommandCenterHostName/commandcenter/api
Security Scheme
token
Body
{
"instanceProperties": {
"instance": {
"instanceName": "string",
"applicationId": 104,
"clientName": "string"
},
"mySqlInstance": {
"port": "string",
"EnableAutoDiscovery": true,
"SAUser": {
"userName": "string",
"password": "string"
},
"version": "string",
"cloudDBEngineType": "MARIADB",
"sslEnabled": true,
"sslCa": "string"
},
"planEntity": {
"planName": "string"
},
"dbEngine": "mariadb"
}
}
Accept
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Instance' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"instanceProperties": {
"instance": {
"instanceName": "string",
"applicationId": 104,
"clientName": "string"
},
"mySqlInstance": {
"port": "string",
"EnableAutoDiscovery": true,
"SAUser": {
"userName": "string",
"password": "string"
},
"version": "string",
"cloudDBEngineType": "MARIADB",
"sslEnabled": true,
"sslCa": "string"
},
"planEntity": {
"planName": "string"
},
"dbEngine": "mariadb"
}
}'