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
Key | Datatype | Required | Description |
---|---|---|---|
opc-request-id | string | Unique identifier for the request. | |
opc-retry-token | string | A 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-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"id":"\u003cstring\u003e","compartmentId":"\u003cstring\u003e","displayName":"\u003cstring\u003e","lifecycleState":"SUCCEEDED","timeScheduled":"\u003cdateTime\u003e","currentCustomActionTimeoutInMins":"\u003cinteger\u003e","currentPatchingComponent":"\u003cstring\u003e","customActionTimeoutInMins":"\u003cinteger\u003e","description":"\u003cstring\u003e","estimatedComponentPatchingStartTime":"\u003cdateTime\u003e","estimatedPatchingTime":{"estimatedDbServerPatchingTime":"\u003cinteger\u003e","estimatedNetworkSwitchesPatchingTime":"\u003cinteger\u003e","estimatedStorageServerPatchingTime":"\u003cinteger\u003e","totalEstimatedPatchingTime":"\u003cinteger\u003e"},"isCustomActionTimeoutEnabled":"\u003cboolean\u003e","isDstFileUpdateEnabled":"\u003cboolean\u003e","lifecycleDetails":"\u003cstring\u003e","maintenanceSubtype":"SECURITY_MONTHLY","maintenanceType":"PLANNED","patchFailureCount":"\u003cinteger\u003e","patchId":"\u003cstring\u003e","patchingEndTime":"\u003cdateTime\u003e","patchingMode":"ROLLING","patchingStartTime":"\u003cdateTime\u003e","patchingStatus":"PATCHING","peerMaintenanceRunId":"\u003cstring\u003e","targetDbServerVersion":"\u003cstring\u003e","targetResourceId":"\u003cstring\u003e","targetResourceType":"AUTONOMOUS_DATABASE","targetStorageServerVersion":"\u003cstring\u003e","timeEnded":"\u003cdateTime\u003e","timeStarted":"\u003cdateTime\u003e"}