Modify instance
This operation modifies the instance properties using Instance ID.
Path Parameters
- instanceId integer required
Id of the instance
- application/json
Request Body
instanceProperties object
instance object required
instanceName stringName of the Instance to be modified
applicationId integerDefault value:
125
clientName stringName of the cloud account
planEntity object required
planName stringName of the plan
postGreSQLInstance object required
MaintainenceDB string requiredport string requiredIt must be specified in hostname:port format.
SAUser object
userName string requiredDatabase user name
password stringDatabase password in base 64 encoded format
sslOpt object
sslEnabled booleansslCa stringPath to SSL CA File on AccessNode
sslKey stringPath to Client Key file on the Access Node
sslCert stringPath to SSL Client Cert file on the Access Node
version string requiredDatabase instance version
Responses
- 200
- 404
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": 0,
"instanceName": "",
"instanceId": 0,
"_type_": 0
}
}
]
}
Not Found
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
- errorMessage string
- errorCode integer
{
"errorMessage": "string",
"errorCode": 0
}
{
"errorMessage": "Unknown Instance information. Please provide valid instance id to complete the operation.",
"errorCode": 587206385
}
Loading...