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
@@ -280,26 +280,24 @@ class KafkaConnector(pulumi.CustomResource):
280
280
 
281
281
  ## Example Usage
282
282
 
283
- <!--Start PulumiCodeChooser -->
284
283
  ```python
285
284
  import pulumi
286
285
  import pulumi_aiven as aiven
287
286
 
288
287
  kafka_os_con1 = aiven.KafkaConnector("kafka-os-con1",
289
- project=aiven_project["kafka-con-project1"]["project"],
290
- service_name=aiven_kafka["kafka-service1"]["service_name"],
288
+ project=kafka_con_project1["project"],
289
+ service_name=kafka_service1["serviceName"],
291
290
  connector_name="kafka-os-con1",
292
291
  config={
293
- "topics": aiven_kafka_topic["kafka-topic1"]["topic_name"],
292
+ "topics": kafka_topic1["topicName"],
294
293
  "connector.class": "io.aiven.kafka.connect.opensearch.OpensearchSinkConnector",
295
294
  "type.name": "os-connector",
296
295
  "name": "kafka-os-con1",
297
- "connection.url": aiven_opensearch["os-service1"]["service_uri"],
298
- "connection.username": aiven_opensearch["os-service1"]["service_username"],
299
- "connection.password": aiven_opensearch["os-service1"]["service_password"],
296
+ "connection.url": os_service1["serviceUri"],
297
+ "connection.username": os_service1["serviceUsername"],
298
+ "connection.password": os_service1["servicePassword"],
300
299
  })
301
300
  ```
302
- <!--End PulumiCodeChooser -->
303
301
 
304
302
  ## Import
305
303
 
@@ -325,26 +323,24 @@ class KafkaConnector(pulumi.CustomResource):
325
323
 
326
324
  ## Example Usage
327
325
 
328
- <!--Start PulumiCodeChooser -->
329
326
  ```python
330
327
  import pulumi
331
328
  import pulumi_aiven as aiven
332
329
 
333
330
  kafka_os_con1 = aiven.KafkaConnector("kafka-os-con1",
334
- project=aiven_project["kafka-con-project1"]["project"],
335
- service_name=aiven_kafka["kafka-service1"]["service_name"],
331
+ project=kafka_con_project1["project"],
332
+ service_name=kafka_service1["serviceName"],
336
333
  connector_name="kafka-os-con1",
337
334
  config={
338
- "topics": aiven_kafka_topic["kafka-topic1"]["topic_name"],
335
+ "topics": kafka_topic1["topicName"],
339
336
  "connector.class": "io.aiven.kafka.connect.opensearch.OpensearchSinkConnector",
340
337
  "type.name": "os-connector",
341
338
  "name": "kafka-os-con1",
342
- "connection.url": aiven_opensearch["os-service1"]["service_uri"],
343
- "connection.username": aiven_opensearch["os-service1"]["service_username"],
344
- "connection.password": aiven_opensearch["os-service1"]["service_password"],
339
+ "connection.url": os_service1["serviceUri"],
340
+ "connection.username": os_service1["serviceUsername"],
341
+ "connection.password": os_service1["servicePassword"],
345
342
  })
346
343
  ```
347
- <!--End PulumiCodeChooser -->
348
344
 
349
345
  ## Import
350
346
 
@@ -840,13 +840,12 @@ class KafkaMirrorMaker(pulumi.CustomResource):
840
840
 
841
841
  ## Example Usage
842
842
 
843
- <!--Start PulumiCodeChooser -->
844
843
  ```python
845
844
  import pulumi
846
845
  import pulumi_aiven as aiven
847
846
 
848
847
  mm1 = aiven.KafkaMirrorMaker("mm1",
849
- project=data["aiven_project"]["pr1"]["project"],
848
+ project=pr1["project"],
850
849
  cloud_name="google-europe-west1",
851
850
  plan="startup-4",
852
851
  service_name="my-mm1",
@@ -859,7 +858,6 @@ class KafkaMirrorMaker(pulumi.CustomResource):
859
858
  ),
860
859
  ))
861
860
  ```
