Skip to content
3 changes: 3 additions & 0 deletions docs/stackit_beta_vpn.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,7 @@ stackit beta vpn [flags]

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

38 changes: 38 additions & 0 deletions docs/stackit_beta_vpn_gateway.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
## stackit beta vpn gateway

Provides functionality for VPN gateway

### Synopsis

Provides functionality for VPN gateway.

```
stackit beta vpn gateway [flags]
```

### Options

```
-h, --help Help for "stackit beta vpn gateway"
```

### Options inherited from parent commands

```
-y, --assume-yes If set, skips all confirmation prompts
--async If set, runs the command asynchronously
-o, --output-format string Output format, (one of: [json, pretty, none, yaml])
-p, --project-id string Project ID
--region string Target region for region-specific requests
--verbosity string Verbosity of the CLI, (one of: [debug, info, warning, error]) (default "info")
```

### SEE ALSO

* [stackit beta vpn](./stackit_beta_vpn.md) - Provides functionality for VPN
* [stackit beta vpn gateway create](./stackit_beta_vpn_gateway_create.md) - Creates a vpn gateway
* [stackit beta vpn gateway delete](./stackit_beta_vpn_gateway_delete.md) - Deletes a vpn gateway
* [stackit beta vpn gateway describe](./stackit_beta_vpn_gateway_describe.md) - Shows details of a gateway
* [stackit beta vpn gateway list](./stackit_beta_vpn_gateway_list.md) - Lists all vpn gateways
* [stackit beta vpn gateway status](./stackit_beta_vpn_gateway_status.md) - Shows the status of a gateway

54 changes: 54 additions & 0 deletions docs/stackit_beta_vpn_gateway_create.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
## stackit beta vpn gateway create

Creates a vpn gateway

### Synopsis

Creates a vpn gateway.

```
stackit beta vpn gateway create [flags]
```

### Examples

```
Create a vpn gateway with name "xxx", plan "p500", policy based routing and both tunnels in availability-zone eu01-1
$ 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

Create a vpn gateway with the labels foo=bar and x=y
$ 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

Create a vpn gateway with bgp enabled, yyy as local asn and [aaa, bbb] as override advertised routes
$ 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
```

### Options

```
--availability-zone-tunnel-1 string Availability Zone of Tunnel 1
--availability-zone-tunnel-2 string Availability Zone of Tunnel 2
--bgp-local-asn int ASN for private use (reserved by IANA), both 16Bit and 32Bit ranges are valid (RFC 6996)
--bgp-override-advertised-routes stringArray A list of IPv4 Prefixes to advertise via BGP
-h, --help Help for "stackit beta vpn gateway create"
--labels stringToString Labels in key=value format, separated by commas (default [])
--name string Gateway name
--plan-id string Plan ID
--routing-type string Routing Type of the VPN (one of: [POLICY_BASED, ROUTE_BASED, BGP_ROUTE_BASED])
```

### Options inherited from parent commands

```
-y, --assume-yes If set, skips all confirmation prompts
--async If set, runs the command asynchronously
-o, --output-format string Output format, (one of: [json, pretty, none, yaml])
-p, --project-id string Project ID
--region string Target region for region-specific requests
--verbosity string Verbosity of the CLI, (one of: [debug, info, warning, error]) (default "info")
```

### SEE ALSO

* [stackit beta vpn gateway](./stackit_beta_vpn_gateway.md) - Provides functionality for VPN gateway

40 changes: 40 additions & 0 deletions docs/stackit_beta_vpn_gateway_delete.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
## stackit beta vpn gateway delete

Deletes a vpn gateway

### Synopsis

Deletes a vpn gateway.

```
stackit beta vpn gateway delete GATEWAY_ID [flags]
```

### Examples

```
Delete the vpn gateway with the ID "xxx"
$ stackit beta vpn gateway delete xxx
```

### Options

```
-h, --help Help for "stackit beta vpn gateway delete"
```

