@pulumi/pagerduty 3.4.0 → 3.4.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.
Files changed (65) hide show
  1. package/addon.d.ts +1 -1
  2. package/addon.js +1 -1
  3. package/businessService.d.ts +1 -1
  4. package/businessService.js +1 -1
  5. package/escalationPolicy.d.ts +3 -3
  6. package/escalationPolicy.js +3 -3
  7. package/extension.d.ts +3 -3
  8. package/extension.js +3 -3
  9. package/extensionServiceNow.d.ts +3 -3
  10. package/extensionServiceNow.js +3 -3
  11. package/getEscalationPolicy.d.ts +3 -3
  12. package/getEscalationPolicy.js +3 -3
  13. package/getExtensionSchema.d.ts +3 -3
  14. package/getExtensionSchema.js +3 -3
  15. package/getPriority.d.ts +2 -2
  16. package/getPriority.js +2 -2
  17. package/getRuleset.d.ts +2 -2
  18. package/getRuleset.js +2 -2
  19. package/getSchedule.d.ts +1 -1
  20. package/getSchedule.js +1 -1
  21. package/getTeam.d.ts +1 -1
  22. package/getTeam.js +1 -1
  23. package/getUser.d.ts +1 -1
  24. package/getUser.js +1 -1
  25. package/getUserContactMethod.d.ts +1 -1
  26. package/getUserContactMethod.js +1 -1
  27. package/getVendor.d.ts +3 -3
  28. package/getVendor.js +3 -3
  29. package/maintenanceWindow.d.ts +1 -1
  30. package/maintenanceWindow.js +1 -1
  31. package/package.json +2 -2
  32. package/package.json.dev +2 -2
  33. package/responsePlay.d.ts +1 -1
  34. package/responsePlay.js +1 -1
  35. package/rulesetRule.d.ts +12 -0
  36. package/rulesetRule.js +2 -0
  37. package/rulesetRule.js.map +1 -1
  38. package/schedule.d.ts +1 -1
  39. package/schedule.js +1 -1
  40. package/service.d.ts +3 -3
  41. package/service.js +3 -3
  42. package/serviceDependency.d.ts +1 -1
  43. package/serviceDependency.js +1 -1
  44. package/serviceEventRule.d.ts +2 -2
  45. package/serviceEventRule.js +2 -2
  46. package/serviceIntegration.d.ts +3 -3
  47. package/serviceIntegration.js +3 -3
  48. package/slackConnection.d.ts +1 -0
  49. package/slackConnection.js +1 -0
  50. package/slackConnection.js.map +1 -1
  51. package/tag.d.ts +1 -1
  52. package/tag.js +1 -1
  53. package/tagAssignment.d.ts +1 -19
  54. package/tagAssignment.js +1 -19
  55. package/tagAssignment.js.map +1 -1
  56. package/team.d.ts +1 -1
  57. package/team.js +1 -1
  58. package/teamMembership.d.ts +1 -1
  59. package/teamMembership.js +1 -1
  60. package/user.d.ts +1 -1
  61. package/user.js +1 -1
  62. package/userContactMethod.d.ts +3 -3
  63. package/userContactMethod.js +3 -3
  64. package/userNotificationRule.d.ts +3 -3
  65. package/userNotificationRule.js +3 -3
