@pulumi/pagerduty 3.4.0 → 3.5.0-alpha.1650646340

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/extension.d.ts CHANGED
@@ -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
@@ -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", {
@@ -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", {
@@ -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", {
@@ -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
  * ```
@@ -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
  * ```
@@ -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", {
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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/getVendor.d.ts CHANGED
@@ -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
@@ -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", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/pagerduty",
3
- "version": "v3.4.0",
3
+ "version": "v3.5.0-alpha.1650646340+6f8f9ad7",
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.5.0-alpha.1650646340+6f8f9ad7"
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.5.0-alpha.1650646340+6f8f9ad7",
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.5.0-alpha.1650646340+6f8f9ad7"
15
15
  },
16
16
  "dependencies": {
17
17
  "@pulumi/pulumi": "^3.0.0"
package/service.d.ts CHANGED
@@ -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
@@ -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
  * });
@@ -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", {
@@ -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", {
@@ -2,24 +2,6 @@ import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
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
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
- * ```
22
- *
23
5
  * ## Import
24
6
  *
25
7
  * Tag assignments can be imported using the `id` which is constructed by taking the `entity` Type, `entity` ID and the `tag` ID separated by a dot, e.g.
package/tagAssignment.js CHANGED
@@ -8,24 +8,6 @@ const utilities = require("./utilities");
8
8
  /**
9
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
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
- * ```
28
- *
29
11
  * ## Import
30
12
  *
31
13
  * Tag assignments can be imported using the `id` which is constructed by taking the `entity` Type, `entity` ID and the `tag` ID separated by a dot, e.g.
@@ -1 +1 @@
1
- {"version":3,"file":"tagAssignment.js","sourceRoot":"","sources":["../tagAssignment.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IAiDpD,YAAY,IAAY,EAAE,WAAoD,EAAE,IAAmC;QAC/G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA6C,CAAC;YAC5D,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,cAAc,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7D;aAAM;YACH,MAAM,IAAI,GAAG,WAA4C,CAAC;YAC1D,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,QAAQ,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACrD,MAAM,IAAI,KAAK,CAAC,sCAAsC,CAAC,CAAC;aAC3D;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC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one_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
  * });
@@ -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
  * });
@@ -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
  * });
@@ -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
  * });