pulumi-azure-native 3.0.0a1743504154__py3-none-any.whl → 3.0.1__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.

@@ -3219,12 +3219,16 @@ _utilities.register(
3219
3219
  "fqn": "pulumi_azure_native.monitor",
3220
3220
  "classes": {
3221
3221
  "azure-native:monitor:ActionGroup": "ActionGroup",
3222
+ "azure-native:monitor:AutoscaleSetting": "AutoscaleSetting",
3222
3223
  "azure-native:monitor:AzureMonitorWorkspace": "AzureMonitorWorkspace",
3224
+ "azure-native:monitor:DiagnosticSetting": "DiagnosticSetting",
3225
+ "azure-native:monitor:ManagementGroupDiagnosticSetting": "ManagementGroupDiagnosticSetting",
3223
3226
  "azure-native:monitor:PipelineGroup": "PipelineGroup",
3224
3227
  "azure-native:monitor:PrivateEndpointConnection": "PrivateEndpointConnection",
3225
3228
  "azure-native:monitor:PrivateLinkScope": "PrivateLinkScope",
3226
3229
  "azure-native:monitor:PrivateLinkScopedResource": "PrivateLinkScopedResource",
3227
3230
  "azure-native:monitor:ScheduledQueryRule": "ScheduledQueryRule",
3231
+ "azure-native:monitor:SubscriptionDiagnosticSetting": "SubscriptionDiagnosticSetting",
3228
3232
  "azure-native:monitor:TenantActionGroup": "TenantActionGroup"
3229
3233
  }
3230
3234
  },
@@ -7,20 +7,29 @@ import typing
7
7
  # Export this package's modules as members:
8
8
  from ._enums import *
9
9
  from .action_group import *
10
+ from .autoscale_setting import *
10
11
  from .azure_monitor_workspace import *
12
+ from .diagnostic_setting import *
11
13
  from .get_action_group import *
14
+ from .get_autoscale_setting import *
12
15
  from .get_azure_monitor_workspace import *
16
+ from .get_diagnostic_setting import *
17
+ from .get_management_group_diagnostic_setting import *
13
18
  from .get_pipeline_group import *
14
19
  from .get_private_endpoint_connection import *
15
20
  from .get_private_link_scope import *
16
21
  from .get_private_link_scoped_resource import *
17
22
  from .get_scheduled_query_rule import *
23
+ from .get_subscription_diagnostic_setting import *
18
24
  from .get_tenant_action_group import *
25
+ from .list_diagnostic_settings_category import *
26
+ from .management_group_diagnostic_setting import *
19
27
  from .pipeline_group import *
20
28
  from .private_endpoint_connection import *
21
29
  from .private_link_scope import *
22
30
  from .private_link_scoped_resource import *
23
31
  from .scheduled_query_rule import *
32
+ from .subscription_diagnostic_setting import *
24
33
  from .tenant_action_group import *
25
34
  from ._inputs import *
26
35
  from . import outputs
@@ -6,6 +6,7 @@ from enum import Enum
6
6
 
