pulumi-aiven 6.14.0a1713330923__py3-none-any.whl → 6.14.0a1713897878__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 (118) hide show
  1. pulumi_aiven/_inputs.py +100 -100
  2. pulumi_aiven/account.py +2 -6
  3. pulumi_aiven/account_team.py +6 -6
  4. pulumi_aiven/account_team_member.py +4 -8
  5. pulumi_aiven/account_team_project.py +12 -12
  6. pulumi_aiven/aws_privatelink.py +4 -8
  7. pulumi_aiven/aws_vpc_peering_connection.py +8 -12
  8. pulumi_aiven/azure_privatelink.py +4 -8
  9. pulumi_aiven/azure_privatelink_connection_approval.py +98 -0
  10. pulumi_aiven/azure_vpc_peering_connection.py +6 -10
  11. pulumi_aiven/billing_group.py +2 -4
  12. pulumi_aiven/cassandra.py +13 -17
  13. pulumi_aiven/cassandra_user.py +2 -6
  14. pulumi_aiven/clickhouse.py +13 -17
  15. pulumi_aiven/clickhouse_database.py +8 -10
  16. pulumi_aiven/clickhouse_grant.py +21 -23
  17. pulumi_aiven/clickhouse_role.py +0 -4
  18. pulumi_aiven/clickhouse_user.py +4 -8
  19. pulumi_aiven/connection_pool.py +8 -12
  20. pulumi_aiven/flink.py +16 -20
  21. pulumi_aiven/flink_application.py +6 -8
  22. pulumi_aiven/flink_application_version.py +82 -0
  23. pulumi_aiven/gcp_vpc_peering_connection.py +2 -6
  24. pulumi_aiven/get_account.py +0 -4
  25. pulumi_aiven/get_aws_privatelink.py +4 -8
  26. pulumi_aiven/get_aws_vpc_peering_connection.py +6 -10
  27. pulumi_aiven/get_azure_privatelink.py +4 -8
  28. pulumi_aiven/get_azure_vpc_peering_connection.py +2 -6
  29. pulumi_aiven/get_cassanda.py +2 -6
  30. pulumi_aiven/get_cassandra.py +2 -6
  31. pulumi_aiven/get_cassandra_user.py +4 -8
  32. pulumi_aiven/get_clickhouse.py +2 -6
  33. pulumi_aiven/get_clickhouse_database.py +4 -8
  34. pulumi_aiven/get_clickhouse_user.py +4 -8
  35. pulumi_aiven/get_connection_pool.py +4 -8
  36. pulumi_aiven/get_flink.py +2 -6
  37. pulumi_aiven/get_flink_application.py +2 -6
  38. pulumi_aiven/get_flink_application_version.py +2 -6
  39. pulumi_aiven/get_gcp_vpc_peering_connection.py +2 -6
  40. pulumi_aiven/get_grafana.py +2 -6
  41. pulumi_aiven/get_kafka.py +2 -6
  42. pulumi_aiven/get_kafka_acl.py +4 -8
  43. pulumi_aiven/get_kafka_connect.py +2 -6
  44. pulumi_aiven/get_kafka_connector.py +4 -8
  45. pulumi_aiven/get_kafka_mirror_maker.py +2 -6
  46. pulumi_aiven/get_kafka_schema.py +4 -8
  47. pulumi_aiven/get_kafka_schema_configuration.py +4 -8
  48. pulumi_aiven/get_kafka_topic.py +4 -8
  49. pulumi_aiven/get_kafka_user.py +4 -8
  50. pulumi_aiven/get_m3_aggregator.py +2 -6
  51. pulumi_aiven/get_m3_db.py +2 -6
  52. pulumi_aiven/get_m3db_user.py +4 -8
  53. pulumi_aiven/get_mirror_maker_replication_flow.py +8 -12
  54. pulumi_aiven/get_my_sql.py +2 -6
  55. pulumi_aiven/get_mysql_database.py +4 -8
  56. pulumi_aiven/get_mysql_user.py +4 -8
  57. pulumi_aiven/get_open_search.py +2 -6
  58. pulumi_aiven/get_open_search_acl_config.py +4 -8
  59. pulumi_aiven/get_open_search_acl_rule.py +4 -8
  60. pulumi_aiven/get_opensearch_security_plugin_config.py +4 -8
  61. pulumi_aiven/get_opensearch_user.py +4 -8
  62. pulumi_aiven/get_organization.py +0 -4
  63. pulumi_aiven/get_organization_user_group.py +2 -6
  64. pulumi_aiven/get_pg.py +2 -6
  65. pulumi_aiven/get_pg_database.py +4 -8
  66. pulumi_aiven/get_pg_user.py +4 -8
  67. pulumi_aiven/get_project.py +0 -4
  68. pulumi_aiven/get_project_user.py +2 -6
  69. pulumi_aiven/get_project_vpc.py +2 -6
  70. pulumi_aiven/get_redis.py +2 -6
  71. pulumi_aiven/get_redis_user.py +4 -8
  72. pulumi_aiven/get_service_component.py +4 -8
  73. pulumi_aiven/get_service_integration.py +2 -6
  74. pulumi_aiven/get_service_integration_endpoint.py +2 -6
  75. pulumi_aiven/get_transit_gateway_vpc_attachment.py +2 -6
  76. pulumi_aiven/grafana.py +4 -6
  77. pulumi_aiven/kafka.py +13 -17
  78. pulumi_aiven/kafka_acl.py +4 -8
  79. pulumi_aiven/kafka_connect.py +2 -6
  80. pulumi_aiven/kafka_connector.py +12 -16
  81. pulumi_aiven/kafka_mirror_maker.py +2 -6
  82. pulumi_aiven/kafka_schema.py +4 -8
  83. pulumi_aiven/kafka_schema_configuration.py +4 -8
  84. pulumi_aiven/kafka_topic.py +38 -0
  85. pulumi_aiven/kafka_user.py +2 -6
  86. pulumi_aiven/m3_aggregator.py +2 -6
  87. pulumi_aiven/m3_db.py +2 -6
  88. pulumi_aiven/m3db_user.py +2 -6
  89. pulumi_aiven/mirror_maker_replication_flow.py +8 -12
  90. pulumi_aiven/my_sql.py +2 -6
  91. pulumi_aiven/mysql_database.py +4 -8
  92. pulumi_aiven/mysql_user.py +2 -6
  93. pulumi_aiven/open_search.py +13 -17
  94. pulumi_aiven/open_search_acl_config.py +12 -16
  95. pulumi_aiven/open_search_acl_rule.py +20 -24
  96. pulumi_aiven/opensearch_security_plugin_config.py +12 -16
  97. pulumi_aiven/opensearch_user.py +2 -6
  98. pulumi_aiven/organization.py +2 -6
  99. pulumi_aiven/organization_group_project.py +32 -0
  100. pulumi_aiven/organization_user_group.py +4 -6
  101. pulumi_aiven/organization_user_group_member.py +8 -10
  102. pulumi_aiven/organizational_unit.py +6 -6
  103. pulumi_aiven/outputs.py +100 -100
  104. pulumi_aiven/pg.py +14 -14
  105. pulumi_aiven/pg_database.py +4 -8
  106. pulumi_aiven/pg_user.py +2 -6
  107. pulumi_aiven/project.py +4 -8
  108. pulumi_aiven/project_user.py +2 -6
  109. pulumi_aiven/project_vpc.py +24 -0
  110. pulumi_aiven/redis.py +2 -6
  111. pulumi_aiven/redis_user.py +2 -6
  112. pulumi_aiven/service_integration.py +8 -12
  113. pulumi_aiven/transit_gateway_vpc_attachment.py +2 -6
  114. {pulumi_aiven-6.14.0a1713330923.dist-info → pulumi_aiven-6.14.0a1713897878.dist-info}/METADATA +1 -1
  115. pulumi_aiven-6.14.0a1713897878.dist-info/RECORD +150 -0
  116. pulumi_aiven-6.14.0a1713330923.dist-info/RECORD +0 -150
  117. {pulumi_aiven-6.14.0a1713330923.dist-info → pulumi_aiven-6.14.0a1713897878.dist-info}/WHEEL +0 -0
  118. {pulumi_aiven-6.14.0a1713330923.dist-info → pulumi_aiven-6.14.0a1713897878.dist-info}/top_level.txt +0 -0
