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