@pulumi/opsgenie 1.3.0 → 1.3.2
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/escalation.d.ts +54 -25
- package/escalation.js +51 -22
- package/escalation.js.map +1 -1
- package/package.json +1 -1
- package/service.d.ts +12 -0
- package/service.js +2 -0
- package/service.js.map +1 -1
- package/types/input.d.ts +9 -9
- package/types/output.d.ts +8 -9
package/escalation.d.ts
CHANGED
|
@@ -6,37 +6,66 @@ import * as outputs from "./types/output";
|
|
|
6
6
|
*
|
|
7
7
|
* ## Example Usage
|
|
8
8
|
*
|
|
9
|
+
* An escalation with a single rule
|
|
10
|
+
*
|
|
9
11
|
* ```typescript
|
|
10
12
|
* import * as pulumi from "@pulumi/pulumi";
|
|
11
13
|
* import * as opsgenie from "@pulumi/opsgenie";
|
|
12
14
|
*
|
|
13
|
-
* const
|
|
15
|
+
* const _default = new opsgenie.Escalation("default", {rules: [{
|
|
16
|
+
* condition: "if-not-acked",
|
|
17
|
+
* notifyType: "default",
|
|
18
|
+
* delay: 1,
|
|
19
|
+
* recipients: [{
|
|
20
|
+
* type: "user",
|
|
21
|
+
* id: opsgenie_user.test.id,
|
|
22
|
+
* }],
|
|
23
|
+
* }]});
|
|
24
|
+
* ```
|
|
25
|
+
*
|
|
26
|
+
* An escalation with a multiple rules
|
|
27
|
+
*
|
|
28
|
+
* ```typescript
|
|
29
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
30
|
+
* import * as opsgenie from "@pulumi/opsgenie";
|
|
31
|
+
*
|
|
32
|
+
* const _default = new opsgenie.Escalation("default", {
|
|
14
33
|
* description: "test",
|
|
15
34
|
* ownerTeamId: opsgenie_team.test.id,
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
* rules: [{
|
|
23
|
-
* condition: "if-not-acked",
|
|
24
|
-
* delay: 1,
|
|
25
|
-
* notifyType: "default",
|
|
26
|
-
* recipients: [
|
|
27
|
-
* {
|
|
28
|
-
* id: opsgenie_user.test.id,
|
|
35
|
+
* rules: [
|
|
36
|
+
* {
|
|
37
|
+
* condition: "if-not-acked",
|
|
38
|
+
* notifyType: "default",
|
|
39
|
+
* delay: 1,
|
|
40
|
+
* recipients: [{
|
|
29
41
|
* type: "user",
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
*
|
|
42
|
+
* id: opsgenie_user.test.id,
|
|
43
|
+
* }],
|
|
44
|
+
* },
|
|
45
|
+
* {
|
|
46
|
+
* condition: "if-not-acked",
|
|
47
|
+
* notifyType: "default",
|
|
48
|
+
* delay: 1,
|
|
49
|
+
* recipients: [{
|
|
33
50
|
* type: "team",
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
*
|
|
51
|
+
* id: opsgenie_team.test.id,
|
|
52
|
+
* }],
|
|
53
|
+
* },
|
|
54
|
+
* {
|
|
55
|
+
* condition: "if-not-acked",
|
|
56
|
+
* notifyType: "default",
|
|
57
|
+
* delay: 1,
|
|
58
|
+
* recipients: [{
|
|
37
59
|
* type: "schedule",
|
|
38
|
-
*
|
|
39
|
-
*
|
|
60
|
+
* id: opsgenie_schedule.test.id,
|
|
61
|
+
* }],
|
|
62
|
+
* },
|
|
63
|
+
* ],
|
|
64
|
+
* repeats: [{
|
|
65
|
+
* waitInterval: 10,
|
|
66
|
+
* count: 1,
|
|
67
|
+
* resetRecipientStates: true,
|
|
68
|
+
* closeAlertAfterAll: false,
|
|
40
69
|
* }],
|
|
41
70
|
* });
|
|
42
71
|
* ```
|
|
@@ -82,7 +111,7 @@ export declare class Escalation extends pulumi.CustomResource {
|
|
|
82
111
|
*/
|
|
83
112
|
readonly repeats: pulumi.Output<outputs.EscalationRepeat[] | undefined>;
|
|
84
113
|
/**
|
|
85
|
-
* List of the escalation rules.
|
|
114
|
+
* List of the escalation rules. See below for how rules are defined.
|
|
86
115
|
*/
|
|
87
116
|
readonly rules: pulumi.Output<outputs.EscalationRule[]>;
|
|
88
117
|
/**
|
|
@@ -115,7 +144,7 @@ export interface EscalationState {
|
|
|
115
144
|
*/
|
|
116
145
|
repeats?: pulumi.Input<pulumi.Input<inputs.EscalationRepeat>[]>;
|
|
117
146
|
/**
|
|
118
|
-
* List of the escalation rules.
|
|
147
|
+
* List of the escalation rules. See below for how rules are defined.
|
|
119
148
|
*/
|
|
120
149
|
rules?: pulumi.Input<pulumi.Input<inputs.EscalationRule>[]>;
|
|
121
150
|
}
|
|
@@ -140,7 +169,7 @@ export interface EscalationArgs {
|
|
|
140
169
|
*/
|
|
141
170
|
repeats?: pulumi.Input<pulumi.Input<inputs.EscalationRepeat>[]>;
|
|
142
171
|
/**
|
|
143
|
-
* List of the escalation rules.
|
|
172
|
+
* List of the escalation rules. See below for how rules are defined.
|
|
144
173
|
*/
|
|
145
174
|
rules: pulumi.Input<pulumi.Input<inputs.EscalationRule>[]>;
|
|
146
175
|
}
|
package/escalation.js
CHANGED
|
@@ -10,37 +10,66 @@ const utilities = require("./utilities");
|
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
12
|
*
|
|
13
|
+
* An escalation with a single rule
|
|
14
|
+
*
|
|
13
15
|
* ```typescript
|
|
14
16
|
* import * as pulumi from "@pulumi/pulumi";
|
|
15
17
|
* import * as opsgenie from "@pulumi/opsgenie";
|
|
16
18
|
*
|
|
17
|
-
* const
|
|
19
|
+
* const _default = new opsgenie.Escalation("default", {rules: [{
|
|
20
|
+
* condition: "if-not-acked",
|
|
21
|
+
* notifyType: "default",
|
|
22
|
+
* delay: 1,
|
|
23
|
+
* recipients: [{
|
|
24
|
+
* type: "user",
|
|
25
|
+
* id: opsgenie_user.test.id,
|
|
26
|
+
* }],
|
|
27
|
+
* }]});
|
|
28
|
+
* ```
|
|
29
|
+
*
|
|
30
|
+
* An escalation with a multiple rules
|
|
31
|
+
*
|
|
32
|
+
* ```typescript
|
|
33
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
34
|
+
* import * as opsgenie from "@pulumi/opsgenie";
|
|
35
|
+
*
|
|
36
|
+
* const _default = new opsgenie.Escalation("default", {
|
|
18
37
|
* description: "test",
|
|
19
38
|
* ownerTeamId: opsgenie_team.test.id,
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
* rules: [{
|
|
27
|
-
* condition: "if-not-acked",
|
|
28
|
-
* delay: 1,
|
|
29
|
-
* notifyType: "default",
|
|
30
|
-
* recipients: [
|
|
31
|
-
* {
|
|
32
|
-
* id: opsgenie_user.test.id,
|
|
39
|
+
* rules: [
|
|
40
|
+
* {
|
|
41
|
+
* condition: "if-not-acked",
|
|
42
|
+
* notifyType: "default",
|
|
43
|
+
* delay: 1,
|
|
44
|
+
* recipients: [{
|
|
33
45
|
* type: "user",
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
*
|
|
46
|
+
* id: opsgenie_user.test.id,
|
|
47
|
+
* }],
|
|
48
|
+
* },
|
|
49
|
+
* {
|
|
50
|
+
* condition: "if-not-acked",
|
|
51
|
+
* notifyType: "default",
|
|
52
|
+
* delay: 1,
|
|
53
|
+
* recipients: [{
|
|
37
54
|
* type: "team",
|
|
38
|
-
*
|
|
39
|
-
*
|
|
40
|
-
*
|
|
55
|
+
* id: opsgenie_team.test.id,
|
|
56
|
+
* }],
|
|
57
|
+
* },
|
|
58
|
+
* {
|
|
59
|
+
* condition: "if-not-acked",
|
|
60
|
+
* notifyType: "default",
|
|
61
|
+
* delay: 1,
|
|
62
|
+
* recipients: [{
|
|
41
63
|
* type: "schedule",
|
|
42
|
-
*
|
|
43
|
-
*
|
|
64
|
+
* id: opsgenie_schedule.test.id,
|
|
65
|
+
* }],
|
|
66
|
+
* },
|
|
67
|
+
* ],
|
|
68
|
+
* repeats: [{
|
|
69
|
+
* waitInterval: 10,
|
|
70
|
+
* count: 1,
|
|
71
|
+
* resetRecipientStates: true,
|
|
72
|
+
* closeAlertAfterAll: false,
|
|
44
73
|
* }],
|
|
45
74
|
* });
|
|
46
75
|
* ```
|
package/escalation.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"escalation.js","sourceRoot":"","sources":["../escalation.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"escalation.js","sourceRoot":"","sources":["../escalation.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4EG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuB,EAAE,IAAmC;QACrH,OAAO,IAAI,UAAU,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACjE,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,UAAU,CAAC,YAAY,CAAC;IAC3D,CAAC;IA+BD,YAAY,IAAY,EAAE,WAA8C,EAAE,IAAmC;QACzG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA0C,CAAC;YACzD,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAA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AS,CAAC;SAC3D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,UAAU,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;;AAhFL,gCAiFC;AAnEG,gBAAgB;AACO,uBAAY,GAAG,sCAAsC,CAAC"}
|
package/package.json
CHANGED
package/service.d.ts
CHANGED
|
@@ -44,6 +44,10 @@ export declare class Service extends pulumi.CustomResource {
|
|
|
44
44
|
* Name of the service. This field must not be longer than 100 characters.
|
|
45
45
|
*/
|
|
46
46
|
readonly name: pulumi.Output<string>;
|
|
47
|
+
/**
|
|
48
|
+
* Tags for the service, with a maximum of 20 tags per service.
|
|
49
|
+
*/
|
|
50
|
+
readonly tags: pulumi.Output<string[] | undefined>;
|
|
47
51
|
/**
|
|
48
52
|
* Team id of the service. This field must not be longer than 512 characters.
|
|
49
53
|
*/
|
|
@@ -69,6 +73,10 @@ export interface ServiceState {
|
|
|
69
73
|
* Name of the service. This field must not be longer than 100 characters.
|
|
70
74
|
*/
|
|
71
75
|
name?: pulumi.Input<string>;
|
|
76
|
+
/**
|
|
77
|
+
* Tags for the service, with a maximum of 20 tags per service.
|
|
78
|
+
*/
|
|
79
|
+
tags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
72
80
|
/**
|
|
73
81
|
* Team id of the service. This field must not be longer than 512 characters.
|
|
74
82
|
*/
|
|
@@ -86,6 +94,10 @@ export interface ServiceArgs {
|
|
|
86
94
|
* Name of the service. This field must not be longer than 100 characters.
|
|
87
95
|
*/
|
|
88
96
|
name?: pulumi.Input<string>;
|
|
97
|
+
/**
|
|
98
|
+
* Tags for the service, with a maximum of 20 tags per service.
|
|
99
|
+
*/
|
|
100
|
+
tags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
89
101
|
/**
|
|
90
102
|
* Team id of the service. This field must not be longer than 512 characters.
|
|
91
103
|
*/
|
package/service.js
CHANGED
|
@@ -56,6 +56,7 @@ class Service extends pulumi.CustomResource {
|
|
|
56
56
|
const state = argsOrState;
|
|
57
57
|
resourceInputs["description"] = state ? state.description : undefined;
|
|
58
58
|
resourceInputs["name"] = state ? state.name : undefined;
|
|
59
|
+
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
59
60
|
resourceInputs["teamId"] = state ? state.teamId : undefined;
|
|
60
61
|
}
|
|
61
62
|
else {
|
|
@@ -65,6 +66,7 @@ class Service extends pulumi.CustomResource {
|
|
|
65
66
|
}
|
|
66
67
|
resourceInputs["description"] = args ? args.description : undefined;
|
|
67
68
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
69
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
68
70
|
resourceInputs["teamId"] = args ? args.teamId : undefined;
|
|
69
71
|
}
|
|
70
72
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
package/service.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"service.js","sourceRoot":"","sources":["../service.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoB,EAAE,IAAmC;QAClH,OAAO,IAAI,OAAO,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC9D,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,OAA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,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;SAC/D;aAAM;YACH,MAAM,IAAI,GAAG,WAAsC,CAAC;YACpD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,MAAM,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACnD,MAAM,IAAI,KAAK,CAAC,oCAAoC,CAAC,CAAC;aACzD;YACD,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AA1EL,0BA2EC;AA7DG,gBAAgB;AACO,oBAAY,GAAG,gCAAgC,CAAC"}
|
package/types/input.d.ts
CHANGED
|
@@ -152,7 +152,7 @@ export interface EscalationRule {
|
|
|
152
152
|
*/
|
|
153
153
|
notifyType: pulumi.Input<string>;
|
|
154
154
|
/**
|
|
155
|
-
* Object of schedule, team, or users which will be notified in escalation. The possible values for participants are: `user`, `schedule`, `team`.
|
|
155
|
+
* Object of schedule, team, or users which will be notified in escalation. The possible values for participants are: `user`, `schedule`, `team`. There can only be one recipient per each `rules`.
|
|
156
156
|
*/
|
|
157
157
|
recipients: pulumi.Input<pulumi.Input<inputs.EscalationRuleRecipient>[]>;
|
|
158
158
|
}
|
|
@@ -207,6 +207,7 @@ export interface GetTeamMember {
|
|
|
207
207
|
*/
|
|
208
208
|
id?: string;
|
|
209
209
|
role?: string;
|
|
210
|
+
username?: string;
|
|
210
211
|
}
|
|
211
212
|
export interface GetTeamMemberArgs {
|
|
212
213
|
/**
|
|
@@ -214,6 +215,7 @@ export interface GetTeamMemberArgs {
|
|
|
214
215
|
*/
|
|
215
216
|
id?: pulumi.Input<string>;
|
|
216
217
|
role?: pulumi.Input<string>;
|
|
218
|
+
username?: pulumi.Input<string>;
|
|
217
219
|
}
|
|
218
220
|
export interface IncidentTemplateStakeholderProperty {
|
|
219
221
|
/**
|
|
@@ -549,7 +551,7 @@ export interface MaintenanceRuleEntity {
|
|
|
549
551
|
*/
|
|
550
552
|
id?: pulumi.Input<string>;
|
|
551
553
|
/**
|
|
552
|
-
*
|
|
554
|
+
* The type of the entity that maintenance will be applied. It can be either integration or policy.
|
|
553
555
|
*/
|
|
554
556
|
type?: pulumi.Input<string>;
|
|
555
557
|
}
|
|
@@ -563,7 +565,7 @@ export interface MaintenanceTime {
|
|
|
563
565
|
*/
|
|
564
566
|
startDate?: pulumi.Input<string>;
|
|
565
567
|
/**
|
|
566
|
-
*
|
|
568
|
+
* The type of the entity that maintenance will be applied. It can be either integration or policy.
|
|
567
569
|
*/
|
|
568
570
|
type: pulumi.Input<string>;
|
|
569
571
|
}
|
|
@@ -996,6 +998,7 @@ export interface TeamMember {
|
|
|
996
998
|
* The role for the user within the Team - can be either `admin` or `user`. Default: `user`.
|
|
997
999
|
*/
|
|
998
1000
|
role?: pulumi.Input<string>;
|
|
1001
|
+
username?: pulumi.Input<string>;
|
|
999
1002
|
}
|
|
1000
1003
|
export interface TeamRoutingRuleCriteria {
|
|
1001
1004
|
/**
|
|
@@ -1031,19 +1034,16 @@ export interface TeamRoutingRuleCriteriaCondition {
|
|
|
1031
1034
|
order?: pulumi.Input<number>;
|
|
1032
1035
|
}
|
|
1033
1036
|
export interface TeamRoutingRuleNotify {
|
|
1034
|
-
/**
|
|
1035
|
-
* The ID of the Opsgenie Team Routing Rule.
|
|
1036
|
-
*/
|
|
1037
1037
|
id?: pulumi.Input<string>;
|
|
1038
|
-
/**
|
|
1039
|
-
* Name of the team routing rule
|
|
1040
|
-
*/
|
|
1041
1038
|
name?: pulumi.Input<string>;
|
|
1042
1039
|
type: pulumi.Input<string>;
|
|
1043
1040
|
}
|
|
1044
1041
|
export interface TeamRoutingRuleTimeRestriction {
|
|
1045
1042
|
restriction?: pulumi.Input<pulumi.Input<inputs.TeamRoutingRuleTimeRestrictionRestriction>[]>;
|
|
1046
1043
|
restrictionList?: pulumi.Input<pulumi.Input<inputs.TeamRoutingRuleTimeRestrictionRestrictionList>[]>;
|
|
1044
|
+
/**
|
|
1045
|
+
* Type of the operation will be applied on conditions. Should be one of `match-all`, `match-any-condition` or `match-all-conditions`.
|
|
1046
|
+
*/
|
|
1047
1047
|
type: pulumi.Input<string>;
|
|
1048
1048
|
}
|
|
1049
1049
|
export interface TeamRoutingRuleTimeRestrictionRestriction {
|
package/types/output.d.ts
CHANGED
|
@@ -151,7 +151,7 @@ export interface EscalationRule {
|
|
|
151
151
|
*/
|
|
152
152
|
notifyType: string;
|
|
153
153
|
/**
|
|
154
|
-
* Object of schedule, team, or users which will be notified in escalation. The possible values for participants are: `user`, `schedule`, `team`.
|
|
154
|
+
* Object of schedule, team, or users which will be notified in escalation. The possible values for participants are: `user`, `schedule`, `team`. There can only be one recipient per each `rules`.
|
|
155
155
|
*/
|
|
156
156
|
recipients: outputs.EscalationRuleRecipient[];
|
|
157
157
|
}
|
|
@@ -187,6 +187,7 @@ export interface GetTeamMember {
|
|
|
187
187
|
*/
|
|
188
188
|
id?: string;
|
|
189
189
|
role?: string;
|
|
190
|
+
username?: string;
|
|
190
191
|
}
|
|
191
192
|
export interface IncidentTemplateStakeholderProperty {
|
|
192
193
|
/**
|
|
@@ -522,7 +523,7 @@ export interface MaintenanceRuleEntity {
|
|
|
522
523
|
*/
|
|
523
524
|
id?: string;
|
|
524
525
|
/**
|
|
525
|
-
*
|
|
526
|
+
* The type of the entity that maintenance will be applied. It can be either integration or policy.
|
|
526
527
|
*/
|
|
527
528
|
type?: string;
|
|
528
529
|
}
|
|
@@ -536,7 +537,7 @@ export interface MaintenanceTime {
|
|
|
536
537
|
*/
|
|
537
538
|
startDate?: string;
|
|
538
539
|
/**
|
|
539
|
-
*
|
|
540
|
+
* The type of the entity that maintenance will be applied. It can be either integration or policy.
|
|
540
541
|
*/
|
|
541
542
|
type: string;
|
|
542
543
|
}
|
|
@@ -969,6 +970,7 @@ export interface TeamMember {
|
|
|
969
970
|
* The role for the user within the Team - can be either `admin` or `user`. Default: `user`.
|
|
970
971
|
*/
|
|
971
972
|
role?: string;
|
|
973
|
+
username: string;
|
|
972
974
|
}
|
|
973
975
|
export interface TeamRoutingRuleCriteria {
|
|
974
976
|
/**
|
|
@@ -1004,19 +1006,16 @@ export interface TeamRoutingRuleCriteriaCondition {
|
|
|
1004
1006
|
order?: number;
|
|
1005
1007
|
}
|
|
1006
1008
|
export interface TeamRoutingRuleNotify {
|
|
1007
|
-
/**
|
|
1008
|
-
* The ID of the Opsgenie Team Routing Rule.
|
|
1009
|
-
*/
|
|
1010
1009
|
id: string;
|
|
1011
|
-
/**
|
|
1012
|
-
* Name of the team routing rule
|
|
1013
|
-
*/
|
|
1014
1010
|
name: string;
|
|
1015
1011
|
type: string;
|
|
1016
1012
|
}
|
|
1017
1013
|
export interface TeamRoutingRuleTimeRestriction {
|
|
1018
1014
|
restriction?: outputs.TeamRoutingRuleTimeRestrictionRestriction[];
|
|
1019
1015
|
restrictionList?: outputs.TeamRoutingRuleTimeRestrictionRestrictionList[];
|
|
1016
|
+
/**
|
|
1017
|
+
* Type of the operation will be applied on conditions. Should be one of `match-all`, `match-any-condition` or `match-all-conditions`.
|
|
1018
|
+
*/
|
|
1020
1019
|
type: string;
|
|
1021
1020
|
}
|
|
1022
1021
|
export interface TeamRoutingRuleTimeRestrictionRestriction {
|