pulumi_aiven/account.py CHANGED
@@ -232,14 +232,12 @@ class Account(pulumi.CustomResource):
232
232
 
233
233
  ## Example Usage
234
234
 
235
- <!--Start PulumiCodeChooser -->
236
235
  ```python
237
236
  import pulumi
238
237
  import pulumi_aiven as aiven
239
238
 
240
- account1 = aiven.Account("account1")
239
+ account1 = aiven.Account("account1", name="<ACCOUNT_NAME>")
241
240
  ```
242
- <!--End PulumiCodeChooser -->
243
241
 
244
242
  ## Import
245
243
 
@@ -265,14 +263,12 @@ class Account(pulumi.CustomResource):
265
263
 
266
264
  ## Example Usage
267
265
 
268
- <!--Start PulumiCodeChooser -->
269
266
  ```python
270
267
  import pulumi
271
268
  import pulumi_aiven as aiven
272
269
 
273
- account1 = aiven.Account("account1")
270
+ account1 = aiven.Account("account1", name="<ACCOUNT_NAME>")
274
271
  ```
275
- <!--End PulumiCodeChooser -->
276
272
 
277
273
  ## Import
278
274
 
@@ -156,14 +156,14 @@ class AccountTeam(pulumi.CustomResource):
156
156
 