862
- <!--End PulumiCodeChooser -->
863
861
 
864
862
  ## Import
865
863
 
@@ -917,13 +915,12 @@ class KafkaMirrorMaker(pulumi.CustomResource):
917
915
 
918
916
  ## Example Usage
919
917
 
920
- <!--Start PulumiCodeChooser -->
921
918
  ```python
922
919
  import pulumi
923
920
  import pulumi_aiven as aiven
924
921
 
925
922
  mm1 = aiven.KafkaMirrorMaker("mm1",
926
- project=data["aiven_project"]["pr1"]["project"],
923
+ project=pr1["project"],
927
924
  cloud_name="google-europe-west1",
928
925
  plan="startup-4",
929
926
  service_name="my-mm1",
@@ -936,7 +933,6 @@ class KafkaMirrorMaker(pulumi.CustomResource):
936
933
  ),
937
934
  ))
938
935
  ```
939
- <!--End PulumiCodeChooser -->
940
936
 
941
937
  ## Import
942
938
 
@@ -248,14 +248,13 @@ class KafkaSchema(pulumi.CustomResource):
248
248
 
249
249
  ## Example Usage
250
250
 
251
- <!--Start PulumiCodeChooser -->
252
251
  ```python
253
252
  import pulumi
254
253
  import pulumi_aiven as aiven
255
254
 
256
255
  kafka_schema1 = aiven.KafkaSchema("kafka-schema1",
257
- project=aiven_project["kafka-schemas-project1"]["project"],
258
- service_name=aiven_kafka["kafka-service1"]["service_name"],
256
+ project=kafka_schemas_project1["project"],
257
+ service_name=kafka_service1["serviceName"],
259
258
  subject_name="kafka-schema1",
260
259
  compatibility_level="FORWARD",
261
260
  schema=\"\"\" {
@@ -275,7 +274,6 @@ class KafkaSchema(pulumi.CustomResource):
275
274
  }
276
275
  \"\"\")
277
276
  ```
278
- <!--End PulumiCodeChooser -->
279
277
 
280
278
  ## Import
281
279
 
@@ -303,14 +301,13 @@ class KafkaSchema(pulumi.CustomResource):
303
301
 
304
302
  ## Example Usage
305
303
 
306
- <!--Start PulumiCodeChooser -->
307
304
  ```python
308
305
  import pulumi
309
306
  import pulumi_aiven as aiven
310
307
 
311
308
  kafka_schema1 = aiven.KafkaSchema("kafka-schema1",
312
- project=aiven_project["kafka-schemas-project1"]["project"],
313
- service_name=aiven_kafka["kafka-service1"]["service_name"],
309
+ project=kafka_schemas_project1["project"],
310
+ service_name=kafka_service1["serviceName"],
314
311
  subject_name="kafka-schema1",
315
312
  compatibility_level="FORWARD",
316
313
  schema=\"\"\" {
@@ -330,7 +327,6 @@ class KafkaSchema(pulumi.CustomResource):
330
327
  }
331
328
  \"\"\")
332
329
  ```
333
- <!--End PulumiCodeChooser -->
334
330
 
335
331
  ## Import
336
332
 
@@ -135,17 +135,15 @@ class KafkaSchemaConfiguration(pulumi.CustomResource):
135
135
 
136
136
  ## Example Usage
137
137
 
138
- <!--Start PulumiCodeChooser -->
139
138
  ```python
140
139
  import pulumi
141
140
  import pulumi_aiven as aiven
142
141
 
143
142
  config = aiven.KafkaSchemaConfiguration("config",
144
- project=aiven_project["kafka-schemas-project1"]["project"],
145
- service_name=aiven_kafka["kafka-service1"]["service_name"],
143
+ project=kafka_schemas_project1["project"],
144
+ service_name=kafka_service1["serviceName"],
146
145
  compatibility_level="BACKWARD")
147
146
  ```
148
- <!--End PulumiCodeChooser -->
149
147
 
150
148
  ## Import
151
149
 
@@ -170,17 +168,15 @@ class KafkaSchemaConfiguration(pulumi.CustomResource):
170
168
 
