UNPKG

hana-cli

Version:
101 lines (68 loc) 2.95 kB
# hanaCloudStart > Command: `hanaCloudStart` > Category: **HANA Cloud** > Status: Production Ready ## Description Start 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 hcStart [name] [options] ``` ## Aliases - `hcstart` - `hc_start` - `start` ## Command Diagram ```mermaid graph TD Start([hana-cli hcStart]) --> Input{Instance name} Input -->|name / --name| Name["Instance name<br/>Default: **default**"] Name --> Resolve["Resolve instance<br/>BTP or Cloud Foundry"] Resolve --> Action["Start instance"] Start --> Options{Troubleshooting} Options --> Quiet["--quiet / --disableVerbose"] Options --> Debug["--debug"] Action --> Complete([Command Complete]) style Start fill:#0092d1 style Complete fill:#2ecc71 style Input fill:#f39c12 style Options fill:#f39c12 ``` ## Parameters ### Positional Arguments | Parameter | Type | Description | |-----------|--------|--------------------------------------------------| | `name` | string | Instance name filter (default: `**default**`). | ### Options | Option | Alias | Type | Default | Description | |----------|-------|--------|----------------|----------------------------------| | `--name` | `-n` | string | `**default**` | SAP HANA Cloud instance name. | ### Troubleshooting | Option | Alias | Type | Default | Description | |--------------------|-----------|---------|---------|-----------------------------------------------------| | `--disableVerbose` | `--quiet` | boolean | `false` | Disable verbose output for script-friendly results. | | `--debug` | `-d` | boolean | `false` | Enable debug output with intermediate details. | | `--help` | `-h` | boolean | - | Show help. | For a complete list of parameters and options, use: ```bash hana-cli hanaCloudStart --help ``` ## Examples ### Basic Usage ```bash hana-cli hcStart --name myInstance ``` Start a specific SAP HANA Cloud instance. ## Interactive Mode This command can be run in interactive mode, which prompts for required inputs. | Parameter | Required | Prompted | Notes | |-----------|----------|----------|-----------------------------------------------| | `name` | Yes | Always | Instance name filter (default: `**default**`). | ## Related Commands Related commands from HANA Cloud: - `hanaCloudStop` - Stop a HANA Cloud instance - `hanaCloudInstances` - List HANA Cloud instances See the [Commands Reference](../all-commands.md) for all available commands. ## See Also - [Category: HANA Cloud](..) - [All Commands A-Z](../all-commands.md)