pulumi-aiven 6.13.0a1710156545__py3-none-any.whl → 6.31.0a1736849214__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-aiven might be problematic. Click here for more details.

Files changed (168) hide show
  1. pulumi_aiven/__init__.py +127 -0
  2. pulumi_aiven/_inputs.py +32615 -13711
  3. pulumi_aiven/_utilities.py +41 -5
  4. pulumi_aiven/account.py +32 -45
  5. pulumi_aiven/account_authentication.py +24 -9
  6. pulumi_aiven/account_team.py +35 -14
  7. pulumi_aiven/account_team_member.py +48 -39
  8. pulumi_aiven/account_team_project.py +40 -27
  9. pulumi_aiven/alloydbomni.py +1335 -0
  10. pulumi_aiven/alloydbomni_database.py +347 -0
  11. pulumi_aiven/alloydbomni_user.py +433 -0
  12. pulumi_aiven/aws_privatelink.py +44 -43
  13. pulumi_aiven/aws_vpc_peering_connection.py +72 -61
  14. pulumi_aiven/azure_privatelink.py +54 -53
  15. pulumi_aiven/azure_privatelink_connection_approval.py +136 -33
  16. pulumi_aiven/azure_vpc_peering_connection.py +86 -77
  17. pulumi_aiven/billing_group.py +33 -34
  18. pulumi_aiven/cassandra.py +145 -126
  19. pulumi_aiven/cassandra_user.py +59 -58
  20. pulumi_aiven/clickhouse.py +133 -114
  21. pulumi_aiven/clickhouse_database.py +58 -62
  22. pulumi_aiven/clickhouse_grant.py +135 -134
  23. pulumi_aiven/clickhouse_role.py +36 -49
  24. pulumi_aiven/clickhouse_user.py +50 -49
  25. pulumi_aiven/config/__init__.pyi +5 -0
  26. pulumi_aiven/config/vars.py +5 -0
  27. pulumi_aiven/connection_pool.py +67 -66
  28. pulumi_aiven/dragonfly.py +1256 -0
  29. pulumi_aiven/flink.py +104 -104
  30. pulumi_aiven/flink_application.py +58 -55
  31. pulumi_aiven/flink_application_deployment.py +178 -73
  32. pulumi_aiven/flink_application_version.py +179 -96
  33. pulumi_aiven/gcp_privatelink.py +69 -42
  34. pulumi_aiven/gcp_privatelink_connection_approval.py +78 -49
  35. pulumi_aiven/gcp_vpc_peering_connection.py +49 -48
  36. pulumi_aiven/get_account.py +20 -9
  37. pulumi_aiven/get_account_authentication.py +31 -5
  38. pulumi_aiven/get_account_team.py +18 -5
  39. pulumi_aiven/get_account_team_member.py +29 -14
  40. pulumi_aiven/get_account_team_project.py +19 -6
  41. pulumi_aiven/get_alloydbomni.py +499 -0
  42. pulumi_aiven/get_alloydbomni_database.py +168 -0
  43. pulumi_aiven/get_alloydbomni_user.py +210 -0
  44. pulumi_aiven/get_aws_privatelink.py +33 -24
  45. pulumi_aiven/get_aws_vpc_peering_connection.py +56 -33
  46. pulumi_aiven/get_azure_privatelink.py +37 -26
  47. pulumi_aiven/get_azure_vpc_peering_connection.py +77 -28
  48. pulumi_aiven/get_billing_group.py +31 -8
  49. pulumi_aiven/get_cassanda.py +55 -23
  50. pulumi_aiven/get_cassandra.py +55 -23
  51. pulumi_aiven/get_cassandra_user.py +42 -30
  52. pulumi_aiven/get_clickhouse.py +55 -23
  53. pulumi_aiven/get_clickhouse_database.py +35 -26
  54. pulumi_aiven/get_clickhouse_user.py +40 -29
  55. pulumi_aiven/get_connection_pool.py +43 -30
  56. pulumi_aiven/get_dragonfly.py +499 -0
  57. pulumi_aiven/get_external_identity.py +160 -0
  58. pulumi_aiven/get_flink.py +55 -23
  59. pulumi_aiven/get_flink_application.py +44 -31
  60. pulumi_aiven/get_flink_application_version.py +55 -37
  61. pulumi_aiven/get_gcp_privatelink.py +63 -7
  62. pulumi_aiven/get_gcp_vpc_peering_connection.py +39 -28
  63. pulumi_aiven/get_grafana.py +55 -23
  64. pulumi_aiven/get_influx_db.py +41 -5
  65. pulumi_aiven/get_influxdb_database.py +18 -5
  66. pulumi_aiven/get_influxdb_user.py +21 -5
  67. pulumi_aiven/get_kafka.py +59 -25
  68. pulumi_aiven/get_kafka_acl.py +50 -37
  69. pulumi_aiven/get_kafka_connect.py +54 -36
  70. pulumi_aiven/get_kafka_connector.py +44 -28
  71. pulumi_aiven/get_kafka_mirror_maker.py +50 -32
  72. pulumi_aiven/get_kafka_schema.py +35 -23
  73. pulumi_aiven/get_kafka_schema_configuration.py +32 -21
  74. pulumi_aiven/get_kafka_schema_registry_acl.py +37 -20
  75. pulumi_aiven/get_kafka_topic.py +70 -29
  76. pulumi_aiven/get_kafka_user.py +42 -30
  77. pulumi_aiven/get_m3_aggregator.py +51 -19
  78. pulumi_aiven/get_m3_db.py +55 -23
  79. pulumi_aiven/get_m3db_user.py +38 -28
  80. pulumi_aiven/get_mirror_maker_replication_flow.py +86 -25
  81. pulumi_aiven/get_my_sql.py +50 -18
  82. pulumi_aiven/get_mysql_database.py +31 -22
  83. pulumi_aiven/get_mysql_user.py +36 -23
  84. pulumi_aiven/get_open_search.py +50 -18
  85. pulumi_aiven/get_open_search_acl_config.py +27 -19
  86. pulumi_aiven/get_open_search_acl_rule.py +37 -25
  87. pulumi_aiven/get_opensearch_security_plugin_config.py +29 -19
  88. pulumi_aiven/get_opensearch_user.py +32 -22
  89. pulumi_aiven/get_organization.py +25 -17
  90. pulumi_aiven/get_organization_application_user.py +176 -0
  91. pulumi_aiven/get_organization_user.py +18 -5
  92. pulumi_aiven/get_organization_user_group.py +48 -14
  93. pulumi_aiven/get_organization_user_list.py +121 -0
  94. pulumi_aiven/get_organizational_unit.py +26 -14
  95. pulumi_aiven/get_pg.py +55 -23
  96. pulumi_aiven/get_pg_database.py +39 -28
  97. pulumi_aiven/get_pg_user.py +44 -31
  98. pulumi_aiven/get_project.py +43 -26
  99. pulumi_aiven/get_project_user.py +27 -19
  100. pulumi_aiven/get_project_vpc.py +31 -23
  101. pulumi_aiven/get_redis.py +50 -18
  102. pulumi_aiven/get_redis_user.py +40 -26
  103. pulumi_aiven/get_service_component.py +40 -22
  104. pulumi_aiven/get_service_integration.py +163 -53
  105. pulumi_aiven/get_service_integration_endpoint.py +128 -37
  106. pulumi_aiven/get_thanos.py +499 -0
  107. pulumi_aiven/get_transit_gateway_vpc_attachment.py +35 -22
  108. pulumi_aiven/get_valkey.py +499 -0
  109. pulumi_aiven/get_valkey_user.py +218 -0
  110. pulumi_aiven/grafana.py +188 -322
  111. pulumi_aiven/influx_db.py +127 -90
  112. pulumi_aiven/influxdb_database.py +40 -55
  113. pulumi_aiven/influxdb_user.py +47 -42
  114. pulumi_aiven/kafka.py +157 -144
  115. pulumi_aiven/kafka_acl.py +64 -57
  116. pulumi_aiven/kafka_connect.py +201 -332
  117. pulumi_aiven/kafka_connector.py +67 -60
  118. pulumi_aiven/kafka_mirror_maker.py +137 -320
  119. pulumi_aiven/kafka_native_acl.py +588 -0
  120. pulumi_aiven/kafka_schema.py +63 -58
  121. pulumi_aiven/kafka_schema_configuration.py +25 -24
  122. pulumi_aiven/kafka_schema_registry_acl.py +80 -35
  123. pulumi_aiven/kafka_topic.py +184 -65
  124. pulumi_aiven/kafka_user.py +59 -58
  125. pulumi_aiven/m3_aggregator.py +174 -310
  126. pulumi_aiven/m3_db.py +190 -326
  127. pulumi_aiven/m3db_user.py +51 -50
  128. pulumi_aiven/mirror_maker_replication_flow.py +215 -55
  129. pulumi_aiven/my_sql.py +188 -324
  130. pulumi_aiven/mysql_database.py +32 -51
  131. pulumi_aiven/mysql_user.py +37 -36
  132. pulumi_aiven/open_search.py +126 -107
  133. pulumi_aiven/open_search_acl_config.py +33 -36
  134. pulumi_aiven/open_search_acl_rule.py +55 -54
  135. pulumi_aiven/opensearch_security_plugin_config.py +69 -16
  136. pulumi_aiven/opensearch_user.py +30 -29
  137. pulumi_aiven/organization.py +18 -17
  138. pulumi_aiven/organization_application_user.py +345 -0
  139. pulumi_aiven/organization_application_user_token.py +711 -0
  140. pulumi_aiven/organization_group_project.py +349 -0
  141. pulumi_aiven/organization_permission.py +421 -0
  142. pulumi_aiven/organization_user.py +25 -46
  143. pulumi_aiven/organization_user_group.py +64 -23
  144. pulumi_aiven/organization_user_group_member.py +359 -0
  145. pulumi_aiven/organizational_unit.py +41 -36
  146. pulumi_aiven/outputs.py +38355 -21458
  147. pulumi_aiven/pg.py +92 -88
  148. pulumi_aiven/pg_database.py +52 -71
  149. pulumi_aiven/pg_user.py +80 -65
  150. pulumi_aiven/project.py +111 -102
  151. pulumi_aiven/project_user.py +44 -35
  152. pulumi_aiven/project_vpc.py +58 -29
  153. pulumi_aiven/provider.py +5 -0
  154. pulumi_aiven/pulumi-plugin.json +2 -1
  155. pulumi_aiven/redis.py +161 -297
  156. pulumi_aiven/redis_user.py +58 -57
  157. pulumi_aiven/service_integration.py +511 -165
  158. pulumi_aiven/service_integration_endpoint.py +466 -158
  159. pulumi_aiven/static_ip.py +21 -16
  160. pulumi_aiven/thanos.py +1262 -0
  161. pulumi_aiven/transit_gateway_vpc_attachment.py +44 -58
  162. pulumi_aiven/valkey.py +1256 -0
  163. pulumi_aiven/valkey_user.py +606 -0
  164. {pulumi_aiven-6.13.0a1710156545.dist-info → pulumi_aiven-6.31.0a1736849214.dist-info}/METADATA +7 -6
  165. pulumi_aiven-6.31.0a1736849214.dist-info/RECORD +169 -0
  166. {pulumi_aiven-6.13.0a1710156545.dist-info → pulumi_aiven-6.31.0a1736849214.dist-info}/WHEEL +1 -1
  167. pulumi_aiven-6.13.0a1710156545.dist-info/RECORD +0 -146
  168. {pulumi_aiven-6.13.0a1710156545.dist-info → pulumi_aiven-6.31.0a1736849214.dist-info}/top_level.txt +0 -0
