Modify Oracle Instance
Select
This operation is used to modify instance using instanceId
Path Parameters
- instanceId integer required
InstanceId of instance to be modified
- application/json
Request Body
instanceProperties object
instance object
instanceId integer requiredInstanceId of the oracle instance to be modified
instanceName stringName of the oracle instance
applicationId integer requiredDefault value:
22
22 for Oracle
appName stringDefault value:
Oracle
clientId integer requiredClientId of client on which instance is present
clientName stringcommCellId integerDefault value:
2
oracleInstance object
oracleHome stringOracle data
oracleWalletAuthentication booleanSet to true if oracle wallet is configured
sqlConnect object
userName stringDefault value:
/
Oracle database username
password stringBase64 encrypted database user password
domainName stringOracle SID/ DB TNS entry
confirmPassword stringuseCatalogConnect booleanSet to true if user has recovery catalog configured on instance
catalogConnect object
Applicable only if useCatalogConnect is enabled
userName stringRecovery catalog user
password stringBase64 encoded Recovery catalog user password
domainName stringRecovery Catalog DB TNS Entry
confirmPassword stringblockSize integerDefault value:
1048576
crossCheckTimeout integerDefault value:
600
planEntity object
planId integerPlanID of plan to be associated to the client
- 200
- 400
- 401
- 404
OK
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
processinginstructioninfo object
attributes object[]
name stringvalue stringresponse object[]
warningCode integererrorCode integerwarningMessage stringentity object
Info of instance modified
subclientId integerclientId integerinstanceName stringinstanceId integer
{
"processinginstructioninfo": {
"attributes": [
{
"name": "string",
"value": "string"
}
]
},
"response": [
{
"warningCode": 0,
"errorCode": 0,
"warningMessage": "string",
"entity": {
"subclientId": 0,
"clientId": 0,
"instanceName": "string",
"instanceId": 0
}
}
]
}
{
"processinginstructioninfo": {
"attributes": [
{
"name": "exitval",
"value": "0"
}
]
},
"response": [
{
"warningCode": 0,
"errorCode": 0,
"warningMessage": "",
"entity": {
"subclientId": 0,
"clientId": 0,
"instanceName": "",
"instanceId": 0
}
}
]
}
Bad Request
- application/json
- application/xml
- Schema
- Example
Schema
- string
Request body is empty or format is invalid
- Schema
- Example (from schema)
Schema
- object
<root/>
Unauthorized
- application/json
- Schema
- Example (from schema)
- Example
Schema
- errorMessage string
- errorCode integer
{
"errorMessage": "string",
"errorCode": 0
}
{
"errorMessage": "Access Denied",
"errorCode": 5
}
Not found
- application/json
- Schema
- Example (from schema)
- Example
Schema
- errorMessage string
- errorCode integer
{
"errorMessage": "string",
"errorCode": 0
}
{
"errorMessage": "No instance is specified",
"errorCode": 4
}