Skip to content

Commit 553bca6

Browse files
authored
Merge branch 'main' into feat/STACKITCLI-357-edgecloud-sdk-migration
2 parents e709c5e + f0de558 commit 553bca6

119 files changed

Lines changed: 4096 additions & 883 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/ci.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
runs-on: ubuntu-latest
1818
steps:
1919
- name: Checkout
20-
uses: actions/checkout@v7.0.0
20+
uses: actions/checkout@v7.0.1
2121

2222
- name: Install go
2323
uses: actions/setup-go@v7.0.0
@@ -47,7 +47,7 @@ jobs:
4747
runs-on: ubuntu-latest
4848
steps:
4949
- name: Checkout
50-
uses: actions/checkout@v7.0.0
50+
uses: actions/checkout@v7.0.1
5151

5252
- name: Check GoReleaser
5353
uses: goreleaser/goreleaser-action@v7.2.3

.github/workflows/release.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_TOKEN }}
2424
steps:
2525
- name: Checkout
26-
uses: actions/checkout@v7.0.0
26+
uses: actions/checkout@v7.0.1
2727
with:
2828
# Allow goreleaser to access older tag information.
2929
fetch-depth: 0
@@ -106,7 +106,7 @@ jobs:
106106
AWS_SECRET_ACCESS_KEY: ${{ secrets.OBJECT_STORAGE_SECRET_ACCESS_KEY }}
107107
steps:
108108
- name: Checkout
109-
uses: actions/checkout@v7.0.0
109+
uses: actions/checkout@v7.0.1
110110

111111
# use the artifacts from the "goreleaser" job
112112
- name: Download artifacts from workflow
@@ -144,7 +144,7 @@ jobs:
144144
AWS_ENDPOINT_URL: https://object.storage.eu01.onstackit.cloud
145145
steps:
146146
- name: Checkout
147-
uses: actions/checkout@v7.0.0
147+
uses: actions/checkout@v7.0.1
148148

149149
- name: Download artifacts from workflow
150150
uses: actions/download-artifact@v8

