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.

Files changed (109) hide show
  1. pulumi_azure_native/__init__.py +24 -0
  2. pulumi_azure_native/dataprotection/__init__.py +3 -0
  3. pulumi_azure_native/dataprotection/backup_instance.py +3 -3
  4. pulumi_azure_native/dataprotection/backup_policy.py +3 -3
  5. pulumi_azure_native/dataprotection/backup_vault.py +3 -3
  6. pulumi_azure_native/dataprotection/dpp_resource_guard_proxy.py +3 -3
  7. pulumi_azure_native/dataprotection/get_backup_instance.py +2 -2
  8. pulumi_azure_native/dataprotection/get_backup_policy.py +2 -2
  9. pulumi_azure_native/dataprotection/get_backup_vault.py +2 -2
  10. pulumi_azure_native/dataprotection/get_dpp_resource_guard_proxy.py +2 -2
  11. pulumi_azure_native/dataprotection/get_resource_guard.py +2 -2
  12. pulumi_azure_native/dataprotection/resource_guard.py +3 -3
  13. pulumi_azure_native/dataprotection/v20221101preview/resource_guard.py +1 -1
  14. pulumi_azure_native/dataprotection/v20230101/backup_instance.py +1 -1
  15. pulumi_azure_native/dataprotection/v20230101/backup_policy.py +1 -1
  16. pulumi_azure_native/dataprotection/v20230101/backup_vault.py +1 -1
  17. pulumi_azure_native/dataprotection/v20230101/dpp_resource_guard_proxy.py +1 -1
  18. pulumi_azure_native/dataprotection/v20230101/resource_guard.py +1 -1
  19. pulumi_azure_native/dataprotection/v20230401preview/backup_instance.py +1 -1
  20. pulumi_azure_native/dataprotection/v20230401preview/backup_policy.py +1 -1
  21. pulumi_azure_native/dataprotection/v20230401preview/backup_vault.py +1 -1
  22. pulumi_azure_native/dataprotection/v20230401preview/dpp_resource_guard_proxy.py +1 -1
  23. pulumi_azure_native/dataprotection/v20230401preview/resource_guard.py +1 -1
  24. pulumi_azure_native/dataprotection/v20230501/backup_instance.py +1 -1
  25. pulumi_azure_native/dataprotection/v20230501/backup_policy.py +1 -1
  26. pulumi_azure_native/dataprotection/v20230501/backup_vault.py +1 -1
  27. pulumi_azure_native/dataprotection/v20230501/dpp_resource_guard_proxy.py +1 -1
  28. pulumi_azure_native/dataprotection/v20230501/resource_guard.py +1 -1
  29. pulumi_azure_native/dataprotection/v20230601preview/backup_instance.py +1 -1
  30. pulumi_azure_native/dataprotection/v20230601preview/backup_policy.py +1 -1
  31. pulumi_azure_native/dataprotection/v20230601preview/backup_vault.py +1 -1
  32. pulumi_azure_native/dataprotection/v20230601preview/dpp_resource_guard_proxy.py +1 -1
  33. pulumi_azure_native/dataprotection/v20230601preview/resource_guard.py +1 -1
  34. pulumi_azure_native/dataprotection/v20230801/backup_instance.py +1 -1
  35. pulumi_azure_native/dataprotection/v20230801/backup_policy.py +1 -1
  36. pulumi_azure_native/dataprotection/v20230801/backup_vault.py +1 -1
  37. pulumi_azure_native/dataprotection/v20230801/dpp_resource_guard_proxy.py +1 -1
  38. pulumi_azure_native/dataprotection/v20230801/resource_guard.py +1 -1
  39. pulumi_azure_native/dataprotection/v20230801preview/backup_instance.py +1 -1
  40. pulumi_azure_native/dataprotection/v20230801preview/backup_policy.py +1 -1
  41. pulumi_azure_native/dataprotection/v20230801preview/backup_vault.py +1 -1
  42. pulumi_azure_native/dataprotection/v20230801preview/dpp_resource_guard_proxy.py +1 -1
  43. pulumi_azure_native/dataprotection/v20230801preview/resource_guard.py +1 -1
  44. pulumi_azure_native/dataprotection/v20231101/__init__.py +20 -0
  45. pulumi_azure_native/dataprotection/v20231101/_enums.py +163 -0
  46. pulumi_azure_native/dataprotection/v20231101/_inputs.py +2399 -0
  47. pulumi_azure_native/dataprotection/v20231101/backup_instance.py +245 -0
  48. pulumi_azure_native/dataprotection/v20231101/backup_policy.py +216 -0
  49. pulumi_azure_native/dataprotection/v20231101/backup_vault.py +312 -0
  50. pulumi_azure_native/dataprotection/v20231101/dpp_resource_guard_proxy.py +215 -0
  51. pulumi_azure_native/dataprotection/v20231101/get_backup_instance.py +149 -0
  52. pulumi_azure_native/dataprotection/v20231101/get_backup_policy.py +134 -0
  53. pulumi_azure_native/dataprotection/v20231101/get_backup_vault.py +183 -0
  54. pulumi_azure_native/dataprotection/v20231101/get_dpp_resource_guard_proxy.py +136 -0
  55. pulumi_azure_native/dataprotection/v20231101/get_resource_guard.py +165 -0
  56. pulumi_azure_native/dataprotection/v20231101/outputs.py +3662 -0
  57. pulumi_azure_native/dataprotection/v20231101/resource_guard.py +279 -0
  58. pulumi_azure_native/hybridcontainerservice/v20231115preview/outputs.py +119 -120
  59. pulumi_azure_native/notificationhubs/__init__.py +3 -0
  60. pulumi_azure_native/notificationhubs/get_namespace.py +2 -2
  61. pulumi_azure_native/notificationhubs/get_namespace_authorization_rule.py +2 -2
  62. pulumi_azure_native/notificationhubs/get_namespace_pns_credentials.py +2 -2
  63. pulumi_azure_native/notificationhubs/get_notification_hub.py +2 -2
  64. pulumi_azure_native/notificationhubs/get_notification_hub_authorization_rule.py +2 -2
  65. pulumi_azure_native/notificationhubs/get_notification_hub_pns_credentials.py +2 -2
  66. pulumi_azure_native/notificationhubs/get_private_endpoint_connection.py +2 -2
  67. pulumi_azure_native/notificationhubs/list_namespace_keys.py +2 -2
  68. pulumi_azure_native/notificationhubs/list_notification_hub_keys.py +2 -2
  69. pulumi_azure_native/notificationhubs/namespace.py +3 -3
  70. pulumi_azure_native/notificationhubs/namespace_authorization_rule.py +3 -3
  71. pulumi_azure_native/notificationhubs/notification_hub.py +3 -3
  72. pulumi_azure_native/notificationhubs/notification_hub_authorization_rule.py +3 -3
  73. pulumi_azure_native/notificationhubs/private_endpoint_connection.py +3 -3
  74. pulumi_azure_native/notificationhubs/v20170401/namespace.py +1 -1
  75. pulumi_azure_native/notificationhubs/v20170401/namespace_authorization_rule.py +1 -1
  76. pulumi_azure_native/notificationhubs/v20170401/notification_hub.py +1 -1
  77. pulumi_azure_native/notificationhubs/v20170401/notification_hub_authorization_rule.py +1 -1
  78. pulumi_azure_native/notificationhubs/v20230101preview/namespace.py +1 -1
  79. pulumi_azure_native/notificationhubs/v20230101preview/namespace_authorization_rule.py +1 -1
  80. pulumi_azure_native/notificationhubs/v20230101preview/notification_hub.py +1 -1
  81. pulumi_azure_native/notificationhubs/v20230101preview/notification_hub_authorization_rule.py +1 -1
  82. pulumi_azure_native/notificationhubs/v20230101preview/private_endpoint_connection.py +1 -1
  83. pulumi_azure_native/notificationhubs/v20230901/namespace.py +1 -1
  84. pulumi_azure_native/notificationhubs/v20230901/namespace_authorization_rule.py +1 -1
  85. pulumi_azure_native/notificationhubs/v20230901/notification_hub.py +1 -1
  86. pulumi_azure_native/notificationhubs/v20230901/notification_hub_authorization_rule.py +1 -1
  87. pulumi_azure_native/notificationhubs/v20230901/private_endpoint_connection.py +1 -1
  88. pulumi_azure_native/notificationhubs/v20231001preview/__init__.py +24 -0
  89. pulumi_azure_native/notificationhubs/v20231001preview/_enums.py +121 -0
  90. pulumi_azure_native/notificationhubs/v20231001preview/_inputs.py +1638 -0
  91. pulumi_azure_native/notificationhubs/v20231001preview/get_namespace.py +170 -0
  92. pulumi_azure_native/notificationhubs/v20231001preview/get_namespace_authorization_rule.py +162 -0
  93. pulumi_azure_native/notificationhubs/v20231001preview/get_namespace_pns_credentials.py +160 -0
  94. pulumi_azure_native/notificationhubs/v20231001preview/get_notification_hub.py +175 -0
  95. pulumi_azure_native/notificationhubs/v20231001preview/get_notification_hub_authorization_rule.py +167 -0
  96. pulumi_azure_native/notificationhubs/v20231001preview/get_notification_hub_pns_credentials.py +165 -0
  97. pulumi_azure_native/notificationhubs/v20231001preview/get_private_endpoint_connection.py +136 -0
  98. pulumi_azure_native/notificationhubs/v20231001preview/list_namespace_keys.py +136 -0
  99. pulumi_azure_native/notificationhubs/v20231001preview/list_notification_hub_keys.py +141 -0
  100. pulumi_azure_native/notificationhubs/v20231001preview/namespace.py +283 -0
  101. pulumi_azure_native/notificationhubs/v20231001preview/namespace_authorization_rule.py +274 -0
  102. pulumi_azure_native/notificationhubs/v20231001preview/notification_hub.py +303 -0
  103. pulumi_azure_native/notificationhubs/v20231001preview/notification_hub_authorization_rule.py +295 -0
  104. pulumi_azure_native/notificationhubs/v20231001preview/outputs.py +2248 -0
  105. pulumi_azure_native/notificationhubs/v20231001preview/private_endpoint_connection.py +216 -0
  106. {pulumi_azure_native-2.19.1a1701158701.dist-info → pulumi_azure_native-2.19.1a1701217948.dist-info}/METADATA +1 -1
  107. {pulumi_azure_native-2.19.1a1701158701.dist-info → pulumi_azure_native-2.19.1a1701217948.dist-info}/RECORD +109 -77
  108. {pulumi_azure_native-2.19.1a1701158701.dist-info → pulumi_azure_native-2.19.1a1701217948.dist-info}/WHEEL +0 -0
  109. {pulumi_azure_native-2.19.1a1701158701.dist-info → pulumi_azure_native-2.19.1a1701217948.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,141 @@
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
+
12
+ __all__ = [
13
+ 'ListNotificationHubKeysResult',
14
+ 'AwaitableListNotificationHubKeysResult',
15
+ 'list_notification_hub_keys',
16
+ 'list_notification_hub_keys_output',
17
+ ]
18
+
19
+ @pulumi.output_type
20
+ class ListNotificationHubKeysResult:
21
+ """
22
+ Response for the POST request that returns Namespace or NotificationHub access keys (connection strings).
23
+ """
24
+ def __init__(__self__, key_name=None, primary_connection_string=None, primary_key=None, secondary_connection_string=None, secondary_key=None):
25
+ if key_name and not isinstance(key_name, str):
26
+ raise TypeError("Expected argument 'key_name' to be a str")
27
+ pulumi.set(__self__, "key_name", key_name)
28
+ if primary_connection_string and not isinstance(primary_connection_string, str):
29
+ raise TypeError("Expected argument 'primary_connection_string' to be a str")
30
+ pulumi.set(__self__, "primary_connection_string", primary_connection_string)
31
+ if primary_key and not isinstance(primary_key, str):
32
+ raise TypeError("Expected argument 'primary_key' to be a str")
33
+ pulumi.set(__self__, "primary_key", primary_key)
34
+ if secondary_connection_string and not isinstance(secondary_connection_string, str):
35
+ raise TypeError("Expected argument 'secondary_connection_string' to be a str")
36
+ pulumi.set(__self__, "secondary_connection_string", secondary_connection_string)
37
+ if secondary_key and not isinstance(secondary_key, str):
38
+ raise TypeError("Expected argument 'secondary_key' to be a str")
39
+ pulumi.set(__self__, "secondary_key", secondary_key)
40
+
41
+ @property
42
+ @pulumi.getter(name="keyName")
43
+ def key_name(self) -> str:
44
+ """
45
+ Gets or sets keyName of the created AuthorizationRule
46
+ """
47
+ return pulumi.get(self, "key_name")
48
+
49
+ @property
50
+ @pulumi.getter(name="primaryConnectionString")
51
+ def primary_connection_string(self) -> str:
52
+ """
53
+ Gets or sets primaryConnectionString of the AuthorizationRule.
54
+ """
55
+ return pulumi.get(self, "primary_connection_string")
56
+
57
+ @property
58
+ @pulumi.getter(name="primaryKey")
59
+ def primary_key(self) -> str:
60
+ """
61
+ Gets or sets primaryKey of the created AuthorizationRule.
62
+ """
63
+ return pulumi.get(self, "primary_key")
64
+
65
+ @property
66
+ @pulumi.getter(name="secondaryConnectionString")
67
+ def secondary_connection_string(self) -> str:
68
+ """
69
+ Gets or sets secondaryConnectionString of the created
70
+ AuthorizationRule
71
+ """
72
+ return pulumi.get(self, "secondary_connection_string")
73
+
74
+ @property
75
+ @pulumi.getter(name="secondaryKey")
76
+ def secondary_key(self) -> str:
77
+ """
78
+ Gets or sets secondaryKey of the created AuthorizationRule
79
+ """
80
+ return pulumi.get(self, "secondary_key")
81
+
82
+
83
+ class AwaitableListNotificationHubKeysResult(ListNotificationHubKeysResult):
84
+ # pylint: disable=using-constant-test
85
+ def __await__(self):
86
+ if False:
87
+ yield self
88
+ return ListNotificationHubKeysResult(
89
+ key_name=self.key_name,
90
+ primary_connection_string=self.primary_connection_string,
91
+ primary_key=self.primary_key,
92
+ secondary_connection_string=self.secondary_connection_string,
93
+ secondary_key=self.secondary_key)
94
+
95
+
96
+ def list_notification_hub_keys(authorization_rule_name: Optional[str] = None,
97
+ namespace_name: Optional[str] = None,
98
+ notification_hub_name: Optional[str] = None,
99
+ resource_group_name: Optional[str] = None,
100
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableListNotificationHubKeysResult:
101
+ """
102
+ Response for the POST request that returns Namespace or NotificationHub access keys (connection strings).
103
+
104
+
105
+ :param str authorization_rule_name: Authorization Rule Name
106
+ :param str namespace_name: Namespace name
107
+ :param str notification_hub_name: Notification Hub name
108
+ :param str resource_group_name: The name of the resource group. The name is case insensitive.
109
+ """
110
+ __args__ = dict()
111
+ __args__['authorizationRuleName'] = authorization_rule_name
112
+ __args__['namespaceName'] = namespace_name
113
+ __args__['notificationHubName'] = notification_hub_name
114
+ __args__['resourceGroupName'] = resource_group_name
115
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
116
+ __ret__ = pulumi.runtime.invoke('azure-native:notificationhubs/v20231001preview:listNotificationHubKeys', __args__, opts=opts, typ=ListNotificationHubKeysResult).value
117
+
118
+ return AwaitableListNotificationHubKeysResult(
119
+ key_name=pulumi.get(__ret__, 'key_name'),
120
+ primary_connection_string=pulumi.get(__ret__, 'primary_connection_string'),
121
+ primary_key=pulumi.get(__ret__, 'primary_key'),
122
+ secondary_connection_string=pulumi.get(__ret__, 'secondary_connection_string'),
123
+ secondary_key=pulumi.get(__ret__, 'secondary_key'))
124
+
125
+
126
+ @_utilities.lift_output_func(list_notification_hub_keys)
127
+ def list_notification_hub_keys_output(authorization_rule_name: Optional[pulumi.Input[str]] = None,
128
+ namespace_name: Optional[pulumi.Input[str]] = None,
129
+ notification_hub_name: Optional[pulumi.Input[str]] = None,
130
+ resource_group_name: Optional[pulumi.Input[str]] = None,
131
+ opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[ListNotificationHubKeysResult]:
132
+ """
133
+ Response for the POST request that returns Namespace or NotificationHub access keys (connection strings).
134
+
135
+
136
+ :param str authorization_rule_name: Authorization Rule Name
137
+ :param str namespace_name: Namespace name
138
+ :param str notification_hub_name: Notification Hub name
139
+ :param str resource_group_name: The name of the resource group. The name is case insensitive.
140
+ """
141
+ ...
@@ -0,0 +1,283 @@
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__ = ['NamespaceArgs', 'Namespace']
16
+
17
+ @pulumi.input_type
18
+ class NamespaceArgs:
19
+ def __init__(__self__, *,
20
+ resource_group_name: pulumi.Input[str],
21
+ sku: pulumi.Input['SkuArgs'],
22
+ location: Optional[pulumi.Input[str]] = None,
23
+ namespace_name: Optional[pulumi.Input[str]] = None,
24
+ properties: Optional[pulumi.Input['NamespacePropertiesArgs']] = None,
25
+ tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None):
26
+ """
27
+ The set of arguments for constructing a Namespace resource.
28
+ :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive.
29
+ :param pulumi.Input['SkuArgs'] sku: The Sku description for a namespace
30
+ :param pulumi.Input[str] location: The geo-location where the resource lives
31
+ :param pulumi.Input[str] namespace_name: Namespace name
32
+ :param pulumi.Input['NamespacePropertiesArgs'] properties: Represents namespace properties.
33
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags.
34
+ """
35
+ pulumi.set(__self__, "resource_group_name", resource_group_name)
36
+ pulumi.set(__self__, "sku", sku)
37
+ if location is not None:
38
+ pulumi.set(__self__, "location", location)
39
+ if namespace_name is not None:
40
+ pulumi.set(__self__, "namespace_name", namespace_name)
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="resourceGroupName")
48
+ def resource_group_name(self) -> pulumi.Input[str]:
49
+ """
50
+ The name of the resource group. The name is case insensitive.
51
+ """
52
+ return pulumi.get(self, "resource_group_name")
53
+
54
+ @resource_group_name.setter
55
+ def resource_group_name(self, value: pulumi.Input[str]):
56
+ pulumi.set(self, "resource_group_name", value)
57
+
58
+ @property
59
+ @pulumi.getter
60
+ def sku(self) -> pulumi.Input['SkuArgs']:
61
+ """
62
+ The Sku description for a namespace
63
+ """
64
+ return pulumi.get(self, "sku")
65
+
66
+ @sku.setter
67
+ def sku(self, value: pulumi.Input['SkuArgs']):
68
+ pulumi.set(self, "sku", value)
69
+
70
+ @property
71
+ @pulumi.getter
72
+ def location(self) -> Optional[pulumi.Input[str]]:
73
+ """
74
+ The geo-location where the resource lives
75
+ """
76
+ return pulumi.get(self, "location")
77
+
78
+ @location.setter
79
+ def location(self, value: Optional[pulumi.Input[str]]):
80
+ pulumi.set(self, "location", value)
81
+
82
+ @property
83
+ @pulumi.getter(name="namespaceName")
84
+ def namespace_name(self) -> Optional[pulumi.Input[str]]:
85
+ """
86
+ Namespace name
87
+ """
88
+ return pulumi.get(self, "namespace_name")
89
+
90
+ @namespace_name.setter
91
+ def namespace_name(self, value: Optional[pulumi.Input[str]]):
92
+ pulumi.set(self, "namespace_name", value)
93
+
94
+ @property
95
+ @pulumi.getter
96
+ def properties(self) -> Optional[pulumi.Input['NamespacePropertiesArgs']]:
97
+ """
98
+ Represents namespace properties.
99
+ """
100
+ return pulumi.get(self, "properties")
101
+
102
+ @properties.setter
103
+ def properties(self, value: Optional[pulumi.Input['NamespacePropertiesArgs']]):
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
+ Resource tags.
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 Namespace(pulumi.CustomResource):
120
+ @overload
121
+ def __init__(__self__,
122
+ resource_name: str,
123
+ opts: Optional[pulumi.ResourceOptions] = None,
124
+ location: Optional[pulumi.Input[str]] = None,
125
+ namespace_name: Optional[pulumi.Input[str]] = None,
126
+ properties: Optional[pulumi.Input[pulumi.InputType['NamespacePropertiesArgs']]] = None,
127
+ resource_group_name: Optional[pulumi.Input[str]] = None,
128
+ sku: Optional[pulumi.Input[pulumi.InputType['SkuArgs']]] = None,
129
+ tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
130
+ __props__=None):
131
+ """
132
+ Notification Hubs Namespace Resource.
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] location: The geo-location where the resource lives
137
+ :param pulumi.Input[str] namespace_name: Namespace name
138
+ :param pulumi.Input[pulumi.InputType['NamespacePropertiesArgs']] properties: Represents namespace properties.
139
+ :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive.
140
+ :param pulumi.Input[pulumi.InputType['SkuArgs']] sku: The Sku description for a namespace
141
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags.
142
+ """
143
+ ...
144
+ @overload
145
+ def __init__(__self__,
146
+ resource_name: str,
147
+ args: NamespaceArgs,
148
+ opts: Optional[pulumi.ResourceOptions] = None):
149
+ """
150
+ Notification Hubs Namespace Resource.
151
+
152
+ :param str resource_name: The name of the resource.
153
+ :param NamespaceArgs 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(NamespaceArgs, 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
+ location: Optional[pulumi.Input[str]] = None,
168
+ namespace_name: Optional[pulumi.Input[str]] = None,
169
+ properties: Optional[pulumi.Input[pulumi.InputType['NamespacePropertiesArgs']]] = None,
170
+ resource_group_name: Optional[pulumi.Input[str]] = None,
171
+ sku: Optional[pulumi.Input[pulumi.InputType['SkuArgs']]] = 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__ = NamespaceArgs.__new__(NamespaceArgs)
181
+
182
+ __props__.__dict__["location"] = location
183
+ __props__.__dict__["namespace_name"] = namespace_name
184
+ __props__.__dict__["properties"] = properties
185
+ if resource_group_name is None and not opts.urn:
186
+ raise TypeError("Missing required property 'resource_group_name'")
187
+ __props__.__dict__["resource_group_name"] = resource_group_name
188
+ if sku is None and not opts.urn:
189
+ raise TypeError("Missing required property 'sku'")
190
+ __props__.__dict__["sku"] = sku
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:Namespace"), pulumi.Alias(type_="azure-native:notificationhubs/v20140901:Namespace"), pulumi.Alias(type_="azure-native:notificationhubs/v20160301:Namespace"), pulumi.Alias(type_="azure-native:notificationhubs/v20170401:Namespace"), pulumi.Alias(type_="azure-native:notificationhubs/v20230101preview:Namespace"), pulumi.Alias(type_="azure-native:notificationhubs/v20230901:Namespace")])
196
+ opts = pulumi.ResourceOptions.merge(opts, alias_opts)
197
+ super(Namespace, __self__).__init__(
198
+ 'azure-native:notificationhubs/v20231001preview:Namespace',
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) -> 'Namespace':
207
+ """
208
+ Get an existing Namespace 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__ = NamespaceArgs.__new__(NamespaceArgs)
218
+
219
+ __props__.__dict__["location"] = None
220
+ __props__.__dict__["name"] = None
221
+ __props__.__dict__["properties"] = None
222
+ __props__.__dict__["sku"] = None
223
+ __props__.__dict__["system_data"] = None
224
+ __props__.__dict__["tags"] = None
225
+ __props__.__dict__["type"] = None
226
+ return Namespace(resource_name, opts=opts, __props__=__props__)
227
+
228
+ @property
229
+ @pulumi.getter
230
+ def location(self) -> pulumi.Output[str]:
231
+ """
232
+ The geo-location where the resource lives
233
+ """
234
+ return pulumi.get(self, "location")
235
+
236
+ @property
237
+ @pulumi.getter
238
+ def name(self) -> pulumi.Output[str]:
239
+ """
240
+ The name of the resource
241
+ """
242
+ return pulumi.get(self, "name")
243
+
244
+ @property
245
+ @pulumi.getter
246
+ def properties(self) -> pulumi.Output['outputs.NamespacePropertiesResponse']:
247
+ """
248
+ Represents namespace properties.
249
+ """
250
+ return pulumi.get(self, "properties")
251
+
252
+ @property
253
+ @pulumi.getter
254
+ def sku(self) -> pulumi.Output['outputs.SkuResponse']:
255
+ """
256
+ The Sku description for a namespace
257
+ """
258
+ return pulumi.get(self, "sku")
259
+
260
+ @property
261
+ @pulumi.getter(name="systemData")
262
+ def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']:
263
+ """
264
+ Azure Resource Manager metadata containing createdBy and modifiedBy information.
265
+ """
266
+ return pulumi.get(self, "system_data")
267
+
268
+ @property
269
+ @pulumi.getter
270
+ def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
271
+ """
272
+ Resource tags.
273
+ """
274
+ return pulumi.get(self, "tags")
275
+
276
+ @property
277
+ @pulumi.getter
278
+ def type(self) -> pulumi.Output[str]:
279
+ """
280
+ The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
281
+ """
282
+ return pulumi.get(self, "type")
283
+