pulumi-aiven 6.14.0__py3-none-any.whl → 6.14.0a1711516617__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.0a1711516617.dist-info}/METADATA +1 -1
  129. pulumi_aiven-6.14.0a1711516617.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.0a1711516617.dist-info}/WHEEL +0 -0
  132. {pulumi_aiven-6.14.0.dist-info → pulumi_aiven-6.14.0a1711516617.dist-info}/top_level.txt +0 -0
pulumi_aiven/kafka.py CHANGED
@@ -36,21 +36,21 @@ class KafkaArgs:
36
36
  """
37
37
  The set of arguments for constructing a Kafka resource.
38
38
  :param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seem from the [Aiven pricing page](https://aiven.io/pricing).
39
- :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.
39
+ :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.
40
40
  :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.
41
41
  :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.
42
42
  :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).
43
- :param pulumi.Input[bool] default_acl: Create a default wildcard Kafka ACL.
43
+ :param pulumi.Input[bool] default_acl: Create default wildcard Kafka ACL
44
44
  :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.
45
45
  :param pulumi.Input['KafkaKafkaUserConfigArgs'] kafka_user_config: Kafka user configurable settings
46
- :param pulumi.Input[bool] karapace: Switch the service to use [Karapace](https://aiven.io/docs/products/kafka/karapace) for schema registry and REST proxy.
46
+ :param pulumi.Input[bool] karapace: Switch the service to use Karapace for schema registry and REST proxy
47
47
  :param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
48
48
  :param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
49
49
  :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.
50
50
  :param pulumi.Input[Sequence[pulumi.Input['KafkaServiceIntegrationArgs']]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
51
- :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
51
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: Use static public IP addresses.
52
52
  :param pulumi.Input[Sequence[pulumi.Input['KafkaTagArgs']]] tags: Tags are key-value pairs that allow you to categorize services.
53
- :param pulumi.Input[Sequence[pulumi.Input['KafkaTechEmailArgs']]] tech_emails: The email addresses for [service contacts](https://aiven.io/docs/platform/howto/technical-emails), who will receive important alerts and updates about this service. You can also set email contacts at the project level.
53
+ :param pulumi.Input[Sequence[pulumi.Input['KafkaTechEmailArgs']]] tech_emails: Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service instability.
54
54
  :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.
55
55
  """
56
56
  pulumi.set(__self__, "plan", plan)
@@ -107,7 +107,7 @@ class KafkaArgs:
107
107
  @pulumi.getter
108
108
  def project(self) -> pulumi.Input[str]:
109
109
  """
110
- 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.
110
+ 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.
111
111
  """
112
112
  return pulumi.get(self, "project")
113
113
 
@@ -155,7 +155,7 @@ class KafkaArgs:
155
155
  @pulumi.getter(name="defaultAcl")
156
156
  def default_acl(self) -> Optional[pulumi.Input[bool]]:
157
157
  """
158
- Create a default wildcard Kafka ACL.
158
+ Create default wildcard Kafka ACL
159
159
  """
160
160
  return pulumi.get(self, "default_acl")
161
161
 
@@ -194,7 +194,7 @@ class KafkaArgs:
194
194
  @pulumi.getter
195
195
  def karapace(self) -> Optional[pulumi.Input[bool]]:
196
196
  """
197
- Switch the service to use [Karapace](https://aiven.io/docs/products/kafka/karapace) for schema registry and REST proxy.
197
+ Switch the service to use Karapace for schema registry and REST proxy
198
198
  """
199
199
  warnings.warn("""Usage of this field is discouraged.""", DeprecationWarning)
200
200
  pulumi.log.warn("""karapace is deprecated: Usage of this field is discouraged.""")
@@ -257,7 +257,7 @@ class KafkaArgs:
257
257
  @pulumi.getter(name="staticIps")
258
258
  def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
259
259
  """
260
- 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
260
+ Use static public IP addresses.
261
261
  """
262
262
  return pulumi.get(self, "static_ips")
263
263
 
@@ -281,7 +281,7 @@ class KafkaArgs:
281
281
  @pulumi.getter(name="techEmails")
