Upgrades the database.
Upgrades an operational database in an environment to a given runtime.
upgrade-database [--environment <value>] [--database <value>] [--runtime <value>] [--os-upgrade-only | --no-os-upgrade-only] [--image-id <value>] [--rolling-upgrade | --no-rolling-upgrade] [--edge-upgrade-strategy <value>] [--cli-input-json <value>] [--generate-cli-skeleton]
The name or CRN of the environment.
The name or CRN of the database.
The CDP Runtime version to upgrade to.
Only perform an Operating System upgrade.
ID of a database image to upgrade to. If this is empty, the default image is used.
Perform upgrade in a rolling fashion.
Edge node upgrade strategy. ALL - Upgrade edge nodes together. ONE_BY_ONE - Upgrade edge nodes one by one.
Performs service operation based on the JSON string provided. The JSON string follows the format provided by
--generate-cli-skeleton. If other arguments are provided on the command line, the CLI values will override the JSON-provided values.
Prints a sample input JSON to standard output. Note the specified operation is not run if this argument is specified. The sample input can be used as an argument for
statusReason -> (string)
The reason whether upgrade request is accepted or why it is not possible.