psm dbcs snapshot

Displays information about a single storage snapshot of an Oracle Database Cloud Service instance.

Syntax

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

psm dbcs snapshot
  -s|--service-name instance-name
  -n|--snapshot-name snapshot-name
  [-of|--output-format json|html|short]

Parameters

Parameter Description

-s|--service-name instance-name

Specifies the name of the Database Cloud Service instance whose storage snapshot you want information about.

-n|--snapshot-name snapshot-name

Specifies the name of the storage snapshot you want information about.

-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

The following example displays information about the snapshot4patchtest storage snapshot of the db121-ep-si Database Cloud Service instance.

$ psm dbcs snapshot --service-name db121-ep-si --snapshot-name snapshot4patchtest