Skip to content
1 change: 1 addition & 0 deletions docs/stackit_beta.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ stackit beta [flags]
* [stackit beta alb](./stackit_beta_alb.md) - Manages application loadbalancers
* [stackit beta intake](./stackit_beta_intake.md) - Provides functionality for intake
* [stackit beta kms](./stackit_beta_kms.md) - Provides functionality for KMS
* [stackit beta logs](./stackit_beta_logs.md) - Provides functionality for Logs
* [stackit beta sfs](./stackit_beta_sfs.md) - Provides functionality for SFS (stackit file storage)
* [stackit beta sqlserverflex](./stackit_beta_sqlserverflex.md) - Provides functionality for SQLServer Flex

34 changes: 34 additions & 0 deletions docs/stackit_beta_logs.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
## stackit beta logs

Provides functionality for Logs

### Synopsis

Provides functionality for Logs.

```
stackit beta logs [flags]
```

### Options

```
-h, --help Help for "stackit beta logs"
```

### 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](./stackit_beta.md) - Contains beta STACKIT CLI commands
* [stackit beta logs instance](./stackit_beta_logs_instance.md) - Provides functionality for Logs instances

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

Provides functionality for Logs instances

### Synopsis

Provides functionality for Logs instances.

```
stackit beta logs instance [flags]
```

### Options

```
-h, --help Help for "stackit beta logs instance"
```

### 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 logs](./stackit_beta_logs.md) - Provides functionality for Logs
* [stackit beta logs instance create](./stackit_beta_logs_instance_create.md) - Creates a Logs instance
* [stackit beta logs instance delete](./stackit_beta_logs_instance_delete.md) - Deletes the given Logs instance
* [stackit beta logs instance describe](./stackit_beta_logs_instance_describe.md) - Shows details of a Logs instance
* [stackit beta logs instance list](./stackit_beta_logs_instance_list.md) - Lists Logs instances
* [stackit beta logs instance update](./stackit_beta_logs_instance_update.md) - Updates a Logs instance

50 changes: 50 additions & 0 deletions docs/stackit_beta_logs_instance_create.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
## stackit beta logs instance create

Creates a Logs instance

### Synopsis

Creates a Logs instance.

```
stackit beta logs instance create [flags]
```

### Examples

```
Create a Logs instance with name "my-instance" and retention time 10 days
$ stackit beta logs instance create --display-name "my-instance" --retention-days 10

Create a Logs instance with name "my-instance", retention time 10 days, and a description
$ stackit beta logs instance create --display-name "my-instance" --retention-days 10 --description "Description of the instance"

Create a Logs instance with name "my-instance", retention time 10 days, and restrict access to a specific range of IP addresses.
$ stackit beta logs instance create --display-name "my-instance" --retention-days 10 --acl 1.2.3.0/24
```

### Options

```
--acl strings Access control list
--description string Description
--display-name string Display name
-h, --help Help for "stackit beta logs instance create"
--retention-days int The days for how long the logs should be stored before being cleaned up
```

### 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 logs instance](./stackit_beta_logs_instance.md) - Provides functionality for Logs instances

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

Deletes the given Logs instance

### Synopsis

Deletes the given Logs instance.

```
stackit beta logs instance delete INSTANCE_ID [flags]
```

### Examples

```
Delete a Logs instance with ID "xxx"
$ stackit beta logs instance delete "xxx"
```

### Options

```
-h, --help Help for "stackit beta logs instance 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 logs instance](./stackit_beta_logs_instance.md) - Provides functionality for Logs instances

43 changes: 43 additions & 0 deletions docs/stackit_beta_logs_instance_describe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
## stackit beta logs instance describe

Shows details of a Logs instance

### Synopsis

Shows details of a Logs instance

```
stackit beta logs instance describe INSTANCE_ID [flags]
```

### Examples

```
Get details of a Logs instance with ID "xxx"
$ stackit beta logs instance describe xxx

Get details of a Logs instance with ID "xxx" in JSON format
$ stackit beta logs instance describe xxx --output-format json
```

### Options

```
-h, --help Help for "stackit beta logs instance 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 logs instance](./stackit_beta_logs_instance.md) - Provides functionality for Logs instances

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

Lists Logs instances

### Synopsis

Lists Logs instances within the project.

```
stackit beta logs instance list [flags]
```

### Examples

```
List all Logs instances
$ stackit beta logs instance list

List the first 10 Logs instances
$ stackit beta logs instance list --limit=10
```

### Options

```
-h, --help Help for "stackit beta logs instance list"
--limit int Limit the output to the first n elements
```

### 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 logs instance](./stackit_beta_logs_instance.md) - Provides functionality for Logs instances

50 changes: 50 additions & 0 deletions docs/stackit_beta_logs_instance_update.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
## stackit beta logs instance update

Updates a Logs instance

### Synopsis

Updates a Logs instance.

```
stackit beta logs instance update INSTANCE_ID [flags]
```

### Examples

