@pulumiverse/grafana 0.5.0 → 0.5.1
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/annotation.d.ts +28 -3
- package/annotation.js +25 -0
- package/annotation.js.map +1 -1
- package/apiKey.d.ts +18 -0
- package/apiKey.js +18 -0
- package/apiKey.js.map +1 -1
- package/cloudAccessPolicy.d.ts +57 -15
- package/cloudAccessPolicy.js +51 -0
- package/cloudAccessPolicy.js.map +1 -1
- package/cloudAccessPolicyToken.d.ts +54 -9
- package/cloudAccessPolicyToken.js +51 -0
- package/cloudAccessPolicyToken.js.map +1 -1
- package/cloudApiKey.d.ts +35 -6
- package/cloudApiKey.js +32 -0
- package/cloudApiKey.js.map +1 -1
- package/cloudOrgMember.d.ts +9 -0
- package/cloudOrgMember.js +9 -0
- package/cloudOrgMember.js.map +1 -1
- package/cloudPluginInstallation.d.ts +32 -0
- package/cloudPluginInstallation.js +32 -0
- package/cloudPluginInstallation.js.map +1 -1
- package/cloudStack.d.ts +49 -38
- package/cloudStack.js +30 -0
- package/cloudStack.js.map +1 -1
- package/cloudStackServiceAccount.d.ts +36 -3
- package/cloudStackServiceAccount.js +33 -0
- package/cloudStackServiceAccount.js.map +1 -1
- package/cloudStackServiceAccountToken.d.ts +28 -0
- package/cloudStackServiceAccountToken.js +28 -0
- package/cloudStackServiceAccountToken.js.map +1 -1
- package/contactPoint.d.ts +44 -9
- package/contactPoint.js +38 -0
- package/contactPoint.js.map +1 -1
- package/dashboard.d.ts +44 -16
- package/dashboard.js +37 -0
- package/dashboard.js.map +1 -1
- package/dashboardPermission.d.ts +55 -3
- package/dashboardPermission.js +52 -0
- package/dashboardPermission.js.map +1 -1
- package/dashboardPermissionItem.d.ts +48 -0
- package/dashboardPermissionItem.js +48 -0
- package/dashboardPermissionItem.js.map +1 -1
- package/dashboardPublic.d.ts +73 -12
- package/dashboardPublic.js +67 -0
- package/dashboardPublic.js.map +1 -1
- package/dataSource.d.ts +102 -36
- package/dataSource.js +78 -0
- package/dataSource.js.map +1 -1
- package/dataSourceConfig.d.ts +69 -18
- package/dataSourceConfig.js +63 -0
- package/dataSourceConfig.js.map +1 -1
- package/dataSourcePermission.d.ts +66 -3
- package/dataSourcePermission.js +63 -0
- package/dataSourcePermission.js.map +1 -1
- package/dataSourcePermissionItem.d.ts +61 -0
- package/dataSourcePermissionItem.js +61 -0
- package/dataSourcePermissionItem.js.map +1 -1
- package/folder.d.ts +43 -9
- package/folder.js +37 -0
- package/folder.js.map +1 -1
- package/folderPermission.d.ts +49 -0
- package/folderPermission.js +49 -0
- package/folderPermission.js.map +1 -1
- package/folderPermissionItem.d.ts +47 -0
- package/folderPermissionItem.js +47 -0
- package/folderPermissionItem.js.map +1 -1
- package/getCloudIps.d.ts +43 -0
- package/getCloudIps.js +28 -0
- package/getCloudIps.js.map +1 -1
- package/getCloudOrganization.d.ts +37 -0
- package/getCloudOrganization.js +28 -0
- package/getCloudOrganization.js.map +1 -1
- package/getCloudStack.d.ts +84 -0
- package/getCloudStack.js +6 -0
- package/getCloudStack.js.map +1 -1
- package/getDashboard.d.ts +114 -0
- package/getDashboard.js +64 -0
- package/getDashboard.js.map +1 -1
- package/getDashboards.d.ts +56 -0
- package/getDashboards.js +14 -0
- package/getDashboards.js.map +1 -1
- package/getDataSource.d.ts +118 -0
- package/getDataSource.js +76 -0
- package/getDataSource.js.map +1 -1
- package/getFolder.d.ts +71 -0
- package/getFolder.js +44 -0
- package/getFolder.js.map +1 -1
- package/getFolders.d.ts +60 -0
- package/getFolders.js +48 -0
- package/getFolders.js.map +1 -1
- package/getLibraryPanel.d.ts +65 -0
- package/getLibraryPanel.js +6 -0
- package/getLibraryPanel.js.map +1 -1
- package/getOnCallSlackChannel.d.ts +44 -0
- package/getOnCallSlackChannel.js +32 -0
- package/getOnCallSlackChannel.js.map +1 -1
- package/getOncallAction.d.ts +21 -0
- package/getOncallAction.js +12 -0
- package/getOncallAction.js.map +1 -1
- package/getOncallEscalationChain.d.ts +41 -0
- package/getOncallEscalationChain.js +32 -0
- package/getOncallEscalationChain.js.map +1 -1
- package/getOncallIntegration.d.ts +44 -0
- package/getOncallIntegration.js +32 -0
- package/getOncallIntegration.js.map +1 -1
- package/getOncallOutgoingWebhook.d.ts +41 -0
- package/getOncallOutgoingWebhook.js +32 -0
- package/getOncallOutgoingWebhook.js.map +1 -1
- package/getOncallSchedule.d.ts +46 -0
- package/getOncallSchedule.js +34 -0
- package/getOncallSchedule.js.map +1 -1
- package/getOncallTeam.d.ts +37 -0
- package/getOncallTeam.js +28 -0
- package/getOncallTeam.js.map +1 -1
- package/getOncallUser.d.ts +47 -0
- package/getOncallUser.js +32 -0
- package/getOncallUser.js.map +1 -1
- package/getOncallUserGroup.d.ts +32 -0
- package/getOncallUserGroup.js +32 -0
- package/getOncallUserGroup.js.map +1 -1
- package/getOrganization.d.ts +70 -0
- package/getOrganization.js +52 -0
- package/getOrganization.js.map +1 -1
- package/getOrganizationPreferences.d.ts +53 -0
- package/getOrganizationPreferences.js +30 -0
- package/getOrganizationPreferences.js.map +1 -1
- package/getRole.d.ts +118 -0
- package/getRole.js +82 -0
- package/getRole.js.map +1 -1
- package/getServiceAccount.d.ts +32 -0
- package/getServiceAccount.js +8 -0
- package/getServiceAccount.js.map +1 -1
- package/getSlos.d.ts +17 -0
- package/getSlos.js +14 -0
- package/getSlos.js.map +1 -1
- package/getSyntheticMonitoringProbe.d.ts +62 -0
- package/getSyntheticMonitoringProbe.js +32 -0
- package/getSyntheticMonitoringProbe.js.map +1 -1
- package/getSyntheticMonitoringProbes.d.ts +40 -0
- package/getSyntheticMonitoringProbes.js +28 -0
- package/getSyntheticMonitoringProbes.js.map +1 -1
- package/getTeam.d.ts +50 -0
- package/getTeam.js +50 -0
- package/getTeam.js.map +1 -1
- package/getUser.d.ts +99 -0
- package/getUser.js +66 -0
- package/getUser.js.map +1 -1
- package/getUsers.d.ts +51 -0
- package/getUsers.js +48 -0
- package/getUsers.js.map +1 -1
- package/libraryPanel.d.ts +43 -12
- package/libraryPanel.js +37 -0
- package/libraryPanel.js.map +1 -1
- package/machineLearningHoliday.d.ts +14 -3
- package/machineLearningHoliday.js +11 -0
- package/machineLearningHoliday.js.map +1 -1
- package/machineLearningJob.d.ts +18 -12
- package/machineLearningJob.js +9 -0
- package/machineLearningJob.js.map +1 -1
- package/machineLearningOutlierDetector.d.ts +22 -12
- package/machineLearningOutlierDetector.js +13 -0
- package/machineLearningOutlierDetector.js.map +1 -1
- package/messageTemplate.d.ts +32 -0
- package/messageTemplate.js +32 -0
- package/messageTemplate.js.map +1 -1
- package/muteTiming.d.ts +51 -0
- package/muteTiming.js +51 -0
- package/muteTiming.js.map +1 -1
- package/notificationPolicy.d.ts +98 -9
- package/notificationPolicy.js +92 -0
- package/notificationPolicy.js.map +1 -1
- package/oncallEscalation.d.ts +81 -41
- package/oncallEscalation.js +52 -0
- package/oncallEscalation.js.map +1 -1
- package/oncallEscalationChain.d.ts +25 -6
- package/oncallEscalationChain.js +22 -0
- package/oncallEscalationChain.js.map +1 -1
- package/oncallIntegration.d.ts +16 -15
- package/oncallIntegration.js +10 -0
- package/oncallIntegration.js.map +1 -1
- package/oncallOnCallShift.d.ts +30 -27
- package/oncallOnCallShift.js +9 -0
- package/oncallOnCallShift.js.map +1 -1
- package/oncallOutgoingWebhook.d.ts +34 -21
- package/oncallOutgoingWebhook.js +22 -0
- package/oncallOutgoingWebhook.js.map +1 -1
- package/oncallRoute.d.ts +49 -3
- package/oncallRoute.js +46 -0
- package/oncallRoute.js.map +1 -1
- package/oncallSchedule.d.ts +49 -9
- package/oncallSchedule.js +43 -0
- package/oncallSchedule.js.map +1 -1
- package/organization.d.ts +94 -39
- package/organization.js +37 -0
- package/organization.js.map +1 -1
- package/organizationPreference.d.ts +31 -9
- package/organizationPreference.js +25 -0
- package/organizationPreference.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +1 -1
- package/playlist.d.ts +41 -0
- package/playlist.js +41 -0
- package/playlist.js.map +1 -1
- package/report.d.ts +56 -15
- package/report.js +41 -0
- package/report.js.map +1 -1
- package/role.d.ts +58 -15
- package/role.js +46 -0
- package/role.js.map +1 -1
- package/roleAssignment.d.ts +48 -0
- package/roleAssignment.js +48 -0
- package/roleAssignment.js.map +1 -1
- package/roleAssignmentItem.d.ts +51 -0
- package/roleAssignmentItem.js +51 -0
- package/roleAssignmentItem.js.map +1 -1
- package/ruleGroup.d.ts +117 -9
- package/ruleGroup.js +111 -0
- package/ruleGroup.js.map +1 -1
- package/serviceAccount.d.ts +33 -3
- package/serviceAccount.js +30 -0
- package/serviceAccount.js.map +1 -1
- package/serviceAccountPermission.d.ts +50 -0
- package/serviceAccountPermission.js +50 -0
- package/serviceAccountPermission.js.map +1 -1
- package/serviceAccountPermissionItem.d.ts +44 -0
- package/serviceAccountPermissionItem.js +44 -0
- package/serviceAccountPermissionItem.js.map +1 -1
- package/serviceAccountToken.d.ts +27 -9
- package/serviceAccountToken.js +24 -0
- package/serviceAccountToken.js.map +1 -1
- package/slo.d.ts +39 -27
- package/slo.js +15 -0
- package/slo.js.map +1 -1
- package/ssoSettings.d.ts +75 -3
- package/ssoSettings.js +72 -0
- package/ssoSettings.js.map +1 -1
- package/syntheticMonitoringCheck.d.ts +431 -36
- package/syntheticMonitoringCheck.js +413 -0
- package/syntheticMonitoringCheck.js.map +1 -1
- package/syntheticMonitoringInstallation.d.ts +75 -24
- package/syntheticMonitoringInstallation.js +69 -0
- package/syntheticMonitoringInstallation.js.map +1 -1
- package/syntheticMonitoringProbe.d.ts +39 -6
- package/syntheticMonitoringProbe.js +36 -0
- package/syntheticMonitoringProbe.js.map +1 -1
- package/team.d.ts +33 -0
- package/team.js +33 -0
- package/team.js.map +1 -1
- package/teamExternalGroup.d.ts +31 -0
- package/teamExternalGroup.js +31 -0
- package/teamExternalGroup.js.map +1 -1
- package/types/input.d.ts +123 -123
- package/types/output.d.ts +123 -123
- package/user.d.ts +33 -3
- package/user.js +30 -0
- package/user.js.map +1 -1
package/notificationPolicy.js
CHANGED
|
@@ -5,6 +5,98 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.NotificationPolicy = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Sets the global notification policy for Grafana.
|
|
10
|
+
*
|
|
11
|
+
* !> This resource manages the entire notification policy tree, and will overwrite any existing policies.
|
|
12
|
+
*
|
|
13
|
+
* * [Official documentation](https://grafana.com/docs/grafana/latest/alerting/manage-notifications/)
|
|
14
|
+
* * [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/alerting_provisioning/)
|
|
15
|
+
*
|
|
16
|
+
* This resource requires Grafana 9.1.0 or later.
|
|
17
|
+
*
|
|
18
|
+
* ## Example Usage
|
|
19
|
+
*
|
|
20
|
+
* <!--Start PulumiCodeChooser -->
|
|
21
|
+
* ```typescript
|
|
22
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
23
|
+
* import * as grafana from "@pulumiverse/grafana";
|
|
24
|
+
*
|
|
25
|
+
* const aContactPoint = new grafana.ContactPoint("aContactPoint", {emails: [{
|
|
26
|
+
* addresses: [
|
|
27
|
+
* "one@company.org",
|
|
28
|
+
* "two@company.org",
|
|
29
|
+
* ],
|
|
30
|
+
* message: "{{ len .Alerts.Firing }} firing.",
|
|
31
|
+
* }]});
|
|
32
|
+
* const aMuteTiming = new grafana.MuteTiming("aMuteTiming", {intervals: [{
|
|
33
|
+
* weekdays: ["monday"],
|
|
34
|
+
* }]});
|
|
35
|
+
* const myNotificationPolicy = new grafana.NotificationPolicy("myNotificationPolicy", {
|
|
36
|
+
* groupBies: ["..."],
|
|
37
|
+
* contactPoint: aContactPoint.name,
|
|
38
|
+
* groupWait: "45s",
|
|
39
|
+
* groupInterval: "6m",
|
|
40
|
+
* repeatInterval: "3h",
|
|
41
|
+
* policies: [
|
|
42
|
+
* {
|
|
43
|
+
* matchers: [
|
|
44
|
+
* {
|
|
45
|
+
* label: "mylabel",
|
|
46
|
+
* match: "=",
|
|
47
|
+
* value: "myvalue",
|
|
48
|
+
* },
|
|
49
|
+
* {
|
|
50
|
+
* label: "alertname",
|
|
51
|
+
* match: "=",
|
|
52
|
+
* value: "CPU Usage",
|
|
53
|
+
* },
|
|
54
|
+
* {
|
|
55
|
+
* label: "Name",
|
|
56
|
+
* match: "=~",
|
|
57
|
+
* value: "host.*|host-b.*",
|
|
58
|
+
* },
|
|
59
|
+
* ],
|
|
60
|
+
* contactPoint: aContactPoint.name,
|
|
61
|
+
* "continue": true,
|
|
62
|
+
* muteTimings: [aMuteTiming.name],
|
|
63
|
+
* groupWait: "45s",
|
|
64
|
+
* groupInterval: "6m",
|
|
65
|
+
* repeatInterval: "3h",
|
|
66
|
+
* policies: [{
|
|
67
|
+
* matchers: [{
|
|
68
|
+
* label: "sublabel",
|
|
69
|
+
* match: "=",
|
|
70
|
+
* value: "subvalue",
|
|
71
|
+
* }],
|
|
72
|
+
* contactPoint: aContactPoint.name,
|
|
73
|
+
* groupBies: ["..."],
|
|
74
|
+
* }],
|
|
75
|
+
* },
|
|
76
|
+
* {
|
|
77
|
+
* matchers: [{
|
|
78
|
+
* label: "anotherlabel",
|
|
79
|
+
* match: "=~",
|
|
80
|
+
* value: "another value.*",
|
|
81
|
+
* }],
|
|
82
|
+
* contactPoint: aContactPoint.name,
|
|
83
|
+
* groupBies: ["..."],
|
|
84
|
+
* },
|
|
85
|
+
* ],
|
|
86
|
+
* });
|
|
87
|
+
* ```
|
|
88
|
+
* <!--End PulumiCodeChooser -->
|
|
89
|
+
*
|
|
90
|
+
* ## Import
|
|
91
|
+
*
|
|
92
|
+
* ```sh
|
|
93
|
+
* $ pulumi import grafana:index/notificationPolicy:NotificationPolicy name "{{ anyString }}"
|
|
94
|
+
* ```
|
|
95
|
+
*
|
|
96
|
+
* ```sh
|
|
97
|
+
* $ pulumi import grafana:index/notificationPolicy:NotificationPolicy name "{{ orgID }}:{{ anyString }}"
|
|
98
|
+
* ```
|
|
99
|
+
*/
|
|
8
100
|
class NotificationPolicy extends pulumi.CustomResource {
|
|
9
101
|
/**
|
|
10
102
|
* Get an existing NotificationPolicy resource's state with the given name, ID, and optional extra
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notificationPolicy.js","sourceRoot":"","sources":["../notificationPolicy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IACzD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA+B,EAAE,IAAmC;QAC7H,OAAO,IAAI,kBAAkB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACzE,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,kBAAkB,CAAC,YAAY,CAAC;IACnE,CAAC;
|
|
1
|
+
{"version":3,"file":"notificationPolicy.js","sourceRoot":"","sources":["../notificationPolicy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2FG;AACH,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IACzD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA+B,EAAE,IAAmC;QAC7H,OAAO,IAAI,kBAAkB,CAAC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AC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7E;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,kBAAkB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACvE,CAAC;;AArGL,gDAsGC;AAxFG,gBAAgB;AACO,+BAAY,GAAG,qDAAqD,CAAC"}
|
package/oncallEscalation.d.ts
CHANGED
|
@@ -1,4 +1,53 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* * [Official documentation](https://grafana.com/docs/oncall/latest/configure/escalation-chains-and-routes/)
|
|
4
|
+
* * [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/escalation_policies/)
|
|
5
|
+
*
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* <!--Start PulumiCodeChooser -->
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as grafana from "@pulumi/grafana";
|
|
12
|
+
* import * as grafana from "@pulumiverse/grafana";
|
|
13
|
+
*
|
|
14
|
+
* const _default = new grafana.OncallEscalationChain("default", {}, {
|
|
15
|
+
* provider: grafana.oncall,
|
|
16
|
+
* });
|
|
17
|
+
* const alex = grafana.getOncallUser({
|
|
18
|
+
* username: "alex",
|
|
19
|
+
* });
|
|
20
|
+
* // Notify step
|
|
21
|
+
* const exampleNotifyStepOncallEscalation = new grafana.OncallEscalation("exampleNotifyStepOncallEscalation", {
|
|
22
|
+
* escalationChainId: _default.id,
|
|
23
|
+
* type: "notify_persons",
|
|
24
|
+
* personsToNotifies: [alex.then(alex => alex.id)],
|
|
25
|
+
* position: 0,
|
|
26
|
+
* });
|
|
27
|
+
* // Wait step
|
|
28
|
+
* const exampleNotifyStepIndex_oncallEscalationOncallEscalation = new grafana.OncallEscalation("exampleNotifyStepIndex/oncallEscalationOncallEscalation", {
|
|
29
|
+
* escalationChainId: _default.id,
|
|
30
|
+
* type: "wait",
|
|
31
|
+
* duration: 300,
|
|
32
|
+
* position: 1,
|
|
33
|
+
* });
|
|
34
|
+
* // Important step
|
|
35
|
+
* const exampleNotifyStepGrafanaIndex_oncallEscalationOncallEscalation = new grafana.OncallEscalation("exampleNotifyStepGrafanaIndex/oncallEscalationOncallEscalation", {
|
|
36
|
+
* escalationChainId: _default.id,
|
|
37
|
+
* type: "notify_persons",
|
|
38
|
+
* important: true,
|
|
39
|
+
* personsToNotifies: [alex.then(alex => alex.id)],
|
|
40
|
+
* position: 0,
|
|
41
|
+
* });
|
|
42
|
+
* ```
|
|
43
|
+
* <!--End PulumiCodeChooser -->
|
|
44
|
+
*
|
|
45
|
+
* ## Import
|
|
46
|
+
*
|
|
47
|
+
* ```sh
|
|
48
|
+
* $ pulumi import grafana:index/oncallEscalation:OncallEscalation name "{{ id }}"
|
|
49
|
+
* ```
|
|
50
|
+
*/
|
|
2
51
|
export declare class OncallEscalation extends pulumi.CustomResource {
|
|
3
52
|
/**
|
|
4
53
|
* Get an existing OncallEscalation resource's state with the given name, ID, and optional extra
|
|
@@ -16,7 +65,7 @@ export declare class OncallEscalation extends pulumi.CustomResource {
|
|
|
16
65
|
*/
|
|
17
66
|
static isInstance(obj: any): obj is OncallEscalation;
|
|
18
67
|
/**
|
|
19
|
-
* The ID of an Action for
|
|
68
|
+
* The ID of an Action for triggerWebhook type step.
|
|
20
69
|
*/
|
|
21
70
|
readonly actionToTrigger: pulumi.Output<string | undefined>;
|
|
22
71
|
/**
|
|
@@ -28,36 +77,35 @@ export declare class OncallEscalation extends pulumi.CustomResource {
|
|
|
28
77
|
*/
|
|
29
78
|
readonly escalationChainId: pulumi.Output<string>;
|
|
30
79
|
/**
|
|
31
|
-
* The ID of a User Group for
|
|
80
|
+
* The ID of a User Group for notify*user*group type step.
|
|
32
81
|
*/
|
|
33
82
|
readonly groupToNotify: pulumi.Output<string | undefined>;
|
|
34
83
|
/**
|
|
35
|
-
* Will activate "important" personal notification rules. Actual for steps:
|
|
36
|
-
* and notify_user_group,notify_team_members
|
|
84
|
+
* Will activate "important" personal notification rules. Actual for steps: notify*persons, notify*on*call*from*schedule and notify*user*group,notify*team_members
|
|
37
85
|
*/
|
|
38
86
|
readonly important: pulumi.Output<boolean | undefined>;
|
|
39
87
|
/**
|
|
40
|
-
* The beginning of the time interval for
|
|
88
|
+
* The beginning of the time interval for notify*if*time*from*to type step in UTC (for example 08:00:00Z).
|
|
41
89
|
*/
|
|
42
90
|
readonly notifyIfTimeFrom: pulumi.Output<string | undefined>;
|
|
43
91
|
/**
|
|
44
|
-
* The end of the time interval for
|
|
92
|
+
* The end of the time interval for notify*if*time*from*to type step in UTC (for example 18:00:00Z).
|
|
45
93
|
*/
|
|
46
94
|
readonly notifyIfTimeTo: pulumi.Output<string | undefined>;
|
|
47
95
|
/**
|
|
48
|
-
* ID of a Schedule for
|
|
96
|
+
* ID of a Schedule for notify*on*call*from*schedule type step.
|
|
49
97
|
*/
|
|
50
98
|
readonly notifyOnCallFromSchedule: pulumi.Output<string | undefined>;
|
|
51
99
|
/**
|
|
52
|
-
* The ID of a Team for a
|
|
100
|
+
* The ID of a Team for a notify*team*members type step.
|
|
53
101
|
*/
|
|
54
102
|
readonly notifyToTeamMembers: pulumi.Output<string | undefined>;
|
|
55
103
|
/**
|
|
56
|
-
* The list of ID's of users for
|
|
104
|
+
* The list of ID's of users for notifyPersons type step.
|
|
57
105
|
*/
|
|
58
106
|
readonly personsToNotifies: pulumi.Output<string[] | undefined>;
|
|
59
107
|
/**
|
|
60
|
-
* The list of ID's of users for
|
|
108
|
+
* The list of ID's of users for notify*person*next*each*time type step.
|
|
61
109
|
*/
|
|
62
110
|
readonly personsToNotifyNextEachTimes: pulumi.Output<string[] | undefined>;
|
|
63
111
|
/**
|
|
@@ -65,11 +113,9 @@ export declare class OncallEscalation extends pulumi.CustomResource {
|
|
|
65
113
|
*/
|
|
66
114
|
readonly position: pulumi.Output<number>;
|
|
67
115
|
/**
|
|
68
|
-
* The type of escalation policy. Can be wait,
|
|
69
|
-
* trigger_webhook, notify_user_group, resolve, notify_whole_channel, notify_if_time_from_to, repeat_escalation,
|
|
70
|
-
* notify_team_members
|
|
116
|
+
* The type of escalation policy. Can be wait, notify*persons, notify*person*next*each*time, notify*on*call*from*schedule, trigger*webhook, notify*user*group, resolve, notify*whole*channel, notify*if*time*from*to, repeat*escalation, notify*team_members
|
|
71
117
|
*/
|
|
72
|
-
readonly type: pulumi.Output<string
|
|
118
|
+
readonly type: pulumi.Output<string>;
|
|
73
119
|
/**
|
|
74
120
|
* Create a OncallEscalation resource with the given unique name, arguments, and options.
|
|
75
121
|
*
|
|
@@ -84,7 +130,7 @@ export declare class OncallEscalation extends pulumi.CustomResource {
|
|
|
84
130
|
*/
|
|
85
131
|
export interface OncallEscalationState {
|
|
86
132
|
/**
|
|
87
|
-
* The ID of an Action for
|
|
133
|
+
* The ID of an Action for triggerWebhook type step.
|
|
88
134
|
*/
|
|
89
135
|
actionToTrigger?: pulumi.Input<string>;
|
|
90
136
|
/**
|
|
@@ -96,36 +142,35 @@ export interface OncallEscalationState {
|
|
|
96
142
|
*/
|
|
97
143
|
escalationChainId?: pulumi.Input<string>;
|
|
98
144
|
/**
|
|
99
|
-
* The ID of a User Group for
|
|
145
|
+
* The ID of a User Group for notify*user*group type step.
|
|
100
146
|
*/
|
|
101
147
|
groupToNotify?: pulumi.Input<string>;
|
|
102
148
|
/**
|
|
103
|
-
* Will activate "important" personal notification rules. Actual for steps:
|
|
104
|
-
* and notify_user_group,notify_team_members
|
|
149
|
+
* Will activate "important" personal notification rules. Actual for steps: notify*persons, notify*on*call*from*schedule and notify*user*group,notify*team_members
|
|
105
150
|
*/
|
|
106
151
|
important?: pulumi.Input<boolean>;
|
|
107
152
|
/**
|
|
108
|
-
* The beginning of the time interval for
|
|
153
|
+
* The beginning of the time interval for notify*if*time*from*to type step in UTC (for example 08:00:00Z).
|
|
109
154
|
*/
|
|
110
155
|
notifyIfTimeFrom?: pulumi.Input<string>;
|
|
111
156
|
/**
|
|
112
|
-
* The end of the time interval for
|
|
157
|
+
* The end of the time interval for notify*if*time*from*to type step in UTC (for example 18:00:00Z).
|
|
113
158
|
*/
|
|
114
159
|
notifyIfTimeTo?: pulumi.Input<string>;
|
|
115
160
|
/**
|
|
116
|
-
* ID of a Schedule for
|
|
161
|
+
* ID of a Schedule for notify*on*call*from*schedule type step.
|
|
117
162
|
*/
|
|
118
163
|
notifyOnCallFromSchedule?: pulumi.Input<string>;
|
|
119
164
|
/**
|
|
120
|
-
* The ID of a Team for a
|
|
165
|
+
* The ID of a Team for a notify*team*members type step.
|
|
121
166
|
*/
|
|
122
167
|
notifyToTeamMembers?: pulumi.Input<string>;
|
|
123
168
|
/**
|
|
124
|
-
* The list of ID's of users for
|
|
169
|
+
* The list of ID's of users for notifyPersons type step.
|
|
125
170
|
*/
|
|
126
171
|
personsToNotifies?: pulumi.Input<pulumi.Input<string>[]>;
|
|
127
172
|
/**
|
|
128
|
-
* The list of ID's of users for
|
|
173
|
+
* The list of ID's of users for notify*person*next*each*time type step.
|
|
129
174
|
*/
|
|
130
175
|
personsToNotifyNextEachTimes?: pulumi.Input<pulumi.Input<string>[]>;
|
|
131
176
|
/**
|
|
@@ -133,9 +178,7 @@ export interface OncallEscalationState {
|
|
|
133
178
|
*/
|
|
134
179
|
position?: pulumi.Input<number>;
|
|
135
180
|
/**
|
|
136
|
-
* The type of escalation policy. Can be wait,
|
|
137
|
-
* trigger_webhook, notify_user_group, resolve, notify_whole_channel, notify_if_time_from_to, repeat_escalation,
|
|
138
|
-
* notify_team_members
|
|
181
|
+
* The type of escalation policy. Can be wait, notify*persons, notify*person*next*each*time, notify*on*call*from*schedule, trigger*webhook, notify*user*group, resolve, notify*whole*channel, notify*if*time*from*to, repeat*escalation, notify*team_members
|
|
139
182
|
*/
|
|
140
183
|
type?: pulumi.Input<string>;
|
|
141
184
|
}
|
|
@@ -144,7 +187,7 @@ export interface OncallEscalationState {
|
|
|
144
187
|
*/
|
|
145
188
|
export interface OncallEscalationArgs {
|
|
146
189
|
/**
|
|
147
|
-
* The ID of an Action for
|
|
190
|
+
* The ID of an Action for triggerWebhook type step.
|
|
148
191
|
*/
|
|
149
192
|
actionToTrigger?: pulumi.Input<string>;
|
|
150
193
|
/**
|
|
@@ -156,36 +199,35 @@ export interface OncallEscalationArgs {
|
|
|
156
199
|
*/
|
|
157
200
|
escalationChainId: pulumi.Input<string>;
|
|
158
201
|
/**
|
|
159
|
-
* The ID of a User Group for
|
|
202
|
+
* The ID of a User Group for notify*user*group type step.
|
|
160
203
|
*/
|
|
161
204
|
groupToNotify?: pulumi.Input<string>;
|
|
162
205
|
/**
|
|
163
|
-
* Will activate "important" personal notification rules. Actual for steps:
|
|
164
|
-
* and notify_user_group,notify_team_members
|
|
206
|
+
* Will activate "important" personal notification rules. Actual for steps: notify*persons, notify*on*call*from*schedule and notify*user*group,notify*team_members
|
|
165
207
|
*/
|
|
166
208
|
important?: pulumi.Input<boolean>;
|
|
167
209
|
/**
|
|
168
|
-
* The beginning of the time interval for
|
|
210
|
+
* The beginning of the time interval for notify*if*time*from*to type step in UTC (for example 08:00:00Z).
|
|
169
211
|
*/
|
|
170
212
|
notifyIfTimeFrom?: pulumi.Input<string>;
|
|
171
213
|
/**
|
|
172
|
-
* The end of the time interval for
|
|
214
|
+
* The end of the time interval for notify*if*time*from*to type step in UTC (for example 18:00:00Z).
|
|
173
215
|
*/
|
|
174
216
|
notifyIfTimeTo?: pulumi.Input<string>;
|
|
175
217
|
/**
|
|
176
|
-
* ID of a Schedule for
|
|
218
|
+
* ID of a Schedule for notify*on*call*from*schedule type step.
|
|
177
219
|
*/
|
|
178
220
|
notifyOnCallFromSchedule?: pulumi.Input<string>;
|
|
179
221
|
/**
|
|
180
|
-
* The ID of a Team for a
|
|
222
|
+
* The ID of a Team for a notify*team*members type step.
|
|
181
223
|
*/
|
|
182
224
|
notifyToTeamMembers?: pulumi.Input<string>;
|
|
183
225
|
/**
|
|
184
|
-
* The list of ID's of users for
|
|
226
|
+
* The list of ID's of users for notifyPersons type step.
|
|
185
227
|
*/
|
|
186
228
|
personsToNotifies?: pulumi.Input<pulumi.Input<string>[]>;
|
|
187
229
|
/**
|
|
188
|
-
* The list of ID's of users for
|
|
230
|
+
* The list of ID's of users for notify*person*next*each*time type step.
|
|
189
231
|
*/
|
|
190
232
|
personsToNotifyNextEachTimes?: pulumi.Input<pulumi.Input<string>[]>;
|
|
191
233
|
/**
|
|
@@ -193,9 +235,7 @@ export interface OncallEscalationArgs {
|
|
|
193
235
|
*/
|
|
194
236
|
position: pulumi.Input<number>;
|
|
195
237
|
/**
|
|
196
|
-
* The type of escalation policy. Can be wait,
|
|
197
|
-
* trigger_webhook, notify_user_group, resolve, notify_whole_channel, notify_if_time_from_to, repeat_escalation,
|
|
198
|
-
* notify_team_members
|
|
238
|
+
* The type of escalation policy. Can be wait, notify*persons, notify*person*next*each*time, notify*on*call*from*schedule, trigger*webhook, notify*user*group, resolve, notify*whole*channel, notify*if*time*from*to, repeat*escalation, notify*team_members
|
|
199
239
|
*/
|
|
200
|
-
type
|
|
240
|
+
type: pulumi.Input<string>;
|
|
201
241
|
}
|
package/oncallEscalation.js
CHANGED
|
@@ -5,6 +5,55 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.OncallEscalation = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* * [Official documentation](https://grafana.com/docs/oncall/latest/configure/escalation-chains-and-routes/)
|
|
10
|
+
* * [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/escalation_policies/)
|
|
11
|
+
*
|
|
12
|
+
* ## Example Usage
|
|
13
|
+
*
|
|
14
|
+
* <!--Start PulumiCodeChooser -->
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as grafana from "@pulumi/grafana";
|
|
18
|
+
* import * as grafana from "@pulumiverse/grafana";
|
|
19
|
+
*
|
|
20
|
+
* const _default = new grafana.OncallEscalationChain("default", {}, {
|
|
21
|
+
* provider: grafana.oncall,
|
|
22
|
+
* });
|
|
23
|
+
* const alex = grafana.getOncallUser({
|
|
24
|
+
* username: "alex",
|
|
25
|
+
* });
|
|
26
|
+
* // Notify step
|
|
27
|
+
* const exampleNotifyStepOncallEscalation = new grafana.OncallEscalation("exampleNotifyStepOncallEscalation", {
|
|
28
|
+
* escalationChainId: _default.id,
|
|
29
|
+
* type: "notify_persons",
|
|
30
|
+
* personsToNotifies: [alex.then(alex => alex.id)],
|
|
31
|
+
* position: 0,
|
|
32
|
+
* });
|
|
33
|
+
* // Wait step
|
|
34
|
+
* const exampleNotifyStepIndex_oncallEscalationOncallEscalation = new grafana.OncallEscalation("exampleNotifyStepIndex/oncallEscalationOncallEscalation", {
|
|
35
|
+
* escalationChainId: _default.id,
|
|
36
|
+
* type: "wait",
|
|
37
|
+
* duration: 300,
|
|
38
|
+
* position: 1,
|
|
39
|
+
* });
|
|
40
|
+
* // Important step
|
|
41
|
+
* const exampleNotifyStepGrafanaIndex_oncallEscalationOncallEscalation = new grafana.OncallEscalation("exampleNotifyStepGrafanaIndex/oncallEscalationOncallEscalation", {
|
|
42
|
+
* escalationChainId: _default.id,
|
|
43
|
+
* type: "notify_persons",
|
|
44
|
+
* important: true,
|
|
45
|
+
* personsToNotifies: [alex.then(alex => alex.id)],
|
|
46
|
+
* position: 0,
|
|
47
|
+
* });
|
|
48
|
+
* ```
|
|
49
|
+
* <!--End PulumiCodeChooser -->
|
|
50
|
+
*
|
|
51
|
+
* ## Import
|
|
52
|
+
*
|
|
53
|
+
* ```sh
|
|
54
|
+
* $ pulumi import grafana:index/oncallEscalation:OncallEscalation name "{{ id }}"
|
|
55
|
+
* ```
|
|
56
|
+
*/
|
|
8
57
|
class OncallEscalation extends pulumi.CustomResource {
|
|
9
58
|
/**
|
|
10
59
|
* Get an existing OncallEscalation resource's state with the given name, ID, and optional extra
|
|
@@ -55,6 +104,9 @@ class OncallEscalation extends pulumi.CustomResource {
|
|
|
55
104
|
if ((!args || args.position === undefined) && !opts.urn) {
|
|
56
105
|
throw new Error("Missing required property 'position'");
|
|
57
106
|
}
|
|
107
|
+
if ((!args || args.type === undefined) && !opts.urn) {
|
|
108
|
+
throw new Error("Missing required property 'type'");
|
|
109
|
+
}
|
|
58
110
|
resourceInputs["actionToTrigger"] = args ? args.actionToTrigger : undefined;
|
|
59
111
|
resourceInputs["duration"] = args ? args.duration : undefined;
|
|
60
112
|
resourceInputs["escalationChainId"] = args ? args.escalationChainId : undefined;
|
package/oncallEscalation.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"oncallEscalation.js","sourceRoot":"","sources":["../oncallEscalation.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IAAmC;QAC3H,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACvE,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,KAA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,CAAC;YAC1E,cAAc,CAAC,0BAA0B,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,wBAAwB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9F,cAAc,CAAC,qBAAqB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,CAAC,SAAS,CAAC;YACpF,cAAc,CAAC,mBAAmB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChF,cAAc,CAAC,8BAA8B,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,4BAA4B,CAAC,CAAC,CAAC,SAAS,CAAC;YACtG,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;SACzD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,gBAAgB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrE,CAAC;;AAtIL,4CAuIC;AAzHG,gBAAgB;AACO,6BAAY,GAAG,iDAAiD,CAAC"}
|
|
@@ -1,4 +1,26 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* * [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/escalation_chains/)
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* <!--Start PulumiCodeChooser -->
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as grafana from "@pulumiverse/grafana";
|
|
11
|
+
*
|
|
12
|
+
* const _default = new grafana.OncallEscalationChain("default", {}, {
|
|
13
|
+
* provider: grafana.oncall,
|
|
14
|
+
* });
|
|
15
|
+
* ```
|
|
16
|
+
* <!--End PulumiCodeChooser -->
|
|
17
|
+
*
|
|
18
|
+
* ## Import
|
|
19
|
+
*
|
|
20
|
+
* ```sh
|
|
21
|
+
* $ pulumi import grafana:index/oncallEscalationChain:OncallEscalationChain name "{{ id }}"
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
2
24
|
export declare class OncallEscalationChain extends pulumi.CustomResource {
|
|
3
25
|
/**
|
|
4
26
|
* Get an existing OncallEscalationChain resource's state with the given name, ID, and optional extra
|
|
@@ -20,8 +42,7 @@ export declare class OncallEscalationChain extends pulumi.CustomResource {
|
|
|
20
42
|
*/
|
|
21
43
|
readonly name: pulumi.Output<string>;
|
|
22
44
|
/**
|
|
23
|
-
* The ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team
|
|
24
|
-
* with OnCall). You can then get the ID using the `grafana_oncall_team` datasource.
|
|
45
|
+
* The ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team with OnCall). You can then get the ID using the `grafana.getOncallTeam` datasource.
|
|
25
46
|
*/
|
|
26
47
|
readonly teamId: pulumi.Output<string | undefined>;
|
|
27
48
|
/**
|
|
@@ -42,8 +63,7 @@ export interface OncallEscalationChainState {
|
|
|
42
63
|
*/
|
|
43
64
|
name?: pulumi.Input<string>;
|
|
44
65
|
/**
|
|
45
|
-
* The ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team
|
|
46
|
-
* with OnCall). You can then get the ID using the `grafana_oncall_team` datasource.
|
|
66
|
+
* The ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team with OnCall). You can then get the ID using the `grafana.getOncallTeam` datasource.
|
|
47
67
|
*/
|
|
48
68
|
teamId?: pulumi.Input<string>;
|
|
49
69
|
}
|
|
@@ -56,8 +76,7 @@ export interface OncallEscalationChainArgs {
|
|
|
56
76
|
*/
|
|
57
77
|
name?: pulumi.Input<string>;
|
|
58
78
|
/**
|
|
59
|
-
* The ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team
|
|
60
|
-
* with OnCall). You can then get the ID using the `grafana_oncall_team` datasource.
|
|
79
|
+
* The ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team with OnCall). You can then get the ID using the `grafana.getOncallTeam` datasource.
|
|
61
80
|
*/
|
|
62
81
|
teamId?: pulumi.Input<string>;
|
|
63
82
|
}
|
package/oncallEscalationChain.js
CHANGED
|
@@ -5,6 +5,28 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.OncallEscalationChain = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* * [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/escalation_chains/)
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* <!--Start PulumiCodeChooser -->
|
|
14
|
+
* ```typescript
|
|
15
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
16
|
+
* import * as grafana from "@pulumiverse/grafana";
|
|
17
|
+
*
|
|
18
|
+
* const _default = new grafana.OncallEscalationChain("default", {}, {
|
|
19
|
+
* provider: grafana.oncall,
|
|
20
|
+
* });
|
|
21
|
+
* ```
|
|
22
|
+
* <!--End PulumiCodeChooser -->
|
|
23
|
+
*
|
|
24
|
+
* ## Import
|
|
25
|
+
*
|
|
26
|
+
* ```sh
|
|
27
|
+
* $ pulumi import grafana:index/oncallEscalationChain:OncallEscalationChain name "{{ id }}"
|
|
28
|
+
* ```
|
|
29
|
+
*/
|
|
8
30
|
class OncallEscalationChain extends pulumi.CustomResource {
|
|
9
31
|
/**
|
|
10
32
|
* Get an existing OncallEscalationChain resource's state with the given name, ID, and optional extra
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"oncallEscalationChain.js","sourceRoot":"","sources":["../oncallEscalationChain.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,qBAAsB,SAAQ,MAAM,CAAC,cAAc;IAC5D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkC,EAAE,IAAmC;QAChI,OAAO,IAAI,qBAAqB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC5E,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,qBAAqB,CAAC,YAAY,CAAC;IACtE,CAAC;
|
|
1
|
+
{"version":3,"file":"oncallEscalationChain.js","sourceRoot":"","sources":["../oncallEscalationChain.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,MAAa,qBAAsB,SAAQ,MAAM,CAAC,cAAc;IAC5D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkC,EAAE,IAAmC;QAChI,OAAO,IAAI,qBAAqB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC5E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK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s from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* * [Official documentation](https://grafana.com/docs/oncall/latest/integrations/)
|
|
6
|
+
* * [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/)
|
|
7
|
+
*
|
|
8
|
+
* ## Import
|
|
9
|
+
*
|
|
10
|
+
* ```sh
|
|
11
|
+
* $ pulumi import grafana:index/oncallIntegration:OncallIntegration name "{{ id }}"
|
|
12
|
+
* ```
|
|
13
|
+
*/
|
|
4
14
|
export declare class OncallIntegration extends pulumi.CustomResource {
|
|
5
15
|
/**
|
|
6
16
|
* Get an existing OncallIntegration resource's state with the given name, ID, and optional extra
|
|
@@ -30,8 +40,7 @@ export declare class OncallIntegration extends pulumi.CustomResource {
|
|
|
30
40
|
*/
|
|
31
41
|
readonly name: pulumi.Output<string>;
|
|
32
42
|
/**
|
|
33
|
-
* The ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team
|
|
34
|
-
* with OnCall). You can then get the ID using the `grafana_oncall_team` datasource.
|
|
43
|
+
* The ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team with OnCall). You can then get the ID using the `grafana.getOncallTeam` datasource.
|
|
35
44
|
*/
|
|
36
45
|
readonly teamId: pulumi.Output<string | undefined>;
|
|
37
46
|
/**
|
|
@@ -39,9 +48,7 @@ export declare class OncallIntegration extends pulumi.CustomResource {
|
|
|
39
48
|
*/
|
|
40
49
|
readonly templates: pulumi.Output<outputs.OncallIntegrationTemplates | undefined>;
|
|
41
50
|
/**
|
|
42
|
-
* The type of integration. Can be grafana,
|
|
43
|
-
* pagerduty, pingdom, elastalert, amazon_sns, curler, sentry, formatted_webhook, heartbeat, demo, manual, stackdriver,
|
|
44
|
-
* uptimerobot, sentry_platform, zabbix, prtg, slack_channel, inbound_email, direct_paging, jira.
|
|
51
|
+
* The type of integration. Can be grafana, grafana*alerting, webhook, alertmanager, kapacitor, fabric, newrelic, datadog, pagerduty, pingdom, elastalert, amazon*sns, curler, sentry, formatted*webhook, heartbeat, demo, manual, stackdriver, uptimerobot, sentry*platform, zabbix, prtg, slack*channel, inbound*email, direct_paging, jira.
|
|
45
52
|
*/
|
|
46
53
|
readonly type: pulumi.Output<string>;
|
|
47
54
|
/**
|
|
@@ -70,8 +77,7 @@ export interface OncallIntegrationState {
|
|
|
70
77
|
*/
|
|
71
78
|
name?: pulumi.Input<string>;
|
|
72
79
|
/**
|
|
73
|
-
* The ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team
|
|
74
|
-
* with OnCall). You can then get the ID using the `grafana_oncall_team` datasource.
|
|
80
|
+
* The ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team with OnCall). You can then get the ID using the `grafana.getOncallTeam` datasource.
|
|
75
81
|
*/
|
|
76
82
|
teamId?: pulumi.Input<string>;
|
|
77
83
|
/**
|
|
@@ -79,9 +85,7 @@ export interface OncallIntegrationState {
|
|
|
79
85
|
*/
|
|
80
86
|
templates?: pulumi.Input<inputs.OncallIntegrationTemplates>;
|
|
81
87
|
/**
|
|
82
|
-
* The type of integration. Can be grafana,
|
|
83
|
-
* pagerduty, pingdom, elastalert, amazon_sns, curler, sentry, formatted_webhook, heartbeat, demo, manual, stackdriver,
|
|
84
|
-
* uptimerobot, sentry_platform, zabbix, prtg, slack_channel, inbound_email, direct_paging, jira.
|
|
88
|
+
* The type of integration. Can be grafana, grafana*alerting, webhook, alertmanager, kapacitor, fabric, newrelic, datadog, pagerduty, pingdom, elastalert, amazon*sns, curler, sentry, formatted*webhook, heartbeat, demo, manual, stackdriver, uptimerobot, sentry*platform, zabbix, prtg, slack*channel, inbound*email, direct_paging, jira.
|
|
85
89
|
*/
|
|
86
90
|
type?: pulumi.Input<string>;
|
|
87
91
|
}
|
|
@@ -98,8 +102,7 @@ export interface OncallIntegrationArgs {
|
|
|
98
102
|
*/
|
|
99
103
|
name?: pulumi.Input<string>;
|
|
100
104
|
/**
|
|
101
|
-
* The ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team
|
|
102
|
-
* with OnCall). You can then get the ID using the `grafana_oncall_team` datasource.
|
|
105
|
+
* The ID of the OnCall team. To get one, create a team in Grafana, and navigate to the OnCall plugin (to sync the team with OnCall). You can then get the ID using the `grafana.getOncallTeam` datasource.
|
|
103
106
|
*/
|
|
104
107
|
teamId?: pulumi.Input<string>;
|
|
105
108
|
/**
|
|
@@ -107,9 +110,7 @@ export interface OncallIntegrationArgs {
|
|
|
107
110
|
*/
|
|
108
111
|
templates?: pulumi.Input<inputs.OncallIntegrationTemplates>;
|
|
109
112
|
/**
|
|
110
|
-
* The type of integration. Can be grafana,
|
|
111
|
-
* pagerduty, pingdom, elastalert, amazon_sns, curler, sentry, formatted_webhook, heartbeat, demo, manual, stackdriver,
|
|
112
|
-
* uptimerobot, sentry_platform, zabbix, prtg, slack_channel, inbound_email, direct_paging, jira.
|
|
113
|
+
* The type of integration. Can be grafana, grafana*alerting, webhook, alertmanager, kapacitor, fabric, newrelic, datadog, pagerduty, pingdom, elastalert, amazon*sns, curler, sentry, formatted*webhook, heartbeat, demo, manual, stackdriver, uptimerobot, sentry*platform, zabbix, prtg, slack*channel, inbound*email, direct_paging, jira.
|
|
113
114
|
*/
|
|
114
115
|
type: pulumi.Input<string>;
|
|
115
116
|
}
|
package/oncallIntegration.js
CHANGED
|
@@ -5,6 +5,16 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.OncallIntegration = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* * [Official documentation](https://grafana.com/docs/oncall/latest/integrations/)
|
|
10
|
+
* * [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/)
|
|
11
|
+
*
|
|
12
|
+
* ## Import
|
|
13
|
+
*
|
|
14
|
+
* ```sh
|
|
15
|
+
* $ pulumi import grafana:index/oncallIntegration:OncallIntegration name "{{ id }}"
|
|
16
|
+
* ```
|
|
17
|
+
*/
|
|
8
18
|
class OncallIntegration extends pulumi.CustomResource {
|
|
9
19
|
/**
|
|
10
20
|
* Get an existing OncallIntegration resource's state with the given name, ID, and optional extra
|