@pulumi/opsgenie 1.1.4 → 1.1.7

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/alertPolicy.d.ts CHANGED
@@ -17,7 +17,7 @@ import { input as inputs, output as outputs } from "./types";
17
17
  * filters: [{}],
18
18
  * timeRestrictions: [{
19
19
  * type: "weekday-and-time-of-day",
20
- * restrictions: [
20
+ * restrictionList: [
21
21
  * {
22
22
  * endDay: "monday",
23
23
  * endHour: 7,
package/alertPolicy.js CHANGED
@@ -22,7 +22,7 @@ const utilities = require("./utilities");
22
22
  * filters: [{}],
23
23
  * timeRestrictions: [{
24
24
  * type: "weekday-and-time-of-day",
25
- * restrictions: [
25
+ * restrictionList: [
26
26
  * {
27
27
  * endDay: "monday",
28
28
  * endHour: 7,
package/config/index.js CHANGED
@@ -3,7 +3,11 @@
3
3
  // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
5
  if (k2 === undefined) k2 = k;
6
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
7
11
  }) : (function(o, m, k, k2) {
8
12
  if (k2 === undefined) k2 = k;
9
13
  o[k2] = m[k];
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../config/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;AAEjF,kBAAkB;AAClB,yCAAuB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../config/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;;;;;AAEjF,kBAAkB;AAClB,yCAAuB"}
package/index.js CHANGED
@@ -3,7 +3,11 @@
3
3
  // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
5
  if (k2 === undefined) k2 = k;
6
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
7
11
  }) : (function(o, m, k, k2) {
8
12
  if (k2 === undefined) k2 = k;
9
13
  o[k2] = m[k];
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,gDAA8B;AAC9B,mDAAiC;AACjC,+CAA6B;AAC7B,qDAAmC;AACnC,+CAA6B;AAC7B,kDAAgC;AAChC,iDAA+B;AAC/B,gDAA8B;AAC9B,+CAA6B;AAC7B,4CAA0B;AAC1B,4CAA0B;AAC1B,8CAA4B;AAC5B,qDAAmC;AACnC,sDAAoC;AACpC,gDAA8B;AAC9B,uDAAqC;AACrC,qDAAmC;AACnC,6CAA2B;AAC3B,6CAA2B;AAC3B,qDAAmC;AACnC,4CAA0B;AAC1B,wDAAsC;AACtC,yCAAuB;AACvB,oDAAkC;AAClC,yCAAuB;AACvB,gDAA8B;AAE9B,sBAAsB;AACtB,mCAAmC;AAI/B,wBAAM;AAHV,iCAAiC;AAI7B,sBAAK;AAGT,gCAAgC;AAChC,+CAA4C;AAC5C,qDAAkD;AAClD,6CAA0C;AAC1C,yDAAsD;AACtD,6CAA0C;AAC1C,2CAAwC;AACxC,yDAAsD;AACtD,2DAAwD;AACxD,+CAA4C;AAC5C,6DAA0D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CAAC;CACJ,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/opsgenie",
3
- "version": "v1.1.4",
3
+ "version": "v1.1.7",
4
4
  "description": "A Pulumi package for creating and managing opsgenie 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 opsgenie v1.1.4"
14
+ "install": "node scripts/install-pulumi-plugin.js resource opsgenie v1.1.7"
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/opsgenie",
3
- "version": "v1.1.4",
3
+ "version": "v1.1.7",
4
4
  "description": "A Pulumi package for creating and managing opsgenie 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 opsgenie v1.1.4"
14
+ "install": "node scripts/install-pulumi-plugin.js resource opsgenie v1.1.7"
15
15
  },
16
16
  "dependencies": {
17
17
  "@pulumi/pulumi": "^3.0.0"
@@ -34,7 +34,7 @@ import { input as inputs, output as outputs } from "./types";
34
34
  * priority: "P3",
35
35
  * stakeholderProperties: [{
36
36
  * message: "Message for stakeholders",
37
- * enable: "true",
37
+ * enable: true,
38
38
  * }],
39
39
  * }],
40
40
  * }],
@@ -39,7 +39,7 @@ const utilities = require("./utilities");
39
39
  * priority: "P3",
40
40
  * stakeholderProperties: [{
41
41
  * message: "Message for stakeholders",
42
- * enable: "true",
42
+ * enable: true,
43
43
  * }],
44
44
  * }],
45
45
  * }],
@@ -34,7 +34,7 @@ import { input as inputs, output as outputs } from "./types";
34
34
  * order: 0,
35
35
  * teamId: testTeam.id,
36
36
  * timeRestrictions: [{
37
- * restrictions: [{
37
+ * restrictionList: [{
38
38
  * endDay: "tuesday",
39
39
  * endHour: 18,
40
40
  * endMin: 30,
@@ -39,7 +39,7 @@ const utilities = require("./utilities");
39
39
  * order: 0,
40
40
  * teamId: testTeam.id,
41
41
  * timeRestrictions: [{
42
- * restrictions: [{
42
+ * restrictionList: [{
43
43
  * endDay: "tuesday",
44
44
  * endHour: 18,
45
45
  * endMin: 30,
package/types/input.d.ts CHANGED
@@ -55,16 +55,38 @@ export interface AlertPolicyResponder {
55
55
  username?: pulumi.Input<string>;
56
56
  }
57
57
  export interface AlertPolicyTimeRestriction {
58
+ /**
59
+ * A definition of hourly definition applied daily, this has to be used with combination: type = `time-of-day`. This is a block, structure is documented below.
60
+ */
61
+ restriction?: pulumi.Input<pulumi.Input<inputs.AlertPolicyTimeRestrictionRestriction>[]>;
58
62
  /**
59
63
  * List of days and hours definitions for field type = `weekday-and-time-of-day`. This is a block, structure is documented below.
60
64
  */
61
- restrictions?: pulumi.Input<pulumi.Input<inputs.AlertPolicyTimeRestrictionRestriction>[]>;
65
+ restrictionList?: pulumi.Input<pulumi.Input<inputs.AlertPolicyTimeRestrictionRestrictionList>[]>;
62
66
  /**
63
67
  * Type of responder. Acceptable values are: `user` or `team`
64
68
  */
65
69
  type: pulumi.Input<string>;
66
70
  }
67
71
  export interface AlertPolicyTimeRestrictionRestriction {
72
+ /**
73
+ * Ending hour of restriction.
74
+ */
75
+ endHour: pulumi.Input<number>;
76
+ /**
77
+ * Ending minute of restriction on defined `endHour`
78
+ */
79
+ endMin: pulumi.Input<number>;
80
+ /**
81
+ * Starting hour of restriction.
82
+ */
83
+ startHour: pulumi.Input<number>;
84
+ /**
85
+ * Staring minute of restriction on defined `startHour`
86
+ */
87
+ startMin: pulumi.Input<number>;
88
+ }
89
+ export interface AlertPolicyTimeRestrictionRestrictionList {
68
90
  /**
69
91
  * Ending day of restriction (eg. `wednesday`)
70
92
  */
@@ -153,18 +175,18 @@ export interface GetEscalationRepeatArgs {
153
175
  resetRecipientStates?: pulumi.Input<boolean>;
154
176
  waitInterval?: pulumi.Input<number>;
155
177
  }
156
- export interface GetEscalationRuleArgs {
157
- condition: pulumi.Input<string>;
158
- delay: pulumi.Input<number>;
159
- notifyType: pulumi.Input<string>;
160
- recipients: pulumi.Input<pulumi.Input<inputs.GetEscalationRuleRecipientArgs>[]>;
161
- }
162
178
  export interface GetEscalationRule {
163
179
  condition: string;
164
180
  delay: number;
165
181
  notifyType: string;
166
182
  recipients: inputs.GetEscalationRuleRecipient[];
167
183
  }
184
+ export interface GetEscalationRuleArgs {
185
+ condition: pulumi.Input<string>;
186
+ delay: pulumi.Input<number>;
187
+ notifyType: pulumi.Input<string>;
188
+ recipients: pulumi.Input<pulumi.Input<inputs.GetEscalationRuleRecipientArgs>[]>;
189
+ }
168
190
  export interface GetEscalationRuleRecipientArgs {
169
191
  /**
170
192
  * The ID of the Opsgenie Escalation.
@@ -179,19 +201,19 @@ export interface GetEscalationRuleRecipient {
179
201
  id?: string;
180
202
  type?: string;
181
203
  }
182
- export interface GetTeamMember {
204
+ export interface GetTeamMemberArgs {
183
205
  /**
184
206
  * The ID of the Opsgenie Team.
185
207
  */
186
- id?: string;
187
- role?: string;
208
+ id?: pulumi.Input<string>;
209
+ role?: pulumi.Input<string>;
188
210
  }
189
- export interface GetTeamMemberArgs {
211
+ export interface GetTeamMember {
190
212
  /**
191
213
  * The ID of the Opsgenie Team.
192
214
  */
193
- id?: pulumi.Input<string>;
194
- role?: pulumi.Input<string>;
215
+ id?: string;
216
+ role?: string;
195
217
  }
196
218
  export interface IncidentTemplateStakeholderProperty {
197
219
  /**
@@ -670,16 +692,38 @@ export interface NotificationPolicyFilterCondition {
670
692
  order?: pulumi.Input<number>;
671
693
  }
672
694
  export interface NotificationPolicyTimeRestriction {
695
+ /**
696
+ * A definition of hourly definition applied daily, this has to be used with combination: type = `time-of-day`. This is a block, structure is documented below.
697
+ */
698
+ restriction?: pulumi.Input<pulumi.Input<inputs.NotificationPolicyTimeRestrictionRestriction>[]>;
673
699
  /**
674
700
  * List of days and hours definitions for field type = `weekday-and-time-of-day`. This is a block, structure is documented below.
675
701
  */
676
- restrictions?: pulumi.Input<pulumi.Input<inputs.NotificationPolicyTimeRestrictionRestriction>[]>;
702
+ restrictionList?: pulumi.Input<pulumi.Input<inputs.NotificationPolicyTimeRestrictionRestrictionList>[]>;
677
703
  /**
678
704
  * Defines if restriction should apply daily on given hours or on certain days and hours. Possible values are: `time-of-day`, `weekday-and-time-of-day`
679
705
  */
680
706
  type: pulumi.Input<string>;
681
707
  }
682
708
  export interface NotificationPolicyTimeRestrictionRestriction {
709
+ /**
710
+ * Ending hour of restriction.
711
+ */
712
+ endHour: pulumi.Input<number>;
713
+ /**
714
+ * Ending minute of restriction on defined `endHour`
715
+ */
716
+ endMin: pulumi.Input<number>;
717
+ /**
718
+ * Starting hour of restriction.
719
+ */
720
+ startHour: pulumi.Input<number>;
721
+ /**
722
+ * Staring minute of restriction on defined `startHour`
723
+ */
724
+ startMin: pulumi.Input<number>;
725
+ }
726
+ export interface NotificationPolicyTimeRestrictionRestrictionList {
683
727
  /**
684
728
  * Ending day of restriction (eg. `wednesday`)
685
729
  */
@@ -815,13 +859,31 @@ export interface ScheduleRotationTimeRestriction {
815
859
  /**
816
860
  * It is a restriction object which is described below. This can be used only if time restriction type is `weekday-and-time-of-day`.
817
861
  */
818
- restrictions?: pulumi.Input<pulumi.Input<inputs.ScheduleRotationTimeRestrictionRestriction>[]>;
862
+ restrictionList?: pulumi.Input<pulumi.Input<inputs.ScheduleRotationTimeRestrictionRestrictionList>[]>;
819
863
  /**
820
864
  * This parameter should be set to `time-of-day` or `weekday-and-time-of-day`.
821
865
  */
822
866
  type: pulumi.Input<string>;
823
867
  }
824
868
  export interface ScheduleRotationTimeRestrictionRestriction {
869
+ /**
870
+ * Value of the hour that frame will end.
871
+ */
872
+ endHour: pulumi.Input<number>;
873
+ /**
874
+ * Value of the minute that frame will end. Minutes may take 0 or 30 as value. Otherwise they will be converted to nearest 0 or 30 automatically.
875
+ */
876
+ endMin: pulumi.Input<number>;
877
+ /**
878
+ * Value of the hour that frame will start.
879
+ */
880
+ startHour: pulumi.Input<number>;
881
+ /**
882
+ * Value of the minute that frame will start. Minutes may take 0 or 30 as value. Otherwise they will be converted to nearest 0 or 30 automatically.
883
+ */
884
+ startMin: pulumi.Input<number>;
885
+ }
886
+ export interface ScheduleRotationTimeRestrictionRestrictionList {
825
887
  /**
826
888
  * Value of the day that frame will end.
827
889
  */
@@ -977,10 +1039,17 @@ export interface TeamRoutingRuleNotify {
977
1039
  type: pulumi.Input<string>;
978
1040
  }
979
1041
  export interface TeamRoutingRuleTimeRestriction {
980
- restrictions?: pulumi.Input<pulumi.Input<inputs.TeamRoutingRuleTimeRestrictionRestriction>[]>;
1042
+ restriction?: pulumi.Input<pulumi.Input<inputs.TeamRoutingRuleTimeRestrictionRestriction>[]>;
1043
+ restrictionList?: pulumi.Input<pulumi.Input<inputs.TeamRoutingRuleTimeRestrictionRestrictionList>[]>;
981
1044
  type: pulumi.Input<string>;
982
1045
  }
983
1046
  export interface TeamRoutingRuleTimeRestrictionRestriction {
1047
+ endHour: pulumi.Input<number>;
1048
+ endMin: pulumi.Input<number>;
1049
+ startHour: pulumi.Input<number>;
1050
+ startMin: pulumi.Input<number>;
1051
+ }
1052
+ export interface TeamRoutingRuleTimeRestrictionRestrictionList {
984
1053
  endDay: pulumi.Input<string>;
985
1054
  endHour: pulumi.Input<number>;
986
1055
  endMin: pulumi.Input<number>;
package/types/output.d.ts CHANGED
@@ -54,16 +54,38 @@ export interface AlertPolicyResponder {
54
54
  username?: string;
55
55
  }
56
56
  export interface AlertPolicyTimeRestriction {
57
+ /**
58
+ * A definition of hourly definition applied daily, this has to be used with combination: type = `time-of-day`. This is a block, structure is documented below.
59
+ */
60
+ restriction?: outputs.AlertPolicyTimeRestrictionRestriction[];
57
61
  /**
58
62
  * List of days and hours definitions for field type = `weekday-and-time-of-day`. This is a block, structure is documented below.
59
63
  */
60
- restrictions?: outputs.AlertPolicyTimeRestrictionRestriction[];
64
+ restrictionList?: outputs.AlertPolicyTimeRestrictionRestrictionList[];
61
65
  /**
62
66
  * Type of responder. Acceptable values are: `user` or `team`
63
67
  */
64
68
  type: string;
65
69
  }
66
70
  export interface AlertPolicyTimeRestrictionRestriction {
71
+ /**
72
+ * Ending hour of restriction.
73
+ */
74
+ endHour: number;
75
+ /**
76
+ * Ending minute of restriction on defined `endHour`
77
+ */
78
+ endMin: number;
79
+ /**
80
+ * Starting hour of restriction.
81
+ */
82
+ startHour: number;
83
+ /**
84
+ * Staring minute of restriction on defined `startHour`
85
+ */
86
+ startMin: number;
87
+ }
88
+ export interface AlertPolicyTimeRestrictionRestrictionList {
67
89
  /**
68
90
  * Ending day of restriction (eg. `wednesday`)
69
91
  */
@@ -643,16 +665,38 @@ export interface NotificationPolicyFilterCondition {
643
665
  order?: number;
644
666
  }
645
667
  export interface NotificationPolicyTimeRestriction {
668
+ /**
669
+ * A definition of hourly definition applied daily, this has to be used with combination: type = `time-of-day`. This is a block, structure is documented below.
670
+ */
671
+ restriction?: outputs.NotificationPolicyTimeRestrictionRestriction[];
646
672
  /**
647
673
  * List of days and hours definitions for field type = `weekday-and-time-of-day`. This is a block, structure is documented below.
648
674
  */
649
- restrictions?: outputs.NotificationPolicyTimeRestrictionRestriction[];
675
+ restrictionList?: outputs.NotificationPolicyTimeRestrictionRestrictionList[];
650
676
  /**
651
677
  * Defines if restriction should apply daily on given hours or on certain days and hours. Possible values are: `time-of-day`, `weekday-and-time-of-day`
652
678
  */
653
679
  type: string;
654
680
  }
655
681
  export interface NotificationPolicyTimeRestrictionRestriction {
682
+ /**
683
+ * Ending hour of restriction.
684
+ */
685
+ endHour: number;
686
+ /**
687
+ * Ending minute of restriction on defined `endHour`
688
+ */
689
+ endMin: number;
690
+ /**
691
+ * Starting hour of restriction.
692
+ */
693
+ startHour: number;
694
+ /**
695
+ * Staring minute of restriction on defined `startHour`
696
+ */
697
+ startMin: number;
698
+ }
699
+ export interface NotificationPolicyTimeRestrictionRestrictionList {
656
700
  /**
657
701
  * Ending day of restriction (eg. `wednesday`)
658
702
  */
@@ -788,13 +832,31 @@ export interface ScheduleRotationTimeRestriction {
788
832
  /**
789
833
  * It is a restriction object which is described below. This can be used only if time restriction type is `weekday-and-time-of-day`.
790
834
  */
791
- restrictions?: outputs.ScheduleRotationTimeRestrictionRestriction[];
835
+ restrictionList?: outputs.ScheduleRotationTimeRestrictionRestrictionList[];
792
836
  /**
793
837
  * This parameter should be set to `time-of-day` or `weekday-and-time-of-day`.
794
838
  */
795
839
  type: string;
796
840
  }
797
841
  export interface ScheduleRotationTimeRestrictionRestriction {
842
+ /**
843
+ * Value of the hour that frame will end.
844
+ */
845
+ endHour: number;
846
+ /**
847
+ * Value of the minute that frame will end. Minutes may take 0 or 30 as value. Otherwise they will be converted to nearest 0 or 30 automatically.
848
+ */
849
+ endMin: number;
850
+ /**
851
+ * Value of the hour that frame will start.
852
+ */
853
+ startHour: number;
854
+ /**
855
+ * Value of the minute that frame will start. Minutes may take 0 or 30 as value. Otherwise they will be converted to nearest 0 or 30 automatically.
856
+ */
857
+ startMin: number;
858
+ }
859
+ export interface ScheduleRotationTimeRestrictionRestrictionList {
798
860
  /**
799
861
  * Value of the day that frame will end.
800
862
  */
@@ -950,10 +1012,17 @@ export interface TeamRoutingRuleNotify {
950
1012
  type: string;
951
1013
  }
952
1014
  export interface TeamRoutingRuleTimeRestriction {
953
- restrictions?: outputs.TeamRoutingRuleTimeRestrictionRestriction[];
1015
+ restriction?: outputs.TeamRoutingRuleTimeRestrictionRestriction[];
1016
+ restrictionList?: outputs.TeamRoutingRuleTimeRestrictionRestrictionList[];
954
1017
  type: string;
955
1018
  }
956
1019
  export interface TeamRoutingRuleTimeRestrictionRestriction {
1020
+ endHour: number;
1021
+ endMin: number;
1022
+ startHour: number;
1023
+ startMin: number;
1024
+ }
1025
+ export interface TeamRoutingRuleTimeRestrictionRestrictionList {
957
1026
  endDay: string;
958
1027
  endHour: number;
959
1028
  endMin: number;