Skip to content

hanaCloudStop ​

Command: hanaCloudStop
Category: HANA Cloud
Status: Production Ready

Description ​

Stop a SAP HANA Cloud instance by name. The command targets SAP BTP multi-environment instances when available and falls back to Cloud Foundry instances otherwise.

Syntax ​

bash
hana-cli hcStop [name] [options]

Aliases ​

  • hcstop
  • hc_stop
  • stop

Command Diagram ​

Parameters ​

Positional Arguments ​

ParameterTypeDescription
namestringInstance name filter (default: **default**).

Options ​

OptionAliasTypeDefaultDescription
--name-nstring**default**SAP HANA Cloud instance name.

Troubleshooting ​

OptionAliasTypeDefaultDescription
--disableVerbose--quietbooleanfalseDisable verbose output for script-friendly results.
--debug-dbooleanfalseEnable debug output with intermediate details.
--help-hboolean-Show help.

For a complete list of parameters and options, use:

bash
hana-cli hanaCloudStop --help

Examples ​

Basic Usage ​

bash
hana-cli hcStop --name myInstance

Stop a specific SAP HANA Cloud instance.

Interactive Mode ​

This command can be run in interactive mode, which prompts for required inputs.

ParameterRequiredPromptedNotes
nameYesAlwaysInstance name filter (default: **default**).

Related commands from HANA Cloud:

  • hanaCloudStart - Start a HANA Cloud instance
  • hanaCloudInstances - List HANA Cloud instances

See the Commands Reference for all available commands.

See Also ​