Skip to content
Open
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
1 change: 1 addition & 0 deletions docs/stackit_beta.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ stackit beta [flags]
* [stackit beta edge-cloud](./stackit_beta_edge-cloud.md) - Provides functionality for Edge Cloud services.
* [stackit beta intake](./stackit_beta_intake.md) - Provides functionality for intake
* [stackit beta sfs](./stackit_beta_sfs.md) - Provides functionality for SFS (STACKIT File Storage)
* [stackit beta telemetrylink](./stackit_beta_telemetrylink.md) - Provides functionality for Telemetry Link

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

General note: You're onboarding a new service. Don't forget to add it to the labeler config so future contribution PRs for that service get labeled automatically 😅

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

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

Provides functionality for Telemetry Link

### Synopsis

Provides functionality for Telemetry Link.

```
stackit beta telemetrylink [flags]
```

### Options

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

### 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 telemetrylink create](./stackit_beta_telemetrylink_create.md) - Creates a Telemetry Link with the specified resource
* [stackit beta telemetrylink delete](./stackit_beta_telemetrylink_delete.md) - Deletes the given Telemetry Link within the specified resource
* [stackit beta telemetrylink describe](./stackit_beta_telemetrylink_describe.md) - Shows details of a Telemetry Link within the specified resource
* [stackit beta telemetrylink update](./stackit_beta_telemetrylink_update.md) - Updates a Telemetry Link within the specified resource

56 changes: 56 additions & 0 deletions docs/stackit_beta_telemetrylink_create.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
## stackit beta telemetrylink create

Creates a Telemetry Link with the specified resource

### Synopsis

Creates a Telemetry Link with the specified resource.

```
stackit beta telemetrylink create [flags]
```

### Examples

```
Create a Telemetry Link with name "my-link" for project with ID "xxx" and for telemetry router with ID "yyy"
$ stackit beta telemetrylink create --display-name my-link --resource-type project --resource-id xxx --telemetry-router-id yyy --access-token my-token

Create a Telemetry Link with name "my-link" for folder with ID "xxx" and for telemetry router with ID "yyy"
$ stackit beta telemetrylink create --display-name my-link --resource-type folder --resource-id xxx --telemetry-router-id yyy --access-token my-token

Create a Telemetry Link with name "my-link" for organization with ID "xxx" and for telemetry router with ID "yyy"
$ stackit beta telemetrylink create --display-name my-link --resource-type organization --resource-id xxx --telemetry-router-id yyy --access-token my-token

Create a Telemetry Link with name "my-link" for organization with ID "xxx" and for telemetry router with ID "yyy", and disable routing
$ stackit beta telemetrylink create --display-name my-link --resource-type organization --resource-id xxx --telemetry-router-id yyy --enabled=false --access-token my-token
```

### Options

```
--access-token string The access token of the Telemetry Router instance
--description string The description of the Telemetry Link resource
--display-name string The displayed name of the Telemetry Link resource
--enabled Enable routing through the link to a telemetry router (default true)
-h, --help Help for "stackit beta telemetrylink create"
--resource-id string STACKIT project ID, folder ID, or organization ID associated with the Telemetry Link resource
--resource-type string The resource type of the TelemetryLink resource, possible values are [organization folder project]
--telemetry-router-id string The ID of the telemetry-router to route the telemetry data
```

### 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 telemetrylink](./stackit_beta_telemetrylink.md) - Provides functionality for Telemetry Link

48 changes: 48 additions & 0 deletions docs/stackit_beta_telemetrylink_delete.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
## stackit beta telemetrylink delete

Deletes the given Telemetry Link within the specified resource

### Synopsis

Deletes the given Telemetry Link within the specified resource.

```
stackit beta telemetrylink delete [flags]
```

### Examples

```
Delete the Telemetry Link for project with ID "xxx"
$ stackit beta telemetrylink delete --resource-type project --resource-id xxx

Delete the Telemetry Link for folder with ID "xxx"
$ stackit beta telemetrylink delete --resource-type folder --resource-id xxx

Delete the Telemetry Link for organization with ID "xxx"
$ stackit beta telemetrylink delete --resource-type organization --resource-id xxx
```

### Options

```
-h, --help Help for "stackit beta telemetrylink delete"
--resource-id string STACKIT project ID, folder ID, or organization ID associated with the Telemetry Link resource
--resource-type string The resource type of the TelemetryLink resource, possible values are [organization folder project]
```

### 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 telemetrylink](./stackit_beta_telemetrylink.md) - Provides functionality for Telemetry Link

51 changes: 51 additions & 0 deletions docs/stackit_beta_telemetrylink_describe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
## stackit beta telemetrylink describe

Shows details of a Telemetry Link within the specified resource

### Synopsis

Shows details of a Telemetry Link within the specified resource.

```
stackit beta telemetrylink describe [flags]
```

### Examples

```
Get details of a Telemetry Link for project with ID "xxx"
$ stackit beta telemetrylink describe --resource-type project --resource-id xxx

Get details of a Telemetry Link for folder with ID "xxx"
$ stackit beta telemetrylink describe --resource-type folder --resource-id xxx

Get details of a Telemetry Link for organization with ID "xxx"
$ stackit beta telemetrylink describe --resource-type organization --resource-id xxx

Get details of a Telemetry Link for organization with ID "xxx" in JSON format
$ stackit beta telemetrylink describe --resource-type organization --resource-id xxx --output-format json
```

### Options

```
-h, --help Help for "stackit beta telemetrylink describe"
--resource-id string STACKIT project ID, folder ID, or organization ID associated with the Telemetry Link resource
--resource-type string The resource type of the TelemetryLink resource, possible values are [organization folder project]
```

