Perform a Patching Precheck

put

/paas/api/v1.1/instancemgmt/{identityDomainId}/services/IntegrationCloud/instances/{service_name}/patches/checks/{patchId}

Performs a precheck to identify potential issues that might prevent the specified patch from completing successfully without actually patching the service instance. Specifically, the patching precheck reports on the following conditions:
  • Disk space shortage
  • Database connectivity failure
  • Server access failure
  • Storage access failure

Prechecks do not check whether another administration task (such as backup, restoration, or scaling) is in progress, which would prevent patching.

Request

Supported Media Types
Path Parameters
Header Parameters
Body ()
The request contains information about the patch precheck operation.
Root Schema : precheck-request
The request consumes an application/json payload. However, no parameters are supported in the payload at this time.

Back to Top

Response

Supported Media Types

202 Response

Accepted.
Headers
  • A REST URI you can use to check the progress and completion of the precheck operation.
Body ()
The response body includes information about the operation.
Root Schema : patch-response
Type: object
The response body includes information about the operation.
Show Source
Nested Schema : details
Type: object
Groups the details of the operation.
Show Source
Back to Top

Examples

The following example shows how to perform a precheck by submitting a PUT request on the REST resource using cURL.

Note:

The command in this example uses the URL structure https://example.com/resource-path, where example.com is the Oracle Cloud server to contact for your identity domain.

cURL Command

curl -i -X PUT -u jstein:Password -d @emptyfile.json -H "Content-Type:application/json" -H "X-ID-TENANT-NAME:ExampleIdentityDomain" https://example.com/paas/api/v1.1/instancemgmt/ExampleIdentityDomain/services/IntegrationCloud/instances/ExampleInstance/patches/checks/wls_patch_12.2.1.2.0_170326 

Example of Response Body

The following shows an example of the response body in JSON format.
{
   "status":"Completed",
   "details":{
       "message":"PATCHING-5227: Pre-Checking service for patch [wls_patch_12.2.1.2.0_170326]
is submitted as an asynchronous job.",
       "jobId":"5409198"
   }
}
Back to Top