282
282
  def tech_emails(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['KafkaTechEmailArgs']]]]:
283
283
  """
284
- The email addresses for [service contacts](https://aiven.io/docs/platform/howto/technical-emails), who will receive important alerts and updates about this service. You can also set email contacts at the project level.
284
+ Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service instability.
285
285
  """
286
286
  return pulumi.get(self, "tech_emails")
287
287
 
@@ -340,19 +340,19 @@ class _KafkaState:
340
340
  :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.
341
341
  :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).
342
342
  :param pulumi.Input[Sequence[pulumi.Input['KafkaComponentArgs']]] components: Service component information objects
343
- :param pulumi.Input[bool] default_acl: Create a default wildcard Kafka ACL.
343
+ :param pulumi.Input[bool] default_acl: Create default wildcard Kafka ACL
344
344
  :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.
345
345
  :param pulumi.Input[str] disk_space_cap: The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
346
346
  :param pulumi.Input[str] disk_space_default: The default disk space of the service, possible values depend on the service type, the cloud provider and the project. Its also the minimum value for `disk_space`
347
347
  :param pulumi.Input[str] disk_space_step: The default disk space step of the service, possible values depend on the service type, the cloud provider and the project. `disk_space` needs to increment from `disk_space_default` by increments of this size.
348
348
  :param pulumi.Input[str] disk_space_used: Disk space that service is currently using
349
349
  :param pulumi.Input['KafkaKafkaUserConfigArgs'] kafka_user_config: Kafka user configurable settings