157
157
  ## Example Usage
158
158
 
159
- <!--Start PulumiCodeChooser -->
160
159
  ```python
161
160
  import pulumi
162
161
  import pulumi_aiven as aiven
163
162
 
164
- example_team = aiven.AccountTeam("exampleTeam", account_id=aiven_account["ACCOUNT_RESOURCE_NAME"]["account_id"])
163
+ example_team = aiven.AccountTeam("example_team",
164
+ account_id=accoun_t__resourc_e__name["accountId"],
165
+ name="Example team")
165
166
  ```
166
- <!--End PulumiCodeChooser -->
167
167
 
168
168
  ## Import
169
169
 
@@ -192,14 +192,14 @@ class AccountTeam(pulumi.CustomResource):
192
192
 
193
193
  ## Example Usage
194
194
 
195
- <!--Start PulumiCodeChooser -->
196
195
  ```python
197
196
  import pulumi
198
197
  import pulumi_aiven as aiven
199
198
 
200
- example_team = aiven.AccountTeam("exampleTeam", account_id=aiven_account["ACCOUNT_RESOURCE_NAME"]["account_id"])
199
+ example_team = aiven.AccountTeam("example_team",
200
+ account_id=accoun_t__resourc_e__name["accountId"],
201
+ name="Example team")
201
202
  ```
202
- <!--End PulumiCodeChooser -->
203
203
 
204
204
  ## Import
205
205
 
@@ -191,17 +191,15 @@ class AccountTeamMember(pulumi.CustomResource):
191
191
 
192
192
  ## Example Usage
193
193
 
194
- <!--Start PulumiCodeChooser -->
195
194
  ```python
196
195
  import pulumi
197
196
  import pulumi_aiven as aiven
198
197
 
199
198
  main = aiven.AccountTeamMember("main",
200
- account_id=aiven_account["ACCOUNT_RESOURCE_NAME"]["account_id"],
201
- team_id=aiven_account_team["TEAM_RESOURCE_NAME"]["team_id"],
199
+ account_id=accoun_t__resourc_e__name["accountId"],
200
+ team_id=tea_m__resourc_e__name["teamId"],
202
201
  user_email="user+1@example.com")
203
202
  ```
204
- <!--End PulumiCodeChooser -->
205
203
 
206
204
  ## Import
207
205
 
@@ -235,17 +233,15 @@ class AccountTeamMember(pulumi.CustomResource):
235
233
 
236
234
  ## Example Usage
237
235
 
238
- <!--Start PulumiCodeChooser -->
239
236
  ```python
240
237
  import pulumi
241
238
  import pulumi_aiven as aiven
242
239
 
243
240
  main = aiven.AccountTeamMember("main",
244
- account_id=aiven_account["ACCOUNT_RESOURCE_NAME"]["account_id"],
245
- team_id=aiven_account_team["TEAM_RESOURCE_NAME"]["team_id"],
241
+ account_id=accoun_t__resourc_e__name["accountId"],
242
+ team_id=tea_m__resourc_e__name["teamId"],
246
243
  user_email="user+1@example.com")
247
244
  ```
248
- <!--End PulumiCodeChooser -->
249
245
 
250
246
  ## Import
251
247
 
@@ -173,22 +173,22 @@ class AccountTeamProject(pulumi.CustomResource):
173
173
 
174
174
  ## Example Usage
175
175
 
176
- <!--Start PulumiCodeChooser -->
177
176
  ```python
178
177
  import pulumi
179
178
  import pulumi_aiven as aiven
180
179
 
181
- example_project = aiven.Project("exampleProject",
180
+ example_project = aiven.Project("example_project",
182
181
  project="project-1",
183
- account_id=aiven_account_team["ACCOUNT_RESOURCE_NAME"]["account_id"])
184
- example_team = aiven.AccountTeam("exampleTeam", account_id=aiven_account["ACCOUNT_RESOURCE_NAME"]["account_id"])
182
+ account_id=accoun_t__resourc_e__name["accountId"])
183
+ example_team = aiven.AccountTeam("example_team",
184
+ account_id=accoun_t__resourc_e__name_aiven_account["accountId"],
185
+ name="Example team")
185
186
  main = aiven.AccountTeamProject("main",
186
- account_id=aiven_account["ACCOUNT_RESOURCE_NAME"]["account_id"],
187
+ account_id=accoun_t__resourc_e__name_aiven_account["accountId"],
187
188
  team_id=example_team.team_id,
188
189
  project_name=example_project.project,
189
190
  team_type="admin")
190
191
  ```
191
- <!--End PulumiCodeChooser -->
192
192
 
193
193
  ## Import
194
194
 
@@ -219,22 +219,22 @@ class AccountTeamProject(pulumi.CustomResource):
219
219
 
220
220
  ## Example Usage
221
221
 
