psm jcs available-patches

List all available patches for an Oracle Java Cloud Service instance

Syntax

In the following syntax, line breaks have been added for clarity. Do not include them when entering the command.

psm jcs available-patches -s|--service-name serviceName 
  [-of|--output-format json|html|short]
 

Parameters

All parameters are required unless otherwise noted.

Parameter Description
-s|--serviceName service-name Name of the Oracle Java Cloud Service instance.
-of|--output-format json|html|short (Optional) Output format of the command’s response:

Accepted values: json, html, short

The default output format is the one you specified when using the psm setup command to configure the psm CLI.

Example

$ psm jcs available-patches -s ExampleInstance -of json 
[
    {
        "availablePatchGuiMetadata":{
            "supportsPreCheck":true
        },
        "componentPatches":{
            "JDK":{
                "id":58,
                "preserveFiles":[],
                "releaseVersion":"1.8.0_85",
                "version":"1.8.0_85",
                "zipBundles":{
                    "JDK":{
                        "id":58,
                        "md5sum":"1c83952c16d11f65d9142d4bfa0e1cb9",
                        "provisioningObjectRef":"JDK/8.0.71/160106/jdk.zip",
                        "storageKey":"PATCH/JDK/jdk1.8.0_71",
                        "zipVersion":"1.8.0_85"
                    }
                }
            }
        },
        "displayName":"1.8.0_85",
        "entryDate":"Apr 1, 2016 8:01:41 AM",
        "entryUserId":"weblogic",
        "includesConfigUpgrade":false,
        "induceDownTime":false,
        "isAutoApply":false,
        "isCustomerVisible":false,
        "isDeleted":false,
        "patchCategory":"JDK",
        "patchComponents":[
            {
                "component":"JDK",
                "id":58,
                "md5sum":"1c83952c16d11f65d9142d4bfa0e1cb9",
                "patchingObjectRef":"PATCH/JDK/jdk1.8.0_71",
                "preserveFiles":[],
                "provisioningObjectRef":"JDK/8.0.71/160106/jdk.zip",
                "version":"1.8.0_85"
            }
        ],
        "patchDescription":"Update to latest version of JDK, 1.8.0_85. This is a test only patch",
        "patchId":"Test_Patch_jdk1.8.0_85",
        "patchNumber":"1.8.0_85",
        "patchReleaseUrl":"http://www.oracle.com/technetwork/java/javase/8u71-relnotes-2773756.html",
        "patchSeverity":"Normal",
        "patchType":"JDK",
        "releaseDate":"Jan 14, 2016 8:00:00 AM",
        "releaseVersion":"1.8.0_85",
        "requiresRestart":true,
        "serviceType":"JaaS",
        "serviceTypeVersions":"ANY",
        "serviceVersion":"12cRelease2"
    }
]

More Information

Viewing Patch Details in Administering Oracle Java Cloud Service.