Update recovery catalog settings
post
https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/databases/actions/bulkUpdateRCSettings
Updates shared or user-specific recovery catalog settings for one or more database targets.
Request
Header Parameters
-
ORCL-EM-DBTARGET-AUTHORIZATION: string
Specifies the Enterprise Manager named credential used to access the database.Example:
NAMED:DB_ORACLE:SYSMAN -
ORCL-EM-HOSTTARGET-AUTHORIZATION: string
Specifies the Enterprise Manager named credential used to access the database host.Example:
NAMED:HOST_ORACLE:SYSMAN
Supported Media Types
- application/json
Root Schema : schema
Type:
objectSpecifies recovery catalog settings to apply to one or more database targets.
Show Source
-
rcSettings(required): object
RCSettings
Recovery catalog settings to apply to the specified target databases.
-
targets(required): array
targets
Lists the database targets to update.
Nested Schema : RCSettings
Type:
objectRecovery catalog settings to apply to the specified target databases.
Show Source
-
catalogDetails: object
catalogDetails
Specifies the recovery catalog database target and catalog user details.
- isShared(required): boolean
-
isUsingRC(required): boolean
Indicates whether RMAN stores backup metadata in a recovery catalog (true) or in the target database control file (false).Example:
false -
keepRMANRecordsInDays: integer
Specifies how many days to retain RMAN records in the target database control file. This field applies only when isShared is true and isUsingRC is false.Example:
10
Nested Schema : targets
Type:
arrayLists the database targets to update.
Show Source
-
Array of:
object TargetDatabase
Specifies a database target and the credentials used to update its recovery catalog settings.
Nested Schema : catalogDetails
Type:
objectSpecifies the recovery catalog database target and catalog user details.
Show Source
-
baseCatalogUser: string
Specifies the username of the base recovery catalog owner.Example:
rman -
catalogDbName: string
Specifies the Enterprise Manager target name of the recovery catalog database.Example:
rcDb19 -
catalogDbType: string
Allowed Values:
[ "oracle_database", "rac_database", "oracle_pdb" ]Specifies the Enterprise Manager target type of the recovery catalog database.Example:oracle_database -
emUsersToGrantAccess: array
emUsersToGrantAccess
Lists Enterprise Manager users to grant the VIEW_TARGET privilege on the recovery catalog database target and the VIEW_CREDENTIAL privilege on the named credential selected for the recovery catalog user.
-
vpcUser: string
Specifies the virtual private catalog user used to access the recovery catalog for the target database.Example:
vpc1
Nested Schema : emUsersToGrantAccess
Type:
arrayLists Enterprise Manager users to grant the VIEW_TARGET privilege on the recovery catalog database target and the VIEW_CREDENTIAL privilege on the named credential selected for the recovery catalog user.
Show Source
-
Array of:
string
Specifies an Enterprise Manager user to grant the required privileges.Example:
emuser_admin
Nested Schema : TargetDatabase
Type:
objectSpecifies a database target and the credentials used to update its recovery catalog settings.
Show Source
-
databaseCredential: string
Specifies the Enterprise Manager named credential used to access the database.Example:
NAMED:SYS_ORACLE:SYSMAN -
hostCredential: string
Specifies the Enterprise Manager named credential used to access the database host.Example:
NAMED:HOST_ORACLE:SYSMAN -
targetName: string
Specifies the Enterprise Manager target name of the database.Example:
DB19c -
targetTypeName: string
Specifies the Enterprise Manager target type of the database.Example:
oracle_database
Examples
Back to Top
Response
Supported Media Types
- application/json
202 Response
Accepted.
Headers
-
Content-Location:
Provides a link for tracking the submitted Deployment Procedure.
-
orcl-em-processing-time:
Elapsed processing time in milliseconds.
Root Schema : DPSubmittedResponse
Type:
objectProvides tracking details for the submitted Deployment Procedure.
Show Source
-
executionId: string
Specifies the execution ID of the submitted Deployment Procedure.Example:
34B14C3EF571187FE063821B4B643724 -
procedureId: string
Specifies the procedure ID of the submitted Deployment Procedure.Example:
34B14C3EF571187FE063821B4B643724 -
submissionName: string
Specifies the submission name of the Deployment Procedure.Example:
BulkUpdateRCSettings_050925091231 -
submittedBy: string
Indicates the Enterprise Manager user who submitted the Deployment Procedure.Example:
SYSMAN
Examples
400 Response
Bad Request.
Root Schema : ErrorResponse
Type:
objectResponse sent back in the case of an error
Show Source
-
code: string
The status code of the errorExample:
IllegalArgument -
message: string
A descriptive error messageExample:
The argument given is not supported
Examples
401 Response
Unauthorized.
Root Schema : ErrorResponse
Type:
objectResponse sent back in the case of an error
Show Source
-
code: string
The status code of the errorExample:
IllegalArgument -
message: string
A descriptive error messageExample:
The argument given is not supported
Examples
404 Response
Not Found.
Root Schema : ErrorResponse
Type:
objectResponse sent back in the case of an error
Show Source
-
code: string
The status code of the errorExample:
IllegalArgument -
message: string
A descriptive error messageExample:
The argument given is not supported
Examples
500 Response
Internal Server Error.
Root Schema : ErrorResponse
Type:
objectResponse sent back in the case of an error
Show Source
-
code: string
The status code of the errorExample:
IllegalArgument -
message: string
A descriptive error messageExample:
The argument given is not supported
Examples
503 Response
Service Unavailable.
Root Schema : ErrorResponse
Type:
objectResponse sent back in the case of an error
Show Source
-
code: string
The status code of the errorExample:
IllegalArgument -
message: string
A descriptive error messageExample:
The argument given is not supported
Examples