222
- <!--Start PulumiCodeChooser -->
223
222
  ```python
224
223
  import pulumi
225
224
  import pulumi_aiven as aiven
226
225
 
227
- example_project = aiven.Project("exampleProject",
226
+ example_project = aiven.Project("example_project",
228
227
  project="project-1",
229
- account_id=aiven_account_team["ACCOUNT_RESOURCE_NAME"]["account_id"])
230
- example_team = aiven.AccountTeam("exampleTeam", account_id=aiven_account["ACCOUNT_RESOURCE_NAME"]["account_id"])
228
+ account_id=accoun_t__resourc_e__name["accountId"])
229
+ example_team = aiven.AccountTeam("example_team",
230
+ account_id=accoun_t__resourc_e__name_aiven_account["accountId"],
231
+ name="Example team")
231
232
  main = aiven.AccountTeamProject("main",
232
- account_id=aiven_account["ACCOUNT_RESOURCE_NAME"]["account_id"],
233
+ account_id=accoun_t__resourc_e__name_aiven_account["accountId"],
233
234
  team_id=example_team.team_id,
234
235
  project_name=example_project.project,
235
236
  team_type="admin")
236
237
  ```
237
- <!--End PulumiCodeChooser -->
238
238
 
239
239
  ## Import
240
240
 
@@ -166,17 +166,15 @@ class AwsPrivatelink(pulumi.CustomResource):
166
166
 
167
167
  ## Example Usage
168
168
 
169
- <!--Start PulumiCodeChooser -->
170
169
  ```python
171
170
  import pulumi
172
171
  import pulumi_aiven as aiven
173
172
 
174
173
  main = aiven.AwsPrivatelink("main",
175
- project=data["aiven_project"]["example_project"]["project"],
176
- service_name=aiven_kafka["example_kafka"]["service_name"],
174
+ project=example_project["project"],
175
+ service_name=example_kafka["serviceName"],
177
176
  principals=["arn:aws:iam::012345678901:user/mwf"])
178
177
  ```
179
- <!--End PulumiCodeChooser -->
180
178
 
181
179
  ## Import
182
180
 
@@ -201,17 +199,15 @@ class AwsPrivatelink(pulumi.CustomResource):
201
199
 
202
200
  ## Example Usage
203
201
 
204
- <!--Start PulumiCodeChooser -->
205
202
  ```python
206
203
  import pulumi
207
204
  import pulumi_aiven as aiven
208
205
 
209
206
  main = aiven.AwsPrivatelink("main",
210
- project=data["aiven_project"]["example_project"]["project"],
211
- service_name=aiven_kafka["example_kafka"]["service_name"],
207
+ project=example_project["project"],
208
+ service_name=example_kafka["serviceName"],
212
209
  principals=["arn:aws:iam::012345678901:user/mwf"])
213
210
  ```
214
- <!--End PulumiCodeChooser -->
215
211
 
216
212
  ## Import
217
213
 
@@ -214,22 +214,20 @@ class AwsVpcPeeringConnection(pulumi.CustomResource):
214
214
 
215
215
  ## Example Usage
216
216
 
217
- <!--Start PulumiCodeChooser -->
218
217
  ```python
219
218
  import pulumi
220
219
  import pulumi_aiven as aiven
221
220
 
222
- example_vpc = aiven.ProjectVpc("exampleVpc",
223
- project=data["aiven_project"]["example_project"]["project"],
221
+ example_vpc = aiven.ProjectVpc("example_vpc",
222
+ project=example_project["project"],
224
223
  cloud_name="aws-us-east-2",
225
224
  network_cidr="192.168.1.0/24")
226
- aws_to_aiven_peering = aiven.AwsVpcPeeringConnection("awsToAivenPeering",
225
+ aws_to_aiven_peering = aiven.AwsVpcPeeringConnection("aws_to_aiven_peering",
227
226
  vpc_id=example_vpc.id,
228
- aws_account_id=var["aws_id"],
227
+ aws_account_id=aws_id,
229
228
  aws_vpc_id="vpc-1a2b3c4d5e6f7g8h9",
230
229
  aws_vpc_region="aws-us-east-2")
231
230
  ```
232
- <!--End PulumiCodeChooser -->
233
231
 
234
232
  ## Import
235
233
 
@@ -255,22 +253,20 @@ class AwsVpcPeeringConnection(pulumi.CustomResource):
255
253
 
256
254
  ## Example Usage
257
255
 
