pulumi-aiven 6.14.0__py3-none-any.whl → 6.14.0a1711602990__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 (132) hide show
  1. pulumi_aiven/_inputs.py +262 -200
  2. pulumi_aiven/account.py +6 -2
  3. pulumi_aiven/account_authentication.py +2 -2
  4. pulumi_aiven/account_team.py +6 -6
  5. pulumi_aiven/account_team_member.py +10 -6
  6. pulumi_aiven/account_team_project.py +12 -12
  7. pulumi_aiven/aws_privatelink.py +22 -18
  8. pulumi_aiven/aws_vpc_peering_connection.py +12 -8
  9. pulumi_aiven/azure_privatelink.py +22 -18
  10. pulumi_aiven/azure_privatelink_connection_approval.py +14 -112
  11. pulumi_aiven/azure_vpc_peering_connection.py +10 -6
  12. pulumi_aiven/billing_group.py +18 -18
  13. pulumi_aiven/cassandra.py +57 -25
  14. pulumi_aiven/cassandra_user.py +22 -18
  15. pulumi_aiven/clickhouse.py +57 -25
  16. pulumi_aiven/clickhouse_database.py +26 -24
  17. pulumi_aiven/clickhouse_grant.py +37 -35
  18. pulumi_aiven/clickhouse_role.py +20 -16
  19. pulumi_aiven/clickhouse_user.py +22 -18
  20. pulumi_aiven/connection_pool.py +28 -24
  21. pulumi_aiven/dragonfly.py +263 -124
  22. pulumi_aiven/flink.py +36 -32
  23. pulumi_aiven/flink_application.py +24 -22
  24. pulumi_aiven/flink_application_deployment.py +21 -21
  25. pulumi_aiven/flink_application_version.py +14 -96
  26. pulumi_aiven/gcp_privatelink.py +21 -21
  27. pulumi_aiven/gcp_privatelink_connection_approval.py +21 -21
  28. pulumi_aiven/gcp_vpc_peering_connection.py +8 -4
  29. pulumi_aiven/get_account.py +4 -0
  30. pulumi_aiven/get_aws_privatelink.py +14 -10
  31. pulumi_aiven/get_aws_vpc_peering_connection.py +10 -6
  32. pulumi_aiven/get_azure_privatelink.py +14 -10
  33. pulumi_aiven/get_azure_vpc_peering_connection.py +6 -2
  34. pulumi_aiven/get_billing_group.py +2 -2
  35. pulumi_aiven/get_cassanda.py +24 -7
  36. pulumi_aiven/get_cassandra.py +24 -7
  37. pulumi_aiven/get_cassandra_user.py +14 -10
  38. pulumi_aiven/get_clickhouse.py +24 -7
  39. pulumi_aiven/get_clickhouse_database.py +14 -10
  40. pulumi_aiven/get_clickhouse_user.py +14 -10
  41. pulumi_aiven/get_connection_pool.py +14 -10
  42. pulumi_aiven/get_dragonfly.py +20 -27
  43. pulumi_aiven/get_flink.py +10 -6
  44. pulumi_aiven/get_flink_application.py +12 -8
  45. pulumi_aiven/get_flink_application_version.py +12 -8
  46. pulumi_aiven/get_gcp_vpc_peering_connection.py +6 -2
  47. pulumi_aiven/get_grafana.py +24 -7
  48. pulumi_aiven/get_kafka.py +17 -13
  49. pulumi_aiven/get_kafka_acl.py +14 -10
  50. pulumi_aiven/get_kafka_connect.py +24 -7
  51. pulumi_aiven/get_kafka_connector.py +14 -10
  52. pulumi_aiven/get_kafka_mirror_maker.py +24 -7
  53. pulumi_aiven/get_kafka_schema.py +14 -10
  54. pulumi_aiven/get_kafka_schema_configuration.py +14 -10
  55. pulumi_aiven/get_kafka_schema_registry_acl.py +6 -6
  56. pulumi_aiven/get_kafka_topic.py +20 -16
  57. pulumi_aiven/get_kafka_user.py +14 -10
  58. pulumi_aiven/get_m3_aggregator.py +24 -7
  59. pulumi_aiven/get_m3_db.py +24 -7
  60. pulumi_aiven/get_m3db_user.py +14 -10
  61. pulumi_aiven/get_mirror_maker_replication_flow.py +18 -14
  62. pulumi_aiven/get_my_sql.py +24 -7
  63. pulumi_aiven/get_mysql_database.py +14 -10
  64. pulumi_aiven/get_mysql_user.py +14 -10
  65. pulumi_aiven/get_open_search.py +10 -6
  66. pulumi_aiven/get_open_search_acl_config.py +14 -10
  67. pulumi_aiven/get_open_search_acl_rule.py +14 -10
  68. pulumi_aiven/get_opensearch_security_plugin_config.py +14 -10
  69. pulumi_aiven/get_opensearch_user.py +14 -10
  70. pulumi_aiven/get_organization.py +4 -0
  71. pulumi_aiven/get_organization_user_group.py +6 -2
  72. pulumi_aiven/get_pg.py +10 -6
  73. pulumi_aiven/get_pg_database.py +14 -10
  74. pulumi_aiven/get_pg_user.py +14 -10
  75. pulumi_aiven/get_project.py +21 -17
  76. pulumi_aiven/get_project_user.py +13 -9
  77. pulumi_aiven/get_project_vpc.py +6 -2
  78. pulumi_aiven/get_redis.py +24 -7
  79. pulumi_aiven/get_redis_user.py +14 -10
  80. pulumi_aiven/get_service_component.py +8 -4
  81. pulumi_aiven/get_service_integration.py +33 -19
  82. pulumi_aiven/get_service_integration_endpoint.py +6 -2
  83. pulumi_aiven/get_transit_gateway_vpc_attachment.py +6 -2
  84. pulumi_aiven/grafana.py +267 -82
  85. pulumi_aiven/influx_db.py +21 -21
  86. pulumi_aiven/influxdb_database.py +21 -21
  87. pulumi_aiven/influxdb_user.py +21 -21
  88. pulumi_aiven/kafka.py +54 -50
  89. pulumi_aiven/kafka_acl.py +24 -20
  90. pulumi_aiven/kafka_connect.py +267 -80
  91. pulumi_aiven/kafka_connector.py +30 -26
  92. pulumi_aiven/kafka_mirror_maker.py +267 -80
  93. pulumi_aiven/kafka_schema.py +22 -18
  94. pulumi_aiven/kafka_schema_configuration.py +24 -20
  95. pulumi_aiven/kafka_schema_registry_acl.py +14 -54
  96. pulumi_aiven/kafka_topic.py +46 -84
  97. pulumi_aiven/kafka_user.py +22 -18
  98. pulumi_aiven/m3_aggregator.py +267 -80
  99. pulumi_aiven/m3_db.py +267 -80
  100. pulumi_aiven/m3db_user.py +20 -16
  101. pulumi_aiven/mirror_maker_replication_flow.py +26 -22
  102. pulumi_aiven/my_sql.py +267 -80
  103. pulumi_aiven/mysql_database.py +24 -20
  104. pulumi_aiven/mysql_user.py +22 -18
  105. pulumi_aiven/open_search.py +31 -27
  106. pulumi_aiven/open_search_acl_config.py +36 -28
  107. pulumi_aiven/open_search_acl_rule.py +40 -36
  108. pulumi_aiven/opensearch_security_plugin_config.py +32 -28
  109. pulumi_aiven/opensearch_user.py +22 -18
  110. pulumi_aiven/organization.py +6 -2
  111. pulumi_aiven/organization_group_project.py +0 -46
  112. pulumi_aiven/organization_user.py +20 -2
  113. pulumi_aiven/organization_user_group.py +6 -4
  114. pulumi_aiven/organization_user_group_member.py +10 -8
  115. pulumi_aiven/organizational_unit.py +6 -6
  116. pulumi_aiven/outputs.py +390 -271
  117. pulumi_aiven/pg.py +30 -30
  118. pulumi_aiven/pg_database.py +24 -20
  119. pulumi_aiven/pg_user.py +22 -18
  120. pulumi_aiven/project.py +79 -75
  121. pulumi_aiven/project_user.py +28 -24
  122. pulumi_aiven/project_vpc.py +7 -31
  123. pulumi_aiven/redis.py +267 -80
  124. pulumi_aiven/redis_user.py +22 -18
  125. pulumi_aiven/service_integration.py +58 -54
  126. pulumi_aiven/static_ip.py +7 -7
  127. pulumi_aiven/transit_gateway_vpc_attachment.py +8 -4
  128. {pulumi_aiven-6.14.0.dist-info → pulumi_aiven-6.14.0a1711602990.dist-info}/METADATA +1 -1
  129. pulumi_aiven-6.14.0a1711602990.dist-info/RECORD +150 -0
  130. pulumi_aiven-6.14.0.dist-info/RECORD +0 -150
  131. {pulumi_aiven-6.14.0.dist-info → pulumi_aiven-6.14.0a1711602990.dist-info}/WHEEL +0 -0
  132. {pulumi_aiven-6.14.0.dist-info → pulumi_aiven-6.14.0a1711602990.dist-info}/top_level.txt +0 -0