171
169
  ## Example Usage
172
170
 
173
- <!--Start PulumiCodeChooser -->
174
171
  ```python
175
172
  import pulumi
176
173
  import pulumi_aiven as aiven
177
174
 
178
175
  config = aiven.KafkaSchemaConfiguration("config",
179
- project=aiven_project["kafka-schemas-project1"]["project"],
180
- service_name=aiven_kafka["kafka-service1"]["service_name"],
176
+ project=kafka_schemas_project1["project"],
177
+ service_name=kafka_service1["serviceName"],
181
178
  compatibility_level="BACKWARD")
182
179
  ```
183
- <!--End PulumiCodeChooser -->
184
180
 
185
181
  ## Import
186
182
 
@@ -301,6 +301,25 @@ class KafkaTopic(pulumi.CustomResource):
301
301
  """
302
302
  The Kafka Topic resource allows the creation and management of Aiven Kafka Topics.
303
303
 
304
+ ## Example Usage
305
+
306
+ ```python
307
+ import pulumi
308
+ import pulumi_aiven as aiven
309
+
310
+ mytesttopic = aiven.KafkaTopic("mytesttopic",
311
+ project=myproject["project"],
312
+ service_name=myservice["serviceName"],
313
+ topic_name="<TOPIC_NAME>",
314
+ partitions=5,
315
+ replication=3,
316
+ termination_protection=True,
317
+ config=aiven.KafkaTopicConfigArgs(
318
+ flush_ms="10",
319
+ cleanup_policy="compact,delete",
320
+ ))
321
+ ```
322
+
304
323
  ## Import
305
324
 
306
325
  ```sh
@@ -328,6 +347,25 @@ class KafkaTopic(pulumi.CustomResource):
328
347
  """
329
348
  The Kafka Topic resource allows the creation and management of Aiven Kafka Topics.
330
349
 
350
+ ## Example Usage
351
+
352
+ ```python
353
+ import pulumi
354
+ import pulumi_aiven as aiven
355
+
356
+ mytesttopic = aiven.KafkaTopic("mytesttopic",
357
+ project=myproject["project"],
358
+ service_name=myservice["serviceName"],
359
+ topic_name="<TOPIC_NAME>",
360
+ partitions=5,
361
+ replication=3,
362
+ termination_protection=True,
363
+ config=aiven.KafkaTopicConfigArgs(
364
+ flush_ms="10",
365
+ cleanup_policy="compact,delete",
366
+ ))
367
+ ```
368
+
331
369
  ## Import
332
370
 
333
371
  ```sh
@@ -215,18 +215,16 @@ class KafkaUser(pulumi.CustomResource):
215
215
 
216
216
  ## Example Usage
217
217
 
218
- <!--Start PulumiCodeChooser -->
219
218
  ```python
220
219
  import pulumi
221
220
  import pulumi_aiven as aiven
222
221
 
223
222
  foo = aiven.KafkaUser("foo",
224
- service_name=aiven_kafka["bar"]["service_name"],
223
+ service_name=bar["serviceName"],
225
224
  project="my-project",
226
225
  username="user-1",
227
226
  password="Test$1234")
228
227
  ```
229
- <!--End PulumiCodeChooser -->
230
228
 
231
229
  ## Import
232
230
 
@@ -252,18 +250,16 @@ class KafkaUser(pulumi.CustomResource):
252
250
 
253
251
  ## Example Usage
254
252
 
255
- <!--Start PulumiCodeChooser -->
256
253
  ```python
257
254
  import pulumi
258
255
  import pulumi_aiven as aiven
259
256
 
260
257
  foo = aiven.KafkaUser("foo",
261
- service_name=aiven_kafka["bar"]["service_name"],
258
+ service_name=bar["serviceName"],
262
259
  project="my-project",
263
260
  username="user-1",
264
261
  password="Test$1234")
265
262
  ```
266
- <!--End PulumiCodeChooser -->
267
263
 
268
264
  ## Import
269
265
 
@@ -840,13 +840,12 @@ class M3Aggregator(pulumi.CustomResource):
840
840
 
841
841
  ## Example Usage
842
842
 
843
- <!--Start PulumiCodeChooser -->
844
843
  ```python
