Skip to content

Commit 935aee9

Browse files
authored
ref 644499 - server command (#421)
Signed-off-by: Adrian Nackov <[email protected]>
1 parent 8701c9b commit 935aee9

32 files changed

+2343
-0
lines changed

docs/stackit_beta_server.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,5 @@ stackit beta server [flags]
3030

3131
* [stackit beta](./stackit_beta.md) - Contains beta STACKIT CLI commands
3232
* [stackit beta server backup](./stackit_beta_server_backup.md) - Provides functionality for Server Backup
33+
* [stackit beta server command](./stackit_beta_server_command.md) - Provides functionality for Server Command
3334

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
## stackit beta server command
2+
3+
Provides functionality for Server Command
4+
5+
### Synopsis
6+
7+
Provides functionality for Server Command.
8+
9+
```
10+
stackit beta server command [flags]
11+
```
12+
13+
### Options
14+
15+
```
16+
-h, --help Help for "stackit beta server command"
17+
```
18+
19+
### Options inherited from parent commands
20+
21+
```
22+
-y, --assume-yes If set, skips all confirmation prompts
23+
--async If set, runs the command asynchronously
24+
-o, --output-format string Output format, one of ["json" "pretty" "none" "yaml"]
25+
-p, --project-id string Project ID
26+
--verbosity string Verbosity of the CLI, one of ["debug" "info" "warning" "error"] (default "info")
27+
```
28+
29+
### SEE ALSO
30+
31+
* [stackit beta server](./stackit_beta_server.md) - Provides functionality for Server
32+
* [stackit beta server command create](./stackit_beta_server_command_create.md) - Creates a Server Command
33+
* [stackit beta server command describe](./stackit_beta_server_command_describe.md) - Shows details of a Server Command
34+
* [stackit beta server command list](./stackit_beta_server_command_list.md) - Lists all server commands
35+
* [stackit beta server command template](./stackit_beta_server_command_template.md) - Provides functionality for Server Command Template
36+
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
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+
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
## stackit beta server command describe
2+
3+
Shows details of a Server Command
4+
5+
### Synopsis
6+
7+
Shows details of a Server Command.
8+
9+
```
10+
stackit beta server command describe COMMAND_ID [flags]
11+
```
12+
13+
### Examples
14+
15+
```
16+
Get details of a Server Command with ID "xxx" for server with ID "yyy"
17+
$ stackit beta server command describe xxx --server-id=yyy
18+
19+
Get details of a Server Command with ID "xxx" for server with ID "yyy" in JSON format
20+
$ stackit beta server command describe xxx --server-id=yyy --output-format json
21+
```
22+
23+
### Options
24+
25+
```
26+
-h, --help Help for "stackit beta server command describe"
27+
-s, --server-id string Server ID
28+
```
29+
30+
### Options inherited from parent commands
31+
32+
```
33+
-y, --assume-yes If set, skips all confirmation prompts
34+
--async If set, runs the command asynchronously
35+
-o, --output-format string Output format, one of ["json" "pretty" "none" "yaml"]
36+
-p, --project-id string Project ID
37+
--verbosity string Verbosity of the CLI, one of ["debug" "info" "warning" "error"] (default "info")
38+
```
39+
40+
### SEE ALSO
41+
42+
* [stackit beta server command](./stackit_beta_server_command.md) - Provides functionality for Server Command
43+
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
## stackit beta server command list
2+
3+
Lists all server commands
4+
5+
### Synopsis
6+
7+
Lists all server commands.
8+
9+
```
10+
stackit beta server command list [flags]
11+
```
12+
13+
### Examples
14+
15+
```
16+
List all commands for a server with ID "xxx"
17+
$ stackit beta server command list --server-id xxx
18+
19+
List all commands for a server with ID "xxx" in JSON format
20+
$ stackit beta server command list --server-id xxx --output-format json
21+
```
22+
23+
### Options
24+
25+
```
26+
-h, --help Help for "stackit beta server command list"
27+
--limit int Maximum number of entries to list
28+
-s, --server-id string Server ID
29+
```
30+
31+
### Options inherited from parent commands
32+
33+
```
34+
-y, --assume-yes If set, skips all confirmation prompts
35+
--async If set, runs the command asynchronously
36+
-o, --output-format string Output format, one of ["json" "pretty" "none" "yaml"]
37+
-p, --project-id string Project ID
38+
--verbosity string Verbosity of the CLI, one of ["debug" "info" "warning" "error"] (default "info")
39+
```
40+
41+
### SEE ALSO
42+
43+
* [stackit beta server command](./stackit_beta_server_command.md) - Provides functionality for Server Command
44+
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
## stackit beta server command template
2+
3+
Provides functionality for Server Command Template
4+
5+
### Synopsis
6+
7+
Provides functionality for Server Command Template.
8+
9+
```
10+
stackit beta server command template [flags]
11+
```
12+
13+
### Options
14+
15+
```
16+
-h, --help Help for "stackit beta server command template"
17+
```
18+
19+
### Options inherited from parent commands
20+
21+
```
22+
-y, --assume-yes If set, skips all confirmation prompts
23+
--async If set, runs the command asynchronously
24+
-o, --output-format string Output format, one of ["json" "pretty" "none" "yaml"]
25+
-p, --project-id string Project ID
26+
--verbosity string Verbosity of the CLI, one of ["debug" "info" "warning" "error"] (default "info")
27+
```
28+
29+
### SEE ALSO
30+
31+
* [stackit beta server command](./stackit_beta_server_command.md) - Provides functionality for Server Command
32+
* [stackit beta server command template describe](./stackit_beta_server_command_template_describe.md) - Shows details of a Server Command Template
33+
* [stackit beta server command template list](./stackit_beta_server_command_template_list.md) - Lists all server command templates
34+
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
## stackit beta server command template describe
2+
3+
Shows details of a Server Command Template
4+
5+
### Synopsis
6+
7+
Shows details of a Server Command Template.
8+
9+
```
10+
stackit beta server command template describe COMMAND_TEMPLATE_NAME [flags]
11+
```
12+
13+
### Examples
14+
15+
```
16+
Get details of a Server Command Template with name "RunShellScript" for server with ID "xxx"
17+
$ stackit beta server command template describe RunShellScript --server-id=xxx
18+
19+
Get details of a Server Command Template with name "RunShellScript" for server with ID "xxx" in JSON format
20+
$ stackit beta server command template describe RunShellScript --server-id=xxx --output-format json
21+
```
22+
23+
### Options
24+
25+
```
26+
-h, --help Help for "stackit beta server command template describe"
27+
-s, --server-id string Server ID
28+
```
29+
30+
### Options inherited from parent commands
31+
32+
```
33+
-y, --assume-yes If set, skips all confirmation prompts
34+
--async If set, runs the command asynchronously
35+
-o, --output-format string Output format, one of ["json" "pretty" "none" "yaml"]
36+
-p, --project-id string Project ID
37+
--verbosity string Verbosity of the CLI, one of ["debug" "info" "warning" "error"] (default "info")
38+
```
39+
40+
### SEE ALSO
41+
42+
* [stackit beta server command template](./stackit_beta_server_command_template.md) - Provides functionality for Server Command Template
43+
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
## stackit beta server command template list
2+
3+
Lists all server command templates
4+
5+
### Synopsis
6+
7+
Lists all server command templates.
8+
9+
```
10+
stackit beta server command template list [flags]
11+
```
12+
13+
### Examples
14+
15+
```
16+
List all command templates
17+
$ stackit beta server command template list
18+
19+
List all commands templates in JSON format
20+
$ stackit beta server command template list --output-format json
21+
```
22+
23+
### Options
24+
25+
```
26+
-h, --help Help for "stackit beta server command template list"
27+
--limit int Maximum number of entries to list
28+
```
29+
30+
### Options inherited from parent commands
31+
32+
```
33+
-y, --assume-yes If set, skips all confirmation prompts
34+
--async If set, runs the command asynchronously
35+
-o, --output-format string Output format, one of ["json" "pretty" "none" "yaml"]
36+
-p, --project-id string Project ID
37+
--verbosity string Verbosity of the CLI, one of ["debug" "info" "warning" "error"] (default "info")
38+
```
39+
40+
### SEE ALSO
41+
42+
* [stackit beta server command template](./stackit_beta_server_command_template.md) - Provides functionality for Server Command Template
43+

docs/stackit_config_set.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ stackit config set [flags]
4545
--rabbitmq-custom-endpoint string RabbitMQ API base URL, used in calls to this API
4646
--redis-custom-endpoint string Redis API base URL, used in calls to this API
4747
--resource-manager-custom-endpoint string Resource Manager API base URL, used in calls to this API
48+
--runcommand-custom-endpoint string Run Command API base URL, used in calls to this API
4849
--secrets-manager-custom-endpoint string Secrets Manager API base URL, used in calls to this API
4950
--serverbackup-custom-endpoint string Server Backup API base URL, used in calls to this API
5051
--service-account-custom-endpoint string Service Account API base URL, used in calls to this API

docs/stackit_config_unset.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ stackit config unset [flags]
4545
--rabbitmq-custom-endpoint RabbitMQ API base URL. If unset, uses the default base URL
4646
--redis-custom-endpoint Redis API base URL. If unset, uses the default base URL
4747
--resource-manager-custom-endpoint Resource Manager API base URL. If unset, uses the default base URL
48+
--runcommand-custom-endpoint Server Command base URL. If unset, uses the default base URL
4849
--secrets-manager-custom-endpoint Secrets Manager API base URL. If unset, uses the default base URL
4950
--serverbackup-custom-endpoint Server Backup base URL. If unset, uses the default base URL
5051
--service-account-custom-endpoint Service Account API base URL. If unset, uses the default base URL

0 commit comments

Comments
 (0)