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,357 @@
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
+
18
+ __all__ = [
19
+ 'GetDataCollectionEndpointResult',
20
+ 'AwaitableGetDataCollectionEndpointResult',
21
+ 'get_data_collection_endpoint',
22
+ 'get_data_collection_endpoint_output',
23
+ ]
24
+
25
+ @pulumi.output_type
26
+ class GetDataCollectionEndpointResult:
27
+ """
28
+ Definition of ARM tracked top level resource.
29
+ """
30
+ def __init__(__self__, azure_api_version=None, configuration_access=None, description=None, etag=None, failover_configuration=None, id=None, identity=None, immutable_id=None, kind=None, location=None, logs_ingestion=None, metadata=None, metrics_ingestion=None, name=None, network_acls=None, private_link_scoped_resources=None, provisioning_state=None, system_data=None, tags=None, type=None):
31
+ if azure_api_version and not isinstance(azure_api_version, str):
32
+ raise TypeError("Expected argument 'azure_api_version' to be a str")
33
+ pulumi.set(__self__, "azure_api_version", azure_api_version)
34
+ if configuration_access and not isinstance(configuration_access, dict):
35
+ raise TypeError("Expected argument 'configuration_access' to be a dict")
36
+ pulumi.set(__self__, "configuration_access", configuration_access)
37
+ if description and not isinstance(description, str):
38
+ raise TypeError("Expected argument 'description' to be a str")
39
+ pulumi.set(__self__, "description", description)
40
+ if etag and not isinstance(etag, str):
41
+ raise TypeError("Expected argument 'etag' to be a str")
42
+ pulumi.set(__self__, "etag", etag)
43
+ if failover_configuration and not isinstance(failover_configuration, dict):
44
+ raise TypeError("Expected argument 'failover_configuration' to be a dict")
45
+ pulumi.set(__self__, "failover_configuration", failover_configuration)
46
+ if id and not isinstance(id, str):
47
+ raise TypeError("Expected argument 'id' to be a str")
48
+ pulumi.set(__self__, "id", id)
49
+ if identity and not isinstance(identity, dict):
50
+ raise TypeError("Expected argument 'identity' to be a dict")
51
+ pulumi.set(__self__, "identity", identity)
52
+ if immutable_id and not isinstance(immutable_id, str):
53
+ raise TypeError("Expected argument 'immutable_id' to be a str")
54
+ pulumi.set(__self__, "immutable_id", immutable_id)
55
+ if kind and not isinstance(kind, str):
56
+ raise TypeError("Expected argument 'kind' to be a str")
57
+ pulumi.set(__self__, "kind", kind)
58
+ if location and not isinstance(location, str):
59
+ raise TypeError("Expected argument 'location' to be a str")
60
+ pulumi.set(__self__, "location", location)
61
+ if logs_ingestion and not isinstance(logs_ingestion, dict):
62
+ raise TypeError("Expected argument 'logs_ingestion' to be a dict")
63
+ pulumi.set(__self__, "logs_ingestion", logs_ingestion)
64
+ if metadata and not isinstance(metadata, dict):
65
+ raise TypeError("Expected argument 'metadata' to be a dict")
66
+ pulumi.set(__self__, "metadata", metadata)
67
+ if metrics_ingestion and not isinstance(metrics_ingestion, dict):
68
+ raise TypeError("Expected argument 'metrics_ingestion' to be a dict")
69
+ pulumi.set(__self__, "metrics_ingestion", metrics_ingestion)
70
+ if name and not isinstance(name, str):
71
+ raise TypeError("Expected argument 'name' to be a str")
72
+ pulumi.set(__self__, "name", name)
73
+ if network_acls and not isinstance(network_acls, dict):
74
+ raise TypeError("Expected argument 'network_acls' to be a dict")
75
+ pulumi.set(__self__, "network_acls", network_acls)
76
+ if private_link_scoped_resources and not isinstance(private_link_scoped_resources, list):
77
+ raise TypeError("Expected argument 'private_link_scoped_resources' to be a list")
78
+ pulumi.set(__self__, "private_link_scoped_resources", private_link_scoped_resources)
79
+ if provisioning_state and not isinstance(provisioning_state, str):
80
+ raise TypeError("Expected argument 'provisioning_state' to be a str")
81
+ pulumi.set(__self__, "provisioning_state", provisioning_state)
82
+ if system_data and not isinstance(system_data, dict):
83
+ raise TypeError("Expected argument 'system_data' to be a dict")
84
+ pulumi.set(__self__, "system_data", system_data)
85
+ if tags and not isinstance(tags, dict):
86
+ raise TypeError("Expected argument 'tags' to be a dict")
87
+ pulumi.set(__self__, "tags", tags)
88
+ if type and not isinstance(type, str):
89
+ raise TypeError("Expected argument 'type' to be a str")
90
+ pulumi.set(__self__, "type", type)
91
+
92
+ @property
93
+ @pulumi.getter(name="azureApiVersion")
94
+ def azure_api_version(self) -> str:
95
+ """
96
+ The Azure API version of the resource.
97
+ """
98
+ return pulumi.get(self, "azure_api_version")
99
+
100
+ @property
101
+ @pulumi.getter(name="configurationAccess")
102
+ def configuration_access(self) -> Optional['outputs.DataCollectionEndpointResponseConfigurationAccess']:
103
+ """
104
+ The endpoint used by clients to access their configuration.
105
+ """
106
+ return pulumi.get(self, "configuration_access")
107
+
108
+ @property
109
+ @pulumi.getter
110
+ def description(self) -> Optional[str]:
111
+ """
112
+ Description of the data collection endpoint.
113
+ """
114
+ return pulumi.get(self, "description")
115
+
116
+ @property
117
+ @pulumi.getter
118
+ def etag(self) -> str:
119
+ """
120
+ Resource entity tag (ETag).
121
+ """
122
+ return pulumi.get(self, "etag")
123
+
124
+ @property
125
+ @pulumi.getter(name="failoverConfiguration")
126
+ def failover_configuration(self) -> 'outputs.DataCollectionEndpointResponseFailoverConfiguration':
127
+ """
128
+ Failover configuration on this endpoint. This property is READ-ONLY.
129
+ """
130
+ return pulumi.get(self, "failover_configuration")
131
+
132
+ @property
133
+ @pulumi.getter
134
+ def id(self) -> str:
135
+ """
136
+ Fully qualified ID of the resource.
137
+ """
138
+ return pulumi.get(self, "id")
139
+
140
+ @property
141
+ @pulumi.getter
142
+ def identity(self) -> Optional['outputs.DataCollectionEndpointResourceResponseIdentity']:
143
+ """
144
+ Managed service identity of the resource.
145
+ """
146
+ return pulumi.get(self, "identity")
147
+
148
+ @property
149
+ @pulumi.getter(name="immutableId")
150
+ def immutable_id(self) -> Optional[str]:
151
+ """
152
+ The immutable ID of this data collection endpoint resource. This property is READ-ONLY.
153
+ """
154
+ return pulumi.get(self, "immutable_id")
155
+
156
+ @property
157
+ @pulumi.getter
158
+ def kind(self) -> Optional[str]:
159
+ """
160
+ The kind of the resource.
161
+ """
162
+ return pulumi.get(self, "kind")
163
+
164
+ @property
165
+ @pulumi.getter
166
+ def location(self) -> str:
167
+ """
168
+ The geo-location where the resource lives.
169
+ """
170
+ return pulumi.get(self, "location")
171
+
172
+ @property
173
+ @pulumi.getter(name="logsIngestion")
174
+ def logs_ingestion(self) -> Optional['outputs.DataCollectionEndpointResponseLogsIngestion']:
175
+ """
176
+ The endpoint used by clients to ingest logs.
177
+ """
178
+ return pulumi.get(self, "logs_ingestion")
179
+
180
+ @property
181
+ @pulumi.getter
182
+ def metadata(self) -> 'outputs.DataCollectionEndpointResponseMetadata':
183
+ """
184
+ Metadata for the resource. This property is READ-ONLY.
185
+ """
186
+ return pulumi.get(self, "metadata")
187
+
188
+ @property
189
+ @pulumi.getter(name="metricsIngestion")
190
+ def metrics_ingestion(self) -> Optional['outputs.DataCollectionEndpointResponseMetricsIngestion']:
191
+ """
192
+ The endpoint used by clients to ingest metrics.
193
+ """
194
+ return pulumi.get(self, "metrics_ingestion")
195
+
196
+ @property
197
+ @pulumi.getter
198
+ def name(self) -> str:
199
+ """
200
+ The name of the resource.
201
+ """
202
+ return pulumi.get(self, "name")
203
+
204
+ @property
205
+ @pulumi.getter(name="networkAcls")
206
+ def network_acls(self) -> Optional['outputs.DataCollectionEndpointResponseNetworkAcls']:
207
+ """
208
+ Network access control rules for the endpoints.
209
+ """
210
+ return pulumi.get(self, "network_acls")
211
+
212
+ @property
213
+ @pulumi.getter(name="privateLinkScopedResources")
214
+ def private_link_scoped_resources(self) -> Sequence['outputs.PrivateLinkScopedResourceResponse']:
215
+ """
216
+ List of Azure Monitor Private Link Scope Resources to which this data collection endpoint resource is associated. This property is READ-ONLY.
217
+ """
218
+ return pulumi.get(self, "private_link_scoped_resources")
219
+
220
+ @property
221
+ @pulumi.getter(name="provisioningState")
222
+ def provisioning_state(self) -> str:
223
+ """
224
+ The resource provisioning state. This property is READ-ONLY.
225
+ """
226
+ return pulumi.get(self, "provisioning_state")
227
+
228
+ @property
229
+ @pulumi.getter(name="systemData")
230
+ def system_data(self) -> 'outputs.DataCollectionEndpointResourceResponseSystemData':
231
+ """
232
+ Metadata pertaining to creation and last modification of the resource.
233
+ """
234
+ return pulumi.get(self, "system_data")
235
+
236
+ @property
237
+ @pulumi.getter
238
+ def tags(self) -> Optional[Mapping[str, str]]:
239
+ """
240
+ Resource tags.
241
+ """
242
+ return pulumi.get(self, "tags")
243
+
244
+ @property
245
+ @pulumi.getter
246
+ def type(self) -> str:
247
+ """
248
+ The type of the resource.
249
+ """
250
+ return pulumi.get(self, "type")
251
+
252
+
253
+ class AwaitableGetDataCollectionEndpointResult(GetDataCollectionEndpointResult):
254
+ # pylint: disable=using-constant-test
255
+ def __await__(self):
256
+ if False:
257
+ yield self
258
+ return GetDataCollectionEndpointResult(
259
+ azure_api_version=self.azure_api_version,
260
+ configuration_access=self.configuration_access,
261
+ description=self.description,
262
+ etag=self.etag,
263
+ failover_configuration=self.failover_configuration,
264
+ id=self.id,
265
+ identity=self.identity,
266
+ immutable_id=self.immutable_id,
267
+ kind=self.kind,
268
+ location=self.location,
269
+ logs_ingestion=self.logs_ingestion,
270
+ metadata=self.metadata,
271
+ metrics_ingestion=self.metrics_ingestion,
272
+ name=self.name,
273
+ network_acls=self.network_acls,
274
+ private_link_scoped_resources=self.private_link_scoped_resources,
275
+ provisioning_state=self.provisioning_state,
276
+ system_data=self.system_data,
277
+ tags=self.tags,
278
+ type=self.type)
279
+
280
+
281
+ def get_data_collection_endpoint(data_collection_endpoint_name: Optional[str] = None,
282
+ resource_group_name: Optional[str] = None,
283
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDataCollectionEndpointResult:
284
+ """
285
+ Definition of ARM tracked top level resource.
286
+
287
+ Uses Azure REST API version 2022-06-01.
288
+
289
+
290
+ :param str data_collection_endpoint_name: The name of the data collection endpoint. The name is case insensitive.
291
+ :param str resource_group_name: The name of the resource group. The name is case insensitive.
292
+ """
293
+ __args__ = dict()
294
+ __args__['dataCollectionEndpointName'] = data_collection_endpoint_name
295
+ __args__['resourceGroupName'] = resource_group_name
296
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
297
+ __ret__ = pulumi.runtime.invoke('azure-native:monitor:getDataCollectionEndpoint', __args__, opts=opts, typ=GetDataCollectionEndpointResult).value
298
+
299
+ return AwaitableGetDataCollectionEndpointResult(
300
+ azure_api_version=pulumi.get(__ret__, 'azure_api_version'),
301
+ configuration_access=pulumi.get(__ret__, 'configuration_access'),
302
+ description=pulumi.get(__ret__, 'description'),
303
+ etag=pulumi.get(__ret__, 'etag'),
304
+ failover_configuration=pulumi.get(__ret__, 'failover_configuration'),
305
+ id=pulumi.get(__ret__, 'id'),
306
+ identity=pulumi.get(__ret__, 'identity'),
307
+ immutable_id=pulumi.get(__ret__, 'immutable_id'),
308
+ kind=pulumi.get(__ret__, 'kind'),
309
+ location=pulumi.get(__ret__, 'location'),
310
+ logs_ingestion=pulumi.get(__ret__, 'logs_ingestion'),
311
+ metadata=pulumi.get(__ret__, 'metadata'),
312
+ metrics_ingestion=pulumi.get(__ret__, 'metrics_ingestion'),
313
+ name=pulumi.get(__ret__, 'name'),
314
+ network_acls=pulumi.get(__ret__, 'network_acls'),
315
+ private_link_scoped_resources=pulumi.get(__ret__, 'private_link_scoped_resources'),
316
+ provisioning_state=pulumi.get(__ret__, 'provisioning_state'),
317
+ system_data=pulumi.get(__ret__, 'system_data'),
318
+ tags=pulumi.get(__ret__, 'tags'),
319
+ type=pulumi.get(__ret__, 'type'))
320
+ def get_data_collection_endpoint_output(data_collection_endpoint_name: Optional[pulumi.Input[str]] = None,
321
+ resource_group_name: Optional[pulumi.Input[str]] = None,
322
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDataCollectionEndpointResult]:
323
+ """
324
+ Definition of ARM tracked top level resource.
325
+
326
+ Uses Azure REST API version 2022-06-01.
327
+
328
+
329
+ :param str data_collection_endpoint_name: The name of the data collection endpoint. The name is case insensitive.
330
+ :param str resource_group_name: The name of the resource group. The name is case insensitive.
331
+ """
332
+ __args__ = dict()
333
+ __args__['dataCollectionEndpointName'] = data_collection_endpoint_name
334
+ __args__['resourceGroupName'] = resource_group_name
335
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
336
+ __ret__ = pulumi.runtime.invoke_output('azure-native:monitor:getDataCollectionEndpoint', __args__, opts=opts, typ=GetDataCollectionEndpointResult)
337
+ return __ret__.apply(lambda __response__: GetDataCollectionEndpointResult(
338
+ azure_api_version=pulumi.get(__response__, 'azure_api_version'),
339
+ configuration_access=pulumi.get(__response__, 'configuration_access'),
340
+ description=pulumi.get(__response__, 'description'),
341
+ etag=pulumi.get(__response__, 'etag'),
342
+ failover_configuration=pulumi.get(__response__, 'failover_configuration'),
343
+ id=pulumi.get(__response__, 'id'),
344
+ identity=pulumi.get(__response__, 'identity'),
345
+ immutable_id=pulumi.get(__response__, 'immutable_id'),
346
+ kind=pulumi.get(__response__, 'kind'),
347
+ location=pulumi.get(__response__, 'location'),
348
+ logs_ingestion=pulumi.get(__response__, 'logs_ingestion'),
349
+ metadata=pulumi.get(__response__, 'metadata'),
350
+ metrics_ingestion=pulumi.get(__response__, 'metrics_ingestion'),
351
+ name=pulumi.get(__response__, 'name'),
352
+ network_acls=pulumi.get(__response__, 'network_acls'),
353
+ private_link_scoped_resources=pulumi.get(__response__, 'private_link_scoped_resources'),
354
+ provisioning_state=pulumi.get(__response__, 'provisioning_state'),
355
+ system_data=pulumi.get(__response__, 'system_data'),
356
+ tags=pulumi.get(__response__, 'tags'),
357
+ type=pulumi.get(__response__, 'type')))