pulumi-azure-native 3.1.0a1744041749__py3-none-any.whl → 3.1.0a1744108580__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 +2 -0
- pulumi_azure_native/monitor/__init__.py +4 -0
- pulumi_azure_native/monitor/_enums.py +54 -0
- pulumi_azure_native/monitor/_inputs.py +1469 -305
- pulumi_azure_native/monitor/action_group.py +9 -9
- pulumi_azure_native/monitor/activity_log_alert.py +388 -0
- pulumi_azure_native/monitor/get_action_group.py +2 -2
- pulumi_azure_native/monitor/get_activity_log_alert.py +231 -0
- pulumi_azure_native/monitor/get_metric_alert.py +343 -0
- pulumi_azure_native/monitor/get_private_endpoint_connection.py +4 -0
- pulumi_azure_native/monitor/get_private_link_scope.py +4 -0
- pulumi_azure_native/monitor/get_private_link_scoped_resource.py +4 -0
- pulumi_azure_native/monitor/metric_alert.py +578 -0
- pulumi_azure_native/monitor/outputs.py +1162 -207
- pulumi_azure_native/monitor/private_endpoint_connection.py +4 -0
- pulumi_azure_native/monitor/private_link_scope.py +4 -0
- pulumi_azure_native/monitor/private_link_scoped_resource.py +4 -0
- pulumi_azure_native/pulumi-plugin.json +1 -1
- {pulumi_azure_native-3.1.0a1744041749.dist-info → pulumi_azure_native-3.1.0a1744108580.dist-info}/METADATA +1 -1
- {pulumi_azure_native-3.1.0a1744041749.dist-info → pulumi_azure_native-3.1.0a1744108580.dist-info}/RECORD +22 -18
- {pulumi_azure_native-3.1.0a1744041749.dist-info → pulumi_azure_native-3.1.0a1744108580.dist-info}/WHEEL +0 -0
- {pulumi_azure_native-3.1.0a1744041749.dist-info → pulumi_azure_native-3.1.0a1744108580.dist-info}/top_level.txt +0 -0
pulumi_azure_native/__init__.py
CHANGED
|
@@ -3219,6 +3219,7 @@ _utilities.register(
|
|
|
3219
3219
|
"fqn": "pulumi_azure_native.monitor",
|
|
3220
3220
|
"classes": {
|
|
3221
3221
|
"azure-native:monitor:ActionGroup": "ActionGroup",
|
|
3222
|
+
"azure-native:monitor:ActivityLogAlert": "ActivityLogAlert",
|
|
3222
3223
|
"azure-native:monitor:AutoscaleSetting": "AutoscaleSetting",
|
|
3223
3224
|
"azure-native:monitor:AzureMonitorWorkspace": "AzureMonitorWorkspace",
|
|
3224
3225
|
"azure-native:monitor:DataCollectionEndpoint": "DataCollectionEndpoint",
|
|
@@ -3226,6 +3227,7 @@ _utilities.register(
|
|
|
3226
3227
|
"azure-native:monitor:DataCollectionRuleAssociation": "DataCollectionRuleAssociation",
|
|
3227
3228
|
"azure-native:monitor:DiagnosticSetting": "DiagnosticSetting",
|
|
3228
3229
|
"azure-native:monitor:ManagementGroupDiagnosticSetting": "ManagementGroupDiagnosticSetting",
|
|
3230
|
+
"azure-native:monitor:MetricAlert": "MetricAlert",
|
|
3229
3231
|
"azure-native:monitor:PipelineGroup": "PipelineGroup",
|
|
3230
3232
|
"azure-native:monitor:PrivateEndpointConnection": "PrivateEndpointConnection",
|
|
3231
3233
|
"azure-native:monitor:PrivateLinkScope": "PrivateLinkScope",
|
|
@@ -7,6 +7,7 @@ import typing
|
|
|
7
7
|
# Export this package's modules as members:
|
|
8
8
|
from ._enums import *
|
|
9
9
|
from .action_group import *
|
|
10
|
+
from .activity_log_alert import *
|
|
10
11
|
from .autoscale_setting import *
|
|
11
12
|
from .azure_monitor_workspace import *
|
|
12
13
|
from .data_collection_endpoint import *
|
|
@@ -14,6 +15,7 @@ from .data_collection_rule import *
|
|
|
14
15
|
from .data_collection_rule_association import *
|
|
15
16
|
from .diagnostic_setting import *
|
|
16
17
|
from .get_action_group import *
|
|
18
|
+
from .get_activity_log_alert import *
|
|
17
19
|
from .get_autoscale_setting import *
|
|
18
20
|
from .get_azure_monitor_workspace import *
|
|
19
21
|
from .get_data_collection_endpoint import *
|
|
@@ -21,6 +23,7 @@ from .get_data_collection_rule import *
|
|
|
21
23
|
from .get_data_collection_rule_association import *
|
|
22
24
|
from .get_diagnostic_setting import *
|
|
23
25
|
from .get_management_group_diagnostic_setting import *
|
|
26
|
+
from .get_metric_alert import *
|
|
24
27
|
from .get_pipeline_group import *
|
|
25
28
|
from .get_private_endpoint_connection import *
|
|
26
29
|
from .get_private_link_scope import *
|
|
@@ -30,6 +33,7 @@ from .get_subscription_diagnostic_setting import *
|
|
|
30
33
|
from .get_tenant_action_group import *
|
|
31
34
|
from .list_diagnostic_settings_category import *
|
|
32
35
|
from .management_group_diagnostic_setting import *
|
|
36
|
+
from .metric_alert import *
|
|
33
37
|
from .pipeline_group import *
|
|
34
38
|
from .private_endpoint_connection import *
|
|
35
39
|
from .private_link_scope import *
|
|
@@ -6,10 +6,13 @@ from enum import Enum
|
|
|
6
6
|
|
|
7
7
|
__all__ = [
|
|
8
8
|
'AccessMode',
|
|
9
|
+
'AggregationTypeEnum',
|
|
9
10
|
'ComparisonOperationType',
|
|
10
11
|
'ConditionOperator',
|
|
11
12
|
'CriterionType',
|
|
12
13
|
'DimensionOperator',
|
|
14
|
+
'DynamicThresholdOperator',
|
|
15
|
+
'DynamicThresholdSensitivity',
|
|
13
16
|
'ExporterType',
|
|
14
17
|
'ExtendedLocationType',
|
|
15
18
|
'ExternalNetworkingMode',
|
|
@@ -33,7 +36,9 @@ __all__ = [
|
|
|
33
36
|
'KnownWindowsEventLogDataSourceStreams',
|
|
34
37
|
'ManagedServiceIdentityType',
|
|
35
38
|
'MetricStatisticType',
|
|
39
|
+
'Odatatype',
|
|
36
40
|
'OperationType',
|
|
41
|
+
'Operator',
|
|
37
42
|
'PipelineType',
|
|
38
43
|
'PredictiveAutoscalePolicyScaleMode',
|
|
39
44
|
'PrivateEndpointServiceConnectionStatus',
|
|
@@ -59,6 +64,17 @@ class AccessMode(str, Enum):
|
|
|
59
64
|
PRIVATE_ONLY = "PrivateOnly"
|
|
60
65
|
|
|
61
66
|
|
|
67
|
+
class AggregationTypeEnum(str, Enum):
|
|
68
|
+
"""
|
|
69
|
+
the criteria time aggregation types.
|
|
70
|
+
"""
|
|
71
|
+
AVERAGE = "Average"
|
|
72
|
+
COUNT = "Count"
|
|
73
|
+
MINIMUM = "Minimum"
|
|
74
|
+
MAXIMUM = "Maximum"
|
|
75
|
+
TOTAL = "Total"
|
|
76
|
+
|
|
77
|
+
|
|
62
78
|
class ComparisonOperationType(str, Enum):
|
|
63
79
|
"""
|
|
64
80
|
the operator that is used to compare the metric data and the threshold.
|
|
@@ -99,6 +115,24 @@ class DimensionOperator(str, Enum):
|
|
|
99
115
|
EXCLUDE = "Exclude"
|
|
100
116
|
|
|
101
117
|
|
|
118
|
+
class DynamicThresholdOperator(str, Enum):
|
|
119
|
+
"""
|
|
120
|
+
The operator used to compare the metric value against the threshold.
|
|
121
|
+
"""
|
|
122
|
+
GREATER_THAN = "GreaterThan"
|
|
123
|
+
LESS_THAN = "LessThan"
|
|
124
|
+
GREATER_OR_LESS_THAN = "GreaterOrLessThan"
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
class DynamicThresholdSensitivity(str, Enum):
|
|
128
|
+
"""
|
|
129
|
+
The extent of deviation required to trigger an alert. This will affect how tight the threshold is to the metric series pattern.
|
|
130
|
+
"""
|
|
131
|
+
LOW = "Low"
|
|
132
|
+
MEDIUM = "Medium"
|
|
133
|
+
HIGH = "High"
|
|
134
|
+
|
|
135
|
+
|
|
102
136
|
class ExporterType(str, Enum):
|
|
103
137
|
"""
|
|
104
138
|
The type of exporter.
|
|
@@ -333,6 +367,15 @@ class MetricStatisticType(str, Enum):
|
|
|
333
367
|
COUNT = "Count"
|
|
334
368
|
|
|
335
369
|
|
|
370
|
+
class Odatatype(str, Enum):
|
|
371
|
+
"""
|
|
372
|
+
specifies the type of the alert criteria.
|
|
373
|
+
"""
|
|
374
|
+
MICROSOFT_AZURE_MONITOR_SINGLE_RESOURCE_MULTIPLE_METRIC_CRITERIA = "Microsoft.Azure.Monitor.SingleResourceMultipleMetricCriteria"
|
|
375
|
+
MICROSOFT_AZURE_MONITOR_MULTIPLE_RESOURCE_MULTIPLE_METRIC_CRITERIA = "Microsoft.Azure.Monitor.MultipleResourceMultipleMetricCriteria"
|
|
376
|
+
MICROSOFT_AZURE_MONITOR_WEBTEST_LOCATION_AVAILABILITY_CRITERIA = "Microsoft.Azure.Monitor.WebtestLocationAvailabilityCriteria"
|
|
377
|
+
|
|
378
|
+
|
|
336
379
|
class OperationType(str, Enum):
|
|
337
380
|
"""
|
|
338
381
|
the operation associated with the notification and its value must be "scale"
|
|
@@ -340,6 +383,17 @@ class OperationType(str, Enum):
|
|
|
340
383
|
SCALE = "Scale"
|
|
341
384
|
|
|
342
385
|
|
|
386
|
+
class Operator(str, Enum):
|
|
387
|
+
"""
|
|
388
|
+
the criteria operator.
|
|
389
|
+
"""
|
|
390
|
+
EQUALS = "Equals"
|
|
391
|
+
GREATER_THAN = "GreaterThan"
|
|
392
|
+
GREATER_THAN_OR_EQUAL = "GreaterThanOrEqual"
|
|
393
|
+
LESS_THAN = "LessThan"
|
|
394
|
+
LESS_THAN_OR_EQUAL = "LessThanOrEqual"
|
|
395
|
+
|
|
396
|
+
|
|
343
397
|
class PipelineType(str, Enum):
|
|
344
398
|
"""
|
|
345
399
|
The type of pipeline
|