Skip to content

Commit ea56e48

Browse files
committed
feat(telemetrylink): onboard telemetry link commands
relates to STACKITCLI-383
1 parent 3a4f345 commit ea56e48

29 files changed

Lines changed: 2745 additions & 2 deletions

‎docs/stackit_beta.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ stackit beta [flags]
4747
* [stackit beta edge-cloud](./stackit_beta_edge-cloud.md) - Provides functionality for Edge Cloud services.
4848
* [stackit beta intake](./stackit_beta_intake.md) - Provides functionality for intake
4949
* [stackit beta sfs](./stackit_beta_sfs.md) - Provides functionality for SFS (STACKIT File Storage)
50+
* [stackit beta telemetrylink](./stackit_beta_telemetrylink.md) - Provides functionality for Telemetry Link
5051
* [stackit beta volume](./stackit_beta_volume.md) - Provides functionality for Volume
5152
* [stackit beta vpn](./stackit_beta_vpn.md) - Provides functionality for VPN
5253

‎docs/stackit_beta_telemetrylink.md‎

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
## stackit beta telemetrylink
2+
3+
Provides functionality for Telemetry Link
4+
5+
### Synopsis
6+
7+
Provides functionality for Telemetry Link.
8+
9+
```
10+
stackit beta telemetrylink [flags]
11+
```
12+
13+
### Options
14+
15+
```
16+
-h, --help Help for "stackit beta telemetrylink"
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](./stackit_beta.md) - Contains beta STACKIT CLI commands
33+
* [stackit beta telemetrylink create](./stackit_beta_telemetrylink_create.md) - Creates a Telemetry Link with the specified resource
34+
* [stackit beta telemetrylink delete](./stackit_beta_telemetrylink_delete.md) - Deletes the given Telemetry Link within the specified resource
35+
* [stackit beta telemetrylink describe](./stackit_beta_telemetrylink_describe.md) - Shows details of a Telemetry Link within the specified resource
36+
* [stackit beta telemetrylink update](./stackit_beta_telemetrylink_update.md) - Updates a Telemetry Link within the specified resource
37+
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
## stackit beta telemetrylink create
2+
3+
Creates a Telemetry Link with the specified resource
4+
5+
### Synopsis
6+
7+
Creates a Telemetry Link with the specified resource.
8+
9+
```
10+
stackit beta telemetrylink create [flags]
11+
```
12+
13+
### Examples
14+
15+
```
16+
Create a Telemetry Link with name "my-link" for project with ID "xxx" and for telemetry router with ID "yyy"
17+
$ stackit beta telemetrylink create --display-name my-link --resource-type project --resource-id xxx --telemetry-router-id yyy --access-token my-token
18+
19+
Create a Telemetry Link with name "my-link" for folder with ID "xxx" and for telemetry router with ID "yyy"
20+
$ stackit beta telemetrylink create --display-name my-link --resource-type folder --resource-id xxx --telemetry-router-id yyy --access-token my-token
21+
22+
Create a Telemetry Link with name "my-link" for organization with ID "xxx" and for telemetry router with ID "yyy"
23+
$ stackit beta telemetrylink create --display-name my-link --resource-type organization --resource-id xxx --telemetry-router-id yyy --access-token my-token
24+
25+
Create a Telemetry Link with name "my-link" for organization with ID "xxx" and for telemetry router with ID "yyy", and disable routing
26+
$ stackit beta telemetrylink create --display-name my-link --resource-type organization --resource-id xxx --telemetry-router-id yyy --enabled=false --access-token my-token
27+
```
28+
29+
### Options
30+
31+
```
32+
--access-token string The access token of the Telemetry Router instance
33+
--description string The description of the Telemetry Link resource
34+
--display-name string The displayed name of the Telemetry Link resource
35+
--enabled Enable routing through the link to a telemetry router (default true)
36+
-h, --help Help for "stackit beta telemetrylink create"
37+
--resource-id string STACKIT project ID, folder ID, or organization ID associated with the Telemetry Link resource
38+
--resource-type string The resource type of the TelemetryLink resource, possible values are [organization folder project]
39+
--telemetry-router-id string The ID of the telemetry-router to route the telemetry data
40+
```
41+
42+
### Options inherited from parent commands
43+
44+
```
45+
-y, --assume-yes If set, skips all confirmation prompts
46+
--async If set, runs the command asynchronously
47+
-o, --output-format string Output format, (one of: [json, pretty, none, yaml])
48+
-p, --project-id string Project ID
49+
--region string Target region for region-specific requests
50+
--verbosity string Verbosity of the CLI, (one of: [debug, info, warning, error]) (default "info")
51+
```
52+
53+
### SEE ALSO
54+
55+
* [stackit beta telemetrylink](./stackit_beta_telemetrylink.md) - Provides functionality for Telemetry Link
56+
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
## stackit beta telemetrylink delete
2+
3+
Deletes the given Telemetry Link within the specified resource
4+
5+
### Synopsis
6+
7+
Deletes the given Telemetry Link within the specified resource.
8+
9+
```
10+
stackit beta telemetrylink delete [flags]
11+
```
12+
13+
### Examples
14+
15+
```
16+
Delete the Telemetry Link for project with ID "xxx"
17+
$ stackit beta telemetrylink delete --resource-type project --resource-id xxx
18+
19+
Delete the Telemetry Link for folder with ID "xxx"
20+
$ stackit beta telemetrylink delete --resource-type folder --resource-id xxx
21+
22+
Delete the Telemetry Link for organization with ID "xxx"
23+
$ stackit beta telemetrylink delete --resource-type organization --resource-id xxx
24+
```
25+
26+
### Options
27+
28+
```
29+
-h, --help Help for "stackit beta telemetrylink delete"
30+
--resource-id string STACKIT project ID, folder ID, or organization ID associated with the Telemetry Link resource
31+
--resource-type string The resource type of the TelemetryLink resource, possible values are [organization folder project]
32+
```
33+
34+
### Options inherited from parent commands
35+
36+
```
37+
-y, --assume-yes If set, skips all confirmation prompts
38+
--async If set, runs the command asynchronously
39+
-o, --output-format string Output format, (one of: [json, pretty, none, yaml])
40+
-p, --project-id string Project ID
41+
--region string Target region for region-specific requests
42+
--verbosity string Verbosity of the CLI, (one of: [debug, info, warning, error]) (default "info")
43+
```
44+
45+
### SEE ALSO
46+
47+
* [stackit beta telemetrylink](./stackit_beta_telemetrylink.md) - Provides functionality for Telemetry Link
48+
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
## stackit beta telemetrylink describe
2+
3+
Shows details of a Telemetry Link within the specified resource
4+
5+
### Synopsis
6+
7+
Shows details of a Telemetry Link within the specified resource.
8+
9+
```
10+
stackit beta telemetrylink describe [flags]
11+
```
12+
13+
### Examples
14+
15+
```
16+
Get details of a Telemetry Link for project with ID "xxx"
17+
$ stackit beta telemetrylink describe --resource-type project --resource-id xxx
18+
19+
Get details of a Telemetry Link for folder with ID "xxx"
20+
$ stackit beta telemetrylink describe --resource-type folder --resource-id xxx
21+
22+
Get details of a Telemetry Link for organization with ID "xxx"
23+
$ stackit beta telemetrylink describe --resource-type organization --resource-id xxx
24+
25+
Get details of a Telemetry Link for organization with ID "xxx" in JSON format
26+
$ stackit beta telemetrylink describe --resource-type organization --resource-id xxx --output-format json
27+
```
28+
29+
### Options
30+
31+
```
32+
-h, --help Help for "stackit beta telemetrylink describe"
33+
--resource-id string STACKIT project ID, folder ID, or organization ID associated with the Telemetry Link resource
34+
--resource-type string The resource type of the TelemetryLink resource, possible values are [organization folder project]
35+
```
36+
37+
### Options inherited from parent commands
38+
39+
```
40+
-y, --assume-yes If set, skips all confirmation prompts
41+
--async If set, runs the command asynchronously
42+
-o, --output-format string Output format, (one of: [json, pretty, none, yaml])
43+
-p, --project-id string Project ID
44+
--region string Target region for region-specific requests
45+
--verbosity string Verbosity of the CLI, (one of: [debug, info, warning, error]) (default "info")
46+
```
47+
48+
### SEE ALSO
49+
50+
* [stackit beta telemetrylink](./stackit_beta_telemetrylink.md) - Provides functionality for Telemetry Link
51+
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
## stackit beta telemetrylink update
2+
3+
Updates a Telemetry Link within the specified resource
4+
5+
### Synopsis
6+
7+
Updates a Telemetry Link within the specified resource.
8+
9+
```
10+
stackit beta telemetrylink update [flags]
11+
```
12+
13+
### Examples
14+
15+
```
16+
Update a Telemetry Link with name "my-new-link" for project with ID "xxx"
17+
$ stackit beta telemetrylink update --display-name my-new-link --resource-type project --resource-id xxx
18+
19+
Update a Telemetry Link with new access token for folder with ID "xxx"
20+
$ stackit beta telemetrylink update --resource-type folder --resource-id xxx --access-token my-new-token
21+
22+
Update a Telemetry Link with new telemetry router ID "xxx" for organization with ID "yyy"
23+
$ stackit beta telemetrylink update --resource-type organization --resource-id yyy --telemetry-router-id xxx
24+
```
25+
26+
### Options
27+
28+
```
29+
--access-token string The access token of the Telemetry Router instance
30+
--description string The description of the Telemetry Link resource
31+
--display-name string The displayed name of the Telemetry Link resource
32+
--enabled Enable routing through the link to a telemetry router (default true)
33+
-h, --help Help for "stackit beta telemetrylink update"
34+
--resource-id string STACKIT project ID, folder ID, or organization ID associated with the Telemetry Link resource
35+
--resource-type string The resource type of the TelemetryLink resource, possible values are [organization folder project]
36+
--telemetry-router-id string The ID of the telemetry-router to route the telemetry data
37+
```
38+
39+
### Options inherited from parent commands
40+
41+
```
42+
-y, --assume-yes If set, skips all confirmation prompts
43+
--async If set, runs the command asynchronously
44+
-o, --output-format string Output format, (one of: [json, pretty, none, yaml])
45+
-p, --project-id string Project ID
46+
--region string Target region for region-specific requests
47+
--verbosity string Verbosity of the CLI, (one of: [debug, info, warning, error]) (default "info")
48+
```
49+
50+
### SEE ALSO
51+
52+
* [stackit beta telemetrylink](./stackit_beta_telemetrylink.md) - Provides functionality for Telemetry Link
53+

‎docs/stackit_config_set.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ stackit config set [flags]
6464
--sfs-custom-endpoint string SFS API base URL, used in calls to this API
6565
--ske-custom-endpoint string SKE API base URL, used in calls to this API
6666
--sqlserverflex-custom-endpoint string SQLServer Flex API base URL, used in calls to this API
67+
--telemetrylink-custom-endpoint string TelemetryLink API base URL, used in calls to this API
6768
--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.
6869
--vpn-custom-endpoint string VPN API base URL, used in calls to this API
6970
```

