@pulumi/pagerduty 4.29.5 → 4.29.6

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.
@@ -67,6 +67,26 @@ import * as outputs from "./types/output";
67
67
  * ```
68
68
  *
69
69
  * After:
70
+ * ```typescript
71
+ * import * as pulumi from "@pulumi/pulumi";
72
+ * import * as pagerduty from "@pulumi/pagerduty";
73
+ *
74
+ * const _default = pagerduty.getEscalationPolicy({
75
+ * name: "Default",
76
+ * });
77
+ * const foo = new pagerduty.Service("foo", {
78
+ * name: "Foo",
79
+ * escalationPolicy: _default.then(_default => _default.id),
80
+ * });
81
+ * const fooAlert = new pagerduty.AlertGroupingSetting("foo_alert", {
82
+ * name: "Alert Grouping for Foo-like services",
83
+ * type: "time",
84
+ * config: {
85
+ * time: null,
86
+ * },
87
+ * services: [foo.id],
88
+ * });
89
+ * ```
70
90
  *
71
91
  * ## Import
72
92
  *
@@ -71,6 +71,26 @@ const utilities = require("./utilities");
71
71
  * ```
72
72
  *
73
73
  * After:
74
+ * ```typescript
75
+ * import * as pulumi from "@pulumi/pulumi";
76
+ * import * as pagerduty from "@pulumi/pagerduty";
77
+ *
78
+ * const _default = pagerduty.getEscalationPolicy({
79
+ * name: "Default",
80
+ * });
81
+ * const foo = new pagerduty.Service("foo", {
82
+ * name: "Foo",
83
+ * escalationPolicy: _default.then(_default => _default.id),
84
+ * });
85
+ * const fooAlert = new pagerduty.AlertGroupingSetting("foo_alert", {
86
+ * name: "Alert Grouping for Foo-like services",
87
+ * type: "time",
88
+ * config: {
89
+ * time: null,
90
+ * },
91
+ * services: [foo.id],
92
+ * });
93
+ * ```
74
94
  *
75
95
  * ## Import
76
96
  *
