Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions docs/stackit_beta_alb.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,10 @@ stackit beta alb [flags]
* [stackit beta alb delete](./stackit_beta_alb_delete.md) - Deletes an application loadbalancer
* [stackit beta alb describe](./stackit_beta_alb_describe.md) - Describes an application loadbalancer
* [stackit beta alb list](./stackit_beta_alb_list.md) - Lists albs
* [stackit beta alb observability-credentials](./stackit_beta_alb_observability-credentials.md) - Provides functionality for application loadbalancer credentials
* [stackit beta alb plans](./stackit_beta_alb_plans.md) - Lists the application load balancer plans
* [stackit beta alb pool](./stackit_beta_alb_pool.md) - Manages target pools for application loadbalancers
* [stackit beta alb quotas](./stackit_beta_alb_quotas.md) - Shows the application load balancer quotas
* [stackit beta alb template](./stackit_beta_alb_template.md) - creates configuration templates to use for resource creation
* [stackit beta alb update](./stackit_beta_alb_update.md) - Updates an application loadbalancer

38 changes: 38 additions & 0 deletions docs/stackit_beta_alb_observability-credentials.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
## stackit beta alb observability-credentials

Provides functionality for application loadbalancer credentials

### Synopsis

Provides functionality for application loadbalancer credentials

```
stackit beta alb observability-credentials [flags]
```

### Options

```
-h, --help Help for "stackit beta alb observability-credentials"
```

### 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 alb](./stackit_beta_alb.md) - Manages application loadbalancers
* [stackit beta alb observability-credentials add](./stackit_beta_alb_observability-credentials_add.md) - Adds observability credentials to an application load balancer
* [stackit beta alb observability-credentials delete](./stackit_beta_alb_observability-credentials_delete.md) - Deletes credentials
* [stackit beta alb observability-credentials describe](./stackit_beta_alb_observability-credentials_describe.md) - Describes observability credentials for the Application Load Balancer
* [stackit beta alb observability-credentials list](./stackit_beta_alb_observability-credentials_list.md) - Lists all credentials
* [stackit beta alb observability-credentials update](./stackit_beta_alb_observability-credentials_update.md) - Update credentials

43 changes: 43 additions & 0 deletions docs/stackit_beta_alb_observability-credentials_add.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
## stackit beta alb observability-credentials add

Adds observability credentials to an application load balancer

### Synopsis

Adds observability credentials (username and password) to an application load balancer. The credentials can be for Observability or another monitoring tool.

```
stackit beta alb observability-credentials add [flags]
```

### Examples

```
Add observability credentials to a load balancer with username "xxx" and display name "yyy", providing the path to a file with the password as flag
$ stackit beta alb observability-credentials add --username xxx --password @./password.txt --display-name yyy
```

### Options

```
-d, --displayname string Displayname for the credentials
-h, --help Help for "stackit beta alb observability-credentials add"
--password string Password. Can be a string or a file path, if prefixed with "@" (example: @./password.txt).
-u, --username string Username for the credentials
```

### 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 alb observability-credentials](./stackit_beta_alb_observability-credentials.md) - Provides functionality for application loadbalancer credentials

40 changes: 40 additions & 0 deletions docs/stackit_beta_alb_observability-credentials_delete.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
## stackit beta alb observability-credentials delete

Deletes credentials

### Synopsis

Deletes credentials.

```
stackit beta alb observability-credentials delete CREDENTIAL_REF [flags]
```

### Examples

```
Delete credential with name "credential-12345"
$ stackit beta alb observability-credentials delete credential-12345
```

### Options

```
-h, --help Help for "stackit beta alb observability-credentials 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 alb observability-credentials](./stackit_beta_alb_observability-credentials.md) - Provides functionality for application loadbalancer credentials

40 changes: 40 additions & 0 deletions docs/stackit_beta_alb_observability-credentials_describe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
## stackit beta alb observability-credentials describe

Describes observability credentials for the Application Load Balancer

### Synopsis

Describes observability credentials for the Application Load Balancer.

```
stackit beta alb observability-credentials describe CREDENTIAL_REF [flags]
```

### Examples

```
Get details about credentials with name "credential-12345"
$ stackit beta alb observability-credentials describe credential-12345
```

### Options

```
-h, --help Help for "stackit beta alb observability-credentials 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 alb observability-credentials](./stackit_beta_alb_observability-credentials.md) - Provides functionality for application loadbalancer credentials

47 changes: 47 additions & 0 deletions docs/stackit_beta_alb_observability-credentials_list.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
## stackit beta alb observability-credentials list

Lists all credentials

### Synopsis

