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.
- pulumi_azure_native/__init__.py +9 -0
- pulumi_azure_native/monitor/__init__.py +19 -0
- pulumi_azure_native/monitor/_enums.py +305 -0
- pulumi_azure_native/monitor/_inputs.py +6221 -1259
- pulumi_azure_native/monitor/action_group.py +9 -9
- pulumi_azure_native/monitor/activity_log_alert.py +388 -0
- pulumi_azure_native/monitor/autoscale_setting.py +397 -0
- 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/diagnostic_setting.py +444 -0
- pulumi_azure_native/monitor/get_action_group.py +2 -2
- pulumi_azure_native/monitor/get_activity_log_alert.py +231 -0
- pulumi_azure_native/monitor/get_autoscale_setting.py +189 -0
- 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/get_diagnostic_setting.py +273 -0
- pulumi_azure_native/monitor/get_management_group_diagnostic_setting.py +245 -0
- pulumi_azure_native/monitor/get_metric_alert.py +343 -0
- pulumi_azure_native/monitor/get_private_endpoint_connection.py +4 -0
- pulumi_azure_native/monitor/get_private_link_scope.py +4 -0
- pulumi_azure_native/monitor/get_private_link_scoped_resource.py +4 -0
- pulumi_azure_native/monitor/get_subscription_diagnostic_setting.py +239 -0
- pulumi_azure_native/monitor/list_diagnostic_settings_category.py +85 -0
- pulumi_azure_native/monitor/management_group_diagnostic_setting.py +386 -0
- pulumi_azure_native/monitor/metric_alert.py +578 -0
- pulumi_azure_native/monitor/outputs.py +5646 -716
- pulumi_azure_native/monitor/private_endpoint_connection.py +4 -0
- pulumi_azure_native/monitor/private_link_scope.py +4 -0
- pulumi_azure_native/monitor/private_link_scoped_resource.py +4 -0
- pulumi_azure_native/monitor/subscription_diagnostic_setting.py +365 -0
- pulumi_azure_native/pulumi-plugin.json +1 -1
- {pulumi_azure_native-3.0.0a1743504154.dist-info → pulumi_azure_native-3.1.0.dist-info}/METADATA +1 -1
- {pulumi_azure_native-3.0.0a1743504154.dist-info → pulumi_azure_native-3.1.0.dist-info}/RECORD +37 -18
- {pulumi_azure_native-3.0.0a1743504154.dist-info → pulumi_azure_native-3.1.0.dist-info}/WHEEL +0 -0
- {pulumi_azure_native-3.0.0a1743504154.dist-info → pulumi_azure_native-3.1.0.dist-info}/top_level.txt +0 -0
|
@@ -103,6 +103,8 @@ class PrivateEndpointConnection(pulumi.CustomResource):
|
|
|
103
103
|
|
|
104
104
|
Uses Azure REST API version 2023-06-01-preview.
|
|
105
105
|
|
|
106
|
+
Other available API versions: 2021-07-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.
|
|
107
|
+
|
|
106
108
|
:param str resource_name: The name of the resource.
|
|
107
109
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
108
110
|
:param pulumi.Input[str] private_endpoint_connection_name: The name of the private endpoint connection.
|
|
@@ -121,6 +123,8 @@ class PrivateEndpointConnection(pulumi.CustomResource):
|
|
|
121
123
|
|
|
122
124
|
Uses Azure REST API version 2023-06-01-preview.
|
|
123
125
|
|
|
126
|
+
Other available API versions: 2021-07-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.
|
|
127
|
+
|
|
124
128
|
:param str resource_name: The name of the resource.
|
|
125
129
|
:param PrivateEndpointConnectionArgs args: The arguments to use to populate this resource's properties.
|
|
126
130
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
@@ -121,6 +121,8 @@ class PrivateLinkScope(pulumi.CustomResource):
|
|
|
121
121
|
|
|
122
122
|
Uses Azure REST API version 2023-06-01-preview.
|
|
123
123
|
|
|
124
|
+
Other available API versions: 2021-07-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.
|
|
125
|
+
|
|
124
126
|
:param str resource_name: The name of the resource.
|
|
125
127
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
126
128
|
:param pulumi.Input[Union['AccessModeSettingsArgs', 'AccessModeSettingsArgsDict']] access_mode_settings: Access mode settings
|
|
@@ -140,6 +142,8 @@ class PrivateLinkScope(pulumi.CustomResource):
|
|
|
140
142
|
|
|
141
143
|
Uses Azure REST API version 2023-06-01-preview.
|
|
142
144
|
|
|
145
|
+
Other available API versions: 2021-07-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.
|
|
146
|
+
|
|
143
147
|
:param str resource_name: The name of the resource.
|
|
144
148
|
:param PrivateLinkScopeArgs args: The arguments to use to populate this resource's properties.
|
|
145
149
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
@@ -137,6 +137,8 @@ class PrivateLinkScopedResource(pulumi.CustomResource):
|
|
|
137
137
|
|
|
138
138
|
Uses Azure REST API version 2023-06-01-preview.
|
|
139
139
|
|
|
140
|
+
Other available API versions: 2021-07-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.
|
|
141
|
+
|
|
140
142
|
:param str resource_name: The name of the resource.
|
|
141
143
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
142
144
|
:param pulumi.Input[Union[str, 'ScopedResourceKind']] kind: The kind of scoped Azure monitor resource.
|
|
@@ -157,6 +159,8 @@ class PrivateLinkScopedResource(pulumi.CustomResource):
|
|
|
157
159
|
|
|
158
160
|
Uses Azure REST API version 2023-06-01-preview.
|
|
159
161
|
|
|
162
|
+
Other available API versions: 2021-07-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.
|
|
163
|
+
|
|
160
164
|
:param str resource_name: The name of the resource.
|
|
161
165
|
:param PrivateLinkScopedResourceArgs args: The arguments to use to populate this resource's properties.
|
|
162
166
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
@@ -0,0 +1,365 @@
|
|
|
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__ = ['SubscriptionDiagnosticSettingArgs', 'SubscriptionDiagnosticSetting']
|
|
20
|
+
|
|
21
|
+
@pulumi.input_type
|
|
22
|
+
class SubscriptionDiagnosticSettingArgs:
|
|
23
|
+
def __init__(__self__, *,
|
|
24
|
+
event_hub_authorization_rule_id: Optional[pulumi.Input[str]] = None,
|
|
25
|
+
event_hub_name: Optional[pulumi.Input[str]] = None,
|
|
26
|
+
logs: Optional[pulumi.Input[Sequence[pulumi.Input['SubscriptionLogSettingsArgs']]]] = None,
|
|
27
|
+
marketplace_partner_id: Optional[pulumi.Input[str]] = None,
|
|
28
|
+
name: Optional[pulumi.Input[str]] = None,
|
|
29
|
+
service_bus_rule_id: Optional[pulumi.Input[str]] = None,
|
|
30
|
+
storage_account_id: Optional[pulumi.Input[str]] = None,
|
|
31
|
+
workspace_id: Optional[pulumi.Input[str]] = None):
|
|
32
|
+
"""
|
|
33
|
+
The set of arguments for constructing a SubscriptionDiagnosticSetting resource.
|
|
34
|
+
:param pulumi.Input[str] event_hub_authorization_rule_id: The resource Id for the event hub authorization rule.
|
|
35
|
+
:param pulumi.Input[str] event_hub_name: The name of the event hub. If none is specified, the default event hub will be selected.
|
|
36
|
+
:param pulumi.Input[Sequence[pulumi.Input['SubscriptionLogSettingsArgs']]] logs: The list of logs settings.
|
|
37
|
+
: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.
|
|
38
|
+
:param pulumi.Input[str] name: The name of the diagnostic setting.
|
|
39
|
+
:param pulumi.Input[str] service_bus_rule_id: The service bus rule Id of the diagnostic setting. This is here to maintain backwards compatibility.
|
|
40
|
+
:param pulumi.Input[str] storage_account_id: The resource ID of the storage account to which you would like to send Diagnostic Logs.
|
|
41
|
+
: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
|
|
42
|
+
"""
|
|
43
|
+
if event_hub_authorization_rule_id is not None:
|
|
44
|
+
pulumi.set(__self__, "event_hub_authorization_rule_id", event_hub_authorization_rule_id)
|
|
45
|
+
if event_hub_name is not None:
|
|
46
|
+
pulumi.set(__self__, "event_hub_name", event_hub_name)
|
|
47
|
+
if logs is not None:
|
|
48
|
+
pulumi.set(__self__, "logs", logs)
|
|
49
|
+
if marketplace_partner_id is not None:
|
|
50
|
+
pulumi.set(__self__, "marketplace_partner_id", marketplace_partner_id)
|
|
51
|
+
if name is not None:
|
|
52
|
+
pulumi.set(__self__, "name", name)
|
|
53
|
+
if service_bus_rule_id is not None:
|
|
54
|
+
pulumi.set(__self__, "service_bus_rule_id", service_bus_rule_id)
|
|
55
|
+
if storage_account_id is not None:
|
|
56
|
+
pulumi.set(__self__, "storage_account_id", storage_account_id)
|
|
57
|
+
if workspace_id is not None:
|
|
58
|
+
pulumi.set(__self__, "workspace_id", workspace_id)
|
|
59
|
+
|
|
60
|
+
@property
|
|
61
|
+
@pulumi.getter(name="eventHubAuthorizationRuleId")
|
|
62
|
+
def event_hub_authorization_rule_id(self) -> Optional[pulumi.Input[str]]:
|
|
63
|
+
"""
|
|
64
|
+
The resource Id for the event hub authorization rule.
|
|
65
|
+
"""
|
|
66
|
+
return pulumi.get(self, "event_hub_authorization_rule_id")
|
|
67
|
+
|
|
68
|
+
@event_hub_authorization_rule_id.setter
|
|
69
|
+
def event_hub_authorization_rule_id(self, value: Optional[pulumi.Input[str]]):
|
|
70
|
+
pulumi.set(self, "event_hub_authorization_rule_id", value)
|
|
71
|
+
|
|
72
|
+
@property
|
|
73
|
+
@pulumi.getter(name="eventHubName")
|
|
74
|
+
def event_hub_name(self) -> Optional[pulumi.Input[str]]:
|
|
75
|
+
"""
|
|
76
|
+
The name of the event hub. If none is specified, the default event hub will be selected.
|
|
77
|
+
"""
|
|
78
|
+
return pulumi.get(self, "event_hub_name")
|
|
79
|
+
|
|
80
|
+
@event_hub_name.setter
|
|
81
|
+
def event_hub_name(self, value: Optional[pulumi.Input[str]]):
|
|
82
|
+
pulumi.set(self, "event_hub_name", value)
|
|
83
|
+
|
|
84
|
+
@property
|
|
85
|
+
@pulumi.getter
|
|
86
|
+
def logs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['SubscriptionLogSettingsArgs']]]]:
|
|
87
|
+
"""
|
|
88
|
+
The list of logs settings.
|
|
89
|
+
"""
|
|
90
|
+
return pulumi.get(self, "logs")
|
|
91
|
+
|
|
92
|
+
@logs.setter
|
|
93
|
+
def logs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['SubscriptionLogSettingsArgs']]]]):
|
|
94
|
+
pulumi.set(self, "logs", value)
|
|
95
|
+
|
|
96
|
+
@property
|
|
97
|
+
@pulumi.getter(name="marketplacePartnerId")
|
|
98
|
+
def marketplace_partner_id(self) -> Optional[pulumi.Input[str]]:
|
|
99
|
+
"""
|
|
100
|
+
The full ARM resource ID of the Marketplace resource to which you would like to send Diagnostic Logs.
|
|
101
|
+
"""
|
|
102
|
+
return pulumi.get(self, "marketplace_partner_id")
|
|
103
|
+
|
|
104
|
+
@marketplace_partner_id.setter
|
|
105
|
+
def marketplace_partner_id(self, value: Optional[pulumi.Input[str]]):
|
|
106
|
+
pulumi.set(self, "marketplace_partner_id", value)
|
|
107
|
+
|
|
108
|
+
@property
|
|
109
|
+
@pulumi.getter
|
|
110
|
+
def name(self) -> Optional[pulumi.Input[str]]:
|
|
111
|
+
"""
|
|
112
|
+
The name of the diagnostic setting.
|
|
113
|
+
"""
|
|
114
|
+
return pulumi.get(self, "name")
|
|
115
|
+
|
|
116
|
+
@name.setter
|
|
117
|
+
def name(self, value: Optional[pulumi.Input[str]]):
|
|
118
|
+
pulumi.set(self, "name", value)
|
|
119
|
+
|
|
120
|
+
@property
|
|
121
|
+
@pulumi.getter(name="serviceBusRuleId")
|
|
122
|
+
def service_bus_rule_id(self) -> Optional[pulumi.Input[str]]:
|
|
123
|
+
"""
|
|
124
|
+
The service bus rule Id of the diagnostic setting. This is here to maintain backwards compatibility.
|
|
125
|
+
"""
|
|
126
|
+
return pulumi.get(self, "service_bus_rule_id")
|
|
127
|
+
|
|
128
|
+
@service_bus_rule_id.setter
|
|
129
|
+
def service_bus_rule_id(self, value: Optional[pulumi.Input[str]]):
|
|
130
|
+
pulumi.set(self, "service_bus_rule_id", value)
|
|
131
|
+
|
|
132
|
+
@property
|
|
133
|
+
@pulumi.getter(name="storageAccountId")
|
|
134
|
+
def storage_account_id(self) -> Optional[pulumi.Input[str]]:
|
|
135
|
+
"""
|
|
136
|
+
The resource ID of the storage account to which you would like to send Diagnostic Logs.
|
|
137
|
+
"""
|
|
138
|
+
return pulumi.get(self, "storage_account_id")
|
|
139
|
+
|
|
140
|
+
@storage_account_id.setter
|
|
141
|
+
def storage_account_id(self, value: Optional[pulumi.Input[str]]):
|
|
142
|
+
pulumi.set(self, "storage_account_id", value)
|
|
143
|
+
|
|
144
|
+
@property
|
|
145
|
+
@pulumi.getter(name="workspaceId")
|
|
146
|
+
def workspace_id(self) -> Optional[pulumi.Input[str]]:
|
|
147
|
+
"""
|
|
148
|
+
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
|
|
149
|
+
"""
|
|
150
|
+
return pulumi.get(self, "workspace_id")
|
|
151
|
+
|
|
152
|
+
@workspace_id.setter
|
|
153
|
+
def workspace_id(self, value: Optional[pulumi.Input[str]]):
|
|
154
|
+
pulumi.set(self, "workspace_id", value)
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
class SubscriptionDiagnosticSetting(pulumi.CustomResource):
|
|
158
|
+
@overload
|
|
159
|
+
def __init__(__self__,
|
|
160
|
+
resource_name: str,
|
|
161
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
162
|
+
event_hub_authorization_rule_id: Optional[pulumi.Input[str]] = None,
|
|
163
|
+
event_hub_name: Optional[pulumi.Input[str]] = None,
|
|
164
|
+
logs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['SubscriptionLogSettingsArgs', 'SubscriptionLogSettingsArgsDict']]]]] = None,
|
|
165
|
+
marketplace_partner_id: Optional[pulumi.Input[str]] = None,
|
|
166
|
+
name: Optional[pulumi.Input[str]] = None,
|
|
167
|
+
service_bus_rule_id: Optional[pulumi.Input[str]] = None,
|
|
168
|
+
storage_account_id: Optional[pulumi.Input[str]] = None,
|
|
169
|
+
workspace_id: Optional[pulumi.Input[str]] = None,
|
|
170
|
+
__props__=None):
|
|
171
|
+
"""
|
|
172
|
+
The subscription diagnostic setting resource.
|
|
173
|
+
|
|
174
|
+
Uses Azure REST API version 2021-05-01-preview.
|
|
175
|
+
|
|
176
|
+
:param str resource_name: The name of the resource.
|
|
177
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
178
|
+
:param pulumi.Input[str] event_hub_authorization_rule_id: The resource Id for the event hub authorization rule.
|
|
179
|
+
:param pulumi.Input[str] event_hub_name: The name of the event hub. If none is specified, the default event hub will be selected.
|
|
180
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['SubscriptionLogSettingsArgs', 'SubscriptionLogSettingsArgsDict']]]] logs: The list of logs settings.
|
|
181
|
+
: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.
|
|
182
|
+
:param pulumi.Input[str] name: The name of the diagnostic setting.
|
|
183
|
+
:param pulumi.Input[str] service_bus_rule_id: The service bus rule Id of the diagnostic setting. This is here to maintain backwards compatibility.
|
|
184
|
+
:param pulumi.Input[str] storage_account_id: The resource ID of the storage account to which you would like to send Diagnostic Logs.
|
|
185
|
+
: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
|
|
186
|
+
"""
|
|
187
|
+
...
|
|
188
|
+
@overload
|
|
189
|
+
def __init__(__self__,
|
|
190
|
+
resource_name: str,
|
|
191
|
+
args: Optional[SubscriptionDiagnosticSettingArgs] = None,
|
|
192
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
|
193
|
+
"""
|
|
194
|
+
The subscription diagnostic setting resource.
|
|
195
|
+
|
|
196
|
+
Uses Azure REST API version 2021-05-01-preview.
|
|
197
|
+
|
|
198
|
+
:param str resource_name: The name of the resource.
|
|
199
|
+
:param SubscriptionDiagnosticSettingArgs args: The arguments to use to populate this resource's properties.
|
|
200
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
201
|
+
"""
|
|
202
|
+
...
|
|
203
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
|
204
|
+
resource_args, opts = _utilities.get_resource_args_opts(SubscriptionDiagnosticSettingArgs, pulumi.ResourceOptions, *args, **kwargs)
|
|
205
|
+
if resource_args is not None:
|
|
206
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
207
|
+
else:
|
|
208
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
|
209
|
+
|
|
210
|
+
def _internal_init(__self__,
|
|
211
|
+
resource_name: str,
|
|
212
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
213
|
+
event_hub_authorization_rule_id: Optional[pulumi.Input[str]] = None,
|
|
214
|
+
event_hub_name: Optional[pulumi.Input[str]] = None,
|
|
215
|
+
logs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['SubscriptionLogSettingsArgs', 'SubscriptionLogSettingsArgsDict']]]]] = None,
|
|
216
|
+
marketplace_partner_id: Optional[pulumi.Input[str]] = None,
|
|
217
|
+
name: Optional[pulumi.Input[str]] = None,
|
|
218
|
+
service_bus_rule_id: Optional[pulumi.Input[str]] = None,
|
|
219
|
+
storage_account_id: Optional[pulumi.Input[str]] = None,
|
|
220
|
+
workspace_id: Optional[pulumi.Input[str]] = None,
|
|
221
|
+
__props__=None):
|
|
222
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
223
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
|
224
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
|
225
|
+
if opts.id is None:
|
|
226
|
+
if __props__ is not None:
|
|
227
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
228
|
+
__props__ = SubscriptionDiagnosticSettingArgs.__new__(SubscriptionDiagnosticSettingArgs)
|
|
229
|
+
|
|
230
|
+
__props__.__dict__["event_hub_authorization_rule_id"] = event_hub_authorization_rule_id
|
|
231
|
+
__props__.__dict__["event_hub_name"] = event_hub_name
|
|
232
|
+
__props__.__dict__["logs"] = logs
|
|
233
|
+
__props__.__dict__["marketplace_partner_id"] = marketplace_partner_id
|
|
234
|
+
__props__.__dict__["name"] = name
|
|
235
|
+
__props__.__dict__["service_bus_rule_id"] = service_bus_rule_id
|
|
236
|
+
__props__.__dict__["storage_account_id"] = storage_account_id
|
|
237
|
+
__props__.__dict__["workspace_id"] = workspace_id
|
|
238
|
+
__props__.__dict__["azure_api_version"] = None
|
|
239
|
+
__props__.__dict__["system_data"] = None
|
|
240
|
+
__props__.__dict__["type"] = None
|
|
241
|
+
alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:insights/v20170501preview:SubscriptionDiagnosticSetting"), pulumi.Alias(type_="azure-native:insights/v20210501preview:SubscriptionDiagnosticSetting"), pulumi.Alias(type_="azure-native:insights:SubscriptionDiagnosticSetting"), pulumi.Alias(type_="azure-native:monitor/v20170501preview:SubscriptionDiagnosticSetting"), pulumi.Alias(type_="azure-native:monitor/v20210501preview:SubscriptionDiagnosticSetting")])
|
|
242
|
+
opts = pulumi.ResourceOptions.merge(opts, alias_opts)
|
|
243
|
+
super(SubscriptionDiagnosticSetting, __self__).__init__(
|
|
244
|
+
'azure-native:monitor:SubscriptionDiagnosticSetting',
|
|
245
|
+
resource_name,
|
|
246
|
+
__props__,
|
|
247
|
+
opts)
|
|
248
|
+
|
|
249
|
+
@staticmethod
|
|
250
|
+
def get(resource_name: str,
|
|
251
|
+
id: pulumi.Input[str],
|
|
252
|
+
opts: Optional[pulumi.ResourceOptions] = None) -> 'SubscriptionDiagnosticSetting':
|
|
253
|
+
"""
|
|
254
|
+
Get an existing SubscriptionDiagnosticSetting resource's state with the given name, id, and optional extra
|
|
255
|
+
properties used to qualify the lookup.
|
|
256
|
+
|
|
257
|
+
:param str resource_name: The unique name of the resulting resource.
|
|
258
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
259
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
260
|
+
"""
|
|
261
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
262
|
+
|
|
263
|
+
__props__ = SubscriptionDiagnosticSettingArgs.__new__(SubscriptionDiagnosticSettingArgs)
|
|
264
|
+
|
|
265
|
+
__props__.__dict__["azure_api_version"] = None
|
|
266
|
+
__props__.__dict__["event_hub_authorization_rule_id"] = None
|
|
267
|
+
__props__.__dict__["event_hub_name"] = None
|
|
268
|
+
__props__.__dict__["logs"] = None
|
|
269
|
+
__props__.__dict__["marketplace_partner_id"] = None
|
|
270
|
+
__props__.__dict__["name"] = None
|
|
271
|
+
__props__.__dict__["service_bus_rule_id"] = None
|
|
272
|
+
__props__.__dict__["storage_account_id"] = None
|
|
273
|
+
__props__.__dict__["system_data"] = None
|
|
274
|
+
__props__.__dict__["type"] = None
|
|
275
|
+
__props__.__dict__["workspace_id"] = None
|
|
276
|
+
return SubscriptionDiagnosticSetting(resource_name, opts=opts, __props__=__props__)
|
|
277
|
+
|
|
278
|
+
@property
|
|
279
|
+
@pulumi.getter(name="azureApiVersion")
|
|
280
|
+
def azure_api_version(self) -> pulumi.Output[str]:
|
|
281
|
+
"""
|
|
282
|
+
The Azure API version of the resource.
|
|
283
|
+
"""
|
|
284
|
+
return pulumi.get(self, "azure_api_version")
|
|
285
|
+
|
|
286
|
+
@property
|
|
287
|
+
@pulumi.getter(name="eventHubAuthorizationRuleId")
|
|
288
|
+
def event_hub_authorization_rule_id(self) -> pulumi.Output[Optional[str]]:
|
|
289
|
+
"""
|
|
290
|
+
The resource Id for the event hub authorization rule.
|
|
291
|
+
"""
|
|
292
|
+
return pulumi.get(self, "event_hub_authorization_rule_id")
|
|
293
|
+
|
|
294
|
+
@property
|
|
295
|
+
@pulumi.getter(name="eventHubName")
|
|
296
|
+
def event_hub_name(self) -> pulumi.Output[Optional[str]]:
|
|
297
|
+
"""
|
|
298
|
+
The name of the event hub. If none is specified, the default event hub will be selected.
|
|
299
|
+
"""
|
|
300
|
+
return pulumi.get(self, "event_hub_name")
|
|
301
|
+
|
|
302
|
+
@property
|
|
303
|
+
@pulumi.getter
|
|
304
|
+
def logs(self) -> pulumi.Output[Optional[Sequence['outputs.SubscriptionLogSettingsResponse']]]:
|
|
305
|
+
"""
|
|
306
|
+
The list of logs settings.
|
|
307
|
+
"""
|
|
308
|
+
return pulumi.get(self, "logs")
|
|
309
|
+
|
|
310
|
+
@property
|
|
311
|
+
@pulumi.getter(name="marketplacePartnerId")
|
|
312
|
+
def marketplace_partner_id(self) -> pulumi.Output[Optional[str]]:
|
|
313
|
+
"""
|
|
314
|
+
The full ARM resource ID of the Marketplace resource to which you would like to send Diagnostic Logs.
|
|
315
|
+
"""
|
|
316
|
+
return pulumi.get(self, "marketplace_partner_id")
|
|
317
|
+
|
|
318
|
+
@property
|
|
319
|
+
@pulumi.getter
|
|
320
|
+
def name(self) -> pulumi.Output[str]:
|
|
321
|
+
"""
|
|
322
|
+
The name of the resource
|
|
323
|
+
"""
|
|
324
|
+
return pulumi.get(self, "name")
|
|
325
|
+
|
|
326
|
+
@property
|
|
327
|
+
@pulumi.getter(name="serviceBusRuleId")
|
|
328
|
+
def service_bus_rule_id(self) -> pulumi.Output[Optional[str]]:
|
|
329
|
+
"""
|
|
330
|
+
The service bus rule Id of the diagnostic setting. This is here to maintain backwards compatibility.
|
|
331
|
+
"""
|
|
332
|
+
return pulumi.get(self, "service_bus_rule_id")
|
|
333
|
+
|
|
334
|
+
@property
|
|
335
|
+
@pulumi.getter(name="storageAccountId")
|
|
336
|
+
def storage_account_id(self) -> pulumi.Output[Optional[str]]:
|
|
337
|
+
"""
|
|
338
|
+
The resource ID of the storage account to which you would like to send Diagnostic Logs.
|
|
339
|
+
"""
|
|
340
|
+
return pulumi.get(self, "storage_account_id")
|
|
341
|
+
|
|
342
|
+
@property
|
|
343
|
+
@pulumi.getter(name="systemData")
|
|
344
|
+
def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']:
|
|
345
|
+
"""
|
|
346
|
+
The system metadata related to this resource.
|
|
347
|
+
"""
|
|
348
|
+
return pulumi.get(self, "system_data")
|
|
349
|
+
|
|
350
|
+
@property
|
|
351
|
+
@pulumi.getter
|
|
352
|
+
def type(self) -> pulumi.Output[str]:
|
|
353
|
+
"""
|
|
354
|
+
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
|
|
355
|
+
"""
|
|
356
|
+
return pulumi.get(self, "type")
|
|
357
|
+
|
|
358
|
+
@property
|
|
359
|
+
@pulumi.getter(name="workspaceId")
|
|
360
|
+
def workspace_id(self) -> pulumi.Output[Optional[str]]:
|
|
361
|
+
"""
|
|
362
|
+
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
|
|
363
|
+
"""
|
|
364
|
+
return pulumi.get(self, "workspace_id")
|
|
365
|
+
|
{pulumi_azure_native-3.0.0a1743504154.dist-info → pulumi_azure_native-3.1.0.dist-info}/RECORD
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
pulumi_azure_native/__init__.py,sha256=
|
|
1
|
+
pulumi_azure_native/__init__.py,sha256=XtYoBPED_D38K4mpLnDHEr1mZCzOgN6CuWhxR9fmGnI,224322
|
|
2
2
|
pulumi_azure_native/_utilities.py,sha256=66uLGQDI1oMFOI3Fe5igAphtexWhcSLDyuVW50jW3ik,10789
|
|
3
3
|
pulumi_azure_native/provider.py,sha256=ijD50GjYD0xTGWJVAR_zi8DRpow_AcfiaEDdwOwh-D8,23052
|
|
4
|
-
pulumi_azure_native/pulumi-plugin.json,sha256=
|
|
4
|
+
pulumi_azure_native/pulumi-plugin.json,sha256=7VvGWG1-bFFvbmA7ghBjDfJxaJdhlU5niFyhZOmNyp0,71
|
|
5
5
|
pulumi_azure_native/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
6
6
|
pulumi_azure_native/aad/__init__.py,sha256=uUYQ7OMTzz0aBRf7WUy4_pmDmcX8soKqpkM_c4tC7sQ,442
|
|
7
7
|
pulumi_azure_native/aad/_enums.py,sha256=nEE4b-gxeGR_DXhJA6WTIznl4AA5UmVTKpvu2PV66RE,3419
|
|
@@ -3602,25 +3602,44 @@ pulumi_azure_native/mongocluster/list_mongo_cluster_connection_strings.py,sha256
|
|
|
3602
3602
|
pulumi_azure_native/mongocluster/mongo_cluster.py,sha256=bP4MtX6DFzHSGd2zX7XBWJyLzivHfpn07V6jGJO-vQ8,12770
|
|
3603
3603
|
pulumi_azure_native/mongocluster/outputs.py,sha256=HFehRi_dmm75agHWtMv81ZYZKIH3nUw-WIrrsAM1eSk,39622
|
|
3604
3604
|
pulumi_azure_native/mongocluster/private_endpoint_connection.py,sha256=q2eXDzpCaYlRwSlpad6zd-zSilvs17Fkb-zSkd7tw2E,12202
|
|
3605
|
-
pulumi_azure_native/monitor/__init__.py,sha256=
|
|
3606
|
-
pulumi_azure_native/monitor/_enums.py,sha256=
|
|
3607
|
-
pulumi_azure_native/monitor/_inputs.py,sha256=
|
|
3608
|
-
pulumi_azure_native/monitor/action_group.py,sha256=
|
|
3605
|
+
pulumi_azure_native/monitor/__init__.py,sha256=OcYAjP_HErqp0RY6htIKOQsDHFo1z5HKgP_EQUyeZzc,1715
|
|
3606
|
+
pulumi_azure_native/monitor/_enums.py,sha256=kl-rNUJ9m8evfVgY9pFpWVbh3zsMKShO5k9WsqfmmNU,14337
|
|
3607
|
+
pulumi_azure_native/monitor/_inputs.py,sha256=D97jjnSy-bNASNQ1-cNYssxHYRGT3I680xy_Yh63Isw,390480
|
|
3608
|
+
pulumi_azure_native/monitor/action_group.py,sha256=3ejbowO2L0Mcgd4CD67NXDsGthgEJO0ARNV4DrdzgA4,38160
|
|
3609
|
+
pulumi_azure_native/monitor/activity_log_alert.py,sha256=dOTj7x8rCzE1J5Sk5v7fl8l5Uu-cBMh1OExWF39nyfM,17917
|
|
3610
|
+
pulumi_azure_native/monitor/autoscale_setting.py,sha256=mXS36zXpJtY3Ej80EbMYKdwybR1nF-cuctIWxTyMWtw,20193
|
|
3609
3611
|
pulumi_azure_native/monitor/azure_monitor_workspace.py,sha256=VWE0-pkSprBqKV6jb6FKTTs5W7GuTsGyYLTW_7T5QWc,13678
|
|
3610
|
-
pulumi_azure_native/monitor/
|
|
3612
|
+
pulumi_azure_native/monitor/data_collection_endpoint.py,sha256=omMz_1XrqK9wowlpE0PfAJ4XbZ_d4mKir3zvTLO_mQk,21001
|
|
3613
|
+
pulumi_azure_native/monitor/data_collection_rule.py,sha256=YSLYzcBIE9W4UloktL8roaa51DLpV7MgDCdvG3FGYgE,24426
|
|
3614
|
+
pulumi_azure_native/monitor/data_collection_rule_association.py,sha256=CO8N1-f2Is7HO-hTxKjUz6uSbLDXJBVpCZWCANqK-N4,13348
|
|
3615
|
+
pulumi_azure_native/monitor/diagnostic_setting.py,sha256=iBo1V1RU5qMeAMtoPbUFq8CiAI9eR4mi6zSnZb-CA7U,22442
|
|
3616
|
+
pulumi_azure_native/monitor/get_action_group.py,sha256=KTINbXL8hEt9AAOdBwHUuAG5QCh9arRwHpAurXEi_p0,17590
|
|
3617
|
+
pulumi_azure_native/monitor/get_activity_log_alert.py,sha256=uX_ouzFHBd_MtFLFYy5zLG7uPNO1IkXEPZP7FfRZoDY,9079
|
|
3618
|
+
pulumi_azure_native/monitor/get_autoscale_setting.py,sha256=3-KfbaJsu_CmEnJtvXpKgvcm4XWgPYKrY9s56ufWJbs,7408
|
|
3611
3619
|
pulumi_azure_native/monitor/get_azure_monitor_workspace.py,sha256=a56gqIujU016aRJ48upNlmps_XLOmvLS4rJS8yEBeEc,12543
|
|
3620
|
+
pulumi_azure_native/monitor/get_data_collection_endpoint.py,sha256=e49MpMitAUo_aiHFrevsSqRxnoj-cIoXMtVpHNkg3_I,15649
|
|
3621
|
+
pulumi_azure_native/monitor/get_data_collection_rule.py,sha256=XNESxdxNv6gXuigLPPCpoPWlJS_Y0WFiHYDmwBrA4Ic,14339
|
|
3622
|
+
pulumi_azure_native/monitor/get_data_collection_rule_association.py,sha256=TvuvLx05SFG4zw_wr4CiUUhNVXnPzm8-75Wol3001No,9789
|
|
3623
|
+
pulumi_azure_native/monitor/get_diagnostic_setting.py,sha256=IU0-eIfcr6b8X5sf0ENCsTEgv7NykG0lgdBvyyk6jnE,12554
|
|
3624
|
+
pulumi_azure_native/monitor/get_management_group_diagnostic_setting.py,sha256=Bi88jyf-lPsva2H18OTWcGGHfcVs57jWsOKR1TLuB-Q,11349
|
|
3625
|
+
pulumi_azure_native/monitor/get_metric_alert.py,sha256=xv0ilq2yA0qNUvdBRtI2YW7LcGAIvfxLjA8w9-Yrguc,14138
|
|
3612
3626
|
pulumi_azure_native/monitor/get_pipeline_group.py,sha256=d_NAqRMGO-0Zu91RjJOtIhaw3Ul1QmM6Umq-MncQy1U,8779
|
|
3613
|
-
pulumi_azure_native/monitor/get_private_endpoint_connection.py,sha256=
|
|
3614
|
-
pulumi_azure_native/monitor/get_private_link_scope.py,sha256=
|
|
3615
|
-
pulumi_azure_native/monitor/get_private_link_scoped_resource.py,sha256=
|
|
3627
|
+
pulumi_azure_native/monitor/get_private_endpoint_connection.py,sha256=hDN9dEV0JN18znGq4qiMaBi0m05zuRdZumZ0srbXOHk,9037
|
|
3628
|
+
pulumi_azure_native/monitor/get_private_link_scope.py,sha256=VngJiml8Vy4ak1Yf68BBWWzZVPnZoeXsm_mXzDfYVeo,9809
|
|
3629
|
+
pulumi_azure_native/monitor/get_private_link_scoped_resource.py,sha256=1XlRkdvaPaX80M9AcEp51Py59bM-3c0ckVVnIImc_Vc,9588
|
|
3616
3630
|
pulumi_azure_native/monitor/get_scheduled_query_rule.py,sha256=2C3xKKB1dOEBJRsifFnVHFRAJ9ucclsUaUpOPTYqb2w,23877
|
|
3631
|
+
pulumi_azure_native/monitor/get_subscription_diagnostic_setting.py,sha256=nWgCEZk5mLtFzQGjFP7f4Q7ktrNBLeymnvhyQS4Lnuo,10839
|
|
3617
3632
|
pulumi_azure_native/monitor/get_tenant_action_group.py,sha256=sjQxqEDbjh1BGnPBZ4cLza5_GOcAuTxNt_nvZbK-QfQ,10917
|
|
3618
|
-
pulumi_azure_native/monitor/
|
|
3633
|
+
pulumi_azure_native/monitor/list_diagnostic_settings_category.py,sha256=HtvSqvQrPACYpmFJNPmTR_9BVROpNIqwtuWrVtOt3ho,3380
|
|
3634
|
+
pulumi_azure_native/monitor/management_group_diagnostic_setting.py,sha256=anee-KFw7eGCuL5cugskJc-tcagCphHFOfdY5eUuzEo,19169
|
|
3635
|
+
pulumi_azure_native/monitor/metric_alert.py,sha256=3rKFGNix47fdrPx-O60hKHZdGV41ZpHtmos3ySaJ9UI,27800
|
|
3636
|
+
pulumi_azure_native/monitor/outputs.py,sha256=uB4cxKwH7R0woyDkW1e5fXngXmdwrggcN0s5Ca279Cw,350143
|
|
3619
3637
|
pulumi_azure_native/monitor/pipeline_group.py,sha256=pMbWY8VI0B8rLs8l1h10nsgYt_W8U-bfKnHpTsRPtHg,14056
|
|
3620
|
-
pulumi_azure_native/monitor/private_endpoint_connection.py,sha256=
|
|
3621
|
-
pulumi_azure_native/monitor/private_link_scope.py,sha256=
|
|
3622
|
-
pulumi_azure_native/monitor/private_link_scoped_resource.py,sha256=
|
|
3638
|
+
pulumi_azure_native/monitor/private_endpoint_connection.py,sha256=IepuG0DxyBMOAAYmXX8RxcW8RCQoSV_ndiskrIEvAMw,13091
|
|
3639
|
+
pulumi_azure_native/monitor/private_link_scope.py,sha256=6cK2wIz8OXK8jBlpbRGA-d_LBQlE2UR6I2LYwebr6w4,13437
|
|
3640
|
+
pulumi_azure_native/monitor/private_link_scoped_resource.py,sha256=tiseyG-vskrhvXfqT8906WT4BaQbimGL5_2nuCpLrAA,14101
|
|
3623
3641
|
pulumi_azure_native/monitor/scheduled_query_rule.py,sha256=zaH3MpGcwhodQg2R6R_xA2VL082b5dtgqlmkoHWqmvA,42960
|
|
3642
|
+
pulumi_azure_native/monitor/subscription_diagnostic_setting.py,sha256=Ow8L-Jxz0EUGhnxbIbLA17T0SLUYLbvANKsT1NUie-k,18046
|
|
3624
3643
|
pulumi_azure_native/monitor/tenant_action_group.py,sha256=2sWafwOAsn5XQNnAYVHXqDhpjEKVYtc7WXipGIEdXnY,21740
|
|
3625
3644
|
pulumi_azure_native/mysqldiscovery/__init__.py,sha256=Hba73vP0Py1z7eFXMGDyZbYodyRBiOiColDTWPBXKbo,438
|
|
3626
3645
|
pulumi_azure_native/mysqldiscovery/_enums.py,sha256=LeVuC9zQkApaOyMrDWKVUe-B11szY4xuzq0tMPerAW0,842
|
|
@@ -5633,7 +5652,7 @@ pulumi_azure_native/workloads/sap_instance.py,sha256=RFxMaLfZ2IG3lunIbMUvWC9i7gT
|
|
|
5633
5652
|
pulumi_azure_native/workloads/sap_landscape_monitor.py,sha256=kkQSrwVDVT4r857a63eDGM6x85MDAXfPMO7meGlTHMw,13005
|
|
5634
5653
|
pulumi_azure_native/workloads/sap_virtual_instance.py,sha256=XT72Z1lh49PBXfBzPlGCS5ttXTBzx-wv9Ace-ERw72I,25101
|
|
5635
5654
|
pulumi_azure_native/workloads/server_instance.py,sha256=-TkUMG1xDg2q5Gwrk_GfSCRle7USyVa4WrysAxJz67Q,14004
|
|
5636
|
-
pulumi_azure_native-3.0.
|
|
5637
|
-
pulumi_azure_native-3.0.
|
|
5638
|
-
pulumi_azure_native-3.0.
|
|
5639
|
-
pulumi_azure_native-3.0.
|
|
5655
|
+
pulumi_azure_native-3.1.0.dist-info/METADATA,sha256=NeDs--o5dgw5MKx3EesjKd-LgR1iqxIuFgDNH-Z9OyI,3623
|
|
5656
|
+
pulumi_azure_native-3.1.0.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
|
|
5657
|
+
pulumi_azure_native-3.1.0.dist-info/top_level.txt,sha256=8Vl7910-df5jOZ9lvILrFhlMOEUrsaaX2dkztIt4Pkw,20
|
|
5658
|
+
pulumi_azure_native-3.1.0.dist-info/RECORD,,
|
{pulumi_azure_native-3.0.0a1743504154.dist-info → pulumi_azure_native-3.1.0.dist-info}/WHEEL
RENAMED
|
File without changes
|
{pulumi_azure_native-3.0.0a1743504154.dist-info → pulumi_azure_native-3.1.0.dist-info}/top_level.txt
RENAMED
|
File without changes
|