Create Instance
The operation is used to create RDS instance. Default subclient will be created with all instances in all regions as content.
- application/json
Request Body
instanceProperties object
instance object
instanceName string requiredName of the instance.
applicationId integer requiredDefault value:
134
clientName string requiredCloud account name.
cloudAppsInstance object
instanceType stringPossible values: [
AMAZON_RDS
]planEntity object
planName string requiredName of the plan.
useResourcePoolInfo booleanDefault value:
false
Responses
- 200
- 501
- 502
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": 457,
"clientId": 27,
"instanceName": "RDS",
"instanceId": 210,
"_type_": 0
}
}
}
Internal server error
- application/json
- Schema
- Example (from schema)
- Wrong or Non-existent cloud account name.
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": "Unknown Event [^1%lu].",
"errorCode": 1,
"entity": {
"subclientId": 0,
"clientId": -32000,
"instanceName": "RDS",
"instanceId": -1,
"_type_": 0
}
}
Bad Gateway
- application/json
- Schema
- Example (from schema)
- Conflict
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": "An instance by this name already exists.",
"errorCode": 3,
"entity": {
"subclientId": 0,
"clientId": 27,
"instanceName": "RDS",
"instanceId": -1,
"_type_": 0
}
}
Loading...