|
| 1 | +## stackit beta server command create |
| 2 | + |
| 3 | +Creates a Server Command |
| 4 | + |
| 5 | +### Synopsis |
| 6 | + |
| 7 | +Creates a Server Command. |
| 8 | + |
| 9 | +``` |
| 10 | +stackit beta server command create [flags] |
| 11 | +``` |
| 12 | + |
| 13 | +### Examples |
| 14 | + |
| 15 | +``` |
| 16 | + Create a server command for server with ID "xxx", template name "RunShellScript" and a script from a file (using the @{...} format) |
| 17 | + $ stackit beta server command create --server-id xxx --template-name=RunShellScript --params script='@{/path/to/script.sh}' |
| 18 | +
|
| 19 | + Create a server command for server with ID "xxx", template name "RunShellScript" and a script provided on the command line |
| 20 | + $ stackit beta server command create --server-id xxx --template-name=RunShellScript --params script='echo hello' |
| 21 | +``` |
| 22 | + |
| 23 | +### Options |
| 24 | + |
| 25 | +``` |
| 26 | + -h, --help Help for "stackit beta server command create" |
| 27 | + -r, --params stringToString Params can be provided with the format key=value and the flag can be used multiple times to provide a list of labels (default []) |
| 28 | + -s, --server-id string Server ID |
| 29 | + -n, --template-name string Template name |
| 30 | +``` |
| 31 | + |
| 32 | +### Options inherited from parent commands |
| 33 | + |
| 34 | +``` |
| 35 | + -y, --assume-yes If set, skips all confirmation prompts |
| 36 | + --async If set, runs the command asynchronously |
| 37 | + -o, --output-format string Output format, one of ["json" "pretty" "none" "yaml"] |
| 38 | + -p, --project-id string Project ID |
| 39 | + --verbosity string Verbosity of the CLI, one of ["debug" "info" "warning" "error"] (default "info") |
| 40 | +``` |
| 41 | + |
| 42 | +### SEE ALSO |
| 43 | + |
| 44 | +* [stackit beta server command](./stackit_beta_server_command.md) - Provides functionality for Server Command |
| 45 | + |
0 commit comments