@@ -4,9 +4,14 @@
4
4
 
5
5
  import copy
6
6
  import warnings
7
+ import sys
7
8
  import pulumi
8
9
  import pulumi.runtime
9
10
  from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
10
15
  from . import _utilities
11
16
 
12
17
  __all__ = ['AzurePrivatelinkArgs', 'AzurePrivatelink']
@@ -19,9 +24,9 @@ class AzurePrivatelinkArgs:
19
24
  user_subscription_ids: pulumi.Input[Sequence[pulumi.Input[str]]]):
20
25
  """
21
26
  The set of arguments for constructing a AzurePrivatelink resource.
22
- :param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
23
- :param pulumi.Input[str] service_name: Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
24
- :param pulumi.Input[Sequence[pulumi.Input[str]]] user_subscription_ids: A List of allowed Subscription IDs. Maximum length: `16`.
27
+ :param pulumi.Input[str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
28
+ :param pulumi.Input[str] service_name: The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
29
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] user_subscription_ids: A list of allowed subscription IDs. Maximum length: `16`.
25
30
  """
26
31
  pulumi.set(__self__, "project", project)
27
32
  pulumi.set(__self__, "service_name", service_name)
@@ -31,7 +36,7 @@ class AzurePrivatelinkArgs:
31
36
  @pulumi.getter