7
7
  __all__ = [
8
8
  'AccessMode',
9
+ 'ComparisonOperationType',
9
10
  'ConditionOperator',
10
11
  'CriterionType',
11
12
  'DimensionOperator',
@@ -17,14 +18,22 @@ __all__ = [
17
18
  'JsonMapperElement',
18
19
  'Kind',
19
20
  'ManagedServiceIdentityType',
21
+ 'MetricStatisticType',
22
+ 'OperationType',
20
23
  'PipelineType',
24
+ 'PredictiveAutoscalePolicyScaleMode',
21
25
  'PrivateEndpointServiceConnectionStatus',
22
26
  'ProcessorType',
23
27
  'ReceiverType',
28
+ 'RecurrenceFrequency',
29
+ 'ScaleDirection',
30
+ 'ScaleRuleMetricDimensionOperationType',
31
+ 'ScaleType',
24
32
  'ScopedResourceKind',
25
33
  'StreamEncodingType',
26
34
  'SyslogProtocol',
27
35
  'TimeAggregation',
36
+ 'TimeAggregationType',
28
37
  ]
29
38
 
30
39
 
@@ -36,6 +45,18 @@ class AccessMode(str, Enum):
36
45
  PRIVATE_ONLY = "PrivateOnly"
37
46
 
38
47
 
48
+ class ComparisonOperationType(str, Enum):
49
+ """
50
+ the operator that is used to compare the metric data and the threshold.
51
+ """
52
+ EQUALS = "Equals"
53
+ NOT_EQUALS = "NotEquals"
54
+ GREATER_THAN = "GreaterThan"
55
+ GREATER_THAN_OR_EQUAL = "GreaterThanOrEqual"
56
+ LESS_THAN = "LessThan"
57
+ LESS_THAN_OR_EQUAL = "LessThanOrEqual"
58
+
59
+
39
60
  class ConditionOperator(str, Enum):
40
61
  """
41
62
  The criteria operator. Relevant and required only for rules of the kind LogAlert.
@@ -151,6 +172,24 @@ class ManagedServiceIdentityType(str, Enum):
151
172
  SYSTEM_ASSIGNED_USER_ASSIGNED = "SystemAssigned,UserAssigned"
152
173
 
153
174
 
175
+ class MetricStatisticType(str, Enum):
176
+ """
177
+ the metric statistic type. How the metrics from multiple instances are combined.
178
+ """
179
+ AVERAGE = "Average"
180
+ MIN = "Min"
181
+ MAX = "Max"
182
+ SUM = "Sum"
183
+ COUNT = "Count"
184
+
185
+
186
+ class OperationType(str, Enum):
187
+ """
188
+ the operation associated with the notification and its value must be "scale"
189
+ """
190
+ SCALE = "Scale"
191
+
192
+
154
193
  class PipelineType(str, Enum):
155
194
  """
156
195
  The type of pipeline
@@ -161,6 +200,15 @@ class PipelineType(str, Enum):
161
200
  """
162
201
 
163
202
 
203
+ class PredictiveAutoscalePolicyScaleMode(str, Enum):
204
+ """
205
+ the predictive autoscale mode
206
+ """
207
+ DISABLED = "Disabled"
208
+ FORECAST_ONLY = "ForecastOnly"
209
+ ENABLED = "Enabled"
210
+
211
+
164
212
  class PrivateEndpointServiceConnectionStatus(str, Enum):
165
213
  """
166
214
  Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
@@ -206,6 +254,47 @@ class ReceiverType(str, Enum):
206
254
  """
207
255
 
208
256
 
257
+ class RecurrenceFrequency(str, Enum):
258
+ """
259
+ the recurrence frequency. How often the schedule profile should take effect. This value must be Week, meaning each week will have the same set of profiles. For example, to set a daily schedule, set **schedule** to every day of the week. The frequency property specifies that the schedule is repeated weekly.
260
+ """
261
+ NONE = "None"
262
+ SECOND = "Second"
263
+ MINUTE = "Minute"
264
+ HOUR = "Hour"
265
+ DAY = "Day"
266
+ WEEK = "Week"
267
+ MONTH = "Month"
268
+ YEAR = "Year"
269
+
270
+
271
+ class ScaleDirection(str, Enum):
272
+ """
273
+ the scale direction. Whether the scaling action increases or decreases the number of instances.
274
+ """
275
+ NONE = "None"
276
+ INCREASE = "Increase"
277
+ DECREASE = "Decrease"
278
+
279
+
280
+ class ScaleRuleMetricDimensionOperationType(str, Enum):
281
+ """
282
+ the dimension operator. Only 'Equals' and 'NotEquals' are supported. 'Equals' being equal to any of the values. 'NotEquals' being not equal to all of the values
283
+ """
284
+ EQUALS = "Equals"
285
+ NOT_EQUALS = "NotEquals"
286
+
287
+
288
+ class ScaleType(str, Enum):
289
+ """
290
+ the type of action that should occur when the scale rule fires.
291
+ """
292
+ CHANGE_COUNT = "ChangeCount"
293
+ PERCENT_CHANGE_COUNT = "PercentChangeCount"
294
+ EXACT_COUNT = "ExactCount"
295
+ SERVICE_ALLOWED_NEXT_VALUE = "ServiceAllowedNextValue"
296
+
297
+
209
298
  class ScopedResourceKind(str, Enum):
210
299
  """
211
300
  The kind of scoped Azure monitor resource.
@@ -267,3 +356,15 @@ class TimeAggregation(str, Enum):
267
356
  MINIMUM = "Minimum"
268
357
  MAXIMUM = "Maximum"
269
358
  TOTAL = "Total"
359
+
360
+
361
+ class TimeAggregationType(str, Enum):
362
+ """
363
+ time aggregation type. How the data that is collected should be combined over time. The default value is Average.
364
+ """
365
+ AVERAGE = "Average"
366
+ MINIMUM = "Minimum"
367
+ MAXIMUM = "Maximum"
368
+ TOTAL = "Total"
369
+ COUNT = "Count"
370
+ LAST = "Last"