Skip to content

Commit 641f535

Browse files
committed
feat(iaas): add vpc region commands
1 parent 9c5419c commit 641f535

19 files changed

Lines changed: 1869 additions & 0 deletions

‎docs/stackit_alpha_vpc.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,6 @@ stackit alpha vpc [flags]
3434
* [stackit alpha vpc delete](./stackit_alpha_vpc_delete.md) - Deletes a VPC
3535
* [stackit alpha vpc describe](./stackit_alpha_vpc_describe.md) - Shows details of a VPC
3636
* [stackit alpha vpc list](./stackit_alpha_vpc_list.md) - Lists all VPC of a project
37+
* [stackit alpha vpc region](./stackit_alpha_vpc_region.md) - Manages regional configurations of a VPC
3738
* [stackit alpha vpc update](./stackit_alpha_vpc_update.md) - Updates a VPC
3839

‎docs/stackit_alpha_vpc_region.md‎

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
## stackit alpha vpc region
2+
3+
Manages regional configurations of a VPC
4+
5+
### Synopsis
6+
7+
Manages regional configurations of a VPC.
8+
9+
```
10+
stackit alpha vpc region [flags]
11+
```
12+
13+
### Options
14+
15+
```
16+
-h, --help Help for "stackit alpha vpc region"
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 vpc](./stackit_alpha_vpc.md) - Manages vpcs
33+
* [stackit alpha vpc region create](./stackit_alpha_vpc_region_create.md) - Creates a regional configuration for a VPC
34+
* [stackit alpha vpc region delete](./stackit_alpha_vpc_region_delete.md) - Deletes a regional configuration for a VPC
35+
* [stackit alpha vpc region describe](./stackit_alpha_vpc_region_describe.md) - Describes a regional configuration for a VPC
36+
* [stackit alpha vpc region list](./stackit_alpha_vpc_region_list.md) - Lists all configured regions for a VPC
37+
* [stackit alpha vpc region update](./stackit_alpha_vpc_region_update.md) - Updates a regional configuration for a VPC
38+
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
## stackit alpha vpc region create
2+
3+
Creates a regional configuration for a VPC
4+
5+
### Synopsis
6+
7+
Creates a regional configuration for a VPC. VPC can only be used in projects with enabled VPC.
8+
9+
```
10+
stackit alpha vpc region create [flags]
11+
```
12+
13+
### Examples
14+
15+
```
16+
Create a regional configuration "eu02" for a VPC with ID "xxx"
17+
$ stackit alpha vpc region create --vpc-id xxx --region eu02
18+
19+
Create a regional configuration with default DNS name servers, using the configured project and region
20+
$ stackit alpha vpc region create --vpc-id xxx --ipv4-default-nameservers 8.8.8.8,8.8.4.4
21+
```
22+
23+
### Options
24+
25+
```
26+
-h, --help Help for "stackit alpha vpc region create"
27+
--ipv4-default-nameservers strings List of default DNS name server IPs
28+
--vpc-id string VPC 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+
--region string Target region for region-specific requests
39+
--verbosity string Verbosity of the CLI, (one of: [debug, info, warning, error]) (default "info")
40+
```
41+
42+
### SEE ALSO
43+
44+
* [stackit alpha vpc region](./stackit_alpha_vpc_region.md) - Manages regional configurations of a VPC
45+
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
## stackit alpha vpc region delete
2+
3+
Deletes a regional configuration for a VPC
4+
5+
### Synopsis
6+
7+
Deletes a regional configuration for a VPC.
8+
9+
```
10+
stackit alpha vpc region delete [flags]
11+
```
12+
13+
### Examples
14+
15+
```
16+
Delete the regional configuration "eu02" for a VPC with ID "xxx"
17+
$ stackit alpha vpc region delete --vpc-id xxx --region eu02
18+
19+
Delete a regional configuration using the configured project and region
20+
$ stackit alpha vpc region delete --vpc-id xxx
21+
```
22+
23+
### Options
24+
25+
```
26+
-h, --help Help for "stackit alpha vpc region delete"
27+
--vpc-id string VPC 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+
--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 region](./stackit_alpha_vpc_region.md) - Manages regional configurations of a VPC
44+
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
## stackit alpha vpc region describe
2+
3+
Describes a regional configuration for a VPC
4+
5+
### Synopsis
6+
7+
Describes a regional configuration for a VPC.
8+
9+
```
10+
stackit alpha vpc region describe [flags]
11+
```
12+
13+
### Examples
14+
15+
```
16+
Describe the regional configuration "eu02" for a VPC with ID "xxx"
17+
$ stackit alpha vpc region describe --vpc-id xxx --region eu02
18+
19+
Describe a regional configuration in JSON format, using the configured project and region
20+
$ stackit alpha vpc region describe --vpc-id xxx --output-format json
21+
```
22+
23+
### Options
24+
25+
```
26+
-h, --help Help for "stackit alpha vpc region describe"
27+
--vpc-id string VPC 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+
--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 region](./stackit_alpha_vpc_region.md) - Manages regional configurations of a VPC
44+
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
## stackit alpha vpc region list
2+
3+
Lists all configured regions for a VPC
4+
5+
### Synopsis
6+
7+
Lists all configured regions for a VPC.
8+
9+
```
10+
stackit alpha vpc region list [flags]
11+
```
12+
13+
### Examples
14+
15+
```
16+
List all configured regions for a VPC with ID "xxx"
17+
$ stackit alpha vpc region list --vpc-id xxx
18+
19+
List all configured regions for a VPC in JSON format
20+
$ stackit alpha vpc region list --vpc-id xxx --output-format json
21+
```
22+
23+
### Options
24+
25+
```
26+
-h, --help Help for "stackit alpha vpc region list"
27+
--vpc-id string VPC 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+
--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 region](./stackit_alpha_vpc_region.md) - Manages regional configurations of a VPC
44+
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
## stackit alpha vpc region update
2+
3+
Updates a regional configuration for a VPC
4+
5+
### Synopsis
6+
7+
Updates a regional configuration for a VPC.
8+
9+
```
10+
stackit alpha vpc region update [flags]
11+
```
12+
13+
### Examples
14+
15+
```
16+
Update the default DNS name servers for a VPC with ID "xxx" in region "eu02"
17+
$ stackit alpha vpc region update --vpc-id xxx --region eu02 --ipv4-default-nameservers 8.8.8.8,8.8.4.4
18+
19+
Clear the default DNS name servers, using the configured project and region
20+
$ stackit alpha vpc region update --vpc-id xxx --ipv4-default-nameservers ""
21+
```
22+
23+
### Options
24+
25+
```
26+
-h, --help Help for "stackit alpha vpc region update"
27+
--ipv4-default-nameservers strings List of default DNS name server IPs
28+
--vpc-id string VPC 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+
--region string Target region for region-specific requests
39+
--verbosity string Verbosity of the CLI, (one of: [debug, info, warning, error]) (default "info")
40+
```
41+
42+
### SEE ALSO
43+
44+
* [stackit alpha vpc region](./stackit_alpha_vpc_region.md) - Manages regional configurations of a VPC
45+

0 commit comments

Comments
 (0)