32
37
  def project(self) -> pulumi.Input[str]:
33
38
  """
34
- Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
39
+ The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
35
40
  """
36
41
  return pulumi.get(self, "project")
37
42
 
@@ -43,7 +48,7 @@ class AzurePrivatelinkArgs:
43
48
  @pulumi.getter(name="serviceName")
44
49
  def service_name(self) -> pulumi.Input[str]:
45
50
  """
46
- Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
51
+ The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
47
52
  """
48
53
  return pulumi.get(self, "service_name")
49
54
 
@@ -55,7 +60,7 @@ class AzurePrivatelinkArgs:
55
60
  @pulumi.getter(name="userSubscriptionIds")
56
61
  def user_subscription_ids(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
57
62
  """
58
- A List of allowed Subscription IDs. Maximum length: `16`.
63
+ A list of allowed subscription IDs. Maximum length: `16`.
59
64
  """
60
65
  return pulumi.get(self, "user_subscription_ids")
61
66
 
@@ -76,13 +81,13 @@ class _AzurePrivatelinkState:
76
81
  user_subscription_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
77
82
  """
78
83
  Input properties used for looking up and filtering AzurePrivatelink resources.
79
- :param pulumi.Input[str] azure_service_alias: Azure Privatelink service alias
80
- :param pulumi.Input[str] azure_service_id: Azure Privatelink service ID
81
- :param pulumi.Input[str] message: Printable result of the Azure Privatelink request
82
- :param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
83
- :param pulumi.Input[str] service_name: Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
84
- :param pulumi.Input[str] state: Privatelink resource state
85
- :param pulumi.Input[Sequence[pulumi.Input[str]]] user_subscription_ids: A List of allowed Subscription IDs. Maximum length: `16`.
84
+ :param pulumi.Input[str] azure_service_alias: The Azure Private Link service alias.
85
+ :param pulumi.Input[str] azure_service_id: The Azure Private Link service ID.
86
+ :param pulumi.Input[str] message: Printable result of the Azure Private Link request.
87
+ :param pulumi.Input[str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
88
+ :param pulumi.Input[str] service_name: The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
89
+ :param pulumi.Input[str] state: The state of the Private Link resource.
90
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] user_subscription_ids: A list of allowed subscription IDs. Maximum length: `16`.
86
91
  """
87
92
  if azure_service_alias is not None:
88
93
  pulumi.set(__self__, "azure_service_alias", azure_service_alias)
@@ -103,7 +108,7 @@ class _AzurePrivatelinkState:
103
108
  @pulumi.getter(name="azureServiceAlias")
104
109
  def azure_service_alias(self) -> Optional[pulumi.Input[str]]:
105
110
  """
106
- Azure Privatelink service alias
111
+ The Azure Private Link service alias.
107
112
  """
108
113
  return pulumi.get(self, "azure_service_alias")
109
114
 
@@ -115,7 +120,7 @@ class _AzurePrivatelinkState:
115
120
  @pulumi.getter(name="azureServiceId")
116
121
  def azure_service_id(self) -> Optional[pulumi.Input[str]]:
117
122
  """
118
- Azure Privatelink service ID
123
+ The Azure Private Link service ID.
119
124
  """
120
125
  return pulumi.get(self, "azure_service_id")
121
126
 
@@ -127,7 +132,7 @@ class _AzurePrivatelinkState:
127
132
  @pulumi.getter
128
133
  def message(self) -> Optional[pulumi.Input[str]]:
129
134
  """
130
- Printable result of the Azure Privatelink request
135
+ Printable result of the Azure Private Link request.
131
136
  """
132
137
  return pulumi.get(self, "message")
133
138
 
@@ -139,7 +144,7 @@ class _AzurePrivatelinkState:
139
144
  @pulumi.getter
140
145
  def project(self) -> Optional[pulumi.Input[str]]:
141
146
  """
142
- Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
147
+ The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
143
148
  """
144
149
  return pulumi.get(self, "project")
145
150
 
@@ -151,7 +156,7 @@ class _AzurePrivatelinkState:
151
156
  @pulumi.getter(name="serviceName")
152
157
  def service_name(self) -> Optional[pulumi.Input[str]]:
153
158
  """
154
- Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
159
+ The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
155
160
  """
156
161
  return pulumi.get(self, "service_name")
157
162
 
@@ -163,7 +168,7 @@ class _AzurePrivatelinkState:
163
168
  @pulumi.getter
164
169
  def state(self) -> Optional[pulumi.Input[str]]:
165
170
  """
166
- Privatelink resource state
171
+ The state of the Private Link resource.
167
172
  """
168
173
  return pulumi.get(self, "state")
169
174
 
@@ -175,7 +180,7 @@ class _AzurePrivatelinkState:
175
180
  @pulumi.getter(name="userSubscriptionIds")
176
181
  def user_subscription_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
177
182
  """
178
- A List of allowed Subscription IDs. Maximum length: `16`.
183
+ A list of allowed subscription IDs. Maximum length: `16`.
179
184
  """
180
185
  return pulumi.get(self, "user_subscription_ids")
181
186
 
@@ -194,33 +199,31 @@ class AzurePrivatelink(pulumi.CustomResource):
194
199
  user_subscription_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
195
200
  __props__=None):
