pulumi-azure-native 3.0.0a1743504154__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.

Files changed (37) hide show
  1. pulumi_azure_native/__init__.py +9 -0
  2. pulumi_azure_native/monitor/__init__.py +19 -0
  3. pulumi_azure_native/monitor/_enums.py +305 -0
  4. pulumi_azure_native/monitor/_inputs.py +6221 -1259
  5. pulumi_azure_native/monitor/action_group.py +9 -9
  6. pulumi_azure_native/monitor/activity_log_alert.py +388 -0
  7. pulumi_azure_native/monitor/autoscale_setting.py +397 -0
  8. pulumi_azure_native/monitor/data_collection_endpoint.py +468 -0
  9. pulumi_azure_native/monitor/data_collection_rule.py +519 -0
  10. pulumi_azure_native/monitor/data_collection_rule_association.py +300 -0
  11. pulumi_azure_native/monitor/diagnostic_setting.py +444 -0
  12. pulumi_azure_native/monitor/get_action_group.py +2 -2
  13. pulumi_azure_native/monitor/get_activity_log_alert.py +231 -0
  14. pulumi_azure_native/monitor/get_autoscale_setting.py +189 -0
  15. pulumi_azure_native/monitor/get_data_collection_endpoint.py +357 -0
  16. pulumi_azure_native/monitor/get_data_collection_rule.py +344 -0
  17. pulumi_azure_native/monitor/get_data_collection_rule_association.py +231 -0
  18. pulumi_azure_native/monitor/get_diagnostic_setting.py +273 -0
  19. pulumi_azure_native/monitor/get_management_group_diagnostic_setting.py +245 -0
  20. pulumi_azure_native/monitor/get_metric_alert.py +343 -0
  21. pulumi_azure_native/monitor/get_private_endpoint_connection.py +4 -0
  22. pulumi_azure_native/monitor/get_private_link_scope.py +4 -0
  23. pulumi_azure_native/monitor/get_private_link_scoped_resource.py +4 -0
  24. pulumi_azure_native/monitor/get_subscription_diagnostic_setting.py +239 -0
  25. pulumi_azure_native/monitor/list_diagnostic_settings_category.py +85 -0
  26. pulumi_azure_native/monitor/management_group_diagnostic_setting.py +386 -0
  27. pulumi_azure_native/monitor/metric_alert.py +578 -0
  28. pulumi_azure_native/monitor/outputs.py +5646 -716
  29. pulumi_azure_native/monitor/private_endpoint_connection.py +4 -0
  30. pulumi_azure_native/monitor/private_link_scope.py +4 -0
  31. pulumi_azure_native/monitor/private_link_scoped_resource.py +4 -0
  32. pulumi_azure_native/monitor/subscription_diagnostic_setting.py +365 -0
  33. pulumi_azure_native/pulumi-plugin.json +1 -1
  34. {pulumi_azure_native-3.0.0a1743504154.dist-info → pulumi_azure_native-3.1.0.dist-info}/METADATA +1 -1
  35. {pulumi_azure_native-3.0.0a1743504154.dist-info → pulumi_azure_native-3.1.0.dist-info}/RECORD +37 -18
  36. {pulumi_azure_native-3.0.0a1743504154.dist-info → pulumi_azure_native-3.1.0.dist-info}/WHEEL +0 -0
  37. {pulumi_azure_native-3.0.0a1743504154.dist-info → pulumi_azure_native-3.1.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,444 @@
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
+ import copy
6
+ import warnings
7
+ import sys
8
+ import pulumi
9
+ import pulumi.runtime
10
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
15
+ from .. import _utilities
16
+ from . import outputs
17
+ from ._inputs import *
18
+
19
+ __all__ = ['DiagnosticSettingArgs', 'DiagnosticSetting']
20
+
21
+ @pulumi.input_type
22
+ class DiagnosticSettingArgs:
23
+ def __init__(__self__, *,
24
+ resource_uri: pulumi.Input[str],
25
+ event_hub_authorization_rule_id: Optional[pulumi.Input[str]] = None,
26
+ event_hub_name: Optional[pulumi.Input[str]] = None,
27
+ log_analytics_destination_type: Optional[pulumi.Input[str]] = None,
28
+ logs: Optional[pulumi.Input[Sequence[pulumi.Input['LogSettingsArgs']]]] = None,
29
+ marketplace_partner_id: Optional[pulumi.Input[str]] = None,
30
+ metrics: Optional[pulumi.Input[Sequence[pulumi.Input['MetricSettingsArgs']]]] = None,
31
+ name: Optional[pulumi.Input[str]] = None,
32
+ service_bus_rule_id: Optional[pulumi.Input[str]] = None,
33
+ storage_account_id: Optional[pulumi.Input[str]] = None,
34
+ workspace_id: Optional[pulumi.Input[str]] = None):
35
+ """
36
+ The set of arguments for constructing a DiagnosticSetting resource.
37
+ :param pulumi.Input[str] resource_uri: The identifier of the resource.
38
+ :param pulumi.Input[str] event_hub_authorization_rule_id: The resource Id for the event hub authorization rule.
39
+ :param pulumi.Input[str] event_hub_name: The name of the event hub. If none is specified, the default event hub will be selected.
40
+ :param pulumi.Input[str] log_analytics_destination_type: A string indicating whether the export to Log Analytics should use the default destination type, i.e. AzureDiagnostics, or use a destination type constructed as follows: <normalized service identity>_<normalized category name>. Possible values are: Dedicated and null (null is default.)
41
+ :param pulumi.Input[Sequence[pulumi.Input['LogSettingsArgs']]] logs: The list of logs settings.
42
+ :param pulumi.Input[str] marketplace_partner_id: The full ARM resource ID of the Marketplace resource to which you would like to send Diagnostic Logs.
43
+ :param pulumi.Input[Sequence[pulumi.Input['MetricSettingsArgs']]] metrics: The list of metric settings.
44
+ :param pulumi.Input[str] name: The name of the diagnostic setting.
45
+ :param pulumi.Input[str] service_bus_rule_id: The service bus rule Id of the diagnostic setting. This is here to maintain backwards compatibility.
46
+ :param pulumi.Input[str] storage_account_id: The resource ID of the storage account to which you would like to send Diagnostic Logs.
47
+ :param pulumi.Input[str] workspace_id: The full ARM resource ID of the Log Analytics workspace to which you would like to send Diagnostic Logs. Example: /subscriptions/4b9e8510-67ab-4e9a-95a9-e2f1e570ea9c/resourceGroups/insights-integration/providers/Microsoft.OperationalInsights/workspaces/viruela2
48
+ """
49
+ pulumi.set(__self__, "resource_uri", resource_uri)
50
+ if event_hub_authorization_rule_id is not None:
51
+ pulumi.set(__self__, "event_hub_authorization_rule_id", event_hub_authorization_rule_id)
52
+ if event_hub_name is not None:
53
+ pulumi.set(__self__, "event_hub_name", event_hub_name)
54
+ if log_analytics_destination_type is not None:
55
+ pulumi.set(__self__, "log_analytics_destination_type", log_analytics_destination_type)
56
+ if logs is not None:
57
+ pulumi.set(__self__, "logs", logs)
58
+ if marketplace_partner_id is not None:
59
+ pulumi.set(__self__, "marketplace_partner_id", marketplace_partner_id)
60
+ if metrics is not None:
61
+ pulumi.set(__self__, "metrics", metrics)
62
+ if name is not None:
63
+ pulumi.set(__self__, "name", name)
64
+ if service_bus_rule_id is not None:
65
+ pulumi.set(__self__, "service_bus_rule_id", service_bus_rule_id)
66
+ if storage_account_id is not None:
67
+ pulumi.set(__self__, "storage_account_id", storage_account_id)
68
+ if workspace_id is not None:
69
+ pulumi.set(__self__, "workspace_id", workspace_id)
70
+
71
+ @property
72
+ @pulumi.getter(name="resourceUri")
73
+ def resource_uri(self) -> pulumi.Input[str]:
74
+ """
75
+ The identifier of the resource.
76
+ """
77
+ return pulumi.get(self, "resource_uri")
78
+
79
+ @resource_uri.setter
80
+ def resource_uri(self, value: pulumi.Input[str]):
81
+ pulumi.set(self, "resource_uri", value)
82
+
83
+ @property
84
+ @pulumi.getter(name="eventHubAuthorizationRuleId")
85
+ def event_hub_authorization_rule_id(self) -> Optional[pulumi.Input[str]]:
86
+ """
87
+ The resource Id for the event hub authorization rule.
88
+ """
89
+ return pulumi.get(self, "event_hub_authorization_rule_id")
90
+
91
+ @event_hub_authorization_rule_id.setter
92
+ def event_hub_authorization_rule_id(self, value: Optional[pulumi.Input[str]]):
93
+ pulumi.set(self, "event_hub_authorization_rule_id", value)
94
+
95
+ @property
96
+ @pulumi.getter(name="eventHubName")
97
+ def event_hub_name(self) -> Optional[pulumi.Input[str]]:
98
+ """
99
+ The name of the event hub. If none is specified, the default event hub will be selected.
100
+ """
101
+ return pulumi.get(self, "event_hub_name")
102
+
103
+ @event_hub_name.setter
104
+ def event_hub_name(self, value: Optional[pulumi.Input[str]]):
105
+ pulumi.set(self, "event_hub_name", value)
106
+
107
+ @property
108
+ @pulumi.getter(name="logAnalyticsDestinationType")
109
+ def log_analytics_destination_type(self) -> Optional[pulumi.Input[str]]:
110
+ """
111
+ A string indicating whether the export to Log Analytics should use the default destination type, i.e. AzureDiagnostics, or use a destination type constructed as follows: <normalized service identity>_<normalized category name>. Possible values are: Dedicated and null (null is default.)
112
+ """
113
+ return pulumi.get(self, "log_analytics_destination_type")
114
+
115
+ @log_analytics_destination_type.setter
116
+ def log_analytics_destination_type(self, value: Optional[pulumi.Input[str]]):
117
+ pulumi.set(self, "log_analytics_destination_type", value)
118
+
119
+ @property
120
+ @pulumi.getter
121
+ def logs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['LogSettingsArgs']]]]:
122
+ """
123
+ The list of logs settings.
124
+ """
125
+ return pulumi.get(self, "logs")
126
+
127
+ @logs.setter
128
+ def logs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['LogSettingsArgs']]]]):
129
+ pulumi.set(self, "logs", value)
130
+
131
+ @property
132
+ @pulumi.getter(name="marketplacePartnerId")
133
+ def marketplace_partner_id(self) -> Optional[pulumi.Input[str]]:
134
+ """
135
+ The full ARM resource ID of the Marketplace resource to which you would like to send Diagnostic Logs.
136
+ """
137
+ return pulumi.get(self, "marketplace_partner_id")
138
+
139
+ @marketplace_partner_id.setter
140
+ def marketplace_partner_id(self, value: Optional[pulumi.Input[str]]):
141
+ pulumi.set(self, "marketplace_partner_id", value)
142
+
143
+ @property
144
+ @pulumi.getter
145
+ def metrics(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['MetricSettingsArgs']]]]:
146
+ """
147
+ The list of metric settings.
148
+ """
149
+ return pulumi.get(self, "metrics")
150
+
151
+ @metrics.setter
152
+ def metrics(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['MetricSettingsArgs']]]]):
153
+ pulumi.set(self, "metrics", value)
154
+
155
+ @property
156
+ @pulumi.getter
157
+ def name(self) -> Optional[pulumi.Input[str]]:
158
+ """
159
+ The name of the diagnostic setting.
160
+ """
161
+ return pulumi.get(self, "name")
162
+
163
+ @name.setter
164
+ def name(self, value: Optional[pulumi.Input[str]]):
165
+ pulumi.set(self, "name", value)
166
+
167
+ @property
168
+ @pulumi.getter(name="serviceBusRuleId")
169
+ def service_bus_rule_id(self) -> Optional[pulumi.Input[str]]:
170
+ """
171
+ The service bus rule Id of the diagnostic setting. This is here to maintain backwards compatibility.
172
+ """
173
+ return pulumi.get(self, "service_bus_rule_id")
174
+
175
+ @service_bus_rule_id.setter
176
+ def service_bus_rule_id(self, value: Optional[pulumi.Input[str]]):
177
+ pulumi.set(self, "service_bus_rule_id", value)
178
+
179
+ @property
180
+ @pulumi.getter(name="storageAccountId")
181
+ def storage_account_id(self) -> Optional[pulumi.Input[str]]:
182
+ """
183
+ The resource ID of the storage account to which you would like to send Diagnostic Logs.
184
+ """
185
+ return pulumi.get(self, "storage_account_id")
186
+
187
+ @storage_account_id.setter
188
+ def storage_account_id(self, value: Optional[pulumi.Input[str]]):
189
+ pulumi.set(self, "storage_account_id", value)
190
+
191
+ @property
192
+ @pulumi.getter(name="workspaceId")
193
+ def workspace_id(self) -> Optional[pulumi.Input[str]]:
194
+ """
195
+ The full ARM resource ID of the Log Analytics workspace to which you would like to send Diagnostic Logs. Example: /subscriptions/4b9e8510-67ab-4e9a-95a9-e2f1e570ea9c/resourceGroups/insights-integration/providers/Microsoft.OperationalInsights/workspaces/viruela2
196
+ """
197
+ return pulumi.get(self, "workspace_id")
198
+
199
+ @workspace_id.setter
200
+ def workspace_id(self, value: Optional[pulumi.Input[str]]):
201
+ pulumi.set(self, "workspace_id", value)
202
+
203
+
204
+ class DiagnosticSetting(pulumi.CustomResource):
205
+ @overload
206
+ def __init__(__self__,
207
+ resource_name: str,
208
+ opts: Optional[pulumi.ResourceOptions] = None,
209
+ event_hub_authorization_rule_id: Optional[pulumi.Input[str]] = None,
210
+ event_hub_name: Optional[pulumi.Input[str]] = None,
211
+ log_analytics_destination_type: Optional[pulumi.Input[str]] = None,
212
+ logs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['LogSettingsArgs', 'LogSettingsArgsDict']]]]] = None,
213
+ marketplace_partner_id: Optional[pulumi.Input[str]] = None,
214
+ metrics: Optional[pulumi.Input[Sequence[pulumi.Input[Union['MetricSettingsArgs', 'MetricSettingsArgsDict']]]]] = None,
215
+ name: Optional[pulumi.Input[str]] = None,
216
+ resource_uri: Optional[pulumi.Input[str]] = None,
217
+ service_bus_rule_id: Optional[pulumi.Input[str]] = None,
218
+ storage_account_id: Optional[pulumi.Input[str]] = None,
219
+ workspace_id: Optional[pulumi.Input[str]] = None,
220
+ __props__=None):
221
+ """
222
+ The diagnostic setting resource.
223
+
224
+ Uses Azure REST API version 2021-05-01-preview.
225
+
226
+ :param str resource_name: The name of the resource.
227
+ :param pulumi.ResourceOptions opts: Options for the resource.
228
+ :param pulumi.Input[str] event_hub_authorization_rule_id: The resource Id for the event hub authorization rule.
229
+ :param pulumi.Input[str] event_hub_name: The name of the event hub. If none is specified, the default event hub will be selected.
230
+ :param pulumi.Input[str] log_analytics_destination_type: A string indicating whether the export to Log Analytics should use the default destination type, i.e. AzureDiagnostics, or use a destination type constructed as follows: <normalized service identity>_<normalized category name>. Possible values are: Dedicated and null (null is default.)
231
+ :param pulumi.Input[Sequence[pulumi.Input[Union['LogSettingsArgs', 'LogSettingsArgsDict']]]] logs: The list of logs settings.
232
+ :param pulumi.Input[str] marketplace_partner_id: The full ARM resource ID of the Marketplace resource to which you would like to send Diagnostic Logs.
233
+ :param pulumi.Input[Sequence[pulumi.Input[Union['MetricSettingsArgs', 'MetricSettingsArgsDict']]]] metrics: The list of metric settings.
234
+ :param pulumi.Input[str] name: The name of the diagnostic setting.
235
+ :param pulumi.Input[str] resource_uri: The identifier of the resource.
236
+ :param pulumi.Input[str] service_bus_rule_id: The service bus rule Id of the diagnostic setting. This is here to maintain backwards compatibility.
237
+ :param pulumi.Input[str] storage_account_id: The resource ID of the storage account to which you would like to send Diagnostic Logs.
238
+ :param pulumi.Input[str] workspace_id: The full ARM resource ID of the Log Analytics workspace to which you would like to send Diagnostic Logs. Example: /subscriptions/4b9e8510-67ab-4e9a-95a9-e2f1e570ea9c/resourceGroups/insights-integration/providers/Microsoft.OperationalInsights/workspaces/viruela2
239
+ """
240
+ ...
241
+ @overload
242
+ def __init__(__self__,
243
+ resource_name: str,
244
+ args: DiagnosticSettingArgs,
245
+ opts: Optional[pulumi.ResourceOptions] = None):
246
+ """
247
+ The diagnostic setting resource.
248
+
249
+ Uses Azure REST API version 2021-05-01-preview.
250
+
251
+ :param str resource_name: The name of the resource.
252
+ :param DiagnosticSettingArgs args: The arguments to use to populate this resource's properties.
253
+ :param pulumi.ResourceOptions opts: Options for the resource.
254
+ """
255
+ ...
256
+ def __init__(__self__, resource_name: str, *args, **kwargs):
257
+ resource_args, opts = _utilities.get_resource_args_opts(DiagnosticSettingArgs, pulumi.ResourceOptions, *args, **kwargs)
258
+ if resource_args is not None:
259
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
260
+ else:
261
+ __self__._internal_init(resource_name, *args, **kwargs)
262
+
263
+ def _internal_init(__self__,
264
+ resource_name: str,
265
+ opts: Optional[pulumi.ResourceOptions] = None,
266
+ event_hub_authorization_rule_id: Optional[pulumi.Input[str]] = None,
267
+ event_hub_name: Optional[pulumi.Input[str]] = None,
268
+ log_analytics_destination_type: Optional[pulumi.Input[str]] = None,
269
+ logs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['LogSettingsArgs', 'LogSettingsArgsDict']]]]] = None,
270
+ marketplace_partner_id: Optional[pulumi.Input[str]] = None,
271
+ metrics: Optional[pulumi.Input[Sequence[pulumi.Input[Union['MetricSettingsArgs', 'MetricSettingsArgsDict']]]]] = None,
272
+ name: Optional[pulumi.Input[str]] = None,
273
+ resource_uri: Optional[pulumi.Input[str]] = None,
274
+ service_bus_rule_id: Optional[pulumi.Input[str]] = None,
275
+ storage_account_id: Optional[pulumi.Input[str]] = None,
276
+ workspace_id: Optional[pulumi.Input[str]] = None,
277
+ __props__=None):
278
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
279
+ if not isinstance(opts, pulumi.ResourceOptions):
280
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
281
+ if opts.id is None:
282
+ if __props__ is not None:
283
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
284
+ __props__ = DiagnosticSettingArgs.__new__(DiagnosticSettingArgs)
285
+
286
+ __props__.__dict__["event_hub_authorization_rule_id"] = event_hub_authorization_rule_id
287
+ __props__.__dict__["event_hub_name"] = event_hub_name
288
+ __props__.__dict__["log_analytics_destination_type"] = log_analytics_destination_type
289
+ __props__.__dict__["logs"] = logs
290
+ __props__.__dict__["marketplace_partner_id"] = marketplace_partner_id
291
+ __props__.__dict__["metrics"] = metrics
292
+ __props__.__dict__["name"] = name
293
+ if resource_uri is None and not opts.urn:
294
+ raise TypeError("Missing required property 'resource_uri'")
295
+ __props__.__dict__["resource_uri"] = resource_uri
296
+ __props__.__dict__["service_bus_rule_id"] = service_bus_rule_id
297
+ __props__.__dict__["storage_account_id"] = storage_account_id
298
+ __props__.__dict__["workspace_id"] = workspace_id
299
+ __props__.__dict__["azure_api_version"] = None
300
+ __props__.__dict__["system_data"] = None
301
+ __props__.__dict__["type"] = None
302
+ alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:insights/v20210501preview:DiagnosticSetting"), pulumi.Alias(type_="azure-native:insights:DiagnosticSetting"), pulumi.Alias(type_="azure-native:monitor/v20170501preview:DiagnosticSetting"), pulumi.Alias(type_="azure-native:monitor/v20210501preview:DiagnosticSetting")])
303
+ opts = pulumi.ResourceOptions.merge(opts, alias_opts)
304
+ super(DiagnosticSetting, __self__).__init__(
305
+ 'azure-native:monitor:DiagnosticSetting',
306
+ resource_name,
307
+ __props__,
308
+ opts)
309
+
310
+ @staticmethod
311
+ def get(resource_name: str,
312
+ id: pulumi.Input[str],
313
+ opts: Optional[pulumi.ResourceOptions] = None) -> 'DiagnosticSetting':
314
+ """
315
+ Get an existing DiagnosticSetting resource's state with the given name, id, and optional extra
316
+ properties used to qualify the lookup.
317
+
318
+ :param str resource_name: The unique name of the resulting resource.
319
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
320
+ :param pulumi.ResourceOptions opts: Options for the resource.
321
+ """
322
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
323
+
324
+ __props__ = DiagnosticSettingArgs.__new__(DiagnosticSettingArgs)
325
+
326
+ __props__.__dict__["azure_api_version"] = None
327
+ __props__.__dict__["event_hub_authorization_rule_id"] = None
328
+ __props__.__dict__["event_hub_name"] = None
329
+ __props__.__dict__["log_analytics_destination_type"] = None
330
+ __props__.__dict__["logs"] = None
331
+ __props__.__dict__["marketplace_partner_id"] = None
332
+ __props__.__dict__["metrics"] = None
333
+ __props__.__dict__["name"] = None
334
+ __props__.__dict__["service_bus_rule_id"] = None
335
+ __props__.__dict__["storage_account_id"] = None
336
+ __props__.__dict__["system_data"] = None
337
+ __props__.__dict__["type"] = None
338
+ __props__.__dict__["workspace_id"] = None
339
+ return DiagnosticSetting(resource_name, opts=opts, __props__=__props__)
340
+
341
+ @property
342
+ @pulumi.getter(name="azureApiVersion")
343
+ def azure_api_version(self) -> pulumi.Output[str]:
344
+ """
345
+ The Azure API version of the resource.
346
+ """
347
+ return pulumi.get(self, "azure_api_version")
348
+
349
+ @property
350
+ @pulumi.getter(name="eventHubAuthorizationRuleId")
351
+ def event_hub_authorization_rule_id(self) -> pulumi.Output[Optional[str]]:
352
+ """
353
+ The resource Id for the event hub authorization rule.
354
+ """
355
+ return pulumi.get(self, "event_hub_authorization_rule_id")
356
+
357
+ @property
358
+ @pulumi.getter(name="eventHubName")
359
+ def event_hub_name(self) -> pulumi.Output[Optional[str]]:
360
+ """
361
+ The name of the event hub. If none is specified, the default event hub will be selected.
362
+ """
363
+ return pulumi.get(self, "event_hub_name")
364
+
365
+ @property
366
+ @pulumi.getter(name="logAnalyticsDestinationType")
367
+ def log_analytics_destination_type(self) -> pulumi.Output[Optional[str]]:
368
+ """
369
+ A string indicating whether the export to Log Analytics should use the default destination type, i.e. AzureDiagnostics, or use a destination type constructed as follows: <normalized service identity>_<normalized category name>. Possible values are: Dedicated and null (null is default.)
370
+ """
371
+ return pulumi.get(self, "log_analytics_destination_type")
372
+
373
+ @property
374
+ @pulumi.getter
375
+ def logs(self) -> pulumi.Output[Optional[Sequence['outputs.LogSettingsResponse']]]:
376
+ """
377
+ The list of logs settings.
378
+ """
379
+ return pulumi.get(self, "logs")
380
+
381
+ @property
382
+ @pulumi.getter(name="marketplacePartnerId")
383
+ def marketplace_partner_id(self) -> pulumi.Output[Optional[str]]:
384
+ """
385
+ The full ARM resource ID of the Marketplace resource to which you would like to send Diagnostic Logs.
386
+ """
387
+ return pulumi.get(self, "marketplace_partner_id")
388
+
389
+ @property
390
+ @pulumi.getter
391
+ def metrics(self) -> pulumi.Output[Optional[Sequence['outputs.MetricSettingsResponse']]]:
392
+ """
393
+ The list of metric settings.
394
+ """
395
+ return pulumi.get(self, "metrics")
396
+
397
+ @property
398
+ @pulumi.getter
399
+ def name(self) -> pulumi.Output[str]:
400
+ """
401
+ The name of the resource
402
+ """
403
+ return pulumi.get(self, "name")
404
+
405
+ @property
406
+ @pulumi.getter(name="serviceBusRuleId")
407
+ def service_bus_rule_id(self) -> pulumi.Output[Optional[str]]:
408
+ """
409
+ The service bus rule Id of the diagnostic setting. This is here to maintain backwards compatibility.
410
+ """
411
+ return pulumi.get(self, "service_bus_rule_id")
412
+
413
+ @property
414
+ @pulumi.getter(name="storageAccountId")
415
+ def storage_account_id(self) -> pulumi.Output[Optional[str]]:
416
+ """
417
+ The resource ID of the storage account to which you would like to send Diagnostic Logs.
418
+ """
419
+ return pulumi.get(self, "storage_account_id")
420
+
421
+ @property
422
+ @pulumi.getter(name="systemData")
423
+ def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']:
424
+ """
425
+ The system metadata related to this resource.
426
+ """
427
+ return pulumi.get(self, "system_data")
428
+
429
+ @property
430
+ @pulumi.getter
431
+ def type(self) -> pulumi.Output[str]:
432
+ """
433
+ The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
434
+ """
435
+ return pulumi.get(self, "type")
436
+
437
+ @property
438
+ @pulumi.getter(name="workspaceId")
439
+ def workspace_id(self) -> pulumi.Output[Optional[str]]:
440
+ """
441
+ The full ARM resource ID of the Log Analytics workspace to which you would like to send Diagnostic Logs. Example: /subscriptions/4b9e8510-67ab-4e9a-95a9-e2f1e570ea9c/resourceGroups/insights-integration/providers/Microsoft.OperationalInsights/workspaces/viruela2
442
+ """
443
+ return pulumi.get(self, "workspace_id")
444
+
@@ -298,7 +298,7 @@ def get_action_group(action_group_name: Optional[str] = None,
298
298
 
299
299
  Uses Azure REST API version 2024-10-01-preview.
300
300
 
301
- Other available API versions: 2023-09-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native monitor [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
301
+ Other available API versions: 2018-03-01, 2022-06-01, 2023-09-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native monitor [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
302
302
 
303
303
 
304
304
  :param str action_group_name: The name of the action group.
@@ -340,7 +340,7 @@ def get_action_group_output(action_group_name: Optional[pulumi.Input[str]] = Non
340
340
 
341
341
  Uses Azure REST API version 2024-10-01-preview.
342
342
 
343
- Other available API versions: 2023-09-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native monitor [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
343
+ Other available API versions: 2018-03-01, 2022-06-01, 2023-09-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native monitor [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
344
344
 
345
345
 
346
346
  :param str action_group_name: The name of the action group.