stop-database

subtitle

Stops the database

version

0.9.40

Description

Stops a running database

Synopsis

  stop-database
--environment-name <value>
--database-name <value>
[--cli-input-json <value>]
[--generate-cli-skeleton]

Options

--environment-name (string) The name of the environment

--database-name (string) The name of the database.

--cli-input-json (string) 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.

--generate-cli-skeleton (boolean) 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 --cli-input-json.

Output

wasStopped -> (boolean)

True if the database stop request accepted

previousStatus -> (string)

status of the database