@pulumi/pagerduty 3.5.0 → 3.6.0-alpha.1661919435
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/escalationPolicy.d.ts +0 -30
- package/escalationPolicy.js +0 -30
- package/escalationPolicy.js.map +1 -1
- package/eventOrchestrationRouter.d.ts +3 -2
- package/eventOrchestrationRouter.js +3 -2
- package/eventOrchestrationRouter.js.map +1 -1
- package/eventOrchestrationService.d.ts +1 -1
- package/eventOrchestrationService.js +1 -1
- package/eventOrchestrationUnrouted.d.ts +1 -1
- package/eventOrchestrationUnrouted.js +1 -1
- package/extensionServiceNow.d.ts +3 -3
- package/extensionServiceNow.js +3 -3
- package/getTeam.d.ts +0 -25
- package/getTeam.js +0 -25
- package/getTeam.js.map +1 -1
- package/getUsers.d.ts +62 -0
- package/getUsers.js +49 -0
- package/getUsers.js.map +1 -0
- package/index.d.ts +1 -0
- package/index.js +1 -0
- package/index.js.map +1 -1
- package/package.json +4 -3
- package/package.json.bak +2 -1
- package/package.json.dev +4 -3
- package/schedule.d.ts +2 -0
- package/schedule.js +2 -0
- package/schedule.js.map +1 -1
- package/service.d.ts +31 -6
- package/service.js +11 -6
- package/service.js.map +1 -1
- package/types/input.d.ts +42 -15
- package/types/output.d.ts +44 -3
package/escalationPolicy.d.ts
CHANGED
|
@@ -3,36 +3,6 @@ import { input as inputs, output as outputs } from "./types";
|
|
|
3
3
|
/**
|
|
4
4
|
* An [escalation policy](https://developer.pagerduty.com/api-reference/b3A6Mjc0ODEyNQ-create-an-escalation-policy) determines what user or schedule will be notified first, second, and so on when an incident is triggered. Escalation policies are used by one or more services.
|
|
5
5
|
*
|
|
6
|
-
* ## Example Usage
|
|
7
|
-
*
|
|
8
|
-
* ```typescript
|
|
9
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
-
* import * as pagerduty from "@pulumi/pagerduty";
|
|
11
|
-
*
|
|
12
|
-
* const exampleTeam = new pagerduty.Team("exampleTeam", {description: "All engineering"});
|
|
13
|
-
* const exampleUser = new pagerduty.User("exampleUser", {
|
|
14
|
-
* email: "125.greenholt.earline@graham.name",
|
|
15
|
-
* teams: [exampleTeam.id],
|
|
16
|
-
* });
|
|
17
|
-
* const exampleEscalationPolicy = new pagerduty.EscalationPolicy("exampleEscalationPolicy", {
|
|
18
|
-
* numLoops: 2,
|
|
19
|
-
* teams: [exampleTeam.id],
|
|
20
|
-
* rules: [{
|
|
21
|
-
* escalationDelayInMinutes: 10,
|
|
22
|
-
* targets: [
|
|
23
|
-
* {
|
|
24
|
-
* type: "user_reference",
|
|
25
|
-
* id: exampleUser.id,
|
|
26
|
-
* },
|
|
27
|
-
* {
|
|
28
|
-
* type: "user_reference",
|
|
29
|
-
* id: pagerduty_user.example2.id,
|
|
30
|
-
* },
|
|
31
|
-
* ],
|
|
32
|
-
* }],
|
|
33
|
-
* });
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
6
|
* ## Import
|
|
37
7
|
*
|
|
38
8
|
* Escalation policies can be imported using the `id`, e.g.
|
package/escalationPolicy.js
CHANGED
|
@@ -8,36 +8,6 @@ const utilities = require("./utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* An [escalation policy](https://developer.pagerduty.com/api-reference/b3A6Mjc0ODEyNQ-create-an-escalation-policy) determines what user or schedule will be notified first, second, and so on when an incident is triggered. Escalation policies are used by one or more services.
|
|
10
10
|
*
|
|
11
|
-
* ## Example Usage
|
|
12
|
-
*
|
|
13
|
-
* ```typescript
|
|
14
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
-
* import * as pagerduty from "@pulumi/pagerduty";
|
|
16
|
-
*
|
|
17
|
-
* const exampleTeam = new pagerduty.Team("exampleTeam", {description: "All engineering"});
|
|
18
|
-
* const exampleUser = new pagerduty.User("exampleUser", {
|
|
19
|
-
* email: "125.greenholt.earline@graham.name",
|
|
20
|
-
* teams: [exampleTeam.id],
|
|
21
|
-
* });
|
|
22
|
-
* const exampleEscalationPolicy = new pagerduty.EscalationPolicy("exampleEscalationPolicy", {
|
|
23
|
-
* numLoops: 2,
|
|
24
|
-
* teams: [exampleTeam.id],
|
|
25
|
-
* rules: [{
|
|
26
|
-
* escalationDelayInMinutes: 10,
|
|
27
|
-
* targets: [
|
|
28
|
-
* {
|
|
29
|
-
* type: "user_reference",
|
|
30
|
-
* id: exampleUser.id,
|
|
31
|
-
* },
|
|
32
|
-
* {
|
|
33
|
-
* type: "user_reference",
|
|
34
|
-
* id: pagerduty_user.example2.id,
|
|
35
|
-
* },
|
|
36
|
-
* ],
|
|
37
|
-
* }],
|
|
38
|
-
* });
|
|
39
|
-
* ```
|
|
40
|
-
*
|
|
41
11
|
* ## Import
|
|
42
12
|
*
|
|
43
13
|
* Escalation policies can be imported using the `id`, e.g.
|
package/escalationPolicy.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"escalationPolicy.js","sourceRoot":"","sources":["../escalationPolicy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"escalationPolicy.js","sourceRoot":"","sources":["../escalationPolicy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;GAUG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IAsDvD,YAAY,IAAY,EAAE,WAA0D,EAAE,IAAmC;;QACrH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAgD,CAAC;YAC/D,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,M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G,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;IA5ED;;;;;;;;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,KAAK,gBAAgB,CAAC,YAAY,CAAC;IACjE,CAAC;;AA1BL,4CA8EC;AAhEG,gBAAgB;AACO,6BAAY,GAAG,mDAAmD,CAAC"}
|
|
@@ -16,6 +16,7 @@ import { input as inputs, output as outputs } from "./types";
|
|
|
16
16
|
* const router = new pagerduty.EventOrchestrationRouter("router", {
|
|
17
17
|
* eventOrchestration: pagerduty_event_orchestration.my_monitor.id,
|
|
18
18
|
* set: {
|
|
19
|
+
* id: "start",
|
|
19
20
|
* rules: [
|
|
20
21
|
* {
|
|
21
22
|
* label: "Events relating to our relational database",
|
|
@@ -28,7 +29,7 @@ import { input as inputs, output as outputs } from "./types";
|
|
|
28
29
|
* },
|
|
29
30
|
* ],
|
|
30
31
|
* actions: {
|
|
31
|
-
* routeTo:
|
|
32
|
+
* routeTo: pagerduty_service.database.id,
|
|
32
33
|
* },
|
|
33
34
|
* },
|
|
34
35
|
* {
|
|
@@ -54,7 +55,7 @@ import { input as inputs, output as outputs } from "./types";
|
|
|
54
55
|
* Router can be imported using the `id` of the Event Orchestration, e.g.
|
|
55
56
|
*
|
|
56
57
|
* ```sh
|
|
57
|
-
* $ pulumi import pagerduty:index/eventOrchestrationRouter:EventOrchestrationRouter
|
|
58
|
+
* $ pulumi import pagerduty:index/eventOrchestrationRouter:EventOrchestrationRouter router 1b49abe7-26db-4439-a715-c6d883acfb3e
|
|
58
59
|
* ```
|
|
59
60
|
*/
|
|
60
61
|
export declare class EventOrchestrationRouter extends pulumi.CustomResource {
|
|
@@ -21,6 +21,7 @@ const utilities = require("./utilities");
|
|
|
21
21
|
* const router = new pagerduty.EventOrchestrationRouter("router", {
|
|
22
22
|
* eventOrchestration: pagerduty_event_orchestration.my_monitor.id,
|
|
23
23
|
* set: {
|
|
24
|
+
* id: "start",
|
|
24
25
|
* rules: [
|
|
25
26
|
* {
|
|
26
27
|
* label: "Events relating to our relational database",
|
|
@@ -33,7 +34,7 @@ const utilities = require("./utilities");
|
|
|
33
34
|
* },
|
|
34
35
|
* ],
|
|
35
36
|
* actions: {
|
|
36
|
-
* routeTo:
|
|
37
|
+
* routeTo: pagerduty_service.database.id,
|
|
37
38
|
* },
|
|
38
39
|
* },
|
|
39
40
|
* {
|
|
@@ -59,7 +60,7 @@ const utilities = require("./utilities");
|
|
|
59
60
|
* Router can be imported using the `id` of the Event Orchestration, e.g.
|
|
60
61
|
*
|
|
61
62
|
* ```sh
|
|
62
|
-
* $ pulumi import pagerduty:index/eventOrchestrationRouter:EventOrchestrationRouter
|
|
63
|
+
* $ pulumi import pagerduty:index/eventOrchestrationRouter:EventOrchestrationRouter router 1b49abe7-26db-4439-a715-c6d883acfb3e
|
|
63
64
|
* ```
|
|
64
65
|
*/
|
|
65
66
|
class EventOrchestrationRouter extends pulumi.CustomResource {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eventOrchestrationRouter.js","sourceRoot":"","sources":["../eventOrchestrationRouter.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC
|
|
1
|
+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AG,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAChD,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAC;aACtD;YACD,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,oBAAoB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC,CAAC,SAAS,CAAC;YAClF,cAAc,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;SACvD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,wBAAwB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7E,CAAC;IAzED;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqC,EAAE,IAAmC;QACnI,OAAO,IAAI,wBAAwB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC/E,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,wBAAwB,CAAC,YAAY,CAAC;IACzE,CAAC;;AA1BL,4DA2EC;AA7DG,gBAAgB;AACO,qCAAY,GAAG,mEAAmE,CAAC"}
|
|
@@ -6,7 +6,7 @@ import { input as inputs, output as outputs } from "./types";
|
|
|
6
6
|
* Service Orchestration can be imported using the `id` of the Service, e.g.
|
|
7
7
|
*
|
|
8
8
|
* ```sh
|
|
9
|
-
* $ pulumi import pagerduty:index/eventOrchestrationService:EventOrchestrationService
|
|
9
|
+
* $ pulumi import pagerduty:index/eventOrchestrationService:EventOrchestrationService service PFEODA7
|
|
10
10
|
* ```
|
|
11
11
|
*/
|
|
12
12
|
export declare class EventOrchestrationService extends pulumi.CustomResource {
|
|
@@ -11,7 +11,7 @@ const utilities = require("./utilities");
|
|
|
11
11
|
* Service Orchestration can be imported using the `id` of the Service, e.g.
|
|
12
12
|
*
|
|
13
13
|
* ```sh
|
|
14
|
-
* $ pulumi import pagerduty:index/eventOrchestrationService:EventOrchestrationService
|
|
14
|
+
* $ pulumi import pagerduty:index/eventOrchestrationService:EventOrchestrationService service PFEODA7
|
|
15
15
|
* ```
|
|
16
16
|
*/
|
|
17
17
|
class EventOrchestrationService extends pulumi.CustomResource {
|
|
@@ -45,7 +45,7 @@ import { input as inputs, output as outputs } from "./types";
|
|
|
45
45
|
* Unrouted Orchestration can be imported using the `id` of the Event Orchestration, e.g.
|
|
46
46
|
*
|
|
47
47
|
* ```sh
|
|
48
|
-
* $ pulumi import pagerduty:index/eventOrchestrationUnrouted:EventOrchestrationUnrouted
|
|
48
|
+
* $ pulumi import pagerduty:index/eventOrchestrationUnrouted:EventOrchestrationUnrouted unrouted 1b49abe7-26db-4439-a715-c6d883acfb3e
|
|
49
49
|
* ```
|
|
50
50
|
*/
|
|
51
51
|
export declare class EventOrchestrationUnrouted extends pulumi.CustomResource {
|
|
@@ -50,7 +50,7 @@ const utilities = require("./utilities");
|
|
|
50
50
|
* Unrouted Orchestration can be imported using the `id` of the Event Orchestration, e.g.
|
|
51
51
|
*
|
|
52
52
|
* ```sh
|
|
53
|
-
* $ pulumi import pagerduty:index/eventOrchestrationUnrouted:EventOrchestrationUnrouted
|
|
53
|
+
* $ pulumi import pagerduty:index/eventOrchestrationUnrouted:EventOrchestrationUnrouted unrouted 1b49abe7-26db-4439-a715-c6d883acfb3e
|
|
54
54
|
* ```
|
|
55
55
|
*/
|
|
56
56
|
class EventOrchestrationUnrouted extends pulumi.CustomResource {
|
package/extensionServiceNow.d.ts
CHANGED
|
@@ -8,8 +8,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
8
8
|
* import * as pulumi from "@pulumi/pulumi";
|
|
9
9
|
* import * as pagerduty from "@pulumi/pagerduty";
|
|
10
10
|
*
|
|
11
|
-
* const
|
|
12
|
-
* name: "
|
|
11
|
+
* const servicenow = pagerduty.getExtensionSchema({
|
|
12
|
+
* name: "ServiceNow (v7)",
|
|
13
13
|
* });
|
|
14
14
|
* const exampleUser = new pagerduty.User("exampleUser", {email: "howard.james@example.domain"});
|
|
15
15
|
* const exampleEscalationPolicy = new pagerduty.EscalationPolicy("exampleEscalationPolicy", {
|
|
@@ -28,7 +28,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
28
28
|
* escalationPolicy: exampleEscalationPolicy.id,
|
|
29
29
|
* });
|
|
30
30
|
* const snow = new pagerduty.ExtensionServiceNow("snow", {
|
|
31
|
-
* extensionSchema:
|
|
31
|
+
* extensionSchema: servicenow.then(servicenow => servicenow.id),
|
|
32
32
|
* extensionObjects: [exampleService.id],
|
|
33
33
|
* snowUser: "meeps",
|
|
34
34
|
* snowPassword: "zorz",
|
package/extensionServiceNow.js
CHANGED
|
@@ -14,8 +14,8 @@ const utilities = require("./utilities");
|
|
|
14
14
|
* import * as pulumi from "@pulumi/pulumi";
|
|
15
15
|
* import * as pagerduty from "@pulumi/pagerduty";
|
|
16
16
|
*
|
|
17
|
-
* const
|
|
18
|
-
* name: "
|
|
17
|
+
* const servicenow = pagerduty.getExtensionSchema({
|
|
18
|
+
* name: "ServiceNow (v7)",
|
|
19
19
|
* });
|
|
20
20
|
* const exampleUser = new pagerduty.User("exampleUser", {email: "howard.james@example.domain"});
|
|
21
21
|
* const exampleEscalationPolicy = new pagerduty.EscalationPolicy("exampleEscalationPolicy", {
|
|
@@ -34,7 +34,7 @@ const utilities = require("./utilities");
|
|
|
34
34
|
* escalationPolicy: exampleEscalationPolicy.id,
|
|
35
35
|
* });
|
|
36
36
|
* const snow = new pagerduty.ExtensionServiceNow("snow", {
|
|
37
|
-
* extensionSchema:
|
|
37
|
+
* extensionSchema: servicenow.then(servicenow => servicenow.id),
|
|
38
38
|
* extensionObjects: [exampleService.id],
|
|
39
39
|
* snowUser: "meeps",
|
|
40
40
|
* snowPassword: "zorz",
|
package/getTeam.d.ts
CHANGED
|
@@ -1,31 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
3
|
* Use this data source to get information about a specific [team](https://developer.pagerduty.com/api-reference/b3A6Mjc0ODIyMw-list-teams) that you can use for other PagerDuty resources.
|
|
4
|
-
*
|
|
5
|
-
* ## Example Usage
|
|
6
|
-
*
|
|
7
|
-
* ```typescript
|
|
8
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
-
* import * as pagerduty from "@pulumi/pagerduty";
|
|
10
|
-
*
|
|
11
|
-
* const me = pagerduty.getUser({
|
|
12
|
-
* email: "me@example.com",
|
|
13
|
-
* });
|
|
14
|
-
* const devops = pagerduty.getTeam({
|
|
15
|
-
* name: "devops",
|
|
16
|
-
* });
|
|
17
|
-
* const foo = new pagerduty.EscalationPolicy("foo", {
|
|
18
|
-
* numLoops: 2,
|
|
19
|
-
* teams: [devops.then(devops => devops.id)],
|
|
20
|
-
* rules: [{
|
|
21
|
-
* escalationDelayInMinutes: 10,
|
|
22
|
-
* targets: [{
|
|
23
|
-
* type: "user",
|
|
24
|
-
* id: me.then(me => me.id),
|
|
25
|
-
* }],
|
|
26
|
-
* }],
|
|
27
|
-
* });
|
|
28
|
-
* ```
|
|
29
4
|
*/
|
|
30
5
|
export declare function getTeam(args: GetTeamArgs, opts?: pulumi.InvokeOptions): Promise<GetTeamResult>;
|
|
31
6
|
/**
|
package/getTeam.js
CHANGED
|
@@ -7,31 +7,6 @@ const pulumi = require("@pulumi/pulumi");
|
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
9
|
* Use this data source to get information about a specific [team](https://developer.pagerduty.com/api-reference/b3A6Mjc0ODIyMw-list-teams) that you can use for other PagerDuty resources.
|
|
10
|
-
*
|
|
11
|
-
* ## Example Usage
|
|
12
|
-
*
|
|
13
|
-
* ```typescript
|
|
14
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
-
* import * as pagerduty from "@pulumi/pagerduty";
|
|
16
|
-
*
|
|
17
|
-
* const me = pagerduty.getUser({
|
|
18
|
-
* email: "me@example.com",
|
|
19
|
-
* });
|
|
20
|
-
* const devops = pagerduty.getTeam({
|
|
21
|
-
* name: "devops",
|
|
22
|
-
* });
|
|
23
|
-
* const foo = new pagerduty.EscalationPolicy("foo", {
|
|
24
|
-
* numLoops: 2,
|
|
25
|
-
* teams: [devops.then(devops => devops.id)],
|
|
26
|
-
* rules: [{
|
|
27
|
-
* escalationDelayInMinutes: 10,
|
|
28
|
-
* targets: [{
|
|
29
|
-
* type: "user",
|
|
30
|
-
* id: me.then(me => me.id),
|
|
31
|
-
* }],
|
|
32
|
-
* }],
|
|
33
|
-
* });
|
|
34
|
-
* ```
|
|
35
10
|
*/
|
|
36
11
|
function getTeam(args, opts) {
|
|
37
12
|
if (!opts) {
|
package/getTeam.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getTeam.js","sourceRoot":"","sources":["../getTeam.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getTeam.js","sourceRoot":"","sources":["../getTeam.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,OAAO,CAAC,IAAiB,EAAE,IAA2B;IAClE,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iCAAiC,EAAE;QAC5D,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,0BAUC;AAsCD,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAC9E,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC3D,CAAC;AAFD,sCAEC"}
|
package/getUsers.d.ts
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { output as outputs } from "./types";
|
|
3
|
+
/**
|
|
4
|
+
* Use this data source to get information about [list of users](https://developer.pagerduty.com/api-reference/b3A6Mjc0ODIzMw-list-users) that you can use for other PagerDuty resources, optionally filtering by team ids.
|
|
5
|
+
*
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as pagerduty from "@pulumi/pagerduty";
|
|
11
|
+
*
|
|
12
|
+
* const devops = pagerduty.getTeam({
|
|
13
|
+
* name: "devops",
|
|
14
|
+
* });
|
|
15
|
+
* const me = pagerduty.getUser({
|
|
16
|
+
* email: "me@example.com",
|
|
17
|
+
* });
|
|
18
|
+
* const exampleWTeam = new pagerduty.User("exampleWTeam", {email: "user-with-team@example.com"});
|
|
19
|
+
* const example = new pagerduty.TeamMembership("example", {
|
|
20
|
+
* teamId: pagerduty_team.devops.id,
|
|
21
|
+
* userId: exampleWTeam.id,
|
|
22
|
+
* });
|
|
23
|
+
* const allUsers = pagerduty.getUsers({});
|
|
24
|
+
* const fromDevopsTeam = pagerduty.getUsers({
|
|
25
|
+
* teamIds: [pagerduty_team.devops.id],
|
|
26
|
+
* });
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
29
|
+
export declare function getUsers(args?: GetUsersArgs, opts?: pulumi.InvokeOptions): Promise<GetUsersResult>;
|
|
30
|
+
/**
|
|
31
|
+
* A collection of arguments for invoking getUsers.
|
|
32
|
+
*/
|
|
33
|
+
export interface GetUsersArgs {
|
|
34
|
+
/**
|
|
35
|
+
* List of team IDs. Only results related to these teams will be returned. Account must have the `teams` ability to use this parameter.
|
|
36
|
+
*/
|
|
37
|
+
teamIds?: string[];
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* A collection of values returned by getUsers.
|
|
41
|
+
*/
|
|
42
|
+
export interface GetUsersResult {
|
|
43
|
+
/**
|
|
44
|
+
* The provider-assigned unique ID for this managed resource.
|
|
45
|
+
*/
|
|
46
|
+
readonly id: string;
|
|
47
|
+
readonly teamIds?: string[];
|
|
48
|
+
/**
|
|
49
|
+
* List of users queried.
|
|
50
|
+
*/
|
|
51
|
+
readonly users: outputs.GetUsersUser[];
|
|
52
|
+
}
|
|
53
|
+
export declare function getUsersOutput(args?: GetUsersOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetUsersResult>;
|
|
54
|
+
/**
|
|
55
|
+
* A collection of arguments for invoking getUsers.
|
|
56
|
+
*/
|
|
57
|
+
export interface GetUsersOutputArgs {
|
|
58
|
+
/**
|
|
59
|
+
* List of team IDs. Only results related to these teams will be returned. Account must have the `teams` ability to use this parameter.
|
|
60
|
+
*/
|
|
61
|
+
teamIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
62
|
+
}
|
package/getUsers.js
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getUsersOutput = exports.getUsers = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Use this data source to get information about [list of users](https://developer.pagerduty.com/api-reference/b3A6Mjc0ODIzMw-list-users) that you can use for other PagerDuty resources, optionally filtering by team ids.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as pagerduty from "@pulumi/pagerduty";
|
|
16
|
+
*
|
|
17
|
+
* const devops = pagerduty.getTeam({
|
|
18
|
+
* name: "devops",
|
|
19
|
+
* });
|
|
20
|
+
* const me = pagerduty.getUser({
|
|
21
|
+
* email: "me@example.com",
|
|
22
|
+
* });
|
|
23
|
+
* const exampleWTeam = new pagerduty.User("exampleWTeam", {email: "user-with-team@example.com"});
|
|
24
|
+
* const example = new pagerduty.TeamMembership("example", {
|
|
25
|
+
* teamId: pagerduty_team.devops.id,
|
|
26
|
+
* userId: exampleWTeam.id,
|
|
27
|
+
* });
|
|
28
|
+
* const allUsers = pagerduty.getUsers({});
|
|
29
|
+
* const fromDevopsTeam = pagerduty.getUsers({
|
|
30
|
+
* teamIds: [pagerduty_team.devops.id],
|
|
31
|
+
* });
|
|
32
|
+
* ```
|
|
33
|
+
*/
|
|
34
|
+
function getUsers(args, opts) {
|
|
35
|
+
args = args || {};
|
|
36
|
+
if (!opts) {
|
|
37
|
+
opts = {};
|
|
38
|
+
}
|
|
39
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
40
|
+
return pulumi.runtime.invoke("pagerduty:index/getUsers:getUsers", {
|
|
41
|
+
"teamIds": args.teamIds,
|
|
42
|
+
}, opts);
|
|
43
|
+
}
|
|
44
|
+
exports.getUsers = getUsers;
|
|
45
|
+
function getUsersOutput(args, opts) {
|
|
46
|
+
return pulumi.output(args).apply(a => getUsers(a, opts));
|
|
47
|
+
}
|
|
48
|
+
exports.getUsersOutput = getUsersOutput;
|
|
49
|
+
//# sourceMappingURL=getUsers.js.map
|
package/getUsers.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getUsers.js","sourceRoot":"","sources":["../getUsers.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,SAAgB,QAAQ,CAAC,IAAmB,EAAE,IAA2B;IACrE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,mCAAmC,EAAE;QAC9D,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,4BAUC;AA2BD,SAAgB,cAAc,CAAC,IAAyB,EAAE,IAA2B;IACjF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,QAAQ,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC5D,CAAC;AAFD,wCAEC"}
|
package/index.d.ts
CHANGED
|
@@ -22,6 +22,7 @@ export * from "./getTag";
|
|
|
22
22
|
export * from "./getTeam";
|
|
23
23
|
export * from "./getUser";
|
|
24
24
|
export * from "./getUserContactMethod";
|
|
25
|
+
export * from "./getUsers";
|
|
25
26
|
export * from "./getVendor";
|
|
26
27
|
export * from "./maintenanceWindow";
|
|
27
28
|
export * from "./provider";
|
package/index.js
CHANGED
|
@@ -44,6 +44,7 @@ __exportStar(require("./getTag"), exports);
|
|
|
44
44
|
__exportStar(require("./getTeam"), exports);
|
|
45
45
|
__exportStar(require("./getUser"), exports);
|
|
46
46
|
__exportStar(require("./getUserContactMethod"), exports);
|
|
47
|
+
__exportStar(require("./getUsers"), exports);
|
|
47
48
|
__exportStar(require("./getVendor"), exports);
|
|
48
49
|
__exportStar(require("./maintenanceWindow"), exports);
|
|
49
50
|
__exportStar(require("./provider"), exports);
|
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,kBAAkB;AAClB,0CAAwB;AACxB,oDAAkC;AAClC,8DAA4C;AAC5C,qDAAmC;AACnC,uDAAqC;AACrC,6DAA2C;AAC3C,8DAA4C;AAC5C,+DAA6C;AAC7C,8CAA4B;AAC5B,8CAA4B;AAC5B,wDAAsC;AACtC,uDAAqC;AACrC,wDAAsC;AACtC,0DAAwC;AACxC,uDAAqC;AACrC,gDAA8B;AAC9B,+CAA6B;AAC7B,gDAA8B;AAC9B,+CAA6B;AAC7B,0DAAwC;AACxC,2CAAyB;AACzB,4CAA0B;AAC1B,4CAA0B;AAC1B,yDAAuC;AACvC,8CAA4B;AAC5B,sDAAoC;AACpC,6CAA2B;AAC3B,iDAA+B;AAC/B,4CAA0B;AAC1B,gDAA8B;AAC9B,6CAA2B;AAC3B,4CAA0B;AAC1B,sDAAoC;AACpC,qDAAmC;AACnC,uDAAqC;AACrC,oDAAkC;AAClC,wCAAsB;AACtB,kDAAgC;AAChC,yCAAuB;AACvB,mDAAiC;AACjC,yCAAuB;AACvB,sDAAoC;AACpC,yDAAuC;AACvC,wDAAsC;AAEtC,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435+c2308cf2",
|
|
4
4
|
"description": "A Pulumi package for creating and managing pagerduty cloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"license": "Apache-2.0",
|
|
12
12
|
"scripts": {
|
|
13
13
|
"build": "tsc",
|
|
14
|
-
"install": "node scripts/install-pulumi-plugin.js resource pagerduty v3.
|
|
14
|
+
"install": "node scripts/install-pulumi-plugin.js resource pagerduty v3.6.0-alpha.1661919435+c2308cf2"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@pulumi/pulumi": "^3.0.0"
|
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
"typescript": "^4.3.5"
|
|
23
23
|
},
|
|
24
24
|
"pulumi": {
|
|
25
|
-
"resource": true
|
|
25
|
+
"resource": true,
|
|
26
|
+
"name": "pagerduty"
|
|
26
27
|
}
|
|
27
28
|
}
|
package/package.json.bak
CHANGED
package/package.json.dev
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/pagerduty",
|
|
3
|
-
"version": "v3.
|
|
3
|
+
"version": "v3.6.0-alpha.1661919435+c2308cf2",
|
|
4
4
|
"description": "A Pulumi package for creating and managing pagerduty cloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"license": "Apache-2.0",
|
|
12
12
|
"scripts": {
|
|
13
13
|
"build": "tsc",
|
|
14
|
-
"install": "node scripts/install-pulumi-plugin.js resource pagerduty v3.
|
|
14
|
+
"install": "node scripts/install-pulumi-plugin.js resource pagerduty v3.6.0-alpha.1661919435+c2308cf2"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@pulumi/pulumi": "^3.0.0"
|
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
"typescript": "^4.3.5"
|
|
23
23
|
},
|
|
24
24
|
"pulumi": {
|
|
25
|
-
"resource": true
|
|
25
|
+
"resource": true,
|
|
26
|
+
"name": "pagerduty"
|
|
26
27
|
}
|
|
27
28
|
}
|
package/schedule.d.ts
CHANGED
|
@@ -57,6 +57,7 @@ export declare class Schedule extends pulumi.CustomResource {
|
|
|
57
57
|
* The description of the schedule.
|
|
58
58
|
*/
|
|
59
59
|
readonly description: pulumi.Output<string>;
|
|
60
|
+
readonly finalSchedules: pulumi.Output<outputs.ScheduleFinalSchedule[]>;
|
|
60
61
|
/**
|
|
61
62
|
* A schedule layer block. Schedule layers documented below.
|
|
62
63
|
*/
|
|
@@ -96,6 +97,7 @@ export interface ScheduleState {
|
|
|
96
97
|
* The description of the schedule.
|
|
97
98
|
*/
|
|
98
99
|
description?: pulumi.Input<string>;
|
|
100
|
+
finalSchedules?: pulumi.Input<pulumi.Input<inputs.ScheduleFinalSchedule>[]>;
|
|
99
101
|
/**
|
|
100
102
|
* A schedule layer block. Schedule layers documented below.
|
|
101
103
|
*/
|
package/schedule.js
CHANGED
|
@@ -50,6 +50,7 @@ class Schedule extends pulumi.CustomResource {
|
|
|
50
50
|
if (opts.id) {
|
|
51
51
|
const state = argsOrState;
|
|
52
52
|
resourceInputs["description"] = state ? state.description : undefined;
|
|
53
|
+
resourceInputs["finalSchedules"] = state ? state.finalSchedules : undefined;
|
|
53
54
|
resourceInputs["layers"] = state ? state.layers : undefined;
|
|
54
55
|
resourceInputs["name"] = state ? state.name : undefined;
|
|
55
56
|
resourceInputs["overflow"] = state ? state.overflow : undefined;
|
|
@@ -70,6 +71,7 @@ class Schedule extends pulumi.CustomResource {
|
|
|
70
71
|
resourceInputs["overflow"] = args ? args.overflow : undefined;
|
|
71
72
|
resourceInputs["teams"] = args ? args.teams : undefined;
|
|
72
73
|
resourceInputs["timeZone"] = args ? args.timeZone : undefined;
|
|
74
|
+
resourceInputs["finalSchedules"] = undefined /*out*/;
|
|
73
75
|
}
|
|
74
76
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
75
77
|
super(Schedule.__pulumiType, name, resourceInputs, opts);
|
package/schedule.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schedule.js","sourceRoot":"","sources":["../schedule.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"schedule.js","sourceRoot":"","sources":["../schedule.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAgE/C,YAAY,IAAY,EAAE,WAA0C,EAAE,IAAmC;;QACrG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAwC,CAAC;YACvD,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,gBAAgB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,UAAU,CAAC,GAAG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AAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACxD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;IA7FD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqB,EAAE,IAAmC;QACnH,OAAO,IAAI,QAAQ,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC/D,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,QAAQ,CAAC,YAAY,CAAC;IACzD,CAAC;;AA1BL,4BA+FC;AAjFG,gBAAgB;AACO,qBAAY,GAAG,mCAAmC,CAAC"}
|
package/service.d.ts
CHANGED
|
@@ -9,16 +9,13 @@ import { input as inputs, output as outputs } from "./types";
|
|
|
9
9
|
* import * as pulumi from "@pulumi/pulumi";
|
|
10
10
|
* import * as pagerduty from "@pulumi/pagerduty";
|
|
11
11
|
*
|
|
12
|
-
* const exampleUser = new pagerduty.User("exampleUser", {
|
|
13
|
-
* email: "125.greenholt.earline@graham.name",
|
|
14
|
-
* teams: [pagerduty_team.example.id],
|
|
15
|
-
* });
|
|
12
|
+
* const exampleUser = new pagerduty.User("exampleUser", {email: "125.greenholt.earline@graham.name"});
|
|
16
13
|
* const foo = new pagerduty.EscalationPolicy("foo", {
|
|
17
14
|
* numLoops: 2,
|
|
18
15
|
* rules: [{
|
|
19
16
|
* escalationDelayInMinutes: 10,
|
|
20
17
|
* targets: [{
|
|
21
|
-
* type: "
|
|
18
|
+
* type: "user_reference",
|
|
22
19
|
* id: exampleUser.id,
|
|
23
20
|
* }],
|
|
24
21
|
* }],
|
|
@@ -26,8 +23,12 @@ import { input as inputs, output as outputs } from "./types";
|
|
|
26
23
|
* const exampleService = new pagerduty.Service("exampleService", {
|
|
27
24
|
* autoResolveTimeout: "14400",
|
|
28
25
|
* acknowledgementTimeout: "600",
|
|
29
|
-
* escalationPolicy:
|
|
26
|
+
* escalationPolicy: foo.id,
|
|
30
27
|
* alertCreation: "create_alerts_and_incidents",
|
|
28
|
+
* autoPauseNotificationsParameters: {
|
|
29
|
+
* enabled: true,
|
|
30
|
+
* timeout: 300,
|
|
31
|
+
* },
|
|
31
32
|
* });
|
|
32
33
|
* ```
|
|
33
34
|
*
|
|
@@ -79,6 +80,10 @@ export declare class Service extends pulumi.CustomResource {
|
|
|
79
80
|
* @deprecated Use `alert_grouping_parameters.config.timeout`
|
|
80
81
|
*/
|
|
81
82
|
readonly alertGroupingTimeout: pulumi.Output<string>;
|
|
83
|
+
/**
|
|
84
|
+
* Defines how alerts on this service are automatically suspended for a period of time before triggering, when identified as likely being transient. Note that automatically pausing notifications is only available on certain plans as mentioned [here](https://support.pagerduty.com/docs/auto-pause-incident-notifications).
|
|
85
|
+
*/
|
|
86
|
+
readonly autoPauseNotificationsParameters: pulumi.Output<outputs.ServiceAutoPauseNotificationsParameters>;
|
|
82
87
|
/**
|
|
83
88
|
* Time in seconds that an incident is automatically resolved if left open for that long. Disabled if set to the `"null"` string.
|
|
84
89
|
*/
|
|
@@ -96,6 +101,10 @@ export declare class Service extends pulumi.CustomResource {
|
|
|
96
101
|
* The name of the service.
|
|
97
102
|
*/
|
|
98
103
|
readonly name: pulumi.Output<string>;
|
|
104
|
+
/**
|
|
105
|
+
* The response play used by this service.
|
|
106
|
+
*/
|
|
107
|
+
readonly responsePlay: pulumi.Output<string | undefined>;
|
|
99
108
|
readonly scheduledActions: pulumi.Output<outputs.ServiceScheduledAction[] | undefined>;
|
|
100
109
|
readonly status: pulumi.Output<string>;
|
|
101
110
|
readonly supportHours: pulumi.Output<outputs.ServiceSupportHours | undefined>;
|
|
@@ -140,6 +149,10 @@ export interface ServiceState {
|
|
|
140
149
|
* @deprecated Use `alert_grouping_parameters.config.timeout`
|
|
141
150
|
*/
|
|
142
151
|
alertGroupingTimeout?: pulumi.Input<string>;
|
|
152
|
+
/**
|
|
153
|
+
* Defines how alerts on this service are automatically suspended for a period of time before triggering, when identified as likely being transient. Note that automatically pausing notifications is only available on certain plans as mentioned [here](https://support.pagerduty.com/docs/auto-pause-incident-notifications).
|
|
154
|
+
*/
|
|
155
|
+
autoPauseNotificationsParameters?: pulumi.Input<inputs.ServiceAutoPauseNotificationsParameters>;
|
|
143
156
|
/**
|
|
144
157
|
* Time in seconds that an incident is automatically resolved if left open for that long. Disabled if set to the `"null"` string.
|
|
145
158
|
*/
|
|
@@ -157,6 +170,10 @@ export interface ServiceState {
|
|
|
157
170
|
* The name of the service.
|
|
158
171
|
*/
|
|
159
172
|
name?: pulumi.Input<string>;
|
|
173
|
+
/**
|
|
174
|
+
* The response play used by this service.
|
|
175
|
+
*/
|
|
176
|
+
responsePlay?: pulumi.Input<string>;
|
|
160
177
|
scheduledActions?: pulumi.Input<pulumi.Input<inputs.ServiceScheduledAction>[]>;
|
|
161
178
|
status?: pulumi.Input<string>;
|
|
162
179
|
supportHours?: pulumi.Input<inputs.ServiceSupportHours>;
|
|
@@ -193,6 +210,10 @@ export interface ServiceArgs {
|
|
|
193
210
|
* @deprecated Use `alert_grouping_parameters.config.timeout`
|
|
194
211
|
*/
|
|
195
212
|
alertGroupingTimeout?: pulumi.Input<string>;
|
|
213
|
+
/**
|
|
214
|
+
* Defines how alerts on this service are automatically suspended for a period of time before triggering, when identified as likely being transient. Note that automatically pausing notifications is only available on certain plans as mentioned [here](https://support.pagerduty.com/docs/auto-pause-incident-notifications).
|
|
215
|
+
*/
|
|
216
|
+
autoPauseNotificationsParameters?: pulumi.Input<inputs.ServiceAutoPauseNotificationsParameters>;
|
|
196
217
|
/**
|
|
197
218
|
* Time in seconds that an incident is automatically resolved if left open for that long. Disabled if set to the `"null"` string.
|
|
198
219
|
*/
|
|
@@ -207,6 +228,10 @@ export interface ServiceArgs {
|
|
|
207
228
|
* The name of the service.
|
|
208
229
|
*/
|
|
209
230
|
name?: pulumi.Input<string>;
|
|
231
|
+
/**
|
|
232
|
+
* The response play used by this service.
|
|
233
|
+
*/
|
|
234
|
+
responsePlay?: pulumi.Input<string>;
|
|
210
235
|
scheduledActions?: pulumi.Input<pulumi.Input<inputs.ServiceScheduledAction>[]>;
|
|
211
236
|
supportHours?: pulumi.Input<inputs.ServiceSupportHours>;
|
|
212
237
|
}
|
package/service.js
CHANGED
|
@@ -14,16 +14,13 @@ const utilities = require("./utilities");
|
|
|
14
14
|
* import * as pulumi from "@pulumi/pulumi";
|
|
15
15
|
* import * as pagerduty from "@pulumi/pagerduty";
|
|
16
16
|
*
|
|
17
|
-
* const exampleUser = new pagerduty.User("exampleUser", {
|
|
18
|
-
* email: "125.greenholt.earline@graham.name",
|
|
19
|
-
* teams: [pagerduty_team.example.id],
|
|
20
|
-
* });
|
|
17
|
+
* const exampleUser = new pagerduty.User("exampleUser", {email: "125.greenholt.earline@graham.name"});
|
|
21
18
|
* const foo = new pagerduty.EscalationPolicy("foo", {
|
|
22
19
|
* numLoops: 2,
|
|
23
20
|
* rules: [{
|
|
24
21
|
* escalationDelayInMinutes: 10,
|
|
25
22
|
* targets: [{
|
|
26
|
-
* type: "
|
|
23
|
+
* type: "user_reference",
|
|
27
24
|
* id: exampleUser.id,
|
|
28
25
|
* }],
|
|
29
26
|
* }],
|
|
@@ -31,8 +28,12 @@ const utilities = require("./utilities");
|
|
|
31
28
|
* const exampleService = new pagerduty.Service("exampleService", {
|
|
32
29
|
* autoResolveTimeout: "14400",
|
|
33
30
|
* acknowledgementTimeout: "600",
|
|
34
|
-
* escalationPolicy:
|
|
31
|
+
* escalationPolicy: foo.id,
|
|
35
32
|
* alertCreation: "create_alerts_and_incidents",
|
|
33
|
+
* autoPauseNotificationsParameters: {
|
|
34
|
+
* enabled: true,
|
|
35
|
+
* timeout: 300,
|
|
36
|
+
* },
|
|
36
37
|
* });
|
|
37
38
|
* ```
|
|
38
39
|
*
|
|
@@ -56,6 +57,7 @@ class Service extends pulumi.CustomResource {
|
|
|
56
57
|
resourceInputs["alertGrouping"] = state ? state.alertGrouping : undefined;
|
|
57
58
|
resourceInputs["alertGroupingParameters"] = state ? state.alertGroupingParameters : undefined;
|
|
58
59
|
resourceInputs["alertGroupingTimeout"] = state ? state.alertGroupingTimeout : undefined;
|
|
60
|
+
resourceInputs["autoPauseNotificationsParameters"] = state ? state.autoPauseNotificationsParameters : undefined;
|
|
59
61
|
resourceInputs["autoResolveTimeout"] = state ? state.autoResolveTimeout : undefined;
|
|
60
62
|
resourceInputs["createdAt"] = state ? state.createdAt : undefined;
|
|
61
63
|
resourceInputs["description"] = state ? state.description : undefined;
|
|
@@ -64,6 +66,7 @@ class Service extends pulumi.CustomResource {
|
|
|
64
66
|
resourceInputs["incidentUrgencyRule"] = state ? state.incidentUrgencyRule : undefined;
|
|
65
67
|
resourceInputs["lastIncidentTimestamp"] = state ? state.lastIncidentTimestamp : undefined;
|
|
66
68
|
resourceInputs["name"] = state ? state.name : undefined;
|
|
69
|
+
resourceInputs["responsePlay"] = state ? state.responsePlay : undefined;
|
|
67
70
|
resourceInputs["scheduledActions"] = state ? state.scheduledActions : undefined;
|
|
68
71
|
resourceInputs["status"] = state ? state.status : undefined;
|
|
69
72
|
resourceInputs["supportHours"] = state ? state.supportHours : undefined;
|
|
@@ -79,11 +82,13 @@ class Service extends pulumi.CustomResource {
|
|
|
79
82
|
resourceInputs["alertGrouping"] = args ? args.alertGrouping : undefined;
|
|
80
83
|
resourceInputs["alertGroupingParameters"] = args ? args.alertGroupingParameters : undefined;
|
|
81
84
|
resourceInputs["alertGroupingTimeout"] = args ? args.alertGroupingTimeout : undefined;
|
|
85
|
+
resourceInputs["autoPauseNotificationsParameters"] = args ? args.autoPauseNotificationsParameters : undefined;
|
|
82
86
|
resourceInputs["autoResolveTimeout"] = args ? args.autoResolveTimeout : undefined;
|
|
83
87
|
resourceInputs["description"] = (_a = (args ? args.description : undefined)) !== null && _a !== void 0 ? _a : "Managed by Pulumi";
|
|
84
88
|
resourceInputs["escalationPolicy"] = args ? args.escalationPolicy : undefined;
|
|
85
89
|
resourceInputs["incidentUrgencyRule"] = args ? args.incidentUrgencyRule : undefined;
|
|
86
90
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
91
|
+
resourceInputs["responsePlay"] = args ? args.responsePlay : undefined;
|
|
87
92
|
resourceInputs["scheduledActions"] = args ? args.scheduledActions : undefined;
|
|
88
93
|
resourceInputs["supportHours"] = args ? args.supportHours : undefined;
|
|
89
94
|
resourceInputs["createdAt"] = undefined /*out*/;
|
package/service.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"service.js","sourceRoot":"","sources":["../service.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"service.js","sourceRoot":"","sources":["../service.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IA6F9C,YAAY,IAAY,EAAE,WAAwC,EAAE,IAAmC;;QACnG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EA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,CAAC;;AA1BL,0BAiJC;AAnIG,gBAAgB;AACO,oBAAY,GAAG,iCAAiC,CAAC"}
|
package/types/input.d.ts
CHANGED
|
@@ -549,41 +549,41 @@ export interface EventOrchestrationUnroutedSetRuleCondition {
|
|
|
549
549
|
*/
|
|
550
550
|
expression: pulumi.Input<string>;
|
|
551
551
|
}
|
|
552
|
-
export interface
|
|
552
|
+
export interface GetEventOrchestrationIntegration {
|
|
553
553
|
/**
|
|
554
554
|
* ID of the integration
|
|
555
555
|
* * `parameters`
|
|
556
556
|
*/
|
|
557
|
-
id?:
|
|
558
|
-
parameters?:
|
|
557
|
+
id?: string;
|
|
558
|
+
parameters?: inputs.GetEventOrchestrationIntegrationParameter[];
|
|
559
559
|
}
|
|
560
|
-
export interface
|
|
560
|
+
export interface GetEventOrchestrationIntegrationArgs {
|
|
561
561
|
/**
|
|
562
562
|
* ID of the integration
|
|
563
563
|
* * `parameters`
|
|
564
564
|
*/
|
|
565
|
-
id?: string
|
|
566
|
-
parameters?: inputs.
|
|
565
|
+
id?: pulumi.Input<string>;
|
|
566
|
+
parameters?: pulumi.Input<pulumi.Input<inputs.GetEventOrchestrationIntegrationParameterArgs>[]>;
|
|
567
567
|
}
|
|
568
|
-
export interface
|
|
568
|
+
export interface GetEventOrchestrationIntegrationParameter {
|
|
569
569
|
/**
|
|
570
570
|
* Routing key that routes to this Orchestration.
|
|
571
571
|
*/
|
|
572
|
-
routingKey?:
|
|
572
|
+
routingKey?: string;
|
|
573
573
|
/**
|
|
574
574
|
* Type of the routing key. `global` is the default type.
|
|
575
575
|
*/
|
|
576
|
-
type?:
|
|
576
|
+
type?: string;
|
|
577
577
|
}
|
|
578
|
-
export interface
|
|
578
|
+
export interface GetEventOrchestrationIntegrationParameterArgs {
|
|
579
579
|
/**
|
|
580
580
|
* Routing key that routes to this Orchestration.
|
|
581
581
|
*/
|
|
582
|
-
routingKey?: string
|
|
582
|
+
routingKey?: pulumi.Input<string>;
|
|
583
583
|
/**
|
|
584
584
|
* Type of the routing key. `global` is the default type.
|
|
585
585
|
*/
|
|
586
|
-
type?: string
|
|
586
|
+
type?: pulumi.Input<string>;
|
|
587
587
|
}
|
|
588
588
|
export interface ResponsePlayResponder {
|
|
589
589
|
/**
|
|
@@ -857,6 +857,13 @@ export interface RulesetTeam {
|
|
|
857
857
|
*/
|
|
858
858
|
id: pulumi.Input<string>;
|
|
859
859
|
}
|
|
860
|
+
export interface ScheduleFinalSchedule {
|
|
861
|
+
/**
|
|
862
|
+
* The name of the schedule.
|
|
863
|
+
*/
|
|
864
|
+
name?: pulumi.Input<string>;
|
|
865
|
+
renderedCoveragePercentage?: pulumi.Input<string>;
|
|
866
|
+
}
|
|
860
867
|
export interface ScheduleLayer {
|
|
861
868
|
/**
|
|
862
869
|
* The end time of the schedule layer. If not specified, the layer does not end.
|
|
@@ -870,6 +877,7 @@ export interface ScheduleLayer {
|
|
|
870
877
|
* The name of the schedule layer.
|
|
871
878
|
*/
|
|
872
879
|
name?: pulumi.Input<string>;
|
|
880
|
+
renderedCoveragePercentage?: pulumi.Input<string>;
|
|
873
881
|
/**
|
|
874
882
|
* A schedule layer restriction block. Restriction blocks documented below.
|
|
875
883
|
*/
|
|
@@ -915,7 +923,7 @@ export interface ServiceAlertGroupingParameters {
|
|
|
915
923
|
*/
|
|
916
924
|
config?: pulumi.Input<inputs.ServiceAlertGroupingParametersConfig>;
|
|
917
925
|
/**
|
|
918
|
-
* The type of
|
|
926
|
+
* The type of alert grouping; one of `intelligent`, `time` or `contentBased`.
|
|
919
927
|
*/
|
|
920
928
|
type?: pulumi.Input<string>;
|
|
921
929
|
}
|
|
@@ -933,15 +941,28 @@ export interface ServiceAlertGroupingParametersConfig {
|
|
|
933
941
|
*/
|
|
934
942
|
timeout?: pulumi.Input<number>;
|
|
935
943
|
}
|
|
944
|
+
export interface ServiceAutoPauseNotificationsParameters {
|
|
945
|
+
/**
|
|
946
|
+
* Indicates whether alerts should be automatically suspended when identified as transient. If not passed in, will default to 'false'.
|
|
947
|
+
*/
|
|
948
|
+
enabled?: pulumi.Input<boolean>;
|
|
949
|
+
/**
|
|
950
|
+
* Indicates in seconds how long alerts should be suspended before triggering. Allowed values: `120`, `180`, `300`, `600`, `900` if `enabled` is `true`. Must be omitted or set to `null` if `enabled` is `false`.
|
|
951
|
+
*/
|
|
952
|
+
timeout?: pulumi.Input<number>;
|
|
953
|
+
}
|
|
936
954
|
export interface ServiceDependencyDependency {
|
|
937
955
|
/**
|
|
938
|
-
* The service that dependents on the supporting service.
|
|
956
|
+
* The service that dependents on the supporting service. Dependency dependent service documented below.
|
|
939
957
|
*/
|
|
940
958
|
dependentServices: pulumi.Input<pulumi.Input<inputs.ServiceDependencyDependencyDependentService>[]>;
|
|
941
959
|
/**
|
|
942
|
-
* The service that supports the dependent service.
|
|
960
|
+
* The service that supports the dependent service. Dependency supporting service documented below.
|
|
943
961
|
*/
|
|
944
962
|
supportingServices: pulumi.Input<pulumi.Input<inputs.ServiceDependencyDependencySupportingService>[]>;
|
|
963
|
+
/**
|
|
964
|
+
* Can be `businessService`, `service`, `businessServiceReference` or `technicalServiceReference`.
|
|
965
|
+
*/
|
|
945
966
|
type?: pulumi.Input<string>;
|
|
946
967
|
}
|
|
947
968
|
export interface ServiceDependencyDependencyDependentService {
|
|
@@ -949,6 +970,9 @@ export interface ServiceDependencyDependencyDependentService {
|
|
|
949
970
|
* The ID of the service dependency.
|
|
950
971
|
*/
|
|
951
972
|
id: pulumi.Input<string>;
|
|
973
|
+
/**
|
|
974
|
+
* Can be `businessService`, `service`, `businessServiceReference` or `technicalServiceReference`.
|
|
975
|
+
*/
|
|
952
976
|
type: pulumi.Input<string>;
|
|
953
977
|
}
|
|
954
978
|
export interface ServiceDependencyDependencySupportingService {
|
|
@@ -956,6 +980,9 @@ export interface ServiceDependencyDependencySupportingService {
|
|
|
956
980
|
* The ID of the service dependency.
|
|
957
981
|
*/
|
|
958
982
|
id: pulumi.Input<string>;
|
|
983
|
+
/**
|
|
984
|
+
* Can be `businessService`, `service`, `businessServiceReference` or `technicalServiceReference`.
|
|
985
|
+
*/
|
|
959
986
|
type: pulumi.Input<string>;
|
|
960
987
|
}
|
|
961
988
|
export interface ServiceEventRuleActions {
|
package/types/output.d.ts
CHANGED
|
@@ -566,6 +566,20 @@ export interface GetEventOrchestrationIntegrationParameter {
|
|
|
566
566
|
*/
|
|
567
567
|
type: string;
|
|
568
568
|
}
|
|
569
|
+
export interface GetUsersUser {
|
|
570
|
+
/**
|
|
571
|
+
* The email to use to find a user in the PagerDuty API.
|
|
572
|
+
*/
|
|
573
|
+
email: string;
|
|
574
|
+
/**
|
|
575
|
+
* The ID of the found user.
|
|
576
|
+
*/
|
|
577
|
+
id: string;
|
|
578
|
+
/**
|
|
579
|
+
* The short name of the found user.
|
|
580
|
+
*/
|
|
581
|
+
name: string;
|
|
582
|
+
}
|
|
569
583
|
export interface ResponsePlayResponder {
|
|
570
584
|
/**
|
|
571
585
|
* Description of escalation policy
|
|
@@ -838,6 +852,13 @@ export interface RulesetTeam {
|
|
|
838
852
|
*/
|
|
839
853
|
id: string;
|
|
840
854
|
}
|
|
855
|
+
export interface ScheduleFinalSchedule {
|
|
856
|
+
/**
|
|
857
|
+
* The name of the schedule.
|
|
858
|
+
*/
|
|
859
|
+
name: string;
|
|
860
|
+
renderedCoveragePercentage: string;
|
|
861
|
+
}
|
|
841
862
|
export interface ScheduleLayer {
|
|
842
863
|
/**
|
|
843
864
|
* The end time of the schedule layer. If not specified, the layer does not end.
|
|
@@ -851,6 +872,7 @@ export interface ScheduleLayer {
|
|
|
851
872
|
* The name of the schedule layer.
|
|
852
873
|
*/
|
|
853
874
|
name: string;
|
|
875
|
+
renderedCoveragePercentage: string;
|
|
854
876
|
/**
|
|
855
877
|
* A schedule layer restriction block. Restriction blocks documented below.
|
|
856
878
|
*/
|
|
@@ -896,7 +918,7 @@ export interface ServiceAlertGroupingParameters {
|
|
|
896
918
|
*/
|
|
897
919
|
config?: outputs.ServiceAlertGroupingParametersConfig;
|
|
898
920
|
/**
|
|
899
|
-
* The type of
|
|
921
|
+
* The type of alert grouping; one of `intelligent`, `time` or `contentBased`.
|
|
900
922
|
*/
|
|
901
923
|
type?: string;
|
|
902
924
|
}
|
|
@@ -914,15 +936,28 @@ export interface ServiceAlertGroupingParametersConfig {
|
|
|
914
936
|
*/
|
|
915
937
|
timeout?: number;
|
|
916
938
|
}
|
|
939
|
+
export interface ServiceAutoPauseNotificationsParameters {
|
|
940
|
+
/**
|
|
941
|
+
* Indicates whether alerts should be automatically suspended when identified as transient. If not passed in, will default to 'false'.
|
|
942
|
+
*/
|
|
943
|
+
enabled: boolean;
|
|
944
|
+
/**
|
|
945
|
+
* Indicates in seconds how long alerts should be suspended before triggering. Allowed values: `120`, `180`, `300`, `600`, `900` if `enabled` is `true`. Must be omitted or set to `null` if `enabled` is `false`.
|
|
946
|
+
*/
|
|
947
|
+
timeout: number;
|
|
948
|
+
}
|
|
917
949
|
export interface ServiceDependencyDependency {
|
|
918
950
|
/**
|
|
919
|
-
* The service that dependents on the supporting service.
|
|
951
|
+
* The service that dependents on the supporting service. Dependency dependent service documented below.
|
|
920
952
|
*/
|
|
921
953
|
dependentServices: outputs.ServiceDependencyDependencyDependentService[];
|
|
922
954
|
/**
|
|
923
|
-
* The service that supports the dependent service.
|
|
955
|
+
* The service that supports the dependent service. Dependency supporting service documented below.
|
|
924
956
|
*/
|
|
925
957
|
supportingServices: outputs.ServiceDependencyDependencySupportingService[];
|
|
958
|
+
/**
|
|
959
|
+
* Can be `businessService`, `service`, `businessServiceReference` or `technicalServiceReference`.
|
|
960
|
+
*/
|
|
926
961
|
type?: string;
|
|
927
962
|
}
|
|
928
963
|
export interface ServiceDependencyDependencyDependentService {
|
|
@@ -930,6 +965,9 @@ export interface ServiceDependencyDependencyDependentService {
|
|
|
930
965
|
* The ID of the service dependency.
|
|
931
966
|
*/
|
|
932
967
|
id: string;
|
|
968
|
+
/**
|
|
969
|
+
* Can be `businessService`, `service`, `businessServiceReference` or `technicalServiceReference`.
|
|
970
|
+
*/
|
|
933
971
|
type: string;
|
|
934
972
|
}
|
|
935
973
|
export interface ServiceDependencyDependencySupportingService {
|
|
@@ -937,6 +975,9 @@ export interface ServiceDependencyDependencySupportingService {
|
|
|
937
975
|
* The ID of the service dependency.
|
|
938
976
|
*/
|
|
939
977
|
id: string;
|
|
978
|
+
/**
|
|
979
|
+
* Can be `businessService`, `service`, `businessServiceReference` or `technicalServiceReference`.
|
|
980
|
+
*/
|
|
940
981
|
type: string;
|
|
941
982
|
}
|
|
942
983
|
export interface ServiceEventRuleActions {
|