Lists all credentials.

```
stackit beta alb observability-credentials list [flags]
```

### Examples

```
Lists all credentials
$ stackit beta alb observability-credentials list

Lists all credentials in JSON format
$ stackit beta alb observability-credentials list --output-format json

Lists up to 10 credentials
$ stackit beta alb observability-credentials list --limit 10
```

### Options

```
-h, --help Help for "stackit beta alb observability-credentials list"
--limit int Number of credentials 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 alb observability-credentials](./stackit_beta_alb_observability-credentials.md) - Provides functionality for application loadbalancer credentials

43 changes: 43 additions & 0 deletions docs/stackit_beta_alb_observability-credentials_update.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
## stackit beta alb observability-credentials update

Update credentials

### Synopsis

Update credentials.

```
stackit beta alb observability-credentials update CREDENTIAL_REF_ARG [flags]
```

### Examples

```
Update the password of observability credentials of Application Load Balancer with credentials reference "credentials-xxx", by providing the path to a file with the new password as flag
$ stackit beta alb observability-credentials update credentials-xxx --username user1 --displayname user1 --password @./new-password.txt
```

### Options

```
-d, --displayname string Displayname for the credentials
-h, --help Help for "stackit beta alb observability-credentials update"
--password string Password. Can be a string or a file path, if prefixed with "@" (example: @./password.txt).
-u, --username string Username for the credentials
```

### 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 alb observability-credentials](./stackit_beta_alb_observability-credentials.md) - Provides functionality for application loadbalancer credentials

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

Lists the application load balancer plans

### Synopsis

Lists the available application load balancer plans.

```
stackit beta alb plans [flags]
```

### Examples

```
List all application load balancer plans
$ stackit beta alb plans
```

### Options

```
-h, --help Help for "stackit beta alb plans"
```

### 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 alb](./stackit_beta_alb.md) - Manages application loadbalancers

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

Shows the application load balancer quotas

### Synopsis

Shows the application load balancer quotas for the application load balancers.

```
stackit beta alb quotas [flags]
```

### Examples

```
List all application load balancer quotas
$ stackit beta alb quotas
```

### Options

```
-h, --help Help for "stackit beta alb quotas"
```

### 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 alb](./stackit_beta_alb.md) - Manages application loadbalancers

2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ require (
github.com/spf13/pflag v1.0.6
github.com/spf13/viper v1.20.1
github.com/stackitcloud/stackit-sdk-go/core v0.17.1
github.com/stackitcloud/stackit-sdk-go/services/alb v0.2.1
github.com/stackitcloud/stackit-sdk-go/services/authorization v0.6.1
github.com/stackitcloud/stackit-sdk-go/services/dns v0.13.1
github.com/stackitcloud/stackit-sdk-go/services/iaas v0.22.0
Expand Down Expand Up @@ -52,7 +53,6 @@ require (
github.com/go-viper/mapstructure/v2 v2.2.1 // indirect
github.com/mattn/go-isatty v0.0.20 // indirect
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
github.com/stackitcloud/stackit-sdk-go/services/alb v0.2.1 // indirect
github.com/x448/float16 v0.8.4 // indirect
)

Expand Down
6 changes: 6 additions & 0 deletions internal/cmd/beta/alb/alb.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ import (
"github.com/stackitcloud/stackit-cli/internal/cmd/beta/alb/delete"
"github.com/stackitcloud/stackit-cli/internal/cmd/beta/alb/describe"
"github.com/stackitcloud/stackit-cli/internal/cmd/beta/alb/list"
observabilitycredentials "github.com/stackitcloud/stackit-cli/internal/cmd/beta/alb/observability-credentials"
"github.com/stackitcloud/stackit-cli/internal/cmd/beta/alb/plans"
"github.com/stackitcloud/stackit-cli/internal/cmd/beta/alb/pool"
"github.com/stackitcloud/stackit-cli/internal/cmd/beta/alb/quotas"
"github.com/stackitcloud/stackit-cli/internal/cmd/beta/alb/template"
"github.com/stackitcloud/stackit-cli/internal/cmd/beta/alb/update"
"github.com/stackitcloud/stackit-cli/internal/pkg/args"
Expand Down Expand Up @@ -34,8 +37,11 @@ func addSubcommands(cmd *cobra.Command, p *print.Printer) {
template.NewCmd(p),
create.NewCmd(p),
update.NewCmd(p),
observabilitycredentials.NewCmd(p),
describe.NewCmd(p),
delete.NewCmd(p),
pool.NewCmd(p),
plans.NewCmd(p),
quotas.NewCmd(p),
)
}
Loading