196
201
  """
197
- The Azure Privatelink resource allows the creation and management of Aiven Azure Privatelink for a services.
202
+ Creates and manages an Azure Private Link for [selected Aiven services](https://aiven.io/docs/platform/howto/use-azure-privatelink) in a VPC.
198
203
 
199
204
  ## Example Usage
200
205
 
201
- <!--Start PulumiCodeChooser -->
202
206
  ```python
203
207
  import pulumi
204
208
  import pulumi_aiven as aiven
205
209
 
206
- foo = aiven.AzurePrivatelink("foo",
207
- project=data["aiven_project"]["foo"]["project"],
208
- service_name=aiven_kafka["bar"]["service_name"],
209
- user_subscription_ids=["xxxxxx-xxxx-xxxx-xxxx-xxxxxxxx"])
210
+ main = aiven.AzurePrivatelink("main",
211
+ project=example_project["project"],
212
+ service_name=example_kafka["serviceName"],
213
+ user_subscription_ids=["00000000-0000-0000-0000-000000000000"])
210
214
  ```
211
- <!--End PulumiCodeChooser -->
212
215
 
213
216
  ## Import
214
217
 
215
218
  ```sh
216
- $ pulumi import aiven:index/azurePrivatelink:AzurePrivatelink foo project/service_name
219
+ $ pulumi import aiven:index/azurePrivatelink:AzurePrivatelink main PROJECT/SERVICE_NAME
217
220
  ```
218
221
 
219
222
  :param str resource_name: The name of the resource.
220
223
  :param pulumi.ResourceOptions opts: Options for the resource.
221
- :param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
222
- :param pulumi.Input[str] service_name: Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
223
- :param pulumi.Input[Sequence[pulumi.Input[str]]] user_subscription_ids: A List of allowed Subscription IDs. Maximum length: `16`.
224
+ :param pulumi.Input[str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
225
+ :param pulumi.Input[str] service_name: The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
226
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] user_subscription_ids: A list of allowed subscription IDs. Maximum length: `16`.
224
227
  """
225
228
  ...
226
229
  @overload
@@ -229,26 +232,24 @@ class AzurePrivatelink(pulumi.CustomResource):
229
232
  args: AzurePrivatelinkArgs,
230
233
  opts: Optional[pulumi.ResourceOptions] = None):
