pulumi-azure-native 2.17.1a1700150019__py3-none-any.whl → 2.18.1a1700572187__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 (156) hide show
  1. pulumi_azure_native/__init__.py +54 -0
  2. pulumi_azure_native/config/__init__.pyi +83 -0
  3. pulumi_azure_native/eventhub/__init__.py +3 -0
  4. pulumi_azure_native/eventhub/application_group.py +3 -3
  5. pulumi_azure_native/eventhub/cluster.py +3 -3
  6. pulumi_azure_native/eventhub/consumer_group.py +3 -3
  7. pulumi_azure_native/eventhub/disaster_recovery_config.py +3 -3
  8. pulumi_azure_native/eventhub/event_hub.py +3 -3
  9. pulumi_azure_native/eventhub/event_hub_authorization_rule.py +3 -3
  10. pulumi_azure_native/eventhub/get_application_group.py +2 -2
  11. pulumi_azure_native/eventhub/get_cluster.py +2 -2
  12. pulumi_azure_native/eventhub/get_consumer_group.py +2 -2
  13. pulumi_azure_native/eventhub/get_disaster_recovery_config.py +2 -2
  14. pulumi_azure_native/eventhub/get_event_hub.py +2 -2
  15. pulumi_azure_native/eventhub/get_event_hub_authorization_rule.py +2 -2
  16. pulumi_azure_native/eventhub/get_namespace.py +2 -2
  17. pulumi_azure_native/eventhub/get_namespace_authorization_rule.py +2 -2
  18. pulumi_azure_native/eventhub/get_namespace_network_rule_set.py +2 -2
  19. pulumi_azure_native/eventhub/get_private_endpoint_connection.py +2 -2
  20. pulumi_azure_native/eventhub/get_schema_registry.py +2 -2
  21. pulumi_azure_native/eventhub/list_disaster_recovery_config_keys.py +2 -2
  22. pulumi_azure_native/eventhub/list_event_hub_keys.py +2 -2
  23. pulumi_azure_native/eventhub/list_namespace_keys.py +2 -2
  24. pulumi_azure_native/eventhub/namespace.py +3 -3
  25. pulumi_azure_native/eventhub/namespace_authorization_rule.py +3 -3
  26. pulumi_azure_native/eventhub/namespace_network_rule_set.py +3 -3
  27. pulumi_azure_native/eventhub/private_endpoint_connection.py +3 -3
  28. pulumi_azure_native/eventhub/schema_registry.py +3 -3
  29. pulumi_azure_native/eventhub/v20221001preview/application_group.py +1 -1
  30. pulumi_azure_native/eventhub/v20221001preview/cluster.py +1 -1
  31. pulumi_azure_native/eventhub/v20221001preview/consumer_group.py +1 -1
  32. pulumi_azure_native/eventhub/v20221001preview/disaster_recovery_config.py +1 -1
  33. pulumi_azure_native/eventhub/v20221001preview/event_hub.py +1 -1
  34. pulumi_azure_native/eventhub/v20221001preview/event_hub_authorization_rule.py +1 -1
  35. pulumi_azure_native/eventhub/v20221001preview/namespace.py +1 -1
  36. pulumi_azure_native/eventhub/v20221001preview/namespace_authorization_rule.py +1 -1
  37. pulumi_azure_native/eventhub/v20221001preview/namespace_network_rule_set.py +1 -1
  38. pulumi_azure_native/eventhub/v20221001preview/private_endpoint_connection.py +1 -1
  39. pulumi_azure_native/eventhub/v20221001preview/schema_registry.py +1 -1
  40. pulumi_azure_native/eventhub/v20230101preview/application_group.py +1 -1
  41. pulumi_azure_native/eventhub/v20230101preview/cluster.py +1 -1
  42. pulumi_azure_native/eventhub/v20230101preview/consumer_group.py +1 -1
  43. pulumi_azure_native/eventhub/v20230101preview/disaster_recovery_config.py +1 -1
  44. pulumi_azure_native/eventhub/v20230101preview/event_hub.py +1 -1
  45. pulumi_azure_native/eventhub/v20230101preview/event_hub_authorization_rule.py +1 -1
  46. pulumi_azure_native/eventhub/v20230101preview/namespace.py +1 -1
  47. pulumi_azure_native/eventhub/v20230101preview/namespace_authorization_rule.py +1 -1
  48. pulumi_azure_native/eventhub/v20230101preview/namespace_network_rule_set.py +1 -1
  49. pulumi_azure_native/eventhub/v20230101preview/private_endpoint_connection.py +1 -1
  50. pulumi_azure_native/eventhub/v20230101preview/schema_registry.py +1 -1
  51. pulumi_azure_native/eventhub/v20240101/__init__.py +35 -0
  52. pulumi_azure_native/eventhub/v20240101/_enums.py +223 -0
  53. pulumi_azure_native/eventhub/v20240101/_inputs.py +986 -0
  54. pulumi_azure_native/eventhub/v20240101/application_group.py +285 -0
  55. pulumi_azure_native/eventhub/v20240101/cluster.py +361 -0
  56. pulumi_azure_native/eventhub/v20240101/consumer_group.py +265 -0
  57. pulumi_azure_native/eventhub/v20240101/disaster_recovery_config.py +283 -0
  58. pulumi_azure_native/eventhub/v20240101/event_hub.py +372 -0
  59. pulumi_azure_native/eventhub/v20240101/event_hub_authorization_rule.py +247 -0
  60. pulumi_azure_native/eventhub/v20240101/get_application_group.py +175 -0
  61. pulumi_azure_native/eventhub/v20240101/get_cluster.py +248 -0
  62. pulumi_azure_native/eventhub/v20240101/get_consumer_group.py +180 -0
  63. pulumi_azure_native/eventhub/v20240101/get_disaster_recovery_config.py +201 -0
  64. pulumi_azure_native/eventhub/v20240101/get_event_hub.py +240 -0
  65. pulumi_azure_native/eventhub/v20240101/get_event_hub_authorization_rule.py +154 -0
  66. pulumi_azure_native/eventhub/v20240101/get_namespace.py +391 -0
  67. pulumi_azure_native/eventhub/v20240101/get_namespace_authorization_rule.py +149 -0
  68. pulumi_azure_native/eventhub/v20240101/get_namespace_network_rule_set.py +196 -0
  69. pulumi_azure_native/eventhub/v20240101/get_private_endpoint_connection.py +175 -0
  70. pulumi_azure_native/eventhub/v20240101/get_schema_registry.py +208 -0
  71. pulumi_azure_native/eventhub/v20240101/list_disaster_recovery_config_keys.py +166 -0
  72. pulumi_azure_native/eventhub/v20240101/list_event_hub_keys.py +166 -0
  73. pulumi_azure_native/eventhub/v20240101/list_namespace_keys.py +161 -0
  74. pulumi_azure_native/eventhub/v20240101/namespace.py +668 -0
  75. pulumi_azure_native/eventhub/v20240101/namespace_authorization_rule.py +226 -0
  76. pulumi_azure_native/eventhub/v20240101/namespace_network_rule_set.py +326 -0
  77. pulumi_azure_native/eventhub/v20240101/outputs.py +1336 -0
  78. pulumi_azure_native/eventhub/v20240101/private_endpoint_connection.py +284 -0
  79. pulumi_azure_native/eventhub/v20240101/schema_registry.py +297 -0
  80. pulumi_azure_native/healthcareapis/__init__.py +3 -0
  81. pulumi_azure_native/healthcareapis/dicom_service.py +3 -3
  82. pulumi_azure_native/healthcareapis/fhir_service.py +3 -3
  83. pulumi_azure_native/healthcareapis/get_dicom_service.py +2 -2
  84. pulumi_azure_native/healthcareapis/get_fhir_service.py +2 -2
  85. pulumi_azure_native/healthcareapis/get_iot_connector.py +2 -2
  86. pulumi_azure_native/healthcareapis/get_iot_connector_fhir_destination.py +2 -2
  87. pulumi_azure_native/healthcareapis/get_private_endpoint_connection.py +2 -2
  88. pulumi_azure_native/healthcareapis/get_service.py +2 -2
  89. pulumi_azure_native/healthcareapis/get_workspace.py +2 -2
  90. pulumi_azure_native/healthcareapis/get_workspace_private_endpoint_connection.py +2 -2
  91. pulumi_azure_native/healthcareapis/iot_connector.py +3 -3
  92. pulumi_azure_native/healthcareapis/iot_connector_fhir_destination.py +3 -3
  93. pulumi_azure_native/healthcareapis/private_endpoint_connection.py +3 -3
  94. pulumi_azure_native/healthcareapis/service.py +3 -3
  95. pulumi_azure_native/healthcareapis/v20230228/dicom_service.py +1 -1
  96. pulumi_azure_native/healthcareapis/v20230228/fhir_service.py +1 -1
  97. pulumi_azure_native/healthcareapis/v20230228/iot_connector.py +1 -1
  98. pulumi_azure_native/healthcareapis/v20230228/iot_connector_fhir_destination.py +1 -1
  99. pulumi_azure_native/healthcareapis/v20230228/private_endpoint_connection.py +1 -1
  100. pulumi_azure_native/healthcareapis/v20230228/service.py +1 -1
  101. pulumi_azure_native/healthcareapis/v20230228/workspace.py +1 -1
  102. pulumi_azure_native/healthcareapis/v20230228/workspace_private_endpoint_connection.py +1 -1
  103. pulumi_azure_native/healthcareapis/v20230906/dicom_service.py +1 -1
  104. pulumi_azure_native/healthcareapis/v20230906/fhir_service.py +1 -1
  105. pulumi_azure_native/healthcareapis/v20230906/iot_connector.py +1 -1
  106. pulumi_azure_native/healthcareapis/v20230906/iot_connector_fhir_destination.py +1 -1
  107. pulumi_azure_native/healthcareapis/v20230906/private_endpoint_connection.py +1 -1
  108. pulumi_azure_native/healthcareapis/v20230906/service.py +1 -1
  109. pulumi_azure_native/healthcareapis/v20230906/workspace.py +1 -1
  110. pulumi_azure_native/healthcareapis/v20230906/workspace_private_endpoint_connection.py +1 -1
  111. pulumi_azure_native/healthcareapis/v20231101/__init__.py +26 -0
  112. pulumi_azure_native/healthcareapis/v20231101/_enums.py +85 -0
  113. pulumi_azure_native/healthcareapis/v20231101/_inputs.py +1277 -0
  114. pulumi_azure_native/healthcareapis/v20231101/dicom_service.py +402 -0
  115. pulumi_azure_native/healthcareapis/v20231101/fhir_service.py +585 -0
  116. pulumi_azure_native/healthcareapis/v20231101/get_dicom_service.py +279 -0
  117. pulumi_azure_native/healthcareapis/v20231101/get_fhir_service.py +344 -0
  118. pulumi_azure_native/healthcareapis/v20231101/get_iot_connector.py +214 -0
  119. pulumi_azure_native/healthcareapis/v20231101/get_iot_connector_fhir_destination.py +193 -0
  120. pulumi_azure_native/healthcareapis/v20231101/get_private_endpoint_connection.py +162 -0
  121. pulumi_azure_native/healthcareapis/v20231101/get_service.py +196 -0
  122. pulumi_azure_native/healthcareapis/v20231101/get_workspace.py +170 -0
  123. pulumi_azure_native/healthcareapis/v20231101/get_workspace_private_endpoint_connection.py +162 -0
  124. pulumi_azure_native/healthcareapis/v20231101/iot_connector.py +352 -0
  125. pulumi_azure_native/healthcareapis/v20231101/iot_connector_fhir_destination.py +337 -0
  126. pulumi_azure_native/healthcareapis/v20231101/outputs.py +1951 -0
  127. pulumi_azure_native/healthcareapis/v20231101/private_endpoint_connection.py +237 -0
  128. pulumi_azure_native/healthcareapis/v20231101/service.py +322 -0
  129. pulumi_azure_native/healthcareapis/v20231101/workspace.py +242 -0
  130. pulumi_azure_native/healthcareapis/v20231101/workspace_private_endpoint_connection.py +237 -0
  131. pulumi_azure_native/healthcareapis/workspace.py +3 -3
  132. pulumi_azure_native/healthcareapis/workspace_private_endpoint_connection.py +3 -3
  133. pulumi_azure_native/offazurespringboot/__init__.py +22 -0
  134. pulumi_azure_native/offazurespringboot/_enums.py +22 -0
  135. pulumi_azure_native/offazurespringboot/_inputs.py +402 -0
  136. pulumi_azure_native/offazurespringboot/get_springbootserver.py +151 -0
  137. pulumi_azure_native/offazurespringboot/get_springbootsite.py +172 -0
  138. pulumi_azure_native/offazurespringboot/outputs.py +509 -0
  139. pulumi_azure_native/offazurespringboot/springbootserver.py +247 -0
  140. pulumi_azure_native/offazurespringboot/springbootsite.py +284 -0
  141. pulumi_azure_native/offazurespringboot/v20230101preview/__init__.py +14 -0
  142. pulumi_azure_native/offazurespringboot/v20230101preview/_enums.py +22 -0
  143. pulumi_azure_native/offazurespringboot/v20230101preview/_inputs.py +402 -0
  144. pulumi_azure_native/offazurespringboot/v20230101preview/get_springbootserver.py +149 -0
  145. pulumi_azure_native/offazurespringboot/v20230101preview/get_springbootsite.py +170 -0
  146. pulumi_azure_native/offazurespringboot/v20230101preview/outputs.py +509 -0
  147. pulumi_azure_native/offazurespringboot/v20230101preview/springbootserver.py +245 -0
  148. pulumi_azure_native/offazurespringboot/v20230101preview/springbootsite.py +282 -0
  149. pulumi_azure_native/security/alerts_suppression_rule.py +4 -4
  150. pulumi_azure_native/security/get_alerts_suppression_rule.py +1 -1
  151. pulumi_azure_native/security/v20190101preview/alerts_suppression_rule.py +4 -4
  152. pulumi_azure_native/security/v20190101preview/get_alerts_suppression_rule.py +1 -1
  153. {pulumi_azure_native-2.17.1a1700150019.dist-info → pulumi_azure_native-2.18.1a1700572187.dist-info}/METADATA +1 -1
  154. {pulumi_azure_native-2.17.1a1700150019.dist-info → pulumi_azure_native-2.18.1a1700572187.dist-info}/RECORD +156 -90
  155. {pulumi_azure_native-2.17.1a1700150019.dist-info → pulumi_azure_native-2.18.1a1700572187.dist-info}/WHEEL +0 -0
  156. {pulumi_azure_native-2.17.1a1700150019.dist-info → pulumi_azure_native-2.18.1a1700572187.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,226 @@
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
+
14
+ __all__ = ['NamespaceAuthorizationRuleArgs', 'NamespaceAuthorizationRule']
15
+
16
+ @pulumi.input_type
17
+ class NamespaceAuthorizationRuleArgs:
18
+ def __init__(__self__, *,
19
+ namespace_name: pulumi.Input[str],
20
+ resource_group_name: pulumi.Input[str],
21
+ rights: pulumi.Input[Sequence[pulumi.Input[Union[str, 'AccessRights']]]],
22
+ authorization_rule_name: Optional[pulumi.Input[str]] = None):
23
+ """
24
+ The set of arguments for constructing a NamespaceAuthorizationRule resource.
25
+ :param pulumi.Input[str] namespace_name: The Namespace name
26
+ :param pulumi.Input[str] resource_group_name: Name of the resource group within the azure subscription.
27
+ :param pulumi.Input[Sequence[pulumi.Input[Union[str, 'AccessRights']]]] rights: The rights associated with the rule.
28
+ :param pulumi.Input[str] authorization_rule_name: The authorization rule name.
29
+ """
30
+ pulumi.set(__self__, "namespace_name", namespace_name)
31
+ pulumi.set(__self__, "resource_group_name", resource_group_name)
32
+ pulumi.set(__self__, "rights", rights)
33
+ if authorization_rule_name is not None:
34
+ pulumi.set(__self__, "authorization_rule_name", authorization_rule_name)
35
+
36
+ @property
37
+ @pulumi.getter(name="namespaceName")
38
+ def namespace_name(self) -> pulumi.Input[str]:
39
+ """
40
+ The Namespace name
41
+ """
42
+ return pulumi.get(self, "namespace_name")
43
+
44
+ @namespace_name.setter
45
+ def namespace_name(self, value: pulumi.Input[str]):
46
+ pulumi.set(self, "namespace_name", value)
47
+
48
+ @property
49
+ @pulumi.getter(name="resourceGroupName")
50
+ def resource_group_name(self) -> pulumi.Input[str]:
51
+ """
52
+ Name of the resource group within the azure subscription.
53
+ """
54
+ return pulumi.get(self, "resource_group_name")
55
+
56
+ @resource_group_name.setter
57
+ def resource_group_name(self, value: pulumi.Input[str]):
58
+ pulumi.set(self, "resource_group_name", value)
59
+
60
+ @property
61
+ @pulumi.getter
62
+ def rights(self) -> pulumi.Input[Sequence[pulumi.Input[Union[str, 'AccessRights']]]]:
63
+ """
64
+ The rights associated with the rule.
65
+ """
66
+ return pulumi.get(self, "rights")
67
+
68
+ @rights.setter
69
+ def rights(self, value: pulumi.Input[Sequence[pulumi.Input[Union[str, 'AccessRights']]]]):
70
+ pulumi.set(self, "rights", value)
71
+
72
+ @property
73
+ @pulumi.getter(name="authorizationRuleName")
74
+ def authorization_rule_name(self) -> Optional[pulumi.Input[str]]:
75
+ """
76
+ The authorization rule name.
77
+ """
78
+ return pulumi.get(self, "authorization_rule_name")
79
+
80
+ @authorization_rule_name.setter
81
+ def authorization_rule_name(self, value: Optional[pulumi.Input[str]]):
82
+ pulumi.set(self, "authorization_rule_name", value)
83
+
84
+
85
+ class NamespaceAuthorizationRule(pulumi.CustomResource):
86
+ @overload
87
+ def __init__(__self__,
88
+ resource_name: str,
89
+ opts: Optional[pulumi.ResourceOptions] = None,
90
+ authorization_rule_name: Optional[pulumi.Input[str]] = None,
91
+ namespace_name: Optional[pulumi.Input[str]] = None,
92
+ resource_group_name: Optional[pulumi.Input[str]] = None,
93
+ rights: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'AccessRights']]]]] = None,
94
+ __props__=None):
95
+ """
96
+ Single item in a List or Get AuthorizationRule operation
97
+
98
+ :param str resource_name: The name of the resource.
99
+ :param pulumi.ResourceOptions opts: Options for the resource.
100
+ :param pulumi.Input[str] authorization_rule_name: The authorization rule name.
101
+ :param pulumi.Input[str] namespace_name: The Namespace name
102
+ :param pulumi.Input[str] resource_group_name: Name of the resource group within the azure subscription.
103
+ :param pulumi.Input[Sequence[pulumi.Input[Union[str, 'AccessRights']]]] rights: The rights associated with the rule.
104
+ """
105
+ ...
106
+ @overload
107
+ def __init__(__self__,
108
+ resource_name: str,
109
+ args: NamespaceAuthorizationRuleArgs,
110
+ opts: Optional[pulumi.ResourceOptions] = None):
111
+ """
112
+ Single item in a List or Get AuthorizationRule operation
113
+
114
+ :param str resource_name: The name of the resource.
115
+ :param NamespaceAuthorizationRuleArgs args: The arguments to use to populate this resource's properties.
116
+ :param pulumi.ResourceOptions opts: Options for the resource.
117
+ """
118
+ ...
119
+ def __init__(__self__, resource_name: str, *args, **kwargs):
120
+ resource_args, opts = _utilities.get_resource_args_opts(NamespaceAuthorizationRuleArgs, pulumi.ResourceOptions, *args, **kwargs)
121
+ if resource_args is not None:
122
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
123
+ else:
124
+ __self__._internal_init(resource_name, *args, **kwargs)
125
+
126
+ def _internal_init(__self__,
127
+ resource_name: str,
128
+ opts: Optional[pulumi.ResourceOptions] = None,
129
+ authorization_rule_name: Optional[pulumi.Input[str]] = None,
130
+ namespace_name: Optional[pulumi.Input[str]] = None,
131
+ resource_group_name: Optional[pulumi.Input[str]] = None,
132
+ rights: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'AccessRights']]]]] = None,
133
+ __props__=None):
134
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
135
+ if not isinstance(opts, pulumi.ResourceOptions):
136
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
137
+ if opts.id is None:
138
+ if __props__ is not None:
139
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
140
+ __props__ = NamespaceAuthorizationRuleArgs.__new__(NamespaceAuthorizationRuleArgs)
141
+
142
+ __props__.__dict__["authorization_rule_name"] = authorization_rule_name
143
+ if namespace_name is None and not opts.urn:
144
+ raise TypeError("Missing required property 'namespace_name'")
145
+ __props__.__dict__["namespace_name"] = namespace_name
146
+ if resource_group_name is None and not opts.urn:
147
+ raise TypeError("Missing required property 'resource_group_name'")
148
+ __props__.__dict__["resource_group_name"] = resource_group_name
149
+ if rights is None and not opts.urn:
150
+ raise TypeError("Missing required property 'rights'")
151
+ __props__.__dict__["rights"] = rights
152
+ __props__.__dict__["location"] = None
153
+ __props__.__dict__["name"] = None
154
+ __props__.__dict__["system_data"] = None
155
+ __props__.__dict__["type"] = None
156
+ alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:eventhub:NamespaceAuthorizationRule"), pulumi.Alias(type_="azure-native:eventhub/v20140901:NamespaceAuthorizationRule"), pulumi.Alias(type_="azure-native:eventhub/v20150801:NamespaceAuthorizationRule"), pulumi.Alias(type_="azure-native:eventhub/v20170401:NamespaceAuthorizationRule"), pulumi.Alias(type_="azure-native:eventhub/v20180101preview:NamespaceAuthorizationRule"), pulumi.Alias(type_="azure-native:eventhub/v20210101preview:NamespaceAuthorizationRule"), pulumi.Alias(type_="azure-native:eventhub/v20210601preview:NamespaceAuthorizationRule"), pulumi.Alias(type_="azure-native:eventhub/v20211101:NamespaceAuthorizationRule"), pulumi.Alias(type_="azure-native:eventhub/v20220101preview:NamespaceAuthorizationRule"), pulumi.Alias(type_="azure-native:eventhub/v20221001preview:NamespaceAuthorizationRule"), pulumi.Alias(type_="azure-native:eventhub/v20230101preview:NamespaceAuthorizationRule")])
157
+ opts = pulumi.ResourceOptions.merge(opts, alias_opts)
158
+ super(NamespaceAuthorizationRule, __self__).__init__(
159
+ 'azure-native:eventhub/v20240101:NamespaceAuthorizationRule',
160
+ resource_name,
161
+ __props__,
162
+ opts)
163
+
164
+ @staticmethod
165
+ def get(resource_name: str,
166
+ id: pulumi.Input[str],
167
+ opts: Optional[pulumi.ResourceOptions] = None) -> 'NamespaceAuthorizationRule':
168
+ """
169
+ Get an existing NamespaceAuthorizationRule resource's state with the given name, id, and optional extra
170
+ properties used to qualify the lookup.
171
+
172
+ :param str resource_name: The unique name of the resulting resource.
173
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
174
+ :param pulumi.ResourceOptions opts: Options for the resource.
175
+ """
176
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
177
+
178
+ __props__ = NamespaceAuthorizationRuleArgs.__new__(NamespaceAuthorizationRuleArgs)
179
+
180
+ __props__.__dict__["location"] = None
181
+ __props__.__dict__["name"] = None
182
+ __props__.__dict__["rights"] = None
183
+ __props__.__dict__["system_data"] = None
184
+ __props__.__dict__["type"] = None
185
+ return NamespaceAuthorizationRule(resource_name, opts=opts, __props__=__props__)
186
+
187
+ @property
188
+ @pulumi.getter
189
+ def location(self) -> pulumi.Output[str]:
190
+ """
191
+ The geo-location where the resource lives
192
+ """
193
+ return pulumi.get(self, "location")
194
+
195
+ @property
196
+ @pulumi.getter
197
+ def name(self) -> pulumi.Output[str]:
198
+ """
199
+ The name of the resource
200
+ """
201
+ return pulumi.get(self, "name")
202
+
203
+ @property
204
+ @pulumi.getter
205
+ def rights(self) -> pulumi.Output[Sequence[str]]:
206
+ """
207
+ The rights associated with the rule.
208
+ """
209
+ return pulumi.get(self, "rights")
210
+
211
+ @property
212
+ @pulumi.getter(name="systemData")
213
+ def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']:
214
+ """
215
+ The system meta data relating to this resource.
216
+ """
217
+ return pulumi.get(self, "system_data")
218
+
219
+ @property
220
+ @pulumi.getter
221
+ def type(self) -> pulumi.Output[str]:
222
+ """
223
+ The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"
224
+ """
225
+ return pulumi.get(self, "type")
226
+
@@ -0,0 +1,326 @@
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__ = ['NamespaceNetworkRuleSetArgs', 'NamespaceNetworkRuleSet']
16
+
17
+ @pulumi.input_type
18
+ class NamespaceNetworkRuleSetArgs:
19
+ def __init__(__self__, *,
20
+ namespace_name: pulumi.Input[str],
21
+ resource_group_name: pulumi.Input[str],
22
+ default_action: Optional[pulumi.Input[Union[str, 'DefaultAction']]] = None,
23
+ ip_rules: Optional[pulumi.Input[Sequence[pulumi.Input['NWRuleSetIpRulesArgs']]]] = None,
24
+ public_network_access: Optional[pulumi.Input[Union[str, 'PublicNetworkAccessFlag']]] = None,
25
+ trusted_service_access_enabled: Optional[pulumi.Input[bool]] = None,
26
+ virtual_network_rules: Optional[pulumi.Input[Sequence[pulumi.Input['NWRuleSetVirtualNetworkRulesArgs']]]] = None):
27
+ """
28
+ The set of arguments for constructing a NamespaceNetworkRuleSet resource.
29
+ :param pulumi.Input[str] namespace_name: The Namespace name
30
+ :param pulumi.Input[str] resource_group_name: Name of the resource group within the azure subscription.
31
+ :param pulumi.Input[Union[str, 'DefaultAction']] default_action: Default Action for Network Rule Set
32
+ :param pulumi.Input[Sequence[pulumi.Input['NWRuleSetIpRulesArgs']]] ip_rules: List of IpRules
33
+ :param pulumi.Input[Union[str, 'PublicNetworkAccessFlag']] public_network_access: This determines if traffic is allowed over public network. By default it is enabled. If value is SecuredByPerimeter then Inbound and Outbound communication is controlled by the network security perimeter and profile's access rules.
34
+ :param pulumi.Input[bool] trusted_service_access_enabled: Value that indicates whether Trusted Service Access is Enabled or not.
35
+ :param pulumi.Input[Sequence[pulumi.Input['NWRuleSetVirtualNetworkRulesArgs']]] virtual_network_rules: List VirtualNetwork Rules
36
+ """
37
+ pulumi.set(__self__, "namespace_name", namespace_name)
38
+ pulumi.set(__self__, "resource_group_name", resource_group_name)
39
+ if default_action is not None:
40
+ pulumi.set(__self__, "default_action", default_action)
41
+ if ip_rules is not None:
42
+ pulumi.set(__self__, "ip_rules", ip_rules)
43
+ if public_network_access is None:
44
+ public_network_access = 'Enabled'
45
+ if public_network_access is not None:
46
+ pulumi.set(__self__, "public_network_access", public_network_access)
47
+ if trusted_service_access_enabled is not None:
48
+ pulumi.set(__self__, "trusted_service_access_enabled", trusted_service_access_enabled)
49
+ if virtual_network_rules is not None:
50
+ pulumi.set(__self__, "virtual_network_rules", virtual_network_rules)
51
+
52
+ @property
53
+ @pulumi.getter(name="namespaceName")
54
+ def namespace_name(self) -> pulumi.Input[str]:
55
+ """
56
+ The Namespace name
57
+ """
58
+ return pulumi.get(self, "namespace_name")
59
+
60
+ @namespace_name.setter
61
+ def namespace_name(self, value: pulumi.Input[str]):
62
+ pulumi.set(self, "namespace_name", value)
63
+
64
+ @property
65
+ @pulumi.getter(name="resourceGroupName")
66
+ def resource_group_name(self) -> pulumi.Input[str]:
67
+ """
68
+ Name of the resource group within the azure subscription.
69
+ """
70
+ return pulumi.get(self, "resource_group_name")
71
+
72
+ @resource_group_name.setter
73
+ def resource_group_name(self, value: pulumi.Input[str]):
74
+ pulumi.set(self, "resource_group_name", value)
75
+
76
+ @property
77
+ @pulumi.getter(name="defaultAction")
78
+ def default_action(self) -> Optional[pulumi.Input[Union[str, 'DefaultAction']]]:
79
+ """
80
+ Default Action for Network Rule Set
81
+ """
82
+ return pulumi.get(self, "default_action")
83
+
84
+ @default_action.setter
85
+ def default_action(self, value: Optional[pulumi.Input[Union[str, 'DefaultAction']]]):
86
+ pulumi.set(self, "default_action", value)
87
+
88
+ @property
89
+ @pulumi.getter(name="ipRules")
90
+ def ip_rules(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['NWRuleSetIpRulesArgs']]]]:
91
+ """
92
+ List of IpRules
93
+ """
94
+ return pulumi.get(self, "ip_rules")
95
+
96
+ @ip_rules.setter
97
+ def ip_rules(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['NWRuleSetIpRulesArgs']]]]):
98
+ pulumi.set(self, "ip_rules", value)
99
+
100
+ @property
101
+ @pulumi.getter(name="publicNetworkAccess")
102
+ def public_network_access(self) -> Optional[pulumi.Input[Union[str, 'PublicNetworkAccessFlag']]]:
103
+ """
104
+ This determines if traffic is allowed over public network. By default it is enabled. If value is SecuredByPerimeter then Inbound and Outbound communication is controlled by the network security perimeter and profile's access rules.
105
+ """
106
+ return pulumi.get(self, "public_network_access")
107
+
108
+ @public_network_access.setter
109
+ def public_network_access(self, value: Optional[pulumi.Input[Union[str, 'PublicNetworkAccessFlag']]]):
110
+ pulumi.set(self, "public_network_access", value)
111
+
112
+ @property
113
+ @pulumi.getter(name="trustedServiceAccessEnabled")
114
+ def trusted_service_access_enabled(self) -> Optional[pulumi.Input[bool]]:
115
+ """
116
+ Value that indicates whether Trusted Service Access is Enabled or not.
117
+ """
118
+ return pulumi.get(self, "trusted_service_access_enabled")
119
+
120
+ @trusted_service_access_enabled.setter
121
+ def trusted_service_access_enabled(self, value: Optional[pulumi.Input[bool]]):
122
+ pulumi.set(self, "trusted_service_access_enabled", value)
123
+
124
+ @property
125
+ @pulumi.getter(name="virtualNetworkRules")
126
+ def virtual_network_rules(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['NWRuleSetVirtualNetworkRulesArgs']]]]:
127
+ """
128
+ List VirtualNetwork Rules
129
+ """
130
+ return pulumi.get(self, "virtual_network_rules")
131
+
132
+ @virtual_network_rules.setter
133
+ def virtual_network_rules(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['NWRuleSetVirtualNetworkRulesArgs']]]]):
134
+ pulumi.set(self, "virtual_network_rules", value)
135
+
136
+
137
+ class NamespaceNetworkRuleSet(pulumi.CustomResource):
138
+ @overload
139
+ def __init__(__self__,
140
+ resource_name: str,
141
+ opts: Optional[pulumi.ResourceOptions] = None,
142
+ default_action: Optional[pulumi.Input[Union[str, 'DefaultAction']]] = None,
143
+ ip_rules: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NWRuleSetIpRulesArgs']]]]] = None,
144
+ namespace_name: Optional[pulumi.Input[str]] = None,
145
+ public_network_access: Optional[pulumi.Input[Union[str, 'PublicNetworkAccessFlag']]] = None,
146
+ resource_group_name: Optional[pulumi.Input[str]] = None,
147
+ trusted_service_access_enabled: Optional[pulumi.Input[bool]] = None,
148
+ virtual_network_rules: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NWRuleSetVirtualNetworkRulesArgs']]]]] = None,
149
+ __props__=None):
150
+ """
151
+ Description of topic resource.
152
+
153
+ :param str resource_name: The name of the resource.
154
+ :param pulumi.ResourceOptions opts: Options for the resource.
155
+ :param pulumi.Input[Union[str, 'DefaultAction']] default_action: Default Action for Network Rule Set
156
+ :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NWRuleSetIpRulesArgs']]]] ip_rules: List of IpRules
157
+ :param pulumi.Input[str] namespace_name: The Namespace name
158
+ :param pulumi.Input[Union[str, 'PublicNetworkAccessFlag']] public_network_access: This determines if traffic is allowed over public network. By default it is enabled. If value is SecuredByPerimeter then Inbound and Outbound communication is controlled by the network security perimeter and profile's access rules.
159
+ :param pulumi.Input[str] resource_group_name: Name of the resource group within the azure subscription.
160
+ :param pulumi.Input[bool] trusted_service_access_enabled: Value that indicates whether Trusted Service Access is Enabled or not.
161
+ :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NWRuleSetVirtualNetworkRulesArgs']]]] virtual_network_rules: List VirtualNetwork Rules
162
+ """
163
+ ...
164
+ @overload
165
+ def __init__(__self__,
166
+ resource_name: str,
167
+ args: NamespaceNetworkRuleSetArgs,
168
+ opts: Optional[pulumi.ResourceOptions] = None):
169
+ """
170
+ Description of topic resource.
171
+
172
+ :param str resource_name: The name of the resource.
173
+ :param NamespaceNetworkRuleSetArgs args: The arguments to use to populate this resource's properties.
174
+ :param pulumi.ResourceOptions opts: Options for the resource.
175
+ """
176
+ ...
177
+ def __init__(__self__, resource_name: str, *args, **kwargs):
178
+ resource_args, opts = _utilities.get_resource_args_opts(NamespaceNetworkRuleSetArgs, pulumi.ResourceOptions, *args, **kwargs)
179
+ if resource_args is not None:
180
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
181
+ else:
182
+ __self__._internal_init(resource_name, *args, **kwargs)
183
+
184
+ def _internal_init(__self__,
185
+ resource_name: str,
186
+ opts: Optional[pulumi.ResourceOptions] = None,
187
+ default_action: Optional[pulumi.Input[Union[str, 'DefaultAction']]] = None,
188
+ ip_rules: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NWRuleSetIpRulesArgs']]]]] = None,
189
+ namespace_name: Optional[pulumi.Input[str]] = None,
190
+ public_network_access: Optional[pulumi.Input[Union[str, 'PublicNetworkAccessFlag']]] = None,
191
+ resource_group_name: Optional[pulumi.Input[str]] = None,
192
+ trusted_service_access_enabled: Optional[pulumi.Input[bool]] = None,
193
+ virtual_network_rules: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NWRuleSetVirtualNetworkRulesArgs']]]]] = None,
194
+ __props__=None):
195
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
196
+ if not isinstance(opts, pulumi.ResourceOptions):
197
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
198
+ if opts.id is None:
199
+ if __props__ is not None:
200
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
201
+ __props__ = NamespaceNetworkRuleSetArgs.__new__(NamespaceNetworkRuleSetArgs)
202
+
203
+ __props__.__dict__["default_action"] = default_action
204
+ __props__.__dict__["ip_rules"] = ip_rules
205
+ if namespace_name is None and not opts.urn:
206
+ raise TypeError("Missing required property 'namespace_name'")
207
+ __props__.__dict__["namespace_name"] = namespace_name
208
+ if public_network_access is None:
209
+ public_network_access = 'Enabled'
210
+ __props__.__dict__["public_network_access"] = public_network_access
211
+ if resource_group_name is None and not opts.urn:
212
+ raise TypeError("Missing required property 'resource_group_name'")
213
+ __props__.__dict__["resource_group_name"] = resource_group_name
214
+ __props__.__dict__["trusted_service_access_enabled"] = trusted_service_access_enabled
215
+ __props__.__dict__["virtual_network_rules"] = virtual_network_rules
216
+ __props__.__dict__["location"] = None
217
+ __props__.__dict__["name"] = None
218
+ __props__.__dict__["system_data"] = None
219
+ __props__.__dict__["type"] = None
220
+ alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:eventhub:NamespaceNetworkRuleSet"), pulumi.Alias(type_="azure-native:eventhub/v20170401:NamespaceNetworkRuleSet"), pulumi.Alias(type_="azure-native:eventhub/v20180101preview:NamespaceNetworkRuleSet"), pulumi.Alias(type_="azure-native:eventhub/v20210101preview:NamespaceNetworkRuleSet"), pulumi.Alias(type_="azure-native:eventhub/v20210601preview:NamespaceNetworkRuleSet"), pulumi.Alias(type_="azure-native:eventhub/v20211101:NamespaceNetworkRuleSet"), pulumi.Alias(type_="azure-native:eventhub/v20220101preview:NamespaceNetworkRuleSet"), pulumi.Alias(type_="azure-native:eventhub/v20221001preview:NamespaceNetworkRuleSet"), pulumi.Alias(type_="azure-native:eventhub/v20230101preview:NamespaceNetworkRuleSet")])
221
+ opts = pulumi.ResourceOptions.merge(opts, alias_opts)
222
+ super(NamespaceNetworkRuleSet, __self__).__init__(
223
+ 'azure-native:eventhub/v20240101:NamespaceNetworkRuleSet',
224
+ resource_name,
225
+ __props__,
226
+ opts)
227
+
228
+ @staticmethod
229
+ def get(resource_name: str,
230
+ id: pulumi.Input[str],
231
+ opts: Optional[pulumi.ResourceOptions] = None) -> 'NamespaceNetworkRuleSet':
232
+ """
233
+ Get an existing NamespaceNetworkRuleSet resource's state with the given name, id, and optional extra
234
+ properties used to qualify the lookup.
235
+
236
+ :param str resource_name: The unique name of the resulting resource.
237
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
238
+ :param pulumi.ResourceOptions opts: Options for the resource.
239
+ """
240
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
241
+
242
+ __props__ = NamespaceNetworkRuleSetArgs.__new__(NamespaceNetworkRuleSetArgs)
243
+
244
+ __props__.__dict__["default_action"] = None
245
+ __props__.__dict__["ip_rules"] = None
246
+ __props__.__dict__["location"] = None
247
+ __props__.__dict__["name"] = None
248
+ __props__.__dict__["public_network_access"] = None
249
+ __props__.__dict__["system_data"] = None
250
+ __props__.__dict__["trusted_service_access_enabled"] = None
251
+ __props__.__dict__["type"] = None
252
+ __props__.__dict__["virtual_network_rules"] = None
253
+ return NamespaceNetworkRuleSet(resource_name, opts=opts, __props__=__props__)
254
+
255
+ @property
256
+ @pulumi.getter(name="defaultAction")
257
+ def default_action(self) -> pulumi.Output[Optional[str]]:
258
+ """
259
+ Default Action for Network Rule Set
260
+ """
261
+ return pulumi.get(self, "default_action")
262
+
263
+ @property
264
+ @pulumi.getter(name="ipRules")
265
+ def ip_rules(self) -> pulumi.Output[Optional[Sequence['outputs.NWRuleSetIpRulesResponse']]]:
266
+ """
267
+ List of IpRules
268
+ """
269
+ return pulumi.get(self, "ip_rules")
270
+
271
+ @property
272
+ @pulumi.getter
273
+ def location(self) -> pulumi.Output[str]:
274
+ """
275
+ The geo-location where the resource lives
276
+ """
277
+ return pulumi.get(self, "location")
278
+
279
+ @property
280
+ @pulumi.getter
281
+ def name(self) -> pulumi.Output[str]:
282
+ """
283
+ The name of the resource
284
+ """
285
+ return pulumi.get(self, "name")
286
+
287
+ @property
288
+ @pulumi.getter(name="publicNetworkAccess")
289
+ def public_network_access(self) -> pulumi.Output[Optional[str]]:
290
+ """
291
+ This determines if traffic is allowed over public network. By default it is enabled. If value is SecuredByPerimeter then Inbound and Outbound communication is controlled by the network security perimeter and profile's access rules.
292
+ """
293
+ return pulumi.get(self, "public_network_access")
294
+
295
+ @property
296
+ @pulumi.getter(name="systemData")
297
+ def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']:
298
+ """
299
+ The system meta data relating to this resource.
300
+ """
301
+ return pulumi.get(self, "system_data")
302
+
303
+ @property
304
+ @pulumi.getter(name="trustedServiceAccessEnabled")
305
+ def trusted_service_access_enabled(self) -> pulumi.Output[Optional[bool]]:
306
+ """
307
+ Value that indicates whether Trusted Service Access is Enabled or not.
308
+ """
309
+ return pulumi.get(self, "trusted_service_access_enabled")
310
+
311
+ @property
312
+ @pulumi.getter
313
+ def type(self) -> pulumi.Output[str]:
314
+ """
315
+ The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"
316
+ """
317
+ return pulumi.get(self, "type")
318
+
319
+ @property
320
+ @pulumi.getter(name="virtualNetworkRules")
321
+ def virtual_network_rules(self) -> pulumi.Output[Optional[Sequence['outputs.NWRuleSetVirtualNetworkRulesResponse']]]:
322
+ """
323
+ List VirtualNetwork Rules
324
+ """
325
+ return pulumi.get(self, "virtual_network_rules")
326
+