package/addon.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
- * With [add-ons](https://v2.developer.pagerduty.com/v2/page/api-reference#!/Add-ons/get_addons), third-party developers can write their own add-ons to PagerDuty's UI. Given a configuration containing a src parameter, that URL will be embedded in an iframe on a page that's available to users from a drop-down menu.
3
+ * With [add-ons](https://developer.pagerduty.com/api-reference/b3A6Mjc0ODEwNQ-install-an-add-on), third-party developers can write their own add-ons to PagerDuty's UI. Given a configuration containing a src parameter, that URL will be embedded in an iframe on a page that's available to users from a drop-down menu.
4
4
  *
5
5
  * ## Example Usage
6
6
  *
package/addon.js CHANGED
@@ -6,7 +6,7 @@ exports.Addon = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
- * With [add-ons](https://v2.developer.pagerduty.com/v2/page/api-reference#!/Add-ons/get_addons), third-party developers can write their own add-ons to PagerDuty's UI. Given a configuration containing a src parameter, that URL will be embedded in an iframe on a page that's available to users from a drop-down menu.
9
+ * With [add-ons](https://developer.pagerduty.com/api-reference/b3A6Mjc0ODEwNQ-install-an-add-on), third-party developers can write their own add-ons to PagerDuty's UI. Given a configuration containing a src parameter, that URL will be embedded in an iframe on a page that's available to users from a drop-down menu.
10
10
  *
11
11
  * ## Example Usage
12
12
  *
@@ -1,6 +1,6 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
- * A [business service](https://developer.pagerduty.com/api-reference/reference/REST/openapiv3.json/paths/~1business_services/get) allows you to model capabilities that span multiple technical services and that may be owned by several different teams.
3
+ * A [business service](https://developer.pagerduty.com/api-reference/b3A6Mjc0ODExNg-create-a-business-service) allows you to model capabilities that span multiple technical services and that may be owned by several different teams.
4
4
  *
5
5
  * ## Example Usage
6
6
  *
@@ -6,7 +6,7 @@ exports.BusinessService = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
- * A [business service](https://developer.pagerduty.com/api-reference/reference/REST/openapiv3.json/paths/~1business_services/get) allows you to model capabilities that span multiple technical services and that may be owned by several different teams.
9
+ * A [business service](https://developer.pagerduty.com/api-reference/b3A6Mjc0ODExNg-create-a-business-service) allows you to model capabilities that span multiple technical services and that may be owned by several different teams.
10
10
  *
11
11
  * ## Example Usage
12
12
  *
@@ -1,7 +1,7 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  import { input as inputs, output as outputs } from "./types";
3
3
  /**
4
- * An [escalation policy](https://developer.pagerduty.com/api-reference/reference/REST/openapiv3.json/paths/~1escalation_policies/get) 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.
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
6
  * ## Example Usage
7
7
  *
@@ -21,11 +21,11 @@ import { input as inputs, output as outputs } from "./types";
21
21
  * escalationDelayInMinutes: 10,
22
22
  * targets: [
23
23
  * {
24
- * type: "user",
24
+ * type: "user_reference",
25
25
  * id: exampleUser.id,
26
26
  * },
27
27
  * {
28
- * type: "user",
28
+ * type: "user_reference",
29
29
  * id: pagerduty_user.example2.id,
30
30
  * },
31
31
  * ],
@@ -6,7 +6,7 @@ exports.EscalationPolicy = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
- * An [escalation policy](https://developer.pagerduty.com/api-reference/reference/REST/openapiv3.json/paths/~1escalation_policies/get) 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.
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
11
  * ## Example Usage
12
12
  *
@@ -26,11 +26,11 @@ const utilities = require("./utilities");
26
26
  * escalationDelayInMinutes: 10,
27
27
  * targets: [
28
28
  * {
29
- * type: "user",
29
+ * type: "user_reference",
30
30
  * id: exampleUser.id,
31
31
  * },
32
32
  * {
33
- * type: "user",
33
+ * type: "user_reference",
34
34
  * id: pagerduty_user.example2.id,
35
35
  * },
36
36
  * ],
package/extension.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
- * An [extension](https://developer.pagerduty.com/api-reference/reference/REST/openapiv3.json/paths/~1extensions/post) can be associated with a service.
3
+ * An [extension](https://developer.pagerduty.com/api-reference/b3A6Mjc0ODEzMw-create-an-extension) can be associated with a service.
4
4
  *
5
5
  * ## Example Usage
6
6
  *
@@ -23,8 +23,8 @@ import * as pulumi from "@pulumi/pulumi";
23
23
  * }],
24
24
  * });
25
25
  * const exampleService = new pagerduty.Service("exampleService", {
26
- * autoResolveTimeout: 14400,
27
- * acknowledgementTimeout: 600,
26
+ * autoResolveTimeout: "14400",
27
+ * acknowledgementTimeout: "600",
28
28
  * escalationPolicy: exampleEscalationPolicy.id,
29
29
  * });
30
30
  * const slack = new pagerduty.Extension("slack", {
package/extension.js CHANGED
@@ -6,7 +6,7 @@ exports.Extension = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
- * An [extension](https://developer.pagerduty.com/api-reference/reference/REST/openapiv3.json/paths/~1extensions/post) can be associated with a service.
9
+ * An [extension](https://developer.pagerduty.com/api-reference/b3A6Mjc0ODEzMw-create-an-extension) can be associated with a service.
10
10
  *
11
11
  * ## Example Usage
12
12
  *
@@ -29,8 +29,8 @@ const utilities = require("./utilities");
29
29
  * }],
30
30
  * });
31
31
  * const exampleService = new pagerduty.Service("exampleService", {
32
- * autoResolveTimeout: 14400,
33
- * acknowledgementTimeout: 600,
32
+ * autoResolveTimeout: "14400",
33
+ * acknowledgementTimeout: "600",
34
34
  * escalationPolicy: exampleEscalationPolicy.id,
35
35
  * });
36
36
  * const slack = new pagerduty.Extension("slack", {
@@ -1,6 +1,6 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
- * A special case for [extension](https://developer.pagerduty.com/api-reference/reference/REST/openapiv3.json/paths/~1extensions/post) for ServiceNow.
3
+ * A special case for [extension](https://developer.pagerduty.com/api-reference/b3A6Mjc0ODEzMw-create-an-extension) for ServiceNow.
4
4
  *
5
5
  * ## Example Usage
6
6
  *
@@ -23,8 +23,8 @@ import * as pulumi from "@pulumi/pulumi";
23
23
  * }],
24
24
  * });
25
25
  * const exampleService = new pagerduty.Service("exampleService", {
26
- * autoResolveTimeout: 14400,
27
- * acknowledgementTimeout: 600,
26
+ * autoResolveTimeout: "14400",
27
+ * acknowledgementTimeout: "600",
28
28
  * escalationPolicy: exampleEscalationPolicy.id,
29
29
  * });
30
30
  * const snow = new pagerduty.ExtensionServiceNow("snow", {
@@ -6,7 +6,7 @@ exports.ExtensionServiceNow = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
- * A special case for [extension](https://developer.pagerduty.com/api-reference/reference/REST/openapiv3.json/paths/~1extensions/post) for ServiceNow.
9
+ * A special case for [extension](https://developer.pagerduty.com/api-reference/b3A6Mjc0ODEzMw-create-an-extension) for ServiceNow.
10
10
  *
11
11
  * ## Example Usage
12
12
  *
@@ -29,8 +29,8 @@ const utilities = require("./utilities");
29
29
  * }],
30
30
  * });
31
31
  * const exampleService = new pagerduty.Service("exampleService", {
32
- * autoResolveTimeout: 14400,
33
- * acknowledgementTimeout: 600,
32
+ * autoResolveTimeout: "14400",
33
+ * acknowledgementTimeout: "600",
34
34
  * escalationPolicy: exampleEscalationPolicy.id,
35
35
  * });
36
36
  * const snow = new pagerduty.ExtensionServiceNow("snow", {
@@ -1,6 +1,6 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
- * Use this data source to get information about a specific [escalation policy](https://developer.pagerduty.com/api-reference/reference/REST/openapiv3.json/paths/~1escalation_policies/get) that you can use for other PagerDuty resources.
3
+ * Use this data source to get information about a specific [escalation policy](https://developer.pagerduty.com/api-reference/b3A6Mjc0ODEyNA-list-escalation-policies) that you can use for other PagerDuty resources.
4
4
  *
5
5
  * ## Example Usage
6
6
  *
@@ -12,8 +12,8 @@ import * as pulumi from "@pulumi/pulumi";
12
12
  * name: "Engineering Escalation Policy",
13
13
  * });
14
14
  * const testService = new pagerduty.Service("testService", {
15
- * autoResolveTimeout: 14400,
16
- * acknowledgementTimeout: 600,
15
+ * autoResolveTimeout: "14400",
16
+ * acknowledgementTimeout: "600",
17
17
  * escalationPolicy: testEscalationPolicy.then(testEscalationPolicy => testEscalationPolicy.id),
18
18
  * });
19
19
  * ```
@@ -6,7 +6,7 @@ exports.getEscalationPolicyOutput = exports.getEscalationPolicy = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
- * Use this data source to get information about a specific [escalation policy](https://developer.pagerduty.com/api-reference/reference/REST/openapiv3.json/paths/~1escalation_policies/get) that you can use for other PagerDuty resources.
9
+ * Use this data source to get information about a specific [escalation policy](https://developer.pagerduty.com/api-reference/b3A6Mjc0ODEyNA-list-escalation-policies) that you can use for other PagerDuty resources.
10
10
  *
11
11
  * ## Example Usage
12
12
  *
@@ -18,8 +18,8 @@ const utilities = require("./utilities");
18
18
  * name: "Engineering Escalation Policy",
19
19
  * });
20
20
  * const testService = new pagerduty.Service("testService", {
21
- * autoResolveTimeout: 14400,
22
- * acknowledgementTimeout: 600,
21
+ * autoResolveTimeout: "14400",
22
+ * acknowledgementTimeout: "600",
23
23
  * escalationPolicy: testEscalationPolicy.then(testEscalationPolicy => testEscalationPolicy.id),
24
24
  * });
25
25
  * ```
@@ -1,6 +1,6 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
- * Use this data source to get information about a specific [extension](https://v2.developer.pagerduty.com/v2/page/api-reference#!/Extension_Schemas/get_extension_schemas) vendor that you can use for a service (e.g: Slack, Generic Webhook, ServiceNow).
3
+ * Use this data source to get information about a specific [extension](https://developer.pagerduty.com/api-reference/b3A6Mjc0ODEzMA-list-extension-schemas) vendor that you can use for a service (e.g: Slack, Generic Webhook, ServiceNow).
4
4
  *
5
5
  * ## Example Usage
6
6
  *
@@ -26,8 +26,8 @@ import * as pulumi from "@pulumi/pulumi";
26
26
  * }],
27
27
  * });
28
28
  * const exampleService = new pagerduty.Service("exampleService", {
29
- * autoResolveTimeout: 14400,
30
- * acknowledgementTimeout: 600,
29
+ * autoResolveTimeout: "14400",
30
+ * acknowledgementTimeout: "600",
31
31
  * escalationPolicy: pagerduty_escalation_policy.example.id,
32
32
  * });
33
33
  * const slack = new pagerduty.Extension("slack", {
@@ -6,7 +6,7 @@ exports.getExtensionSchemaOutput = exports.getExtensionSchema = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
- * Use this data source to get information about a specific [extension](https://v2.developer.pagerduty.com/v2/page/api-reference#!/Extension_Schemas/get_extension_schemas) vendor that you can use for a service (e.g: Slack, Generic Webhook, ServiceNow).
9
+ * Use this data source to get information about a specific [extension](https://developer.pagerduty.com/api-reference/b3A6Mjc0ODEzMA-list-extension-schemas) vendor that you can use for a service (e.g: Slack, Generic Webhook, ServiceNow).
10
10
  *
11
11
  * ## Example Usage
12
12
  *
@@ -32,8 +32,8 @@ const utilities = require("./utilities");
32
32
  * }],
33
33
  * });
34
34
  * const exampleService = new pagerduty.Service("exampleService", {
35
- * autoResolveTimeout: 14400,
36
- * acknowledgementTimeout: 600,
35
+ * autoResolveTimeout: "14400",
36
+ * acknowledgementTimeout: "600",
37
37
  * escalationPolicy: pagerduty_escalation_policy.example.id,
38
38
  * });
39
39
  * const slack = new pagerduty.Extension("slack", {
package/getPriority.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
- * Use this data source to get information about a specific [priority](https://developer.pagerduty.com/api-reference/reference/REST/openapiv3.json/paths/~1priorities/get) that you can use for other PagerDuty resources. A priority is a label representing the importance and impact of an incident. This feature is only available on Standard and Enterprise plans.
3
+ * Use this data source to get information about a specific [priority](https://developer.pagerduty.com/api-reference/b3A6Mjc0ODE2NA-list-priorities) that you can use for other PagerDuty resources. A priority is a label representing the importance and impact of an incident. This feature is only available on Standard and Enterprise plans.
4
4
  *
5
5
  * ## Example Usage
6
6
  *
@@ -15,7 +15,7 @@ import * as pulumi from "@pulumi/pulumi";
15
15
  * const fooRulesetRule = new pagerduty.RulesetRule("fooRulesetRule", {
16
16
  * ruleset: fooRuleset.id,
17
17
  * position: 0,
18
- * disabled: "false",
18
+ * disabled: false,
19
19
  * conditions: {
20
20
  * operator: "and",
21
21
  * subconditions: [
package/getPriority.js CHANGED
@@ -6,7 +6,7 @@ exports.getPriorityOutput = exports.getPriority = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
- * Use this data source to get information about a specific [priority](https://developer.pagerduty.com/api-reference/reference/REST/openapiv3.json/paths/~1priorities/get) that you can use for other PagerDuty resources. A priority is a label representing the importance and impact of an incident. This feature is only available on Standard and Enterprise plans.
9
+ * Use this data source to get information about a specific [priority](https://developer.pagerduty.com/api-reference/b3A6Mjc0ODE2NA-list-priorities) that you can use for other PagerDuty resources. A priority is a label representing the importance and impact of an incident. This feature is only available on Standard and Enterprise plans.
10
10
  *
11
11
  * ## Example Usage
12
12
  *
@@ -21,7 +21,7 @@ const utilities = require("./utilities");
21
21
  * const fooRulesetRule = new pagerduty.RulesetRule("fooRulesetRule", {
22
22
  * ruleset: fooRuleset.id,
23
23
  * position: 0,
24
- * disabled: "false",
24
+ * disabled: false,
25
25
  * conditions: {
26
26
  * operator: "and",
27
27
  * subconditions: [
package/getRuleset.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
- * Use this data source to get information about a specific [ruleset](https://developer.pagerduty.com/api-reference/reference/REST/openapiv3.json/paths/~1rulesets/get) that you can use for managing and grouping [event rules](https://developer.pagerduty.com/api-reference/reference/REST/openapiv3.json/paths/~1rulesets~1%7Bid%7D~1rules/get).
3
+ * Use this data source to get information about a specific [ruleset](https://developer.pagerduty.com/api-reference/b3A6Mjc0ODE3MQ-list-rulesets) that you can use for managing and grouping [event rules](https://developer.pagerduty.com/api-reference/b3A6Mjc0ODE3Ng-list-event-rules).
4
4
  *
5
5
  * ## Example Usage
6
6
  *
@@ -14,7 +14,7 @@ import * as pulumi from "@pulumi/pulumi";
14
14
  * const foo = new pagerduty.RulesetRule("foo", {
15
15
  * ruleset: example.then(example => example.id),
16
16
  * position: 0,
17
- * disabled: "false",
17
+ * disabled: false,
18
18
  * conditions: {
19
19
  * operator: "and",
20
20
  * subconditions: [
package/getRuleset.js CHANGED
@@ -6,7 +6,7 @@ exports.getRulesetOutput = exports.getRuleset = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
- * Use this data source to get information about a specific [ruleset](https://developer.pagerduty.com/api-reference/reference/REST/openapiv3.json/paths/~1rulesets/get) that you can use for managing and grouping [event rules](https://developer.pagerduty.com/api-reference/reference/REST/openapiv3.json/paths/~1rulesets~1%7Bid%7D~1rules/get).
9
+ * Use this data source to get information about a specific [ruleset](https://developer.pagerduty.com/api-reference/b3A6Mjc0ODE3MQ-list-rulesets) that you can use for managing and grouping [event rules](https://developer.pagerduty.com/api-reference/b3A6Mjc0ODE3Ng-list-event-rules).
10
10
  *
11
11
  * ## Example Usage
12
12
  *
@@ -20,7 +20,7 @@ const utilities = require("./utilities");
20
20
  * const foo = new pagerduty.RulesetRule("foo", {
21
21
  * ruleset: example.then(example => example.id),
22
22
  * position: 0,
23
- * disabled: "false",
23
+ * disabled: false,
24
24
  * conditions: {
25
25
  * operator: "and",
26
26
  * subconditions: [
package/getSchedule.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
- * Use this data source to get information about a specific [schedule](https://developer.pagerduty.com/api-reference/reference/REST/openapiv3.json/paths/~1schedules~1%7Bid%7D/get) that you can use for other PagerDuty resources.
3
+ * Use this data source to get information about a specific [schedule](https://developer.pagerduty.com/api-reference/b3A6Mjc0ODE4MQ-list-schedules) that you can use for other PagerDuty resources.
4
4
  *
5
5
  * ## Example Usage
6
6
  *
package/getSchedule.js CHANGED
@@ -6,7 +6,7 @@ exports.getScheduleOutput = exports.getSchedule = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
- * Use this data source to get information about a specific [schedule](https://developer.pagerduty.com/api-reference/reference/REST/openapiv3.json/paths/~1schedules~1%7Bid%7D/get) that you can use for other PagerDuty resources.
9
+ * Use this data source to get information about a specific [schedule](https://developer.pagerduty.com/api-reference/b3A6Mjc0ODE4MQ-list-schedules) that you can use for other PagerDuty resources.
10
10
  *
11
11
  * ## Example Usage
12
12
  *
package/getTeam.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
- * Use this data source to get information about a specific [team](https://developer.pagerduty.com/api-reference/reference/REST/openapiv3.json/paths/~1teams/get) that you can use for other PagerDuty resources.
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
4
  *
5
5
  * ## Example Usage
6
6
  *
package/getTeam.js CHANGED
@@ -6,7 +6,7 @@ exports.getTeamOutput = exports.getTeam = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
- * Use this data source to get information about a specific [team](https://developer.pagerduty.com/api-reference/reference/REST/openapiv3.json/paths/~1teams/get) that you can use for other PagerDuty resources.
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
10
  *
11
11
  * ## Example Usage
12
12
  *
package/getUser.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
- * Use this data source to get information about a specific [user](https://developer.pagerduty.com/api-reference/reference/REST/openapiv3.json/paths/~1users/get) that you can use for other PagerDuty resources.
3
+ * Use this data source to get information about a specific [user](https://developer.pagerduty.com/api-reference/b3A6Mjc0ODIzMw-list-users) that you can use for other PagerDuty resources.
4
4
  *
5
5
  * ## Example Usage
6
6
  *
package/getUser.js CHANGED
@@ -6,7 +6,7 @@ exports.getUserOutput = exports.getUser = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
- * Use this data source to get information about a specific [user](https://developer.pagerduty.com/api-reference/reference/REST/openapiv3.json/paths/~1users/get) that you can use for other PagerDuty resources.
9
+ * Use this data source to get information about a specific [user](https://developer.pagerduty.com/api-reference/b3A6Mjc0ODIzMw-list-users) that you can use for other PagerDuty resources.
10
10
  *
11
11
  * ## Example Usage
12
12
  *
@@ -1,6 +1,6 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
- * Use this data source to get information about a specific [contact method](https://developer.pagerduty.com/api-reference/reference/REST/openapiv3.json/paths/~1users~1%7Bid%7D~1contact_methods~1%7Bcontact_method_id%7D/get) of a PagerDuty [user](https://developer.pagerduty.com/api-reference/reference/REST/openapiv3.json/paths/~1users~1%7Bid%7D/get) that you can use for other PagerDuty resources.
3
+ * Use this data source to get information about a specific [contact method](https://developer.pagerduty.com/api-reference/b3A6Mjc0ODIzOQ-list-a-user-s-contact-methods) of a PagerDuty [user](https://developer.pagerduty.com/api-reference/b3A6Mjc0ODIzMw-list-users) that you can use for other PagerDuty resources.
4
4
  *
5
5
  * ## Example Usage
6
6
  *
@@ -6,7 +6,7 @@ exports.getUserContactMethodOutput = exports.getUserContactMethod = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
- * Use this data source to get information about a specific [contact method](https://developer.pagerduty.com/api-reference/reference/REST/openapiv3.json/paths/~1users~1%7Bid%7D~1contact_methods~1%7Bcontact_method_id%7D/get) of a PagerDuty [user](https://developer.pagerduty.com/api-reference/reference/REST/openapiv3.json/paths/~1users~1%7Bid%7D/get) that you can use for other PagerDuty resources.
9
+ * Use this data source to get information about a specific [contact method](https://developer.pagerduty.com/api-reference/b3A6Mjc0ODIzOQ-list-a-user-s-contact-methods) of a PagerDuty [user](https://developer.pagerduty.com/api-reference/b3A6Mjc0ODIzMw-list-users) that you can use for other PagerDuty resources.
10
10
  *
11
11
  * ## Example Usage
12
12
  *
package/getVendor.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
- * Use this data source to get information about a specific [vendor](https://developer.pagerduty.com/api-reference/reference/REST/openapiv3.json/paths/~1vendors/get) that you can use for a service integration (e.g. Amazon Cloudwatch, Splunk, Datadog).
3
+ * Use this data source to get information about a specific [vendor](https://developer.pagerduty.com/api-reference/b3A6Mjc0ODI1OQ-list-vendors) that you can use for a service integration (e.g. Amazon Cloudwatch, Splunk, Datadog).
4
4
  *
5
5
  * ## Example Usage
6
6
  *
@@ -26,8 +26,8 @@ import * as pulumi from "@pulumi/pulumi";
26
26
  * }],
27
27
  * });
28
28
  * const exampleService = new pagerduty.Service("exampleService", {
29
- * autoResolveTimeout: 14400,
30
- * acknowledgementTimeout: 600,
29
+ * autoResolveTimeout: "14400",
30
+ * acknowledgementTimeout: "600",
31
31
  * escalationPolicy: pagerduty_escalation_policy.example.id,
32
32
  * });
33
33
  * const exampleServiceIntegration = new pagerduty.ServiceIntegration("exampleServiceIntegration", {
package/getVendor.js CHANGED
@@ -6,7 +6,7 @@ exports.getVendorOutput = exports.getVendor = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
- * Use this data source to get information about a specific [vendor](https://developer.pagerduty.com/api-reference/reference/REST/openapiv3.json/paths/~1vendors/get) that you can use for a service integration (e.g. Amazon Cloudwatch, Splunk, Datadog).
9
+ * Use this data source to get information about a specific [vendor](https://developer.pagerduty.com/api-reference/b3A6Mjc0ODI1OQ-list-vendors) that you can use for a service integration (e.g. Amazon Cloudwatch, Splunk, Datadog).
10
10
  *
11
11
  * ## Example Usage
12
12
  *
@@ -32,8 +32,8 @@ const utilities = require("./utilities");
32
32
  * }],
33
33
  * });
34
34
  * const exampleService = new pagerduty.Service("exampleService", {
35
- * autoResolveTimeout: 14400,
36
- * acknowledgementTimeout: 600,
35
+ * autoResolveTimeout: "14400",
36
+ * acknowledgementTimeout: "600",
37
37
  * escalationPolicy: pagerduty_escalation_policy.example.id,
38
38
  * });
39
39
  * const exampleServiceIntegration = new pagerduty.ServiceIntegration("exampleServiceIntegration", {
@@ -1,6 +1,6 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
- * A [maintenance window](https://developer.pagerduty.com/api-reference/reference/REST/openapiv3.json/paths/~1maintenance_windows/get) is used to temporarily disable one or more services for a set period of time. No incidents will be triggered and no notifications will be received while a service is disabled by a maintenance window.
3
+ * A [maintenance window](https://developer.pagerduty.com/api-reference/b3A6Mjc0ODE1OA-create-a-maintenance-window) is used to temporarily disable one or more services for a set period of time. No incidents will be triggered and no notifications will be received while a service is disabled by a maintenance window.
4
4
  *
5
5
  * Maintenance windows are specified to start at a certain time and end after they have begun. Once started, a maintenance window cannot be deleted; it can only be ended immediately to re-enable the service.
6
6
  *
@@ -6,7 +6,7 @@ exports.MaintenanceWindow = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
- * A [maintenance window](https://developer.pagerduty.com/api-reference/reference/REST/openapiv3.json/paths/~1maintenance_windows/get) is used to temporarily disable one or more services for a set period of time. No incidents will be triggered and no notifications will be received while a service is disabled by a maintenance window.
9
+ * A [maintenance window](https://developer.pagerduty.com/api-reference/b3A6Mjc0ODE1OA-create-a-maintenance-window) is used to temporarily disable one or more services for a set period of time. No incidents will be triggered and no notifications will be received while a service is disabled by a maintenance window.
10
10
  *
11
11
  * Maintenance windows are specified to start at a certain time and end after they have begun. Once started, a maintenance window cannot be deleted; it can only be ended immediately to re-enable the service.
12
12
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/pagerduty",
3
- "version": "v3.4.0",
3
+ "version": "v3.4.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.4.0"
14
+ "install": "node scripts/install-pulumi-plugin.js resource pagerduty v3.4.1"
15
15
  },
16
16
  "dependencies": {
17
17
  "@pulumi/pulumi": "^3.0.0"
package/package.json.dev CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/pagerduty",
3
- "version": "v3.4.0",
3
+ "version": "v3.4.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.4.0"
14
+ "install": "node scripts/install-pulumi-plugin.js resource pagerduty v3.4.1"
15
15
  },
16
16
  "dependencies": {
17
17
  "@pulumi/pulumi": "^3.0.0"
package/responsePlay.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  import { input as inputs, output as outputs } from "./types";
3
3
  /**
4
- * A [response play](https://developer.pagerduty.com/api-reference/reference/REST/openapiv3.json/paths/~1response_plays/get) allows you to create packages of Incident Actions that can be applied during an Incident's life cycle.
4
+ * A [response play](https://developer.pagerduty.com/api-reference/b3A6Mjc0ODE2Ng-create-a-response-play) allows you to create packages of Incident Actions that can be applied during an Incident's life cycle.
5
5
  *
6
6
  * ## Example Usage
7
7
  *
package/responsePlay.js CHANGED
@@ -6,7 +6,7 @@ exports.ResponsePlay = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
- * A [response play](https://developer.pagerduty.com/api-reference/reference/REST/openapiv3.json/paths/~1response_plays/get) allows you to create packages of Incident Actions that can be applied during an Incident's life cycle.
9
+ * A [response play](https://developer.pagerduty.com/api-reference/b3A6Mjc0ODE2Ng-create-a-response-play) allows you to create packages of Incident Actions that can be applied during an Incident's life cycle.
10
10
  *
11
11
  * ## Example Usage
12
12
  *
package/rulesetRule.d.ts CHANGED
@@ -31,6 +31,10 @@ export declare class RulesetRule extends pulumi.CustomResource {
31
31
  * Actions to apply to an event if the conditions match.
32
32
  */
33
33
  readonly actions: pulumi.Output<outputs.RulesetRuleActions | undefined>;
34
+ /**
35
+ * Indicates whether the Event Rule is the last Event Rule of the Ruleset that serves as a catch-all. It has limited functionality compared to other rules and always matches.
36
+ */
37
+ readonly catchAll: pulumi.Output<boolean | undefined>;
34
38
  /**
35
39
  * Conditions evaluated to check if an event matches this event rule. Is always empty for the catch-all rule, though.
36
40
  */
@@ -72,6 +76,10 @@ export interface RulesetRuleState {
72
76
  * Actions to apply to an event if the conditions match.
73
77
  */
74
78
  actions?: pulumi.Input<inputs.RulesetRuleActions>;
79
+ /**
80
+ * Indicates whether the Event Rule is the last Event Rule of the Ruleset that serves as a catch-all. It has limited functionality compared to other rules and always matches.
81
+ */
82
+ catchAll?: pulumi.Input<boolean>;
75
83
  /**
76
84
  * Conditions evaluated to check if an event matches this event rule. Is always empty for the catch-all rule, though.
77
85
  */
@@ -105,6 +113,10 @@ export interface RulesetRuleArgs {
105
113
  * Actions to apply to an event if the conditions match.
106
114
  */
107
115
  actions?: pulumi.Input<inputs.RulesetRuleActions>;
116
+ /**
117
+ * Indicates whether the Event Rule is the last Event Rule of the Ruleset that serves as a catch-all. It has limited functionality compared to other rules and always matches.
118
+ */
119
+ catchAll?: pulumi.Input<boolean>;
108
120
  /**
109
121
  * Conditions evaluated to check if an event matches this event rule. Is always empty for the catch-all rule, though.
110
122
  */
package/rulesetRule.js CHANGED
@@ -23,6 +23,7 @@ class RulesetRule extends pulumi.CustomResource {
23
23
  if (opts.id) {
24
24
  const state = argsOrState;
25
25
  resourceInputs["actions"] = state ? state.actions : undefined;
26
+ resourceInputs["catchAll"] = state ? state.catchAll : undefined;
26
27
  resourceInputs["conditions"] = state ? state.conditions : undefined;
27
28
  resourceInputs["disabled"] = state ? state.disabled : undefined;
28
29
  resourceInputs["position"] = state ? state.position : undefined;
@@ -36,6 +37,7 @@ class RulesetRule extends pulumi.CustomResource {
36
37
  throw new Error("Missing required property 'ruleset'");
37
38
  }
38
39
  resourceInputs["actions"] = args ? args.actions : undefined;
40
+ resourceInputs["catchAll"] = args ? args.catchAll : undefined;
39
41
  resourceInputs["conditions"] = args ? args.conditions : undefined;
40
42
  resourceInputs["disabled"] = args ? args.disabled : undefined;
41
43
  resourceInputs["position"] = args ? args.position : undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"rulesetRule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C,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;SACnE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;IAjGD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAClE,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,WAAW,CAAC,YAAY,CAAC;IAC5D,CAAC;;AA1BL,kCAmGC;AArFG,gBAAgB;AACO,wBAAY,GAAG,yCAAyC,CAAC"}
package/schedule.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  import { input as inputs, output as outputs } from "./types";
3
3
  /**
4
- * A [schedule](https://developer.pagerduty.com/api-reference/reference/REST/openapiv3.json/paths/~1schedules~1%7Bid%7D~1users/get) determines the time periods that users are on call. Only on-call users are eligible to receive notifications from incidents.
4
+ * A [schedule](https://developer.pagerduty.com/api-reference/b3A6Mjc0ODE4Mg-create-a-schedule) determines the time periods that users are on call. Only on-call users are eligible to receive notifications from incidents.
5
5
  *
6
6
  * ## Example Usage
7
7
  *
package/schedule.js CHANGED
@@ -6,7 +6,7 @@ exports.Schedule = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
- * A [schedule](https://developer.pagerduty.com/api-reference/reference/REST/openapiv3.json/paths/~1schedules~1%7Bid%7D~1users/get) determines the time periods that users are on call. Only on-call users are eligible to receive notifications from incidents.
9
+ * A [schedule](https://developer.pagerduty.com/api-reference/b3A6Mjc0ODE4Mg-create-a-schedule) determines the time periods that users are on call. Only on-call users are eligible to receive notifications from incidents.
10
10
  *
11
11
  * ## Example Usage
12
12
  *
package/service.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  import { input as inputs, output as outputs } from "./types";
3
3
  /**
4
- * A [service](https://developer.pagerduty.com/api-reference/reference/REST/openapiv3.json/paths/~1services/get) represents something you monitor (like a web service, email service, or database service). It is a container for related incidents that associates them with escalation policies.
4
+ * A [service](https://developer.pagerduty.com/api-reference/b3A6Mjc0ODE5Nw-create-a-service) represents something you monitor (like a web service, email service, or database service). It is a container for related incidents that associates them with escalation policies.
5
5
  *
6
6
  * ## Example Usage
7
7
  *
@@ -24,8 +24,8 @@ import { input as inputs, output as outputs } from "./types";
24
24
  * }],
25
25
  * });
26
26
  * const exampleService = new pagerduty.Service("exampleService", {
27
- * autoResolveTimeout: 14400,
28
- * acknowledgementTimeout: 600,
27
+ * autoResolveTimeout: "14400",
28
+ * acknowledgementTimeout: "600",
29
29
  * escalationPolicy: pagerduty_escalation_policy.example.id,
30
30
  * alertCreation: "create_alerts_and_incidents",
31
31
  * });
package/service.js CHANGED
@@ -6,7 +6,7 @@ exports.Service = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
- * A [service](https://developer.pagerduty.com/api-reference/reference/REST/openapiv3.json/paths/~1services/get) represents something you monitor (like a web service, email service, or database service). It is a container for related incidents that associates them with escalation policies.
9
+ * A [service](https://developer.pagerduty.com/api-reference/b3A6Mjc0ODE5Nw-create-a-service) represents something you monitor (like a web service, email service, or database service). It is a container for related incidents that associates them with escalation policies.
10
10
  *
11
11
  * ## Example Usage
12
12
  *
@@ -29,8 +29,8 @@ const utilities = require("./utilities");
29
29
  * }],
30
30
  * });
31
31
  * const exampleService = new pagerduty.Service("exampleService", {
32
- * autoResolveTimeout: 14400,
33
- * acknowledgementTimeout: 600,
32
+ * autoResolveTimeout: "14400",
33
+ * acknowledgementTimeout: "600",
34
34
  * escalationPolicy: pagerduty_escalation_policy.example.id,
35
35
  * alertCreation: "create_alerts_and_incidents",
36
36
  * });
@@ -1,7 +1,7 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  import { input as inputs, output as outputs } from "./types";
3
3
  /**
4
- * A [service dependency](https://developer.pagerduty.com/api-reference/reference/REST/openapiv3.json/paths/~1service_dependencies~1associate/post) is a relationship between two services that this service uses, or that are used by this service, and are critical for successful operation.
4
+ * A [service dependency](https://developer.pagerduty.com/api-reference/b3A6Mjc0ODE5Mg-associate-service-dependencies) is a relationship between two services that this service uses, or that are used by this service, and are critical for successful operation.
5
5
  *
6
6
  * ## Example Usage
7
7
  *
@@ -6,7 +6,7 @@ exports.ServiceDependency = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
- * A [service dependency](https://developer.pagerduty.com/api-reference/reference/REST/openapiv3.json/paths/~1service_dependencies~1associate/post) is a relationship between two services that this service uses, or that are used by this service, and are critical for successful operation.
9
+ * A [service dependency](https://developer.pagerduty.com/api-reference/b3A6Mjc0ODE5Mg-associate-service-dependencies) is a relationship between two services that this service uses, or that are used by this service, and are critical for successful operation.
10
10
  *
11
11
  * ## Example Usage
12
12
  *
@@ -10,8 +10,8 @@ import { input as inputs, output as outputs } from "./types";
10
10
  * import * as pagerduty from "@pulumi/pagerduty";
11
11
  *
12
12
  * const example = new pagerduty.Service("example", {
13
- * autoResolveTimeout: 14400,
14
- * acknowledgementTimeout: 600,
13
+ * autoResolveTimeout: "14400",
14
+ * acknowledgementTimeout: "600",
15
15
  * escalationPolicy: pagerduty_escalation_policy.example.id,
16
16
  * alertCreation: "create_alerts_and_incidents",
17
17
  * });
@@ -15,8 +15,8 @@ const utilities = require("./utilities");
15
15
  * import * as pagerduty from "@pulumi/pagerduty";
16
16
  *
17
17
  * const example = new pagerduty.Service("example", {
18
- * autoResolveTimeout: 14400,
19
- * acknowledgementTimeout: 600,
18
+ * autoResolveTimeout: "14400",
19
+ * acknowledgementTimeout: "600",
20
20
  * escalationPolicy: pagerduty_escalation_policy.example.id,
21
21
  * alertCreation: "create_alerts_and_incidents",
22
22
  * });
@@ -24,8 +24,8 @@ import { input as inputs, output as outputs } from "./types";
24
24
  * }],
25
25
  * });
26
26
  * const exampleService = new pagerduty.Service("exampleService", {
27
- * autoResolveTimeout: 14400,
28
- * acknowledgementTimeout: 600,
27
+ * autoResolveTimeout: "14400",
28
+ * acknowledgementTimeout: "600",
29
29
  * escalationPolicy: pagerduty_escalation_policy.example.id,
30
30
  * });
31
31
  * const exampleServiceIntegration = new pagerduty.ServiceIntegration("exampleServiceIntegration", {
@@ -70,7 +70,7 @@ import { input as inputs, output as outputs } from "./types";
70
70
  * bodyMode: "always",
71
71
  * bodyRegex: undefined,
72
72
  * fromEmailMode: "match",
73
- * fromEmailRegex: "(@foo.com*)",
73
+ * fromEmailRegex: "(@foo.test*)",
74
74
  * subjectMode: "match",
75
75
  * subjectRegex: "(CRITICAL*)",
76
76
  * },
@@ -29,8 +29,8 @@ const utilities = require("./utilities");
29
29
  * }],
30
30
  * });
31
31
  * const exampleService = new pagerduty.Service("exampleService", {
32
- * autoResolveTimeout: 14400,
33
- * acknowledgementTimeout: 600,
32
+ * autoResolveTimeout: "14400",
33
+ * acknowledgementTimeout: "600",
34
34
  * escalationPolicy: pagerduty_escalation_policy.example.id,
35
35
  * });
36
36
  * const exampleServiceIntegration = new pagerduty.ServiceIntegration("exampleServiceIntegration", {
@@ -75,7 +75,7 @@ const utilities = require("./utilities");
75
75
  * bodyMode: "always",
76
76
  * bodyRegex: undefined,
77
77
  * fromEmailMode: "match",
78
- * fromEmailRegex: "(@foo.com*)",
78
+ * fromEmailRegex: "(@foo.test*)",
79
79
  * subjectMode: "match",
80
80
  * subjectRegex: "(CRITICAL*)",
81
81
  * },
@@ -6,6 +6,7 @@ import { input as inputs, output as outputs } from "./types";
6
6
  * **NOTES for using this resource:**
7
7
  * * To first use this resource you will need to [map your PagerDuty account to a valid Slack Workspace](https://support.pagerduty.com/docs/slack-integration-guide#integration-walkthrough). *This can only be done through the PagerDuty UI.*
8
8
  * * This resource requires a PagerDuty [user-level API key](https://support.pagerduty.com/docs/generating-api-keys#section-generating-a-personal-rest-api-key). This can be set as the `userToken` on the provider tag or as the `PAGERDUTY_USER_TOKEN` environment variable.
9
+ * * This resource is for configuring Slack V2 Next Generation connections. If you configured your Slack integration (V1 or V2) prior to August 10, 2021, you may migrate to the Slack V2 Next Generation update using this [migration instructions](https://support.pagerduty.com/docs/slack-integration-guide#migrate-to-slack-v2-next-generation), but if you configured your Slack integration after that date, you will have access to the update out of the box.
9
10
  * ## Example Usage
10
11
  *
11
12
  * ```typescript
@@ -11,6 +11,7 @@ const utilities = require("./utilities");
11
11
  * **NOTES for using this resource:**
12
12
  * * To first use this resource you will need to [map your PagerDuty account to a valid Slack Workspace](https://support.pagerduty.com/docs/slack-integration-guide#integration-walkthrough). *This can only be done through the PagerDuty UI.*
13
13
  * * This resource requires a PagerDuty [user-level API key](https://support.pagerduty.com/docs/generating-api-keys#section-generating-a-personal-rest-api-key). This can be set as the `userToken` on the provider tag or as the `PAGERDUTY_USER_TOKEN` environment variable.
14
+ * * This resource is for configuring Slack V2 Next Generation connections. If you configured your Slack integration (V1 or V2) prior to August 10, 2021, you may migrate to the Slack V2 Next Generation update using this [migration instructions](https://support.pagerduty.com/docs/slack-integration-guide#migrate-to-slack-v2-next-generation), but if you configured your Slack integration after that date, you will have access to the update out of the box.
14
15
  * ## Example Usage
15
16
  *
16
17
  * ```typescript
@@ -1 +1 @@
1
- {"version":3,"file":"slackConnection.js","sourceRoot":"","sources":["../slackConnection.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkDG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IA+DtD,YAAY,IAAY,EAAE,WAAwD,EAAE,IAAmC;QACnH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA+C,CAAC;YAC9D,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,kBAAkB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChF,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE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,IAAmC;QAC1H,OAAO,IAAI,eAAe,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACtE,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,eAAe,CAAC,YAAY,CAAC;IAChE,CAAC;;AA1BL,0CA4GC;AA9FG,gBAAgB;AACO,4BAAY,GAAG,iDAAiD,CAAC"}
package/tag.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
- * A [tag](https://developer.pagerduty.com/api-reference/b3A6Mjc0ODIxNw-list-tags) is applied to Escalation Policies, Teams or Users and can be used to filter them.
3
+ * A [tag](https://developer.pagerduty.com/api-reference/b3A6Mjc0ODIxOA-create-a-tag) is applied to Escalation Policies, Teams or Users and can be used to filter them.
4
4
  *
5
5
  * ## Example Usage
6
6
  *
package/tag.js CHANGED
@@ -6,7 +6,7 @@ exports.Tag = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
- * A [tag](https://developer.pagerduty.com/api-reference/b3A6Mjc0ODIxNw-list-tags) is applied to Escalation Policies, Teams or Users and can be used to filter them.
9
+ * A [tag](https://developer.pagerduty.com/api-reference/b3A6Mjc0ODIxOA-create-a-tag) is applied to Escalation Policies, Teams or Users and can be used to filter them.
10
10
  *
11
11
  * ## Example Usage
12
12
  *
@@ -1,24 +1,6 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
- * A [tag](https://developer.pagerduty.com/api-reference/reference/REST/openapiv3.json/paths/~1tags/get) is applied to Escalation Policies, Teams or Users and can be used to filter them.
4
- *
5
- * ## Example Usage
6
- *
7
- * ```typescript
8
- * import * as pulumi from "@pulumi/pulumi";
9
- * import * as pagerduty from "@pulumi/pagerduty";
10
- *
11
- * const exampleTag = new pagerduty.Tag("exampleTag", {
12
- * label: "API",
13
- * type: "tag",
14
- * });
15
- * const engteam = new pagerduty.Team("engteam", {});
16
- * const exampleTagAssignment = new pagerduty.TagAssignment("exampleTagAssignment", {
17
- * tagId: exampleTag.id,
18
- * entityType: "teams",
19
- * entityId: engteam.id,
20
- * });
21
- * ```
3
+ * A [tag](https://developer.pagerduty.com/api-reference/b3A6Mjc0ODEwMA-assign-tags) is applied to Escalation Policies, Teams or Users and can be used to filter them.
22
4
  *
23
5
  * ## Import
24
6
  *
package/tagAssignment.js CHANGED
@@ -6,25 +6,7 @@ exports.TagAssignment = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
- * A [tag](https://developer.pagerduty.com/api-reference/reference/REST/openapiv3.json/paths/~1tags/get) is applied to Escalation Policies, Teams or Users and can be used to filter them.
10
- *
11
- * ## Example Usage
12
- *
13
- * ```typescript
14
- * import * as pulumi from "@pulumi/pulumi";
15
- * import * as pagerduty from "@pulumi/pagerduty";
16
- *
17
- * const exampleTag = new pagerduty.Tag("exampleTag", {
18
- * label: "API",
19
- * type: "tag",
20
- * });
21
- * const engteam = new pagerduty.Team("engteam", {});
22
- * const exampleTagAssignment = new pagerduty.TagAssignment("exampleTagAssignment", {
23
- * tagId: exampleTag.id,
24
- * entityType: "teams",
25
- * entityId: engteam.id,
26
- * });
27
- * ```
9
+ * A [tag](https://developer.pagerduty.com/api-reference/b3A6Mjc0ODEwMA-assign-tags) is applied to Escalation Policies, Teams or Users and can be used to filter them.
28
10
  *
29
11
  * ## Import
30
12
  *
@@ -1 +1 @@
1
- {"version":3,"file":"tagAssignment.js","sourceRoot":"","sources":["../tagAssignment.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;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,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;SAC3D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,aAAa,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClE,CAAC;IAzED;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0B,EAAE,IAAmC;QACxH,OAAO,IAAI,aAAa,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACpE,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,aAAa,CAAC,YAAY,CAAC;IAC9D,CAAC;;AA1BL,sCA2EC;AA7DG,gBAAgB;AACO,0BAAY,GAAG,6CAA6C,CAAC"}
package/team.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
- * A [team](https://developer.pagerduty.com/api-reference/reference/REST/openapiv3.json/paths/~1teams/get) is a collection of users and escalation policies that represent a group of people within an organization.
3
+ * A [team](https://developer.pagerduty.com/api-reference/b3A6Mjc0ODIyMg-create-a-team) is a collection of users and escalation policies that represent a group of people within an organization.
4
4
  *
5
5
  * The account must have the `teams` ability to use the following resource.
6
6
  *
package/team.js CHANGED
@@ -6,7 +6,7 @@ exports.Team = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
- * A [team](https://developer.pagerduty.com/api-reference/reference/REST/openapiv3.json/paths/~1teams/get) is a collection of users and escalation policies that represent a group of people within an organization.
9
+ * A [team](https://developer.pagerduty.com/api-reference/b3A6Mjc0ODIyMg-create-a-team) is a collection of users and escalation policies that represent a group of people within an organization.
10
10
  *
11
11
  * The account must have the `teams` ability to use the following resource.
12
12
  *
@@ -1,6 +1,6 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
- * A [team membership](https://developer.pagerduty.com/api-reference/reference/REST/openapiv3.json/paths/~1teams~1%7Bid%7D~1users~1%7Buser_id%7D/put) manages memberships within a team.
3
+ * A [team membership](https://developer.pagerduty.com/api-reference/b3A6Mjc0ODIzMg-add-a-user-to-a-team) manages memberships within a team.
4
4
  *
5
5
  * ## Example Usage
6
6
  *
package/teamMembership.js CHANGED
@@ -6,7 +6,7 @@ exports.TeamMembership = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
- * A [team membership](https://developer.pagerduty.com/api-reference/reference/REST/openapiv3.json/paths/~1teams~1%7Bid%7D~1users~1%7Buser_id%7D/put) manages memberships within a team.
9
+ * A [team membership](https://developer.pagerduty.com/api-reference/b3A6Mjc0ODIzMg-add-a-user-to-a-team) manages memberships within a team.
10
10
  *
11
11
  * ## Example Usage
12
12
  *
package/user.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
- * A [user](https://developer.pagerduty.com/api-reference/reference/REST/openapiv3.json/paths/~1users/get) is a member of a PagerDuty account that have the ability to interact with incidents and other data on the account.
3
+ * A [user](https://developer.pagerduty.com/api-reference/b3A6Mjc0ODIzNA-create-a-user) is a member of a PagerDuty account that have the ability to interact with incidents and other data on the account.
4
4
  *
5
5
  * ## Example Usage
6
6
  *
package/user.js CHANGED
@@ -6,7 +6,7 @@ exports.User = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
- * A [user](https://developer.pagerduty.com/api-reference/reference/REST/openapiv3.json/paths/~1users/get) is a member of a PagerDuty account that have the ability to interact with incidents and other data on the account.
9
+ * A [user](https://developer.pagerduty.com/api-reference/b3A6Mjc0ODIzNA-create-a-user) is a member of a PagerDuty account that have the ability to interact with incidents and other data on the account.
10
10
  *
11
11
  * ## Example Usage
12
12
  *
@@ -1,6 +1,6 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
- * A [contact method](https://developer.pagerduty.com/api-reference/reference/REST/openapiv3.json/paths/~1users~1%7Bid%7D~1contact_methods/get) is a contact method for a PagerDuty user (email, phone or SMS).
3
+ * A [contact method](https://developer.pagerduty.com/api-reference/b3A6Mjc0ODI0MA-create-a-user-contact-method) is a contact method for a PagerDuty user (email, phone or SMS).
4
4
  *
5
5
  * ## Example Usage
6
6
  *
@@ -21,14 +21,14 @@ import * as pulumi from "@pulumi/pulumi";
21
21
  * const phone = new pagerduty.UserContactMethod("phone", {
22
22
  * userId: example.id,
23
23
  * type: "phone_contact_method",
24
- * countryCode: "+1",
24
+ * countryCode: 1,
25
25
  * address: "2025550199",
26
26
  * label: "Work",
27
27
  * });
28
28
  * const sms = new pagerduty.UserContactMethod("sms", {
29
29
  * userId: example.id,
30
30
  * type: "sms_contact_method",
31
- * countryCode: "+1",
31
+ * countryCode: 1,
32
32
  * address: "2025550199",
33
33
  * label: "Work",
34
34
  * });
@@ -6,7 +6,7 @@ exports.UserContactMethod = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
- * A [contact method](https://developer.pagerduty.com/api-reference/reference/REST/openapiv3.json/paths/~1users~1%7Bid%7D~1contact_methods/get) is a contact method for a PagerDuty user (email, phone or SMS).
9
+ * A [contact method](https://developer.pagerduty.com/api-reference/b3A6Mjc0ODI0MA-create-a-user-contact-method) is a contact method for a PagerDuty user (email, phone or SMS).
10
10
  *
11
11
  * ## Example Usage
12
12
  *
@@ -27,14 +27,14 @@ const utilities = require("./utilities");
27
27
  * const phone = new pagerduty.UserContactMethod("phone", {
28
28
  * userId: example.id,
29
29
  * type: "phone_contact_method",
30
- * countryCode: "+1",
30
+ * countryCode: 1,
31
31
  * address: "2025550199",
32
32
  * label: "Work",
33
33
  * });
34
34
  * const sms = new pagerduty.UserContactMethod("sms", {
35
35
  * userId: example.id,
36
36
  * type: "sms_contact_method",
37
- * countryCode: "+1",
37
+ * countryCode: 1,
38
38
  * address: "2025550199",
39
39
  * label: "Work",
40
40
  * });
@@ -1,6 +1,6 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
- * A [notification rule](https://developer.pagerduty.com/api-reference/reference/REST/openapiv3.json/paths/~1users~1%7Bid%7D~1notification_rules~1%7Bnotification_rule_id%7D/get) configures where and when a PagerDuty user is notified when a triggered incident is assigned to them. Unique notification rules can be created for both high and low-urgency incidents.
3
+ * A [notification rule](https://developer.pagerduty.com/api-reference/b3A6Mjc0ODI0NQ-create-a-user-notification-rule) configures where and when a PagerDuty user is notified when a triggered incident is assigned to them. Unique notification rules can be created for both high and low-urgency incidents.
4
4
  *
5
5
  * ## Example Usage
6
6
  *
@@ -18,14 +18,14 @@ import * as pulumi from "@pulumi/pulumi";
18
18
  * const phone = new pagerduty.UserContactMethod("phone", {
19
19
  * userId: example.id,
20
20
  * type: "phone_contact_method",
21
- * countryCode: "+1",
21
+ * countryCode: 1,
22
22
  * address: "2025550199",
23
23
  * label: "Work",
24
24
  * });
25
25
  * const sms = new pagerduty.UserContactMethod("sms", {
26
26
  * userId: example.id,
27
27
  * type: "sms_contact_method",
28
- * countryCode: "+1",
28
+ * countryCode: 1,
29
29
  * address: "2025550199",
30
30
  * label: "Work",
31
31
  * });
@@ -6,7 +6,7 @@ exports.UserNotificationRule = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
- * A [notification rule](https://developer.pagerduty.com/api-reference/reference/REST/openapiv3.json/paths/~1users~1%7Bid%7D~1notification_rules~1%7Bnotification_rule_id%7D/get) configures where and when a PagerDuty user is notified when a triggered incident is assigned to them. Unique notification rules can be created for both high and low-urgency incidents.
9
+ * A [notification rule](https://developer.pagerduty.com/api-reference/b3A6Mjc0ODI0NQ-create-a-user-notification-rule) configures where and when a PagerDuty user is notified when a triggered incident is assigned to them. Unique notification rules can be created for both high and low-urgency incidents.
10
10
  *
11
11
  * ## Example Usage
12
12
  *
@@ -24,14 +24,14 @@ const utilities = require("./utilities");
24
24
  * const phone = new pagerduty.UserContactMethod("phone", {
25
25
  * userId: example.id,
26
26
  * type: "phone_contact_method",
27
- * countryCode: "+1",
27
+ * countryCode: 1,
28
28
  * address: "2025550199",
29
29
  * label: "Work",
30
30
  * });
31
31
  * const sms = new pagerduty.UserContactMethod("sms", {
32
32
  * userId: example.id,
33
33
  * type: "sms_contact_method",
34
- * countryCode: "+1",
34
+ * countryCode: 1,
35
35
  * address: "2025550199",
36
36
  * label: "Work",
37
37
  * });