Create Instance
Select
SaaS
Customer Managed
This API creates GCP PaaS Database Instance for MySQL.
All the databases in the MySQL instance will be backed up after creation.
- application/json
Request Body
instanceProperties object
instance object required
instanceName stringName of the instance
applicationId integerDefault value:
104
clientName stringName of the cloud Account
version stringDatabase instance version
mySqlInstance object required
port stringIt must be specified in hostname:port format.
EnableAutoDiscovery booleanDefault value:
true
SAUser object required
userName stringDatabase username
password stringDatabase password in base 64 encoded format
version stringDatabase instance version
sslCa stringPath to SSL CA file on the Access Node
sslKey stringPath to SSL Client key file on the Access Node
sslCert stringPath to SSL Client cert file on the Access Node
cloudDBEngineType stringDefault value:
MYSQL
sslEnabled booleanDefault value:
false
planEntity object required
planName stringName of the plan
dbEngine string requiredPossible values: [
mysql
]
Responses
- 200
- 400
- 404
- 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 integerclientId integerinstanceName stringinstanceId integer_type_ integer
{
"processinginstructioninfo": {
"attributes": [
{
"name": "string",
"value": "string"
}
]
},
"response": {
"warningCode": 0,
"errorCode": 0,
"warningMessage": "string",
"entity": {
"subclientId": 0,
"clientId": 0,
"instanceName": "string",
"instanceId": 0,
"_type_": 0
}
}
}
{
"processinginstructioninfo": {
"attributes": [
{
"name": "exitval",
"value": "0"
}
]
},
"response": {
"warningCode": 0,
"errorCode": 0,
"warningMessage": "",
"entity": {
"subclientId": 0,
"clientId": 444,
"instanceName": "mysql8[us-central1]",
"instanceId": 1068,
"_type_": 0
}
}
}
Bad Request
Not Found
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
- errorMessage string
- errorCode integer
entity object
subclientId integerclientId integerinstanceName stringinstanceId integer_type_ integer
{
"errorMessage": "string",
"errorCode": 0,
"entity": {
"subclientId": 0,
"clientId": 0,
"instanceName": "string",
"instanceId": 0,
"_type_": 0
}
}
{
"errorMessage": "Unable to connect to client [] 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": 444,
"instanceName": "mysql8[us-central1]",
"instanceId": 1067,
"_type_": 0
}
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
- errorMessage string
- errorCode integer
entity object
subclientId integerclientId integerinstanceName stringinstanceId integer_type_ integer
{
"errorMessage": "string",
"errorCode": 0,
"entity": {
"subclientId": 0,
"clientId": 0,
"instanceName": "string",
"instanceId": 0,
"_type_": 0
}
}
{
"errorMessage": "Failed to connect to the MySQL server. Check that username, password, port and SSL parameters are valid.",
"errorCode": 4444,
"entity": {
"subclientId": 0,
"clientId": 2,
"instanceName": "temptest[us-central-1]",
"instanceId": 7,
"_type_": 0
}
}
Loading...