@pulumiverse/grafana 2.27.0 → 2.28.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/alerting/alertRuleV0Alpha1.d.ts +3 -1
- package/alerting/alertRuleV0Alpha1.js +3 -1
- package/alerting/alertRuleV0Alpha1.js.map +1 -1
- package/alerting/v0alpha1/alertRule.d.ts +3 -1
- package/alerting/v0alpha1/alertRule.js +3 -1
- package/alerting/v0alpha1/alertRule.js.map +1 -1
- package/apps/v0alpha1/provisioningConnection.d.ts +0 -29
- package/apps/v0alpha1/provisioningConnection.js +0 -29
- package/apps/v0alpha1/provisioningConnection.js.map +1 -1
- package/apps/v0alpha1/provisioningRepository.d.ts +0 -58
- package/apps/v0alpha1/provisioningRepository.js +0 -58
- package/apps/v0alpha1/provisioningRepository.js.map +1 -1
- package/enterprise/getRole.d.ts +3 -3
- package/enterprise/getRole.js +0 -2
- package/enterprise/getRole.js.map +1 -1
- package/enterprise/role.d.ts +19 -8
- package/enterprise/role.js +0 -1
- package/enterprise/role.js.map +1 -1
- package/package.json +2 -2
- package/types/input.d.ts +120 -4
- package/types/output.d.ts +120 -4
|
@@ -93,7 +93,9 @@ import * as outputs from "../types/output";
|
|
|
93
93
|
* execErrState: "KeepLast",
|
|
94
94
|
* missingSeriesEvalsToResolve: 5,
|
|
95
95
|
* notificationSettings: {
|
|
96
|
-
*
|
|
96
|
+
* simplifiedRouting: {
|
|
97
|
+
* contactPoint: "grafana-default-email",
|
|
98
|
+
* },
|
|
97
99
|
* },
|
|
98
100
|
* panelRef: {
|
|
99
101
|
* dashboard_uid: "dashboard123",
|
|
@@ -97,7 +97,9 @@ const utilities = require("../utilities");
|
|
|
97
97
|
* execErrState: "KeepLast",
|
|
98
98
|
* missingSeriesEvalsToResolve: 5,
|
|
99
99
|
* notificationSettings: {
|
|
100
|
-
*
|
|
100
|
+
* simplifiedRouting: {
|
|
101
|
+
* contactPoint: "grafana-default-email",
|
|
102
|
+
* },
|
|
101
103
|
* },
|
|
102
104
|
* panelRef: {
|
|
103
105
|
* dashboard_uid: "dashboard123",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alertRuleV0Alpha1.js","sourceRoot":"","sources":["../../alerting/alertRuleV0Alpha1.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"alertRuleV0Alpha1.js","sourceRoot":"","sources":["../../alerting/alertRuleV0Alpha1.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyGG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA8B,EAAE,IAAmC;QAC5H,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,qKAAqK,CAAC,CAAA;QACtL,OAAO,IAAI,iBAAiB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACxE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,iBAAiB,CAAC,YAAY,CAAC;IAClE,CAAC;IAwBD,qJAAqJ;IACrJ,YAAY,IAAY,EAAE,WAA4D,EAAE,IAAmC;QACvH,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,qKAAqK,CAAC,CAAA;QACtL,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAiD,CAAC;YAChE,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,EAAE,QAAQ,CAAC;YAC7C,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,EAAE,OAAO,CAAC;YAC3C,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,EAAE,IAAI,CAAC;SACxC;aAAM;YACH,MAAM,IAAI,GAAG,WAAgD,CAAC;YAC9D,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;SACvC;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,SAAS,GAAG,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,sDAAsD,EAAE,CAAC,EAAE,CAAC;QAClG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;QAC5C,KAAK,CAAC,iBAAiB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACtE,CAAC;;AAvEL,8CAwEC;AAzDG,gBAAgB;AACO,8BAAY,GAAG,sDAAsD,CAAC"}
|
|
@@ -93,7 +93,9 @@ import * as outputs from "../../types/output";
|
|
|
93
93
|
* execErrState: "KeepLast",
|
|
94
94
|
* missingSeriesEvalsToResolve: 5,
|
|
95
95
|
* notificationSettings: {
|
|
96
|
-
*
|
|
96
|
+
* simplifiedRouting: {
|
|
97
|
+
* contactPoint: "grafana-default-email",
|
|
98
|
+
* },
|
|
97
99
|
* },
|
|
98
100
|
* panelRef: {
|
|
99
101
|
* dashboard_uid: "dashboard123",
|
|
@@ -97,7 +97,9 @@ const utilities = require("../../utilities");
|
|
|
97
97
|
* execErrState: "KeepLast",
|
|
98
98
|
* missingSeriesEvalsToResolve: 5,
|
|
99
99
|
* notificationSettings: {
|
|
100
|
-
*
|
|
100
|
+
* simplifiedRouting: {
|
|
101
|
+
* contactPoint: "grafana-default-email",
|
|
102
|
+
* },
|
|
101
103
|
* },
|
|
102
104
|
* panelRef: {
|
|
103
105
|
* dashboard_uid: "dashboard123",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alertRule.js","sourceRoot":"","sources":["../../../alerting/v0alpha1/alertRule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,6CAA6C;AAE7C
|
|
1
|
+
{"version":3,"file":"alertRule.js","sourceRoot":"","sources":["../../../alerting/v0alpha1/alertRule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,6CAA6C;AAE7C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuGG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAChD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsB,EAAE,IAAmC;QACpH,OAAO,IAAI,SAAS,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAChE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,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
5
5
|
* Manages Grafana Git Sync connections used by repositories for provider authentication.
|
|
6
|
-
*
|
|
7
|
-
* ## Example Usage
|
|
8
|
-
*
|
|
9
|
-
* ```typescript
|
|
10
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
-
* import * as grafana from "@pulumiverse/grafana";
|
|
12
|
-
*
|
|
13
|
-
* const example = new grafana.apps.v0alpha1.ProvisioningConnection("example", {
|
|
14
|
-
* metadata: {
|
|
15
|
-
* uid: "my-github-connection",
|
|
16
|
-
* },
|
|
17
|
-
* spec: {
|
|
18
|
-
* title: "My GitHub App Connection",
|
|
19
|
-
* description: "GitHub App connection used by a folder-scoped Git Sync repository",
|
|
20
|
-
* type: "github",
|
|
21
|
-
* url: "https://github.com",
|
|
22
|
-
* github: {
|
|
23
|
-
* appId: "12345",
|
|
24
|
-
* installationId: "67890",
|
|
25
|
-
* },
|
|
26
|
-
* },
|
|
27
|
-
* secure: {
|
|
28
|
-
* privateKey: {
|
|
29
|
-
* create: "replace-me",
|
|
30
|
-
* },
|
|
31
|
-
* },
|
|
32
|
-
* secureVersion: 1,
|
|
33
|
-
* });
|
|
34
|
-
* ```
|
|
35
6
|
*/
|
|
36
7
|
export declare class ProvisioningConnection extends pulumi.CustomResource {
|
|
37
8
|
/**
|
|
@@ -7,35 +7,6 @@ const pulumi = require("@pulumi/pulumi");
|
|
|
7
7
|
const utilities = require("../../utilities");
|
|
8
8
|
/**
|
|
9
9
|
* Manages Grafana Git Sync connections used by repositories for provider authentication.
|
|
10
|
-
*
|
|
11
|
-
* ## Example Usage
|
|
12
|
-
*
|
|
13
|
-
* ```typescript
|
|
14
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
-
* import * as grafana from "@pulumiverse/grafana";
|
|
16
|
-
*
|
|
17
|
-
* const example = new grafana.apps.v0alpha1.ProvisioningConnection("example", {
|
|
18
|
-
* metadata: {
|
|
19
|
-
* uid: "my-github-connection",
|
|
20
|
-
* },
|
|
21
|
-
* spec: {
|
|
22
|
-
* title: "My GitHub App Connection",
|
|
23
|
-
* description: "GitHub App connection used by a folder-scoped Git Sync repository",
|
|
24
|
-
* type: "github",
|
|
25
|
-
* url: "https://github.com",
|
|
26
|
-
* github: {
|
|
27
|
-
* appId: "12345",
|
|
28
|
-
* installationId: "67890",
|
|
29
|
-
* },
|
|
30
|
-
* },
|
|
31
|
-
* secure: {
|
|
32
|
-
* privateKey: {
|
|
33
|
-
* create: "replace-me",
|
|
34
|
-
* },
|
|
35
|
-
* },
|
|
36
|
-
* secureVersion: 1,
|
|
37
|
-
* });
|
|
38
|
-
* ```
|
|
39
10
|
*/
|
|
40
11
|
class ProvisioningConnection extends pulumi.CustomResource {
|
|
41
12
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provisioningConnection.js","sourceRoot":"","sources":["../../../apps/v0alpha1/provisioningConnection.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,6CAA6C;AAE7C
|
|
1
|
+
{"version":3,"file":"provisioningConnection.js","sourceRoot":"","sources":["../../../apps/v0alpha1/provisioningConnection.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,6CAA6C;AAE7C;;GAEG;AACH,MAAa,sBAAuB,SAAQ,MAAM,CAAC,cAAc;IAC7D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmC,EAAE,IAAmC;QACjI,OAAO,IAAI,sBAAsB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC7E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CA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
44
|
* });
|
|
45
45
|
* ```
|
|
46
46
|
*
|
|
47
|
-
* ### GitHub Repository via GitHub App Connection
|
|
48
|
-
*
|
|
49
|
-
* ```typescript
|
|
50
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
51
|
-
* import * as grafana from "@pulumiverse/grafana";
|
|
52
|
-
*
|
|
53
|
-
* const githubApp = new grafana.apps.v0alpha1.ProvisioningConnection("github_app", {
|
|
54
|
-
* metadata: {
|
|
55
|
-
* uid: "my-github-app-connection",
|
|
56
|
-
* },
|
|
57
|
-
* spec: {
|
|
58
|
-
* title: "My GitHub App Connection",
|
|
59
|
-
* description: "GitHub App connection used by a folder-scoped Git Sync repository",
|
|
60
|
-
* type: "github",
|
|
61
|
-
* url: "https://github.com",
|
|
62
|
-
* github: {
|
|
63
|
-
* appId: "12345",
|
|
64
|
-
* installationId: "67890",
|
|
65
|
-
* },
|
|
66
|
-
* },
|
|
67
|
-
* secure: {
|
|
68
|
-
* privateKey: {
|
|
69
|
-
* create: "replace-me",
|
|
70
|
-
* },
|
|
71
|
-
* },
|
|
72
|
-
* secureVersion: 1,
|
|
73
|
-
* });
|
|
74
|
-
* const githubAppProvisioningRepository = new grafana.apps.v0alpha1.ProvisioningRepository("github_app", {
|
|
75
|
-
* metadata: {
|
|
76
|
-
* uid: "my-github-app-folder-repo",
|
|
77
|
-
* },
|
|
78
|
-
* spec: {
|
|
79
|
-
* title: "My GitHub App Folder Repository",
|
|
80
|
-
* description: "Folder-scoped GitHub repository authenticated via a referenced GitHub App connection",
|
|
81
|
-
* type: "github",
|
|
82
|
-
* workflows: [
|
|
83
|
-
* "write",
|
|
84
|
-
* "branch",
|
|
85
|
-
* ],
|
|
86
|
-
* sync: {
|
|
87
|
-
* enabled: true,
|
|
88
|
-
* target: "folder",
|
|
89
|
-
* intervalSeconds: 60,
|
|
90
|
-
* },
|
|
91
|
-
* github: {
|
|
92
|
-
* url: "https://github.com/example/grafana-dashboards",
|
|
93
|
-
* branch: "main",
|
|
94
|
-
* path: "grafanatftest",
|
|
95
|
-
* },
|
|
96
|
-
* connection: {
|
|
97
|
-
* name: githubApp.metadata.apply(metadata => metadata?.uid),
|
|
98
|
-
* },
|
|
99
|
-
* },
|
|
100
|
-
* }, {
|
|
101
|
-
* dependsOn: [githubApp],
|
|
102
|
-
* });
|
|
103
|
-
* ```
|
|
104
|
-
*
|
|
105
47
|
* ### Bitbucket Repository with Token Authentication - Enterprise/Cloud only
|
|
106
48
|
*
|
|
107
49
|
* ```typescript
|
|
@@ -48,64 +48,6 @@ const utilities = require("../../utilities");
|
|
|
48
48
|
* });
|
|
49
49
|
* ```
|
|
50
50
|
*
|
|
51
|
-
* ### GitHub Repository via GitHub App Connection
|
|
52
|
-
*
|
|
53
|
-
* ```typescript
|
|
54
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
55
|
-
* import * as grafana from "@pulumiverse/grafana";
|
|
56
|
-
*
|
|
57
|
-
* const githubApp = new grafana.apps.v0alpha1.ProvisioningConnection("github_app", {
|
|
58
|
-
* metadata: {
|
|
59
|
-
* uid: "my-github-app-connection",
|
|
60
|
-
* },
|
|
61
|
-
* spec: {
|
|
62
|
-
* title: "My GitHub App Connection",
|
|
63
|
-
* description: "GitHub App connection used by a folder-scoped Git Sync repository",
|
|
64
|
-
* type: "github",
|
|
65
|
-
* url: "https://github.com",
|
|
66
|
-
* github: {
|
|
67
|
-
* appId: "12345",
|
|
68
|
-
* installationId: "67890",
|
|
69
|
-
* },
|
|
70
|
-
* },
|
|
71
|
-
* secure: {
|
|
72
|
-
* privateKey: {
|
|
73
|
-
* create: "replace-me",
|
|
74
|
-
* },
|
|
75
|
-
* },
|
|
76
|
-
* secureVersion: 1,
|
|
77
|
-
* });
|
|
78
|
-
* const githubAppProvisioningRepository = new grafana.apps.v0alpha1.ProvisioningRepository("github_app", {
|
|
79
|
-
* metadata: {
|
|
80
|
-
* uid: "my-github-app-folder-repo",
|
|
81
|
-
* },
|
|
82
|
-
* spec: {
|
|
83
|
-
* title: "My GitHub App Folder Repository",
|
|
84
|
-
* description: "Folder-scoped GitHub repository authenticated via a referenced GitHub App connection",
|
|
85
|
-
* type: "github",
|
|
86
|
-
* workflows: [
|
|
87
|
-
* "write",
|
|
88
|
-
* "branch",
|
|
89
|
-
* ],
|
|
90
|
-
* sync: {
|
|
91
|
-
* enabled: true,
|
|
92
|
-
* target: "folder",
|
|
93
|
-
* intervalSeconds: 60,
|
|
94
|
-
* },
|
|
95
|
-
* github: {
|
|
96
|
-
* url: "https://github.com/example/grafana-dashboards",
|
|
97
|
-
* branch: "main",
|
|
98
|
-
* path: "grafanatftest",
|
|
99
|
-
* },
|
|
100
|
-
* connection: {
|
|
101
|
-
* name: githubApp.metadata.apply(metadata => metadata?.uid),
|
|
102
|
-
* },
|
|
103
|
-
* },
|
|
104
|
-
* }, {
|
|
105
|
-
* dependsOn: [githubApp],
|
|
106
|
-
* });
|
|
107
|
-
* ```
|
|
108
|
-
*
|
|
109
51
|
* ### Bitbucket Repository with Token Authentication - Enterprise/Cloud only
|
|
110
52
|
*
|
|
111
53
|
* ```typescript
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provisioningRepository.js","sourceRoot":"","sources":["../../../apps/v0alpha1/provisioningRepository.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,6CAA6C;AAE7C
|
|
1
|
+
{"version":3,"file":"provisioningRepository.js","sourceRoot":"","sources":["../../../apps/v0alpha1/provisioningRepository.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,6CAA6C;AAE7C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,MAAM,CAAC;YACxC,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,EAAE,aAAa,CAAC;YACtD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;SACvC;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,sBAAsB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3E,CAAC;;AA7EL,wDA8EC;AAhEG,gBAAgB;AACO,mCAAY,GAAG,qEAAqE,CAAC"}
|
package/enterprise/getRole.d.ts
CHANGED
|
@@ -16,7 +16,6 @@ import * as outputs from "../types/output";
|
|
|
16
16
|
* name: "test-role",
|
|
17
17
|
* description: "test-role description",
|
|
18
18
|
* uid: "test-ds-role-uid",
|
|
19
|
-
* version: 1,
|
|
20
19
|
* global: true,
|
|
21
20
|
* hidden: false,
|
|
22
21
|
* permissions: [
|
|
@@ -94,7 +93,9 @@ export interface GetRoleResult {
|
|
|
94
93
|
*/
|
|
95
94
|
readonly uid: string;
|
|
96
95
|
/**
|
|
97
|
-
* Version of the role.
|
|
96
|
+
* Version of the role. The server manages this automatically.
|
|
97
|
+
*
|
|
98
|
+
* @deprecated This attribute is ignored. The server manages role versions automatically.
|
|
98
99
|
*/
|
|
99
100
|
readonly version: number;
|
|
100
101
|
}
|
|
@@ -114,7 +115,6 @@ export interface GetRoleResult {
|
|
|
114
115
|
* name: "test-role",
|
|
115
116
|
* description: "test-role description",
|
|
116
117
|
* uid: "test-ds-role-uid",
|
|
117
|
-
* version: 1,
|
|
118
118
|
* global: true,
|
|
119
119
|
* hidden: false,
|
|
120
120
|
* permissions: [
|
package/enterprise/getRole.js
CHANGED
|
@@ -21,7 +21,6 @@ const utilities = require("../utilities");
|
|
|
21
21
|
* name: "test-role",
|
|
22
22
|
* description: "test-role description",
|
|
23
23
|
* uid: "test-ds-role-uid",
|
|
24
|
-
* version: 1,
|
|
25
24
|
* global: true,
|
|
26
25
|
* hidden: false,
|
|
27
26
|
* permissions: [
|
|
@@ -67,7 +66,6 @@ exports.getRole = getRole;
|
|
|
67
66
|
* name: "test-role",
|
|
68
67
|
* description: "test-role description",
|
|
69
68
|
* uid: "test-ds-role-uid",
|
|
70
|
-
* version: 1,
|
|
71
69
|
* global: true,
|
|
72
70
|
* hidden: false,
|
|
73
71
|
* permissions: [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getRole.js","sourceRoot":"","sources":["../../enterprise/getRole.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"getRole.js","sourceRoot":"","sources":["../../enterprise/getRole.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,SAAgB,OAAO,CAAC,IAAiB,EAAE,IAA2B;IAClE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oCAAoC,EAAE;QAC/D,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,0BAKC;AA+DD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAAiC;IACpF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,oCAAoC,EAAE;QACrE,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,sCAKC"}
|
package/enterprise/role.d.ts
CHANGED
|
@@ -17,7 +17,6 @@ import * as outputs from "../types/output";
|
|
|
17
17
|
* name: "Super User",
|
|
18
18
|
* description: "My Super User description",
|
|
19
19
|
* uid: "superuseruid",
|
|
20
|
-
* version: 1,
|
|
21
20
|
* global: true,
|
|
22
21
|
* permissions: [
|
|
23
22
|
* {
|
|
@@ -60,7 +59,9 @@ export declare class Role extends pulumi.CustomResource {
|
|
|
60
59
|
*/
|
|
61
60
|
static isInstance(obj: any): obj is Role;
|
|
62
61
|
/**
|
|
63
|
-
* Whether the role version should be incremented automatically on updates (and set to 1 on creation).
|
|
62
|
+
* Whether the role version should be incremented automatically on updates (and set to 1 on creation).
|
|
63
|
+
*
|
|
64
|
+
* @deprecated This attribute is ignored. The server manages role versions automatically.
|
|
64
65
|
*/
|
|
65
66
|
readonly autoIncrementVersion: pulumi.Output<boolean | undefined>;
|
|
66
67
|
/**
|
|
@@ -100,9 +101,11 @@ export declare class Role extends pulumi.CustomResource {
|
|
|
100
101
|
*/
|
|
101
102
|
readonly uid: pulumi.Output<string>;
|
|
102
103
|
/**
|
|
103
|
-
* Version of the role.
|
|
104
|
+
* Version of the role. The server manages this automatically.
|
|
105
|
+
*
|
|
106
|
+
* @deprecated This attribute is ignored. The server manages role versions automatically.
|
|
104
107
|
*/
|
|
105
|
-
readonly version: pulumi.Output<number
|
|
108
|
+
readonly version: pulumi.Output<number>;
|
|
106
109
|
/**
|
|
107
110
|
* Create a Role resource with the given unique name, arguments, and options.
|
|
108
111
|
*
|
|
@@ -117,7 +120,9 @@ export declare class Role extends pulumi.CustomResource {
|
|
|
117
120
|
*/
|
|
118
121
|
export interface RoleState {
|
|
119
122
|
/**
|
|
120
|
-
* Whether the role version should be incremented automatically on updates (and set to 1 on creation).
|
|
123
|
+
* Whether the role version should be incremented automatically on updates (and set to 1 on creation).
|
|
124
|
+
*
|
|
125
|
+
* @deprecated This attribute is ignored. The server manages role versions automatically.
|
|
121
126
|
*/
|
|
122
127
|
autoIncrementVersion?: pulumi.Input<boolean>;
|
|
123
128
|
/**
|
|
@@ -157,7 +162,9 @@ export interface RoleState {
|
|
|
157
162
|
*/
|
|
158
163
|
uid?: pulumi.Input<string>;
|
|
159
164
|
/**
|
|
160
|
-
* Version of the role.
|
|
165
|
+
* Version of the role. The server manages this automatically.
|
|
166
|
+
*
|
|
167
|
+
* @deprecated This attribute is ignored. The server manages role versions automatically.
|
|
161
168
|
*/
|
|
162
169
|
version?: pulumi.Input<number>;
|
|
163
170
|
}
|
|
@@ -166,7 +173,9 @@ export interface RoleState {
|
|
|
166
173
|
*/
|
|
167
174
|
export interface RoleArgs {
|
|
168
175
|
/**
|
|
169
|
-
* Whether the role version should be incremented automatically on updates (and set to 1 on creation).
|
|
176
|
+
* Whether the role version should be incremented automatically on updates (and set to 1 on creation).
|
|
177
|
+
*
|
|
178
|
+
* @deprecated This attribute is ignored. The server manages role versions automatically.
|
|
170
179
|
*/
|
|
171
180
|
autoIncrementVersion?: pulumi.Input<boolean>;
|
|
172
181
|
/**
|
|
@@ -206,7 +215,9 @@ export interface RoleArgs {
|
|
|
206
215
|
*/
|
|
207
216
|
uid?: pulumi.Input<string>;
|
|
208
217
|
/**
|
|
209
|
-
* Version of the role.
|
|
218
|
+
* Version of the role. The server manages this automatically.
|
|
219
|
+
*
|
|
220
|
+
* @deprecated This attribute is ignored. The server manages role versions automatically.
|
|
210
221
|
*/
|
|
211
222
|
version?: pulumi.Input<number>;
|
|
212
223
|
}
|
package/enterprise/role.js
CHANGED
package/enterprise/role.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"role.js","sourceRoot":"","sources":["../../enterprise/role.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"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M,CAAC,YAAY,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;QAC5C,KAAK,CAAC,IAAI,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzD,CAAC;;AAvHL,oBAwHC;AA1GG,gBAAgB;AACO,iBAAY,GAAG,8BAA8B,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumiverse/grafana",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.28.0",
|
|
4
4
|
"description": "A Pulumi package for creating and managing grafana.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"pulumi": {
|
|
25
25
|
"resource": true,
|
|
26
26
|
"name": "grafana",
|
|
27
|
-
"version": "2.
|
|
27
|
+
"version": "2.28.0",
|
|
28
28
|
"server": "github://api.github.com/pulumiverse"
|
|
29
29
|
}
|
|
30
30
|
}
|
package/types/input.d.ts
CHANGED
|
@@ -585,7 +585,7 @@ export declare namespace alerting {
|
|
|
585
585
|
*/
|
|
586
586
|
noDataState: pulumi.Input<string>;
|
|
587
587
|
/**
|
|
588
|
-
* Notification settings for the rule. If specified, it overrides the notification policies.
|
|
588
|
+
* Notification settings for the rule. If specified, it overrides the notification policies. The flat configuration is deprecated, please specify one of named*routing*tree or simplified*routing
|
|
589
589
|
*/
|
|
590
590
|
notificationSettings?: pulumi.Input<inputs.alerting.AlertRuleV0Alpha1SpecNotificationSettings>;
|
|
591
591
|
/**
|
|
@@ -608,6 +608,64 @@ export declare namespace alerting {
|
|
|
608
608
|
trigger?: pulumi.Input<inputs.alerting.AlertRuleV0Alpha1SpecTrigger>;
|
|
609
609
|
}
|
|
610
610
|
interface AlertRuleV0Alpha1SpecNotificationSettings {
|
|
611
|
+
/**
|
|
612
|
+
* Deprecated. A list of time interval names to apply to alerts that match this policy.
|
|
613
|
+
*
|
|
614
|
+
* @deprecated Use `simplified_routing.active_timings` instead.
|
|
615
|
+
*/
|
|
616
|
+
activeTimings?: pulumi.Input<pulumi.Input<string>[]>;
|
|
617
|
+
/**
|
|
618
|
+
* Deprecated. The contact point to route notifications that match this rule to.
|
|
619
|
+
*
|
|
620
|
+
* @deprecated Use `simplified_routing.contact_point` instead.
|
|
621
|
+
*/
|
|
622
|
+
contactPoint?: pulumi.Input<string>;
|
|
623
|
+
/**
|
|
624
|
+
* Deprecated. A list of alert labels to group alerts into notifications by.
|
|
625
|
+
*
|
|
626
|
+
* @deprecated Use `simplified_routing.group_by` instead.
|
|
627
|
+
*/
|
|
628
|
+
groupBies?: pulumi.Input<pulumi.Input<string>[]>;
|
|
629
|
+
/**
|
|
630
|
+
* Deprecated. Minimum time interval between two notifications for the same group.
|
|
631
|
+
*
|
|
632
|
+
* @deprecated Use `simplified_routing.group_interval` instead.
|
|
633
|
+
*/
|
|
634
|
+
groupInterval?: pulumi.Input<string>;
|
|
635
|
+
/**
|
|
636
|
+
* Deprecated. Time to wait to buffer alerts of the same group before sending a notification.
|
|
637
|
+
*
|
|
638
|
+
* @deprecated Use `simplified_routing.group_wait` instead.
|
|
639
|
+
*/
|
|
640
|
+
groupWait?: pulumi.Input<string>;
|
|
641
|
+
/**
|
|
642
|
+
* Deprecated. A list of mute timing names to apply to alerts that match this policy.
|
|
643
|
+
*
|
|
644
|
+
* @deprecated Use `simplified_routing.mute_timings` instead.
|
|
645
|
+
*/
|
|
646
|
+
muteTimings?: pulumi.Input<pulumi.Input<string>[]>;
|
|
647
|
+
/**
|
|
648
|
+
* Route notifications to a specific routing tree.
|
|
649
|
+
*/
|
|
650
|
+
namedRoutingTree?: pulumi.Input<inputs.alerting.AlertRuleV0Alpha1SpecNotificationSettingsNamedRoutingTree>;
|
|
651
|
+
/**
|
|
652
|
+
* Deprecated. Minimum time interval for re-sending a notification if an alert is still firing.
|
|
653
|
+
*
|
|
654
|
+
* @deprecated Use `simplified_routing.repeat_interval` instead.
|
|
655
|
+
*/
|
|
656
|
+
repeatInterval?: pulumi.Input<string>;
|
|
657
|
+
/**
|
|
658
|
+
* Simplified routing to a contact point with optional grouping and timing overrides.
|
|
659
|
+
*/
|
|
660
|
+
simplifiedRouting?: pulumi.Input<inputs.alerting.AlertRuleV0Alpha1SpecNotificationSettingsSimplifiedRouting>;
|
|
661
|
+
}
|
|
662
|
+
interface AlertRuleV0Alpha1SpecNotificationSettingsNamedRoutingTree {
|
|
663
|
+
/**
|
|
664
|
+
* The name of the routing tree to use.
|
|
665
|
+
*/
|
|
666
|
+
routingTree?: pulumi.Input<string>;
|
|
667
|
+
}
|
|
668
|
+
interface AlertRuleV0Alpha1SpecNotificationSettingsSimplifiedRouting {
|
|
611
669
|
/**
|
|
612
670
|
* A list of time interval names to apply to alerts that match this policy to suppress them unless they are sent at the specified time.
|
|
613
671
|
*/
|
|
@@ -615,7 +673,7 @@ export declare namespace alerting {
|
|
|
615
673
|
/**
|
|
616
674
|
* The contact point to route notifications that match this rule to.
|
|
617
675
|
*/
|
|
618
|
-
contactPoint
|
|
676
|
+
contactPoint?: pulumi.Input<string>;
|
|
619
677
|
/**
|
|
620
678
|
* A list of alert labels to group alerts into notifications by.
|
|
621
679
|
*/
|
|
@@ -2372,7 +2430,7 @@ export declare namespace alerting {
|
|
|
2372
2430
|
*/
|
|
2373
2431
|
noDataState: pulumi.Input<string>;
|
|
2374
2432
|
/**
|
|
2375
|
-
* Notification settings for the rule. If specified, it overrides the notification policies.
|
|
2433
|
+
* Notification settings for the rule. If specified, it overrides the notification policies. The flat configuration is deprecated, please specify one of named*routing*tree or simplified*routing
|
|
2376
2434
|
*/
|
|
2377
2435
|
notificationSettings?: pulumi.Input<inputs.alerting.v0alpha1.AlertRuleSpecNotificationSettings>;
|
|
2378
2436
|
/**
|
|
@@ -2395,6 +2453,64 @@ export declare namespace alerting {
|
|
|
2395
2453
|
trigger?: pulumi.Input<inputs.alerting.v0alpha1.AlertRuleSpecTrigger>;
|
|
2396
2454
|
}
|
|
2397
2455
|
interface AlertRuleSpecNotificationSettings {
|
|
2456
|
+
/**
|
|
2457
|
+
* Deprecated. A list of time interval names to apply to alerts that match this policy.
|
|
2458
|
+
*
|
|
2459
|
+
* @deprecated Use `simplified_routing.active_timings` instead.
|
|
2460
|
+
*/
|
|
2461
|
+
activeTimings?: pulumi.Input<pulumi.Input<string>[]>;
|
|
2462
|
+
/**
|
|
2463
|
+
* Deprecated. The contact point to route notifications that match this rule to.
|
|
2464
|
+
*
|
|
2465
|
+
* @deprecated Use `simplified_routing.contact_point` instead.
|
|
2466
|
+
*/
|
|
2467
|
+
contactPoint?: pulumi.Input<string>;
|
|
2468
|
+
/**
|
|
2469
|
+
* Deprecated. A list of alert labels to group alerts into notifications by.
|
|
2470
|
+
*
|
|
2471
|
+
* @deprecated Use `simplified_routing.group_by` instead.
|
|
2472
|
+
*/
|
|
2473
|
+
groupBies?: pulumi.Input<pulumi.Input<string>[]>;
|
|
2474
|
+
/**
|
|
2475
|
+
* Deprecated. Minimum time interval between two notifications for the same group.
|
|
2476
|
+
*
|
|
2477
|
+
* @deprecated Use `simplified_routing.group_interval` instead.
|
|
2478
|
+
*/
|
|
2479
|
+
groupInterval?: pulumi.Input<string>;
|
|
2480
|
+
/**
|
|
2481
|
+
* Deprecated. Time to wait to buffer alerts of the same group before sending a notification.
|
|
2482
|
+
*
|
|
2483
|
+
* @deprecated Use `simplified_routing.group_wait` instead.
|
|
2484
|
+
*/
|
|
2485
|
+
groupWait?: pulumi.Input<string>;
|
|
2486
|
+
/**
|
|
2487
|
+
* Deprecated. A list of mute timing names to apply to alerts that match this policy.
|
|
2488
|
+
*
|
|
2489
|
+
* @deprecated Use `simplified_routing.mute_timings` instead.
|
|
2490
|
+
*/
|
|
2491
|
+
muteTimings?: pulumi.Input<pulumi.Input<string>[]>;
|
|
2492
|
+
/**
|
|
2493
|
+
* Route notifications to a specific routing tree.
|
|
2494
|
+
*/
|
|
2495
|
+
namedRoutingTree?: pulumi.Input<inputs.alerting.v0alpha1.AlertRuleSpecNotificationSettingsNamedRoutingTree>;
|
|
2496
|
+
/**
|
|
2497
|
+
* Deprecated. Minimum time interval for re-sending a notification if an alert is still firing.
|
|
2498
|
+
*
|
|
2499
|
+
* @deprecated Use `simplified_routing.repeat_interval` instead.
|
|
2500
|
+
*/
|
|
2501
|
+
repeatInterval?: pulumi.Input<string>;
|
|
2502
|
+
/**
|
|
2503
|
+
* Simplified routing to a contact point with optional grouping and timing overrides.
|
|
2504
|
+
*/
|
|
2505
|
+
simplifiedRouting?: pulumi.Input<inputs.alerting.v0alpha1.AlertRuleSpecNotificationSettingsSimplifiedRouting>;
|
|
2506
|
+
}
|
|
2507
|
+
interface AlertRuleSpecNotificationSettingsNamedRoutingTree {
|
|
2508
|
+
/**
|
|
2509
|
+
* The name of the routing tree to use.
|
|
2510
|
+
*/
|
|
2511
|
+
routingTree?: pulumi.Input<string>;
|
|
2512
|
+
}
|
|
2513
|
+
interface AlertRuleSpecNotificationSettingsSimplifiedRouting {
|
|
2398
2514
|
/**
|
|
2399
2515
|
* A list of time interval names to apply to alerts that match this policy to suppress them unless they are sent at the specified time.
|
|
2400
2516
|
*/
|
|
@@ -2402,7 +2518,7 @@ export declare namespace alerting {
|
|
|
2402
2518
|
/**
|
|
2403
2519
|
* The contact point to route notifications that match this rule to.
|
|
2404
2520
|
*/
|
|
2405
|
-
contactPoint
|
|
2521
|
+
contactPoint?: pulumi.Input<string>;
|
|
2406
2522
|
/**
|
|
2407
2523
|
* A list of alert labels to group alerts into notifications by.
|
|
2408
2524
|
*/
|
package/types/output.d.ts
CHANGED
|
@@ -584,7 +584,7 @@ export declare namespace alerting {
|
|
|
584
584
|
*/
|
|
585
585
|
noDataState: string;
|
|
586
586
|
/**
|
|
587
|
-
* Notification settings for the rule. If specified, it overrides the notification policies.
|
|
587
|
+
* Notification settings for the rule. If specified, it overrides the notification policies. The flat configuration is deprecated, please specify one of named*routing*tree or simplified*routing
|
|
588
588
|
*/
|
|
589
589
|
notificationSettings?: outputs.alerting.AlertRuleV0Alpha1SpecNotificationSettings;
|
|
590
590
|
/**
|
|
@@ -607,6 +607,64 @@ export declare namespace alerting {
|
|
|
607
607
|
trigger?: outputs.alerting.AlertRuleV0Alpha1SpecTrigger;
|
|
608
608
|
}
|
|
609
609
|
interface AlertRuleV0Alpha1SpecNotificationSettings {
|
|
610
|
+
/**
|
|
611
|
+
* Deprecated. A list of time interval names to apply to alerts that match this policy.
|
|
612
|
+
*
|
|
613
|
+
* @deprecated Use `simplified_routing.active_timings` instead.
|
|
614
|
+
*/
|
|
615
|
+
activeTimings?: string[];
|
|
616
|
+
/**
|
|
617
|
+
* Deprecated. The contact point to route notifications that match this rule to.
|
|
618
|
+
*
|
|
619
|
+
* @deprecated Use `simplified_routing.contact_point` instead.
|
|
620
|
+
*/
|
|
621
|
+
contactPoint?: string;
|
|
622
|
+
/**
|
|
623
|
+
* Deprecated. A list of alert labels to group alerts into notifications by.
|
|
624
|
+
*
|
|
625
|
+
* @deprecated Use `simplified_routing.group_by` instead.
|
|
626
|
+
*/
|
|
627
|
+
groupBies?: string[];
|
|
628
|
+
/**
|
|
629
|
+
* Deprecated. Minimum time interval between two notifications for the same group.
|
|
630
|
+
*
|
|
631
|
+
* @deprecated Use `simplified_routing.group_interval` instead.
|
|
632
|
+
*/
|
|
633
|
+
groupInterval?: string;
|
|
634
|
+
/**
|
|
635
|
+
* Deprecated. Time to wait to buffer alerts of the same group before sending a notification.
|
|
636
|
+
*
|
|
637
|
+
* @deprecated Use `simplified_routing.group_wait` instead.
|
|
638
|
+
*/
|
|
639
|
+
groupWait?: string;
|
|
640
|
+
/**
|
|
641
|
+
* Deprecated. A list of mute timing names to apply to alerts that match this policy.
|
|
642
|
+
*
|
|
643
|
+
* @deprecated Use `simplified_routing.mute_timings` instead.
|
|
644
|
+
*/
|
|
645
|
+
muteTimings?: string[];
|
|
646
|
+
/**
|
|
647
|
+
* Route notifications to a specific routing tree.
|
|
648
|
+
*/
|
|
649
|
+
namedRoutingTree?: outputs.alerting.AlertRuleV0Alpha1SpecNotificationSettingsNamedRoutingTree;
|
|
650
|
+
/**
|
|
651
|
+
* Deprecated. Minimum time interval for re-sending a notification if an alert is still firing.
|
|
652
|
+
*
|
|
653
|
+
* @deprecated Use `simplified_routing.repeat_interval` instead.
|
|
654
|
+
*/
|
|
655
|
+
repeatInterval?: string;
|
|
656
|
+
/**
|
|
657
|
+
* Simplified routing to a contact point with optional grouping and timing overrides.
|
|
658
|
+
*/
|
|
659
|
+
simplifiedRouting?: outputs.alerting.AlertRuleV0Alpha1SpecNotificationSettingsSimplifiedRouting;
|
|
660
|
+
}
|
|
661
|
+
interface AlertRuleV0Alpha1SpecNotificationSettingsNamedRoutingTree {
|
|
662
|
+
/**
|
|
663
|
+
* The name of the routing tree to use.
|
|
664
|
+
*/
|
|
665
|
+
routingTree?: string;
|
|
666
|
+
}
|
|
667
|
+
interface AlertRuleV0Alpha1SpecNotificationSettingsSimplifiedRouting {
|
|
610
668
|
/**
|
|
611
669
|
* A list of time interval names to apply to alerts that match this policy to suppress them unless they are sent at the specified time.
|
|
612
670
|
*/
|
|
@@ -614,7 +672,7 @@ export declare namespace alerting {
|
|
|
614
672
|
/**
|
|
615
673
|
* The contact point to route notifications that match this rule to.
|
|
616
674
|
*/
|
|
617
|
-
contactPoint
|
|
675
|
+
contactPoint?: string;
|
|
618
676
|
/**
|
|
619
677
|
* A list of alert labels to group alerts into notifications by.
|
|
620
678
|
*/
|
|
@@ -2371,7 +2429,7 @@ export declare namespace alerting {
|
|
|
2371
2429
|
*/
|
|
2372
2430
|
noDataState: string;
|
|
2373
2431
|
/**
|
|
2374
|
-
* Notification settings for the rule. If specified, it overrides the notification policies.
|
|
2432
|
+
* Notification settings for the rule. If specified, it overrides the notification policies. The flat configuration is deprecated, please specify one of named*routing*tree or simplified*routing
|
|
2375
2433
|
*/
|
|
2376
2434
|
notificationSettings?: outputs.alerting.v0alpha1.AlertRuleSpecNotificationSettings;
|
|
2377
2435
|
/**
|
|
@@ -2394,6 +2452,64 @@ export declare namespace alerting {
|
|
|
2394
2452
|
trigger?: outputs.alerting.v0alpha1.AlertRuleSpecTrigger;
|
|
2395
2453
|
}
|
|
2396
2454
|
interface AlertRuleSpecNotificationSettings {
|
|
2455
|
+
/**
|
|
2456
|
+
* Deprecated. A list of time interval names to apply to alerts that match this policy.
|
|
2457
|
+
*
|
|
2458
|
+
* @deprecated Use `simplified_routing.active_timings` instead.
|
|
2459
|
+
*/
|
|
2460
|
+
activeTimings?: string[];
|
|
2461
|
+
/**
|
|
2462
|
+
* Deprecated. The contact point to route notifications that match this rule to.
|
|
2463
|
+
*
|
|
2464
|
+
* @deprecated Use `simplified_routing.contact_point` instead.
|
|
2465
|
+
*/
|
|
2466
|
+
contactPoint?: string;
|
|
2467
|
+
/**
|
|
2468
|
+
* Deprecated. A list of alert labels to group alerts into notifications by.
|
|
2469
|
+
*
|
|
2470
|
+
* @deprecated Use `simplified_routing.group_by` instead.
|
|
2471
|
+
*/
|
|
2472
|
+
groupBies?: string[];
|
|
2473
|
+
/**
|
|
2474
|
+
* Deprecated. Minimum time interval between two notifications for the same group.
|
|
2475
|
+
*
|
|
2476
|
+
* @deprecated Use `simplified_routing.group_interval` instead.
|
|
2477
|
+
*/
|
|
2478
|
+
groupInterval?: string;
|
|
2479
|
+
/**
|
|
2480
|
+
* Deprecated. Time to wait to buffer alerts of the same group before sending a notification.
|
|
2481
|
+
*
|
|
2482
|
+
* @deprecated Use `simplified_routing.group_wait` instead.
|
|
2483
|
+
*/
|
|
2484
|
+
groupWait?: string;
|
|
2485
|
+
/**
|
|
2486
|
+
* Deprecated. A list of mute timing names to apply to alerts that match this policy.
|
|
2487
|
+
*
|
|
2488
|
+
* @deprecated Use `simplified_routing.mute_timings` instead.
|
|
2489
|
+
*/
|
|
2490
|
+
muteTimings?: string[];
|
|
2491
|
+
/**
|
|
2492
|
+
* Route notifications to a specific routing tree.
|
|
2493
|
+
*/
|
|
2494
|
+
namedRoutingTree?: outputs.alerting.v0alpha1.AlertRuleSpecNotificationSettingsNamedRoutingTree;
|
|
2495
|
+
/**
|
|
2496
|
+
* Deprecated. Minimum time interval for re-sending a notification if an alert is still firing.
|
|
2497
|
+
*
|
|
2498
|
+
* @deprecated Use `simplified_routing.repeat_interval` instead.
|
|
2499
|
+
*/
|
|
2500
|
+
repeatInterval?: string;
|
|
2501
|
+
/**
|
|
2502
|
+
* Simplified routing to a contact point with optional grouping and timing overrides.
|
|
2503
|
+
*/
|
|
2504
|
+
simplifiedRouting?: outputs.alerting.v0alpha1.AlertRuleSpecNotificationSettingsSimplifiedRouting;
|
|
2505
|
+
}
|
|
2506
|
+
interface AlertRuleSpecNotificationSettingsNamedRoutingTree {
|
|
2507
|
+
/**
|
|
2508
|
+
* The name of the routing tree to use.
|
|
2509
|
+
*/
|
|
2510
|
+
routingTree?: string;
|
|
2511
|
+
}
|
|
2512
|
+
interface AlertRuleSpecNotificationSettingsSimplifiedRouting {
|
|
2397
2513
|
/**
|
|
2398
2514
|
* A list of time interval names to apply to alerts that match this policy to suppress them unless they are sent at the specified time.
|
|
2399
2515
|
*/
|
|
@@ -2401,7 +2517,7 @@ export declare namespace alerting {
|
|
|
2401
2517
|
/**
|
|
2402
2518
|
* The contact point to route notifications that match this rule to.
|
|
2403
2519
|
*/
|
|
2404
|
-
contactPoint
|
|
2520
|
+
contactPoint?: string;
|
|
2405
2521
|
/**
|
|
2406
2522
|
* A list of alert labels to group alerts into notifications by.
|
|
2407
2523
|
*/
|