.goreleaser.yaml

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -155,25 +155,3 @@ snapcrafts:
155155
grade: stable
156156
# Whether to publish the Snap to the store
157157
publish: true
158-
159-
winget:
160-
- name: stackit
161-
publisher: stackitcloud
162-
short_description: A command-line interface to manage STACKIT resources.
163-
license: Apache-2.0
164-
publisher_support_url: "https://github.com/stackitcloud/stackit-cli/issues"
165-
package_identifier: stackitcloud.stackit
166-
homepage: "https://github.com/stackitcloud/stackit-cli"
167-
# If set to auto, the release will not be uploaded to the homebrew tap repo
168-
# if the tag has a prerelease indicator (e.g. v0.0.1-alpha1)
169-
# Temporarily not skipping prereleases to test integration with Winget
170-
# skip_upload: auto
171-
repository:
172-
owner: stackitcloud
173-
name: winget-pkgs
174-
pull_request:
175-
enabled: true
176-
base:
177-
owner: microsoft
178-
name: winget-pkgs
179-
branch: master

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
[![Go Report Card](https://goreportcard.com/badge/github.com/stackitcloud/stackit-cli)](https://goreportcard.com/report/github.com/stackitcloud/stackit-cli) ![GitHub go.mod Go version](https://img.shields.io/github/go-mod/go-version/stackitcloud/stackit-cli) [![GitHub License](https://img.shields.io/github/license/stackitcloud/stackit-cli)](https://www.apache.org/licenses/LICENSE-2.0)
1111

12-
Welcome to the STACKIT CLI, a command-line interface for [STACKIT - The sovereign cloud for Europe](https://www.stackit.de/en).
12+
Welcome to the STACKIT CLI, a command-line interface for [STACKIT - The sovereign cloud for Europe](https://www.stackit.com/).
1313

1414
The STACKIT CLI allows you to manage your STACKIT services and resources as well as perform operations using the command-line or in scripts or automation, such as:
1515

@@ -206,7 +206,7 @@ Apache 2.0
206206

207207
- [STACKIT Portal](https://portal.stackit.cloud/)
208208

209-
- [STACKIT](https://www.stackit.de/en/)
209+
- [STACKIT](https://www.stackit.com/)
210210

211211
- [STACKIT Docs](https://docs.stackit.cloud/)
212212

SECURITY.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

docs/stackit_beta_sqlserverflex_instance_create.md

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,29 +13,26 @@ stackit beta sqlserverflex instance create [flags]
1313
### Examples
1414

1515
```
16-
Create a SQLServer Flex instance with name "my-instance" and specify flavor by CPU and RAM. Other parameters are set to default values
17-
$ stackit beta sqlserverflex instance create --name my-instance --cpu 1 --ram 4
18-
1916
Create a SQLServer Flex instance with name "my-instance" and specify flavor by ID. Other parameters are set to default values.
2017
The flavor ID can be retrieved by running "$ stackit beta sqlserverflex options --flavors"
21-
$ stackit beta sqlserverflex instance create --name my-instance --flavor-id xxx
18+
$ stackit beta sqlserverflex instance create --name my-instance --flavor-id xxx --backup-schedule "0 1-3 * * *" --retention-days 30 --storage-class premium-perf2-stackit --storage-size 10 --version 2022
2219
2320
Create a SQLServer Flex instance with name "my-instance", specify flavor by CPU and RAM, set storage size to 20 GB, and restrict access to a specific range of IP addresses. Other parameters are set to default values
24-
$ stackit beta sqlserverflex instance create --name my-instance --cpu 1 --ram 4 --storage-size 20 --acl 1.2.3.0/24
21+
$ stackit beta sqlserverflex instance create --name my-instance --cpu 1 --ram 4 --storage-size 20 --backup-schedule "0 1-3 * * *" --retention-days 30 --storage-class premium-perf2-stackit --storage-size 10 --version 2022 --acl 1.2.3.0/24
2522
```
2623

2724
### Options
2825

2926
```
3027
--acl strings The access control list (ACL). Must contain at least one valid subnet, for instance '0.0.0.0/0' for open access (discouraged), '1.2.3.0/24 for a public IP range of an organization, '1.2.3.4/32' for a single IP range, etc. (default [])
3128
--backup-schedule string Backup schedule
32-
--cpu int32 Number of CPUs
29+
--cpu int Number of CPUs
3330
--edition string Edition of the SQLServer instance
3431
--flavor-id string ID of the flavor
3532
-h, --help Help for "stackit beta sqlserverflex instance create"
3633
-n, --name string Instance name
37-
--ram int32 Amount of RAM (in GB)
38-
--retention-days int The days for how long the backup files should be stored before being cleaned up
34+
--ram int Amount of RAM (in GB)
35+
--retention-days int32 The days for how long the backup files should be stored before being cleaned up
3936
--storage-class string Storage class
4037
--storage-size int Storage size (in GB)
4138
--version string SQLServer version

docs/stackit_beta_sqlserverflex_instance_update.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ stackit beta sqlserverflex instance update INSTANCE_ID [flags]
2525
```
2626
--acl strings Lists of IP networks in CIDR notation which are allowed to access this instance (default [])
2727
--backup-schedule string Backup schedule
28-
--cpu int32 Number of CPUs
28+
--cpu int Number of CPUs
2929
--flavor-id string ID of the flavor
3030
-h, --help Help for "stackit beta sqlserverflex instance update"
3131
-n, --name string Instance name
32-
--ram int32 Amount of RAM (in GB)
32+
--ram int Amount of RAM (in GB)
3333
--version string Version
3434
```
3535

docs/stackit_beta_vpn.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,7 @@ stackit beta vpn [flags]
3131

3232
* [stackit beta](./stackit_beta.md) - Contains beta STACKIT CLI commands
3333
* [stackit beta vpn connection](./stackit_beta_vpn_connection.md) - Provides functionality for VPN connections
34+
* [stackit beta vpn gateway](./stackit_beta_vpn_gateway.md) - Provides functionality for VPN gateway
35+
* [stackit beta vpn plans](./stackit_beta_vpn_plans.md) - Lists all available plans
36+
* [stackit beta vpn quotas](./stackit_beta_vpn_quotas.md) - Lists all vpn quotas
3437

docs/stackit_beta_vpn_gateway.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
## stackit beta vpn gateway
2+
3+
Provides functionality for VPN gateway
4+
5+
### Synopsis
6+
7+
Provides functionality for VPN gateway.
8+
9+
```
10+
stackit beta vpn gateway [flags]
11+
```
12+
13+
### Options
14+
15+
```
16+
-h, --help Help for "stackit beta vpn gateway"
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 beta vpn](./stackit_beta_vpn.md) - Provides functionality for VPN
33+
* [stackit beta vpn gateway create](./stackit_beta_vpn_gateway_create.md) - Creates a vpn gateway
34+
* [stackit beta vpn gateway delete](./stackit_beta_vpn_gateway_delete.md) - Deletes a vpn gateway
35+
* [stackit beta vpn gateway describe](./stackit_beta_vpn_gateway_describe.md) - Shows details of a gateway
36+
* [stackit beta vpn gateway list](./stackit_beta_vpn_gateway_list.md) - Lists all vpn gateways
37+
* [stackit beta vpn gateway status](./stackit_beta_vpn_gateway_status.md) - Shows the status of a gateway
38+
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
## stackit beta vpn gateway create
2+
3+
Creates a vpn gateway
4+
5+
### Synopsis
6+
7+
Creates a vpn gateway.
8+
9+
```
10+
stackit beta vpn gateway create [flags]
11+
```
12+
13+
### Examples
14+
15+
```
16+
Create a vpn gateway with name "xxx", plan "p500", policy based routing and both tunnels in availability-zone eu01-1
17+
$ stackit beta vpn gateway create --name xxx --plan-id p500 --routing-type POLICY_BASED --availability-zone-tunnel-1 eu01-1 --availability-zone-tunnel-2 eu01-1
18+
19+
Create a vpn gateway with the labels foo=bar and x=y
20+
$ stackit beta vpn gateway create --name xxx --plan-id p500 --routing-type POLICY_BASED --availability-zone-tunnel-1 eu01-1 --availability-zone-tunnel-2 eu01-1 --label foo=bar,x=y
21+
22+
Create a vpn gateway with bgp enabled, yyy as local asn and [aaa, bbb] as override advertised routes
23+
$ stackit beta vpn gateway create --name xxx --plan-id p500 --routing-type POLICY_BASED --availability-zone-tunnel-1 eu01-1 --availability-zone-tunnel-2 eu01-1 --bgp-local-asn yyy --bgp-override-advertised-routes aaa,bbb
24+
```
25+
26+
### Options
27+
28+
```
29+
--availability-zone-tunnel-1 string Availability Zone of Tunnel 1
30+
--availability-zone-tunnel-2 string Availability Zone of Tunnel 2
31+
--bgp-local-asn int ASN for private use (reserved by IANA), both 16Bit and 32Bit ranges are valid (RFC 6996)
32+
--bgp-override-advertised-routes stringArray A list of IPv4 Prefixes to advertise via BGP
33+
-h, --help Help for "stackit beta vpn gateway create"
34+
--labels stringToString Labels in key=value format, separated by commas (default [])
35+
--name string Gateway name
36+
--plan-id string Plan ID
37+
--routing-type string Routing Type of the VPN (one of: [POLICY_BASED, ROUTE_BASED, BGP_ROUTE_BASED])
38+
```
39+
40+
### Options inherited from parent commands
41+
42+
```
43+
-y, --assume-yes If set, skips all confirmation prompts
44+
--async If set, runs the command asynchronously
45+
-o, --output-format string Output format, (one of: [json, pretty, none, yaml])
46+
-p, --project-id string Project ID
47+
--region string Target region for region-specific requests
48+
--verbosity string Verbosity of the CLI, (one of: [debug, info, warning, error]) (default "info")
49+
```
50+
51+
### SEE ALSO
52+
53+
* [stackit beta vpn gateway](./stackit_beta_vpn_gateway.md) - Provides functionality for VPN gateway
54+

0 commit comments

Comments
 (0)