pulumi-azure-native 3.0.1__py3-none-any.whl → 3.1.0__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 +5 -0
- pulumi_azure_native/monitor/__init__.py +10 -0
- pulumi_azure_native/monitor/_enums.py +204 -0
- pulumi_azure_native/monitor/_inputs.py +4241 -851
- pulumi_azure_native/monitor/action_group.py +9 -9
- pulumi_azure_native/monitor/activity_log_alert.py +388 -0
- pulumi_azure_native/monitor/data_collection_endpoint.py +468 -0
- pulumi_azure_native/monitor/data_collection_rule.py +519 -0
- pulumi_azure_native/monitor/data_collection_rule_association.py +300 -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_data_collection_endpoint.py +357 -0
- pulumi_azure_native/monitor/get_data_collection_rule.py +344 -0
- pulumi_azure_native/monitor/get_data_collection_rule_association.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 +4276 -743
- 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.0.1.dist-info → pulumi_azure_native-3.1.0.dist-info}/METADATA +1 -1
- {pulumi_azure_native-3.0.1.dist-info → pulumi_azure_native-3.1.0.dist-info}/RECORD +28 -18
- {pulumi_azure_native-3.0.1.dist-info → pulumi_azure_native-3.1.0.dist-info}/WHEEL +0 -0
- {pulumi_azure_native-3.0.1.dist-info → pulumi_azure_native-3.1.0.dist-info}/top_level.txt +0 -0
pulumi_azure_native/__init__.py
CHANGED
|
@@ -3219,10 +3219,15 @@ _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",
|
|
3225
|
+
"azure-native:monitor:DataCollectionEndpoint": "DataCollectionEndpoint",
|
|
3226
|
+
"azure-native:monitor:DataCollectionRule": "DataCollectionRule",
|
|
3227
|
+
"azure-native:monitor:DataCollectionRuleAssociation": "DataCollectionRuleAssociation",
|
|
3224
3228
|
"azure-native:monitor:DiagnosticSetting": "DiagnosticSetting",
|
|
3225
3229
|
"azure-native:monitor:ManagementGroupDiagnosticSetting": "ManagementGroupDiagnosticSetting",
|
|
3230
|
+
"azure-native:monitor:MetricAlert": "MetricAlert",
|
|
3226
3231
|
"azure-native:monitor:PipelineGroup": "PipelineGroup",
|
|
3227
3232
|
"azure-native:monitor:PrivateEndpointConnection": "PrivateEndpointConnection",
|
|
3228
3233
|
"azure-native:monitor:PrivateLinkScope": "PrivateLinkScope",
|
|
@@ -7,14 +7,23 @@ 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 *
|
|
13
|
+
from .data_collection_endpoint import *
|
|
14
|
+
from .data_collection_rule import *
|
|
15
|
+
from .data_collection_rule_association import *
|
|
12
16
|
from .diagnostic_setting import *
|
|
13
17
|
from .get_action_group import *
|
|
18
|
+
from .get_activity_log_alert import *
|
|
14
19
|
from .get_autoscale_setting import *
|
|
15
20
|
from .get_azure_monitor_workspace import *
|
|
21
|
+
from .get_data_collection_endpoint import *
|
|
22
|
+
from .get_data_collection_rule import *
|
|
23
|
+
from .get_data_collection_rule_association import *
|
|
16
24
|
from .get_diagnostic_setting import *
|
|
17
25
|
from .get_management_group_diagnostic_setting import *
|
|
26
|
+
from .get_metric_alert import *
|
|
18
27
|
from .get_pipeline_group import *
|
|
19
28
|
from .get_private_endpoint_connection import *
|
|
20
29
|
from .get_private_link_scope import *
|
|
@@ -24,6 +33,7 @@ from .get_subscription_diagnostic_setting import *
|
|
|
24
33
|
from .get_tenant_action_group import *
|
|
25
34
|
from .list_diagnostic_settings_category import *
|
|
26
35
|
from .management_group_diagnostic_setting import *
|
|
36
|
+
from .metric_alert import *
|
|
27
37
|
from .pipeline_group import *
|
|
28
38
|
from .private_endpoint_connection import *
|
|
29
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',
|
|
@@ -17,9 +20,25 @@ __all__ = [
|
|
|
17
20
|
'IncidentManagementService',
|
|
18
21
|
'JsonMapperElement',
|
|
19
22
|
'Kind',
|
|
23
|
+
'KnownColumnDefinitionType',
|
|
24
|
+
'KnownDataCollectionEndpointResourceKind',
|
|
25
|
+
'KnownDataCollectionRuleResourceKind',
|
|
26
|
+
'KnownDataFlowStreams',
|
|
27
|
+
'KnownExtensionDataSourceStreams',
|
|
28
|
+
'KnownLogFileTextSettingsRecordStartTimestampFormat',
|
|
29
|
+
'KnownLogFilesDataSourceFormat',
|
|
30
|
+
'KnownPerfCounterDataSourceStreams',
|
|
31
|
+
'KnownPrometheusForwarderDataSourceStreams',
|
|
32
|
+
'KnownPublicNetworkAccessOptions',
|
|
33
|
+
'KnownSyslogDataSourceFacilityNames',
|
|
34
|
+
'KnownSyslogDataSourceLogLevels',
|
|
35
|
+
'KnownSyslogDataSourceStreams',
|
|
36
|
+
'KnownWindowsEventLogDataSourceStreams',
|
|
20
37
|
'ManagedServiceIdentityType',
|
|
21
38
|
'MetricStatisticType',
|
|
39
|
+
'Odatatype',
|
|
22
40
|
'OperationType',
|
|
41
|
+
'Operator',
|
|
23
42
|
'PipelineType',
|
|
24
43
|
'PredictiveAutoscalePolicyScaleMode',
|
|
25
44
|
'PrivateEndpointServiceConnectionStatus',
|
|
@@ -45,6 +64,17 @@ class AccessMode(str, Enum):
|
|
|
45
64
|
PRIVATE_ONLY = "PrivateOnly"
|
|
46
65
|
|
|
47
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
|
+
|
|
48
78
|
class ComparisonOperationType(str, Enum):
|
|
49
79
|
"""
|
|
50
80
|
the operator that is used to compare the metric data and the threshold.
|
|
@@ -85,6 +115,24 @@ class DimensionOperator(str, Enum):
|
|
|
85
115
|
EXCLUDE = "Exclude"
|
|
86
116
|
|
|
87
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
|
+
|
|
88
136
|
class ExporterType(str, Enum):
|
|
89
137
|
"""
|
|
90
138
|
The type of exporter.
|
|
@@ -162,6 +210,142 @@ class Kind(str, Enum):
|
|
|
162
210
|
LOG_TO_METRIC = "LogToMetric"
|
|
163
211
|
|
|
164
212
|
|
|
213
|
+
class KnownColumnDefinitionType(str, Enum):
|
|
214
|
+
"""
|
|
215
|
+
The type of the column data.
|
|
216
|
+
"""
|
|
217
|
+
STRING = "string"
|
|
218
|
+
INT = "int"
|
|
219
|
+
LONG = "long"
|
|
220
|
+
REAL = "real"
|
|
221
|
+
BOOLEAN = "boolean"
|
|
222
|
+
DATETIME = "datetime"
|
|
223
|
+
DYNAMIC = "dynamic"
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
class KnownDataCollectionEndpointResourceKind(str, Enum):
|
|
227
|
+
"""
|
|
228
|
+
The kind of the resource.
|
|
229
|
+
"""
|
|
230
|
+
LINUX = "Linux"
|
|
231
|
+
WINDOWS = "Windows"
|
|
232
|
+
|
|
233
|
+
|
|
234
|
+
class KnownDataCollectionRuleResourceKind(str, Enum):
|
|
235
|
+
"""
|
|
236
|
+
The kind of the resource.
|
|
237
|
+
"""
|
|
238
|
+
LINUX = "Linux"
|
|
239
|
+
WINDOWS = "Windows"
|
|
240
|
+
|
|
241
|
+
|
|
242
|
+
class KnownDataFlowStreams(str, Enum):
|
|
243
|
+
MICROSOFT_EVENT = "Microsoft-Event"
|
|
244
|
+
MICROSOFT_INSIGHTS_METRICS = "Microsoft-InsightsMetrics"
|
|
245
|
+
MICROSOFT_PERF = "Microsoft-Perf"
|
|
246
|
+
MICROSOFT_SYSLOG = "Microsoft-Syslog"
|
|
247
|
+
MICROSOFT_WINDOWS_EVENT = "Microsoft-WindowsEvent"
|
|
248
|
+
|
|
249
|
+
|
|
250
|
+
class KnownExtensionDataSourceStreams(str, Enum):
|
|
251
|
+
MICROSOFT_EVENT = "Microsoft-Event"
|
|
252
|
+
MICROSOFT_INSIGHTS_METRICS = "Microsoft-InsightsMetrics"
|
|
253
|
+
MICROSOFT_PERF = "Microsoft-Perf"
|
|
254
|
+
MICROSOFT_SYSLOG = "Microsoft-Syslog"
|
|
255
|
+
MICROSOFT_WINDOWS_EVENT = "Microsoft-WindowsEvent"
|
|
256
|
+
|
|
257
|
+
|
|
258
|
+
class KnownLogFileTextSettingsRecordStartTimestampFormat(str, Enum):
|
|
259
|
+
"""
|
|
260
|
+
One of the supported timestamp formats
|
|
261
|
+
"""
|
|
262
|
+
IS_O_8601 = "ISO 8601"
|
|
263
|
+
YYY_Y_M_M_D_D_H_H_M_M_SS = "YYYY-MM-DD HH:MM:SS"
|
|
264
|
+
M_D_YYY_Y_H_H_M_M_S_S_A_M_PM = "M/D/YYYY HH:MM:SS AM/PM"
|
|
265
|
+
MON_D_D_YYY_Y_H_H_M_M_SS = "Mon DD, YYYY HH:MM:SS"
|
|
266
|
+
YY_M_MDD_H_H_MM_SS = "yyMMdd HH:mm:ss"
|
|
267
|
+
DD_M_MYY_H_H_MM_SS = "ddMMyy HH:mm:ss"
|
|
268
|
+
MM_M_D_HH_MM_SS = "MMM d hh:mm:ss"
|
|
269
|
+
DD_MM_M_YYYY_H_H_MM_SS_ZZZ = "dd/MMM/yyyy:HH:mm:ss zzz"
|
|
270
|
+
YYYY_M_M_DD_TH_H_MM_SS_K = "yyyy-MM-ddTHH:mm:ssK"
|
|
271
|
+
|
|
272
|
+
|
|
273
|
+
class KnownLogFilesDataSourceFormat(str, Enum):
|
|
274
|
+
"""
|
|
275
|
+
The data format of the log files
|
|
276
|
+
"""
|
|
277
|
+
TEXT = "text"
|
|
278
|
+
|
|
279
|
+
|
|
280
|
+
class KnownPerfCounterDataSourceStreams(str, Enum):
|
|
281
|
+
MICROSOFT_PERF = "Microsoft-Perf"
|
|
282
|
+
MICROSOFT_INSIGHTS_METRICS = "Microsoft-InsightsMetrics"
|
|
283
|
+
|
|
284
|
+
|
|
285
|
+
class KnownPrometheusForwarderDataSourceStreams(str, Enum):
|
|
286
|
+
MICROSOFT_PROMETHEUS_METRICS = "Microsoft-PrometheusMetrics"
|
|
287
|
+
|
|
288
|
+
|
|
289
|
+
class KnownPublicNetworkAccessOptions(str, Enum):
|
|
290
|
+
"""
|
|
291
|
+
The configuration to set whether network access from public internet to the endpoints are allowed.
|
|
292
|
+
"""
|
|
293
|
+
ENABLED = "Enabled"
|
|
294
|
+
DISABLED = "Disabled"
|
|
295
|
+
SECURED_BY_PERIMETER = "SecuredByPerimeter"
|
|
296
|
+
|
|
297
|
+
|
|
298
|
+
class KnownSyslogDataSourceFacilityNames(str, Enum):
|
|
299
|
+
ALERT = "alert"
|
|
300
|
+
AUDIT = "audit"
|
|
301
|
+
AUTH = "auth"
|
|
302
|
+
AUTHPRIV = "authpriv"
|
|
303
|
+
CLOCK = "clock"
|
|
304
|
+
CRON = "cron"
|
|
305
|
+
DAEMON = "daemon"
|
|
306
|
+
FTP = "ftp"
|
|
307
|
+
KERN = "kern"
|
|
308
|
+
LPR = "lpr"
|
|
309
|
+
MAIL = "mail"
|
|
310
|
+
MARK = "mark"
|
|
311
|
+
NEWS = "news"
|
|
312
|
+
NOPRI = "nopri"
|
|
313
|
+
NTP = "ntp"
|
|
314
|
+
SYSLOG = "syslog"
|
|
315
|
+
USER = "user"
|
|
316
|
+
UUCP = "uucp"
|
|
317
|
+
LOCAL0 = "local0"
|
|
318
|
+
LOCAL1 = "local1"
|
|
319
|
+
LOCAL2 = "local2"
|
|
320
|
+
LOCAL3 = "local3"
|
|
321
|
+
LOCAL4 = "local4"
|
|
322
|
+
LOCAL5 = "local5"
|
|
323
|
+
LOCAL6 = "local6"
|
|
324
|
+
LOCAL7 = "local7"
|
|
325
|
+
ASTERISK = "*"
|
|
326
|
+
|
|
327
|
+
|
|
328
|
+
class KnownSyslogDataSourceLogLevels(str, Enum):
|
|
329
|
+
DEBUG = "Debug"
|
|
330
|
+
INFO = "Info"
|
|
331
|
+
NOTICE = "Notice"
|
|
332
|
+
WARNING = "Warning"
|
|
333
|
+
ERROR = "Error"
|
|
334
|
+
CRITICAL = "Critical"
|
|
335
|
+
ALERT = "Alert"
|
|
336
|
+
EMERGENCY = "Emergency"
|
|
337
|
+
ASTERISK = "*"
|
|
338
|
+
|
|
339
|
+
|
|
340
|
+
class KnownSyslogDataSourceStreams(str, Enum):
|
|
341
|
+
MICROSOFT_SYSLOG = "Microsoft-Syslog"
|
|
342
|
+
|
|
343
|
+
|
|
344
|
+
class KnownWindowsEventLogDataSourceStreams(str, Enum):
|
|
345
|
+
MICROSOFT_WINDOWS_EVENT = "Microsoft-WindowsEvent"
|
|
346
|
+
MICROSOFT_EVENT = "Microsoft-Event"
|
|
347
|
+
|
|
348
|
+
|
|
165
349
|
class ManagedServiceIdentityType(str, Enum):
|
|
166
350
|
"""
|
|
167
351
|
Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
|
|
@@ -183,6 +367,15 @@ class MetricStatisticType(str, Enum):
|
|
|
183
367
|
COUNT = "Count"
|
|
184
368
|
|
|
185
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
|
+
|
|
186
379
|
class OperationType(str, Enum):
|
|
187
380
|
"""
|
|
188
381
|
the operation associated with the notification and its value must be "scale"
|
|
@@ -190,6 +383,17 @@ class OperationType(str, Enum):
|
|
|
190
383
|
SCALE = "Scale"
|
|
191
384
|
|
|
192
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
|
+
|
|
193
397
|
class PipelineType(str, Enum):
|
|
194
398
|
"""
|
|
195
399
|
The type of pipeline
|