pulumi-azure-native 2.18.0__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.18.0.dist-info → pulumi_azure_native-2.18.1a1700572187.dist-info}/METADATA +1 -1
  154. {pulumi_azure_native-2.18.0.dist-info → pulumi_azure_native-2.18.1a1700572187.dist-info}/RECORD +156 -90
  155. {pulumi_azure_native-2.18.0.dist-info → pulumi_azure_native-2.18.1a1700572187.dist-info}/WHEEL +0 -0
  156. {pulumi_azure_native-2.18.0.dist-info → pulumi_azure_native-2.18.1a1700572187.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,265 @@
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
+
13
+ __all__ = ['ConsumerGroupArgs', 'ConsumerGroup']
14
+
15
+ @pulumi.input_type
16
+ class ConsumerGroupArgs:
17
+ def __init__(__self__, *,
18
+ event_hub_name: pulumi.Input[str],
19
+ namespace_name: pulumi.Input[str],
20
+ resource_group_name: pulumi.Input[str],
21
+ consumer_group_name: Optional[pulumi.Input[str]] = None,
22
+ user_metadata: Optional[pulumi.Input[str]] = None):
23
+ """
24
+ The set of arguments for constructing a ConsumerGroup resource.
25
+ :param pulumi.Input[str] event_hub_name: The Event Hub name
26
+ :param pulumi.Input[str] namespace_name: The Namespace name
27
+ :param pulumi.Input[str] resource_group_name: Name of the resource group within the azure subscription.
28
+ :param pulumi.Input[str] consumer_group_name: The consumer group name
29
+ :param pulumi.Input[str] user_metadata: User Metadata is a placeholder to store user-defined string data with maximum length 1024. e.g. it can be used to store descriptive data, such as list of teams and their contact information also user-defined configuration settings can be stored.
30
+ """
31
+ pulumi.set(__self__, "event_hub_name", event_hub_name)
32
+ pulumi.set(__self__, "namespace_name", namespace_name)
33
+ pulumi.set(__self__, "resource_group_name", resource_group_name)
34
+ if consumer_group_name is not None:
35
+ pulumi.set(__self__, "consumer_group_name", consumer_group_name)
36
+ if user_metadata is not None:
37
+ pulumi.set(__self__, "user_metadata", user_metadata)
38
+
39
+ @property
40
+ @pulumi.getter(name="eventHubName")
41
+ def event_hub_name(self) -> pulumi.Input[str]:
42
+ """
43
+ The Event Hub name
44
+ """
45
+ return pulumi.get(self, "event_hub_name")
46
+
47
+ @event_hub_name.setter
48
+ def event_hub_name(self, value: pulumi.Input[str]):
49
+ pulumi.set(self, "event_hub_name", value)
50
+
51
+ @property
52
+ @pulumi.getter(name="namespaceName")
53
+ def namespace_name(self) -> pulumi.Input[str]:
54
+ """
55
+ The Namespace name
56
+ """
57
+ return pulumi.get(self, "namespace_name")
58
+
59
+ @namespace_name.setter
60
+ def namespace_name(self, value: pulumi.Input[str]):
61
+ pulumi.set(self, "namespace_name", value)
62
+
63
+ @property
64
+ @pulumi.getter(name="resourceGroupName")
65
+ def resource_group_name(self) -> pulumi.Input[str]:
66
+ """
67
+ Name of the resource group within the azure subscription.
68
+ """
69
+ return pulumi.get(self, "resource_group_name")
70
+
71
+ @resource_group_name.setter
72
+ def resource_group_name(self, value: pulumi.Input[str]):
73
+ pulumi.set(self, "resource_group_name", value)
74
+
75
+ @property
76
+ @pulumi.getter(name="consumerGroupName")
77
+ def consumer_group_name(self) -> Optional[pulumi.Input[str]]:
78
+ """
79
+ The consumer group name
80
+ """
81
+ return pulumi.get(self, "consumer_group_name")
82
+
83
+ @consumer_group_name.setter
84
+ def consumer_group_name(self, value: Optional[pulumi.Input[str]]):
85
+ pulumi.set(self, "consumer_group_name", value)
86
+
87
+ @property
88
+ @pulumi.getter(name="userMetadata")
89
+ def user_metadata(self) -> Optional[pulumi.Input[str]]:
90
+ """
91
+ User Metadata is a placeholder to store user-defined string data with maximum length 1024. e.g. it can be used to store descriptive data, such as list of teams and their contact information also user-defined configuration settings can be stored.
92
+ """
93
+ return pulumi.get(self, "user_metadata")
94
+
95
+ @user_metadata.setter
96
+ def user_metadata(self, value: Optional[pulumi.Input[str]]):
97
+ pulumi.set(self, "user_metadata", value)
98
+
99
+
100
+ class ConsumerGroup(pulumi.CustomResource):
101
+ @overload
102
+ def __init__(__self__,
103
+ resource_name: str,
104
+ opts: Optional[pulumi.ResourceOptions] = None,
105
+ consumer_group_name: Optional[pulumi.Input[str]] = None,
106
+ event_hub_name: Optional[pulumi.Input[str]] = None,
107
+ namespace_name: Optional[pulumi.Input[str]] = None,
108
+ resource_group_name: Optional[pulumi.Input[str]] = None,
109
+ user_metadata: Optional[pulumi.Input[str]] = None,
110
+ __props__=None):
111
+ """
112
+ Single item in List or Get Consumer group operation
113
+
114
+ :param str resource_name: The name of the resource.
115
+ :param pulumi.ResourceOptions opts: Options for the resource.
116
+ :param pulumi.Input[str] consumer_group_name: The consumer group name
117
+ :param pulumi.Input[str] event_hub_name: The Event Hub name
118
+ :param pulumi.Input[str] namespace_name: The Namespace name
119
+ :param pulumi.Input[str] resource_group_name: Name of the resource group within the azure subscription.
120
+ :param pulumi.Input[str] user_metadata: User Metadata is a placeholder to store user-defined string data with maximum length 1024. e.g. it can be used to store descriptive data, such as list of teams and their contact information also user-defined configuration settings can be stored.
121
+ """
122
+ ...
123
+ @overload
124
+ def __init__(__self__,
125
+ resource_name: str,
126
+ args: ConsumerGroupArgs,
127
+ opts: Optional[pulumi.ResourceOptions] = None):
128
+ """
129
+ Single item in List or Get Consumer group operation
130
+
131
+ :param str resource_name: The name of the resource.
132
+ :param ConsumerGroupArgs args: The arguments to use to populate this resource's properties.
133
+ :param pulumi.ResourceOptions opts: Options for the resource.
134
+ """
135
+ ...
136
+ def __init__(__self__, resource_name: str, *args, **kwargs):
137
+ resource_args, opts = _utilities.get_resource_args_opts(ConsumerGroupArgs, pulumi.ResourceOptions, *args, **kwargs)
138
+ if resource_args is not None:
139
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
140
+ else:
141
+ __self__._internal_init(resource_name, *args, **kwargs)
142
+
143
+ def _internal_init(__self__,
144
+ resource_name: str,
145
+ opts: Optional[pulumi.ResourceOptions] = None,
146
+ consumer_group_name: Optional[pulumi.Input[str]] = None,
147
+ event_hub_name: Optional[pulumi.Input[str]] = None,
148
+ namespace_name: Optional[pulumi.Input[str]] = None,
149
+ resource_group_name: Optional[pulumi.Input[str]] = None,
150
+ user_metadata: Optional[pulumi.Input[str]] = None,
151
+ __props__=None):
152
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
153
+ if not isinstance(opts, pulumi.ResourceOptions):
154
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
155
+ if opts.id is None:
156
+ if __props__ is not None:
157
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
158
+ __props__ = ConsumerGroupArgs.__new__(ConsumerGroupArgs)
159
+
160
+ __props__.__dict__["consumer_group_name"] = consumer_group_name
161
+ if event_hub_name is None and not opts.urn:
162
+ raise TypeError("Missing required property 'event_hub_name'")
163
+ __props__.__dict__["event_hub_name"] = event_hub_name
164
+ if namespace_name is None and not opts.urn:
165
+ raise TypeError("Missing required property 'namespace_name'")
166
+ __props__.__dict__["namespace_name"] = namespace_name
167
+ if resource_group_name is None and not opts.urn:
168
+ raise TypeError("Missing required property 'resource_group_name'")
169
+ __props__.__dict__["resource_group_name"] = resource_group_name
170
+ __props__.__dict__["user_metadata"] = user_metadata
171
+ __props__.__dict__["created_at"] = None
172
+ __props__.__dict__["location"] = None
173
+ __props__.__dict__["name"] = None
174
+ __props__.__dict__["system_data"] = None
175
+ __props__.__dict__["type"] = None
176
+ __props__.__dict__["updated_at"] = None
177
+ alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:eventhub:ConsumerGroup"), pulumi.Alias(type_="azure-native:eventhub/v20140901:ConsumerGroup"), pulumi.Alias(type_="azure-native:eventhub/v20150801:ConsumerGroup"), pulumi.Alias(type_="azure-native:eventhub/v20170401:ConsumerGroup"), pulumi.Alias(type_="azure-native:eventhub/v20180101preview:ConsumerGroup"), pulumi.Alias(type_="azure-native:eventhub/v20210101preview:ConsumerGroup"), pulumi.Alias(type_="azure-native:eventhub/v20210601preview:ConsumerGroup"), pulumi.Alias(type_="azure-native:eventhub/v20211101:ConsumerGroup"), pulumi.Alias(type_="azure-native:eventhub/v20220101preview:ConsumerGroup"), pulumi.Alias(type_="azure-native:eventhub/v20221001preview:ConsumerGroup"), pulumi.Alias(type_="azure-native:eventhub/v20230101preview:ConsumerGroup")])
178
+ opts = pulumi.ResourceOptions.merge(opts, alias_opts)
179
+ super(ConsumerGroup, __self__).__init__(
180
+ 'azure-native:eventhub/v20240101:ConsumerGroup',
181
+ resource_name,
182
+ __props__,
183
+ opts)
184
+
185
+ @staticmethod
186
+ def get(resource_name: str,
187
+ id: pulumi.Input[str],
188
+ opts: Optional[pulumi.ResourceOptions] = None) -> 'ConsumerGroup':
189
+ """
190
+ Get an existing ConsumerGroup resource's state with the given name, id, and optional extra
191
+ properties used to qualify the lookup.
192
+
193
+ :param str resource_name: The unique name of the resulting resource.
194
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
195
+ :param pulumi.ResourceOptions opts: Options for the resource.
196
+ """
197
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
198
+
199
+ __props__ = ConsumerGroupArgs.__new__(ConsumerGroupArgs)
200
+
201
+ __props__.__dict__["created_at"] = None
202
+ __props__.__dict__["location"] = None
203
+ __props__.__dict__["name"] = None
204
+ __props__.__dict__["system_data"] = None
205
+ __props__.__dict__["type"] = None
206
+ __props__.__dict__["updated_at"] = None
207
+ __props__.__dict__["user_metadata"] = None
208
+ return ConsumerGroup(resource_name, opts=opts, __props__=__props__)
209
+
210
+ @property
211
+ @pulumi.getter(name="createdAt")
212
+ def created_at(self) -> pulumi.Output[str]:
213
+ """
214
+ Exact time the message was created.
215
+ """
216
+ return pulumi.get(self, "created_at")
217
+
218
+ @property
219
+ @pulumi.getter
220
+ def location(self) -> pulumi.Output[str]:
221
+ """
222
+ The geo-location where the resource lives
223
+ """
224
+ return pulumi.get(self, "location")
225
+
226
+ @property
227
+ @pulumi.getter
228
+ def name(self) -> pulumi.Output[str]:
229
+ """
230
+ The name of the resource
231
+ """
232
+ return pulumi.get(self, "name")
233
+
234
+ @property
235
+ @pulumi.getter(name="systemData")
236
+ def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']:
237
+ """
238
+ The system meta data relating to this resource.
239
+ """
240
+ return pulumi.get(self, "system_data")
241
+
242
+ @property
243
+ @pulumi.getter
244
+ def type(self) -> pulumi.Output[str]:
245
+ """
246
+ The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"
247
+ """
248
+ return pulumi.get(self, "type")
249
+
250
+ @property
251
+ @pulumi.getter(name="updatedAt")
252
+ def updated_at(self) -> pulumi.Output[str]:
253
+ """
254
+ The exact time the message was updated.
255
+ """
256
+ return pulumi.get(self, "updated_at")
257
+
258
+ @property
259
+ @pulumi.getter(name="userMetadata")
260
+ def user_metadata(self) -> pulumi.Output[Optional[str]]:
261
+ """
262
+ User Metadata is a placeholder to store user-defined string data with maximum length 1024. e.g. it can be used to store descriptive data, such as list of teams and their contact information also user-defined configuration settings can be stored.
263
+ """
264
+ return pulumi.get(self, "user_metadata")
265
+
@@ -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
+
13
+ __all__ = ['DisasterRecoveryConfigArgs', 'DisasterRecoveryConfig']
14
+
15
+ @pulumi.input_type
16
+ class DisasterRecoveryConfigArgs:
17
+ def __init__(__self__, *,
18
+ namespace_name: pulumi.Input[str],
19
+ resource_group_name: pulumi.Input[str],
20
+ alias: Optional[pulumi.Input[str]] = None,
21
+ alternate_name: Optional[pulumi.Input[str]] = None,
22
+ partner_namespace: Optional[pulumi.Input[str]] = None):
23
+ """
24
+ The set of arguments for constructing a DisasterRecoveryConfig 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[str] alias: The Disaster Recovery configuration name
28
+ :param pulumi.Input[str] alternate_name: Alternate name specified when alias and namespace names are same.
29
+ :param pulumi.Input[str] partner_namespace: ARM Id of the Primary/Secondary eventhub namespace name, which is part of GEO DR pairing
30
+ """
31
+ pulumi.set(__self__, "namespace_name", namespace_name)
32
+ pulumi.set(__self__, "resource_group_name", resource_group_name)
33
+ if alias is not None:
34
+ pulumi.set(__self__, "alias", alias)
35
+ if alternate_name is not None:
36
+ pulumi.set(__self__, "alternate_name", alternate_name)
37
+ if partner_namespace is not None:
38
+ pulumi.set(__self__, "partner_namespace", partner_namespace)
39
+
40
+ @property
41
+ @pulumi.getter(name="namespaceName")
42
+ def namespace_name(self) -> pulumi.Input[str]:
43
+ """
44
+ The Namespace name
45
+ """
46
+ return pulumi.get(self, "namespace_name")
47
+
48
+ @namespace_name.setter
49
+ def namespace_name(self, value: pulumi.Input[str]):
50
+ pulumi.set(self, "namespace_name", value)
51
+
52
+ @property
53
+ @pulumi.getter(name="resourceGroupName")
54
+ def resource_group_name(self) -> pulumi.Input[str]:
55
+ """
56
+ Name of the resource group within the azure subscription.
57
+ """
58
+ return pulumi.get(self, "resource_group_name")
59
+
60
+ @resource_group_name.setter
61
+ def resource_group_name(self, value: pulumi.Input[str]):
62
+ pulumi.set(self, "resource_group_name", value)
63
+
64
+ @property
65
+ @pulumi.getter
66
+ def alias(self) -> Optional[pulumi.Input[str]]:
67
+ """
68
+ The Disaster Recovery configuration name
69
+ """
70
+ return pulumi.get(self, "alias")
71
+
72
+ @alias.setter
73
+ def alias(self, value: Optional[pulumi.Input[str]]):
74
+ pulumi.set(self, "alias", value)
75
+
76
+ @property
77
+ @pulumi.getter(name="alternateName")
78
+ def alternate_name(self) -> Optional[pulumi.Input[str]]:
79
+ """
80
+ Alternate name specified when alias and namespace names are same.
81
+ """
82
+ return pulumi.get(self, "alternate_name")
83
+
84
+ @alternate_name.setter
85
+ def alternate_name(self, value: Optional[pulumi.Input[str]]):
86
+ pulumi.set(self, "alternate_name", value)
87
+
88
+ @property
89
+ @pulumi.getter(name="partnerNamespace")
90
+ def partner_namespace(self) -> Optional[pulumi.Input[str]]:
91
+ """
92
+ ARM Id of the Primary/Secondary eventhub namespace name, which is part of GEO DR pairing
93
+ """
94
+ return pulumi.get(self, "partner_namespace")
95
+
96
+ @partner_namespace.setter
97
+ def partner_namespace(self, value: Optional[pulumi.Input[str]]):
98
+ pulumi.set(self, "partner_namespace", value)
99
+
100
+
101
+ class DisasterRecoveryConfig(pulumi.CustomResource):
102
+ @overload
103
+ def __init__(__self__,
104
+ resource_name: str,
105
+ opts: Optional[pulumi.ResourceOptions] = None,
106
+ alias: Optional[pulumi.Input[str]] = None,
107
+ alternate_name: Optional[pulumi.Input[str]] = None,
108
+ namespace_name: Optional[pulumi.Input[str]] = None,
109
+ partner_namespace: Optional[pulumi.Input[str]] = None,
110
+ resource_group_name: Optional[pulumi.Input[str]] = None,
111
+ __props__=None):
112
+ """
113
+ Single item in List or Get Alias(Disaster Recovery configuration) operation
114
+
115
+ :param str resource_name: The name of the resource.
116
+ :param pulumi.ResourceOptions opts: Options for the resource.
117
+ :param pulumi.Input[str] alias: The Disaster Recovery configuration name
118
+ :param pulumi.Input[str] alternate_name: Alternate name specified when alias and namespace names are same.
119
+ :param pulumi.Input[str] namespace_name: The Namespace name
120
+ :param pulumi.Input[str] partner_namespace: ARM Id of the Primary/Secondary eventhub namespace name, which is part of GEO DR pairing
121
+ :param pulumi.Input[str] resource_group_name: Name of the resource group within the azure subscription.
122
+ """
123
+ ...
124
+ @overload
125
+ def __init__(__self__,
126
+ resource_name: str,
127
+ args: DisasterRecoveryConfigArgs,
128
+ opts: Optional[pulumi.ResourceOptions] = None):
129
+ """
130
+ Single item in List or Get Alias(Disaster Recovery configuration) operation
131
+
132
+ :param str resource_name: The name of the resource.
133
+ :param DisasterRecoveryConfigArgs args: The arguments to use to populate this resource's properties.
134
+ :param pulumi.ResourceOptions opts: Options for the resource.
135
+ """
136
+ ...
137
+ def __init__(__self__, resource_name: str, *args, **kwargs):
138
+ resource_args, opts = _utilities.get_resource_args_opts(DisasterRecoveryConfigArgs, pulumi.ResourceOptions, *args, **kwargs)
139
+ if resource_args is not None:
140
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
141
+ else:
142
+ __self__._internal_init(resource_name, *args, **kwargs)
143
+
144
+ def _internal_init(__self__,
145
+ resource_name: str,
146
+ opts: Optional[pulumi.ResourceOptions] = None,
147
+ alias: Optional[pulumi.Input[str]] = None,
148
+ alternate_name: Optional[pulumi.Input[str]] = None,
149
+ namespace_name: Optional[pulumi.Input[str]] = None,
150
+ partner_namespace: Optional[pulumi.Input[str]] = None,
151
+ resource_group_name: Optional[pulumi.Input[str]] = None,
152
+ __props__=None):
153
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
154
+ if not isinstance(opts, pulumi.ResourceOptions):
155
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
156
+ if opts.id is None:
157
+ if __props__ is not None:
158
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
159
+ __props__ = DisasterRecoveryConfigArgs.__new__(DisasterRecoveryConfigArgs)
160
+
161
+ __props__.__dict__["alias"] = alias
162
+ __props__.__dict__["alternate_name"] = alternate_name
163
+ if namespace_name is None and not opts.urn:
164
+ raise TypeError("Missing required property 'namespace_name'")
165
+ __props__.__dict__["namespace_name"] = namespace_name
166
+ __props__.__dict__["partner_namespace"] = partner_namespace
167
+ if resource_group_name is None and not opts.urn:
168
+ raise TypeError("Missing required property 'resource_group_name'")
169
+ __props__.__dict__["resource_group_name"] = resource_group_name
170
+ __props__.__dict__["location"] = None
171
+ __props__.__dict__["name"] = None
172
+ __props__.__dict__["pending_replication_operations_count"] = None
173
+ __props__.__dict__["provisioning_state"] = None
174
+ __props__.__dict__["role"] = None
175
+ __props__.__dict__["system_data"] = None
176
+ __props__.__dict__["type"] = None
177
+ alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:eventhub:DisasterRecoveryConfig"), pulumi.Alias(type_="azure-native:eventhub/v20170401:DisasterRecoveryConfig"), pulumi.Alias(type_="azure-native:eventhub/v20180101preview:DisasterRecoveryConfig"), pulumi.Alias(type_="azure-native:eventhub/v20210101preview:DisasterRecoveryConfig"), pulumi.Alias(type_="azure-native:eventhub/v20210601preview:DisasterRecoveryConfig"), pulumi.Alias(type_="azure-native:eventhub/v20211101:DisasterRecoveryConfig"), pulumi.Alias(type_="azure-native:eventhub/v20220101preview:DisasterRecoveryConfig"), pulumi.Alias(type_="azure-native:eventhub/v20221001preview:DisasterRecoveryConfig"), pulumi.Alias(type_="azure-native:eventhub/v20230101preview:DisasterRecoveryConfig")])
178
+ opts = pulumi.ResourceOptions.merge(opts, alias_opts)
179
+ super(DisasterRecoveryConfig, __self__).__init__(
180
+ 'azure-native:eventhub/v20240101:DisasterRecoveryConfig',
181
+ resource_name,
182
+ __props__,
183
+ opts)
184
+
185
+ @staticmethod
186
+ def get(resource_name: str,
187
+ id: pulumi.Input[str],
188
+ opts: Optional[pulumi.ResourceOptions] = None) -> 'DisasterRecoveryConfig':
189
+ """
190
+ Get an existing DisasterRecoveryConfig resource's state with the given name, id, and optional extra
191
+ properties used to qualify the lookup.
192
+
193
+ :param str resource_name: The unique name of the resulting resource.
194
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
195
+ :param pulumi.ResourceOptions opts: Options for the resource.
196
+ """
197
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
198
+
199
+ __props__ = DisasterRecoveryConfigArgs.__new__(DisasterRecoveryConfigArgs)
200
+
201
+ __props__.__dict__["alternate_name"] = None
202
+ __props__.__dict__["location"] = None
203
+ __props__.__dict__["name"] = None
204
+ __props__.__dict__["partner_namespace"] = None
205
+ __props__.__dict__["pending_replication_operations_count"] = None
206
+ __props__.__dict__["provisioning_state"] = None
207
+ __props__.__dict__["role"] = None
208
+ __props__.__dict__["system_data"] = None
209
+ __props__.__dict__["type"] = None
210
+ return DisasterRecoveryConfig(resource_name, opts=opts, __props__=__props__)
211
+
212
+ @property
213
+ @pulumi.getter(name="alternateName")
214
+ def alternate_name(self) -> pulumi.Output[Optional[str]]:
215
+ """
216
+ Alternate name specified when alias and namespace names are same.
217
+ """
218
+ return pulumi.get(self, "alternate_name")
219
+
220
+ @property
221
+ @pulumi.getter
222
+ def location(self) -> pulumi.Output[str]:
223
+ """
224
+ The geo-location where the resource lives
225
+ """
226
+ return pulumi.get(self, "location")
227
+
228
+ @property
229
+ @pulumi.getter
230
+ def name(self) -> pulumi.Output[str]:
231
+ """
232
+ The name of the resource
233
+ """
234
+ return pulumi.get(self, "name")
235
+
236
+ @property
237
+ @pulumi.getter(name="partnerNamespace")
238
+ def partner_namespace(self) -> pulumi.Output[Optional[str]]:
239
+ """
240
+ ARM Id of the Primary/Secondary eventhub namespace name, which is part of GEO DR pairing
241
+ """
242
+ return pulumi.get(self, "partner_namespace")
243
+
244
+ @property
245
+ @pulumi.getter(name="pendingReplicationOperationsCount")
246
+ def pending_replication_operations_count(self) -> pulumi.Output[float]:
247
+ """
248
+ Number of entities pending to be replicated.
249
+ """
250
+ return pulumi.get(self, "pending_replication_operations_count")
251
+
252
+ @property
253
+ @pulumi.getter(name="provisioningState")
254
+ def provisioning_state(self) -> pulumi.Output[str]:
255
+ """
256
+ Provisioning state of the Alias(Disaster Recovery configuration) - possible values 'Accepted' or 'Succeeded' or 'Failed'
257
+ """
258
+ return pulumi.get(self, "provisioning_state")
259
+
260
+ @property
261
+ @pulumi.getter
262
+ def role(self) -> pulumi.Output[str]:
263
+ """
264
+ role of namespace in GEO DR - possible values 'Primary' or 'PrimaryNotReplicating' or 'Secondary'
265
+ """
266
+ return pulumi.get(self, "role")
267
+
268
+ @property
269
+ @pulumi.getter(name="systemData")
270
+ def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']:
271
+ """
272
+ The system meta data relating to this resource.
273
+ """
274
+ return pulumi.get(self, "system_data")
275
+
276
+ @property
277
+ @pulumi.getter
278
+ def type(self) -> pulumi.Output[str]:
279
+ """
280
+ The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"
281
+ """
282
+ return pulumi.get(self, "type")
283
+