pulumi-azure-native 2.19.1a1700821330__py3-none-any.whl → 2.19.1a1701217948__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 +24 -0
- pulumi_azure_native/dataprotection/__init__.py +3 -0
- pulumi_azure_native/dataprotection/backup_instance.py +3 -3
- pulumi_azure_native/dataprotection/backup_policy.py +3 -3
- pulumi_azure_native/dataprotection/backup_vault.py +3 -3
- pulumi_azure_native/dataprotection/dpp_resource_guard_proxy.py +3 -3
- pulumi_azure_native/dataprotection/get_backup_instance.py +2 -2
- pulumi_azure_native/dataprotection/get_backup_policy.py +2 -2
- pulumi_azure_native/dataprotection/get_backup_vault.py +2 -2
- pulumi_azure_native/dataprotection/get_dpp_resource_guard_proxy.py +2 -2
- pulumi_azure_native/dataprotection/get_resource_guard.py +2 -2
- pulumi_azure_native/dataprotection/resource_guard.py +3 -3
- pulumi_azure_native/dataprotection/v20221101preview/resource_guard.py +1 -1
- pulumi_azure_native/dataprotection/v20230101/backup_instance.py +1 -1
- pulumi_azure_native/dataprotection/v20230101/backup_policy.py +1 -1
- pulumi_azure_native/dataprotection/v20230101/backup_vault.py +1 -1
- pulumi_azure_native/dataprotection/v20230101/dpp_resource_guard_proxy.py +1 -1
- pulumi_azure_native/dataprotection/v20230101/resource_guard.py +1 -1
- pulumi_azure_native/dataprotection/v20230401preview/backup_instance.py +1 -1
- pulumi_azure_native/dataprotection/v20230401preview/backup_policy.py +1 -1
- pulumi_azure_native/dataprotection/v20230401preview/backup_vault.py +1 -1
- pulumi_azure_native/dataprotection/v20230401preview/dpp_resource_guard_proxy.py +1 -1
- pulumi_azure_native/dataprotection/v20230401preview/resource_guard.py +1 -1
- pulumi_azure_native/dataprotection/v20230501/backup_instance.py +1 -1
- pulumi_azure_native/dataprotection/v20230501/backup_policy.py +1 -1
- pulumi_azure_native/dataprotection/v20230501/backup_vault.py +1 -1
- pulumi_azure_native/dataprotection/v20230501/dpp_resource_guard_proxy.py +1 -1
- pulumi_azure_native/dataprotection/v20230501/resource_guard.py +1 -1
- pulumi_azure_native/dataprotection/v20230601preview/backup_instance.py +1 -1
- pulumi_azure_native/dataprotection/v20230601preview/backup_policy.py +1 -1
- pulumi_azure_native/dataprotection/v20230601preview/backup_vault.py +1 -1
- pulumi_azure_native/dataprotection/v20230601preview/dpp_resource_guard_proxy.py +1 -1
- pulumi_azure_native/dataprotection/v20230601preview/resource_guard.py +1 -1
- pulumi_azure_native/dataprotection/v20230801/backup_instance.py +1 -1
- pulumi_azure_native/dataprotection/v20230801/backup_policy.py +1 -1
- pulumi_azure_native/dataprotection/v20230801/backup_vault.py +1 -1
- pulumi_azure_native/dataprotection/v20230801/dpp_resource_guard_proxy.py +1 -1
- pulumi_azure_native/dataprotection/v20230801/resource_guard.py +1 -1
- pulumi_azure_native/dataprotection/v20230801preview/backup_instance.py +1 -1
- pulumi_azure_native/dataprotection/v20230801preview/backup_policy.py +1 -1
- pulumi_azure_native/dataprotection/v20230801preview/backup_vault.py +1 -1
- pulumi_azure_native/dataprotection/v20230801preview/dpp_resource_guard_proxy.py +1 -1
- pulumi_azure_native/dataprotection/v20230801preview/resource_guard.py +1 -1
- pulumi_azure_native/dataprotection/v20231101/__init__.py +20 -0
- pulumi_azure_native/dataprotection/v20231101/_enums.py +163 -0
- pulumi_azure_native/dataprotection/v20231101/_inputs.py +2399 -0
- pulumi_azure_native/dataprotection/v20231101/backup_instance.py +245 -0
- pulumi_azure_native/dataprotection/v20231101/backup_policy.py +216 -0
- pulumi_azure_native/dataprotection/v20231101/backup_vault.py +312 -0
- pulumi_azure_native/dataprotection/v20231101/dpp_resource_guard_proxy.py +215 -0
- pulumi_azure_native/dataprotection/v20231101/get_backup_instance.py +149 -0
- pulumi_azure_native/dataprotection/v20231101/get_backup_policy.py +134 -0
- pulumi_azure_native/dataprotection/v20231101/get_backup_vault.py +183 -0
- pulumi_azure_native/dataprotection/v20231101/get_dpp_resource_guard_proxy.py +136 -0
- pulumi_azure_native/dataprotection/v20231101/get_resource_guard.py +165 -0
- pulumi_azure_native/dataprotection/v20231101/outputs.py +3662 -0
- pulumi_azure_native/dataprotection/v20231101/resource_guard.py +279 -0
- pulumi_azure_native/hybridcontainerservice/v20231115preview/outputs.py +119 -120
- pulumi_azure_native/notificationhubs/__init__.py +3 -0
- pulumi_azure_native/notificationhubs/get_namespace.py +2 -2
- pulumi_azure_native/notificationhubs/get_namespace_authorization_rule.py +2 -2
- pulumi_azure_native/notificationhubs/get_namespace_pns_credentials.py +2 -2
- pulumi_azure_native/notificationhubs/get_notification_hub.py +2 -2
- pulumi_azure_native/notificationhubs/get_notification_hub_authorization_rule.py +2 -2
- pulumi_azure_native/notificationhubs/get_notification_hub_pns_credentials.py +2 -2
- pulumi_azure_native/notificationhubs/get_private_endpoint_connection.py +2 -2
- pulumi_azure_native/notificationhubs/list_namespace_keys.py +2 -2
- pulumi_azure_native/notificationhubs/list_notification_hub_keys.py +2 -2
- pulumi_azure_native/notificationhubs/namespace.py +3 -3
- pulumi_azure_native/notificationhubs/namespace_authorization_rule.py +3 -3
- pulumi_azure_native/notificationhubs/notification_hub.py +3 -3
- pulumi_azure_native/notificationhubs/notification_hub_authorization_rule.py +3 -3
- pulumi_azure_native/notificationhubs/private_endpoint_connection.py +3 -3
- pulumi_azure_native/notificationhubs/v20170401/namespace.py +1 -1
- pulumi_azure_native/notificationhubs/v20170401/namespace_authorization_rule.py +1 -1
- pulumi_azure_native/notificationhubs/v20170401/notification_hub.py +1 -1
- pulumi_azure_native/notificationhubs/v20170401/notification_hub_authorization_rule.py +1 -1
- pulumi_azure_native/notificationhubs/v20230101preview/namespace.py +1 -1
- pulumi_azure_native/notificationhubs/v20230101preview/namespace_authorization_rule.py +1 -1
- pulumi_azure_native/notificationhubs/v20230101preview/notification_hub.py +1 -1
- pulumi_azure_native/notificationhubs/v20230101preview/notification_hub_authorization_rule.py +1 -1
- pulumi_azure_native/notificationhubs/v20230101preview/private_endpoint_connection.py +1 -1
- pulumi_azure_native/notificationhubs/v20230901/namespace.py +1 -1
- pulumi_azure_native/notificationhubs/v20230901/namespace_authorization_rule.py +1 -1
- pulumi_azure_native/notificationhubs/v20230901/notification_hub.py +1 -1
- pulumi_azure_native/notificationhubs/v20230901/notification_hub_authorization_rule.py +1 -1
- pulumi_azure_native/notificationhubs/v20230901/private_endpoint_connection.py +1 -1
- pulumi_azure_native/notificationhubs/v20231001preview/__init__.py +24 -0
- pulumi_azure_native/notificationhubs/v20231001preview/_enums.py +121 -0
- pulumi_azure_native/notificationhubs/v20231001preview/_inputs.py +1638 -0
- pulumi_azure_native/notificationhubs/v20231001preview/get_namespace.py +170 -0
- pulumi_azure_native/notificationhubs/v20231001preview/get_namespace_authorization_rule.py +162 -0
- pulumi_azure_native/notificationhubs/v20231001preview/get_namespace_pns_credentials.py +160 -0
- pulumi_azure_native/notificationhubs/v20231001preview/get_notification_hub.py +175 -0
- pulumi_azure_native/notificationhubs/v20231001preview/get_notification_hub_authorization_rule.py +167 -0
- pulumi_azure_native/notificationhubs/v20231001preview/get_notification_hub_pns_credentials.py +165 -0
- pulumi_azure_native/notificationhubs/v20231001preview/get_private_endpoint_connection.py +136 -0
- pulumi_azure_native/notificationhubs/v20231001preview/list_namespace_keys.py +136 -0
- pulumi_azure_native/notificationhubs/v20231001preview/list_notification_hub_keys.py +141 -0
- pulumi_azure_native/notificationhubs/v20231001preview/namespace.py +283 -0
- pulumi_azure_native/notificationhubs/v20231001preview/namespace_authorization_rule.py +274 -0
- pulumi_azure_native/notificationhubs/v20231001preview/notification_hub.py +303 -0
- pulumi_azure_native/notificationhubs/v20231001preview/notification_hub_authorization_rule.py +295 -0
- pulumi_azure_native/notificationhubs/v20231001preview/outputs.py +2248 -0
- pulumi_azure_native/notificationhubs/v20231001preview/private_endpoint_connection.py +216 -0
- {pulumi_azure_native-2.19.1a1700821330.dist-info → pulumi_azure_native-2.19.1a1701217948.dist-info}/METADATA +1 -1
- {pulumi_azure_native-2.19.1a1700821330.dist-info → pulumi_azure_native-2.19.1a1701217948.dist-info}/RECORD +109 -77
- {pulumi_azure_native-2.19.1a1700821330.dist-info → pulumi_azure_native-2.19.1a1701217948.dist-info}/WHEEL +1 -1
- {pulumi_azure_native-2.19.1a1700821330.dist-info → pulumi_azure_native-2.19.1a1701217948.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,295 @@
|
|
|
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 pulumi
|
|
8
|
+
import pulumi.runtime
|
|
9
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
10
|
+
from ... import _utilities
|
|
11
|
+
from . import outputs
|
|
12
|
+
from ._enums import *
|
|
13
|
+
from ._inputs import *
|
|
14
|
+
|
|
15
|
+
__all__ = ['NotificationHubAuthorizationRuleArgs', 'NotificationHubAuthorizationRule']
|
|
16
|
+
|
|
17
|
+
@pulumi.input_type
|
|
18
|
+
class NotificationHubAuthorizationRuleArgs:
|
|
19
|
+
def __init__(__self__, *,
|
|
20
|
+
namespace_name: pulumi.Input[str],
|
|
21
|
+
notification_hub_name: pulumi.Input[str],
|
|
22
|
+
resource_group_name: pulumi.Input[str],
|
|
23
|
+
authorization_rule_name: Optional[pulumi.Input[str]] = None,
|
|
24
|
+
location: Optional[pulumi.Input[str]] = None,
|
|
25
|
+
properties: Optional[pulumi.Input['SharedAccessAuthorizationRulePropertiesArgs']] = None,
|
|
26
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None):
|
|
27
|
+
"""
|
|
28
|
+
The set of arguments for constructing a NotificationHubAuthorizationRule resource.
|
|
29
|
+
:param pulumi.Input[str] namespace_name: Namespace name
|
|
30
|
+
:param pulumi.Input[str] notification_hub_name: Notification Hub name
|
|
31
|
+
:param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive.
|
|
32
|
+
:param pulumi.Input[str] authorization_rule_name: Authorization Rule Name
|
|
33
|
+
:param pulumi.Input[str] location: Deprecated - only for compatibility.
|
|
34
|
+
:param pulumi.Input['SharedAccessAuthorizationRulePropertiesArgs'] properties: SharedAccessAuthorizationRule properties.
|
|
35
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Deprecated - only for compatibility.
|
|
36
|
+
"""
|
|
37
|
+
pulumi.set(__self__, "namespace_name", namespace_name)
|
|
38
|
+
pulumi.set(__self__, "notification_hub_name", notification_hub_name)
|
|
39
|
+
pulumi.set(__self__, "resource_group_name", resource_group_name)
|
|
40
|
+
if authorization_rule_name is not None:
|
|
41
|
+
pulumi.set(__self__, "authorization_rule_name", authorization_rule_name)
|
|
42
|
+
if location is not None:
|
|
43
|
+
pulumi.set(__self__, "location", location)
|
|
44
|
+
if properties is not None:
|
|
45
|
+
pulumi.set(__self__, "properties", properties)
|
|
46
|
+
if tags is not None:
|
|
47
|
+
pulumi.set(__self__, "tags", tags)
|
|
48
|
+
|
|
49
|
+
@property
|
|
50
|
+
@pulumi.getter(name="namespaceName")
|
|
51
|
+
def namespace_name(self) -> pulumi.Input[str]:
|
|
52
|
+
"""
|
|
53
|
+
Namespace name
|
|
54
|
+
"""
|
|
55
|
+
return pulumi.get(self, "namespace_name")
|
|
56
|
+
|
|
57
|
+
@namespace_name.setter
|
|
58
|
+
def namespace_name(self, value: pulumi.Input[str]):
|
|
59
|
+
pulumi.set(self, "namespace_name", value)
|
|
60
|
+
|
|
61
|
+
@property
|
|
62
|
+
@pulumi.getter(name="notificationHubName")
|
|
63
|
+
def notification_hub_name(self) -> pulumi.Input[str]:
|
|
64
|
+
"""
|
|
65
|
+
Notification Hub name
|
|
66
|
+
"""
|
|
67
|
+
return pulumi.get(self, "notification_hub_name")
|
|
68
|
+
|
|
69
|
+
@notification_hub_name.setter
|
|
70
|
+
def notification_hub_name(self, value: pulumi.Input[str]):
|
|
71
|
+
pulumi.set(self, "notification_hub_name", value)
|
|
72
|
+
|
|
73
|
+
@property
|
|
74
|
+
@pulumi.getter(name="resourceGroupName")
|
|
75
|
+
def resource_group_name(self) -> pulumi.Input[str]:
|
|
76
|
+
"""
|
|
77
|
+
The name of the resource group. The name is case insensitive.
|
|
78
|
+
"""
|
|
79
|
+
return pulumi.get(self, "resource_group_name")
|
|
80
|
+
|
|
81
|
+
@resource_group_name.setter
|
|
82
|
+
def resource_group_name(self, value: pulumi.Input[str]):
|
|
83
|
+
pulumi.set(self, "resource_group_name", value)
|
|
84
|
+
|
|
85
|
+
@property
|
|
86
|
+
@pulumi.getter(name="authorizationRuleName")
|
|
87
|
+
def authorization_rule_name(self) -> Optional[pulumi.Input[str]]:
|
|
88
|
+
"""
|
|
89
|
+
Authorization Rule Name
|
|
90
|
+
"""
|
|
91
|
+
return pulumi.get(self, "authorization_rule_name")
|
|
92
|
+
|
|
93
|
+
@authorization_rule_name.setter
|
|
94
|
+
def authorization_rule_name(self, value: Optional[pulumi.Input[str]]):
|
|
95
|
+
pulumi.set(self, "authorization_rule_name", value)
|
|
96
|
+
|
|
97
|
+
@property
|
|
98
|
+
@pulumi.getter
|
|
99
|
+
def location(self) -> Optional[pulumi.Input[str]]:
|
|
100
|
+
"""
|
|
101
|
+
Deprecated - only for compatibility.
|
|
102
|
+
"""
|
|
103
|
+
return pulumi.get(self, "location")
|
|
104
|
+
|
|
105
|
+
@location.setter
|
|
106
|
+
def location(self, value: Optional[pulumi.Input[str]]):
|
|
107
|
+
pulumi.set(self, "location", value)
|
|
108
|
+
|
|
109
|
+
@property
|
|
110
|
+
@pulumi.getter
|
|
111
|
+
def properties(self) -> Optional[pulumi.Input['SharedAccessAuthorizationRulePropertiesArgs']]:
|
|
112
|
+
"""
|
|
113
|
+
SharedAccessAuthorizationRule properties.
|
|
114
|
+
"""
|
|
115
|
+
return pulumi.get(self, "properties")
|
|
116
|
+
|
|
117
|
+
@properties.setter
|
|
118
|
+
def properties(self, value: Optional[pulumi.Input['SharedAccessAuthorizationRulePropertiesArgs']]):
|
|
119
|
+
pulumi.set(self, "properties", value)
|
|
120
|
+
|
|
121
|
+
@property
|
|
122
|
+
@pulumi.getter
|
|
123
|
+
def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
124
|
+
"""
|
|
125
|
+
Deprecated - only for compatibility.
|
|
126
|
+
"""
|
|
127
|
+
return pulumi.get(self, "tags")
|
|
128
|
+
|
|
129
|
+
@tags.setter
|
|
130
|
+
def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
|
131
|
+
pulumi.set(self, "tags", value)
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
class NotificationHubAuthorizationRule(pulumi.CustomResource):
|
|
135
|
+
@overload
|
|
136
|
+
def __init__(__self__,
|
|
137
|
+
resource_name: str,
|
|
138
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
139
|
+
authorization_rule_name: Optional[pulumi.Input[str]] = None,
|
|
140
|
+
location: Optional[pulumi.Input[str]] = None,
|
|
141
|
+
namespace_name: Optional[pulumi.Input[str]] = None,
|
|
142
|
+
notification_hub_name: Optional[pulumi.Input[str]] = None,
|
|
143
|
+
properties: Optional[pulumi.Input[pulumi.InputType['SharedAccessAuthorizationRulePropertiesArgs']]] = None,
|
|
144
|
+
resource_group_name: Optional[pulumi.Input[str]] = None,
|
|
145
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
146
|
+
__props__=None):
|
|
147
|
+
"""
|
|
148
|
+
Response for POST requests that return single SharedAccessAuthorizationRule.
|
|
149
|
+
|
|
150
|
+
:param str resource_name: The name of the resource.
|
|
151
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
152
|
+
:param pulumi.Input[str] authorization_rule_name: Authorization Rule Name
|
|
153
|
+
:param pulumi.Input[str] location: Deprecated - only for compatibility.
|
|
154
|
+
:param pulumi.Input[str] namespace_name: Namespace name
|
|
155
|
+
:param pulumi.Input[str] notification_hub_name: Notification Hub name
|
|
156
|
+
:param pulumi.Input[pulumi.InputType['SharedAccessAuthorizationRulePropertiesArgs']] properties: SharedAccessAuthorizationRule properties.
|
|
157
|
+
:param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive.
|
|
158
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Deprecated - only for compatibility.
|
|
159
|
+
"""
|
|
160
|
+
...
|
|
161
|
+
@overload
|
|
162
|
+
def __init__(__self__,
|
|
163
|
+
resource_name: str,
|
|
164
|
+
args: NotificationHubAuthorizationRuleArgs,
|
|
165
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
|
166
|
+
"""
|
|
167
|
+
Response for POST requests that return single SharedAccessAuthorizationRule.
|
|
168
|
+
|
|
169
|
+
:param str resource_name: The name of the resource.
|
|
170
|
+
:param NotificationHubAuthorizationRuleArgs args: The arguments to use to populate this resource's properties.
|
|
171
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
172
|
+
"""
|
|
173
|
+
...
|
|
174
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
|
175
|
+
resource_args, opts = _utilities.get_resource_args_opts(NotificationHubAuthorizationRuleArgs, pulumi.ResourceOptions, *args, **kwargs)
|
|
176
|
+
if resource_args is not None:
|
|
177
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
178
|
+
else:
|
|
179
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
|
180
|
+
|
|
181
|
+
def _internal_init(__self__,
|
|
182
|
+
resource_name: str,
|
|
183
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
184
|
+
authorization_rule_name: Optional[pulumi.Input[str]] = None,
|
|
185
|
+
location: Optional[pulumi.Input[str]] = None,
|
|
186
|
+
namespace_name: Optional[pulumi.Input[str]] = None,
|
|
187
|
+
notification_hub_name: Optional[pulumi.Input[str]] = None,
|
|
188
|
+
properties: Optional[pulumi.Input[pulumi.InputType['SharedAccessAuthorizationRulePropertiesArgs']]] = None,
|
|
189
|
+
resource_group_name: Optional[pulumi.Input[str]] = None,
|
|
190
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
191
|
+
__props__=None):
|
|
192
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
193
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
|
194
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
|
195
|
+
if opts.id is None:
|
|
196
|
+
if __props__ is not None:
|
|
197
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
198
|
+
__props__ = NotificationHubAuthorizationRuleArgs.__new__(NotificationHubAuthorizationRuleArgs)
|
|
199
|
+
|
|
200
|
+
__props__.__dict__["authorization_rule_name"] = authorization_rule_name
|
|
201
|
+
__props__.__dict__["location"] = location
|
|
202
|
+
if namespace_name is None and not opts.urn:
|
|
203
|
+
raise TypeError("Missing required property 'namespace_name'")
|
|
204
|
+
__props__.__dict__["namespace_name"] = namespace_name
|
|
205
|
+
if notification_hub_name is None and not opts.urn:
|
|
206
|
+
raise TypeError("Missing required property 'notification_hub_name'")
|
|
207
|
+
__props__.__dict__["notification_hub_name"] = notification_hub_name
|
|
208
|
+
__props__.__dict__["properties"] = properties
|
|
209
|
+
if resource_group_name is None and not opts.urn:
|
|
210
|
+
raise TypeError("Missing required property 'resource_group_name'")
|
|
211
|
+
__props__.__dict__["resource_group_name"] = resource_group_name
|
|
212
|
+
__props__.__dict__["tags"] = tags
|
|
213
|
+
__props__.__dict__["name"] = None
|
|
214
|
+
__props__.__dict__["system_data"] = None
|
|
215
|
+
__props__.__dict__["type"] = None
|
|
216
|
+
alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:notificationhubs:NotificationHubAuthorizationRule"), pulumi.Alias(type_="azure-native:notificationhubs/v20160301:NotificationHubAuthorizationRule"), pulumi.Alias(type_="azure-native:notificationhubs/v20170401:NotificationHubAuthorizationRule"), pulumi.Alias(type_="azure-native:notificationhubs/v20230101preview:NotificationHubAuthorizationRule"), pulumi.Alias(type_="azure-native:notificationhubs/v20230901:NotificationHubAuthorizationRule")])
|
|
217
|
+
opts = pulumi.ResourceOptions.merge(opts, alias_opts)
|
|
218
|
+
super(NotificationHubAuthorizationRule, __self__).__init__(
|
|
219
|
+
'azure-native:notificationhubs/v20231001preview:NotificationHubAuthorizationRule',
|
|
220
|
+
resource_name,
|
|
221
|
+
__props__,
|
|
222
|
+
opts)
|
|
223
|
+
|
|
224
|
+
@staticmethod
|
|
225
|
+
def get(resource_name: str,
|
|
226
|
+
id: pulumi.Input[str],
|
|
227
|
+
opts: Optional[pulumi.ResourceOptions] = None) -> 'NotificationHubAuthorizationRule':
|
|
228
|
+
"""
|
|
229
|
+
Get an existing NotificationHubAuthorizationRule resource's state with the given name, id, and optional extra
|
|
230
|
+
properties used to qualify the lookup.
|
|
231
|
+
|
|
232
|
+
:param str resource_name: The unique name of the resulting resource.
|
|
233
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
234
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
235
|
+
"""
|
|
236
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
237
|
+
|
|
238
|
+
__props__ = NotificationHubAuthorizationRuleArgs.__new__(NotificationHubAuthorizationRuleArgs)
|
|
239
|
+
|
|
240
|
+
__props__.__dict__["location"] = None
|
|
241
|
+
__props__.__dict__["name"] = None
|
|
242
|
+
__props__.__dict__["properties"] = None
|
|
243
|
+
__props__.__dict__["system_data"] = None
|
|
244
|
+
__props__.__dict__["tags"] = None
|
|
245
|
+
__props__.__dict__["type"] = None
|
|
246
|
+
return NotificationHubAuthorizationRule(resource_name, opts=opts, __props__=__props__)
|
|
247
|
+
|
|
248
|
+
@property
|
|
249
|
+
@pulumi.getter
|
|
250
|
+
def location(self) -> pulumi.Output[Optional[str]]:
|
|
251
|
+
"""
|
|
252
|
+
Deprecated - only for compatibility.
|
|
253
|
+
"""
|
|
254
|
+
return pulumi.get(self, "location")
|
|
255
|
+
|
|
256
|
+
@property
|
|
257
|
+
@pulumi.getter
|
|
258
|
+
def name(self) -> pulumi.Output[str]:
|
|
259
|
+
"""
|
|
260
|
+
The name of the resource
|
|
261
|
+
"""
|
|
262
|
+
return pulumi.get(self, "name")
|
|
263
|
+
|
|
264
|
+
@property
|
|
265
|
+
@pulumi.getter
|
|
266
|
+
def properties(self) -> pulumi.Output['outputs.SharedAccessAuthorizationRulePropertiesResponse']:
|
|
267
|
+
"""
|
|
268
|
+
SharedAccessAuthorizationRule properties.
|
|
269
|
+
"""
|
|
270
|
+
return pulumi.get(self, "properties")
|
|
271
|
+
|
|
272
|
+
@property
|
|
273
|
+
@pulumi.getter(name="systemData")
|
|
274
|
+
def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']:
|
|
275
|
+
"""
|
|
276
|
+
Azure Resource Manager metadata containing createdBy and modifiedBy information.
|
|
277
|
+
"""
|
|
278
|
+
return pulumi.get(self, "system_data")
|
|
279
|
+
|
|
280
|
+
@property
|
|
281
|
+
@pulumi.getter
|
|
282
|
+
def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
|
283
|
+
"""
|
|
284
|
+
Deprecated - only for compatibility.
|
|
285
|
+
"""
|
|
286
|
+
return pulumi.get(self, "tags")
|
|
287
|
+
|
|
288
|
+
@property
|
|
289
|
+
@pulumi.getter
|
|
290
|
+
def type(self) -> pulumi.Output[str]:
|
|
291
|
+
"""
|
|
292
|
+
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
|
|
293
|
+
"""
|
|
294
|
+
return pulumi.get(self, "type")
|
|
295
|
+
|