231
234
  """
232
- The Azure Privatelink resource allows the creation and management of Aiven Azure Privatelink for a services.
235
+ Creates and manages an Azure Private Link for [selected Aiven services](https://aiven.io/docs/platform/howto/use-azure-privatelink) in a VPC.
233
236
 
234
237
  ## Example Usage
235
238
 
236
- <!--Start PulumiCodeChooser -->
237
239
  ```python
238
240
  import pulumi
239
241
  import pulumi_aiven as aiven
240
242
 
241
- foo = aiven.AzurePrivatelink("foo",
242
- project=data["aiven_project"]["foo"]["project"],
243
- service_name=aiven_kafka["bar"]["service_name"],
244
- user_subscription_ids=["xxxxxx-xxxx-xxxx-xxxx-xxxxxxxx"])
243
+ main = aiven.AzurePrivatelink("main",
244
+ project=example_project["project"],
245
+ service_name=example_kafka["serviceName"],
246
+ user_subscription_ids=["00000000-0000-0000-0000-000000000000"])
245
247
  ```
246
- <!--End PulumiCodeChooser -->
247
248
 
248
249
  ## Import
249
250
 
250
251
  ```sh
251
- $ pulumi import aiven:index/azurePrivatelink:AzurePrivatelink foo project/service_name
252
+ $ pulumi import aiven:index/azurePrivatelink:AzurePrivatelink main PROJECT/SERVICE_NAME
252
253
  ```
253
254
 
254
255
  :param str resource_name: The name of the resource.
@@ -315,13 +316,13 @@ class AzurePrivatelink(pulumi.CustomResource):
315
316
  :param str resource_name: The unique name of the resulting resource.
316
317
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
317
318
  :param pulumi.ResourceOptions opts: Options for the resource.
318
- :param pulumi.Input[str] azure_service_alias: Azure Privatelink service alias
319
- :param pulumi.Input[str] azure_service_id: Azure Privatelink service ID
320
- :param pulumi.Input[str] message: Printable result of the Azure Privatelink request
321
- :param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
322
- :param pulumi.Input[str] service_name: Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
323
- :param pulumi.Input[str] state: Privatelink resource state
324
- :param pulumi.Input[Sequence[pulumi.Input[str]]] user_subscription_ids: A List of allowed Subscription IDs. Maximum length: `16`.
319
+ :param pulumi.Input[str] azure_service_alias: The Azure Private Link service alias.
320
+ :param pulumi.Input[str] azure_service_id: The Azure Private Link service ID.
321
+ :param pulumi.Input[str] message: Printable result of the Azure Private Link request.
322
+ :param pulumi.Input[str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
323
+ :param pulumi.Input[str] service_name: The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
324
+ :param pulumi.Input[str] state: The state of the Private Link resource.
325
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] user_subscription_ids: A list of allowed subscription IDs. Maximum length: `16`.
325
326
  """
326
327
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
327
328
 
@@ -340,7 +341,7 @@ class AzurePrivatelink(pulumi.CustomResource):
340
341
  @pulumi.getter(name="azureServiceAlias")
341
342
  def azure_service_alias(self) -> pulumi.Output[str]:
342
343
  """
343
- Azure Privatelink service alias
344
+ The Azure Private Link service alias.
344
345
  """
345
346
  return pulumi.get(self, "azure_service_alias")
346
347
 
@@ -348,7 +349,7 @@ class AzurePrivatelink(pulumi.CustomResource):
348
349
  @pulumi.getter(name="azureServiceId")
349
350
  def azure_service_id(self) -> pulumi.Output[str]:
350
351
  """
351
- Azure Privatelink service ID
352
+ The Azure Private Link service ID.
352
353
  """
353
354
  return pulumi.get(self, "azure_service_id")
354
355
 
@@ -356,7 +357,7 @@ class AzurePrivatelink(pulumi.CustomResource):
356
357
  @pulumi.getter
357
358
  def message(self) -> pulumi.Output[str]:
358
359
  """
359
- Printable result of the Azure Privatelink request
360
+ Printable result of the Azure Private Link request.
360
361
  """
361
362
  return pulumi.get(self, "message")
362
363
 
@@ -364,7 +365,7 @@ class AzurePrivatelink(pulumi.CustomResource):
364
365
  @pulumi.getter
365
366
  def project(self) -> pulumi.Output[str]:
366
367
  """
367
- Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
368
+ The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
368
369
  """
369
370
  return pulumi.get(self, "project")
370
371
 
@@ -372,7 +373,7 @@ class AzurePrivatelink(pulumi.CustomResource):
372
373
  @pulumi.getter(name="serviceName")
373
374
  def service_name(self) -> pulumi.Output[str]:
374
375
  """
375
- Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
376
+ The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
376
377
  """
377
378
  return pulumi.get(self, "service_name")
378
379
 
@@ -380,7 +381,7 @@ class AzurePrivatelink(pulumi.CustomResource):
380
381
  @pulumi.getter
381
382
  def state(self) -> pulumi.Output[str]:
382
383
  """
383
- Privatelink resource state
384
+ The state of the Private Link resource.
384
385
  """