258
- <!--Start PulumiCodeChooser -->
259
256
  ```python
260
257
  import pulumi
261
258
  import pulumi_aiven as aiven
262
259
 
263
- example_vpc = aiven.ProjectVpc("exampleVpc",
264
- project=data["aiven_project"]["example_project"]["project"],
260
+ example_vpc = aiven.ProjectVpc("example_vpc",
261
+ project=example_project["project"],
265
262
  cloud_name="aws-us-east-2",
266
263
  network_cidr="192.168.1.0/24")
267
- aws_to_aiven_peering = aiven.AwsVpcPeeringConnection("awsToAivenPeering",
264
+ aws_to_aiven_peering = aiven.AwsVpcPeeringConnection("aws_to_aiven_peering",
268
265
  vpc_id=example_vpc.id,
269
- aws_account_id=var["aws_id"],
266
+ aws_account_id=aws_id,
270
267
  aws_vpc_id="vpc-1a2b3c4d5e6f7g8h9",
271
268
  aws_vpc_region="aws-us-east-2")
272
269
  ```
273
- <!--End PulumiCodeChooser -->
274
270
 
275
271
  ## Import
276
272
 
@@ -198,17 +198,15 @@ class AzurePrivatelink(pulumi.CustomResource):
198
198
 
199
199
  ## Example Usage
200
200
 
201
- <!--Start PulumiCodeChooser -->
202
201
  ```python
203
202
  import pulumi
204
203
  import pulumi_aiven as aiven
205
204
 
206
205
  main = aiven.AzurePrivatelink("main",
207
- project=data["aiven_project"]["example_project"]["project"],
208
- service_name=aiven_kafka["example_kafka"]["service_name"],
206
+ project=example_project["project"],
207
+ service_name=example_kafka["serviceName"],
209
208
  user_subscription_ids=["00000000-0000-0000-0000-000000000000"])
210
209
  ```
211
- <!--End PulumiCodeChooser -->
212
210
 
213
211
  ## Import
214
212
 
@@ -233,17 +231,15 @@ class AzurePrivatelink(pulumi.CustomResource):
233
231
 
234
232
  ## Example Usage
235
233
 
236
- <!--Start PulumiCodeChooser -->
237
234
  ```python
238
235
  import pulumi
239
236
  import pulumi_aiven as aiven
240
237
 
241
238
  main = aiven.AzurePrivatelink("main",
242
- project=data["aiven_project"]["example_project"]["project"],
243
- service_name=aiven_kafka["example_kafka"]["service_name"],
239
+ project=example_project["project"],
240
+ service_name=example_kafka["serviceName"],
244
241
  user_subscription_ids=["00000000-0000-0000-0000-000000000000"])
245
242
  ```
246
- <!--End PulumiCodeChooser -->
247
243
 
248
244
  ## Import
249
245
 
@@ -165,6 +165,55 @@ class AzurePrivatelinkConnectionApproval(pulumi.CustomResource):
165
165
  """
166
166
  Approves an Azure Private Link connection to an Aiven service with an associated endpoint IP.
167
167
 
168
+ ## Example Usage
169
+
170
+ ```python
171
+ import pulumi
172
+ import pulumi_aiven as aiven
173
+ import pulumi_azurerm as azurerm
174
+
175
+ static_ips = []
176
+ for range in [{"value": i} for i in range(0, 2)]:
177
+ static_ips.append(aiven.StaticIp(f"static_ips-{range['value']}",
178
+ project=project_id,
179
+ cloud_name=region))
180
+ default = aiven.Pg("default",
181
+ service_name="postgres",
182
+ project=aiven_project_id,
183
+ project_vpc_id=aiven_project_vpc_id,
184
+ cloud_name=region,
185
+ plan=plan,
186
+ static_ips=[sip.static_ip_address_id for sip in static_ips],
187
+ pg_user_config=aiven.PgPgUserConfigArgs(
188
+ pg_version="13",
189
+ static_ips=True,
190
+ privatelink_access=aiven.PgPgUserConfigPrivatelinkAccessArgs(
191
+ pg=True,
192
+ pgbouncer=True,
193
+ ),
194
+ ))
195
+ privatelink = aiven.AzurePrivatelink("privatelink",
196
+ project=aiven_project_id,
197
+ service_name=default.name,
198
+ user_subscription_ids=[azure_subscription_id])
199
+ endpoint = azurerm.index.PrivateEndpoint("endpoint",
200
+ name=postgres-endpoint,
201
+ location=region,
202
+ resource_group_name=azure_resource_group.name,
203
+ subnet_id=azure_subnet_id,
204
+ private_service_connection=[{
205
+ name: default.name,
206
+ privateConnectionResourceId: privatelink.azure_service_id,
207
+ isManualConnection: True,
208
+ requestMessage: default.name,
209
+ }],
210
+ opts=pulumi.ResourceOptions(depends_on=[privatelink]))
211
+ approval = aiven.AzurePrivatelinkConnectionApproval("approval",
212
+ project=aiven_project_id,
213
+ service_name=default.service_name,
214
+ endpoint_ip_address=endpoint["privateServiceConnection"][0]["privateIpAddress"])
215
+ ```
216
+
168
217
  ## Import
169
218
 
170
219
  ```sh
@@ -186,6 +235,55 @@ class AzurePrivatelinkConnectionApproval(pulumi.CustomResource):
186
235
  """
