psm autoanalyticsinst scale-service

Use this command to increase or decrease the number of Oracle Compute Units (OCPUs) available to a service created with Oracle Analytics Cloud.


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

psm autoanalyticsinst scale-service -s|--service-name service-name -capacity-change-type increase | decrease -olpu number
  -c|--config-payload path-to-json-file
    [-of|--output-format json|html|short]
    [-wc, --wait-until-complete <value>]


Parameter Description

-s|--service-name instance-name

The name of the service you want to scale.

-c|--config-payload path-to-json-file

The path to the JSON payload file.

capacity-change value Whether to increase or decrease the service capacity. Valid values are [increase, decrease].
olpu number-of-olpus The number of OCPUs.

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

(Optional) 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 command-line interface. See Configuring the Command Line Interface.

-wc, --wait-until-complete <value> (Optional) Wait until the command is complete. Valid values are [true, false]. The default is false.