### Options inherited from parent commands

```
-y, --assume-yes If set, skips all confirmation prompts
--async If set, runs the command asynchronously
-o, --output-format string Output format, (one of: [json, pretty, none, yaml])
-p, --project-id string Project ID
--region string Target region for region-specific requests
--verbosity string Verbosity of the CLI, (one of: [debug, info, warning, error]) (default "info")
```

### SEE ALSO

* [stackit beta vpn gateway](./stackit_beta_vpn_gateway.md) - Provides functionality for VPN gateway

40 changes: 40 additions & 0 deletions docs/stackit_beta_vpn_gateway_describe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
## stackit beta vpn gateway describe

Shows details of a gateway

### Synopsis

Shows details of a gateway.

```
stackit beta vpn gateway describe GATEWAY_ID [flags]
```

### Examples

```
Describe the gateway with the ID "xxx"
$ stackit beta vpn gateway describe xxx
```

### Options

```
-h, --help Help for "stackit beta vpn gateway describe"
```

### Options inherited from parent commands

```
-y, --assume-yes If set, skips all confirmation prompts
--async If set, runs the command asynchronously
-o, --output-format string Output format, (one of: [json, pretty, none, yaml])
-p, --project-id string Project ID
--region string Target region for region-specific requests
--verbosity string Verbosity of the CLI, (one of: [debug, info, warning, error]) (default "info")
```

### SEE ALSO

* [stackit beta vpn gateway](./stackit_beta_vpn_gateway.md) - Provides functionality for VPN gateway

44 changes: 44 additions & 0 deletions docs/stackit_beta_vpn_gateway_list.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
## stackit beta vpn gateway list

Lists all vpn gateways

### Synopsis

Lists all vpn gateways.

```
stackit beta vpn gateway list [flags]
```

### Examples

```
List all vpn gateways
$ stackit beta vpn gateway list

List up to 4 vpn gateways
$ stackit beta vpn gateway list --limit 4
```

### Options

```
-h, --help Help for "stackit beta vpn gateway list"
--limit int Maximum number of entries to list
```

### Options inherited from parent commands

```
-y, --assume-yes If set, skips all confirmation prompts
--async If set, runs the command asynchronously
-o, --output-format string Output format, (one of: [json, pretty, none, yaml])
-p, --project-id string Project ID
--region string Target region for region-specific requests
--verbosity string Verbosity of the CLI, (one of: [debug, info, warning, error]) (default "info")
```

### SEE ALSO

* [stackit beta vpn gateway](./stackit_beta_vpn_gateway.md) - Provides functionality for VPN gateway

40 changes: 40 additions & 0 deletions docs/stackit_beta_vpn_gateway_status.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
## stackit beta vpn gateway status

Shows the status of a gateway

### Synopsis

Shows the status of a gateway.

```
stackit beta vpn gateway status GATEWAY_ID [flags]
```

### Examples

```
Show the status of the gateway with the ID "xxx"
$ stackit beta vpn gateway status xxx
```

### Options

```
-h, --help Help for "stackit beta vpn gateway status"
```

### Options inherited from parent commands

```
-y, --assume-yes If set, skips all confirmation prompts
--async If set, runs the command asynchronously
-o, --output-format string Output format, (one of: [json, pretty, none, yaml])
-p, --project-id string Project ID
--region string Target region for region-specific requests
--verbosity string Verbosity of the CLI, (one of: [debug, info, warning, error]) (default "info")
```

### SEE ALSO

* [stackit beta vpn gateway](./stackit_beta_vpn_gateway.md) - Provides functionality for VPN gateway

41 changes: 41 additions & 0 deletions docs/stackit_beta_vpn_plans.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
## stackit beta vpn plans

Lists all available plans

### Synopsis

Lists all available plans.

```
stackit beta vpn plans [flags]
```

### Examples

```
List all available plans
$ stackit beta vpn plans
```

### Options