187
236
  Approves an Azure Private Link connection to an Aiven service with an associated endpoint IP.
188
237
 
238
+ ## Example Usage
239
+
240
+ ```python
241
+ import pulumi
242
+ import pulumi_aiven as aiven
243
+ import pulumi_azurerm as azurerm
244
+
245
+ static_ips = []
246
+ for range in [{"value": i} for i in range(0, 2)]:
247
+ static_ips.append(aiven.StaticIp(f"static_ips-{range['value']}",
248
+ project=project_id,
249
+ cloud_name=region))
250
+ default = aiven.Pg("default",
251
+ service_name="postgres",
252
+ project=aiven_project_id,
253
+ project_vpc_id=aiven_project_vpc_id,
254
+ cloud_name=region,
255
+ plan=plan,
256
+ static_ips=[sip.static_ip_address_id for sip in static_ips],
257
+ pg_user_config=aiven.PgPgUserConfigArgs(
258
+ pg_version="13",
259
+ static_ips=True,
260
+ privatelink_access=aiven.PgPgUserConfigPrivatelinkAccessArgs(
261
+ pg=True,
262
+ pgbouncer=True,
263
+ ),
264
+ ))
265
+ privatelink = aiven.AzurePrivatelink("privatelink",
266
+ project=aiven_project_id,
267
+ service_name=default.name,
268
+ user_subscription_ids=[azure_subscription_id])
269
+ endpoint = azurerm.index.PrivateEndpoint("endpoint",
270
+ name=postgres-endpoint,
271
+ location=region,
272
+ resource_group_name=azure_resource_group.name,
273
+ subnet_id=azure_subnet_id,
274
+ private_service_connection=[{
275
+ name: default.name,
276
+ privateConnectionResourceId: privatelink.azure_service_id,
277
+ isManualConnection: True,
278
+ requestMessage: default.name,
279
+ }],
280
+ opts=pulumi.ResourceOptions(depends_on=[privatelink]))
281
+ approval = aiven.AzurePrivatelinkConnectionApproval("approval",
282
+ project=aiven_project_id,
283
+ service_name=default.service_name,
284
+ endpoint_ip_address=endpoint["privateServiceConnection"][0]["privateIpAddress"])
285
+ ```
286
+
189
287
  ## Import
190
288
 
191
289
  ```sh
@@ -278,16 +278,15 @@ class AzureVpcPeeringConnection(pulumi.CustomResource):
278
278
 
279
279
  ## Example Usage
280
280
 
281
- <!--Start PulumiCodeChooser -->
282
281
  ```python
283
282
  import pulumi
284
283
  import pulumi_aiven as aiven
285
284
 
