@pulumi/azure-native 2.20.0 → 2.20.1-alpha.1701422329
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/alertsmanagement/alertProcessingRuleByName.d.ts +3 -1
- package/alertsmanagement/alertProcessingRuleByName.js +4 -2
- package/alertsmanagement/getAlertProcessingRuleByName.d.ts +6 -2
- package/alertsmanagement/getAlertProcessingRuleByName.js +7 -3
- package/alertsmanagement/index.d.ts +2 -1
- package/alertsmanagement/index.js +4 -2
- package/alertsmanagement/v20210808/alertProcessingRuleByName.d.ts +83 -0
- package/alertsmanagement/v20210808/alertProcessingRuleByName.js +74 -0
- package/alertsmanagement/v20210808/getAlertProcessingRuleByName.d.ts +65 -0
- package/alertsmanagement/v20210808/getAlertProcessingRuleByName.js +26 -0
- package/alertsmanagement/v20210808/index.d.ts +7 -0
- package/alertsmanagement/v20210808/index.js +41 -0
- package/package.json +1 -1
- package/tsconfig.tsbuildinfo +1 -1
- package/types/enums/alertsmanagement/index.d.ts +2 -10
- package/types/enums/alertsmanagement/index.js +4 -7
- package/types/enums/alertsmanagement/v20210808/index.d.ts +57 -0
- package/types/enums/alertsmanagement/v20210808/index.js +43 -0
- package/types/input.d.ts +160 -40
- package/types/input.js +12 -9
- package/types/output.d.ts +189 -40
- package/types/output.js +12 -9
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import * as v20190505preview from "./v20190505preview";
|
|
2
2
|
import * as v20210401 from "./v20210401";
|
|
3
|
+
import * as v20210808 from "./v20210808";
|
|
3
4
|
import * as v20230501preview from "./v20230501preview";
|
|
4
|
-
export { v20190505preview, v20210401, v20230501preview, };
|
|
5
|
+
export { v20190505preview, v20210401, v20210808, v20230501preview, };
|
|
5
6
|
export declare const ActionRuleStatus: {
|
|
6
7
|
readonly Enabled: "Enabled";
|
|
7
8
|
readonly Disabled: "Disabled";
|
|
@@ -22,7 +23,6 @@ export type ActionRuleType = (typeof ActionRuleType)[keyof typeof ActionRuleType
|
|
|
22
23
|
export declare const ActionType: {
|
|
23
24
|
readonly AddActionGroups: "AddActionGroups";
|
|
24
25
|
readonly RemoveAllActionGroups: "RemoveAllActionGroups";
|
|
25
|
-
readonly CorrelateAlerts: "CorrelateAlerts";
|
|
26
26
|
};
|
|
27
27
|
/**
|
|
28
28
|
* Action that should be applied.
|
|
@@ -66,14 +66,6 @@ export declare const Field: {
|
|
|
66
66
|
* Field for a given condition.
|
|
67
67
|
*/
|
|
68
68
|
export type Field = (typeof Field)[keyof typeof Field];
|
|
69
|
-
export declare const NotificationsForCorrelatedAlerts: {
|
|
70
|
-
readonly NotifyAlways: "NotifyAlways";
|
|
71
|
-
readonly SuppressAlways: "SuppressAlways";
|
|
72
|
-
};
|
|
73
|
-
/**
|
|
74
|
-
* Indicates how to handle child alerts notifications.
|
|
75
|
-
*/
|
|
76
|
-
export type NotificationsForCorrelatedAlerts = (typeof NotificationsForCorrelatedAlerts)[keyof typeof NotificationsForCorrelatedAlerts];
|
|
77
69
|
export declare const Operator: {
|
|
78
70
|
readonly Equals: "Equals";
|
|
79
71
|
readonly NotEquals: "NotEquals";
|
|
@@ -2,12 +2,14 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.SuppressionType = exports.Severity = exports.ScopeType = exports.RecurrenceType = exports.Operator = exports.
|
|
5
|
+
exports.SuppressionType = exports.Severity = exports.ScopeType = exports.RecurrenceType = exports.Operator = exports.Field = exports.DaysOfWeek = exports.AlertRuleState = exports.ActionType = exports.ActionRuleType = exports.ActionRuleStatus = exports.v20230501preview = exports.v20210808 = exports.v20210401 = exports.v20190505preview = void 0;
|
|
6
6
|
// Export sub-modules:
|
|
7
7
|
const v20190505preview = require("./v20190505preview");
|
|
8
8
|
exports.v20190505preview = v20190505preview;
|
|
9
9
|
const v20210401 = require("./v20210401");
|
|
10
10
|
exports.v20210401 = v20210401;
|
|
11
|
+
const v20210808 = require("./v20210808");
|
|
12
|
+
exports.v20210808 = v20210808;
|
|
11
13
|
const v20230501preview = require("./v20230501preview");
|
|
12
14
|
exports.v20230501preview = v20230501preview;
|
|
13
15
|
exports.ActionRuleStatus = {
|
|
@@ -22,7 +24,6 @@ exports.ActionRuleType = {
|
|
|
22
24
|
exports.ActionType = {
|
|
23
25
|
AddActionGroups: "AddActionGroups",
|
|
24
26
|
RemoveAllActionGroups: "RemoveAllActionGroups",
|
|
25
|
-
CorrelateAlerts: "CorrelateAlerts",
|
|
26
27
|
};
|
|
27
28
|
exports.AlertRuleState = {
|
|
28
29
|
Enabled: "Enabled",
|
|
@@ -50,10 +51,6 @@ exports.Field = {
|
|
|
50
51
|
Description: "Description",
|
|
51
52
|
AlertContext: "AlertContext",
|
|
52
53
|
};
|
|
53
|
-
exports.NotificationsForCorrelatedAlerts = {
|
|
54
|
-
NotifyAlways: "NotifyAlways",
|
|
55
|
-
SuppressAlways: "SuppressAlways",
|
|
56
|
-
};
|
|
57
54
|
exports.Operator = {
|
|
58
55
|
Equals: "Equals",
|
|
59
56
|
NotEquals: "NotEquals",
|
|
@@ -84,4 +81,4 @@ exports.SuppressionType = {
|
|
|
84
81
|
Weekly: "Weekly",
|
|
85
82
|
Monthly: "Monthly",
|
|
86
83
|
};
|
|
87
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
84
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi90eXBlcy9lbnVtcy9hbGVydHNtYW5hZ2VtZW50L2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxzRUFBc0U7QUFDdEUsaUZBQWlGOzs7QUFFakYsc0JBQXNCO0FBQ3RCLHVEQUF1RDtBQU1uRCw0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*/
|
|
8
|
+
export type ActionType = (typeof ActionType)[keyof typeof ActionType];
|
|
9
|
+
export declare const DaysOfWeek: {
|
|
10
|
+
readonly Sunday: "Sunday";
|
|
11
|
+
readonly Monday: "Monday";
|
|
12
|
+
readonly Tuesday: "Tuesday";
|
|
13
|
+
readonly Wednesday: "Wednesday";
|
|
14
|
+
readonly Thursday: "Thursday";
|
|
15
|
+
readonly Friday: "Friday";
|
|
16
|
+
readonly Saturday: "Saturday";
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* Days of week.
|
|
20
|
+
*/
|
|
21
|
+
export type DaysOfWeek = (typeof DaysOfWeek)[keyof typeof DaysOfWeek];
|
|
22
|
+
export declare const Field: {
|
|
23
|
+
readonly Severity: "Severity";
|
|
24
|
+
readonly MonitorService: "MonitorService";
|
|
25
|
+
readonly MonitorCondition: "MonitorCondition";
|
|
26
|
+
readonly SignalType: "SignalType";
|
|
27
|
+
readonly TargetResourceType: "TargetResourceType";
|
|
28
|
+
readonly TargetResource: "TargetResource";
|
|
29
|
+
readonly TargetResourceGroup: "TargetResourceGroup";
|
|
30
|
+
readonly AlertRuleId: "AlertRuleId";
|
|
31
|
+
readonly AlertRuleName: "AlertRuleName";
|
|
32
|
+
readonly Description: "Description";
|
|
33
|
+
readonly AlertContext: "AlertContext";
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* Field for a given condition.
|
|
37
|
+
*/
|
|
38
|
+
export type Field = (typeof Field)[keyof typeof Field];
|
|
39
|
+
export declare const Operator: {
|
|
40
|
+
readonly Equals: "Equals";
|
|
41
|
+
readonly NotEquals: "NotEquals";
|
|
42
|
+
readonly Contains: "Contains";
|
|
43
|
+
readonly DoesNotContain: "DoesNotContain";
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
* Operator for a given condition.
|
|
47
|
+
*/
|
|
48
|
+
export type Operator = (typeof Operator)[keyof typeof Operator];
|
|
49
|
+
export declare const RecurrenceType: {
|
|
50
|
+
readonly Daily: "Daily";
|
|
51
|
+
readonly Weekly: "Weekly";
|
|
52
|
+
readonly Monthly: "Monthly";
|
|
53
|
+
};
|
|
54
|
+
/**
|
|
55
|
+
* Specifies when the recurrence should be applied.
|
|
56
|
+
*/
|
|
57
|
+
export type RecurrenceType = (typeof RecurrenceType)[keyof typeof RecurrenceType];
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
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.RecurrenceType = exports.Operator = exports.Field = exports.DaysOfWeek = exports.ActionType = void 0;
|
|
6
|
+
exports.ActionType = {
|
|
7
|
+
AddActionGroups: "AddActionGroups",
|
|
8
|
+
RemoveAllActionGroups: "RemoveAllActionGroups",
|
|
9
|
+
};
|
|
10
|
+
exports.DaysOfWeek = {
|
|
11
|
+
Sunday: "Sunday",
|
|
12
|
+
Monday: "Monday",
|
|
13
|
+
Tuesday: "Tuesday",
|
|
14
|
+
Wednesday: "Wednesday",
|
|
15
|
+
Thursday: "Thursday",
|
|
16
|
+
Friday: "Friday",
|
|
17
|
+
Saturday: "Saturday",
|
|
18
|
+
};
|
|
19
|
+
exports.Field = {
|
|
20
|
+
Severity: "Severity",
|
|
21
|
+
MonitorService: "MonitorService",
|
|
22
|
+
MonitorCondition: "MonitorCondition",
|
|
23
|
+
SignalType: "SignalType",
|
|
24
|
+
TargetResourceType: "TargetResourceType",
|
|
25
|
+
TargetResource: "TargetResource",
|
|
26
|
+
TargetResourceGroup: "TargetResourceGroup",
|
|
27
|
+
AlertRuleId: "AlertRuleId",
|
|
28
|
+
AlertRuleName: "AlertRuleName",
|
|
29
|
+
Description: "Description",
|
|
30
|
+
AlertContext: "AlertContext",
|
|
31
|
+
};
|
|
32
|
+
exports.Operator = {
|
|
33
|
+
Equals: "Equals",
|
|
34
|
+
NotEquals: "NotEquals",
|
|
35
|
+
Contains: "Contains",
|
|
36
|
+
DoesNotContain: "DoesNotContain",
|
|
37
|
+
};
|
|
38
|
+
exports.RecurrenceType = {
|
|
39
|
+
Daily: "Daily",
|
|
40
|
+
Weekly: "Weekly",
|
|
41
|
+
Monthly: "Monthly",
|
|
42
|
+
};
|
|
43
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi90eXBlcy9lbnVtcy9hbGVydHNtYW5hZ2VtZW50L3YyMDIxMDgwOC9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsc0VBQXNFO0FBQ3RFLGlGQUFpRjs7O0FBR3BFLFFBQUEsVUFBVSxHQUFHO0lBQ3RCLGVBQWUsRUFBRSxpQkFBaUI7SUFDbEMscUJBQXFCLEVBQUUsdUJBQXVCO0NBQ3hDLENBQUM7QUFPRSxRQUFBLFVBQVUsR0FBRztJQUN0QixNQUFNLEVBQUUsUUFBUTtJQUNoQixNQUFNLEVBQUUsUUFBUTtJQUNoQixPQUFPLEVBQUUsU0FBUztJQUNsQixTQUFTLEVBQUUsV0FBVztJQUN0QixRQUFRLEVBQUUsVUFBVTtJQUNwQixNQUFNLEVBQUUsUUFBUTtJQUNoQixRQUFRLEVBQUUsVUFBVTtDQUNkLENBQUM7QUFPRSxRQUFBLEtBQUssR0FBRztJQUNqQixRQUFRLEVBQUUsVUFBVTtJQUNwQixjQUFjLEVBQUUsZ0JBQWdCO0lBQ2hDLGdCQUFnQixFQUFFLGtCQUFrQjtJQUNwQyxVQUFVLEVBQUUsWUFBWTtJQUN4QixrQkFBa0IsRUFBRSxvQkFBb0I7SUFDeEMsY0FBYyxFQUFFLGdCQUFnQjtJQUNoQyxtQkFBbUIsRUFBRSxxQkFBcUI7SUFDMUMsV0FBVyxFQUFFLGFBQWE7SUFDMUIsYUFBYSxFQUFFLGVBQWU7SUFDOUIsV0FBVyxFQUFFLGFBQWE7SUFDMUIsWUFBWSxFQUFFLGNBQWM7Q0FDdEIsQ0FBQztBQU9FLFFBQUEsUUFBUSxHQUFHO0lBQ3BCLE1BQU0sRUFBRSxRQUFRO0lBQ2hCLFNBQVMsRUFBRSxXQUFXO0lBQ3RCLFFBQVEsRUFBRSxVQUFVO0lBQ3BCLGNBQWMsRUFBRSxnQkFBZ0I7Q0FDMUIsQ0FBQztBQU9FLFFBQUEsY0FBYyxHQUFHO0lBQzFCLEtBQUssRUFBRSxPQUFPO0lBQ2QsTUFBTSxFQUFFLFFBQVE7SUFDaEIsT0FBTyxFQUFFLFNBQVM7Q0FDWixDQUFDIn0=
|
package/types/input.d.ts
CHANGED
|
@@ -1006,7 +1006,7 @@ export declare namespace alertsmanagement {
|
|
|
1006
1006
|
/**
|
|
1007
1007
|
* Actions to be applied.
|
|
1008
1008
|
*/
|
|
1009
|
-
actions: pulumi.Input<pulumi.Input<inputs.alertsmanagement.AddActionGroupsArgs | inputs.alertsmanagement.
|
|
1009
|
+
actions: pulumi.Input<pulumi.Input<inputs.alertsmanagement.AddActionGroupsArgs | inputs.alertsmanagement.RemoveAllActionGroupsArgs>[]>;
|
|
1010
1010
|
/**
|
|
1011
1011
|
* Conditions on which alerts will be filtered.
|
|
1012
1012
|
*/
|
|
@@ -1086,45 +1086,6 @@ export declare namespace alertsmanagement {
|
|
|
1086
1086
|
*/
|
|
1087
1087
|
targetResourceType?: pulumi.Input<inputs.alertsmanagement.ConditionArgs>;
|
|
1088
1088
|
}
|
|
1089
|
-
/**
|
|
1090
|
-
* Add logic for alerts correlation.
|
|
1091
|
-
*/
|
|
1092
|
-
interface CorrelateAlertsArgs {
|
|
1093
|
-
/**
|
|
1094
|
-
* Action that should be applied.
|
|
1095
|
-
* Expected value is 'CorrelateAlerts'.
|
|
1096
|
-
*/
|
|
1097
|
-
actionType: pulumi.Input<"CorrelateAlerts">;
|
|
1098
|
-
/**
|
|
1099
|
-
* The list of conditions for the alerts correlations.
|
|
1100
|
-
*/
|
|
1101
|
-
correlateBy: pulumi.Input<pulumi.Input<inputs.alertsmanagement.CorrelateByArgs>[]>;
|
|
1102
|
-
/**
|
|
1103
|
-
* The required duration (in ISO8601 format) for the alerts correlation.
|
|
1104
|
-
*/
|
|
1105
|
-
correlationInterval: pulumi.Input<string>;
|
|
1106
|
-
/**
|
|
1107
|
-
* Indicates how to handle child alerts notifications.
|
|
1108
|
-
*/
|
|
1109
|
-
notificationsForCorrelatedAlerts?: pulumi.Input<string | enums.alertsmanagement.NotificationsForCorrelatedAlerts>;
|
|
1110
|
-
/**
|
|
1111
|
-
* The priority of this correlation.
|
|
1112
|
-
*/
|
|
1113
|
-
priority: pulumi.Input<number>;
|
|
1114
|
-
}
|
|
1115
|
-
/**
|
|
1116
|
-
* correlateAlertsArgsProvideDefaults sets the appropriate defaults for CorrelateAlertsArgs
|
|
1117
|
-
*/
|
|
1118
|
-
function correlateAlertsArgsProvideDefaults(val: CorrelateAlertsArgs): CorrelateAlertsArgs;
|
|
1119
|
-
/**
|
|
1120
|
-
* The logic for the correlation.
|
|
1121
|
-
*/
|
|
1122
|
-
interface CorrelateByArgs {
|
|
1123
|
-
/**
|
|
1124
|
-
* The JPath of the property that the alerts should be correlated by.
|
|
1125
|
-
*/
|
|
1126
|
-
field?: pulumi.Input<string>;
|
|
1127
|
-
}
|
|
1128
1089
|
/**
|
|
1129
1090
|
* Daily recurrence object.
|
|
1130
1091
|
*/
|
|
@@ -1658,6 +1619,165 @@ export declare namespace alertsmanagement {
|
|
|
1658
1619
|
duration?: pulumi.Input<string>;
|
|
1659
1620
|
}
|
|
1660
1621
|
}
|
|
1622
|
+
namespace v20210808 {
|
|
1623
|
+
/**
|
|
1624
|
+
* Add action groups to alert processing rule.
|
|
1625
|
+
*/
|
|
1626
|
+
interface AddActionGroupsArgs {
|
|
1627
|
+
/**
|
|
1628
|
+
* List of action group Ids to add to alert processing rule.
|
|
1629
|
+
*/
|
|
1630
|
+
actionGroupIds: pulumi.Input<pulumi.Input<string>[]>;
|
|
1631
|
+
/**
|
|
1632
|
+
* Action that should be applied.
|
|
1633
|
+
* Expected value is 'AddActionGroups'.
|
|
1634
|
+
*/
|
|
1635
|
+
actionType: pulumi.Input<"AddActionGroups">;
|
|
1636
|
+
}
|
|
1637
|
+
/**
|
|
1638
|
+
* Alert processing rule properties defining scopes, conditions and scheduling logic for alert processing rule.
|
|
1639
|
+
*/
|
|
1640
|
+
interface AlertProcessingRulePropertiesArgs {
|
|
1641
|
+
/**
|
|
1642
|
+
* Actions to be applied.
|
|
1643
|
+
*/
|
|
1644
|
+
actions: pulumi.Input<pulumi.Input<inputs.alertsmanagement.v20210808.AddActionGroupsArgs | inputs.alertsmanagement.v20210808.RemoveAllActionGroupsArgs>[]>;
|
|
1645
|
+
/**
|
|
1646
|
+
* Conditions on which alerts will be filtered.
|
|
1647
|
+
*/
|
|
1648
|
+
conditions?: pulumi.Input<pulumi.Input<inputs.alertsmanagement.v20210808.ConditionArgs>[]>;
|
|
1649
|
+
/**
|
|
1650
|
+
* Description of alert processing rule.
|
|
1651
|
+
*/
|
|
1652
|
+
description?: pulumi.Input<string>;
|
|
1653
|
+
/**
|
|
1654
|
+
* Indicates if the given alert processing rule is enabled or disabled.
|
|
1655
|
+
*/
|
|
1656
|
+
enabled?: pulumi.Input<boolean>;
|
|
1657
|
+
/**
|
|
1658
|
+
* Scheduling for alert processing rule.
|
|
1659
|
+
*/
|
|
1660
|
+
schedule?: pulumi.Input<inputs.alertsmanagement.v20210808.ScheduleArgs>;
|
|
1661
|
+
/**
|
|
1662
|
+
* Scopes on which alert processing rule will apply.
|
|
1663
|
+
*/
|
|
1664
|
+
scopes: pulumi.Input<pulumi.Input<string>[]>;
|
|
1665
|
+
}
|
|
1666
|
+
/**
|
|
1667
|
+
* alertProcessingRulePropertiesArgsProvideDefaults sets the appropriate defaults for AlertProcessingRulePropertiesArgs
|
|
1668
|
+
*/
|
|
1669
|
+
function alertProcessingRulePropertiesArgsProvideDefaults(val: AlertProcessingRulePropertiesArgs): AlertProcessingRulePropertiesArgs;
|
|
1670
|
+
/**
|
|
1671
|
+
* Condition to trigger an alert processing rule.
|
|
1672
|
+
*/
|
|
1673
|
+
interface ConditionArgs {
|
|
1674
|
+
/**
|
|
1675
|
+
* Field for a given condition.
|
|
1676
|
+
*/
|
|
1677
|
+
field?: pulumi.Input<string | enums.alertsmanagement.v20210808.Field>;
|
|
1678
|
+
/**
|
|
1679
|
+
* Operator for a given condition.
|
|
1680
|
+
*/
|
|
1681
|
+
operator?: pulumi.Input<string | enums.alertsmanagement.v20210808.Operator>;
|
|
1682
|
+
/**
|
|
1683
|
+
* List of values to match for a given condition.
|
|
1684
|
+
*/
|
|
1685
|
+
values?: pulumi.Input<pulumi.Input<string>[]>;
|
|
1686
|
+
}
|
|
1687
|
+
/**
|
|
1688
|
+
* Daily recurrence object.
|
|
1689
|
+
*/
|
|
1690
|
+
interface DailyRecurrenceArgs {
|
|
1691
|
+
/**
|
|
1692
|
+
* End time for recurrence.
|
|
1693
|
+
*/
|
|
1694
|
+
endTime: pulumi.Input<string>;
|
|
1695
|
+
/**
|
|
1696
|
+
* Specifies when the recurrence should be applied.
|
|
1697
|
+
* Expected value is 'Daily'.
|
|
1698
|
+
*/
|
|
1699
|
+
recurrenceType: pulumi.Input<"Daily">;
|
|
1700
|
+
/**
|
|
1701
|
+
* Start time for recurrence.
|
|
1702
|
+
*/
|
|
1703
|
+
startTime: pulumi.Input<string>;
|
|
1704
|
+
}
|
|
1705
|
+
/**
|
|
1706
|
+
* Monthly recurrence object.
|
|
1707
|
+
*/
|
|
1708
|
+
interface MonthlyRecurrenceArgs {
|
|
1709
|
+
/**
|
|
1710
|
+
* Specifies the values for monthly recurrence pattern.
|
|
1711
|
+
*/
|
|
1712
|
+
daysOfMonth: pulumi.Input<pulumi.Input<number>[]>;
|
|
1713
|
+
/**
|
|
1714
|
+
* End time for recurrence.
|
|
1715
|
+
*/
|
|
1716
|
+
endTime?: pulumi.Input<string>;
|
|
1717
|
+
/**
|
|
1718
|
+
* Specifies when the recurrence should be applied.
|
|
1719
|
+
* Expected value is 'Monthly'.
|
|
1720
|
+
*/
|
|
1721
|
+
recurrenceType: pulumi.Input<"Monthly">;
|
|
1722
|
+
/**
|
|
1723
|
+
* Start time for recurrence.
|
|
1724
|
+
*/
|
|
1725
|
+
startTime?: pulumi.Input<string>;
|
|
1726
|
+
}
|
|
1727
|
+
/**
|
|
1728
|
+
* Indicates if all action groups should be removed.
|
|
1729
|
+
*/
|
|
1730
|
+
interface RemoveAllActionGroupsArgs {
|
|
1731
|
+
/**
|
|
1732
|
+
* Action that should be applied.
|
|
1733
|
+
* Expected value is 'RemoveAllActionGroups'.
|
|
1734
|
+
*/
|
|
1735
|
+
actionType: pulumi.Input<"RemoveAllActionGroups">;
|
|
1736
|
+
}
|
|
1737
|
+
/**
|
|
1738
|
+
* Scheduling configuration for a given alert processing rule.
|
|
1739
|
+
*/
|
|
1740
|
+
interface ScheduleArgs {
|
|
1741
|
+
/**
|
|
1742
|
+
* Scheduling effective from time. Date-Time in ISO-8601 format without timezone suffix.
|
|
1743
|
+
*/
|
|
1744
|
+
effectiveFrom?: pulumi.Input<string>;
|
|
1745
|
+
/**
|
|
1746
|
+
* Scheduling effective until time. Date-Time in ISO-8601 format without timezone suffix.
|
|
1747
|
+
*/
|
|
1748
|
+
effectiveUntil?: pulumi.Input<string>;
|
|
1749
|
+
/**
|
|
1750
|
+
* List of recurrences.
|
|
1751
|
+
*/
|
|
1752
|
+
recurrences?: pulumi.Input<pulumi.Input<inputs.alertsmanagement.v20210808.DailyRecurrenceArgs | inputs.alertsmanagement.v20210808.MonthlyRecurrenceArgs | inputs.alertsmanagement.v20210808.WeeklyRecurrenceArgs>[]>;
|
|
1753
|
+
/**
|
|
1754
|
+
* Scheduling time zone.
|
|
1755
|
+
*/
|
|
1756
|
+
timeZone?: pulumi.Input<string>;
|
|
1757
|
+
}
|
|
1758
|
+
/**
|
|
1759
|
+
* Weekly recurrence object.
|
|
1760
|
+
*/
|
|
1761
|
+
interface WeeklyRecurrenceArgs {
|
|
1762
|
+
/**
|
|
1763
|
+
* Specifies the values for weekly recurrence pattern.
|
|
1764
|
+
*/
|
|
1765
|
+
daysOfWeek: pulumi.Input<pulumi.Input<string | enums.alertsmanagement.v20210808.DaysOfWeek>[]>;
|
|
1766
|
+
/**
|
|
1767
|
+
* End time for recurrence.
|
|
1768
|
+
*/
|
|
1769
|
+
endTime?: pulumi.Input<string>;
|
|
1770
|
+
/**
|
|
1771
|
+
* Specifies when the recurrence should be applied.
|
|
1772
|
+
* Expected value is 'Weekly'.
|
|
1773
|
+
*/
|
|
1774
|
+
recurrenceType: pulumi.Input<"Weekly">;
|
|
1775
|
+
/**
|
|
1776
|
+
* Start time for recurrence.
|
|
1777
|
+
*/
|
|
1778
|
+
startTime?: pulumi.Input<string>;
|
|
1779
|
+
}
|
|
1780
|
+
}
|
|
1661
1781
|
namespace v20230301 {
|
|
1662
1782
|
/**
|
|
1663
1783
|
* An Azure Prometheus alerting or recording rule.
|