### 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 telemetrylink](./stackit_beta_telemetrylink.md) - Provides functionality for Telemetry Link

53 changes: 53 additions & 0 deletions docs/stackit_beta_telemetrylink_update.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
## stackit beta telemetrylink update

Updates a Telemetry Link within the specified resource

### Synopsis

Updates a Telemetry Link within the specified resource.

```
stackit beta telemetrylink update [flags]
```

### Examples

```
Update a Telemetry Link with name "my-new-link" for project with ID "xxx"
$ stackit beta telemetrylink update --display-name my-new-link --resource-type project --resource-id xxx

Update a Telemetry Link with new access token for folder with ID "xxx"
$ stackit beta telemetrylink update --resource-type folder --resource-id xxx --access-token my-new-token

Update a Telemetry Link with new telemetry router ID "xxx" for organization with ID "yyy"
$ stackit beta telemetrylink update --resource-type organization --resource-id yyy --telemetry-router-id xxx
```

### Options

```
--access-token string The access token of the Telemetry Router instance
--description string The description of the Telemetry Link resource
--display-name string The displayed name of the Telemetry Link resource
--enabled Enable routing through the link to a telemetry router (default true)
-h, --help Help for "stackit beta telemetrylink update"
--resource-id string STACKIT project ID, folder ID, or organization ID associated with the Telemetry Link resource
--resource-type string The resource type of the TelemetryLink resource, possible values are [organization folder project]
--telemetry-router-id string The ID of the telemetry-router to route the telemetry data
```

### 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 telemetrylink](./stackit_beta_telemetrylink.md) - Provides functionality for Telemetry Link

1 change: 1 addition & 0 deletions docs/stackit_config_set.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ stackit config set [flags]
--sfs-custom-endpoint string SFS API base URL, used in calls to this API
--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
--telemetrylink-custom-endpoint string TelemetryLink 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
```
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]
--sfs-custom-endpoint SFS API base URL. If unset, uses the default base URL
--ske-custom-endpoint SKE API base URL. If unset, uses the default base URL
--sqlserverflex-custom-endpoint SQLServer Flex API base URL. If unset, uses the default base URL
--telemetrylink-custom-endpoint TelemetryLink 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
Expand Down
1 change: 1 addition & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ require (
github.com/stackitcloud/stackit-sdk-go/services/serviceenablement v1.7.2
github.com/stackitcloud/stackit-sdk-go/services/ske v1.21.2
github.com/stackitcloud/stackit-sdk-go/services/sqlserverflex v1.18.1
github.com/stackitcloud/stackit-sdk-go/services/telemetrylink v0.6.0
github.com/stackitcloud/stackit-sdk-go/services/valkey v0.3.1
github.com/stackitcloud/stackit-sdk-go/services/vpn v0.15.2
github.com/zalando/go-keyring v0.2.8
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -674,6 +674,8 @@ github.com/stackitcloud/stackit-sdk-go/services/ske v1.21.2 h1:4ApmRQGkcf/G/h1s1
github.com/stackitcloud/stackit-sdk-go/services/ske v1.21.2/go.mod h1:YYwFQNYrYUpa4FeT/6pxky8vp7E7pPy2F6+Ptf469hg=
github.com/stackitcloud/stackit-sdk-go/services/sqlserverflex v1.18.1 h1:EU8vhBTmlqvQGPEeakXrzjpCsYHVaD3XU3sJO9Glj38=
github.com/stackitcloud/stackit-sdk-go/services/sqlserverflex v1.18.1/go.mod h1:T1xYY3XabHJW6HppYk486ECBRswNwB3tRFM/ZOfQft0=
github.com/stackitcloud/stackit-sdk-go/services/telemetrylink v0.6.0 h1:glsamuWGVTwzBk3yoWYmq8gDcDkJncepHRn/tDwSwjA=
github.com/stackitcloud/stackit-sdk-go/services/telemetrylink v0.6.0/go.mod h1:JyuStufMDibWblEo4wPOrh3B02aMgIUEhDF7YK5WGas=
github.com/stackitcloud/stackit-sdk-go/services/valkey v0.3.1 h1:zAdxoRrUB5sIz73xAyXXQlZZ46Yc1p3rW1PerOLHNOk=
github.com/stackitcloud/stackit-sdk-go/services/valkey v0.3.1/go.mod h1:8znHnd2b6rdEHSmW/36LQa4dMMaLuN8dwo3tD6arEic=
github.com/stackitcloud/stackit-sdk-go/services/vpn v0.15.2 h1:82VZJaJPwcBKSj8WV8v0ujBvbkbMxFXIvvv0wU+0Be0=
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 @@ -11,6 +11,7 @@ import (
"github.com/stackitcloud/stackit-cli/internal/cmd/beta/edge"
"github.com/stackitcloud/stackit-cli/internal/cmd/beta/intake"
"github.com/stackitcloud/stackit-cli/internal/cmd/beta/sfs"
"github.com/stackitcloud/stackit-cli/internal/cmd/beta/telemetrylink"
"github.com/stackitcloud/stackit-cli/internal/cmd/beta/volume"
"github.com/stackitcloud/stackit-cli/internal/cmd/beta/vpn"
"github.com/stackitcloud/stackit-cli/internal/pkg/args"
Expand Down Expand Up @@ -51,4 +52,5 @@ func addSubcommands(cmd *cobra.Command, params *types.CmdParams) {
cmd.AddCommand(intake.NewCmd(params))
cmd.AddCommand(cdn.NewCmd(params))
cmd.AddCommand(vpn.NewCmd(params))
cmd.AddCommand(telemetrylink.NewCmd(params))
}
Loading
Loading