Add Oracle Instance
Select
This operation adds an Oracle Instance.
- application/json
Request Body
instanceProperties object
instance object
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 string requiredOracle 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 instead
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
osUserCredInfo 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'
planEntity object
planId integerPlanID of plan to be associated to the client
- 200
- 400
- 401
OK
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
processinginstructioninfo object
attributes object[]
name stringvalue stringresponse object
warningCode integererrorCode integerwarningMessage stringentity object
instanceId integerclientId integerinstanceName string
{
"processinginstructioninfo": {
"attributes": [
{
"name": "string",
"value": "string"
}
]
},
"response": {
"warningCode": 0,
"errorCode": 0,
"warningMessage": "string",
"entity": {
"instanceId": 0,
"clientId": 0,
"instanceName": "string"
}
}
}
{
"processinginstructioninfo": {
"attributes": [
{
"name": "exitval",
"value": "0"
}
]
},
"response": {
"warningCode": 0,
"errorCode": 0,
"warningMessage": "",
"entity": {
"instanceId": 10,
"clientId": 11,
"instanceName": "aurora/aurorapg13[us-east-1]"
}
}
}
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
}