psm jcs delete-snapshot

Delete a snapshot defined for a 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 delete-snapshot -s|--service-name instance-name 
    -n|--snapshot-name snapshot-name
    [-of|--output-format json|html|short]
    [-wc|--wait-until-complete true|false]

Parameters

All parameters are required unless otherwise specified.

Parameter Description

-s|--service-name instance-name

Specifies the name of the Java Cloud Service instance.

-n|--snapshot-name snapshot-name

Specifies the name of the snapshot.

-wc|--wait-until-complete true|false

(Optional) A boolean value that, when set to true, makes the command behave synchronously; that is, it does not return until the submitted job is complete. The following message is displayed until the job is complete:
Waiting for the job to complete... (it cannot be cancelled)
Default: false

-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.

Examples

$ psm jcs delete-snapshot --serviceName myjcs57-aas --snapshotName mysql57-snap1