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
Key | Datatype | Required | Description |
---|---|---|---|
if-match | string | For 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-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"}