CreateMaintenanceRun

POST {{baseUrl}}/maintenanceRuns

Creates a maintenance run with one of the following: 1. The latest available release update patch (RUP) for the Autonomous Container Database. 2. The latest available RUP and DST time-zone (TZ) file updates for the Autonomous Container Database. 3. The DST TZ file updates for the Autonomous Container Database.

Request Body

{"targetResourceId"=>"<string>", "timeScheduled"=>"<dateTime>", "patchType"=>"TIMEZONE", "compartmentId"=>"<string>", "isDstFileUpdateEnabled"=>"<boolean>", "patchingMode"=>"ROLLING"}

HEADERS

KeyDatatypeRequiredDescription
opc-request-idstringUnique identifier for the request.
opc-retry-tokenstringA token that uniquely identifies a request so it can be retried in case of a timeout or
server error without risk of executing that same action again. Retry tokens expire after 24
hours, but can be invalidated before then due to conflicting operations (for example, if a resource
has been deleted and purged from the system, then a retry of the original creation request
may be rejected).
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;id&quot;:&quot;\u003cstring\u003e&quot;,&quot;compartmentId&quot;:&quot;\u003cstring\u003e&quot;,&quot;displayName&quot;:&quot;\u003cstring\u003e&quot;,&quot;lifecycleState&quot;:&quot;SUCCEEDED&quot;,&quot;timeScheduled&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;currentCustomActionTimeoutInMins&quot;:&quot;\u003cinteger\u003e&quot;,&quot;currentPatchingComponent&quot;:&quot;\u003cstring\u003e&quot;,&quot;customActionTimeoutInMins&quot;:&quot;\u003cinteger\u003e&quot;,&quot;description&quot;:&quot;\u003cstring\u003e&quot;,&quot;estimatedComponentPatchingStartTime&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;estimatedPatchingTime&quot;:{&quot;estimatedDbServerPatchingTime&quot;:&quot;\u003cinteger\u003e&quot;,&quot;estimatedNetworkSwitchesPatchingTime&quot;:&quot;\u003cinteger\u003e&quot;,&quot;estimatedStorageServerPatchingTime&quot;:&quot;\u003cinteger\u003e&quot;,&quot;totalEstimatedPatchingTime&quot;:&quot;\u003cinteger\u003e&quot;},&quot;isCustomActionTimeoutEnabled&quot;:&quot;\u003cboolean\u003e&quot;,&quot;isDstFileUpdateEnabled&quot;:&quot;\u003cboolean\u003e&quot;,&quot;lifecycleDetails&quot;:&quot;\u003cstring\u003e&quot;,&quot;maintenanceSubtype&quot;:&quot;SECURITY_MONTHLY&quot;,&quot;maintenanceType&quot;:&quot;PLANNED&quot;,&quot;patchFailureCount&quot;:&quot;\u003cinteger\u003e&quot;,&quot;patchId&quot;:&quot;\u003cstring\u003e&quot;,&quot;patchingEndTime&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;patchingMode&quot;:&quot;ROLLING&quot;,&quot;patchingStartTime&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;patchingStatus&quot;:&quot;PATCHING&quot;,&quot;peerMaintenanceRunId&quot;:&quot;\u003cstring\u003e&quot;,&quot;targetDbServerVersion&quot;:&quot;\u003cstring\u003e&quot;,&quot;targetResourceId&quot;:&quot;\u003cstring\u003e&quot;,&quot;targetResourceType&quot;:&quot;AUTONOMOUS_DATABASE&quot;,&quot;targetStorageServerVersion&quot;:&quot;\u003cstring\u003e&quot;,&quot;timeEnded&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;timeStarted&quot;:&quot;\u003cdateTime\u003e&quot;}