pulumi-azure-native 3.1.0a1744014979__py3-none-any.whl → 3.1.0a1744041749__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 +3 -0
- pulumi_azure_native/monitor/__init__.py +6 -0
- pulumi_azure_native/monitor/_enums.py +150 -0
- pulumi_azure_native/monitor/_inputs.py +2496 -270
- pulumi_azure_native/monitor/action_group.py +2 -2
- 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_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/outputs.py +2653 -75
- pulumi_azure_native/pulumi-plugin.json +1 -1
- {pulumi_azure_native-3.1.0a1744014979.dist-info → pulumi_azure_native-3.1.0a1744041749.dist-info}/METADATA +1 -1
- {pulumi_azure_native-3.1.0a1744014979.dist-info → pulumi_azure_native-3.1.0a1744041749.dist-info}/RECORD +18 -12
- {pulumi_azure_native-3.1.0a1744014979.dist-info → pulumi_azure_native-3.1.0a1744041749.dist-info}/WHEEL +0 -0
- {pulumi_azure_native-3.1.0a1744014979.dist-info → pulumi_azure_native-3.1.0a1744041749.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
|
+
|
|
@@ -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: 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: 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.
|
|
@@ -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')))
|