Skip to content

Commit 7dfcd88

Browse files
Add v1alpha1.productactivation (#2374)
* add app/k8s o11y resources * fmt * docs gen * catalog resource update
1 parent 4010218 commit 7dfcd88

File tree

10 files changed

+810
-0
lines changed

10 files changed

+810
-0
lines changed
Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
---
2+
# generated by https://github.com/hashicorp/terraform-plugin-docs
3+
page_title: "grafana_apps_productactivation_appo11yconfig_v1alpha1 Resource - terraform-provider-grafana"
4+
subcategory: "Cloud"
5+
description: |-
6+
Manages Grafana Application Observability configurations using the Grafana APIs.
7+
This resource allows you to enable or disable application observability features.
8+
Note: This is a singleton resource. The UID is automatically set to "global" and there can only be one per namespace.
9+
---
10+
11+
# grafana_apps_productactivation_appo11yconfig_v1alpha1 (Resource)
12+
13+
Manages Grafana Application Observability configurations using the Grafana APIs.
14+
15+
This resource allows you to enable or disable application observability features.
16+
17+
**Note**: This is a singleton resource. The UID is automatically set to "global" and there can only be one per namespace.
18+
19+
## Example Usage
20+
21+
```terraform
22+
resource "grafana_apps_productactivation_appo11yconfig_v1alpha1" "example" {
23+
metadata {
24+
uid = "global"
25+
}
26+
27+
spec {
28+
enabled = true
29+
}
30+
}
31+
```
32+
33+
<!-- schema generated by tfplugindocs -->
34+
## Schema
35+
36+
### Optional
37+
38+
- `metadata` (Block, Optional) The metadata of the resource. (see [below for nested schema](#nestedblock--metadata))
39+
- `options` (Block, Optional) Options for applying the resource. (see [below for nested schema](#nestedblock--options))
40+
- `spec` (Block, Optional) The spec of the resource. (see [below for nested schema](#nestedblock--spec))
41+
42+
### Read-Only
43+
44+
- `id` (String) The ID of the resource derived from UUID.
45+
46+
<a id="nestedblock--metadata"></a>
47+
### Nested Schema for `metadata`
48+
49+
Required:
50+
51+
- `uid` (String) The unique identifier of the resource.
52+
53+
Optional:
54+
55+
- `folder_uid` (String) The UID of the folder to save the resource in.
56+
57+
Read-Only:
58+
59+
- `annotations` (Map of String) Annotations of the resource.
60+
- `url` (String) The full URL of the resource.
61+
- `uuid` (String) The globally unique identifier of a resource, used by the API for tracking.
62+
- `version` (String) The version of the resource.
63+
64+
65+
<a id="nestedblock--options"></a>
66+
### Nested Schema for `options`
67+
68+
Optional:
69+
70+
- `overwrite` (Boolean) Set to true if you want to overwrite existing resource with newer version, same resource title in folder or same resource uid.
71+
72+
73+
<a id="nestedblock--spec"></a>
74+
### Nested Schema for `spec`
75+
76+
Required:
77+
78+
- `enabled` (Boolean) Whether application observability is enabled.
79+
80+
## Import
81+
82+
Import is supported using the following syntax:
83+
84+
```shell
85+
#!/bin/bash
86+
# Import an existing app observability config by its UID
87+
terraform import grafana_apps_productactivation_appo11yconfig_v1alpha1.example my-app-o11y-config
88+
```
Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
---
2+
# generated by https://github.com/hashicorp/terraform-plugin-docs
3+
page_title: "grafana_apps_productactivation_k8so11yconfig_v1alpha1 Resource - terraform-provider-grafana"
4+
subcategory: "Cloud"
5+
description: |-
6+
Manages Grafana Kubernetes Observability configurations using the Grafana APIs.
7+
This resource allows you to enable or disable Kubernetes observability features.
8+
Note: This is a singleton resource. The UID is automatically set to "global" and there can only be one per namespace.
9+
---
10+
11+
# grafana_apps_productactivation_k8so11yconfig_v1alpha1 (Resource)
12+
13+
Manages Grafana Kubernetes Observability configurations using the Grafana APIs.
14+
15+
This resource allows you to enable or disable Kubernetes observability features.
16+
17+
**Note**: This is a singleton resource. The UID is automatically set to "global" and there can only be one per namespace.
18+
19+
## Example Usage
20+
21+
```terraform
22+
resource "grafana_apps_productactivation_k8so11yconfig_v1alpha1" "example" {
23+
metadata {
24+
uid = "global"
25+
}
26+
27+
spec {
28+
enabled = true
29+
}
30+
}
31+
```
32+
33+
<!-- schema generated by tfplugindocs -->
34+
## Schema
35+
36+
### Optional
37+
38+
- `metadata` (Block, Optional) The metadata of the resource. (see [below for nested schema](#nestedblock--metadata))
39+
- `options` (Block, Optional) Options for applying the resource. (see [below for nested schema](#nestedblock--options))
40+
- `spec` (Block, Optional) The spec of the resource. (see [below for nested schema](#nestedblock--spec))
41+
42+
### Read-Only
43+
44+
- `id` (String) The ID of the resource derived from UUID.
45+
46+
<a id="nestedblock--metadata"></a>
47+
### Nested Schema for `metadata`
48+
49+
Required:
50+
51+
- `uid` (String) The unique identifier of the resource.
52+
53+
Optional:
54+
55+
- `folder_uid` (String) The UID of the folder to save the resource in.
56+
57+
Read-Only:
58+
59+
- `annotations` (Map of String) Annotations of the resource.
60+
- `url` (String) The full URL of the resource.
61+
- `uuid` (String) The globally unique identifier of a resource, used by the API for tracking.
62+
- `version` (String) The version of the resource.
63+
64+
65+
<a id="nestedblock--options"></a>
66+
### Nested Schema for `options`
67+
68+
Optional:
69+
70+
- `overwrite` (Boolean) Set to true if you want to overwrite existing resource with newer version, same resource title in folder or same resource uid.
71+
72+
73+
<a id="nestedblock--spec"></a>
74+
### Nested Schema for `spec`
75+
76+
Required:
77+
78+
- `enabled` (Boolean) Whether Kubernetes observability is enabled.
79+
80+
## Import
81+
82+
Import is supported using the following syntax:
83+
84+
```shell
85+
#!/bin/bash
86+
# Import an existing Kubernetes observability config by its UID
87+
terraform import grafana_apps_productactivation_k8so11yconfig_v1alpha1.example my-k8s-o11y-config
88+
```
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/bash
2+
# Import an existing app observability config by its UID
3+
terraform import grafana_apps_productactivation_appo11yconfig_v1alpha1.example my-app-o11y-config
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
resource "grafana_apps_productactivation_appo11yconfig_v1alpha1" "example" {
2+
metadata {
3+
uid = "global"
4+
}
5+
6+
spec {
7+
enabled = true
8+
}
9+
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/bash
2+
# Import an existing Kubernetes observability config by its UID
3+
terraform import grafana_apps_productactivation_k8so11yconfig_v1alpha1.example my-k8s-o11y-config
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
resource "grafana_apps_productactivation_k8so11yconfig_v1alpha1" "example" {
2+
metadata {
3+
uid = "global"
4+
}
5+
6+
spec {
7+
enabled = true
8+
}
9+
}

0 commit comments

Comments
 (0)