```
-h, --help Help for "stackit beta vpn plans"
--limit int Maximum number of entries to list
```

### Options inherited from parent commands

```
-y, --assume-yes If set, skips all confirmation prompts
--async If set, runs the command asynchronously
-o, --output-format string Output format, (one of: [json, pretty, none, yaml])
-p, --project-id string Project ID
--region string Target region for region-specific requests
--verbosity string Verbosity of the CLI, (one of: [debug, info, warning, error]) (default "info")
```

### SEE ALSO

* [stackit beta vpn](./stackit_beta_vpn.md) - Provides functionality for VPN

41 changes: 41 additions & 0 deletions docs/stackit_beta_vpn_quotas.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
## stackit beta vpn quotas

Lists all vpn quotas

### Synopsis

Lists all vpn quotas.

```
stackit beta vpn quotas [flags]
```

### Examples

```
List all vpn quotas
$ stackit beta vpn quotas
```

### Options

```
-h, --help Help for "stackit beta vpn quotas"
--limit int Maximum number of entries to list
```

### Options inherited from parent commands

```
-y, --assume-yes If set, skips all confirmation prompts
--async If set, runs the command asynchronously
-o, --output-format string Output format, (one of: [json, pretty, none, yaml])
-p, --project-id string Project ID
--region string Target region for region-specific requests
--verbosity string Verbosity of the CLI, (one of: [debug, info, warning, error]) (default "info")
```

### SEE ALSO

* [stackit beta vpn](./stackit_beta_vpn.md) - Provides functionality for VPN

1 change: 1 addition & 0 deletions docs/stackit_config_set.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ stackit config set [flags]
--ske-custom-endpoint string SKE API base URL, used in calls to this API
--sqlserverflex-custom-endpoint string SQLServer Flex API base URL, used in calls to this API
--token-custom-endpoint string Custom token endpoint of the Service Account API, which is used to request access tokens when the service account authentication is activated. Not relevant for user authentication.
--vpn-custom-endpoint string VPN API base URL, used in calls to this API
```

### Options inherited from parent commands
Expand Down
1 change: 1 addition & 0 deletions docs/stackit_config_unset.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ stackit config unset [flags]
--sqlserverflex-custom-endpoint SQLServer Flex API base URL. If unset, uses the default base URL
--token-custom-endpoint Custom token endpoint of the Service Account API, which is used to request access tokens when the service account authentication is activated. Not relevant for user authentication.
--verbosity Verbosity of the CLI
--vpn-custom-endpoint VPN API base URL. If unset, uses the default base URL
```

### SEE ALSO
Expand Down
2 changes: 1 addition & 1 deletion internal/cmd/beta/sfs/export-policy/list/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ func NewCmd(params *types.CmdParams) *cobra.Command {
}

// Truncate output
items := utils.GetSliceFromPointer(&resp.ShareExportPolicies)
items := resp.ShareExportPolicies
if model.Limit != nil && len(items) > int(*model.Limit) {
items = items[:*model.Limit]
}
Expand Down
2 changes: 1 addition & 1 deletion internal/cmd/beta/sfs/performance-class/list/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ func NewCmd(params *types.CmdParams) *cobra.Command {
projectLabel = model.ProjectId
}

performanceClasses := utils.GetSliceFromPointer(&resp.PerformanceClasses)
performanceClasses := resp.PerformanceClasses

return outputResult(params.Printer, model.OutputFormat, projectLabel, performanceClasses)
},
Expand Down
2 changes: 1 addition & 1 deletion internal/cmd/beta/sfs/resource-pool/list/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ func NewCmd(params *types.CmdParams) *cobra.Command {
return fmt.Errorf("list SFS resource pools: %w", err)
}

resourcePools := utils.GetSliceFromPointer(&resp.ResourcePools)
resourcePools := resp.ResourcePools

// Truncate output
if model.Limit != nil && len(resourcePools) > int(*model.Limit) {
Expand Down
Loading
Loading