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,300 @@
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__ = ['DataCollectionRuleAssociationArgs', 'DataCollectionRuleAssociation']
19
+
20
+ @pulumi.input_type
21
+ class DataCollectionRuleAssociationArgs:
22
+ def __init__(__self__, *,
23
+ resource_uri: pulumi.Input[str],
24
+ association_name: Optional[pulumi.Input[str]] = None,
25
+ data_collection_endpoint_id: Optional[pulumi.Input[str]] = None,
26
+ data_collection_rule_id: Optional[pulumi.Input[str]] = None,
27
+ description: Optional[pulumi.Input[str]] = None):
28
+ """
29
+ The set of arguments for constructing a DataCollectionRuleAssociation resource.
30
+ :param pulumi.Input[str] resource_uri: The identifier of the resource.
31
+ :param pulumi.Input[str] association_name: The name of the association. The name is case insensitive.
32
+ :param pulumi.Input[str] data_collection_endpoint_id: The resource ID of the data collection endpoint that is to be associated.
33
+ :param pulumi.Input[str] data_collection_rule_id: The resource ID of the data collection rule that is to be associated.
34
+ :param pulumi.Input[str] description: Description of the association.
35
+ """
36
+ pulumi.set(__self__, "resource_uri", resource_uri)
37
+ if association_name is not None:
38
+ pulumi.set(__self__, "association_name", association_name)
39
+ if data_collection_endpoint_id is not None:
40
+ pulumi.set(__self__, "data_collection_endpoint_id", data_collection_endpoint_id)
41
+ if data_collection_rule_id is not None:
42
+ pulumi.set(__self__, "data_collection_rule_id", data_collection_rule_id)
43
+ if description is not None:
44
+ pulumi.set(__self__, "description", description)
45
+
46
+ @property
47
+ @pulumi.getter(name="resourceUri")
48
+ def resource_uri(self) -> pulumi.Input[str]:
49
+ """
50
+ The identifier of the resource.
51
+ """
52
+ return pulumi.get(self, "resource_uri")
53
+
54
+ @resource_uri.setter
55
+ def resource_uri(self, value: pulumi.Input[str]):
56
+ pulumi.set(self, "resource_uri", value)
57
+
58
+ @property
59
+ @pulumi.getter(name="associationName")
60
+ def association_name(self) -> Optional[pulumi.Input[str]]:
61
+ """
62
+ The name of the association. The name is case insensitive.
63
+ """
64
+ return pulumi.get(self, "association_name")
65
+
66
+ @association_name.setter
67
+ def association_name(self, value: Optional[pulumi.Input[str]]):
68
+ pulumi.set(self, "association_name", value)
69
+
70
+ @property
71
+ @pulumi.getter(name="dataCollectionEndpointId")
72
+ def data_collection_endpoint_id(self) -> Optional[pulumi.Input[str]]:
73
+ """
74
+ The resource ID of the data collection endpoint that is to be associated.
75
+ """
76
+ return pulumi.get(self, "data_collection_endpoint_id")
77
+
78
+ @data_collection_endpoint_id.setter
79
+ def data_collection_endpoint_id(self, value: Optional[pulumi.Input[str]]):
80
+ pulumi.set(self, "data_collection_endpoint_id", value)
81
+
82
+ @property
83
+ @pulumi.getter(name="dataCollectionRuleId")
84
+ def data_collection_rule_id(self) -> Optional[pulumi.Input[str]]:
85
+ """
86
+ The resource ID of the data collection rule that is to be associated.
87
+ """
88
+ return pulumi.get(self, "data_collection_rule_id")
89
+
90
+ @data_collection_rule_id.setter
91
+ def data_collection_rule_id(self, value: Optional[pulumi.Input[str]]):
92
+ pulumi.set(self, "data_collection_rule_id", value)
93
+
94
+ @property
95
+ @pulumi.getter
96
+ def description(self) -> Optional[pulumi.Input[str]]:
97
+ """
98
+ Description of the association.
99
+ """
100
+ return pulumi.get(self, "description")
101
+
102
+ @description.setter
103
+ def description(self, value: Optional[pulumi.Input[str]]):
104
+ pulumi.set(self, "description", value)
105
+
106
+
107
+ class DataCollectionRuleAssociation(pulumi.CustomResource):
108
+ @overload
109
+ def __init__(__self__,
110
+ resource_name: str,
111
+ opts: Optional[pulumi.ResourceOptions] = None,
112
+ association_name: Optional[pulumi.Input[str]] = None,
113
+ data_collection_endpoint_id: Optional[pulumi.Input[str]] = None,
114
+ data_collection_rule_id: Optional[pulumi.Input[str]] = None,
115
+ description: Optional[pulumi.Input[str]] = None,
116
+ resource_uri: Optional[pulumi.Input[str]] = None,
117
+ __props__=None):
118
+ """
119
+ Definition of generic ARM proxy resource.
120
+
121
+ Uses Azure REST API version 2022-06-01.
122
+
123
+ :param str resource_name: The name of the resource.
124
+ :param pulumi.ResourceOptions opts: Options for the resource.
125
+ :param pulumi.Input[str] association_name: The name of the association. The name is case insensitive.
126
+ :param pulumi.Input[str] data_collection_endpoint_id: The resource ID of the data collection endpoint that is to be associated.
127
+ :param pulumi.Input[str] data_collection_rule_id: The resource ID of the data collection rule that is to be associated.
128
+ :param pulumi.Input[str] description: Description of the association.
129
+ :param pulumi.Input[str] resource_uri: The identifier of the resource.
130
+ """
131
+ ...
132
+ @overload
133
+ def __init__(__self__,
134
+ resource_name: str,
135
+ args: DataCollectionRuleAssociationArgs,
136
+ opts: Optional[pulumi.ResourceOptions] = None):
137
+ """
138
+ Definition of generic ARM proxy resource.
139
+
140
+ Uses Azure REST API version 2022-06-01.
141
+
142
+ :param str resource_name: The name of the resource.
143
+ :param DataCollectionRuleAssociationArgs args: The arguments to use to populate this resource's properties.
144
+ :param pulumi.ResourceOptions opts: Options for the resource.
145
+ """
146
+ ...
147
+ def __init__(__self__, resource_name: str, *args, **kwargs):
148
+ resource_args, opts = _utilities.get_resource_args_opts(DataCollectionRuleAssociationArgs, pulumi.ResourceOptions, *args, **kwargs)
149
+ if resource_args is not None:
150
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
151
+ else:
152
+ __self__._internal_init(resource_name, *args, **kwargs)
153
+
154
+ def _internal_init(__self__,
155
+ resource_name: str,
156
+ opts: Optional[pulumi.ResourceOptions] = None,
157
+ association_name: Optional[pulumi.Input[str]] = None,
158
+ data_collection_endpoint_id: Optional[pulumi.Input[str]] = None,
159
+ data_collection_rule_id: Optional[pulumi.Input[str]] = None,
160
+ description: Optional[pulumi.Input[str]] = None,
161
+ resource_uri: Optional[pulumi.Input[str]] = None,
162
+ __props__=None):
163
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
164
+ if not isinstance(opts, pulumi.ResourceOptions):
165
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
166
+ if opts.id is None:
167
+ if __props__ is not None:
168
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
169
+ __props__ = DataCollectionRuleAssociationArgs.__new__(DataCollectionRuleAssociationArgs)
170
+
171
+ __props__.__dict__["association_name"] = association_name
172
+ __props__.__dict__["data_collection_endpoint_id"] = data_collection_endpoint_id
173
+ __props__.__dict__["data_collection_rule_id"] = data_collection_rule_id
174
+ __props__.__dict__["description"] = description
175
+ if resource_uri is None and not opts.urn:
176
+ raise TypeError("Missing required property 'resource_uri'")
177
+ __props__.__dict__["resource_uri"] = resource_uri
178
+ __props__.__dict__["azure_api_version"] = None
179
+ __props__.__dict__["etag"] = None
180
+ __props__.__dict__["metadata"] = None
181
+ __props__.__dict__["name"] = None
182
+ __props__.__dict__["provisioning_state"] = None
183
+ __props__.__dict__["system_data"] = None
184
+ __props__.__dict__["type"] = None
185
+ alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:insights/v20220601:DataCollectionRuleAssociation"), pulumi.Alias(type_="azure-native:insights/v20230311:DataCollectionRuleAssociation"), pulumi.Alias(type_="azure-native:insights:DataCollectionRuleAssociation"), pulumi.Alias(type_="azure-native:monitor/v20191101preview:DataCollectionRuleAssociation"), pulumi.Alias(type_="azure-native:monitor/v20210401:DataCollectionRuleAssociation"), pulumi.Alias(type_="azure-native:monitor/v20210901preview:DataCollectionRuleAssociation"), pulumi.Alias(type_="azure-native:monitor/v20220601:DataCollectionRuleAssociation"), pulumi.Alias(type_="azure-native:monitor/v20230311:DataCollectionRuleAssociation")])
186
+ opts = pulumi.ResourceOptions.merge(opts, alias_opts)
187
+ super(DataCollectionRuleAssociation, __self__).__init__(
188
+ 'azure-native:monitor:DataCollectionRuleAssociation',
189
+ resource_name,
190
+ __props__,
191
+ opts)
192
+
193
+ @staticmethod
194
+ def get(resource_name: str,
195
+ id: pulumi.Input[str],
196
+ opts: Optional[pulumi.ResourceOptions] = None) -> 'DataCollectionRuleAssociation':
197
+ """
198
+ Get an existing DataCollectionRuleAssociation resource's state with the given name, id, and optional extra
199
+ properties used to qualify the lookup.
200
+
201
+ :param str resource_name: The unique name of the resulting resource.
202
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
203
+ :param pulumi.ResourceOptions opts: Options for the resource.
204
+ """
205
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
206
+
207
+ __props__ = DataCollectionRuleAssociationArgs.__new__(DataCollectionRuleAssociationArgs)
208
+
209
+ __props__.__dict__["azure_api_version"] = None
210
+ __props__.__dict__["data_collection_endpoint_id"] = None
211
+ __props__.__dict__["data_collection_rule_id"] = None
212
+ __props__.__dict__["description"] = None
213
+ __props__.__dict__["etag"] = None
214
+ __props__.__dict__["metadata"] = None
215
+ __props__.__dict__["name"] = None
216
+ __props__.__dict__["provisioning_state"] = None
217
+ __props__.__dict__["system_data"] = None
218
+ __props__.__dict__["type"] = None
219
+ return DataCollectionRuleAssociation(resource_name, opts=opts, __props__=__props__)
220
+
221
+ @property
222
+ @pulumi.getter(name="azureApiVersion")
223
+ def azure_api_version(self) -> pulumi.Output[str]:
224
+ """
225
+ The Azure API version of the resource.
226
+ """
227
+ return pulumi.get(self, "azure_api_version")
228
+
229
+ @property
230
+ @pulumi.getter(name="dataCollectionEndpointId")
231
+ def data_collection_endpoint_id(self) -> pulumi.Output[Optional[str]]:
232
+ """
233
+ The resource ID of the data collection endpoint that is to be associated.
234
+ """
235
+ return pulumi.get(self, "data_collection_endpoint_id")
236
+
237
+ @property
238
+ @pulumi.getter(name="dataCollectionRuleId")
239
+ def data_collection_rule_id(self) -> pulumi.Output[Optional[str]]:
240
+ """
241
+ The resource ID of the data collection rule that is to be associated.
242
+ """
243
+ return pulumi.get(self, "data_collection_rule_id")
244
+
245
+ @property
246
+ @pulumi.getter
247
+ def description(self) -> pulumi.Output[Optional[str]]:
248
+ """
249
+ Description of the association.
250
+ """
251
+ return pulumi.get(self, "description")
252
+
253
+ @property
254
+ @pulumi.getter
255
+ def etag(self) -> pulumi.Output[str]:
256
+ """
257
+ Resource entity tag (ETag).
258
+ """
259
+ return pulumi.get(self, "etag")
260
+
261
+ @property
262
+ @pulumi.getter
263
+ def metadata(self) -> pulumi.Output['outputs.DataCollectionRuleAssociationResponseMetadata']:
264
+ """
265
+ Metadata about the resource
266
+ """
267
+ return pulumi.get(self, "metadata")
268
+
269
+ @property
270
+ @pulumi.getter
271
+ def name(self) -> pulumi.Output[str]:
272
+ """
273
+ The name of the resource.
274
+ """
275
+ return pulumi.get(self, "name")
276
+
277
+ @property
278
+ @pulumi.getter(name="provisioningState")
279
+ def provisioning_state(self) -> pulumi.Output[str]:
280
+ """
281
+ The resource provisioning state.
282
+ """
283
+ return pulumi.get(self, "provisioning_state")
284
+
285
+ @property
286
+ @pulumi.getter(name="systemData")
287
+ def system_data(self) -> pulumi.Output['outputs.DataCollectionRuleAssociationProxyOnlyResourceResponseSystemData']:
288
+ """
289
+ Metadata pertaining to creation and last modification of the resource.
290
+ """
291
+ return pulumi.get(self, "system_data")
292
+
293
+ @property
294
+ @pulumi.getter
295
+ def type(self) -> pulumi.Output[str]:
296
+ """
297
+ The type of the resource.
298
+ """
299
+ return pulumi.get(self, "type")
300
+