pulumi-azure-native 2.78.0__py3-none-any.whl → 2.78.0a1734029897__py3-none-any.whl
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.
Potentially problematic release.
This version of pulumi-azure-native might be problematic. Click here for more details.
- pulumi_azure_native/__init__.py +16 -0
- pulumi_azure_native/alertsmanagement/__init__.py +6 -0
- pulumi_azure_native/alertsmanagement/action_rule_by_name.py +1 -1
- pulumi_azure_native/alertsmanagement/alert_processing_rule_by_name.py +5 -1
- pulumi_azure_native/alertsmanagement/get_alert_processing_rule_by_name.py +4 -0
- pulumi_azure_native/alertsmanagement/v20190505preview/action_rule_by_name.py +1 -1
- pulumi_azure_native/alertsmanagement/v20210808/alert_processing_rule_by_name.py +1 -1
- pulumi_azure_native/alertsmanagement/v20230501preview/__init__.py +12 -0
- pulumi_azure_native/alertsmanagement/v20230501preview/_enums.py +80 -0
- pulumi_azure_native/alertsmanagement/v20230501preview/_inputs.py +868 -0
- pulumi_azure_native/alertsmanagement/v20230501preview/alert_processing_rule_by_name.py +258 -0
- pulumi_azure_native/alertsmanagement/v20230501preview/get_alert_processing_rule_by_name.py +171 -0
- pulumi_azure_native/alertsmanagement/v20230501preview/outputs.py +795 -0
- pulumi_azure_native/alertsmanagement/v20240301preview/__init__.py +12 -0
- pulumi_azure_native/alertsmanagement/v20240301preview/_enums.py +88 -0
- pulumi_azure_native/alertsmanagement/v20240301preview/_inputs.py +965 -0
- pulumi_azure_native/alertsmanagement/v20240301preview/alert_processing_rule_by_name.py +258 -0
- pulumi_azure_native/alertsmanagement/v20240301preview/get_alert_processing_rule_by_name.py +171 -0
- pulumi_azure_native/alertsmanagement/v20240301preview/outputs.py +877 -0
- pulumi_azure_native/pulumi-plugin.json +1 -1
- {pulumi_azure_native-2.78.0.dist-info → pulumi_azure_native-2.78.0a1734029897.dist-info}/METADATA +3 -3
- {pulumi_azure_native-2.78.0.dist-info → pulumi_azure_native-2.78.0a1734029897.dist-info}/RECORD +24 -12
- {pulumi_azure_native-2.78.0.dist-info → pulumi_azure_native-2.78.0a1734029897.dist-info}/WHEEL +0 -0
- {pulumi_azure_native-2.78.0.dist-info → pulumi_azure_native-2.78.0a1734029897.dist-info}/top_level.txt +0 -0
pulumi_azure_native/__init__.py
CHANGED
|
@@ -914,6 +914,22 @@ _utilities.register(
|
|
|
914
914
|
"azure-native:alertsmanagement/v20230401preview:TenantActivityLogAlert": "TenantActivityLogAlert"
|
|
915
915
|
}
|
|
916
916
|
},
|
|
917
|
+
{
|
|
918
|
+
"pkg": "azure-native",
|
|
919
|
+
"mod": "alertsmanagement/v20230501preview",
|
|
920
|
+
"fqn": "pulumi_azure_native.alertsmanagement.v20230501preview",
|
|
921
|
+
"classes": {
|
|
922
|
+
"azure-native:alertsmanagement/v20230501preview:AlertProcessingRuleByName": "AlertProcessingRuleByName"
|
|
923
|
+
}
|
|
924
|
+
},
|
|
925
|
+
{
|
|
926
|
+
"pkg": "azure-native",
|
|
927
|
+
"mod": "alertsmanagement/v20240301preview",
|
|
928
|
+
"fqn": "pulumi_azure_native.alertsmanagement.v20240301preview",
|
|
929
|
+
"classes": {
|
|
930
|
+
"azure-native:alertsmanagement/v20240301preview:AlertProcessingRuleByName": "AlertProcessingRuleByName"
|
|
931
|
+
}
|
|
932
|
+
},
|
|
917
933
|
{
|
|
918
934
|
"pkg": "azure-native",
|
|
919
935
|
"mod": "analysisservices",
|
|
@@ -29,10 +29,16 @@ if typing.TYPE_CHECKING:
|
|
|
29
29
|
v20230301 = __v20230301
|
|
30
30
|
import pulumi_azure_native.alertsmanagement.v20230401preview as __v20230401preview
|
|
31
31
|
v20230401preview = __v20230401preview
|
|
32
|
+
import pulumi_azure_native.alertsmanagement.v20230501preview as __v20230501preview
|
|
33
|
+
v20230501preview = __v20230501preview
|
|
34
|
+
import pulumi_azure_native.alertsmanagement.v20240301preview as __v20240301preview
|
|
35
|
+
v20240301preview = __v20240301preview
|
|
32
36
|
else:
|
|
33
37
|
v20190505preview = _utilities.lazy_import('pulumi_azure_native.alertsmanagement.v20190505preview')
|
|
34
38
|
v20210401 = _utilities.lazy_import('pulumi_azure_native.alertsmanagement.v20210401')
|
|
35
39
|
v20210808 = _utilities.lazy_import('pulumi_azure_native.alertsmanagement.v20210808')
|
|
36
40
|
v20230301 = _utilities.lazy_import('pulumi_azure_native.alertsmanagement.v20230301')
|
|
37
41
|
v20230401preview = _utilities.lazy_import('pulumi_azure_native.alertsmanagement.v20230401preview')
|
|
42
|
+
v20230501preview = _utilities.lazy_import('pulumi_azure_native.alertsmanagement.v20230501preview')
|
|
43
|
+
v20240301preview = _utilities.lazy_import('pulumi_azure_native.alertsmanagement.v20240301preview')
|
|
38
44
|
|
|
@@ -177,7 +177,7 @@ class ActionRuleByName(pulumi.CustomResource):
|
|
|
177
177
|
__props__.__dict__["tags"] = tags
|
|
178
178
|
__props__.__dict__["name"] = None
|
|
179
179
|
__props__.__dict__["type"] = None
|
|
180
|
-
alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:alertsmanagement/v20181102privatepreview:ActionRuleByName"), pulumi.Alias(type_="azure-native:alertsmanagement/v20190505preview:ActionRuleByName"), pulumi.Alias(type_="azure-native:alertsmanagement/v20210808:ActionRuleByName"), pulumi.Alias(type_="azure-native:alertsmanagement/v20210808preview:ActionRuleByName")])
|
|
180
|
+
alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:alertsmanagement/v20181102privatepreview:ActionRuleByName"), pulumi.Alias(type_="azure-native:alertsmanagement/v20190505preview:ActionRuleByName"), pulumi.Alias(type_="azure-native:alertsmanagement/v20210808:ActionRuleByName"), pulumi.Alias(type_="azure-native:alertsmanagement/v20210808preview:ActionRuleByName"), pulumi.Alias(type_="azure-native:alertsmanagement/v20230501preview:ActionRuleByName"), pulumi.Alias(type_="azure-native:alertsmanagement/v20240301preview:ActionRuleByName")])
|
|
181
181
|
opts = pulumi.ResourceOptions.merge(opts, alias_opts)
|
|
182
182
|
super(ActionRuleByName, __self__).__init__(
|
|
183
183
|
'azure-native:alertsmanagement:ActionRuleByName',
|
|
@@ -121,6 +121,8 @@ class AlertProcessingRuleByName(pulumi.CustomResource):
|
|
|
121
121
|
Alert processing rule object containing target scopes, conditions and scheduling logic.
|
|
122
122
|
Azure REST API version: 2021-08-08.
|
|
123
123
|
|
|
124
|
+
Other available API versions: 2023-05-01-preview, 2024-03-01-preview.
|
|
125
|
+
|
|
124
126
|
:param str resource_name: The name of the resource.
|
|
125
127
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
126
128
|
:param pulumi.Input[str] alert_processing_rule_name: The name of the alert processing rule that needs to be created/updated.
|
|
@@ -139,6 +141,8 @@ class AlertProcessingRuleByName(pulumi.CustomResource):
|
|
|
139
141
|
Alert processing rule object containing target scopes, conditions and scheduling logic.
|
|
140
142
|
Azure REST API version: 2021-08-08.
|
|
141
143
|
|
|
144
|
+
Other available API versions: 2023-05-01-preview, 2024-03-01-preview.
|
|
145
|
+
|
|
142
146
|
:param str resource_name: The name of the resource.
|
|
143
147
|
:param AlertProcessingRuleByNameArgs args: The arguments to use to populate this resource's properties.
|
|
144
148
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
@@ -178,7 +182,7 @@ class AlertProcessingRuleByName(pulumi.CustomResource):
|
|
|
178
182
|
__props__.__dict__["name"] = None
|
|
179
183
|
__props__.__dict__["system_data"] = None
|
|
180
184
|
__props__.__dict__["type"] = None
|
|
181
|
-
alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:alertsmanagement/v20181102privatepreview:AlertProcessingRuleByName"), pulumi.Alias(type_="azure-native:alertsmanagement/v20190505preview:AlertProcessingRuleByName"), pulumi.Alias(type_="azure-native:alertsmanagement/v20210808:AlertProcessingRuleByName"), pulumi.Alias(type_="azure-native:alertsmanagement/v20210808preview:AlertProcessingRuleByName")])
|
|
185
|
+
alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:alertsmanagement/v20181102privatepreview:AlertProcessingRuleByName"), pulumi.Alias(type_="azure-native:alertsmanagement/v20190505preview:AlertProcessingRuleByName"), pulumi.Alias(type_="azure-native:alertsmanagement/v20210808:AlertProcessingRuleByName"), pulumi.Alias(type_="azure-native:alertsmanagement/v20210808preview:AlertProcessingRuleByName"), pulumi.Alias(type_="azure-native:alertsmanagement/v20230501preview:AlertProcessingRuleByName"), pulumi.Alias(type_="azure-native:alertsmanagement/v20240301preview:AlertProcessingRuleByName")])
|
|
182
186
|
opts = pulumi.ResourceOptions.merge(opts, alias_opts)
|
|
183
187
|
super(AlertProcessingRuleByName, __self__).__init__(
|
|
184
188
|
'azure-native:alertsmanagement:AlertProcessingRuleByName',
|
|
@@ -129,6 +129,8 @@ def get_alert_processing_rule_by_name(alert_processing_rule_name: Optional[str]
|
|
|
129
129
|
Get an alert processing rule by name.
|
|
130
130
|
Azure REST API version: 2021-08-08.
|
|
131
131
|
|
|
132
|
+
Other available API versions: 2023-05-01-preview, 2024-03-01-preview.
|
|
133
|
+
|
|
132
134
|
|
|
133
135
|
:param str alert_processing_rule_name: The name of the alert processing rule that needs to be fetched.
|
|
134
136
|
:param str resource_group_name: Resource group name where the resource is created.
|
|
@@ -154,6 +156,8 @@ def get_alert_processing_rule_by_name_output(alert_processing_rule_name: Optiona
|
|
|
154
156
|
Get an alert processing rule by name.
|
|
155
157
|
Azure REST API version: 2021-08-08.
|
|
156
158
|
|
|
159
|
+
Other available API versions: 2023-05-01-preview, 2024-03-01-preview.
|
|
160
|
+
|
|
157
161
|
|
|
158
162
|
:param str alert_processing_rule_name: The name of the alert processing rule that needs to be fetched.
|
|
159
163
|
:param str resource_group_name: Resource group name where the resource is created.
|
|
@@ -175,7 +175,7 @@ class ActionRuleByName(pulumi.CustomResource):
|
|
|
175
175
|
__props__.__dict__["tags"] = tags
|
|
176
176
|
__props__.__dict__["name"] = None
|
|
177
177
|
__props__.__dict__["type"] = None
|
|
178
|
-
alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:alertsmanagement:ActionRuleByName"), pulumi.Alias(type_="azure-native:alertsmanagement/v20181102privatepreview:ActionRuleByName"), pulumi.Alias(type_="azure-native:alertsmanagement/v20210808:ActionRuleByName"), pulumi.Alias(type_="azure-native:alertsmanagement/v20210808preview:ActionRuleByName")])
|
|
178
|
+
alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:alertsmanagement:ActionRuleByName"), pulumi.Alias(type_="azure-native:alertsmanagement/v20181102privatepreview:ActionRuleByName"), pulumi.Alias(type_="azure-native:alertsmanagement/v20210808:ActionRuleByName"), pulumi.Alias(type_="azure-native:alertsmanagement/v20210808preview:ActionRuleByName"), pulumi.Alias(type_="azure-native:alertsmanagement/v20230501preview:ActionRuleByName"), pulumi.Alias(type_="azure-native:alertsmanagement/v20240301preview:ActionRuleByName")])
|
|
179
179
|
opts = pulumi.ResourceOptions.merge(opts, alias_opts)
|
|
180
180
|
super(ActionRuleByName, __self__).__init__(
|
|
181
181
|
'azure-native:alertsmanagement/v20190505preview:ActionRuleByName',
|
|
@@ -176,7 +176,7 @@ class AlertProcessingRuleByName(pulumi.CustomResource):
|
|
|
176
176
|
__props__.__dict__["name"] = None
|
|
177
177
|
__props__.__dict__["system_data"] = None
|
|
178
178
|
__props__.__dict__["type"] = None
|
|
179
|
-
alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:alertsmanagement:AlertProcessingRuleByName"), pulumi.Alias(type_="azure-native:alertsmanagement/v20181102privatepreview:AlertProcessingRuleByName"), pulumi.Alias(type_="azure-native:alertsmanagement/v20190505preview:AlertProcessingRuleByName"), pulumi.Alias(type_="azure-native:alertsmanagement/v20210808preview:AlertProcessingRuleByName")])
|
|
179
|
+
alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:alertsmanagement:AlertProcessingRuleByName"), pulumi.Alias(type_="azure-native:alertsmanagement/v20181102privatepreview:AlertProcessingRuleByName"), pulumi.Alias(type_="azure-native:alertsmanagement/v20190505preview:AlertProcessingRuleByName"), pulumi.Alias(type_="azure-native:alertsmanagement/v20210808preview:AlertProcessingRuleByName"), pulumi.Alias(type_="azure-native:alertsmanagement/v20230501preview:AlertProcessingRuleByName"), pulumi.Alias(type_="azure-native:alertsmanagement/v20240301preview:AlertProcessingRuleByName")])
|
|
180
180
|
opts = pulumi.ResourceOptions.merge(opts, alias_opts)
|
|
181
181
|
super(AlertProcessingRuleByName, __self__).__init__(
|
|
182
182
|
'azure-native:alertsmanagement/v20210808:AlertProcessingRuleByName',
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
|
|
5
|
+
from ... import _utilities
|
|
6
|
+
import typing
|
|
7
|
+
# Export this package's modules as members:
|
|
8
|
+
from ._enums import *
|
|
9
|
+
from .alert_processing_rule_by_name import *
|
|
10
|
+
from .get_alert_processing_rule_by_name import *
|
|
11
|
+
from ._inputs import *
|
|
12
|
+
from . import outputs
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
|
|
5
|
+
from enum import Enum
|
|
6
|
+
|
|
7
|
+
__all__ = [
|
|
8
|
+
'ActionType',
|
|
9
|
+
'DaysOfWeek',
|
|
10
|
+
'Field',
|
|
11
|
+
'NotificationsForCorrelatedAlerts',
|
|
12
|
+
'Operator',
|
|
13
|
+
'RecurrenceType',
|
|
14
|
+
]
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
class ActionType(str, Enum):
|
|
18
|
+
"""
|
|
19
|
+
Action that should be applied.
|
|
20
|
+
"""
|
|
21
|
+
ADD_ACTION_GROUPS = "AddActionGroups"
|
|
22
|
+
REMOVE_ALL_ACTION_GROUPS = "RemoveAllActionGroups"
|
|
23
|
+
CORRELATE_ALERTS = "CorrelateAlerts"
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
class DaysOfWeek(str, Enum):
|
|
27
|
+
"""
|
|
28
|
+
Days of week.
|
|
29
|
+
"""
|
|
30
|
+
SUNDAY = "Sunday"
|
|
31
|
+
MONDAY = "Monday"
|
|
32
|
+
TUESDAY = "Tuesday"
|
|
33
|
+
WEDNESDAY = "Wednesday"
|
|
34
|
+
THURSDAY = "Thursday"
|
|
35
|
+
FRIDAY = "Friday"
|
|
36
|
+
SATURDAY = "Saturday"
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
class Field(str, Enum):
|
|
40
|
+
"""
|
|
41
|
+
Field for a given condition.
|
|
42
|
+
"""
|
|
43
|
+
SEVERITY = "Severity"
|
|
44
|
+
MONITOR_SERVICE = "MonitorService"
|
|
45
|
+
MONITOR_CONDITION = "MonitorCondition"
|
|
46
|
+
SIGNAL_TYPE = "SignalType"
|
|
47
|
+
TARGET_RESOURCE_TYPE = "TargetResourceType"
|
|
48
|
+
TARGET_RESOURCE = "TargetResource"
|
|
49
|
+
TARGET_RESOURCE_GROUP = "TargetResourceGroup"
|
|
50
|
+
ALERT_RULE_ID = "AlertRuleId"
|
|
51
|
+
ALERT_RULE_NAME = "AlertRuleName"
|
|
52
|
+
DESCRIPTION = "Description"
|
|
53
|
+
ALERT_CONTEXT = "AlertContext"
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
class NotificationsForCorrelatedAlerts(str, Enum):
|
|
57
|
+
"""
|
|
58
|
+
Indicates how to handle child alerts notifications.
|
|
59
|
+
"""
|
|
60
|
+
NOTIFY_ALWAYS = "NotifyAlways"
|
|
61
|
+
SUPPRESS_ALWAYS = "SuppressAlways"
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
class Operator(str, Enum):
|
|
65
|
+
"""
|
|
66
|
+
Operator for a given condition.
|
|
67
|
+
"""
|
|
68
|
+
EQUALS = "Equals"
|
|
69
|
+
NOT_EQUALS = "NotEquals"
|
|
70
|
+
CONTAINS = "Contains"
|
|
71
|
+
DOES_NOT_CONTAIN = "DoesNotContain"
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
class RecurrenceType(str, Enum):
|
|
75
|
+
"""
|
|
76
|
+
Specifies when the recurrence should be applied.
|
|
77
|
+
"""
|
|
78
|
+
DAILY = "Daily"
|
|
79
|
+
WEEKLY = "Weekly"
|
|
80
|
+
MONTHLY = "Monthly"
|