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

Files changed (169) hide show
  1. pulumi_aiven/__init__.py +136 -0
  2. pulumi_aiven/_inputs.py +32960 -13922
  3. pulumi_aiven/_utilities.py +41 -5
  4. pulumi_aiven/account.py +34 -43
  5. pulumi_aiven/account_authentication.py +24 -9
  6. pulumi_aiven/account_team.py +37 -12
  7. pulumi_aiven/account_team_member.py +48 -35
  8. pulumi_aiven/account_team_project.py +42 -25
  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 -39
  13. pulumi_aiven/aws_vpc_peering_connection.py +72 -57
  14. pulumi_aiven/azure_privatelink.py +54 -49
  15. pulumi_aiven/azure_privatelink_connection_approval.py +136 -33
  16. pulumi_aiven/azure_vpc_peering_connection.py +86 -73
  17. pulumi_aiven/billing_group.py +33 -30
  18. pulumi_aiven/cassandra.py +145 -122
  19. pulumi_aiven/cassandra_user.py +59 -54
  20. pulumi_aiven/clickhouse.py +133 -110
  21. pulumi_aiven/clickhouse_database.py +58 -58
  22. pulumi_aiven/clickhouse_grant.py +135 -130
  23. pulumi_aiven/clickhouse_role.py +36 -45
  24. pulumi_aiven/clickhouse_user.py +50 -45
  25. pulumi_aiven/config/__init__.pyi +5 -0
  26. pulumi_aiven/config/vars.py +5 -0
  27. pulumi_aiven/connection_pool.py +67 -62
  28. pulumi_aiven/dragonfly.py +1256 -0
  29. pulumi_aiven/flink.py +104 -100
  30. pulumi_aiven/flink_application.py +58 -51
  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 -44
  36. pulumi_aiven/get_account.py +20 -5
  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 -20
  45. pulumi_aiven/get_aws_vpc_peering_connection.py +56 -29
  46. pulumi_aiven/get_azure_privatelink.py +37 -22
  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 -19
  50. pulumi_aiven/get_cassandra.py +55 -19
  51. pulumi_aiven/get_cassandra_user.py +42 -26
  52. pulumi_aiven/get_clickhouse.py +55 -19
  53. pulumi_aiven/get_clickhouse_database.py +35 -22
  54. pulumi_aiven/get_clickhouse_user.py +40 -25
  55. pulumi_aiven/get_connection_pool.py +43 -26
  56. pulumi_aiven/get_dragonfly.py +499 -0
  57. pulumi_aiven/get_external_identity.py +160 -0
  58. pulumi_aiven/get_flink.py +55 -19
  59. pulumi_aiven/get_flink_application.py +44 -27
  60. pulumi_aiven/get_flink_application_version.py +55 -33
  61. pulumi_aiven/get_gcp_privatelink.py +63 -7
  62. pulumi_aiven/get_gcp_vpc_peering_connection.py +39 -24
  63. pulumi_aiven/get_grafana.py +55 -19
  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 -21
  68. pulumi_aiven/get_kafka_acl.py +50 -33
  69. pulumi_aiven/get_kafka_connect.py +54 -32
  70. pulumi_aiven/get_kafka_connector.py +44 -24
  71. pulumi_aiven/get_kafka_mirror_maker.py +50 -28
  72. pulumi_aiven/get_kafka_schema.py +35 -19
  73. pulumi_aiven/get_kafka_schema_configuration.py +32 -17
  74. pulumi_aiven/get_kafka_schema_registry_acl.py +37 -20
  75. pulumi_aiven/get_kafka_topic.py +70 -25
  76. pulumi_aiven/get_kafka_user.py +42 -26
  77. pulumi_aiven/get_m3_aggregator.py +51 -15
  78. pulumi_aiven/get_m3_db.py +55 -19
  79. pulumi_aiven/get_m3db_user.py +38 -24
  80. pulumi_aiven/get_mirror_maker_replication_flow.py +86 -21
  81. pulumi_aiven/get_my_sql.py +50 -14
  82. pulumi_aiven/get_mysql_database.py +31 -18
  83. pulumi_aiven/get_mysql_user.py +36 -19
  84. pulumi_aiven/get_open_search.py +50 -14
  85. pulumi_aiven/get_open_search_acl_config.py +27 -15
  86. pulumi_aiven/get_open_search_acl_rule.py +37 -21
  87. pulumi_aiven/get_opensearch_security_plugin_config.py +29 -15
  88. pulumi_aiven/get_opensearch_user.py +32 -18
  89. pulumi_aiven/get_organization.py +25 -13
  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 -19
  96. pulumi_aiven/get_pg_database.py +39 -24
  97. pulumi_aiven/get_pg_user.py +44 -27
  98. pulumi_aiven/get_project.py +43 -22
  99. pulumi_aiven/get_project_user.py +27 -15
  100. pulumi_aiven/get_project_vpc.py +31 -19
  101. pulumi_aiven/get_redis.py +50 -14
  102. pulumi_aiven/get_redis_user.py +40 -22
  103. pulumi_aiven/get_service_component.py +40 -18
  104. pulumi_aiven/get_service_integration.py +163 -49
  105. pulumi_aiven/get_service_integration_endpoint.py +128 -33
  106. pulumi_aiven/get_thanos.py +499 -0
  107. pulumi_aiven/get_transit_gateway_vpc_attachment.py +35 -18
  108. pulumi_aiven/get_valkey.py +499 -0
  109. pulumi_aiven/get_valkey_user.py +218 -0
  110. pulumi_aiven/grafana.py +188 -318
  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 -140
  115. pulumi_aiven/kafka_acl.py +64 -53
  116. pulumi_aiven/kafka_connect.py +201 -328
  117. pulumi_aiven/kafka_connector.py +67 -56
  118. pulumi_aiven/kafka_mirror_maker.py +139 -318
  119. pulumi_aiven/kafka_native_acl.py +588 -0
  120. pulumi_aiven/kafka_quota.py +604 -0
  121. pulumi_aiven/kafka_schema.py +65 -56
  122. pulumi_aiven/kafka_schema_configuration.py +25 -20
  123. pulumi_aiven/kafka_schema_registry_acl.py +80 -35
  124. pulumi_aiven/kafka_topic.py +184 -65
  125. pulumi_aiven/kafka_user.py +59 -54
  126. pulumi_aiven/m3_aggregator.py +176 -308
  127. pulumi_aiven/m3_db.py +190 -322
  128. pulumi_aiven/m3db_user.py +51 -46
  129. pulumi_aiven/mirror_maker_replication_flow.py +217 -53
  130. pulumi_aiven/my_sql.py +190 -322
  131. pulumi_aiven/mysql_database.py +32 -47
  132. pulumi_aiven/mysql_user.py +37 -32
  133. pulumi_aiven/open_search.py +128 -105
  134. pulumi_aiven/open_search_acl_config.py +33 -32
  135. pulumi_aiven/open_search_acl_rule.py +55 -50
  136. pulumi_aiven/opensearch_security_plugin_config.py +69 -16
  137. pulumi_aiven/opensearch_user.py +30 -25
  138. pulumi_aiven/organization.py +18 -13
  139. pulumi_aiven/organization_application_user.py +345 -0
  140. pulumi_aiven/organization_application_user_token.py +711 -0
  141. pulumi_aiven/organization_group_project.py +349 -0
  142. pulumi_aiven/organization_permission.py +421 -0
  143. pulumi_aiven/organization_user.py +25 -46
  144. pulumi_aiven/organization_user_group.py +64 -23
  145. pulumi_aiven/organization_user_group_member.py +359 -0
  146. pulumi_aiven/organizational_unit.py +41 -32
  147. pulumi_aiven/outputs.py +38714 -21632
  148. pulumi_aiven/pg.py +92 -88
  149. pulumi_aiven/pg_database.py +52 -67
  150. pulumi_aiven/pg_user.py +80 -61
  151. pulumi_aiven/project.py +111 -102
  152. pulumi_aiven/project_user.py +44 -31
  153. pulumi_aiven/project_vpc.py +58 -29
  154. pulumi_aiven/provider.py +5 -0
  155. pulumi_aiven/pulumi-plugin.json +2 -1
  156. pulumi_aiven/redis.py +163 -295
  157. pulumi_aiven/redis_user.py +58 -53
  158. pulumi_aiven/service_integration.py +511 -161
  159. pulumi_aiven/service_integration_endpoint.py +466 -158
  160. pulumi_aiven/static_ip.py +21 -16
  161. pulumi_aiven/thanos.py +1262 -0
  162. pulumi_aiven/transit_gateway_vpc_attachment.py +44 -54
  163. pulumi_aiven/valkey.py +1256 -0
  164. pulumi_aiven/valkey_user.py +606 -0
  165. {pulumi_aiven-6.13.0a1709702245.dist-info → pulumi_aiven-6.31.0.dist-info}/METADATA +7 -6
  166. pulumi_aiven-6.31.0.dist-info/RECORD +170 -0
  167. {pulumi_aiven-6.13.0a1709702245.dist-info → pulumi_aiven-6.31.0.dist-info}/WHEEL +1 -1
  168. pulumi_aiven-6.13.0a1709702245.dist-info/RECORD +0 -146
  169. {pulumi_aiven-6.13.0a1709702245.dist-info → pulumi_aiven-6.31.0.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,7 +199,7 @@ 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
 
@@ -202,23 +207,23 @@ class AzurePrivatelink(pulumi.CustomResource):
202
207
  import pulumi
203
208
  import pulumi_aiven as aiven
204
209
 
205
- foo = aiven.AzurePrivatelink("foo",
206
- project=data["aiven_project"]["foo"]["project"],
207
- service_name=aiven_kafka["bar"]["service_name"],
208
- 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"])
209
214
  ```
210
215
 
211
216
  ## Import
212
217
 
213
218
  ```sh
214
- $ pulumi import aiven:index/azurePrivatelink:AzurePrivatelink foo project/service_name
219
+ $ pulumi import aiven:index/azurePrivatelink:AzurePrivatelink main PROJECT/SERVICE_NAME
215
220
  ```
216
221
 
217
222
  :param str resource_name: The name of the resource.
218
223
  :param pulumi.ResourceOptions opts: Options for the resource.
219
- :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.
220
- :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.
221
- :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`.
222
227
  """
223
228
  ...
224
229
  @overload
@@ -227,7 +232,7 @@ class AzurePrivatelink(pulumi.CustomResource):
227
232
  args: AzurePrivatelinkArgs,
228
233
  opts: Optional[pulumi.ResourceOptions] = None):
229
234
  """
230
- 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.
231
236
 
232
237
  ## Example Usage
233
238
 
@@ -235,16 +240,16 @@ class AzurePrivatelink(pulumi.CustomResource):
235
240
  import pulumi
236
241
  import pulumi_aiven as aiven
237
242
 
238
- foo = aiven.AzurePrivatelink("foo",
239
- project=data["aiven_project"]["foo"]["project"],
240
- service_name=aiven_kafka["bar"]["service_name"],
241
- 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"])
242
247
  ```
243
248
 
244
249
  ## Import
245
250
 
246
251
  ```sh
247
- $ pulumi import aiven:index/azurePrivatelink:AzurePrivatelink foo project/service_name
252
+ $ pulumi import aiven:index/azurePrivatelink:AzurePrivatelink main PROJECT/SERVICE_NAME
248
253
  ```
249
254
 
250
255
  :param str resource_name: The name of the resource.
@@ -311,13 +316,13 @@ class AzurePrivatelink(pulumi.CustomResource):
311
316
  :param str resource_name: The unique name of the resulting resource.
312
317
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
313
318
  :param pulumi.ResourceOptions opts: Options for the resource.
314
- :param pulumi.Input[str] azure_service_alias: Azure Privatelink service alias
315
- :param pulumi.Input[str] azure_service_id: Azure Privatelink service ID
316
- :param pulumi.Input[str] message: Printable result of the Azure Privatelink request
317
- :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.
318
- :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.
319
- :param pulumi.Input[str] state: Privatelink resource state
320
- :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`.
321
326
  """
322
327
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
323
328
 
@@ -336,7 +341,7 @@ class AzurePrivatelink(pulumi.CustomResource):
336
341
  @pulumi.getter(name="azureServiceAlias")
337
342
  def azure_service_alias(self) -> pulumi.Output[str]:
338
343
  """
339
- Azure Privatelink service alias
344
+ The Azure Private Link service alias.
340
345
  """
341
346
  return pulumi.get(self, "azure_service_alias")
342
347
 
@@ -344,7 +349,7 @@ class AzurePrivatelink(pulumi.CustomResource):
344
349
  @pulumi.getter(name="azureServiceId")
345
350
  def azure_service_id(self) -> pulumi.Output[str]:
346
351
  """
347
- Azure Privatelink service ID
352
+ The Azure Private Link service ID.
348
353
  """
349
354
  return pulumi.get(self, "azure_service_id")
350
355
 
@@ -352,7 +357,7 @@ class AzurePrivatelink(pulumi.CustomResource):
352
357
  @pulumi.getter
353
358
  def message(self) -> pulumi.Output[str]:
354
359
  """
355
- Printable result of the Azure Privatelink request
360
+ Printable result of the Azure Private Link request.
356
361
  """
357
362
  return pulumi.get(self, "message")
358
363
 
@@ -360,7 +365,7 @@ class AzurePrivatelink(pulumi.CustomResource):
360
365
  @pulumi.getter
361
366
  def project(self) -> pulumi.Output[str]:
362
367
  """
363
- 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.
364
369
  """
365
370
  return pulumi.get(self, "project")
366
371
 
@@ -368,7 +373,7 @@ class AzurePrivatelink(pulumi.CustomResource):
368
373
  @pulumi.getter(name="serviceName")
369
374
  def service_name(self) -> pulumi.Output[str]:
370
375
  """
371
- 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.
372
377
  """
373
378
  return pulumi.get(self, "service_name")
374
379
 
@@ -376,7 +381,7 @@ class AzurePrivatelink(pulumi.CustomResource):
376
381
  @pulumi.getter
377
382
  def state(self) -> pulumi.Output[str]:
378
383
  """
379
- Privatelink resource state
384
+ The state of the Private Link resource.
380
385
  """
381
386
  return pulumi.get(self, "state")
382
387
 
@@ -384,7 +389,7 @@ class AzurePrivatelink(pulumi.CustomResource):
384
389
  @pulumi.getter(name="userSubscriptionIds")
385
390
  def user_subscription_ids(self) -> pulumi.Output[Sequence[str]]:
386
391
  """
387
- A List of allowed Subscription IDs. Maximum length: `16`.
392
+ A list of allowed subscription IDs. Maximum length: `16`.
388
393
  """
389
394
  return pulumi.get(self, "user_subscription_ids")
390
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