dropContainer ​
Command:
dropContainer
Category: HDI Management
Status: Production Ready
Description ​
Drop HDI container and clean up HDI Container users
Syntax ​
bash
hana-cli dropContainer [container] [group] [options]Aliases ​
dcdropC
Command Diagram ​
Parameters ​
| Option | Type | Default | Group | Description |
|---|---|---|---|---|
[container] | string | (none) | Positional Argument | HDI Container to be dropped. |
[group] | string | (none) | Positional Argument | HDI Container Group for the container to be dropped in. |
-a, --admin | boolean | false | Connection Parameters | Connect via admin (default-env-admin.json). |
--conn | string | (none) | Connection Parameters | Connection filename to override default-env.json. |
--disableVerbose, --quiet | boolean | false | Troubleshooting | Disable verbose output by removing extra human-readable output. Useful for scripting commands. |
-d, --debug | boolean | false | Troubleshooting | Debug hana-cli itself by adding lots of intermediate details. |
-h, --help | boolean | (none) | Options | Show help. |
-c, --container | string | (none) | Options | Container Name. |
-g, --group | string | "" | Options | HDI Group. |
For a complete list of parameters and options, use:
bash
hana-cli dropContainer --helpExamples ​
Drop Container from Default Group ​
bash
hana-cli dropContainer myContainerDrops the HDI container named myContainer from the default group.
Drop Container from Specific Group ​
bash
hana-cli dropContainer myContainer myGroupDrops the HDI container named myContainer from the group myGroup.
Using Named Parameters ​
bash
hana-cli dropContainer --container myContainer --group myGroupDrop container using named option parameters.
With Admin Connection ​
bash
hana-cli dropContainer myContainer --adminDrops an HDI container using admin credentials from default-env-admin.json.
Related Commands ​
See the Commands Reference for other commands in this category.