@@ -19,8 +19,8 @@ class AzurePrivatelinkConnectionApprovalArgs:
19
19
  endpoint_ip_address: Optional[pulumi.Input[str]] = None):
20
20
  """
21
21
  The set of arguments for constructing a AzurePrivatelinkConnectionApproval resource.
22
- :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.
23
- :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.
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. Changing this property 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. Changing this property forces recreation of the resource.
24
24
  :param pulumi.Input[str] endpoint_ip_address: IP address of Azure private endpoint.
25
25
  """
26
26
  pulumi.set(__self__, "project", project)
@@ -32,7 +32,7 @@ class AzurePrivatelinkConnectionApprovalArgs:
32
32
  @pulumi.getter
33
33
  def project(self) -> pulumi.Input[str]:
34
34
  """
35
- 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
+ Identifies 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
36
  """
37
37
  return pulumi.get(self, "project")
38
38
 
@@ -44,7 +44,7 @@ class AzurePrivatelinkConnectionApprovalArgs:
44
44
  @pulumi.getter(name="serviceName")
45
45
  def service_name(self) -> pulumi.Input[str]:
46
46
  """
47
- 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
+ Specifies 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
48
  """
49
49
  return pulumi.get(self, "service_name")
50
50
 
@@ -77,8 +77,8 @@ class _AzurePrivatelinkConnectionApprovalState:
77
77
  Input properties used for looking up and filtering AzurePrivatelinkConnectionApproval resources.