286
- example_vpc = aiven.ProjectVpc("exampleVpc",
287
- project=data["aiven_project"]["example_project"]["project"],
285
+ example_vpc = aiven.ProjectVpc("example_vpc",
286
+ project=example_project["project"],
288
287
  cloud_name="google-europe-west1",
289
288
  network_cidr="192.168.1.0/24")
290
- azure_to_aiven_peering = aiven.AzureVpcPeeringConnection("azureToAivenPeering",
289
+ azure_to_aiven_peering = aiven.AzureVpcPeeringConnection("azure_to_aiven_peering",
291
290
  vpc_id=example_vpc.id,
292
291
  azure_subscription_id="00000000-0000-0000-0000-000000000000",
293
292
  peer_resource_group="example-resource-group",
@@ -295,7 +294,6 @@ class AzureVpcPeeringConnection(pulumi.CustomResource):
295
294
  peer_azure_app_id="00000000-0000-0000-0000-000000000000",
296
295
  peer_azure_tenant_id="00000000-0000-0000-0000-000000000000")
297
296
  ```
298
- <!--End PulumiCodeChooser -->
299
297
 
300
298
  ## Import
301
299
 
@@ -323,16 +321,15 @@ class AzureVpcPeeringConnection(pulumi.CustomResource):
323
321
 
324
322
  ## Example Usage
325
323
 
326
- <!--Start PulumiCodeChooser -->
327
324
  ```python
328
325
  import pulumi
329
326
  import pulumi_aiven as aiven
330
327
 
331
- example_vpc = aiven.ProjectVpc("exampleVpc",
332
- project=data["aiven_project"]["example_project"]["project"],
328
+ example_vpc = aiven.ProjectVpc("example_vpc",
329
+ project=example_project["project"],
333
330
  cloud_name="google-europe-west1",
334
331
  network_cidr="192.168.1.0/24")
335
- azure_to_aiven_peering = aiven.AzureVpcPeeringConnection("azureToAivenPeering",
332
+ azure_to_aiven_peering = aiven.AzureVpcPeeringConnection("azure_to_aiven_peering",
336
333
  vpc_id=example_vpc.id,
337
334
  azure_subscription_id="00000000-0000-0000-0000-000000000000",
338
335
  peer_resource_group="example-resource-group",
@@ -340,7 +337,6 @@ class AzureVpcPeeringConnection(pulumi.CustomResource):
340
337
  peer_azure_app_id="00000000-0000-0000-0000-000000000000",
341
338
  peer_azure_tenant_id="00000000-0000-0000-0000-000000000000")
342
339
  ```
343
- <!--End PulumiCodeChooser -->
344
340
 
345
341
  ## Import
346
342
 
@@ -545,19 +545,18 @@ class BillingGroup(pulumi.CustomResource):
545
545
 
546
546
  ## Example Usage
547
547
 
548
- <!--Start PulumiCodeChooser -->
549
548
  ```python
550
549
  import pulumi
551
550
  import pulumi_aiven as aiven
552
551
 
553
552
  bybg1 = aiven.BillingGroup("bybg1",
553
+ name="bybg1",
554
554
  billing_currency="USD",
555
555
  vat_id="123ABC")
556
556
  pr1 = aiven.Project("pr1",
557
557
  project="pr1",
558
558
  billing_group=bybg1.id)
559
559
  ```
560
- <!--End PulumiCodeChooser -->
561
560
 
562
561
  ## Import
563
562
 
@@ -594,19 +593,18 @@ class BillingGroup(pulumi.CustomResource):
594
593
 
595
594
  ## Example Usage
596
595
 
597
- <!--Start PulumiCodeChooser -->
598
596
  ```python
599
597
  import pulumi
600
598
  import pulumi_aiven as aiven
601
599
 
602
600
  bybg1 = aiven.BillingGroup("bybg1",
601
+ name="bybg1",
603
602
  billing_currency="USD",
604
603
  vat_id="123ABC")
605
604
  pr1 = aiven.Project("pr1",
606
605
  project="pr1",
607
606
  billing_group=bybg1.id)
608
607
  ```
609
- <!--End PulumiCodeChooser -->
610
608
 
611
609
  ## Import
612
610
 
pulumi_aiven/cassandra.py CHANGED
@@ -44,7 +44,7 @@ class CassandraArgs:
44
44
  :param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
45
45
  :param pulumi.Input[str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
46
46
  :param pulumi.Input[Sequence[pulumi.Input['CassandraServiceIntegrationArgs']]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
47
- :param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: Use static public IP addresses.
47
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
48
48
  :param pulumi.Input[Sequence[pulumi.Input['CassandraTagArgs']]] tags: Tags are key-value pairs that allow you to categorize services.
49
49
  :param pulumi.Input[Sequence[pulumi.Input['CassandraTechEmailArgs']]] tech_emails: Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service instability.
50
50
  :param pulumi.Input[bool] termination_protection: Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
@@ -219,7 +219,7 @@ class CassandraArgs:
219
219
  @pulumi.getter(name="staticIps")
220
220
  def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
221
221
  """
222
- Use static public IP addresses.
222
+ Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
223
223
  """
224
224
  return pulumi.get(self, "static_ips")
225
225
 
@@ -299,7 +299,7 @@ class _CassandraState:
299
299
  Input properties used for looking up and filtering Cassandra resources.
300
300
  :param pulumi.Input[str] additional_disk_space: Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
301
301
  :param pulumi.Input['CassandraCassandraUserConfigArgs'] cassandra_user_config: Cassandra user configurable settings
302
- :param pulumi.Input[Sequence[pulumi.Input['CassandraCassandraArgs']]] cassandras: cassandra configuration values
302
+ :param pulumi.Input[Sequence[pulumi.Input['CassandraCassandraArgs']]] cassandras: Cassandra server provided values
303
303
  :param pulumi.Input[str] cloud_name: Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like [here for Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
304
304
  :param pulumi.Input[Sequence[pulumi.Input['CassandraComponentArgs']]] components: Service component information objects
305
305
  :param pulumi.Input[str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
@@ -321,7 +321,7 @@ class _CassandraState:
321
321
  :param pulumi.Input[str] service_uri: URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
322
322
  :param pulumi.Input[str] service_username: Username used for connecting to the service, if applicable
323
323
  :param pulumi.Input[str] state: Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
324
- :param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: Use static public IP addresses.
324
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
325
325
  :param pulumi.Input[Sequence[pulumi.Input['CassandraTagArgs']]] tags: Tags are key-value pairs that allow you to categorize services.
326
326
  :param pulumi.Input[Sequence[pulumi.Input['CassandraTechEmailArgs']]] tech_emails: Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service instability.
327
327
  :param pulumi.Input[bool] termination_protection: Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
@@ -414,7 +414,7 @@ class _CassandraState:
414
414
  @pulumi.getter
415
415
  def cassandras(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['CassandraCassandraArgs']]]]:
416
416
  """
417
- cassandra configuration values
417
+ Cassandra server provided values
418
418
  """
419
419
  return pulumi.get(self, "cassandras")
420
420
 
@@ -681,7 +681,7 @@ class _CassandraState:
681
681
  @pulumi.getter(name="staticIps")
682
682
  def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
683
683
  """
684
- Use static public IP addresses.
684
+ Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
685
685
  """
686
686
  return pulumi.get(self, "static_ips")
687
687
 
@@ -752,13 +752,12 @@ class Cassandra(pulumi.CustomResource):
752
752
 
753
753
  ## Example Usage
754
754
 
755
- <!--Start PulumiCodeChooser -->
756
755
  ```python
757
756
  import pulumi
758
757
  import pulumi_aiven as aiven
759
758
 
760
759
  bar = aiven.Cassandra("bar",
761
- project=data["aiven_project"]["foo"]["project"],
760
+ project=foo["project"],
762
761
  cloud_name="google-europe-west1",
763
762
  plan="startup-4",
764
763
  service_name="test-service-name",
@@ -771,7 +770,6 @@ class Cassandra(pulumi.CustomResource):
771
770
  ),
772
771
  ))
773
772
  ```
774
- <!--End PulumiCodeChooser -->
775
773
 
776
774
  ## Import
777
775
 
@@ -792,7 +790,7 @@ class Cassandra(pulumi.CustomResource):
792
790
  :param pulumi.Input[str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
793
791
  :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['CassandraServiceIntegrationArgs']]]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
794
792
  :param pulumi.Input[str] service_name: Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
795
- :param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: Use static public IP addresses.
793
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
796
794
  :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['CassandraTagArgs']]]] tags: Tags are key-value pairs that allow you to categorize services.
797
795
  :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['CassandraTechEmailArgs']]]] tech_emails: Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service instability.
798
796
  :param pulumi.Input[bool] termination_protection: Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
@@ -808,13 +806,12 @@ class Cassandra(pulumi.CustomResource):
808
806
 
809
807
  ## Example Usage
810
808
 
811
- <!--Start PulumiCodeChooser -->
812
809
  ```python
813
810
  import pulumi
814
811
  import pulumi_aiven as aiven
815
812
 
816
813
  bar = aiven.Cassandra("bar",
817
- project=data["aiven_project"]["foo"]["project"],
814
+ project=foo["project"],
818
815
  cloud_name="google-europe-west1",
819
816
  plan="startup-4",
820
817
  service_name="test-service-name",
@@ -827,7 +824,6 @@ class Cassandra(pulumi.CustomResource):
827
824
  ),
828
825
  ))
