pulumi-azure-native 2.18.0__py3-none-any.whl → 2.19.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of pulumi-azure-native might be problematic. Click here for more details.

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.18.0.dist-info → pulumi_azure_native-2.19.0.dist-info}/METADATA +1 -1
  154. {pulumi_azure_native-2.18.0.dist-info → pulumi_azure_native-2.19.0.dist-info}/RECORD +156 -90
  155. {pulumi_azure_native-2.18.0.dist-info → pulumi_azure_native-2.19.0.dist-info}/WHEEL +0 -0
  156. {pulumi_azure_native-2.18.0.dist-info → pulumi_azure_native-2.19.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,166 @@
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
+ 'ListDisasterRecoveryConfigKeysResult',
14
+ 'AwaitableListDisasterRecoveryConfigKeysResult',
15
+ 'list_disaster_recovery_config_keys',
16
+ 'list_disaster_recovery_config_keys_output',
17
+ ]
18
+
19
+ @pulumi.output_type
20
+ class ListDisasterRecoveryConfigKeysResult:
21
+ """
22
+ Namespace/EventHub Connection String
23
+ """
24
+ def __init__(__self__, alias_primary_connection_string=None, alias_secondary_connection_string=None, key_name=None, primary_connection_string=None, primary_key=None, secondary_connection_string=None, secondary_key=None):
25
+ if alias_primary_connection_string and not isinstance(alias_primary_connection_string, str):
26
+ raise TypeError("Expected argument 'alias_primary_connection_string' to be a str")
27
+ pulumi.set(__self__, "alias_primary_connection_string", alias_primary_connection_string)
28
+ if alias_secondary_connection_string and not isinstance(alias_secondary_connection_string, str):
29
+ raise TypeError("Expected argument 'alias_secondary_connection_string' to be a str")
30
+ pulumi.set(__self__, "alias_secondary_connection_string", alias_secondary_connection_string)
31
+ if key_name and not isinstance(key_name, str):
32
+ raise TypeError("Expected argument 'key_name' to be a str")
33
+ pulumi.set(__self__, "key_name", key_name)
34
+ if primary_connection_string and not isinstance(primary_connection_string, str):
35
+ raise TypeError("Expected argument 'primary_connection_string' to be a str")
36
+ pulumi.set(__self__, "primary_connection_string", primary_connection_string)
37
+ if primary_key and not isinstance(primary_key, str):
38
+ raise TypeError("Expected argument 'primary_key' to be a str")
39
+ pulumi.set(__self__, "primary_key", primary_key)
40
+ if secondary_connection_string and not isinstance(secondary_connection_string, str):
41
+ raise TypeError("Expected argument 'secondary_connection_string' to be a str")
42
+ pulumi.set(__self__, "secondary_connection_string", secondary_connection_string)
43
+ if secondary_key and not isinstance(secondary_key, str):
44
+ raise TypeError("Expected argument 'secondary_key' to be a str")
45
+ pulumi.set(__self__, "secondary_key", secondary_key)
46
+
47
+ @property
48
+ @pulumi.getter(name="aliasPrimaryConnectionString")
49
+ def alias_primary_connection_string(self) -> str:
50
+ """
51
+ Primary connection string of the alias if GEO DR is enabled
52
+ """
53
+ return pulumi.get(self, "alias_primary_connection_string")
54
+
55
+ @property
56
+ @pulumi.getter(name="aliasSecondaryConnectionString")
57
+ def alias_secondary_connection_string(self) -> str:
58
+ """
59
+ Secondary connection string of the alias if GEO DR is enabled
60
+ """
61
+ return pulumi.get(self, "alias_secondary_connection_string")
62
+
63
+ @property
64
+ @pulumi.getter(name="keyName")
65
+ def key_name(self) -> str:
66
+ """
67
+ A string that describes the AuthorizationRule.
68
+ """
69
+ return pulumi.get(self, "key_name")
70
+
71
+ @property
72
+ @pulumi.getter(name="primaryConnectionString")
73
+ def primary_connection_string(self) -> str:
74
+ """
75
+ Primary connection string of the created namespace AuthorizationRule.
76
+ """
77
+ return pulumi.get(self, "primary_connection_string")
78
+
79
+ @property
80
+ @pulumi.getter(name="primaryKey")
81
+ def primary_key(self) -> str:
82
+ """
83
+ A base64-encoded 256-bit primary key for signing and validating the SAS token.
84
+ """
85
+ return pulumi.get(self, "primary_key")
86
+
87
+ @property
88
+ @pulumi.getter(name="secondaryConnectionString")
89
+ def secondary_connection_string(self) -> str:
90
+ """
91
+ Secondary connection string of the created namespace AuthorizationRule.
92
+ """
93
+ return pulumi.get(self, "secondary_connection_string")
94
+
95
+ @property
96
+ @pulumi.getter(name="secondaryKey")
97
+ def secondary_key(self) -> str:
98
+ """
99
+ A base64-encoded 256-bit primary key for signing and validating the SAS token.
100
+ """
101
+ return pulumi.get(self, "secondary_key")
102
+
103
+
104
+ class AwaitableListDisasterRecoveryConfigKeysResult(ListDisasterRecoveryConfigKeysResult):
105
+ # pylint: disable=using-constant-test
106
+ def __await__(self):
107
+ if False:
108
+ yield self
109
+ return ListDisasterRecoveryConfigKeysResult(
110
+ alias_primary_connection_string=self.alias_primary_connection_string,
111
+ alias_secondary_connection_string=self.alias_secondary_connection_string,
112
+ key_name=self.key_name,
113
+ primary_connection_string=self.primary_connection_string,
114
+ primary_key=self.primary_key,
115
+ secondary_connection_string=self.secondary_connection_string,
116
+ secondary_key=self.secondary_key)
117
+
118
+
119
+ def list_disaster_recovery_config_keys(alias: Optional[str] = None,
120
+ authorization_rule_name: Optional[str] = None,
121
+ namespace_name: Optional[str] = None,
122
+ resource_group_name: Optional[str] = None,
123
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableListDisasterRecoveryConfigKeysResult:
124
+ """
125
+ Gets the primary and secondary connection strings for the Namespace.
126
+
127
+
128
+ :param str alias: The Disaster Recovery configuration name
129
+ :param str authorization_rule_name: The authorization rule name.
130
+ :param str namespace_name: The Namespace name
131
+ :param str resource_group_name: Name of the resource group within the azure subscription.
132
+ """
133
+ __args__ = dict()
134
+ __args__['alias'] = alias
135
+ __args__['authorizationRuleName'] = authorization_rule_name
136
+ __args__['namespaceName'] = namespace_name
137
+ __args__['resourceGroupName'] = resource_group_name
138
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
139
+ __ret__ = pulumi.runtime.invoke('azure-native:eventhub/v20240101:listDisasterRecoveryConfigKeys', __args__, opts=opts, typ=ListDisasterRecoveryConfigKeysResult).value
140
+
141
+ return AwaitableListDisasterRecoveryConfigKeysResult(
142
+ alias_primary_connection_string=pulumi.get(__ret__, 'alias_primary_connection_string'),
143
+ alias_secondary_connection_string=pulumi.get(__ret__, 'alias_secondary_connection_string'),
144
+ key_name=pulumi.get(__ret__, 'key_name'),
145
+ primary_connection_string=pulumi.get(__ret__, 'primary_connection_string'),
146
+ primary_key=pulumi.get(__ret__, 'primary_key'),
147
+ secondary_connection_string=pulumi.get(__ret__, 'secondary_connection_string'),
148
+ secondary_key=pulumi.get(__ret__, 'secondary_key'))
149
+
150
+
151
+ @_utilities.lift_output_func(list_disaster_recovery_config_keys)
152
+ def list_disaster_recovery_config_keys_output(alias: Optional[pulumi.Input[str]] = None,
153
+ authorization_rule_name: Optional[pulumi.Input[str]] = None,
154
+ namespace_name: Optional[pulumi.Input[str]] = None,
155
+ resource_group_name: Optional[pulumi.Input[str]] = None,
156
+ opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[ListDisasterRecoveryConfigKeysResult]:
157
+ """
158
+ Gets the primary and secondary connection strings for the Namespace.
159
+
160
+
161
+ :param str alias: The Disaster Recovery configuration name
162
+ :param str authorization_rule_name: The authorization rule name.
163
+ :param str namespace_name: The Namespace name
164
+ :param str resource_group_name: Name of the resource group within the azure subscription.
165
+ """
166
+ ...
@@ -0,0 +1,166 @@
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
+ 'ListEventHubKeysResult',
14
+ 'AwaitableListEventHubKeysResult',
15
+ 'list_event_hub_keys',
16
+ 'list_event_hub_keys_output',
17
+ ]
18
+
19
+ @pulumi.output_type
20
+ class ListEventHubKeysResult:
21
+ """
22
+ Namespace/EventHub Connection String
23
+ """
24
+ def __init__(__self__, alias_primary_connection_string=None, alias_secondary_connection_string=None, key_name=None, primary_connection_string=None, primary_key=None, secondary_connection_string=None, secondary_key=None):
25
+ if alias_primary_connection_string and not isinstance(alias_primary_connection_string, str):
26
+ raise TypeError("Expected argument 'alias_primary_connection_string' to be a str")
27
+ pulumi.set(__self__, "alias_primary_connection_string", alias_primary_connection_string)
28
+ if alias_secondary_connection_string and not isinstance(alias_secondary_connection_string, str):
29
+ raise TypeError("Expected argument 'alias_secondary_connection_string' to be a str")
30
+ pulumi.set(__self__, "alias_secondary_connection_string", alias_secondary_connection_string)
31
+ if key_name and not isinstance(key_name, str):
32
+ raise TypeError("Expected argument 'key_name' to be a str")
33
+ pulumi.set(__self__, "key_name", key_name)
34
+ if primary_connection_string and not isinstance(primary_connection_string, str):
35
+ raise TypeError("Expected argument 'primary_connection_string' to be a str")
36
+ pulumi.set(__self__, "primary_connection_string", primary_connection_string)
37
+ if primary_key and not isinstance(primary_key, str):
38
+ raise TypeError("Expected argument 'primary_key' to be a str")
39
+ pulumi.set(__self__, "primary_key", primary_key)
40
+ if secondary_connection_string and not isinstance(secondary_connection_string, str):
41
+ raise TypeError("Expected argument 'secondary_connection_string' to be a str")
42
+ pulumi.set(__self__, "secondary_connection_string", secondary_connection_string)
43
+ if secondary_key and not isinstance(secondary_key, str):
44
+ raise TypeError("Expected argument 'secondary_key' to be a str")
45
+ pulumi.set(__self__, "secondary_key", secondary_key)
46
+
47
+ @property
48
+ @pulumi.getter(name="aliasPrimaryConnectionString")
49
+ def alias_primary_connection_string(self) -> str:
50
+ """
51
+ Primary connection string of the alias if GEO DR is enabled
52
+ """
53
+ return pulumi.get(self, "alias_primary_connection_string")
54
+
55
+ @property
56
+ @pulumi.getter(name="aliasSecondaryConnectionString")
57
+ def alias_secondary_connection_string(self) -> str:
58
+ """
59
+ Secondary connection string of the alias if GEO DR is enabled
60
+ """
61
+ return pulumi.get(self, "alias_secondary_connection_string")
62
+
63
+ @property
64
+ @pulumi.getter(name="keyName")
65
+ def key_name(self) -> str:
66
+ """
67
+ A string that describes the AuthorizationRule.
68
+ """
69
+ return pulumi.get(self, "key_name")
70
+
71
+ @property
72
+ @pulumi.getter(name="primaryConnectionString")
73
+ def primary_connection_string(self) -> str:
74
+ """
75
+ Primary connection string of the created namespace AuthorizationRule.
76
+ """
77
+ return pulumi.get(self, "primary_connection_string")
78
+
79
+ @property
80
+ @pulumi.getter(name="primaryKey")
81
+ def primary_key(self) -> str:
82
+ """
83
+ A base64-encoded 256-bit primary key for signing and validating the SAS token.
84
+ """
85
+ return pulumi.get(self, "primary_key")
86
+
87
+ @property
88
+ @pulumi.getter(name="secondaryConnectionString")
89
+ def secondary_connection_string(self) -> str:
90
+ """
91
+ Secondary connection string of the created namespace AuthorizationRule.
92
+ """
93
+ return pulumi.get(self, "secondary_connection_string")
94
+
95
+ @property
96
+ @pulumi.getter(name="secondaryKey")
97
+ def secondary_key(self) -> str:
98
+ """
99
+ A base64-encoded 256-bit primary key for signing and validating the SAS token.
100
+ """
101
+ return pulumi.get(self, "secondary_key")
102
+
103
+
104
+ class AwaitableListEventHubKeysResult(ListEventHubKeysResult):
105
+ # pylint: disable=using-constant-test
106
+ def __await__(self):
107
+ if False:
108
+ yield self
109
+ return ListEventHubKeysResult(
110
+ alias_primary_connection_string=self.alias_primary_connection_string,
111
+ alias_secondary_connection_string=self.alias_secondary_connection_string,
112
+ key_name=self.key_name,
113
+ primary_connection_string=self.primary_connection_string,
114
+ primary_key=self.primary_key,
115
+ secondary_connection_string=self.secondary_connection_string,
116
+ secondary_key=self.secondary_key)
117
+
118
+
119
+ def list_event_hub_keys(authorization_rule_name: Optional[str] = None,
120
+ event_hub_name: Optional[str] = None,
121
+ namespace_name: Optional[str] = None,
122
+ resource_group_name: Optional[str] = None,
123
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableListEventHubKeysResult:
124
+ """
125
+ Gets the ACS and SAS connection strings for the Event Hub.
126
+
127
+
128
+ :param str authorization_rule_name: The authorization rule name.
129
+ :param str event_hub_name: The Event Hub name
130
+ :param str namespace_name: The Namespace name
131
+ :param str resource_group_name: Name of the resource group within the azure subscription.
132
+ """
133
+ __args__ = dict()
134
+ __args__['authorizationRuleName'] = authorization_rule_name
135
+ __args__['eventHubName'] = event_hub_name
136
+ __args__['namespaceName'] = namespace_name
137
+ __args__['resourceGroupName'] = resource_group_name
138
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
139
+ __ret__ = pulumi.runtime.invoke('azure-native:eventhub/v20240101:listEventHubKeys', __args__, opts=opts, typ=ListEventHubKeysResult).value
140
+
141
+ return AwaitableListEventHubKeysResult(
142
+ alias_primary_connection_string=pulumi.get(__ret__, 'alias_primary_connection_string'),
143
+ alias_secondary_connection_string=pulumi.get(__ret__, 'alias_secondary_connection_string'),
144
+ key_name=pulumi.get(__ret__, 'key_name'),
145
+ primary_connection_string=pulumi.get(__ret__, 'primary_connection_string'),
146
+ primary_key=pulumi.get(__ret__, 'primary_key'),
147
+ secondary_connection_string=pulumi.get(__ret__, 'secondary_connection_string'),
148
+ secondary_key=pulumi.get(__ret__, 'secondary_key'))
149
+
150
+
151
+ @_utilities.lift_output_func(list_event_hub_keys)
152
+ def list_event_hub_keys_output(authorization_rule_name: Optional[pulumi.Input[str]] = None,
153
+ event_hub_name: Optional[pulumi.Input[str]] = None,
154
+ namespace_name: Optional[pulumi.Input[str]] = None,
155
+ resource_group_name: Optional[pulumi.Input[str]] = None,
156
+ opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[ListEventHubKeysResult]:
157
+ """
158
+ Gets the ACS and SAS connection strings for the Event Hub.
159
+
160
+
161
+ :param str authorization_rule_name: The authorization rule name.
162
+ :param str event_hub_name: The Event Hub name
163
+ :param str namespace_name: The Namespace name
164
+ :param str resource_group_name: Name of the resource group within the azure subscription.
165
+ """
166
+ ...
@@ -0,0 +1,161 @@
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
+ 'ListNamespaceKeysResult',
14
+ 'AwaitableListNamespaceKeysResult',
15
+ 'list_namespace_keys',
16
+ 'list_namespace_keys_output',
17
+ ]
18
+
19
+ @pulumi.output_type
20
+ class ListNamespaceKeysResult:
21
+ """
22
+ Namespace/EventHub Connection String
23
+ """
24
+ def __init__(__self__, alias_primary_connection_string=None, alias_secondary_connection_string=None, key_name=None, primary_connection_string=None, primary_key=None, secondary_connection_string=None, secondary_key=None):
25
+ if alias_primary_connection_string and not isinstance(alias_primary_connection_string, str):
26
+ raise TypeError("Expected argument 'alias_primary_connection_string' to be a str")
27
+ pulumi.set(__self__, "alias_primary_connection_string", alias_primary_connection_string)
28
+ if alias_secondary_connection_string and not isinstance(alias_secondary_connection_string, str):
29
+ raise TypeError("Expected argument 'alias_secondary_connection_string' to be a str")
30
+ pulumi.set(__self__, "alias_secondary_connection_string", alias_secondary_connection_string)
31
+ if key_name and not isinstance(key_name, str):
32
+ raise TypeError("Expected argument 'key_name' to be a str")
33
+ pulumi.set(__self__, "key_name", key_name)
34
+ if primary_connection_string and not isinstance(primary_connection_string, str):
35
+ raise TypeError("Expected argument 'primary_connection_string' to be a str")
36
+ pulumi.set(__self__, "primary_connection_string", primary_connection_string)
37
+ if primary_key and not isinstance(primary_key, str):
38
+ raise TypeError("Expected argument 'primary_key' to be a str")
39
+ pulumi.set(__self__, "primary_key", primary_key)
40
+ if secondary_connection_string and not isinstance(secondary_connection_string, str):
41
+ raise TypeError("Expected argument 'secondary_connection_string' to be a str")
42
+ pulumi.set(__self__, "secondary_connection_string", secondary_connection_string)
43
+ if secondary_key and not isinstance(secondary_key, str):
44
+ raise TypeError("Expected argument 'secondary_key' to be a str")
45
+ pulumi.set(__self__, "secondary_key", secondary_key)
46
+
47
+ @property
48
+ @pulumi.getter(name="aliasPrimaryConnectionString")
49
+ def alias_primary_connection_string(self) -> str:
50
+ """
51
+ Primary connection string of the alias if GEO DR is enabled
52
+ """
53
+ return pulumi.get(self, "alias_primary_connection_string")
54
+
55
+ @property
56
+ @pulumi.getter(name="aliasSecondaryConnectionString")
57
+ def alias_secondary_connection_string(self) -> str:
58
+ """
59
+ Secondary connection string of the alias if GEO DR is enabled
60
+ """
61
+ return pulumi.get(self, "alias_secondary_connection_string")
62
+
63
+ @property
64
+ @pulumi.getter(name="keyName")
65
+ def key_name(self) -> str:
66
+ """
67
+ A string that describes the AuthorizationRule.
68
+ """
69
+ return pulumi.get(self, "key_name")
70
+
71
+ @property
72
+ @pulumi.getter(name="primaryConnectionString")
73
+ def primary_connection_string(self) -> str:
74
+ """
75
+ Primary connection string of the created namespace AuthorizationRule.
76
+ """
77
+ return pulumi.get(self, "primary_connection_string")
78
+
79
+ @property
80
+ @pulumi.getter(name="primaryKey")
81
+ def primary_key(self) -> str:
82
+ """
83
+ A base64-encoded 256-bit primary key for signing and validating the SAS token.
84
+ """
85
+ return pulumi.get(self, "primary_key")
86
+
87
+ @property
88
+ @pulumi.getter(name="secondaryConnectionString")
89
+ def secondary_connection_string(self) -> str:
90
+ """
91
+ Secondary connection string of the created namespace AuthorizationRule.
92
+ """
93
+ return pulumi.get(self, "secondary_connection_string")
94
+
95
+ @property
96
+ @pulumi.getter(name="secondaryKey")
97
+ def secondary_key(self) -> str:
98
+ """
99
+ A base64-encoded 256-bit primary key for signing and validating the SAS token.
100
+ """
101
+ return pulumi.get(self, "secondary_key")
102
+
103
+
104
+ class AwaitableListNamespaceKeysResult(ListNamespaceKeysResult):
105
+ # pylint: disable=using-constant-test
106
+ def __await__(self):
107
+ if False:
108
+ yield self
109
+ return ListNamespaceKeysResult(
110
+ alias_primary_connection_string=self.alias_primary_connection_string,
111
+ alias_secondary_connection_string=self.alias_secondary_connection_string,
112
+ key_name=self.key_name,
113
+ primary_connection_string=self.primary_connection_string,
114
+ primary_key=self.primary_key,
115
+ secondary_connection_string=self.secondary_connection_string,
116
+ secondary_key=self.secondary_key)
117
+
118
+
119
+ def list_namespace_keys(authorization_rule_name: Optional[str] = None,
120
+ namespace_name: Optional[str] = None,
121
+ resource_group_name: Optional[str] = None,
122
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableListNamespaceKeysResult:
123
+ """
124
+ Gets the primary and secondary connection strings for the Namespace.
125
+
126
+
127
+ :param str authorization_rule_name: The authorization rule name.
128
+ :param str namespace_name: The Namespace name
129
+ :param str resource_group_name: Name of the resource group within the azure subscription.
130
+ """
131
+ __args__ = dict()
132
+ __args__['authorizationRuleName'] = authorization_rule_name
133
+ __args__['namespaceName'] = namespace_name
134
+ __args__['resourceGroupName'] = resource_group_name
135
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
136
+ __ret__ = pulumi.runtime.invoke('azure-native:eventhub/v20240101:listNamespaceKeys', __args__, opts=opts, typ=ListNamespaceKeysResult).value
137
+
138
+ return AwaitableListNamespaceKeysResult(
139
+ alias_primary_connection_string=pulumi.get(__ret__, 'alias_primary_connection_string'),
140
+ alias_secondary_connection_string=pulumi.get(__ret__, 'alias_secondary_connection_string'),
141
+ key_name=pulumi.get(__ret__, 'key_name'),
142
+ primary_connection_string=pulumi.get(__ret__, 'primary_connection_string'),
143
+ primary_key=pulumi.get(__ret__, 'primary_key'),
144
+ secondary_connection_string=pulumi.get(__ret__, 'secondary_connection_string'),
145
+ secondary_key=pulumi.get(__ret__, 'secondary_key'))
146
+
147
+
148
+ @_utilities.lift_output_func(list_namespace_keys)
149
+ def list_namespace_keys_output(authorization_rule_name: Optional[pulumi.Input[str]] = None,
150
+ namespace_name: Optional[pulumi.Input[str]] = None,
151
+ resource_group_name: Optional[pulumi.Input[str]] = None,
152
+ opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[ListNamespaceKeysResult]:
153
+ """
154
+ Gets the primary and secondary connection strings for the Namespace.
155
+
156
+
157
+ :param str authorization_rule_name: The authorization rule name.
158
+ :param str namespace_name: The Namespace name
159
+ :param str resource_group_name: Name of the resource group within the azure subscription.
160
+ """
161
+ ...