350
- :param pulumi.Input[Sequence[pulumi.Input['KafkaKafkaArgs']]] kafkas: Kafka server connection details.
351
- :param pulumi.Input[bool] karapace: Switch the service to use [Karapace](https://aiven.io/docs/products/kafka/karapace) for schema registry and REST proxy.
350
+ :param pulumi.Input[Sequence[pulumi.Input['KafkaKafkaArgs']]] kafkas: Kafka broker configuration values
351
+ :param pulumi.Input[bool] karapace: Switch the service to use Karapace for schema registry and REST proxy
352
352
  :param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
353
353
  :param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
354
354
  :param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seem from the [Aiven pricing page](https://aiven.io/pricing).
355
- :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.
355
+ :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.
356
356
  :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.
357
357
  :param pulumi.Input[str] service_host: The hostname of the service.
358
358
  :param pulumi.Input[Sequence[pulumi.Input['KafkaServiceIntegrationArgs']]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
@@ -363,9 +363,9 @@ class _KafkaState:
363
363
  :param pulumi.Input[str] service_uri: URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
364
364
  :param pulumi.Input[str] service_username: Username used for connecting to the service, if applicable
365
365
  :param pulumi.Input[str] state: Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
366
- :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
366
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: Use static public IP addresses.
367
367
  :param pulumi.Input[Sequence[pulumi.Input['KafkaTagArgs']]] tags: Tags are key-value pairs that allow you to categorize services.
368
- :param pulumi.Input[Sequence[pulumi.Input['KafkaTechEmailArgs']]] tech_emails: The email addresses for [service contacts](https://aiven.io/docs/platform/howto/technical-emails), who will receive important alerts and updates about this service. You can also set email contacts at the project level.
368
+ :param pulumi.Input[Sequence[pulumi.Input['KafkaTechEmailArgs']]] tech_emails: Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service instability.
369
369
  :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.
370
370
  """
371
371
  if additional_disk_space is not None:
@@ -475,7 +475,7 @@ class _KafkaState:
475
475
  @pulumi.getter(name="defaultAcl")
476
476
  def default_acl(self) -> Optional[pulumi.Input[bool]]:
477
477
  """
478
- Create a default wildcard Kafka ACL.
478
+ Create default wildcard Kafka ACL
479
479
  """
480
480
  return pulumi.get(self, "default_acl")
481
481
 
@@ -562,7 +562,7 @@ class _KafkaState:
562
562
  @pulumi.getter
563
563
  def kafkas(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['KafkaKafkaArgs']]]]:
564
564
  """
565
- Kafka server connection details.
565
+ Kafka broker configuration values
566
566
  """
567
567
  return pulumi.get(self, "kafkas")
568
568
 
@@ -574,7 +574,7 @@ class _KafkaState:
574
574
  @pulumi.getter
575
575
  def karapace(self) -> Optional[pulumi.Input[bool]]:
576
576
  """
577
- Switch the service to use [Karapace](https://aiven.io/docs/products/kafka/karapace) for schema registry and REST proxy.
577
+ Switch the service to use Karapace for schema registry and REST proxy
578
578
  """
579
579
  warnings.warn("""Usage of this field is discouraged.""", DeprecationWarning)
580
580
  pulumi.log.warn("""karapace is deprecated: Usage of this field is discouraged.""")
@@ -625,7 +625,7 @@ class _KafkaState:
625
625
  @pulumi.getter
626
626
  def project(self) -> Optional[pulumi.Input[str]]:
627
627
  """
628
- 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.
628
+ 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.
629
629
  """
630
630
  return pulumi.get(self, "project")
631
631
 
@@ -757,7 +757,7 @@ class _KafkaState:
757
757
  @pulumi.getter(name="staticIps")
758
758
  def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
759
759
  """
760
- 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
760
+ Use static public IP addresses.
761
761
  """
762
762
  return pulumi.get(self, "static_ips")
763
763
 
@@ -781,7 +781,7 @@ class _KafkaState:
781
781
  @pulumi.getter(name="techEmails")
782
782
  def tech_emails(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['KafkaTechEmailArgs']]]]:
783
783
  """
784
- The email addresses for [service contacts](https://aiven.io/docs/platform/howto/technical-emails), who will receive important alerts and updates about this service. You can also set email contacts at the project level.
784
+ Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service instability.
785
785
  """
786
786
  return pulumi.get(self, "tech_emails")
787
787
 
@@ -826,19 +826,20 @@ class Kafka(pulumi.CustomResource):
826
826
  termination_protection: Optional[pulumi.Input[bool]] = None,
827
827
  __props__=None):
828
828
  """
829
- Creates and manages an [Aiven for Apache Kafka®](https://aiven.io/docs/products/kafka) service.
829
+ The Kafka resource allows the creation and management of Aiven Kafka services.
830
830
 
831
831
  ## Example Usage
832
832
 
833
+ <!--Start PulumiCodeChooser -->
833
834
  ```python
834
835
  import pulumi
835
836
  import pulumi_aiven as aiven
836
837
 
837
- example_kafka = aiven.Kafka("example_kafka",
838
- project=example_project["project"],
838
+ kafka1 = aiven.Kafka("kafka1",
839
+ project=data["aiven_project"]["pr1"]["project"],
839
840
  cloud_name="google-europe-west1",
840
841
  plan="business-4",
841
- service_name="example-kafka",
842
+ service_name="my-kafka1",
842
843
  maintenance_window_dow="monday",
843
844
  maintenance_window_time="10:00:00",
844
845
  kafka_user_config=aiven.KafkaKafkaUserConfigArgs(
@@ -856,31 +857,32 @@ class Kafka(pulumi.CustomResource):
856
857
  ),
857
858
  ))
858
859
  ```
860
+ <!--End PulumiCodeChooser -->
859
861
 
860
862
  ## Import
861
863
 
862
864
  ```sh
863
- $ pulumi import aiven:index/kafka:Kafka example_kafka PROJECT/SERVICE_NAME
865
+ $ pulumi import aiven:index/kafka:Kafka kafka1 project/service_name
864
866
  ```
865
867
 
866
868
  :param str resource_name: The name of the resource.
867
869
  :param pulumi.ResourceOptions opts: Options for the resource.
868
870
  :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.
869
871
  :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).
870
- :param pulumi.Input[bool] default_acl: Create a default wildcard Kafka ACL.
872
+ :param pulumi.Input[bool] default_acl: Create default wildcard Kafka ACL
871
873
  :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.
872
874
  :param pulumi.Input[pulumi.InputType['KafkaKafkaUserConfigArgs']] kafka_user_config: Kafka user configurable settings
873
- :param pulumi.Input[bool] karapace: Switch the service to use [Karapace](https://aiven.io/docs/products/kafka/karapace) for schema registry and REST proxy.
875
+ :param pulumi.Input[bool] karapace: Switch the service to use Karapace for schema registry and REST proxy
874
876
  :param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
875
877
  :param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
876
878
  :param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seem from the [Aiven pricing page](https://aiven.io/pricing).
877
- :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.
879
+ :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.
878
880
  :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.
879
881
  :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KafkaServiceIntegrationArgs']]]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
880
882
  :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.
881
- :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
883
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: Use static public IP addresses.
882
884
  :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KafkaTagArgs']]]] tags: Tags are key-value pairs that allow you to categorize services.
883
- :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KafkaTechEmailArgs']]]] tech_emails: The email addresses for [service contacts](https://aiven.io/docs/platform/howto/technical-emails), who will receive important alerts and updates about this service. You can also set email contacts at the project level.
885
+ :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KafkaTechEmailArgs']]]] tech_emails: Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service instability.
884
886
  :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.
885
887
  """
886
888
  ...
@@ -890,19 +892,20 @@ class Kafka(pulumi.CustomResource):
890
892
  args: KafkaArgs,
891
893
  opts: Optional[pulumi.ResourceOptions] = None):
892
894
  """
893
- Creates and manages an [Aiven for Apache Kafka®](https://aiven.io/docs/products/kafka) service.
895
+ The Kafka resource allows the creation and management of Aiven Kafka services.
894
896
 
895
897
  ## Example Usage
896
898
 
899
+ <!--Start PulumiCodeChooser -->
897
900
  ```python
898
901
  import pulumi
899
902
  import pulumi_aiven as aiven
900
903
 
901
- example_kafka = aiven.Kafka("example_kafka",
902
- project=example_project["project"],
904
+ kafka1 = aiven.Kafka("kafka1",
905
+ project=data["aiven_project"]["pr1"]["project"],
903
906
  cloud_name="google-europe-west1",
904
907
  plan="business-4",
905
- service_name="example-kafka",
908
+ service_name="my-kafka1",
906
909
  maintenance_window_dow="monday",
907
910
  maintenance_window_time="10:00:00",
908
911
  kafka_user_config=aiven.KafkaKafkaUserConfigArgs(
@@ -920,11 +923,12 @@ class Kafka(pulumi.CustomResource):
920
923
  ),
921
924
  ))
922
925
  ```
926
+ <!--End PulumiCodeChooser -->
923
927
 
924
928
  ## Import
925
929
 
926
930
  ```sh
927
- $ pulumi import aiven:index/kafka:Kafka example_kafka PROJECT/SERVICE_NAME
931
+ $ pulumi import aiven:index/kafka:Kafka kafka1 project/service_name
928
932
  ```
929
933
 
930
934
  :param str resource_name: The name of the resource.
@@ -1004,7 +1008,7 @@ class Kafka(pulumi.CustomResource):
1004
1008
  __props__.__dict__["service_uri"] = None
1005
1009
  __props__.__dict__["service_username"] = None
1006
1010
  __props__.__dict__["state"] = None
1007
- secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["kafkas", "servicePassword", "serviceUri"])
1011
+ secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["servicePassword", "serviceUri"])
1008
1012
  opts = pulumi.ResourceOptions.merge(opts, secret_opts)
1009
1013
  super(Kafka, __self__).__init__(
1010
1014
  'aiven:index/kafka:Kafka',
@@ -1056,19 +1060,19 @@ class Kafka(pulumi.CustomResource):
1056
1060
  :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.
1057
1061
  :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).
1058
1062
  :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KafkaComponentArgs']]]] components: Service component information objects
1059
- :param pulumi.Input[bool] default_acl: Create a default wildcard Kafka ACL.
1063
+ :param pulumi.Input[bool] default_acl: Create default wildcard Kafka ACL
1060
1064
  :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.
1061
1065
  :param pulumi.Input[str] disk_space_cap: The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
1062
1066
  :param pulumi.Input[str] disk_space_default: The default disk space of the service, possible values depend on the service type, the cloud provider and the project. Its also the minimum value for `disk_space`
1063
1067
  :param pulumi.Input[str] disk_space_step: The default disk space step of the service, possible values depend on the service type, the cloud provider and the project. `disk_space` needs to increment from `disk_space_default` by increments of this size.
1064
1068
  :param pulumi.Input[str] disk_space_used: Disk space that service is currently using
1065
1069
  :param pulumi.Input[pulumi.InputType['KafkaKafkaUserConfigArgs']] kafka_user_config: Kafka user configurable settings
1066
- :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KafkaKafkaArgs']]]] kafkas: Kafka server connection details.
1067
- :param pulumi.Input[bool] karapace: Switch the service to use [Karapace](https://aiven.io/docs/products/kafka/karapace) for schema registry and REST proxy.
1070
+ :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KafkaKafkaArgs']]]] kafkas: Kafka broker configuration values
1071
+ :param pulumi.Input[bool] karapace: Switch the service to use Karapace for schema registry and REST proxy
1068
1072
  :param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
1069
1073
  :param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
1070
1074
  :param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seem from the [Aiven pricing page](https://aiven.io/pricing).
1071
- :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.
1075
+ :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.
1072
1076
  :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.
1073
1077
  :param pulumi.Input[str] service_host: The hostname of the service.
1074
1078
  :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KafkaServiceIntegrationArgs']]]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
@@ -1079,9 +1083,9 @@ class Kafka(pulumi.CustomResource):
1079
1083
  :param pulumi.Input[str] service_uri: URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
1080
1084
  :param pulumi.Input[str] service_username: Username used for connecting to the service, if applicable
1081
1085
  :param pulumi.Input[str] state: Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
1082
- :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
1086
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: Use static public IP addresses.
1083
1087
  :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KafkaTagArgs']]]] tags: Tags are key-value pairs that allow you to categorize services.
1084
- :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KafkaTechEmailArgs']]]] tech_emails: The email addresses for [service contacts](https://aiven.io/docs/platform/howto/technical-emails), who will receive important alerts and updates about this service. You can also set email contacts at the project level.
1088
+ :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KafkaTechEmailArgs']]]] tech_emails: Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service instability.
1085
1089
  :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.
1086
1090
  """
1087
1091
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
@@ -1148,7 +1152,7 @@ class Kafka(pulumi.CustomResource):
1148
1152
  @pulumi.getter(name="defaultAcl")
1149
1153
  def default_acl(self) -> pulumi.Output[Optional[bool]]:
1150
1154
  """
1151
- Create a default wildcard Kafka ACL.
1155
+ Create default wildcard Kafka ACL
1152
1156
  """
1153
1157
  return pulumi.get(self, "default_acl")
1154
1158
 
@@ -1207,7 +1211,7 @@ class Kafka(pulumi.CustomResource):
1207
1211
  @pulumi.getter
1208
1212
  def kafkas(self) -> pulumi.Output[Sequence['outputs.KafkaKafka']]:
1209
1213
  """
1210
- Kafka server connection details.
1214
+ Kafka broker configuration values
1211
1215
  """
1212
1216
  return pulumi.get(self, "kafkas")
1213
1217
 
@@ -1215,7 +1219,7 @@ class Kafka(pulumi.CustomResource):
1215
1219
  @pulumi.getter
1216
1220
  def karapace(self) -> pulumi.Output[Optional[bool]]:
1217
1221
  """
1218
- Switch the service to use [Karapace](https://aiven.io/docs/products/kafka/karapace) for schema registry and REST proxy.
1222
+ Switch the service to use Karapace for schema registry and REST proxy
1219
1223
  """
1220
1224
  warnings.warn("""Usage of this field is discouraged.""", DeprecationWarning)
1221
1225
  pulumi.log.warn("""karapace is deprecated: Usage of this field is discouraged.""")
@@ -1250,7 +1254,7 @@ class Kafka(pulumi.CustomResource):
1250
1254
  @pulumi.getter
1251
1255
  def project(self) -> pulumi.Output[str]:
1252
1256
  """
1253
- 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.
1257
+ 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.
1254
1258
  """
1255
1259
  return pulumi.get(self, "project")
1256
1260
 
@@ -1338,7 +1342,7 @@ class Kafka(pulumi.CustomResource):
1338
1342
  @pulumi.getter(name="staticIps")
1339
1343
  def static_ips(self) -> pulumi.Output[Optional[Sequence[str]]]:
1340
1344
  """
1341
- 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
1345
+ Use static public IP addresses.
1342
1346
  """
1343
1347
  return pulumi.get(self, "static_ips")
1344
1348
 
@@ -1354,7 +1358,7 @@ class Kafka(pulumi.CustomResource):
1354
1358
  @pulumi.getter(name="techEmails")
1355
1359
  def tech_emails(self) -> pulumi.Output[Optional[Sequence['outputs.KafkaTechEmail']]]:
1356
1360
  """
1357
- The email addresses for [service contacts](https://aiven.io/docs/platform/howto/technical-emails), who will receive important alerts and updates about this service. You can also set email contacts at the project level.
1361
+ Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service instability.
1358
1362
  """
1359
1363
  return pulumi.get(self, "tech_emails")
1360
1364
 
pulumi_aiven/kafka_acl.py CHANGED
@@ -22,8 +22,8 @@ class KafkaAclArgs:
22
22
  """
23
23
  The set of arguments for constructing a KafkaAcl resource.
24
24
  :param pulumi.Input[str] permission: Kafka permission to grant. The possible values are `admin`, `read`, `readwrite` and `write`. Changing this property forces recreation of the resource.
25
- :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.
26
- :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.
25
+ :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.
26
+ :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.
27
27
  :param pulumi.Input[str] topic: Topic name pattern for the ACL entry. Changing this property forces recreation of the resource.
28
28
  :param pulumi.Input[str] username: Username pattern for the ACL entry. Changing this property forces recreation of the resource.
29
29
  """
@@ -49,7 +49,7 @@ class KafkaAclArgs:
49
49
  @pulumi.getter
50
50
  def project(self) -> pulumi.Input[str]:
51
51
  """
52
- 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.
52
+ 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.
53
53
  """
54
54
  return pulumi.get(self, "project")
55
55
 
@@ -61,7 +61,7 @@ class KafkaAclArgs:
61
61
  @pulumi.getter(name="serviceName")
62
62
  def service_name(self) -> pulumi.Input[str]:
63
63
  """
64
- 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.
64
+ 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.
65
65
  """
66
66
  return pulumi.get(self, "service_name")
67
67
 
@@ -107,8 +107,8 @@ class _KafkaAclState:
107
107
  Input properties used for looking up and filtering KafkaAcl resources.
108
108
  :param pulumi.Input[str] acl_id: Kafka ACL ID
109
109
  :param pulumi.Input[str] permission: Kafka permission to grant. The possible values are `admin`, `read`, `readwrite` and `write`. Changing this property forces recreation of the resource.
110
- :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.
111
- :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.
110
+ :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.
111
+ :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.
112
112
  :param pulumi.Input[str] topic: Topic name pattern for the ACL entry. Changing this property forces recreation of the resource.
113
113
  :param pulumi.Input[str] username: Username pattern for the ACL entry. Changing this property forces recreation of the resource.
114
114
  """
@@ -153,7 +153,7 @@ class _KafkaAclState:
153
153
  @pulumi.getter
154
154
  def project(self) -> Optional[pulumi.Input[str]]:
155
155
  """
156
- 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.
156
+ 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.
157
157
  """
158
158
  return pulumi.get(self, "project")
159
159
 
@@ -165,7 +165,7 @@ class _KafkaAclState:
165
165
  @pulumi.getter(name="serviceName")
166
166
  def service_name(self) -> Optional[pulumi.Input[str]]:
167
167
  """
168
- 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.
168
+ 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.
169
169
  """
170
170
  return pulumi.get(self, "service_name")
171
171
 
@@ -214,29 +214,31 @@ class KafkaAcl(pulumi.CustomResource):
214
214
 
215
215
  ## Example Usage
216
216
 
217
+ <!--Start PulumiCodeChooser -->
217
218
  ```python
218
219
  import pulumi
219
220
  import pulumi_aiven as aiven
220
221
 
221
222
  mytestacl = aiven.KafkaAcl("mytestacl",
222
- project=myproject["project"],
223
- service_name=myservice["serviceName"],
223
+ project=aiven_project["myproject"]["project"],
224
+ service_name=aiven_kafka["myservice"]["service_name"],
224
225
  topic="<TOPIC_NAME_PATTERN>",
225
226
  permission="admin",
226
227
  username="<USERNAME_PATTERN>")
227
228
  ```
229
+ <!--End PulumiCodeChooser -->
228
230
 
229
231
  ## Import
230
232
 
231
233
  ```sh
232
- $ pulumi import aiven:index/kafkaAcl:KafkaAcl mytestacl PROJECT/SERVICE_NAME/ID
234
+ $ pulumi import aiven:index/kafkaAcl:KafkaAcl mytestacl project/service_name/id
233
235
  ```
234
236
 
235
237
  :param str resource_name: The name of the resource.
236
238
  :param pulumi.ResourceOptions opts: Options for the resource.
237
239
  :param pulumi.Input[str] permission: Kafka permission to grant. The possible values are `admin`, `read`, `readwrite` and `write`. Changing this property forces recreation of the resource.
238
- :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.
239
- :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.
240
+ :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.
241
+ :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.
240
242
  :param pulumi.Input[str] topic: Topic name pattern for the ACL entry. Changing this property forces recreation of the resource.
241
243
  :param pulumi.Input[str] username: Username pattern for the ACL entry. Changing this property forces recreation of the resource.
242
244
  """
@@ -251,22 +253,24 @@ class KafkaAcl(pulumi.CustomResource):
251
253
 
252
254
  ## Example Usage
253
255
 
256
+ <!--Start PulumiCodeChooser -->
254
257
  ```python
255
258
  import pulumi
256
259
  import pulumi_aiven as aiven
257
260
 
258
261
  mytestacl = aiven.KafkaAcl("mytestacl",
259
- project=myproject["project"],
260
- service_name=myservice["serviceName"],
262
+ project=aiven_project["myproject"]["project"],
263
+ service_name=aiven_kafka["myservice"]["service_name"],
261
264
  topic="<TOPIC_NAME_PATTERN>",
262
265
  permission="admin",
263
266
  username="<USERNAME_PATTERN>")
264
267
  ```
268
+ <!--End PulumiCodeChooser -->
265
269
 
266
270
  ## Import
267
271
 
268
272
  ```sh
269
- $ pulumi import aiven:index/kafkaAcl:KafkaAcl mytestacl PROJECT/SERVICE_NAME/ID
273
+ $ pulumi import aiven:index/kafkaAcl:KafkaAcl mytestacl project/service_name/id
270
274
  ```
271
275
 
272
276
  :param str resource_name: The name of the resource.
@@ -339,8 +343,8 @@ class KafkaAcl(pulumi.CustomResource):
339
343
  :param pulumi.ResourceOptions opts: Options for the resource.
340
344
  :param pulumi.Input[str] acl_id: Kafka ACL ID
341
345
  :param pulumi.Input[str] permission: Kafka permission to grant. The possible values are `admin`, `read`, `readwrite` and `write`. Changing this property forces recreation of the resource.
342
- :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.
343
- :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.
346
+ :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.
347
+ :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.
344
348
  :param pulumi.Input[str] topic: Topic name pattern for the ACL entry. Changing this property forces recreation of the resource.
345
349
  :param pulumi.Input[str] username: Username pattern for the ACL entry. Changing this property forces recreation of the resource.
346
350
  """
@@ -376,7 +380,7 @@ class KafkaAcl(pulumi.CustomResource):
376
380
  @pulumi.getter
377
381
  def project(self) -> pulumi.Output[str]:
378
382
  """
379
- 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.
383
+ 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.
380
384
  """
381
385
  return pulumi.get(self, "project")
382
386
 
@@ -384,7 +388,7 @@ class KafkaAcl(pulumi.CustomResource):
384
388
  @pulumi.getter(name="serviceName")
385
389
  def service_name(self) -> pulumi.Output[str]:
386
390
  """
387
- 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.
391
+ 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.
388
392
  """
389
393
  return pulumi.get(self, "service_name")
390
394