78
78
  :param pulumi.Input[str] endpoint_ip_address: IP address of Azure private endpoint.
79
79
  :param pulumi.Input[str] privatelink_connection_id: The ID of the Private Link connection.
80
- :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.
81
- :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.
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. Changing this property 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. Changing this property forces recreation of the resource.
82
82
  :param pulumi.Input[str] state: The state of the Private Link connection.
83
83
  """
84
84
  if endpoint_ip_address is not None:
@@ -120,7 +120,7 @@ class _AzurePrivatelinkConnectionApprovalState:
120
120
  @pulumi.getter
121
121
  def project(self) -> Optional[pulumi.Input[str]]:
122
122
  """
123
- 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.
123
+ Identifies 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
124
  """
125
125
  return pulumi.get(self, "project")
126
126
 
@@ -132,7 +132,7 @@ class _AzurePrivatelinkConnectionApprovalState:
132
132
  @pulumi.getter(name="serviceName")
133
133
  def service_name(self) -> Optional[pulumi.Input[str]]:
134
134
  """
135
- 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.
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. Changing this property forces recreation of the resource.
136
136
  """
137
137
  return pulumi.get(self, "service_name")
138
138
 
@@ -165,55 +165,6 @@ 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
-
217
168
  ## Import
218
169
 
219
170
  ```sh
@@ -223,8 +174,8 @@ class AzurePrivatelinkConnectionApproval(pulumi.CustomResource):
223
174
  :param str resource_name: The name of the resource.
224
175
  :param pulumi.ResourceOptions opts: Options for the resource.
225
176
  :param pulumi.Input[str] endpoint_ip_address: IP address of Azure private endpoint.
226
- :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.
227
- :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.
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. Changing this property 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. Changing this property forces recreation of the resource.
228
179
  """