```
Update the display name of the Logs instance with ID "xxx"
$ stackit beta logs instance update xxx --display-name new-name

Update the retention time of the Logs instance with ID "xxx"
$ stackit beta logs instance update xxx --retention-days 40

Update the ACL of the Logs instance with ID "xxx"
$ stackit beta logs instance update xxx --acl 1.2.3.0/24
```

### Options

```
--acl strings Access control list
--description string Description
--display-name string Display name
-h, --help Help for "stackit beta logs instance update"
--retention-days int The days for how long the logs should be stored before being cleaned up
```

### 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 logs instance](./stackit_beta_logs_instance.md) - Provides functionality for Logs instances

1 change: 1 addition & 0 deletions docs/stackit_config_set.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ stackit config set [flags]
--kms-custom-endpoint string KMS API base URL, used in calls to this API
--load-balancer-custom-endpoint string Load Balancer API base URL, used in calls to this API
--logme-custom-endpoint string LogMe API base URL, used in calls to this API
--logs-custom-endpoint string Logs API base URL, used in calls to this API
--mariadb-custom-endpoint string MariaDB API base URL, used in calls to this API
--mongodbflex-custom-endpoint string MongoDB Flex API base URL, used in calls to this API
--object-storage-custom-endpoint string Object Storage API base URL, used in calls to this API
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 @@ -38,6 +38,7 @@ stackit config unset [flags]
--kms-custom-endpoint KMS API base URL. If unset, uses the default base URL
--load-balancer-custom-endpoint Load Balancer API base URL. If unset, uses the default base URL
--logme-custom-endpoint LogMe API base URL. If unset, uses the default base URL
--logs-custom-endpoint Logs API base URL. If unset, uses the default base URL
--mariadb-custom-endpoint MariaDB API base URL. If unset, uses the default base URL
--mongodbflex-custom-endpoint MongoDB Flex API base URL. If unset, uses the default base URL
--object-storage-custom-endpoint Object Storage API base URL. If unset, uses the default base URL
Expand Down
1 change: 1 addition & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ require (
github.com/stackitcloud/stackit-sdk-go/services/git v0.10.1
github.com/stackitcloud/stackit-sdk-go/services/iaas v1.3.0
github.com/stackitcloud/stackit-sdk-go/services/intake v0.4.1
github.com/stackitcloud/stackit-sdk-go/services/logs v0.3.0
github.com/stackitcloud/stackit-sdk-go/services/mongodbflex v1.5.5
github.com/stackitcloud/stackit-sdk-go/services/opensearch v0.24.3
github.com/stackitcloud/stackit-sdk-go/services/postgresflex v1.3.2
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -616,6 +616,8 @@ github.com/stackitcloud/stackit-sdk-go/services/kms v1.2.0 h1:Ar2n9GKmrTN80G/Ta1
github.com/stackitcloud/stackit-sdk-go/services/kms v1.2.0/go.mod h1:sHMFoYvVrkRZcH13DkLvp48nW+ssRVVVuwqJHDGpa5M=
github.com/stackitcloud/stackit-sdk-go/services/loadbalancer v1.6.2 h1:DwwRMzvnKWTbfmLvq2xe+mYhv5fA1AwWdQGznI05sGc=
github.com/stackitcloud/stackit-sdk-go/services/loadbalancer v1.6.2/go.mod h1:dYmNdSNDKUG+E0SwuFWu+c8CuMBF/l6w1bdzAHxQao0=
github.com/stackitcloud/stackit-sdk-go/services/logs v0.3.0 h1:N1gerABK2vH7/PBkxZeaWYJ7dz3rjeCHuto+FAuGx3w=
github.com/stackitcloud/stackit-sdk-go/services/logs v0.3.0/go.mod h1:m4IjH1/RtJOF072kjAB0E/ejoIc++myrKmIahphfO6Q=
github.com/stackitcloud/stackit-sdk-go/services/logme v0.25.3 h1:fUQLWs2WsXFh+FtFDYOm1kv/gJrGBZLjhVOXJOuYfFY=
github.com/stackitcloud/stackit-sdk-go/services/logme v0.25.3/go.mod h1:305j9bvzJ+3c4csOw4SUfLSSxRbkpL0osbvqMI89FeM=
github.com/stackitcloud/stackit-sdk-go/services/mariadb v0.25.3 h1:Y5Ct3Zi5UcIOwjKMWpKl0nrqiq7psTf4NJv0IKgwTkc=
Expand Down
2 changes: 2 additions & 0 deletions internal/cmd/beta/beta.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package beta
import (
"fmt"

"github.com/stackitcloud/stackit-cli/internal/cmd/beta/logs"
"github.com/stackitcloud/stackit-cli/internal/pkg/types"

"github.com/stackitcloud/stackit-cli/internal/cmd/beta/alb"
Expand Down Expand Up @@ -45,4 +46,5 @@ func addSubcommands(cmd *cobra.Command, params *types.CmdParams) {
cmd.AddCommand(alb.NewCmd(params))
cmd.AddCommand(intake.NewCmd(params))
cmd.AddCommand(kms.NewCmd(params))
cmd.AddCommand(logs.NewCmd(params))
}
Loading
Loading