‎docs/stackit_config_unset.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ stackit config unset [flags]
6666
--sfs-custom-endpoint SFS API base URL. If unset, uses the default base URL
6767
--ske-custom-endpoint SKE API base URL. If unset, uses the default base URL
6868
--sqlserverflex-custom-endpoint SQLServer Flex API base URL. If unset, uses the default base URL
69+
--telemetrylink-custom-endpoint TelemetryLink API base URL. If unset, uses the default base URL
6970
--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.
7071
--verbosity Verbosity of the CLI
7172
--vpn-custom-endpoint VPN API base URL. If unset, uses the default base URL

‎go.mod‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ require (
3939
github.com/stackitcloud/stackit-sdk-go/services/serviceenablement v1.7.2
4040
github.com/stackitcloud/stackit-sdk-go/services/ske v1.21.2
4141
github.com/stackitcloud/stackit-sdk-go/services/sqlserverflex v1.18.1
42+
github.com/stackitcloud/stackit-sdk-go/services/telemetrylink v0.6.0
4243
github.com/stackitcloud/stackit-sdk-go/services/valkey v0.3.1
4344
github.com/stackitcloud/stackit-sdk-go/services/vpn v0.15.2
4445
github.com/zalando/go-keyring v0.2.8

‎go.sum‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -674,6 +674,8 @@ github.com/stackitcloud/stackit-sdk-go/services/ske v1.21.2 h1:4ApmRQGkcf/G/h1s1
674674
github.com/stackitcloud/stackit-sdk-go/services/ske v1.21.2/go.mod h1:YYwFQNYrYUpa4FeT/6pxky8vp7E7pPy2F6+Ptf469hg=
675675
github.com/stackitcloud/stackit-sdk-go/services/sqlserverflex v1.18.1 h1:EU8vhBTmlqvQGPEeakXrzjpCsYHVaD3XU3sJO9Glj38=
676676
github.com/stackitcloud/stackit-sdk-go/services/sqlserverflex v1.18.1/go.mod h1:T1xYY3XabHJW6HppYk486ECBRswNwB3tRFM/ZOfQft0=
677+
github.com/stackitcloud/stackit-sdk-go/services/telemetrylink v0.6.0 h1:glsamuWGVTwzBk3yoWYmq8gDcDkJncepHRn/tDwSwjA=
678+
github.com/stackitcloud/stackit-sdk-go/services/telemetrylink v0.6.0/go.mod h1:JyuStufMDibWblEo4wPOrh3B02aMgIUEhDF7YK5WGas=
677679
github.com/stackitcloud/stackit-sdk-go/services/valkey v0.3.1 h1:zAdxoRrUB5sIz73xAyXXQlZZ46Yc1p3rW1PerOLHNOk=
678680
github.com/stackitcloud/stackit-sdk-go/services/valkey v0.3.1/go.mod h1:8znHnd2b6rdEHSmW/36LQa4dMMaLuN8dwo3tD6arEic=
679681
github.com/stackitcloud/stackit-sdk-go/services/vpn v0.15.2 h1:82VZJaJPwcBKSj8WV8v0ujBvbkbMxFXIvvv0wU+0Be0=

0 commit comments

Comments
 (0)