845
844
  import pulumi
846
845
  import pulumi_aiven as aiven
847
846
 
848
847
  m3a = aiven.M3Aggregator("m3a",
849
- project=data["aiven_project"]["foo"]["project"],
848
+ project=foo["project"],
850
849
  cloud_name="google-europe-west1",
851
850
  plan="business-8",
852
851
  service_name="my-m3a",
@@ -856,7 +855,6 @@ class M3Aggregator(pulumi.CustomResource):
856
855
  m3aggregator_version="0.15",
857
856
  ))
858
857
  ```
859
- <!--End PulumiCodeChooser -->
860
858
 
861
859
  ## Import
862
860
 
@@ -914,13 +912,12 @@ class M3Aggregator(pulumi.CustomResource):
914
912
 
915
913
  ## Example Usage
916
914
 
917
- <!--Start PulumiCodeChooser -->
918
915
  ```python
919
916
  import pulumi
920
917
  import pulumi_aiven as aiven
921
918
 
922
919
  m3a = aiven.M3Aggregator("m3a",
923
- project=data["aiven_project"]["foo"]["project"],
920
+ project=foo["project"],
924
921
  cloud_name="google-europe-west1",
925
922
  plan="business-8",
926
923
  service_name="my-m3a",
@@ -930,7 +927,6 @@ class M3Aggregator(pulumi.CustomResource):
930
927
  m3aggregator_version="0.15",
931
928
  ))
932
929
  ```
933
- <!--End PulumiCodeChooser -->
934
930
 
935
931
  ## Import
936
932
 
pulumi_aiven/m3_db.py CHANGED
@@ -840,13 +840,12 @@ class M3Db(pulumi.CustomResource):
840
840
 
841
841
  ## Example Usage
842
842
 
843
- <!--Start PulumiCodeChooser -->
844
843
  ```python
845
844
  import pulumi
846
845
  import pulumi_aiven as aiven
847
846
 
848
847
  m3 = aiven.M3Db("m3",
849
- project=data["aiven_project"]["foo"]["project"],
848
+ project=foo["project"],
850
849
  cloud_name="google-europe-west1",
851
850
  plan="business-8",
852
851
  service_name="my-m3db",
@@ -860,7 +859,6 @@ class M3Db(pulumi.CustomResource):
860
859
  )],
861
860
  ))
862
861
  ```
863
- <!--End PulumiCodeChooser -->
864
862
 
865
863
  ## Import
866
864
 
@@ -918,13 +916,12 @@ class M3Db(pulumi.CustomResource):
918
916
 
919
917
  ## Example Usage
920
918
 
921
- <!--Start PulumiCodeChooser -->
922
919
  ```python
923
920
  import pulumi
924
921
  import pulumi_aiven as aiven
925
922
 
926
923
  m3 = aiven.M3Db("m3",
927
- project=data["aiven_project"]["foo"]["project"],
924
+ project=foo["project"],
928
925
  cloud_name="google-europe-west1",
929
926
  plan="business-8",
930
927
  service_name="my-m3db",
@@ -938,7 +935,6 @@ class M3Db(pulumi.CustomResource):
938
935
  )],
939
936
  ))
940
937
  ```
941
- <!--End PulumiCodeChooser -->
942
938
 
943
939
  ## Import
944
940
 
pulumi_aiven/m3db_user.py CHANGED
@@ -183,18 +183,16 @@ class M3dbUser(pulumi.CustomResource):
183
183
 
184
184
  ## Example Usage
185
185
 
186
- <!--Start PulumiCodeChooser -->
187
186
  ```python
188
187
  import pulumi
189
188
  import pulumi_aiven as aiven
190
189
 
191
190
  foo = aiven.M3dbUser("foo",
192
- service_name=aiven_m3db["bar"]["service_name"],
191
+ service_name=bar["serviceName"],
193
192
  project="my-project",
194
193
  username="user-1",
195
194
  password="Test$1234")
