@pulumi/pagerduty 3.1.1 → 3.2.0
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/businessServiceSubscriber.d.ts +108 -0
- package/businessServiceSubscriber.js +100 -0
- package/businessServiceSubscriber.js.map +1 -0
- package/config/vars.d.ts +1 -0
- package/config/vars.js +6 -0
- package/config/vars.js.map +1 -1
- package/eventRule.d.ts +2 -2
- package/extensionServiceNow.d.ts +5 -5
- package/getServiceIntegration.d.ts +2 -2
- package/getTag.d.ts +19 -0
- package/getTag.js +19 -0
- package/getTag.js.map +1 -1
- package/getVendor.d.ts +1 -2
- package/getVendor.js +1 -2
- package/getVendor.js.map +1 -1
- package/index.d.ts +2 -0
- package/index.js +10 -0
- package/index.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +1 -1
- package/provider.d.ts +2 -0
- package/provider.js +1 -0
- package/provider.js.map +1 -1
- package/ruleset.d.ts +2 -2
- package/rulesetRule.d.ts +4 -4
- package/rulesetRule.js +1 -1
- package/schedule.d.ts +6 -6
- package/serviceIntegration.d.ts +5 -5
- package/slackConnection.d.ts +2 -2
- package/slackConnection.js +2 -2
- package/tag.d.ts +2 -2
- package/types/input.d.ts +30 -9
- package/types/output.d.ts +30 -9
- package/user.d.ts +3 -3
- package/webhookSubscription.d.ts +198 -0
- package/webhookSubscription.js +120 -0
- package/webhookSubscription.js.map +1 -0
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* A [business service subscriber](https://developer.pagerduty.com/api-reference/b3A6NDUwNDgxOQ-list-business-service-subscribers) allows you to subscribe users or teams to automatically receive updates about key business services.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as pagerduty from "@pulumi/pagerduty";
|
|
10
|
+
*
|
|
11
|
+
* const exampleBusinessService = new pagerduty.BusinessService("exampleBusinessService", {
|
|
12
|
+
* description: "A very descriptive description of this business service",
|
|
13
|
+
* pointOfContact: "PagerDuty Admin",
|
|
14
|
+
* team: "P37RSRS",
|
|
15
|
+
* });
|
|
16
|
+
* const engteam = new pagerduty.Team("engteam", {});
|
|
17
|
+
* const exampleUser = new pagerduty.User("exampleUser", {email: "125.greenholt.earline@graham.name"});
|
|
18
|
+
* const teamExample = new pagerduty.BusinessServiceSubscriber("teamExample", {
|
|
19
|
+
* subscriberId: engteam.id,
|
|
20
|
+
* subscriberType: "team",
|
|
21
|
+
* businessServiceId: exampleBusinessService.id,
|
|
22
|
+
* });
|
|
23
|
+
* const userExample = new pagerduty.BusinessServiceSubscriber("userExample", {
|
|
24
|
+
* subscriberId: exampleUser.id,
|
|
25
|
+
* subscriberType: "user",
|
|
26
|
+
* businessServiceId: exampleBusinessService.id,
|
|
27
|
+
* });
|
|
28
|
+
* ```
|
|
29
|
+
*
|
|
30
|
+
* ## Import
|
|
31
|
+
*
|
|
32
|
+
* Services can be imported using the `id` using the related business service ID, the subscriber type and the subscriber ID separated by a dot, e.g.
|
|
33
|
+
*
|
|
34
|
+
* ```sh
|
|
35
|
+
* $ pulumi import pagerduty:index/businessServiceSubscriber:BusinessServiceSubscriber main PLBP09X.team.PLBP09X
|
|
36
|
+
* ```
|
|
37
|
+
*/
|
|
38
|
+
export declare class BusinessServiceSubscriber extends pulumi.CustomResource {
|
|
39
|
+
/**
|
|
40
|
+
* Get an existing BusinessServiceSubscriber resource's state with the given name, ID, and optional extra
|
|
41
|
+
* properties used to qualify the lookup.
|
|
42
|
+
*
|
|
43
|
+
* @param name The _unique_ name of the resulting resource.
|
|
44
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
45
|
+
* @param state Any extra arguments used during the lookup.
|
|
46
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
47
|
+
*/
|
|
48
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: BusinessServiceSubscriberState, opts?: pulumi.CustomResourceOptions): BusinessServiceSubscriber;
|
|
49
|
+
/**
|
|
50
|
+
* Returns true if the given object is an instance of BusinessServiceSubscriber. This is designed to work even
|
|
51
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
52
|
+
*/
|
|
53
|
+
static isInstance(obj: any): obj is BusinessServiceSubscriber;
|
|
54
|
+
/**
|
|
55
|
+
* The ID of the business service to subscribe to.
|
|
56
|
+
*/
|
|
57
|
+
readonly businessServiceId: pulumi.Output<string>;
|
|
58
|
+
/**
|
|
59
|
+
* The ID of the subscriber entity.
|
|
60
|
+
*/
|
|
61
|
+
readonly subscriberId: pulumi.Output<string>;
|
|
62
|
+
/**
|
|
63
|
+
* Type of subscriber entity in the subscriber assignment. Possible values can be `user` and `team`.
|
|
64
|
+
*/
|
|
65
|
+
readonly subscriberType: pulumi.Output<string>;
|
|
66
|
+
/**
|
|
67
|
+
* Create a BusinessServiceSubscriber resource with the given unique name, arguments, and options.
|
|
68
|
+
*
|
|
69
|
+
* @param name The _unique_ name of the resource.
|
|
70
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
71
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
72
|
+
*/
|
|
73
|
+
constructor(name: string, args: BusinessServiceSubscriberArgs, opts?: pulumi.CustomResourceOptions);
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* Input properties used for looking up and filtering BusinessServiceSubscriber resources.
|
|
77
|
+
*/
|
|
78
|
+
export interface BusinessServiceSubscriberState {
|
|
79
|
+
/**
|
|
80
|
+
* The ID of the business service to subscribe to.
|
|
81
|
+
*/
|
|
82
|
+
businessServiceId?: pulumi.Input<string>;
|
|
83
|
+
/**
|
|
84
|
+
* The ID of the subscriber entity.
|
|
85
|
+
*/
|
|
86
|
+
subscriberId?: pulumi.Input<string>;
|
|
87
|
+
/**
|
|
88
|
+
* Type of subscriber entity in the subscriber assignment. Possible values can be `user` and `team`.
|
|
89
|
+
*/
|
|
90
|
+
subscriberType?: pulumi.Input<string>;
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* The set of arguments for constructing a BusinessServiceSubscriber resource.
|
|
94
|
+
*/
|
|
95
|
+
export interface BusinessServiceSubscriberArgs {
|
|
96
|
+
/**
|
|
97
|
+
* The ID of the business service to subscribe to.
|
|
98
|
+
*/
|
|
99
|
+
businessServiceId: pulumi.Input<string>;
|
|
100
|
+
/**
|
|
101
|
+
* The ID of the subscriber entity.
|
|
102
|
+
*/
|
|
103
|
+
subscriberId: pulumi.Input<string>;
|
|
104
|
+
/**
|
|
105
|
+
* Type of subscriber entity in the subscriber assignment. Possible values can be `user` and `team`.
|
|
106
|
+
*/
|
|
107
|
+
subscriberType: pulumi.Input<string>;
|
|
108
|
+
}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.BusinessServiceSubscriber = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* A [business service subscriber](https://developer.pagerduty.com/api-reference/b3A6NDUwNDgxOQ-list-business-service-subscribers) allows you to subscribe users or teams to automatically receive updates about key business services.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as pagerduty from "@pulumi/pagerduty";
|
|
16
|
+
*
|
|
17
|
+
* const exampleBusinessService = new pagerduty.BusinessService("exampleBusinessService", {
|
|
18
|
+
* description: "A very descriptive description of this business service",
|
|
19
|
+
* pointOfContact: "PagerDuty Admin",
|
|
20
|
+
* team: "P37RSRS",
|
|
21
|
+
* });
|
|
22
|
+
* const engteam = new pagerduty.Team("engteam", {});
|
|
23
|
+
* const exampleUser = new pagerduty.User("exampleUser", {email: "125.greenholt.earline@graham.name"});
|
|
24
|
+
* const teamExample = new pagerduty.BusinessServiceSubscriber("teamExample", {
|
|
25
|
+
* subscriberId: engteam.id,
|
|
26
|
+
* subscriberType: "team",
|
|
27
|
+
* businessServiceId: exampleBusinessService.id,
|
|
28
|
+
* });
|
|
29
|
+
* const userExample = new pagerduty.BusinessServiceSubscriber("userExample", {
|
|
30
|
+
* subscriberId: exampleUser.id,
|
|
31
|
+
* subscriberType: "user",
|
|
32
|
+
* businessServiceId: exampleBusinessService.id,
|
|
33
|
+
* });
|
|
34
|
+
* ```
|
|
35
|
+
*
|
|
36
|
+
* ## Import
|
|
37
|
+
*
|
|
38
|
+
* Services can be imported using the `id` using the related business service ID, the subscriber type and the subscriber ID separated by a dot, e.g.
|
|
39
|
+
*
|
|
40
|
+
* ```sh
|
|
41
|
+
* $ pulumi import pagerduty:index/businessServiceSubscriber:BusinessServiceSubscriber main PLBP09X.team.PLBP09X
|
|
42
|
+
* ```
|
|
43
|
+
*/
|
|
44
|
+
class BusinessServiceSubscriber extends pulumi.CustomResource {
|
|
45
|
+
constructor(name, argsOrState, opts) {
|
|
46
|
+
let inputs = {};
|
|
47
|
+
opts = opts || {};
|
|
48
|
+
if (opts.id) {
|
|
49
|
+
const state = argsOrState;
|
|
50
|
+
inputs["businessServiceId"] = state ? state.businessServiceId : undefined;
|
|
51
|
+
inputs["subscriberId"] = state ? state.subscriberId : undefined;
|
|
52
|
+
inputs["subscriberType"] = state ? state.subscriberType : undefined;
|
|
53
|
+
}
|
|
54
|
+
else {
|
|
55
|
+
const args = argsOrState;
|
|
56
|
+
if ((!args || args.businessServiceId === undefined) && !opts.urn) {
|
|
57
|
+
throw new Error("Missing required property 'businessServiceId'");
|
|
58
|
+
}
|
|
59
|
+
if ((!args || args.subscriberId === undefined) && !opts.urn) {
|
|
60
|
+
throw new Error("Missing required property 'subscriberId'");
|
|
61
|
+
}
|
|
62
|
+
if ((!args || args.subscriberType === undefined) && !opts.urn) {
|
|
63
|
+
throw new Error("Missing required property 'subscriberType'");
|
|
64
|
+
}
|
|
65
|
+
inputs["businessServiceId"] = args ? args.businessServiceId : undefined;
|
|
66
|
+
inputs["subscriberId"] = args ? args.subscriberId : undefined;
|
|
67
|
+
inputs["subscriberType"] = args ? args.subscriberType : undefined;
|
|
68
|
+
}
|
|
69
|
+
if (!opts.version) {
|
|
70
|
+
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
71
|
+
}
|
|
72
|
+
super(BusinessServiceSubscriber.__pulumiType, name, inputs, opts);
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Get an existing BusinessServiceSubscriber resource's state with the given name, ID, and optional extra
|
|
76
|
+
* properties used to qualify the lookup.
|
|
77
|
+
*
|
|
78
|
+
* @param name The _unique_ name of the resulting resource.
|
|
79
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
80
|
+
* @param state Any extra arguments used during the lookup.
|
|
81
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
82
|
+
*/
|
|
83
|
+
static get(name, id, state, opts) {
|
|
84
|
+
return new BusinessServiceSubscriber(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* Returns true if the given object is an instance of BusinessServiceSubscriber. This is designed to work even
|
|
88
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
89
|
+
*/
|
|
90
|
+
static isInstance(obj) {
|
|
91
|
+
if (obj === undefined || obj === null) {
|
|
92
|
+
return false;
|
|
93
|
+
}
|
|
94
|
+
return obj['__pulumiType'] === BusinessServiceSubscriber.__pulumiType;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
exports.BusinessServiceSubscriber = BusinessServiceSubscriber;
|
|
98
|
+
/** @internal */
|
|
99
|
+
BusinessServiceSubscriber.__pulumiType = 'pagerduty:index/businessServiceSubscriber:BusinessServiceSubscriber';
|
|
100
|
+
//# sourceMappingURL=businessServiceSubscriber.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"businessServiceSubscriber.js","sourceRoot":"","sources":["../businessServiceSubscriber.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,MAAa,yBAA0B,SAAQ,MAAM,CAAC,cAAc;IAiDhE,YAAY,IAAY,EAAE,WAA4E,EAAE,IAAmC;QACvI,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAyD,CAAC;YACxE,MAAM,CAAC,mBAAmB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,MAAM,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,MAAM,CAAC,gBAAgB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;SACvE;aAAM;YACH,MAAM,IAAI,GAAG,WAAwD,CAAC;YACtE,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,iBAAiB,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC9D,MAAM,IAAI,KAAK,CAAC,+CAA+C,CAAC,CAAC;aACpE;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,YAAY,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG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,YAAY,CAAC;IAC1E,CAAC;;AA1BL,8DA6EC;AA/DG,gBAAgB;AACO,sCAAY,GAAG,qEAAqE,CAAC"}
|
package/config/vars.d.ts
CHANGED
package/config/vars.js
CHANGED
|
@@ -4,6 +4,12 @@
|
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
5
|
const pulumi = require("@pulumi/pulumi");
|
|
6
6
|
const __config = new pulumi.Config("pagerduty");
|
|
7
|
+
Object.defineProperty(exports, "apiUrlOverride", {
|
|
8
|
+
get() {
|
|
9
|
+
return __config.get("apiUrlOverride");
|
|
10
|
+
},
|
|
11
|
+
enumerable: true,
|
|
12
|
+
});
|
|
7
13
|
Object.defineProperty(exports, "serviceRegion", {
|
|
8
14
|
get() {
|
|
9
15
|
return __config.get("serviceRegion");
|
package/config/vars.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vars.js","sourceRoot":"","sources":["../../config/vars.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AAIzC,MAAM,QAAQ,GAAG,IAAI,MAAM,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC;AAGhD,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,eAAe,EAAE;IAC5C,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,eAAe,CAAC,CAAC;IACzC,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAGH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,2BAA2B,EAAE;IACxD,GAAG;;QACC,OAAO,MAAA,QAAQ,CAAC,SAAS,CAAU,2BAA2B,CAAC,mCAAI,KAAK,CAAC;IAC7E,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAGH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,OAAO,EAAE;IACpC,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;IACjC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AC,GAAG,CAAC,WAAW,CAAC,CAAC;IACrC,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC"}
|
package/eventRule.d.ts
CHANGED
|
@@ -146,7 +146,7 @@ export declare class EventRule extends pulumi.CustomResource {
|
|
|
146
146
|
*/
|
|
147
147
|
readonly advancedConditionJson: pulumi.Output<string | undefined>;
|
|
148
148
|
/**
|
|
149
|
-
* A boolean that indicates whether the rule is a catch
|
|
149
|
+
* A boolean that indicates whether the rule is a catch-all for the account. This field is read-only through the PagerDuty API.
|
|
150
150
|
*/
|
|
151
151
|
readonly catchAll: pulumi.Output<boolean>;
|
|
152
152
|
/**
|
|
@@ -175,7 +175,7 @@ export interface EventRuleState {
|
|
|
175
175
|
*/
|
|
176
176
|
advancedConditionJson?: pulumi.Input<string>;
|
|
177
177
|
/**
|
|
178
|
-
* A boolean that indicates whether the rule is a catch
|
|
178
|
+
* A boolean that indicates whether the rule is a catch-all for the account. This field is read-only through the PagerDuty API.
|
|
179
179
|
*/
|
|
180
180
|
catchAll?: pulumi.Input<boolean>;
|
|
181
181
|
/**
|
package/extensionServiceNow.d.ts
CHANGED
|
@@ -73,7 +73,7 @@ export declare class ExtensionServiceNow extends pulumi.CustomResource {
|
|
|
73
73
|
*/
|
|
74
74
|
readonly extensionSchema: pulumi.Output<string>;
|
|
75
75
|
/**
|
|
76
|
-
* URL at which the entity is uniquely displayed in the Web app
|
|
76
|
+
* URL at which the entity is uniquely displayed in the Web app.
|
|
77
77
|
*/
|
|
78
78
|
readonly htmlUrl: pulumi.Output<string>;
|
|
79
79
|
/**
|
|
@@ -101,7 +101,7 @@ export declare class ExtensionServiceNow extends pulumi.CustomResource {
|
|
|
101
101
|
*/
|
|
102
102
|
readonly syncOptions: pulumi.Output<string>;
|
|
103
103
|
/**
|
|
104
|
-
* Target Webhook URL
|
|
104
|
+
* Target Webhook URL.
|
|
105
105
|
*/
|
|
106
106
|
readonly target: pulumi.Output<string>;
|
|
107
107
|
/**
|
|
@@ -132,7 +132,7 @@ export interface ExtensionServiceNowState {
|
|
|
132
132
|
*/
|
|
133
133
|
extensionSchema?: pulumi.Input<string>;
|
|
134
134
|
/**
|
|
135
|
-
* URL at which the entity is uniquely displayed in the Web app
|
|
135
|
+
* URL at which the entity is uniquely displayed in the Web app.
|
|
136
136
|
*/
|
|
137
137
|
htmlUrl?: pulumi.Input<string>;
|
|
138
138
|
/**
|
|
@@ -160,7 +160,7 @@ export interface ExtensionServiceNowState {
|
|
|
160
160
|
*/
|
|
161
161
|
syncOptions?: pulumi.Input<string>;
|
|
162
162
|
/**
|
|
163
|
-
* Target Webhook URL
|
|
163
|
+
* Target Webhook URL.
|
|
164
164
|
*/
|
|
165
165
|
target?: pulumi.Input<string>;
|
|
166
166
|
/**
|
|
@@ -207,7 +207,7 @@ export interface ExtensionServiceNowArgs {
|
|
|
207
207
|
*/
|
|
208
208
|
syncOptions: pulumi.Input<string>;
|
|
209
209
|
/**
|
|
210
|
-
* Target Webhook URL
|
|
210
|
+
* Target Webhook URL.
|
|
211
211
|
*/
|
|
212
212
|
target: pulumi.Input<string>;
|
|
213
213
|
/**
|
|
@@ -20,7 +20,7 @@ export declare function getServiceIntegration(args: GetServiceIntegrationArgs, o
|
|
|
20
20
|
*/
|
|
21
21
|
export interface GetServiceIntegrationArgs {
|
|
22
22
|
/**
|
|
23
|
-
* The integration summary used to find the desired integration on the service
|
|
23
|
+
* The integration summary used to find the desired integration on the service.
|
|
24
24
|
*/
|
|
25
25
|
integrationSummary: string;
|
|
26
26
|
/**
|
|
@@ -49,7 +49,7 @@ export declare function getServiceIntegrationOutput(args: GetServiceIntegrationO
|
|
|
49
49
|
*/
|
|
50
50
|
export interface GetServiceIntegrationOutputArgs {
|
|
51
51
|
/**
|
|
52
|
-
* The integration summary used to find the desired integration on the service
|
|
52
|
+
* The integration summary used to find the desired integration on the service.
|
|
53
53
|
*/
|
|
54
54
|
integrationSummary: pulumi.Input<string>;
|
|
55
55
|
/**
|
package/getTag.d.ts
CHANGED
|
@@ -1,6 +1,25 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
3
|
* Use this data source to get information about a specific [tag](https://developer.pagerduty.com/api-reference/b3A6Mjc0ODIxNw-list-tags) that you can use to assign to users, teams, and escalation_policies.
|
|
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.getTag({
|
|
15
|
+
* label: "devops",
|
|
16
|
+
* });
|
|
17
|
+
* const foo = new pagerduty.TagAssignment("foo", {
|
|
18
|
+
* tagId: devops.then(devops => devops.id),
|
|
19
|
+
* entityId: me.then(me => me.id),
|
|
20
|
+
* entityType: "users",
|
|
21
|
+
* });
|
|
22
|
+
* ```
|
|
4
23
|
*/
|
|
5
24
|
export declare function getTag(args: GetTagArgs, opts?: pulumi.InvokeOptions): Promise<GetTagResult>;
|
|
6
25
|
/**
|
package/getTag.js
CHANGED
|
@@ -7,6 +7,25 @@ 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 [tag](https://developer.pagerduty.com/api-reference/b3A6Mjc0ODIxNw-list-tags) that you can use to assign to users, teams, and escalation_policies.
|
|
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.getTag({
|
|
21
|
+
* label: "devops",
|
|
22
|
+
* });
|
|
23
|
+
* const foo = new pagerduty.TagAssignment("foo", {
|
|
24
|
+
* tagId: devops.then(devops => devops.id),
|
|
25
|
+
* entityId: me.then(me => me.id),
|
|
26
|
+
* entityType: "users",
|
|
27
|
+
* });
|
|
28
|
+
* ```
|
|
10
29
|
*/
|
|
11
30
|
function getTag(args, opts) {
|
|
12
31
|
if (!opts) {
|
package/getTag.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getTag.js","sourceRoot":"","sources":["../getTag.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getTag.js","sourceRoot":"","sources":["../getTag.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,SAAgB,MAAM,CAAC,IAAgB,EAAE,IAA2B;IAChE,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,+BAA+B,EAAE;QAC1D,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,wBAWC;AAuBD,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAA2B;IAC5E,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC1D,CAAC;AAFD,oCAEC"}
|
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/reference/REST/openapiv3.json/paths/~1vendors/get) that you can use for a service integration (e.g. Amazon Cloudwatch, Splunk, Datadog).
|
|
4
4
|
*
|
|
5
5
|
* ## Example Usage
|
|
6
6
|
*
|
|
@@ -33,7 +33,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
33
33
|
* const exampleServiceIntegration = new pagerduty.ServiceIntegration("exampleServiceIntegration", {
|
|
34
34
|
* vendor: datadog.then(datadog => datadog.id),
|
|
35
35
|
* service: exampleService.id,
|
|
36
|
-
* type: "generic_events_api_inbound_integration",
|
|
37
36
|
* });
|
|
38
37
|
* ```
|
|
39
38
|
*/
|
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/reference/REST/openapiv3.json/paths/~1vendors/get) that you can use for a service integration (e.g. Amazon Cloudwatch, Splunk, Datadog).
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
12
|
*
|
|
@@ -39,7 +39,6 @@ const utilities = require("./utilities");
|
|
|
39
39
|
* const exampleServiceIntegration = new pagerduty.ServiceIntegration("exampleServiceIntegration", {
|
|
40
40
|
* vendor: datadog.then(datadog => datadog.id),
|
|
41
41
|
* service: exampleService.id,
|
|
42
|
-
* type: "generic_events_api_inbound_integration",
|
|
43
42
|
* });
|
|
44
43
|
* ```
|
|
45
44
|
*/
|
package/getVendor.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getVendor.js","sourceRoot":"","sources":["../getVendor.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getVendor.js","sourceRoot":"","sources":["../getVendor.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,SAAgB,SAAS,CAAC,IAAmB,EAAE,IAA2B;IACtE,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,qCAAqC,EAAE;QAChE,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,8BAWC;AA8BD,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAClF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,SAAS,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC7D,CAAC;AAFD,0CAEC"}
|
package/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * from "./addon";
|
|
2
2
|
export * from "./businessService";
|
|
3
|
+
export * from "./businessServiceSubscriber";
|
|
3
4
|
export * from "./escalationPolicy";
|
|
4
5
|
export * from "./eventRule";
|
|
5
6
|
export * from "./extension";
|
|
@@ -35,6 +36,7 @@ export * from "./teamMembership";
|
|
|
35
36
|
export * from "./user";
|
|
36
37
|
export * from "./userContactMethod";
|
|
37
38
|
export * from "./userNotificationRule";
|
|
39
|
+
export * from "./webhookSubscription";
|
|
38
40
|
import * as config from "./config";
|
|
39
41
|
import * as types from "./types";
|
|
40
42
|
export { config, types, };
|
package/index.js
CHANGED
|
@@ -18,6 +18,7 @@ const utilities = require("./utilities");
|
|
|
18
18
|
// Export members:
|
|
19
19
|
__exportStar(require("./addon"), exports);
|
|
20
20
|
__exportStar(require("./businessService"), exports);
|
|
21
|
+
__exportStar(require("./businessServiceSubscriber"), exports);
|
|
21
22
|
__exportStar(require("./escalationPolicy"), exports);
|
|
22
23
|
__exportStar(require("./eventRule"), exports);
|
|
23
24
|
__exportStar(require("./extension"), exports);
|
|
@@ -53,6 +54,7 @@ __exportStar(require("./teamMembership"), exports);
|
|
|
53
54
|
__exportStar(require("./user"), exports);
|
|
54
55
|
__exportStar(require("./userContactMethod"), exports);
|
|
55
56
|
__exportStar(require("./userNotificationRule"), exports);
|
|
57
|
+
__exportStar(require("./webhookSubscription"), exports);
|
|
56
58
|
// Export sub-modules:
|
|
57
59
|
const config = require("./config");
|
|
58
60
|
exports.config = config;
|
|
@@ -61,6 +63,7 @@ exports.types = types;
|
|
|
61
63
|
// Import resources to register:
|
|
62
64
|
const addon_1 = require("./addon");
|
|
63
65
|
const businessService_1 = require("./businessService");
|
|
66
|
+
const businessServiceSubscriber_1 = require("./businessServiceSubscriber");
|
|
64
67
|
const escalationPolicy_1 = require("./escalationPolicy");
|
|
65
68
|
const eventRule_1 = require("./eventRule");
|
|
66
69
|
const extension_1 = require("./extension");
|
|
@@ -82,6 +85,7 @@ const teamMembership_1 = require("./teamMembership");
|
|
|
82
85
|
const user_1 = require("./user");
|
|
83
86
|
const userContactMethod_1 = require("./userContactMethod");
|
|
84
87
|
const userNotificationRule_1 = require("./userNotificationRule");
|
|
88
|
+
const webhookSubscription_1 = require("./webhookSubscription");
|
|
85
89
|
const _module = {
|
|
86
90
|
version: utilities.getVersion(),
|
|
87
91
|
construct: (name, type, urn) => {
|
|
@@ -90,6 +94,8 @@ const _module = {
|
|
|
90
94
|
return new addon_1.Addon(name, undefined, { urn });
|
|
91
95
|
case "pagerduty:index/businessService:BusinessService":
|
|
92
96
|
return new businessService_1.BusinessService(name, undefined, { urn });
|
|
97
|
+
case "pagerduty:index/businessServiceSubscriber:BusinessServiceSubscriber":
|
|
98
|
+
return new businessServiceSubscriber_1.BusinessServiceSubscriber(name, undefined, { urn });
|
|
93
99
|
case "pagerduty:index/escalationPolicy:EscalationPolicy":
|
|
94
100
|
return new escalationPolicy_1.EscalationPolicy(name, undefined, { urn });
|
|
95
101
|
case "pagerduty:index/eventRule:EventRule":
|
|
@@ -132,6 +138,8 @@ const _module = {
|
|
|
132
138
|
return new userContactMethod_1.UserContactMethod(name, undefined, { urn });
|
|
133
139
|
case "pagerduty:index/userNotificationRule:UserNotificationRule":
|
|
134
140
|
return new userNotificationRule_1.UserNotificationRule(name, undefined, { urn });
|
|
141
|
+
case "pagerduty:index/webhookSubscription:WebhookSubscription":
|
|
142
|
+
return new webhookSubscription_1.WebhookSubscription(name, undefined, { urn });
|
|
135
143
|
default:
|
|
136
144
|
throw new Error(`unknown resource type ${type}`);
|
|
137
145
|
}
|
|
@@ -139,6 +147,7 @@ const _module = {
|
|
|
139
147
|
};
|
|
140
148
|
pulumi.runtime.registerResourceModule("pagerduty", "index/addon", _module);
|
|
141
149
|
pulumi.runtime.registerResourceModule("pagerduty", "index/businessService", _module);
|
|
150
|
+
pulumi.runtime.registerResourceModule("pagerduty", "index/businessServiceSubscriber", _module);
|
|
142
151
|
pulumi.runtime.registerResourceModule("pagerduty", "index/escalationPolicy", _module);
|
|
143
152
|
pulumi.runtime.registerResourceModule("pagerduty", "index/eventRule", _module);
|
|
144
153
|
pulumi.runtime.registerResourceModule("pagerduty", "index/extension", _module);
|
|
@@ -160,6 +169,7 @@ pulumi.runtime.registerResourceModule("pagerduty", "index/teamMembership", _modu
|
|
|
160
169
|
pulumi.runtime.registerResourceModule("pagerduty", "index/user", _module);
|
|
161
170
|
pulumi.runtime.registerResourceModule("pagerduty", "index/userContactMethod", _module);
|
|
162
171
|
pulumi.runtime.registerResourceModule("pagerduty", "index/userNotificationRule", _module);
|
|
172
|
+
pulumi.runtime.registerResourceModule("pagerduty", "index/webhookSubscription", _module);
|
|
163
173
|
const provider_1 = require("./provider");
|
|
164
174
|
pulumi.runtime.registerResourcePackage("pagerduty", {
|
|
165
175
|
version: utilities.getVersion(),
|
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,kBAAkB;AAClB,0CAAwB;AACxB,oDAAkC;AAClC,qDAAmC;AACnC,8CAA4B;AAC5B,8CAA4B;AAC5B,wDAAsC;AACtC,uDAAqC;AACrC,wDAAsC;AACtC,uDAAqC;AACrC,gDAA8B;AAC9B,+CAA6B;AAC7B,gDAA8B;AAC9B,+CAA6B;AAC7B,0DAAwC;AACxC,2CAAyB;AACzB,4CAA0B;AAC1B,4CAA0B;AAC1B,yDAAuC;AACvC,8CAA4B;AAC5B,sDAAoC;AACpC,6CAA2B;AAC3B,iDAA+B;AAC/B,4CAA0B;AAC1B,gDAA8B;AAC9B,6CAA2B;AAC3B,4CAA0B;AAC1B,sDAAoC;AACpC,qDAAmC;AACnC,uDAAqC;AACrC,oDAAkC;AAClC,wCAAsB;AACtB,kDAAgC;AAChC,yCAAuB;AACvB,mDAAiC;AACjC,yCAAuB;AACvB,sDAAoC;AACpC,yDAAuC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings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AO,CAAC,sBAAsB,CAAC,WAAW,EAAE,4BAA4B,EAAE,OAAO,CAAC,CAAA;AACzF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,WAAW,EAAE,2BAA2B,EAAE,OAAO,CAAC,CAAA;AAExF,yCAAsC;AAEtC,MAAM,CAAC,OAAO,CAAC,uBAAuB,CAAC,WAAW,EAAE;IAChD,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,iBAAiB,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAA2B,EAAE;QACpF,IAAI,IAAI,KAAK,4BAA4B,EAAE;YACvC,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACpD;QACD,OAAO,IAAI,mBAAQ,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC;IACvD,CAAC;CACJ,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/pagerduty",
|
|
3
|
-
"version": "v3.
|
|
3
|
+
"version": "v3.2.0",
|
|
4
4
|
"description": "A Pulumi package for creating and managing pagerduty cloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"license": "Apache-2.0",
|
|
12
12
|
"scripts": {
|
|
13
13
|
"build": "tsc",
|
|
14
|
-
"install": "node scripts/install-pulumi-plugin.js resource pagerduty v3.
|
|
14
|
+
"install": "node scripts/install-pulumi-plugin.js resource pagerduty v3.2.0"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@pulumi/pulumi": "^3.0.0"
|
package/package.json.dev
CHANGED
package/provider.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ export declare class Provider extends pulumi.ProviderResource {
|
|
|
11
11
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
12
12
|
*/
|
|
13
13
|
static isInstance(obj: any): obj is Provider;
|
|
14
|
+
readonly apiUrlOverride: pulumi.Output<string | undefined>;
|
|
14
15
|
readonly serviceRegion: pulumi.Output<string | undefined>;
|
|
15
16
|
readonly token: pulumi.Output<string>;
|
|
16
17
|
readonly userToken: pulumi.Output<string | undefined>;
|
|
@@ -27,6 +28,7 @@ export declare class Provider extends pulumi.ProviderResource {
|
|
|
27
28
|
* The set of arguments for constructing a Provider resource.
|
|
28
29
|
*/
|
|
29
30
|
export interface ProviderArgs {
|
|
31
|
+
apiUrlOverride?: pulumi.Input<string>;
|
|
30
32
|
serviceRegion?: pulumi.Input<string>;
|
|
31
33
|
skipCredentialsValidation?: pulumi.Input<boolean>;
|
|
32
34
|
token: pulumi.Input<string>;
|
package/provider.js
CHANGED
|
@@ -27,6 +27,7 @@ class Provider extends pulumi.ProviderResource {
|
|
|
27
27
|
if ((!args || args.token === undefined) && !opts.urn) {
|
|
28
28
|
throw new Error("Missing required property 'token'");
|
|
29
29
|
}
|
|
30
|
+
inputs["apiUrlOverride"] = args ? args.apiUrlOverride : undefined;
|
|
30
31
|
inputs["serviceRegion"] = args ? args.serviceRegion : undefined;
|
|
31
32
|
inputs["skipCredentialsValidation"] = pulumi.output((_a = (args ? args.skipCredentialsValidation : undefined)) !== null && _a !== void 0 ? _a : false).apply(JSON.stringify);
|
|
32
33
|
inputs["token"] = args ? args.token : undefined;
|
package/provider.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provider.js","sourceRoot":"","sources":["../provider.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;GAKG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,gBAAgB;
|
|
1
|
+
{"version":3,"file":"provider.js","sourceRoot":"","sources":["../provider.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;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AAI,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IACrD,CAAC;IAxCD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,QAAQ,CAAC,YAAY,CAAC;IACzD,CAAC;;AAbL,4BA6CC;AA5CG,gBAAgB;AACO,qBAAY,GAAG,WAAW,CAAC"}
|
package/ruleset.d.ts
CHANGED
|
@@ -52,7 +52,7 @@ export declare class Ruleset extends pulumi.CustomResource {
|
|
|
52
52
|
*/
|
|
53
53
|
readonly team: pulumi.Output<outputs.RulesetTeam | undefined>;
|
|
54
54
|
/**
|
|
55
|
-
* Type of ruleset. Currently only sets to `global`.
|
|
55
|
+
* Type of ruleset. Currently, only sets to `global`.
|
|
56
56
|
*/
|
|
57
57
|
readonly type: pulumi.Output<string>;
|
|
58
58
|
/**
|
|
@@ -81,7 +81,7 @@ export interface RulesetState {
|
|
|
81
81
|
*/
|
|
82
82
|
team?: pulumi.Input<inputs.RulesetTeam>;
|
|
83
83
|
/**
|
|
84
|
-
* Type of ruleset. Currently only sets to `global`.
|
|
84
|
+
* Type of ruleset. Currently, only sets to `global`.
|
|
85
85
|
*/
|
|
86
86
|
type?: pulumi.Input<string>;
|
|
87
87
|
}
|