@pulumi/pagerduty 3.5.0 → 3.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/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/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/types/input.d.ts +19 -2
- package/types/output.d.ts +19 -2
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,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,C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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
|
+
{"version":3,"file":"eventOrchestrationRouter.js","sourceRoot":"","sources":["../eventOrchestrationRouter.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;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AAC,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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/pagerduty",
|
|
3
|
-
"version": "v3.5.
|
|
3
|
+
"version": "v3.5.1",
|
|
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.5.
|
|
14
|
+
"install": "node scripts/install-pulumi-plugin.js resource pagerduty v3.5.1"
|
|
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.5.
|
|
3
|
+
"version": "v3.5.1",
|
|
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.5.
|
|
14
|
+
"install": "node scripts/install-pulumi-plugin.js resource pagerduty v3.5.1"
|
|
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,CA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CAAC;IACzD,CAAC;;AA1BL,4BA+FC;AAjFG,gBAAgB;AACO,qBAAY,GAAG,mCAAmC,CAAC"}
|
package/types/input.d.ts
CHANGED
|
@@ -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
|
*/
|
|
@@ -935,13 +943,16 @@ export interface ServiceAlertGroupingParametersConfig {
|
|
|
935
943
|
}
|
|
936
944
|
export interface ServiceDependencyDependency {
|
|
937
945
|
/**
|
|
938
|
-
* The service that dependents on the supporting service.
|
|
946
|
+
* The service that dependents on the supporting service. Dependency dependent service documented below.
|
|
939
947
|
*/
|
|
940
948
|
dependentServices: pulumi.Input<pulumi.Input<inputs.ServiceDependencyDependencyDependentService>[]>;
|
|
941
949
|
/**
|
|
942
|
-
* The service that supports the dependent service.
|
|
950
|
+
* The service that supports the dependent service. Dependency supporting service documented below.
|
|
943
951
|
*/
|
|
944
952
|
supportingServices: pulumi.Input<pulumi.Input<inputs.ServiceDependencyDependencySupportingService>[]>;
|
|
953
|
+
/**
|
|
954
|
+
* Can be `businessService`, `service`, `businessServiceReference` or `technicalServiceReference`.
|
|
955
|
+
*/
|
|
945
956
|
type?: pulumi.Input<string>;
|
|
946
957
|
}
|
|
947
958
|
export interface ServiceDependencyDependencyDependentService {
|
|
@@ -949,6 +960,9 @@ export interface ServiceDependencyDependencyDependentService {
|
|
|
949
960
|
* The ID of the service dependency.
|
|
950
961
|
*/
|
|
951
962
|
id: pulumi.Input<string>;
|
|
963
|
+
/**
|
|
964
|
+
* Can be `businessService`, `service`, `businessServiceReference` or `technicalServiceReference`.
|
|
965
|
+
*/
|
|
952
966
|
type: pulumi.Input<string>;
|
|
953
967
|
}
|
|
954
968
|
export interface ServiceDependencyDependencySupportingService {
|
|
@@ -956,6 +970,9 @@ export interface ServiceDependencyDependencySupportingService {
|
|
|
956
970
|
* The ID of the service dependency.
|
|
957
971
|
*/
|
|
958
972
|
id: pulumi.Input<string>;
|
|
973
|
+
/**
|
|
974
|
+
* Can be `businessService`, `service`, `businessServiceReference` or `technicalServiceReference`.
|
|
975
|
+
*/
|
|
959
976
|
type: pulumi.Input<string>;
|
|
960
977
|
}
|
|
961
978
|
export interface ServiceEventRuleActions {
|
package/types/output.d.ts
CHANGED
|
@@ -838,6 +838,13 @@ export interface RulesetTeam {
|
|
|
838
838
|
*/
|
|
839
839
|
id: string;
|
|
840
840
|
}
|
|
841
|
+
export interface ScheduleFinalSchedule {
|
|
842
|
+
/**
|
|
843
|
+
* The name of the schedule.
|
|
844
|
+
*/
|
|
845
|
+
name: string;
|
|
846
|
+
renderedCoveragePercentage: string;
|
|
847
|
+
}
|
|
841
848
|
export interface ScheduleLayer {
|
|
842
849
|
/**
|
|
843
850
|
* The end time of the schedule layer. If not specified, the layer does not end.
|
|
@@ -851,6 +858,7 @@ export interface ScheduleLayer {
|
|
|
851
858
|
* The name of the schedule layer.
|
|
852
859
|
*/
|
|
853
860
|
name: string;
|
|
861
|
+
renderedCoveragePercentage: string;
|
|
854
862
|
/**
|
|
855
863
|
* A schedule layer restriction block. Restriction blocks documented below.
|
|
856
864
|
*/
|
|
@@ -916,13 +924,16 @@ export interface ServiceAlertGroupingParametersConfig {
|
|
|
916
924
|
}
|
|
917
925
|
export interface ServiceDependencyDependency {
|
|
918
926
|
/**
|
|
919
|
-
* The service that dependents on the supporting service.
|
|
927
|
+
* The service that dependents on the supporting service. Dependency dependent service documented below.
|
|
920
928
|
*/
|
|
921
929
|
dependentServices: outputs.ServiceDependencyDependencyDependentService[];
|
|
922
930
|
/**
|
|
923
|
-
* The service that supports the dependent service.
|
|
931
|
+
* The service that supports the dependent service. Dependency supporting service documented below.
|
|
924
932
|
*/
|
|
925
933
|
supportingServices: outputs.ServiceDependencyDependencySupportingService[];
|
|
934
|
+
/**
|
|
935
|
+
* Can be `businessService`, `service`, `businessServiceReference` or `technicalServiceReference`.
|
|
936
|
+
*/
|
|
926
937
|
type?: string;
|
|
927
938
|
}
|
|
928
939
|
export interface ServiceDependencyDependencyDependentService {
|
|
@@ -930,6 +941,9 @@ export interface ServiceDependencyDependencyDependentService {
|
|
|
930
941
|
* The ID of the service dependency.
|
|
931
942
|
*/
|
|
932
943
|
id: string;
|
|
944
|
+
/**
|
|
945
|
+
* Can be `businessService`, `service`, `businessServiceReference` or `technicalServiceReference`.
|
|
946
|
+
*/
|
|
933
947
|
type: string;
|
|
934
948
|
}
|
|
935
949
|
export interface ServiceDependencyDependencySupportingService {
|
|
@@ -937,6 +951,9 @@ export interface ServiceDependencyDependencySupportingService {
|
|
|
937
951
|
* The ID of the service dependency.
|
|
938
952
|
*/
|
|
939
953
|
id: string;
|
|
954
|
+
/**
|
|
955
|
+
* Can be `businessService`, `service`, `businessServiceReference` or `technicalServiceReference`.
|
|
956
|
+
*/
|
|
940
957
|
type: string;
|
|
941
958
|
}
|
|
942
959
|
export interface ServiceEventRuleActions {
|