385
386
  return pulumi.get(self, "state")
386
387
 
@@ -388,7 +389,7 @@ class AzurePrivatelink(pulumi.CustomResource):
388
389
  @pulumi.getter(name="userSubscriptionIds")
389
390
  def user_subscription_ids(self) -> pulumi.Output[Sequence[str]]:
390
391
  """
391
- A List of allowed Subscription IDs. Maximum length: `16`.
392
+ A list of allowed subscription IDs. Maximum length: `16`.
392
393
  """
393
394
  return pulumi.get(self, "user_subscription_ids")
394
395
 
@@ -4,9 +4,14 @@
4
4
 
5
5
  import copy
6
6
  import warnings
7
+ import sys
7
8
  import pulumi
8
9
  import pulumi.runtime
9
10
  from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
10
15
  from . import _utilities
11
16
 
12
17
  __all__ = ['AzurePrivatelinkConnectionApprovalArgs', 'AzurePrivatelinkConnectionApproval']
@@ -19,9 +24,9 @@ class AzurePrivatelinkConnectionApprovalArgs:
19
24
  endpoint_ip_address: Optional[pulumi.Input[str]] = None):
20
25
  """
21
26
  The set of arguments for constructing a AzurePrivatelinkConnectionApproval resource.
22
- :param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
23
- :param pulumi.Input[str] service_name: Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
24
- :param pulumi.Input[str] endpoint_ip_address: IP address of Azure private endpoint
27
+ :param pulumi.Input[str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
28
+ :param pulumi.Input[str] service_name: The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
29
+ :param pulumi.Input[str] endpoint_ip_address: IP address of Azure private endpoint.
25
30
  """
26
31
  pulumi.set(__self__, "project", project)
27
32
  pulumi.set(__self__, "service_name", service_name)
@@ -32,7 +37,7 @@ class AzurePrivatelinkConnectionApprovalArgs:
32
37
  @pulumi.getter
33
38
  def project(self) -> pulumi.Input[str]:
34
39
  """
35
- Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
40
+ The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
36
41
  """
37
42
  return pulumi.get(self, "project")
38
43
 
@@ -44,7 +49,7 @@ class AzurePrivatelinkConnectionApprovalArgs:
44
49
  @pulumi.getter(name="serviceName")
45
50
  def service_name(self) -> pulumi.Input[str]:
46
51
  """
47
- Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
52
+ The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
48
53
  """
49
54
  return pulumi.get(self, "service_name")
50
55
 
@@ -56,7 +61,7 @@ class AzurePrivatelinkConnectionApprovalArgs:
56
61
  @pulumi.getter(name="endpointIpAddress")
57
62
  def endpoint_ip_address(self) -> Optional[pulumi.Input[str]]:
58
63
  """
59
- IP address of Azure private endpoint
64
+ IP address of Azure private endpoint.
60
65
  """
61
66
  return pulumi.get(self, "endpoint_ip_address")
62
67
 
@@ -75,11 +80,11 @@ class _AzurePrivatelinkConnectionApprovalState:
75
80
  state: Optional[pulumi.Input[str]] = None):
76
81
  """
77
82
  Input properties used for looking up and filtering AzurePrivatelinkConnectionApproval resources.
78
- :param pulumi.Input[str] endpoint_ip_address: IP address of Azure private endpoint
79
- :param pulumi.Input[str] privatelink_connection_id: Privatelink connection id
80
- :param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
81
- :param pulumi.Input[str] service_name: Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
82
- :param pulumi.Input[str] state: Privatelink connection state
83
+ :param pulumi.Input[str] endpoint_ip_address: IP address of Azure private endpoint.
84
+ :param pulumi.Input[str] privatelink_connection_id: The ID of the Private Link connection.
85
+ :param pulumi.Input[str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
86
+ :param pulumi.Input[str] service_name: The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
87
+ :param pulumi.Input[str] state: The state of the Private Link connection.
83
88
  """
84
89
  if endpoint_ip_address is not None:
85
90
  pulumi.set(__self__, "endpoint_ip_address", endpoint_ip_address)
@@ -96,7 +101,7 @@ class _AzurePrivatelinkConnectionApprovalState:
96
101
  @pulumi.getter(name="endpointIpAddress")
97
102
  def endpoint_ip_address(self) -> Optional[pulumi.Input[str]]:
98
103
  """
99
- IP address of Azure private endpoint
104
+ IP address of Azure private endpoint.
100
105
  """
101
106
  return pulumi.get(self, "endpoint_ip_address")
102
107
 
@@ -108,7 +113,7 @@ class _AzurePrivatelinkConnectionApprovalState:
108
113
  @pulumi.getter(name="privatelinkConnectionId")
109
114
  def privatelink_connection_id(self) -> Optional[pulumi.Input[str]]:
110
115
  """
111
- Privatelink connection id
116
+ The ID of the Private Link connection.
112
117
  """
113
118
  return pulumi.get(self, "privatelink_connection_id")
114
119
 
@@ -120,7 +125,7 @@ class _AzurePrivatelinkConnectionApprovalState:
120
125
  @pulumi.getter
121
126
  def project(self) -> Optional[pulumi.Input[str]]:
122
127
  """
123
- Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
128
+ The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
124
129
  """
125
130
  return pulumi.get(self, "project")
126
131
 
@@ -132,7 +137,7 @@ class _AzurePrivatelinkConnectionApprovalState:
132
137
  @pulumi.getter(name="serviceName")
133
138
  def service_name(self) -> Optional[pulumi.Input[str]]:
134
139
  """
135
- Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
140
+ The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
136
141
  """
137
142
  return pulumi.get(self, "service_name")
138
143
 
@@ -144,7 +149,7 @@ class _AzurePrivatelinkConnectionApprovalState:
144
149
  @pulumi.getter
145
150
  def state(self) -> Optional[pulumi.Input[str]]:
146
151
  """
147
- Privatelink connection state
152
+ The state of the Private Link connection.
148
153
  """
149
154
  return pulumi.get(self, "state")
150
155
 
@@ -163,19 +168,68 @@ class AzurePrivatelinkConnectionApproval(pulumi.CustomResource):
163
168
  service_name: Optional[pulumi.Input[str]] = None,
164
169
  __props__=None):
165
170
  """
166
- The Azure privatelink approve resource waits for an aiven privatelink connection on a service and approves it with associated endpoint IP
171
+ Approves an Azure Private Link connection to an Aiven service with an associated endpoint IP.
172
+
173
+ ## Example Usage
174
+
175
+ ```python
176
+ import pulumi
177
+ import pulumi_aiven as aiven
178
+ import pulumi_azurerm as azurerm
179
+
180
+ static_ips = []
181
+ for range in [{"value": i} for i in range(0, 2)]:
182
+ static_ips.append(aiven.StaticIp(f"static_ips-{range['value']}",
183
+ project=project_id,
184
+ cloud_name=region))
185
+ default = aiven.Pg("default",
186
+ service_name="postgres",
187
+ project=aiven_project_id,
188
+ project_vpc_id=aiven_project_vpc_id,
189
+ cloud_name=region,
190
+ plan=plan,
191
+ static_ips=[sip.static_ip_address_id for sip in static_ips],
192
+ pg_user_config={
193
+ "pg_version": "13",
194
+ "static_ips": True,
195
+ "privatelink_access": {
196
+ "pg": True,
197
+ "pgbouncer": True,
198
+ },
199
+ })
200
+ privatelink = aiven.AzurePrivatelink("privatelink",
201
+ project=aiven_project_id,
202
+ service_name=default.name,
203
+ user_subscription_ids=[azure_subscription_id])
204
+ endpoint = azurerm.index.PrivateEndpoint("endpoint",
205
+ name=postgres-endpoint,
206
+ location=region,
207
+ resource_group_name=azure_resource_group.name,
208
+ subnet_id=azure_subnet_id,
209
+ private_service_connection=[{
210
+ name: default.name,
211
+ privateConnectionResourceId: privatelink.azure_service_id,
212
+ isManualConnection: True,
213
+ requestMessage: default.name,
214
+ }],
215
+ opts = pulumi.ResourceOptions(depends_on=[privatelink]))
216
+ approval = aiven.AzurePrivatelinkConnectionApproval("approval",
217
+ project=aiven_project_id,
218
+ service_name=default.service_name,
219
+ endpoint_ip_address=endpoint["privateServiceConnection"][0]["privateIpAddress"])
220
+ ```
167
221
 
168
222
  ## Import
169
223
 
170
224
  ```sh
171
- $ pulumi import aiven:index/azurePrivatelinkConnectionApproval:AzurePrivatelinkConnectionApproval approval project/service_name
225
+ $ pulumi import aiven:index/azurePrivatelinkConnectionApproval:AzurePrivatelinkConnectionApproval approval PROJECT/SERVICE_NAME
172
226
  ```
173
227
 
174
228
  :param str resource_name: The name of the resource.
175
229
  :param pulumi.ResourceOptions opts: Options for the resource.
176
- :param pulumi.Input[str] endpoint_ip_address: IP address of Azure private endpoint
177
- :param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
178
- :param pulumi.Input[str] service_name: Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
230
+ :param pulumi.Input[str] endpoint_ip_address: IP address of Azure private endpoint.
231
+ :param pulumi.Input[str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
232
+ :param pulumi.Input[str] service_name: The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
179
233
  """
180
234
  ...
181
235
  @overload
@@ -184,12 +238,61 @@ class AzurePrivatelinkConnectionApproval(pulumi.CustomResource):
184
238
  args: AzurePrivatelinkConnectionApprovalArgs,
185
239
  opts: Optional[pulumi.ResourceOptions] = None):