196
195
  ```
197
- <!--End PulumiCodeChooser -->
198
196
 
199
197
  ## Import
200
198
 
@@ -220,18 +218,16 @@ class M3dbUser(pulumi.CustomResource):
220
218
 
221
219
  ## Example Usage
222
220
 
223
- <!--Start PulumiCodeChooser -->
224
221
  ```python
225
222
  import pulumi
226
223
  import pulumi_aiven as aiven
227
224
 
228
225
  foo = aiven.M3dbUser("foo",
229
- service_name=aiven_m3db["bar"]["service_name"],
226
+ service_name=bar["serviceName"],
230
227
  project="my-project",
231
228
  username="user-1",
232
229
  password="Test$1234")
233
230
  ```
234
- <!--End PulumiCodeChooser -->
235
231
 
236
232
  ## Import
237
233
 
@@ -460,16 +460,15 @@ class MirrorMakerReplicationFlow(pulumi.CustomResource):
460
460
 
461
461
  ## Example Usage
462
462
 
463
- <!--Start PulumiCodeChooser -->
464
463
  ```python
465
464
  import pulumi
466
465
  import pulumi_aiven as aiven
467
466
 
468
467
  f1 = aiven.MirrorMakerReplicationFlow("f1",
469
- project=aiven_project["kafka-mm-project1"]["project"],
470
- service_name=aiven_kafka["mm"]["service_name"],
471
- source_cluster=aiven_kafka["source"]["service_name"],
472
- target_cluster=aiven_kafka["target"]["service_name"],
468
+ project=kafka_mm_project1["project"],
469
+ service_name=mm["serviceName"],
470
+ source_cluster=source["serviceName"],
471
+ target_cluster=target["serviceName"],
473
472
  enable=True,
474
473
  topics=[".*"],
475
474
  topics_blacklists=[
@@ -478,7 +477,6 @@ class MirrorMakerReplicationFlow(pulumi.CustomResource):
478
477
  "__.*",
479
478
  ])
480
479
  ```
481
- <!--End PulumiCodeChooser -->
482
480
 
483
481
  ## Import
484
482
 
@@ -513,16 +511,15 @@ class MirrorMakerReplicationFlow(pulumi.CustomResource):
513
511
 
514
512
  ## Example Usage
515
513
 
516
- <!--Start PulumiCodeChooser -->
517
514
  ```python
518
515
  import pulumi
519
516
  import pulumi_aiven as aiven
520
517
 
521
518
  f1 = aiven.MirrorMakerReplicationFlow("f1",
522
- project=aiven_project["kafka-mm-project1"]["project"],
523
- service_name=aiven_kafka["mm"]["service_name"],
524
- source_cluster=aiven_kafka["source"]["service_name"],
525
- target_cluster=aiven_kafka["target"]["service_name"],
519
+ project=kafka_mm_project1["project"],
520
+ service_name=mm["serviceName"],
521
+ source_cluster=source["serviceName"],
522
+ target_cluster=target["serviceName"],
526
523
  enable=True,
527
524
  topics=[".*"],
528
525
  topics_blacklists=[
@@ -531,7 +528,6 @@ class MirrorMakerReplicationFlow(pulumi.CustomResource):
531
528
  "__.*",
532
529
  ])
533
530
  ```
534
- <!--End PulumiCodeChooser -->
535
531
 
536
532
  ## Import
537
533
 
pulumi_aiven/my_sql.py CHANGED
@@ -840,13 +840,12 @@ class MySql(pulumi.CustomResource):
840
840
 
841
841
  ## Example Usage
842
842
 
843
- <!--Start PulumiCodeChooser -->
844
843
  ```python
845
844
  import pulumi
846
845
  import pulumi_aiven as aiven
847
846
 
848
847
  mysql1 = aiven.MySql("mysql1",
849
- project=data["aiven_project"]["foo"]["project"],
848
+ project=foo["project"],
850
849
  cloud_name="google-europe-west1",
851
850
  plan="business-4",
852
851
  service_name="my-mysql1",
@@ -863,7 +862,6 @@ class MySql(pulumi.CustomResource):
863
862
  ),