829
826
  ```
830
- <!--End PulumiCodeChooser -->
831
827
 
832
828
  ## Import
833
829
 
@@ -957,7 +953,7 @@ class Cassandra(pulumi.CustomResource):
957
953
  :param pulumi.ResourceOptions opts: Options for the resource.
958
954
  :param pulumi.Input[str] additional_disk_space: Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
959
955
  :param pulumi.Input[pulumi.InputType['CassandraCassandraUserConfigArgs']] cassandra_user_config: Cassandra user configurable settings
960
- :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['CassandraCassandraArgs']]]] cassandras: cassandra configuration values
956
+ :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['CassandraCassandraArgs']]]] cassandras: Cassandra server provided values
961
957
  :param pulumi.Input[str] cloud_name: Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like [here for Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
962
958
  :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['CassandraComponentArgs']]]] components: Service component information objects
963
959
  :param pulumi.Input[str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
@@ -979,7 +975,7 @@ class Cassandra(pulumi.CustomResource):
979
975
  :param pulumi.Input[str] service_uri: URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
980
976
  :param pulumi.Input[str] service_username: Username used for connecting to the service, if applicable
981
977
  :param pulumi.Input[str] state: Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
982
- :param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: Use static public IP addresses.
978
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
983
979
  :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['CassandraTagArgs']]]] tags: Tags are key-value pairs that allow you to categorize services.
984
980
  :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['CassandraTechEmailArgs']]]] tech_emails: Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service instability.
985
981
  :param pulumi.Input[bool] termination_protection: Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
@@ -1038,7 +1034,7 @@ class Cassandra(pulumi.CustomResource):
1038
1034
  @pulumi.getter
1039
1035
  def cassandras(self) -> pulumi.Output[Sequence['outputs.CassandraCassandra']]:
1040
1036
  """
1041
- cassandra configuration values
1037
+ Cassandra server provided values
1042
1038
  """
1043
1039
  return pulumi.get(self, "cassandras")
1044
1040
 
@@ -1217,7 +1213,7 @@ class Cassandra(pulumi.CustomResource):
1217
1213
  @pulumi.getter(name="staticIps")
1218
1214
  def static_ips(self) -> pulumi.Output[Optional[Sequence[str]]]:
1219
1215
  """
1220
- Use static public IP addresses.
1216
+ Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
1221
1217
  """
1222
1218
  return pulumi.get(self, "static_ips")
1223
1219