Skip to content

Commit 46a70fd

Browse files
committed
Generate docs for server service-account commands
1 parent f973c78 commit 46a70fd

5 files changed

+159
-0
lines changed

docs/stackit_beta_server.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ stackit beta server [flags]
3636
* [stackit beta server describe](./stackit_beta_server_describe.md) - Shows details of a server
3737
* [stackit beta server list](./stackit_beta_server_list.md) - Lists all servers of a project
3838
* [stackit beta server public-ip](./stackit_beta_server_public-ip.md) - Allows attaching/detaching public IPs to servers
39+
* [stackit beta server service-account](./stackit_beta_server_service-account.md) - Allows attaching/detaching service accounts to servers
3940
* [stackit beta server update](./stackit_beta_server_update.md) - Updates a server
4041
* [stackit beta server volume](./stackit_beta_server_volume.md) - Provides functionality for server volumes
4142

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
## stackit beta server service-account
2+
3+
Allows attaching/detaching service accounts to servers
4+
5+
### Synopsis
6+
7+
Allows attaching/detaching service accounts to servers
8+
9+
```
10+
stackit beta server service-account [flags]
11+
```
12+
13+
### Options
14+
15+
```
16+
-h, --help Help for "stackit beta server service-account"
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 servers
32+
* [stackit beta server service-account attach](./stackit_beta_server_service-account_attach.md) - Attach a service account to a server
33+
* [stackit beta server service-account detach](./stackit_beta_server_service-account_detach.md) - Detach a service account from a server
34+
* [stackit beta server service-account list](./stackit_beta_server_service-account_list.md) - List all attached service accounts from a server
35+
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
## stackit beta server service-account attach
2+
3+
Attach a service account to a server
4+
5+
### Synopsis
6+
7+
Attach a service account to a server
8+
9+
```
10+
stackit beta server service-account attach [flags]
11+
```
12+
13+
### Examples
14+
15+
```
16+
Attach a service account with mail "[email protected]" to a server with ID "yyy"
17+
$ stackit beta server service-account attach [email protected] --server-id yyy
18+
```
19+
20+
### Options
21+
22+
```
23+
-h, --help Help for "stackit beta server service-account attach"
24+
-s, --server-id string Server ID
25+
```
26+
27+
### Options inherited from parent commands
28+
29+
```
30+
-y, --assume-yes If set, skips all confirmation prompts
31+
--async If set, runs the command asynchronously
32+
-o, --output-format string Output format, one of ["json" "pretty" "none" "yaml"]
33+
-p, --project-id string Project ID
34+
--verbosity string Verbosity of the CLI, one of ["debug" "info" "warning" "error"] (default "info")
35+
```
36+
37+
### SEE ALSO
38+
39+
* [stackit beta server service-account](./stackit_beta_server_service-account.md) - Allows attaching/detaching service accounts to servers
40+
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
## stackit beta server service-account detach
2+
3+
Detach a service account from a server
4+
5+
### Synopsis
6+
7+
Detach a service account from a server
8+
9+
```
10+
stackit beta server service-account detach [flags]
11+
```
12+
13+
### Examples
14+
15+
```
16+
Detach a service account with mail "[email protected]" from a server "yyy"
17+
$ stackit beta server service-account attach [email protected] --server-id yyy
18+
```
19+
20+
### Options
21+
22+
```
23+
-h, --help Help for "stackit beta server service-account detach"
24+
-s, --server-id string Server id
25+
```
26+
27+
### Options inherited from parent commands
28+
29+
```
30+
-y, --assume-yes If set, skips all confirmation prompts
31+
--async If set, runs the command asynchronously
32+
-o, --output-format string Output format, one of ["json" "pretty" "none" "yaml"]
33+
-p, --project-id string Project ID
34+
--verbosity string Verbosity of the CLI, one of ["debug" "info" "warning" "error"] (default "info")
35+
```
36+
37+
### SEE ALSO
38+
39+
* [stackit beta server service-account](./stackit_beta_server_service-account.md) - Allows attaching/detaching service accounts to servers
40+
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
## stackit beta server service-account list
2+
3+
List all attached service accounts from a server
4+
5+
### Synopsis
6+
7+
List all attached service accounts from a server
8+
9+
```
10+
stackit beta server service-account list [flags]
11+
```
12+
13+
### Examples
14+
15+
```
16+
List all attached service accounts for a server with ID "xxx"
17+
$ stackit beta server service-account list --server-id xxx
18+
19+
List all attached service accounts for a server with ID "xxx" in JSON format
20+
$ stackit beta server service-account list --server-id xxx --output-format json
21+
```
22+
23+
### Options
24+
25+
```
26+
-h, --help Help for "stackit beta server service-account list"
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 service-account](./stackit_beta_server_service-account.md) - Allows attaching/detaching service accounts to servers
43+

0 commit comments

Comments
 (0)