psm accs applied-updates

This command lists the history of updates or rollback done on a Oracle Application Container Cloud Service application.

Syntax

psm applied-updates 
-n|--app-name name 
-u|--update-id  
[-of|--output-format json|html|short]
[-o|--mode] 
[-wc|--wait-until-complete] 

Parameters

All parameters are required unless otherwise noted.

Parameter Description
-n, --app-name Name of the application.
-u, --update-id ID of the runtime update.
-o, --mode (Optional) Mode in which update will be performed. Can be rolling or quick.

-of|--output-format json|html|short

(Optional) Specifies the output format of the command’s response:
  • json—output is formatted as a JSON array.

  • html—output is formatted as HTML

  • short—output is formatted as a brief summary.

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

-wc,,--wait-until-complete (Optional) Wait until the command is complete. Valid values are true or false. Default is false.

Examples

$ psm accs applied-updates -n ExampleApp -of json
[
    {
        "id":"44551",
        "runtime":"Node",
        "updateId":"nodev8.1.4",
        "updateDescription":"This update contains new features and fixes for critical issues. See the documentation for details.",
        "releaseDate":"2017-09-14T00:00:00.000+0000",
        "releaseURL":"https://nodejs.org/en/blog/release/v8.1.4",
        "notes":"notes",
        "appliedBy":"jsmith@example.com",
        "fromVersion":"Node 6.11.1",
        "toVersion":"Node 8.1.4",
        "startTime":"2018-02-19T18:23:37.270+0000",
        "endTime":"2018-02-19T18:25:27.350+0000",
        "opType":"UPDATE",
        "opStatus":"SUCCEEDED",
        "statusMessage":"Successfully updated envRuntime from Node 6.11.1 to Node 8.1.4...",
        "isRollbackEnabled":"true",
        "rollbackMessage":"Available until 2018-03-21T18:25:27.350+0000",
        "updateType":"major"
    }
]