UpdateMaintenanceRun

PUT {{baseUrl}}/maintenanceRuns/:maintenanceRunId

Updates the properties of a maintenance run, such as the state of a maintenance run.

Request Body

{"currentCustomActionTimeoutInMins"=>"<integer>", "customActionTimeoutInMins"=>"<integer>", "isCustomActionTimeoutEnabled"=>"<boolean>", "isEnabled"=>"<boolean>", "isPatchNowEnabled"=>"<boolean>", "isResumePatching"=>"<boolean>", "patchId"=>"<string>", "patchingMode"=>"NONROLLING", "timeScheduled"=>"<dateTime>"}

HEADERS

KeyDatatypeRequiredDescription
if-matchstringFor optimistic concurrency control. In the PUT or DELETE call for a resource, set the if-match
parameter to the value of the etag from a previous GET or POST response for that resource. The resource
will be updated or deleted only if the etag you provide matches the resource's current etag value.
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;}