229
180
  ...
230
181
  @overload
@@ -235,55 +186,6 @@ class AzurePrivatelinkConnectionApproval(pulumi.CustomResource):
235
186
  """
236
187
  Approves an Azure Private Link connection to an Aiven service with an associated endpoint IP.
237
188
 
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
-
287
189
  ## Import
288
190
 
289
191
  ```sh
@@ -350,8 +252,8 @@ class AzurePrivatelinkConnectionApproval(pulumi.CustomResource):
350
252
  :param pulumi.ResourceOptions opts: Options for the resource.
351
253
  :param pulumi.Input[str] endpoint_ip_address: IP address of Azure private endpoint.
352
254
  :param pulumi.Input[str] privatelink_connection_id: The ID of the Private Link connection.
353
- :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.
354
- :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.
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. Changing this property 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. Changing this property forces recreation of the resource.
355
257
  :param pulumi.Input[str] state: The state of the Private Link connection.
356
258
  """
357
259
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
@@ -385,7 +287,7 @@ class AzurePrivatelinkConnectionApproval(pulumi.CustomResource):
385
287
  @pulumi.getter
386
288
  def project(self) -> pulumi.Output[str]:
387
289
  """
388
- 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.
290
+ Identifies 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.
389
291
  """
390
292
  return pulumi.get(self, "project")
391
293
 
@@ -393,7 +295,7 @@ class AzurePrivatelinkConnectionApproval(pulumi.CustomResource):
393
295
  @pulumi.getter(name="serviceName")
394
296
  def service_name(self) -> pulumi.Output[str]:
395
297
  """
396
- 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.
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. Changing this property forces recreation of the resource.
397
299
  """
398
300
  return pulumi.get(self, "service_name")
399
301
 
@@ -278,15 +278,16 @@ class AzureVpcPeeringConnection(pulumi.CustomResource):
278
278
 
279
279
  ## Example Usage
280
280
 
281
+ <!--Start PulumiCodeChooser -->
281
282
  ```python
282
283
  import pulumi
283
284
  import pulumi_aiven as aiven
284
285
 
285
- example_vpc = aiven.ProjectVpc("example_vpc",
286
- project=example_project["project"],
286
+ example_vpc = aiven.ProjectVpc("exampleVpc",
287
+ project=data["aiven_project"]["example_project"]["project"],
287
288
  cloud_name="google-europe-west1",
288
289
  network_cidr="192.168.1.0/24")
289
- azure_to_aiven_peering = aiven.AzureVpcPeeringConnection("azure_to_aiven_peering",
290
+ azure_to_aiven_peering = aiven.AzureVpcPeeringConnection("azureToAivenPeering",
290
291
  vpc_id=example_vpc.id,
291
292
  azure_subscription_id="00000000-0000-0000-0000-000000000000",
292
293
  peer_resource_group="example-resource-group",
@@ -294,6 +295,7 @@ class AzureVpcPeeringConnection(pulumi.CustomResource):
294
295
  peer_azure_app_id="00000000-0000-0000-0000-000000000000",
295
296
  peer_azure_tenant_id="00000000-0000-0000-0000-000000000000")
296
297
  ```
298
+ <!--End PulumiCodeChooser -->
297
299
 
298
300
  ## Import
299
301
 
@@ -321,15 +323,16 @@ class AzureVpcPeeringConnection(pulumi.CustomResource):
321
323
 
322
324
  ## Example Usage
323
325
 
