psm accs update

This command updates the runtime of an Oracle Application Container Cloud Service application.

Syntax

psm accs update
-n|--app-name name 
-u|--update-id  
[-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 update -n ExampleApp -u sample-update-id -o rolling
{
    "status": "Completed",
    "details": {"message": "APAAS-RUNTIME-UPDATE-011: Successfully initiated a process for updating app [ExampleApp] to version [nodev8.1.4]."}
}
Job ID : 10999269