186
240
  """
187
- The Azure privatelink approve resource waits for an aiven privatelink connection on a service and approves it with associated endpoint IP
241
+ Approves an Azure Private Link connection to an Aiven service with an associated endpoint IP.
242
+
243
+ ## Example Usage
244
+
245
+ ```python
246
+ import pulumi
247
+ import pulumi_aiven as aiven
248
+ import pulumi_azurerm as azurerm
249
+
250
+ static_ips = []
251
+ for range in [{"value": i} for i in range(0, 2)]:
252
+ static_ips.append(aiven.StaticIp(f"static_ips-{range['value']}",
253
+ project=project_id,
254
+ cloud_name=region))
255
+ default = aiven.Pg("default",
256
+ service_name="postgres",
257
+ project=aiven_project_id,
258
+ project_vpc_id=aiven_project_vpc_id,
259
+ cloud_name=region,
260
+ plan=plan,
261
+ static_ips=[sip.static_ip_address_id for sip in static_ips],
262
+ pg_user_config={
263
+ "pg_version": "13",
264
+ "static_ips": True,
265
+ "privatelink_access": {
266
+ "pg": True,
267
+ "pgbouncer": True,
268
+ },
269
+ })
270
+ privatelink = aiven.AzurePrivatelink("privatelink",
271
+ project=aiven_project_id,
272
+ service_name=default.name,
273
+ user_subscription_ids=[azure_subscription_id])
274
+ endpoint = azurerm.index.PrivateEndpoint("endpoint",
275
+ name=postgres-endpoint,
276
+ location=region,
277
+ resource_group_name=azure_resource_group.name,
278
+ subnet_id=azure_subnet_id,
279
+ private_service_connection=[{
280
+ name: default.name,
281
+ privateConnectionResourceId: privatelink.azure_service_id,
282
+ isManualConnection: True,
283
+ requestMessage: default.name,
284
+ }],
285
+ opts = pulumi.ResourceOptions(depends_on=[privatelink]))
286
+ approval = aiven.AzurePrivatelinkConnectionApproval("approval",
287
+ project=aiven_project_id,
288
+ service_name=default.service_name,
289
+ endpoint_ip_address=endpoint["privateServiceConnection"][0]["privateIpAddress"])
290
+ ```
188
291
 
189
292
  ## Import
190
293
 
191
294
  ```sh
192
- $ pulumi import aiven:index/azurePrivatelinkConnectionApproval:AzurePrivatelinkConnectionApproval approval project/service_name
295
+ $ pulumi import aiven:index/azurePrivatelinkConnectionApproval:AzurePrivatelinkConnectionApproval approval PROJECT/SERVICE_NAME
193
296
  ```
194
297
 
195
298
  :param str resource_name: The name of the resource.
@@ -250,11 +353,11 @@ class AzurePrivatelinkConnectionApproval(pulumi.CustomResource):
250
353
  :param str resource_name: The unique name of the resulting resource.
251
354
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
252
355
  :param pulumi.ResourceOptions opts: Options for the resource.
253
- :param pulumi.Input[str] endpoint_ip_address: IP address of Azure private endpoint
254
- :param pulumi.Input[str] privatelink_connection_id: Privatelink connection id
255
- :param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
256
- :param pulumi.Input[str] service_name: Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
257
- :param pulumi.Input[str] state: Privatelink connection state
356
+ :param pulumi.Input[str] endpoint_ip_address: IP address of Azure private endpoint.
357
+ :param pulumi.Input[str] privatelink_connection_id: The ID of the Private Link connection.
358
+ :param pulumi.Input[str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
359
+ :param pulumi.Input[str] service_name: The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
360
+ :param pulumi.Input[str] state: The state of the Private Link connection.
258
361
  """
259
362
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
260
363
 
@@ -271,7 +374,7 @@ class AzurePrivatelinkConnectionApproval(pulumi.CustomResource):
271
374
  @pulumi.getter(name="endpointIpAddress")
272
375
  def endpoint_ip_address(self) -> pulumi.Output[Optional[str]]:
273
376
  """
274
- IP address of Azure private endpoint
377
+ IP address of Azure private endpoint.
275
378
  """
276
379
  return pulumi.get(self, "endpoint_ip_address")
277
380
 
@@ -279,7 +382,7 @@ class AzurePrivatelinkConnectionApproval(pulumi.CustomResource):
279
382
  @pulumi.getter(name="privatelinkConnectionId")
280
383
  def privatelink_connection_id(self) -> pulumi.Output[str]:
281
384
  """
282
- Privatelink connection id
385
+ The ID of the Private Link connection.
283
386
  """
284
387
  return pulumi.get(self, "privatelink_connection_id")
285
388
 
@@ -287,7 +390,7 @@ class AzurePrivatelinkConnectionApproval(pulumi.CustomResource):
287
390
  @pulumi.getter
288
391
  def project(self) -> pulumi.Output[str]:
289
392
  """
290
- Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
393
+ The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
291
394
  """
292
395
  return pulumi.get(self, "project")
293
396
 
@@ -295,7 +398,7 @@ class AzurePrivatelinkConnectionApproval(pulumi.CustomResource):
295
398
  @pulumi.getter(name="serviceName")
296
399
  def service_name(self) -> pulumi.Output[str]:
297
400
  """
298
- Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
401
+ The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
299
402
  """
300
403
  return pulumi.get(self, "service_name")
301
404
 
@@ -303,7 +406,7 @@ class AzurePrivatelinkConnectionApproval(pulumi.CustomResource):
303
406
  @pulumi.getter
304
407
  def state(self) -> pulumi.Output[str]:
305
408
  """
306
- Privatelink connection state
409
+ The state of the Private Link connection.
307
410
  """
308
411
  return pulumi.get(self, "state")
309
412