326
+ <!--Start PulumiCodeChooser -->
324
327
  ```python
325
328
  import pulumi
326
329
  import pulumi_aiven as aiven
327
330
 
328
- example_vpc = aiven.ProjectVpc("example_vpc",
329
- project=example_project["project"],
331
+ example_vpc = aiven.ProjectVpc("exampleVpc",
332
+ project=data["aiven_project"]["example_project"]["project"],
330
333
  cloud_name="google-europe-west1",
331
334
  network_cidr="192.168.1.0/24")
332
- azure_to_aiven_peering = aiven.AzureVpcPeeringConnection("azure_to_aiven_peering",
335
+ azure_to_aiven_peering = aiven.AzureVpcPeeringConnection("azureToAivenPeering",
333
336
  vpc_id=example_vpc.id,
334
337
  azure_subscription_id="00000000-0000-0000-0000-000000000000",
335
338
  peer_resource_group="example-resource-group",
@@ -337,6 +340,7 @@ class AzureVpcPeeringConnection(pulumi.CustomResource):
337
340
  peer_azure_app_id="00000000-0000-0000-0000-000000000000",
338
341
  peer_azure_tenant_id="00000000-0000-0000-0000-000000000000")
339
342
  ```
343
+ <!--End PulumiCodeChooser -->
340
344
 
341
345
  ## Import
342
346
 
@@ -541,28 +541,28 @@ class BillingGroup(pulumi.CustomResource):
541
541
  zip_code: Optional[pulumi.Input[str]] = None,
542
542
  __props__=None):
543
543
  """
544
- Creates and manages [billing groups](https://aiven.io/docs/platform/concepts/billing-groups) and assigns them to projects.
544
+ Creates and manages billing groups and assigns them to projects.
545
545
 
546
546
  ## Example Usage
547
547
 
548
+ <!--Start PulumiCodeChooser -->
548
549
  ```python
549
550
  import pulumi
550
551
  import pulumi_aiven as aiven
551
552
 
552
- example_billing_group = aiven.BillingGroup("example_billing_group",
553
- name="example-billing-group",
553
+ bybg1 = aiven.BillingGroup("bybg1",
554
554
  billing_currency="USD",
555
- vat_id="123ABC",
556
- parent_id=main["id"])
557
- example_project = aiven.Project("example_project",
558
- project="example-project",
559
- billing_group=example_billing_group.id)
555
+ vat_id="123ABC")
556
+ pr1 = aiven.Project("pr1",
557
+ project="pr1",
558
+ billing_group=bybg1.id)
560
559
  ```
560
+ <!--End PulumiCodeChooser -->
561
561
 
562
562
  ## Import
563
563
 
564
564
  ```sh
565
- $ pulumi import aiven:index/billingGroup:BillingGroup example_billing_group ID
565
+ $ pulumi import aiven:index/billingGroup:BillingGroup bybg1 id
566
566
  ```
567
567
 
568
568
  :param str resource_name: The name of the resource.
@@ -590,28 +590,28 @@ class BillingGroup(pulumi.CustomResource):
590
590
  args: Optional[BillingGroupArgs] = None,
591
591
  opts: Optional[pulumi.ResourceOptions] = None):
592
592
  """
593
- Creates and manages [billing groups](https://aiven.io/docs/platform/concepts/billing-groups) and assigns them to projects.
593
+ Creates and manages billing groups and assigns them to projects.
594
594
 
595
595
  ## Example Usage
596
596
 
597
+ <!--Start PulumiCodeChooser -->
597
598
  ```python
598
599
  import pulumi
599
600
  import pulumi_aiven as aiven
600
601
 
601
- example_billing_group = aiven.BillingGroup("example_billing_group",
602
- name="example-billing-group",
602
+ bybg1 = aiven.BillingGroup("bybg1",
603
603
  billing_currency="USD",
604
- vat_id="123ABC",
605
- parent_id=main["id"])
606
- example_project = aiven.Project("example_project",
607
- project="example-project",
608
- billing_group=example_billing_group.id)
604
+ vat_id="123ABC")
605
+ pr1 = aiven.Project("pr1",
606
+ project="pr1",
607
+ billing_group=bybg1.id)
609
608
  ```
609
+ <!--End PulumiCodeChooser -->
610
610
 
611
611
  ## Import
612
612
 
613
613
  ```sh
614
- $ pulumi import aiven:index/billingGroup:BillingGroup example_billing_group ID
614
+ $ pulumi import aiven:index/billingGroup:BillingGroup bybg1 id
615
615
  ```
616
616
 
617
617
  :param str resource_name: The name of the resource.