@pulumi/opsgenie 1.3.7 → 1.3.8
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/incidentTemplate.d.ts +12 -0
- package/incidentTemplate.js.map +1 -1
- package/package.json +3 -2
- package/types/input.d.ts +34 -0
- package/types/output.d.ts +34 -0
- package/package.json.bak +0 -27
package/incidentTemplate.d.ts
CHANGED
|
@@ -85,6 +85,10 @@ export declare class IncidentTemplate extends pulumi.CustomResource {
|
|
|
85
85
|
readonly name: pulumi.Output<string>;
|
|
86
86
|
/**
|
|
87
87
|
* Priority level of the incident. Possible values are `P1`, `P2`, `P3`, `P4` and `P5`.
|
|
88
|
+
*
|
|
89
|
+
* * `impactedServices` (Optional) Impacted services of incident template. Maximum 20 services.
|
|
90
|
+
*
|
|
91
|
+
* * `stakeholderProperties` (Required)
|
|
88
92
|
*/
|
|
89
93
|
readonly priority: pulumi.Output<string>;
|
|
90
94
|
readonly stakeholderProperties: pulumi.Output<outputs.IncidentTemplateStakeholderProperty[]>;
|
|
@@ -126,6 +130,10 @@ export interface IncidentTemplateState {
|
|
|
126
130
|
name?: pulumi.Input<string>;
|
|
127
131
|
/**
|
|
128
132
|
* Priority level of the incident. Possible values are `P1`, `P2`, `P3`, `P4` and `P5`.
|
|
133
|
+
*
|
|
134
|
+
* * `impactedServices` (Optional) Impacted services of incident template. Maximum 20 services.
|
|
135
|
+
*
|
|
136
|
+
* * `stakeholderProperties` (Required)
|
|
129
137
|
*/
|
|
130
138
|
priority?: pulumi.Input<string>;
|
|
131
139
|
stakeholderProperties?: pulumi.Input<pulumi.Input<inputs.IncidentTemplateStakeholderProperty>[]>;
|
|
@@ -159,6 +167,10 @@ export interface IncidentTemplateArgs {
|
|
|
159
167
|
name?: pulumi.Input<string>;
|
|
160
168
|
/**
|
|
161
169
|
* Priority level of the incident. Possible values are `P1`, `P2`, `P3`, `P4` and `P5`.
|
|
170
|
+
*
|
|
171
|
+
* * `impactedServices` (Optional) Impacted services of incident template. Maximum 20 services.
|
|
172
|
+
*
|
|
173
|
+
* * `stakeholderProperties` (Required)
|
|
162
174
|
*/
|
|
163
175
|
priority: pulumi.Input<string>;
|
|
164
176
|
stakeholderProperties: pulumi.Input<pulumi.Input<inputs.IncidentTemplateStakeholderProperty>[]>;
|
package/incidentTemplate.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"incidentTemplate.js","sourceRoot":"","sources":["../incidentTemplate.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IAAmC;QAC3H,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACvE,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,gBAAgB,CAAC,YAAY,CAAC;IACjE,CAAC;
|
|
1
|
+
{"version":3,"file":"incidentTemplate.js","sourceRoot":"","sources":["../incidentTemplate.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CA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Ac,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,uBAAuB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC,CAAC,SAAS,CAAC;YACxF,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;SACzD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,gBAAgB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrE,CAAC;;AAtGL,4CAuGC;AAzFG,gBAAgB;AACO,6BAAY,GAAG,kDAAkD,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/opsgenie",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "1.3.8",
|
|
4
4
|
"description": "A Pulumi package for creating and managing opsgenie cloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
},
|
|
23
23
|
"pulumi": {
|
|
24
24
|
"resource": true,
|
|
25
|
-
"name": "opsgenie"
|
|
25
|
+
"name": "opsgenie",
|
|
26
|
+
"version": "1.3.8"
|
|
26
27
|
}
|
|
27
28
|
}
|
package/types/input.d.ts
CHANGED
|
@@ -782,17 +782,49 @@ export interface ScheduleRotationTimeRestriction {
|
|
|
782
782
|
type: pulumi.Input<string>;
|
|
783
783
|
}
|
|
784
784
|
export interface ScheduleRotationTimeRestrictionRestriction {
|
|
785
|
+
/**
|
|
786
|
+
* Value of the hour that frame will end.
|
|
787
|
+
*/
|
|
785
788
|
endHour: pulumi.Input<number>;
|
|
789
|
+
/**
|
|
790
|
+
* 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.
|
|
791
|
+
*/
|
|
786
792
|
endMin: pulumi.Input<number>;
|
|
793
|
+
/**
|
|
794
|
+
* Value of the hour that frame will start.
|
|
795
|
+
*/
|
|
787
796
|
startHour: pulumi.Input<number>;
|
|
797
|
+
/**
|
|
798
|
+
* 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.
|
|
799
|
+
*/
|
|
788
800
|
startMin: pulumi.Input<number>;
|
|
789
801
|
}
|
|
790
802
|
export interface ScheduleRotationTimeRestrictionRestrictionList {
|
|
803
|
+
/**
|
|
804
|
+
* Value of the day that frame will end.
|
|
805
|
+
*/
|
|
791
806
|
endDay: pulumi.Input<string>;
|
|
807
|
+
/**
|
|
808
|
+
* Value of the hour that frame will end.
|
|
809
|
+
*/
|
|
792
810
|
endHour: pulumi.Input<number>;
|
|
811
|
+
/**
|
|
812
|
+
* 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.
|
|
813
|
+
*
|
|
814
|
+
* Both `startDay` and `endDay` can assume only `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, or `sunday` values.
|
|
815
|
+
*/
|
|
793
816
|
endMin: pulumi.Input<number>;
|
|
817
|
+
/**
|
|
818
|
+
* Value of the day that frame will start.
|
|
819
|
+
*/
|
|
794
820
|
startDay: pulumi.Input<string>;
|
|
821
|
+
/**
|
|
822
|
+
* Value of the hour that frame will start
|
|
823
|
+
*/
|
|
795
824
|
startHour: pulumi.Input<number>;
|
|
825
|
+
/**
|
|
826
|
+
* 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.
|
|
827
|
+
*/
|
|
796
828
|
startMin: pulumi.Input<number>;
|
|
797
829
|
}
|
|
798
830
|
export interface ServiceIncidentRuleIncidentRule {
|
|
@@ -910,6 +942,8 @@ export interface TeamRoutingRuleCriteriaCondition {
|
|
|
910
942
|
not?: pulumi.Input<boolean>;
|
|
911
943
|
/**
|
|
912
944
|
* It is the operation that will be executed for the given field and key. Possible operations are `matches`, `contains`, `starts-with`, `ends-with`, `equals`, `contains-key`, `contains-value`, `greater-than`, `less-than`, `is-empty` and `equals-ignore-whitespace`.
|
|
945
|
+
*
|
|
946
|
+
* * `expectedValue` - (Optional) User defined value that will be compared with alert field according to the operation. Default: empty string.
|
|
913
947
|
*/
|
|
914
948
|
operation: pulumi.Input<string>;
|
|
915
949
|
/**
|
package/types/output.d.ts
CHANGED
|
@@ -754,17 +754,49 @@ export interface ScheduleRotationTimeRestriction {
|
|
|
754
754
|
type: string;
|
|
755
755
|
}
|
|
756
756
|
export interface ScheduleRotationTimeRestrictionRestriction {
|
|
757
|
+
/**
|
|
758
|
+
* Value of the hour that frame will end.
|
|
759
|
+
*/
|
|
757
760
|
endHour: number;
|
|
761
|
+
/**
|
|
762
|
+
* 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.
|
|
763
|
+
*/
|
|
758
764
|
endMin: number;
|
|
765
|
+
/**
|
|
766
|
+
* Value of the hour that frame will start.
|
|
767
|
+
*/
|
|
759
768
|
startHour: number;
|
|
769
|
+
/**
|
|
770
|
+
* 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.
|
|
771
|
+
*/
|
|
760
772
|
startMin: number;
|
|
761
773
|
}
|
|
762
774
|
export interface ScheduleRotationTimeRestrictionRestrictionList {
|
|
775
|
+
/**
|
|
776
|
+
* Value of the day that frame will end.
|
|
777
|
+
*/
|
|
763
778
|
endDay: string;
|
|
779
|
+
/**
|
|
780
|
+
* Value of the hour that frame will end.
|
|
781
|
+
*/
|
|
764
782
|
endHour: number;
|
|
783
|
+
/**
|
|
784
|
+
* 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.
|
|
785
|
+
*
|
|
786
|
+
* Both `startDay` and `endDay` can assume only `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, or `sunday` values.
|
|
787
|
+
*/
|
|
765
788
|
endMin: number;
|
|
789
|
+
/**
|
|
790
|
+
* Value of the day that frame will start.
|
|
791
|
+
*/
|
|
766
792
|
startDay: string;
|
|
793
|
+
/**
|
|
794
|
+
* Value of the hour that frame will start
|
|
795
|
+
*/
|
|
767
796
|
startHour: number;
|
|
797
|
+
/**
|
|
798
|
+
* 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.
|
|
799
|
+
*/
|
|
768
800
|
startMin: number;
|
|
769
801
|
}
|
|
770
802
|
export interface ServiceIncidentRuleIncidentRule {
|
|
@@ -882,6 +914,8 @@ export interface TeamRoutingRuleCriteriaCondition {
|
|
|
882
914
|
not?: boolean;
|
|
883
915
|
/**
|
|
884
916
|
* It is the operation that will be executed for the given field and key. Possible operations are `matches`, `contains`, `starts-with`, `ends-with`, `equals`, `contains-key`, `contains-value`, `greater-than`, `less-than`, `is-empty` and `equals-ignore-whitespace`.
|
|
917
|
+
*
|
|
918
|
+
* * `expectedValue` - (Optional) User defined value that will be compared with alert field according to the operation. Default: empty string.
|
|
885
919
|
*/
|
|
886
920
|
operation: string;
|
|
887
921
|
/**
|
package/package.json.bak
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@pulumi/opsgenie",
|
|
3
|
-
"version": "${VERSION}",
|
|
4
|
-
"description": "A Pulumi package for creating and managing opsgenie cloud resources.",
|
|
5
|
-
"keywords": [
|
|
6
|
-
"pulumi",
|
|
7
|
-
"opsgenie"
|
|
8
|
-
],
|
|
9
|
-
"homepage": "https://pulumi.io",
|
|
10
|
-
"repository": "https://github.com/pulumi/pulumi-opsgenie",
|
|
11
|
-
"license": "Apache-2.0",
|
|
12
|
-
"scripts": {
|
|
13
|
-
"build": "tsc"
|
|
14
|
-
},
|
|
15
|
-
"dependencies": {
|
|
16
|
-
"@pulumi/pulumi": "^3.0.0"
|
|
17
|
-
},
|
|
18
|
-
"devDependencies": {
|
|
19
|
-
"@types/mime": "^2.0.0",
|
|
20
|
-
"@types/node": "^10.0.0",
|
|
21
|
-
"typescript": "^4.3.5"
|
|
22
|
-
},
|
|
23
|
-
"pulumi": {
|
|
24
|
-
"resource": true,
|
|
25
|
-
"name": "opsgenie"
|
|
26
|
-
}
|
|
27
|
-
}
|