psm analytics add-storage

Use this command to add block storage to a node without changing the compute shape of the node. Be aware that, if you add block storage, you can’t remove it later.


In the following syntax, line breaks have been added for clarity. Don’t include them when entering the command.

psm analytics add-storage -s|--service-name serviceName
    -c|—config-payload pathToJson
      [-of|--output-format json|html|short]
      [-wc, --wait-until-complete <value>]


Parameter Description
-s|--serviceName serviceName Name of the service.
-c|—config-payload pathToJson Full path to the JSON file that contains the payload for this command.
-of|--output-format json|html|short (Optional) 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 <value> (Optional) Wait until the command is complete. Valid values are [true, false]. Default is false.


$ psm analytics add-storage -s MyAnalyticsCloudClassicService  -c c://home/templates/add-storage-payload.json -of json

Sample Payload

In the payload JSON file, you would include the actual values that you want to use (see example).


For example,