@@ -1 +1 @@
1
- {"version":3,"file":"alertGroupingSetting.js","sourceRoot":"","sources":["../alertGroupingSetting.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;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,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,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,oBAAoB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzE,CAAC;;AAnFL,oDAoFC;AAtEG,gBAAgB;AACO,iCAAY,GAAG,2DAA2D,CAAC"}
@@ -8,6 +8,64 @@ import * as outputs from "./types/output";
8
8
  *
9
9
  * This example shows creating a global `Event Orchestration` and a `Cache Variable`. All events that have the `event.source` field will have its `source` value stored in this Cache Variable, and appended as a note for the subsequent incident created by this Event Orchestration.
10
10
  *
11
+ * ```typescript
12
+ * import * as pulumi from "@pulumi/pulumi";
13
+ * import * as pagerduty from "@pulumi/pagerduty";
14
+ *
15
+ * const databaseTeam = new pagerduty.Team("database_team", {name: "Database Team"});
16
+ * const eventOrchestration = new pagerduty.EventOrchestration("event_orchestration", {
17
+ * name: "Example Orchestration",
18
+ * team: databaseTeam.id,
19
+ * });
20
+ * const recentHost = new pagerduty.EventOrchestrationGlobalCacheVariable("recent_host", {
21
+ * eventOrchestration: eventOrchestration.id,
22
+ * name: "recent_host",
23
+ * conditions: [{
24
+ * expression: "event.source exists",
25
+ * }],
26
+ * configuration: {
27
+ * type: "recent_value",
28
+ * source: "event.source",
29
+ * regex: ".*",
30
+ * },
31
+ * });
32
+ * const hostIgnoreList = new pagerduty.EventOrchestrationServiceCacheVariable("host_ignore_list", {
33
+ * eventOrchestration: eventOrchestration.id,
34
+ * name: "host_ignore_list",
35
+ * configuration: {
36
+ * type: "external_data",
37
+ * dataType: "string",
38
+ * ttlSeconds: 3000,
39
+ * },
40
+ * });
41
+ * const global = new pagerduty.EventOrchestrationGlobal("global", {
42
+ * eventOrchestration: eventOrchestration.id,
43
+ * sets: [{
44
+ * id: "start",
45
+ * rules: [
46
+ * {
47
+ * label: "Drop events originating from hosts on the ignore list",
48
+ * conditions: [{
49
+ * expression: "cache_var.host_ignore_list matches part event.custom_details.host",
50
+ * }],
51
+ * actions: {
52
+ * drop: true,
53
+ * },
54
+ * },
55
+ * {
56
+ * label: "Always annotate the incident with the event source for all events",
57
+ * actions: {
58
+ * annotate: "Last time, we saw this incident occur on host: {{cache_var.recent_host}}",
59
+ * },
60
+ * },
61
+ * ],
62
+ * }],
63
+ * catchAll: {
64
+ * actions: {},
65
+ * },
66
+ * });
67
+ * ```
68
+ *
11
69
  * ## Import
12
70
  *
13
71
  * Cache Variables can be imported using colon-separated IDs, which is the combination of the Global Event Orchestration ID followed by the Cache Variable ID, e.g.
@@ -12,6 +12,64 @@ const utilities = require("./utilities");
12
12
  *
13
13
  * This example shows creating a global `Event Orchestration` and a `Cache Variable`. All events that have the `event.source` field will have its `source` value stored in this Cache Variable, and appended as a note for the subsequent incident created by this Event Orchestration.
14
14
  *
15
+ * ```typescript
16
+ * import * as pulumi from "@pulumi/pulumi";
17
+ * import * as pagerduty from "@pulumi/pagerduty";
18
+ *
19
+ * const databaseTeam = new pagerduty.Team("database_team", {name: "Database Team"});
20
+ * const eventOrchestration = new pagerduty.EventOrchestration("event_orchestration", {
21
+ * name: "Example Orchestration",
22
+ * team: databaseTeam.id,
23
+ * });
24
+ * const recentHost = new pagerduty.EventOrchestrationGlobalCacheVariable("recent_host", {
25
+ * eventOrchestration: eventOrchestration.id,
26
+ * name: "recent_host",
27
+ * conditions: [{
28
+ * expression: "event.source exists",
29
+ * }],
30
+ * configuration: {
31
+ * type: "recent_value",
32
+ * source: "event.source",
33
+ * regex: ".*",
34
+ * },
35
+ * });
36
+ * const hostIgnoreList = new pagerduty.EventOrchestrationServiceCacheVariable("host_ignore_list", {
37
+ * eventOrchestration: eventOrchestration.id,
38
+ * name: "host_ignore_list",
39
+ * configuration: {
40
+ * type: "external_data",
41
+ * dataType: "string",
42
+ * ttlSeconds: 3000,
43
+ * },
44
+ * });
45
+ * const global = new pagerduty.EventOrchestrationGlobal("global", {
46
+ * eventOrchestration: eventOrchestration.id,
47
+ * sets: [{
48
+ * id: "start",
49
+ * rules: [
50
+ * {
51
+ * label: "Drop events originating from hosts on the ignore list",
52
+ * conditions: [{
53
+ * expression: "cache_var.host_ignore_list matches part event.custom_details.host",
54
+ * }],
55
+ * actions: {
56
+ * drop: true,
57
+ * },
58
+ * },
59
+ * {
60
+ * label: "Always annotate the incident with the event source for all events",
61
+ * actions: {
62
+ * annotate: "Last time, we saw this incident occur on host: {{cache_var.recent_host}}",
63
+ * },
64
+ * },
65
+ * ],
66
+ * }],
67
+ * catchAll: {
68
+ * actions: {},
69
+ * },
70
+ * });
71
+ * ```
72
+ *
15
73
  * ## Import
16
74
  *
17
75
  * Cache Variables can be imported using colon-separated IDs, which is the combination of the Global Event Orchestration ID followed by the Cache Variable ID, e.g.
@@ -1 +1 @@
1
- {"version":3,"file":"eventOrchestrationGlobalCacheVariable.js","sourceRoot":"","sources":["../eventOrchestrationGlobalCacheVariable.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;GAcG;AACH,MAAa,qCAAsC,SAAQ,MAAM,CAAC,cAAc;IAC5E;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkD,EAAE,IAAmC;QAChJ,OAAO,IAAI,qCAAqC,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC5F,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAA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1,6 @@
1
1
  {
2
2
  "name": "@pulumi/pagerduty",
3
- "version": "4.29.5",
3
+ "version": "4.29.6",
4
4
  "description": "A Pulumi package for creating and managing pagerduty cloud resources.",
5
5
  "keywords": [
6
6
  "pulumi",
@@ -23,6 +23,6 @@
23
23
  "pulumi": {
24
24
  "resource": true,
25
25
  "name": "pagerduty",
26
- "version": "4.29.5"
26
+ "version": "4.29.6"
27
27
  }
28
28
  }
@@ -6,6 +6,32 @@ import * as outputs from "./types/output";
6
6
  *
7
7
  * ## Example Usage
8
8
  *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as pagerduty from "@pulumi/pagerduty";
12
+ *
13
+ * const foo = new pagerduty.ServiceDependency("foo", {dependency: {
14
+ * dependentService: {
15
+ * id: fooPagerdutyBusinessService.id,
16
+ * type: fooPagerdutyBusinessService.type,
17
+ * },
18
+ * supportingService: {
19
+ * id: fooPagerdutyService.id,
20
+ * type: fooPagerdutyService.type,
21
+ * },
22
+ * }});
23
+ * const bar = new pagerduty.ServiceDependency("bar", {dependency: {
24
+ * dependentService: {
25
+ * id: fooPagerdutyBusinessService.id,
26
+ * type: fooPagerdutyBusinessService.type,
27
+ * },
28
+ * supportingService: {
29
+ * id: two.id,
30
+ * type: two.type,
31
+ * },
32
+ * }});
33
+ * ```
34
+ *
9
35
  * ## Import
10
36
  *
11
37
  * Service dependencies can be imported using the related supporting service id, supporting service type (`business_service` or `service`) and the dependency id separated by a dot, e.g.
@@ -10,6 +10,32 @@ const utilities = require("./utilities");
10
10
  *
11
11
  * ## Example Usage
12
12
  *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as pagerduty from "@pulumi/pagerduty";
16
+ *
17
+ * const foo = new pagerduty.ServiceDependency("foo", {dependency: {
18
+ * dependentService: {
19
+ * id: fooPagerdutyBusinessService.id,
20
+ * type: fooPagerdutyBusinessService.type,
21
+ * },
22
+ * supportingService: {
23
+ * id: fooPagerdutyService.id,
24
+ * type: fooPagerdutyService.type,
25
+ * },
26
+ * }});
27
+ * const bar = new pagerduty.ServiceDependency("bar", {dependency: {
28
+ * dependentService: {
29
+ * id: fooPagerdutyBusinessService.id,
30
+ * type: fooPagerdutyBusinessService.type,
31
+ * },
32
+ * supportingService: {
33
+ * id: two.id,
34
+ * type: two.type,
35
+ * },
36
+ * }});
37
+ * ```
38
+ *
13
39
  * ## Import
14
40
  *
15
41
  * Service dependencies can be imported using the related supporting service id, supporting service type (`business_service` or `service`) and the dependency id separated by a dot, e.g.
@@ -1 +1 @@
1
- {"version":3,"file":"serviceDependency.js","sourceRoot":"","sources":["../serviceDependency.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;GAYG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA8B,EAAE,IAAmC;QAC5H,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;IAeD,YAAY,IAAY,EAAE,WAA4D,EAAE,IAAmC;QACvH,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,YAAY,CAAC,GAAG,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