Skip to content

Commit 9ac3d1c

Browse files
feat(iaas): onboard vpc commands (#1647)
relates to STACKITCLI-420 --------- Co-authored-by: cgoetz-inovex <carlo.goetz@inovex.de>
1 parent 623528f commit 9ac3d1c

29 files changed

Lines changed: 2097 additions & 3 deletions

‎docs/stackit.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ stackit [flags]
2727
### SEE ALSO
2828

2929
* [stackit affinity-group](./stackit_affinity-group.md) - Manage server affinity groups
30+
* [stackit alpha](./stackit_alpha.md) - Contains alpha STACKIT CLI commands
3031
* [stackit auth](./stackit_auth.md) - Authenticates the STACKIT CLI
3132
* [stackit beta](./stackit_beta.md) - Contains beta STACKIT CLI commands
3233
* [stackit config](./stackit_config.md) - Provides functionality for CLI configuration options

‎docs/stackit_alpha.md‎

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
## stackit alpha
2+
3+
Contains alpha STACKIT CLI commands
4+
5+
### Synopsis
6+
7+
Contains alpha STACKIT CLI commands.
8+
The commands under this group are still in an alpha state, and functionality may be incomplete or have breaking changes.
9+
10+
```
11+
stackit alpha [flags]
12+
```
13+
14+
### Examples
15+
16+
```
17+
See the currently available alpha commands
18+
$ stackit alpha --help
19+
20+
Execute an alpha command
21+
$ stackit alpha MY_COMMAND
22+
```
23+
24+
### Options
25+
26+
```
27+
-h, --help Help for "stackit alpha"
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+
--region string Target region for region-specific requests
38+
--verbosity string Verbosity of the CLI, (one of: [debug, info, warning, error]) (default "info")
39+
```
40+
41+
### SEE ALSO
42+
43+
* [stackit](./stackit.md) - Manage STACKIT resources using the command line
44+
* [stackit alpha vpc](./stackit_alpha_vpc.md) - Manages vpcs
45+

‎docs/stackit_alpha_vpc.md‎

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
## stackit alpha vpc
2+
3+
Manages vpcs
4+
5+
### Synopsis
6+
7+
Manages the lifecycle of vpcs.
8+
9+
```
10+
stackit alpha vpc [flags]
11+
```
12+
13+
### Options
14+
15+
```
16+
-h, --help Help for "stackit alpha vpc"
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+
--region string Target region for region-specific requests
27+
--verbosity string Verbosity of the CLI, (one of: [debug, info, warning, error]) (default "info")
28+
```
29+
30+
### SEE ALSO
31+
32+
* [stackit alpha](./stackit_alpha.md) - Contains alpha STACKIT CLI commands
33+
* [stackit alpha vpc create](./stackit_alpha_vpc_create.md) - Creates a VPC
34+
* [stackit alpha vpc delete](./stackit_alpha_vpc_delete.md) - Deletes a VPC
35+
* [stackit alpha vpc describe](./stackit_alpha_vpc_describe.md) - Shows details of a VPC
36+
* [stackit alpha vpc list](./stackit_alpha_vpc_list.md) - Lists all VPC of a project
37+
* [stackit alpha vpc update](./stackit_alpha_vpc_update.md) - Updates a VPC
38+

‎docs/stackit_alpha_vpc_create.md‎

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
## stackit alpha vpc create
2+
3+
Creates a VPC
4+
5+
### Synopsis
6+
7+
Creates a VPC.
8+
VPC can only be used in projects with enabled VPC.
9+
10+
```
11+
stackit alpha vpc create [flags]
12+
```
13+
14+
### Examples
15+
16+
```
17+
Create a vpc with name "my-vpc"
18+
$ stackit alpha vpc create --name my-vpc
19+
```
20+
21+
### Options
22+
23+
```
24+
--description string Description of the VPC
25+
-h, --help Help for "stackit alpha vpc create"
26+
--labels stringToString Comma separated list of labels of the VPC (default [])
27+
--name string Name of the VPC
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+
--region string Target region for region-specific requests
38+
--verbosity string Verbosity of the CLI, (one of: [debug, info, warning, error]) (default "info")
39+
```
40+
41+
### SEE ALSO
42+
43+
* [stackit alpha vpc](./stackit_alpha_vpc.md) - Manages vpcs
44+

‎docs/stackit_alpha_vpc_delete.md‎

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
## stackit alpha vpc delete
2+
3+
Deletes a VPC
4+
5+
### Synopsis
6+
7+
Deletes a VPC.
8+
9+
```
10+
stackit alpha vpc delete VPC_ID [flags]
11+
```
12+
13+
### Examples
14+
15+
```
16+
Delete a vpc with ID "xxx"
17+
$ stackit alpha vpc delete xxx
18+
```
19+
20+
### Options
21+
22+
```
23+
-h, --help Help for "stackit alpha vpc delete"
24+
```
25+
26+
### Options inherited from parent commands
27+
28+
```
29+
-y, --assume-yes If set, skips all confirmation prompts
30+
--async If set, runs the command asynchronously
31+
-o, --output-format string Output format, (one of: [json, pretty, none, yaml])
32+
-p, --project-id string Project ID
33+
--region string Target region for region-specific requests
34+
--verbosity string Verbosity of the CLI, (one of: [debug, info, warning, error]) (default "info")
35+
```
36+
37+
### SEE ALSO
38+
39+
* [stackit alpha vpc](./stackit_alpha_vpc.md) - Manages vpcs
40+

‎docs/stackit_alpha_vpc_describe.md‎

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
## stackit alpha vpc describe
2+
3+
Shows details of a VPC
4+
5+
### Synopsis
6+
7+
Shows details of a VPC.
8+
9+
```
10+
stackit alpha vpc describe VPC_ID [flags]
11+
```
12+
13+
### Examples
14+
15+
```
16+
Show details of a vpc with ID "xxx"
17+
$ stackit alpha vpc describe xxx
18+
19+
Show details of a vpc with ID "xxx" in JSON format
20+
$ stackit alpha vpc describe xxx --output-format json
21+
```
22+
23+
### Options
24+
25+
```
26+
-h, --help Help for "stackit alpha vpc describe"
27+
```
28+
29+
### Options inherited from parent commands
30+
31+
```
32+
-y, --assume-yes If set, skips all confirmation prompts
33+
--async If set, runs the command asynchronously
34+
-o, --output-format string Output format, (one of: [json, pretty, none, yaml])
35+
-p, --project-id string Project ID
36+
--region string Target region for region-specific requests
37+
--verbosity string Verbosity of the CLI, (one of: [debug, info, warning, error]) (default "info")
38+
```
39+
40+
### SEE ALSO
41+
42+
* [stackit alpha vpc](./stackit_alpha_vpc.md) - Manages vpcs
43+

‎docs/stackit_alpha_vpc_list.md‎

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
## stackit alpha vpc list
2+
3+
Lists all VPC of a project
4+
5+
### Synopsis
6+
7+
Lists all VPC of a project.
8+
9+
```
10+
stackit alpha vpc list [flags]
11+
```
12+
13+
### Examples
14+
15+
```
16+
Lists all VPCs
17+
$ stackit alpha vpc list
18+
19+
Lists all VPCs in JSON format
20+
$ stackit alpha vpc list --output-format json
21+
22+
Lists up to 10 VPCs
23+
$ stackit alpha vpc list --limit 10
24+
25+
Lists all VPCs which has the name "my-vpc"
26+
$ stackit alpha vpc list --filter "name == 'my-vpc'"
27+
```
28+
29+
### Options
30+
31+
```
32+
--filter string Filter resources by fields. A subset of expr-lang is supported. See https://expr-lang.org/docs/language-definition for usage details
33+
-h, --help Help for "stackit alpha vpc list"
34+
--limit int Maximum number of VPCs to return
35+
```
36+
37+
### Options inherited from parent commands
38+
39+
```
40+
-y, --assume-yes If set, skips all confirmation prompts
41+
--async If set, runs the command asynchronously
42+
-o, --output-format string Output format, (one of: [json, pretty, none, yaml])
43+
-p, --project-id string Project ID
44+
--region string Target region for region-specific requests
45+
--verbosity string Verbosity of the CLI, (one of: [debug, info, warning, error]) (default "info")
46+
```
47+
48+
### SEE ALSO
49+
50+
* [stackit alpha vpc](./stackit_alpha_vpc.md) - Manages vpcs
51+

‎docs/stackit_alpha_vpc_update.md‎

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
## stackit alpha vpc update
2+
3+
Updates a VPC
4+
5+
### Synopsis
6+
7+
Updates a VPC.
8+
9+
```
10+
stackit alpha vpc update VPC_ID [flags]
11+
```
12+
13+
### Examples
14+
15+
```
16+
Update a vpc with ID "xxx" to new name "vpc-new"
17+
$ stackit alpha vpc update xxx --name vpc-new
18+
19+
Update a vpc with ID "xxx" to new description "updated vpc"
20+
$ stackit alpha vpc update xxx --description "updated vpc"
21+
```
22+
23+
### Options
24+
25+
```
26+
--description string Description of the VPC
27+
-h, --help Help for "stackit alpha vpc update"
28+
--labels stringToString Comma separated list of labels of the VPC (default [])
29+
--name string Name of the VPC
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+
--region string Target region for region-specific requests
40+
--verbosity string Verbosity of the CLI, (one of: [debug, info, warning, error]) (default "info")
41+
```
42+
43+
### SEE ALSO
44+
45+
* [stackit alpha vpc](./stackit_alpha_vpc.md) - Manages vpcs
46+

‎docs/stackit_config_set.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ stackit config set [flags]
3737
--dns-custom-endpoint string DNS API base URL, used in calls to this API
3838
--edge-custom-endpoint string Edge API base URL, used in calls to this API
3939
-h, --help Help for "stackit config set"
40+
--iaas-alpha-custom-endpoint string IaaS Alpha API base URL, used in calls to this API
4041
--iaas-custom-endpoint string IaaS API base URL, used in calls to this API
4142
--identity-provider-custom-client-id string Identity Provider client ID, used for user authentication
4243
--identity-provider-custom-well-known-configuration string Identity Provider well-known OpenID configuration URL, used for user authentication

‎docs/stackit_config_unset.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ stackit config unset [flags]
3636
--dns-custom-endpoint DNS API base URL. If unset, uses the default base URL
3737
--edge-custom-endpoint Edge API base URL. If unset, uses the default base URL
3838
-h, --help Help for "stackit config unset"
39+
--iaas-alpha-custom-endpoint IaaS Alpha API base URL. If unset, uses the default base URL
3940
--iaas-custom-endpoint IaaS API base URL. If unset, uses the default base URL
4041
--identity-provider-custom-client-id Identity Provider client ID, used for user authentication
4142
--identity-provider-custom-well-known-configuration Identity Provider well-known OpenID configuration URL. If unset, uses the default identity provider

0 commit comments

Comments
 (0)