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
For authentication methods other than OS default authentication ('/' as username) and wallet (which uses domainName property in this object), please create a credential and specify id in dbConnectCredInfo. Usage of inline passwords is deprecated
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
Deprecated, please use catalogConnectCredInfo
userName stringRecovery catalog user
password stringBase64 encoded Recovery catalog user password
domainName stringRecovery Catalog DB TNS Entry
confirmPassword stringosUserCredInfo object
Applicable only for Windows clients. Used for impersonation
credentialId integerCredential ID of type 'Windows Account'
dbConnectCredInfo object
Used to connect to the Oracle DB. Create and assign a credential of type 'Oracle' when you want to use a different auth type than OS authentication ('/' as username in sqlConnect)
credentialId integerCredential ID of type 'Oracle'
catalogConnectCredInfo object
Used to connect to the recovery catalog. Create a credential of type 'Oracle Recovery Catalog' and use it here
credentialId integerCredential ID of type 'Oracle Recovery Catalog'
blockSize 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
}