864
863
  ))
865
864
  ```
866
- <!--End PulumiCodeChooser -->
867
865
 
868
866
  ## Import
869
867
 
@@ -921,13 +919,12 @@ class MySql(pulumi.CustomResource):
921
919
 
922
920
  ## Example Usage
923
921
 
924
- <!--Start PulumiCodeChooser -->
925
922
  ```python
926
923
  import pulumi
927
924
  import pulumi_aiven as aiven
928
925
 
929
926
  mysql1 = aiven.MySql("mysql1",
930
- project=data["aiven_project"]["foo"]["project"],
927
+ project=foo["project"],
931
928
  cloud_name="google-europe-west1",
932
929
  plan="business-4",
933
930
  service_name="my-mysql1",
@@ -944,7 +941,6 @@ class MySql(pulumi.CustomResource):
944
941
  ),
945
942
  ))
946
943
  ```
947
- <!--End PulumiCodeChooser -->
948
944
 
949
945
  ## Import
950
946
 
@@ -171,17 +171,15 @@ class MysqlDatabase(pulumi.CustomResource):
171
171
 
172
172
  ## Example Usage
173
173
 
174
- <!--Start PulumiCodeChooser -->
175
174
  ```python
176
175
  import pulumi
177
176
  import pulumi_aiven as aiven
178
177
 
179
178
  mydatabase = aiven.MysqlDatabase("mydatabase",
180
- project=aiven_project["myproject"]["project"],
181
- service_name=aiven_mysql["mymysql"]["service_name"],
179
+ project=myproject["project"],
180
+ service_name=mymysql["serviceName"],
182
181
  database_name="<DATABASE_NAME>")
183
182
  ```
184
- <!--End PulumiCodeChooser -->
185
183
 
186
184
  ## Import
187
185
 
@@ -208,17 +206,15 @@ class MysqlDatabase(pulumi.CustomResource):
208
206
 
209
207
  ## Example Usage
210
208
 
211
- <!--Start PulumiCodeChooser -->
212
209
  ```python
213
210
  import pulumi
214
211
  import pulumi_aiven as aiven
215
212
 
216
213
  mydatabase = aiven.MysqlDatabase("mydatabase",
217
- project=aiven_project["myproject"]["project"],
218
- service_name=aiven_mysql["mymysql"]["service_name"],
214
+ project=myproject["project"],
215
+ service_name=mymysql["serviceName"],
219
216
  database_name="<DATABASE_NAME>")
220
217
  ```
221
- <!--End PulumiCodeChooser -->
222
218
 
223
219
  ## Import
224
220
 
@@ -248,18 +248,16 @@ class MysqlUser(pulumi.CustomResource):
248
248
 
249
249
  ## Example Usage
250
250
 
251
- <!--Start PulumiCodeChooser -->
252
251
  ```python
253
252
  import pulumi
254
253
  import pulumi_aiven as aiven
255
254
 
256
255
  foo = aiven.MysqlUser("foo",
257
- service_name=aiven_mysql["bar"]["service_name"],
256
+ service_name=bar["serviceName"],
258
257
  project="my-project",
259
258
  username="user-1",
260
259
  password="Test$1234")
261
260
  ```
262
- <!--End PulumiCodeChooser -->
263
261
 
264
262
  ## Import
265
263
 
@@ -286,18 +284,16 @@ class MysqlUser(pulumi.CustomResource):
286
284
 
287
285
  ## Example Usage
288
286
 
289
- <!--Start PulumiCodeChooser -->
290
287
  ```python
291
288
  import pulumi
292
289
  import pulumi_aiven as aiven
293
290
 
294
291
  foo = aiven.MysqlUser("foo",
295
- service_name=aiven_mysql["bar"]["service_name"],
292
+ service_name=bar["serviceName"],
296
293
  project="my-project",
297
294
  username="user-1",
298
295
  password="Test$1234")
299
296
  ```
300
- <!--End PulumiCodeChooser -->
301
297
 
302
298
  ## Import
303
299