pulumi-aiven 6.13.0a1710156545__py3-none-any.whl → 6.31.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of pulumi-aiven might be problematic. Click here for more details.

Files changed (169) hide show
  1. pulumi_aiven/__init__.py +136 -0
  2. pulumi_aiven/_inputs.py +32749 -13711
  3. pulumi_aiven/_utilities.py +41 -5
  4. pulumi_aiven/account.py +32 -45
  5. pulumi_aiven/account_authentication.py +24 -9
  6. pulumi_aiven/account_team.py +35 -14
  7. pulumi_aiven/account_team_member.py +48 -39
  8. pulumi_aiven/account_team_project.py +40 -27
  9. pulumi_aiven/alloydbomni.py +1335 -0
  10. pulumi_aiven/alloydbomni_database.py +347 -0
  11. pulumi_aiven/alloydbomni_user.py +433 -0
  12. pulumi_aiven/aws_privatelink.py +44 -43
  13. pulumi_aiven/aws_vpc_peering_connection.py +72 -61
  14. pulumi_aiven/azure_privatelink.py +54 -53
  15. pulumi_aiven/azure_privatelink_connection_approval.py +136 -33
  16. pulumi_aiven/azure_vpc_peering_connection.py +86 -77
  17. pulumi_aiven/billing_group.py +33 -34
  18. pulumi_aiven/cassandra.py +145 -126
  19. pulumi_aiven/cassandra_user.py +59 -58
  20. pulumi_aiven/clickhouse.py +133 -114
  21. pulumi_aiven/clickhouse_database.py +58 -62
  22. pulumi_aiven/clickhouse_grant.py +135 -134
  23. pulumi_aiven/clickhouse_role.py +36 -49
  24. pulumi_aiven/clickhouse_user.py +50 -49
  25. pulumi_aiven/config/__init__.pyi +5 -0
  26. pulumi_aiven/config/vars.py +5 -0
  27. pulumi_aiven/connection_pool.py +67 -66
  28. pulumi_aiven/dragonfly.py +1256 -0
  29. pulumi_aiven/flink.py +104 -104
  30. pulumi_aiven/flink_application.py +58 -55
  31. pulumi_aiven/flink_application_deployment.py +178 -73
  32. pulumi_aiven/flink_application_version.py +179 -96
  33. pulumi_aiven/gcp_privatelink.py +69 -42
  34. pulumi_aiven/gcp_privatelink_connection_approval.py +78 -49
  35. pulumi_aiven/gcp_vpc_peering_connection.py +49 -48
  36. pulumi_aiven/get_account.py +20 -9
  37. pulumi_aiven/get_account_authentication.py +31 -5
  38. pulumi_aiven/get_account_team.py +18 -5
  39. pulumi_aiven/get_account_team_member.py +29 -14
  40. pulumi_aiven/get_account_team_project.py +19 -6
  41. pulumi_aiven/get_alloydbomni.py +499 -0
  42. pulumi_aiven/get_alloydbomni_database.py +168 -0
  43. pulumi_aiven/get_alloydbomni_user.py +210 -0
  44. pulumi_aiven/get_aws_privatelink.py +33 -24
  45. pulumi_aiven/get_aws_vpc_peering_connection.py +56 -33
  46. pulumi_aiven/get_azure_privatelink.py +37 -26
  47. pulumi_aiven/get_azure_vpc_peering_connection.py +77 -28
  48. pulumi_aiven/get_billing_group.py +31 -8
  49. pulumi_aiven/get_cassanda.py +55 -23
  50. pulumi_aiven/get_cassandra.py +55 -23
  51. pulumi_aiven/get_cassandra_user.py +42 -30
  52. pulumi_aiven/get_clickhouse.py +55 -23
  53. pulumi_aiven/get_clickhouse_database.py +35 -26
  54. pulumi_aiven/get_clickhouse_user.py +40 -29
  55. pulumi_aiven/get_connection_pool.py +43 -30
  56. pulumi_aiven/get_dragonfly.py +499 -0
  57. pulumi_aiven/get_external_identity.py +160 -0
  58. pulumi_aiven/get_flink.py +55 -23
  59. pulumi_aiven/get_flink_application.py +44 -31
  60. pulumi_aiven/get_flink_application_version.py +55 -37
  61. pulumi_aiven/get_gcp_privatelink.py +63 -7
  62. pulumi_aiven/get_gcp_vpc_peering_connection.py +39 -28
  63. pulumi_aiven/get_grafana.py +55 -23
  64. pulumi_aiven/get_influx_db.py +41 -5
  65. pulumi_aiven/get_influxdb_database.py +18 -5
  66. pulumi_aiven/get_influxdb_user.py +21 -5
  67. pulumi_aiven/get_kafka.py +59 -25
  68. pulumi_aiven/get_kafka_acl.py +50 -37
  69. pulumi_aiven/get_kafka_connect.py +54 -36
  70. pulumi_aiven/get_kafka_connector.py +44 -28
  71. pulumi_aiven/get_kafka_mirror_maker.py +50 -32
  72. pulumi_aiven/get_kafka_schema.py +35 -23
  73. pulumi_aiven/get_kafka_schema_configuration.py +32 -21
  74. pulumi_aiven/get_kafka_schema_registry_acl.py +37 -20
  75. pulumi_aiven/get_kafka_topic.py +70 -29
  76. pulumi_aiven/get_kafka_user.py +42 -30
  77. pulumi_aiven/get_m3_aggregator.py +51 -19
  78. pulumi_aiven/get_m3_db.py +55 -23
  79. pulumi_aiven/get_m3db_user.py +38 -28
  80. pulumi_aiven/get_mirror_maker_replication_flow.py +86 -25
  81. pulumi_aiven/get_my_sql.py +50 -18
  82. pulumi_aiven/get_mysql_database.py +31 -22
  83. pulumi_aiven/get_mysql_user.py +36 -23
  84. pulumi_aiven/get_open_search.py +50 -18
  85. pulumi_aiven/get_open_search_acl_config.py +27 -19
  86. pulumi_aiven/get_open_search_acl_rule.py +37 -25
  87. pulumi_aiven/get_opensearch_security_plugin_config.py +29 -19
  88. pulumi_aiven/get_opensearch_user.py +32 -22
  89. pulumi_aiven/get_organization.py +25 -17
  90. pulumi_aiven/get_organization_application_user.py +176 -0
  91. pulumi_aiven/get_organization_user.py +18 -5
  92. pulumi_aiven/get_organization_user_group.py +48 -14
  93. pulumi_aiven/get_organization_user_list.py +121 -0
  94. pulumi_aiven/get_organizational_unit.py +26 -14
  95. pulumi_aiven/get_pg.py +55 -23
  96. pulumi_aiven/get_pg_database.py +39 -28
  97. pulumi_aiven/get_pg_user.py +44 -31
  98. pulumi_aiven/get_project.py +43 -26
  99. pulumi_aiven/get_project_user.py +27 -19
  100. pulumi_aiven/get_project_vpc.py +31 -23
  101. pulumi_aiven/get_redis.py +50 -18
  102. pulumi_aiven/get_redis_user.py +40 -26
  103. pulumi_aiven/get_service_component.py +40 -22
  104. pulumi_aiven/get_service_integration.py +163 -53
  105. pulumi_aiven/get_service_integration_endpoint.py +128 -37
  106. pulumi_aiven/get_thanos.py +499 -0
  107. pulumi_aiven/get_transit_gateway_vpc_attachment.py +35 -22
  108. pulumi_aiven/get_valkey.py +499 -0
  109. pulumi_aiven/get_valkey_user.py +218 -0
  110. pulumi_aiven/grafana.py +188 -322
  111. pulumi_aiven/influx_db.py +127 -90
  112. pulumi_aiven/influxdb_database.py +40 -55
  113. pulumi_aiven/influxdb_user.py +47 -42
  114. pulumi_aiven/kafka.py +157 -144
  115. pulumi_aiven/kafka_acl.py +64 -57
  116. pulumi_aiven/kafka_connect.py +201 -332
  117. pulumi_aiven/kafka_connector.py +67 -60
  118. pulumi_aiven/kafka_mirror_maker.py +137 -320
  119. pulumi_aiven/kafka_native_acl.py +588 -0
  120. pulumi_aiven/kafka_quota.py +604 -0
  121. pulumi_aiven/kafka_schema.py +63 -58
  122. pulumi_aiven/kafka_schema_configuration.py +25 -24
  123. pulumi_aiven/kafka_schema_registry_acl.py +80 -35
  124. pulumi_aiven/kafka_topic.py +184 -65
  125. pulumi_aiven/kafka_user.py +59 -58
  126. pulumi_aiven/m3_aggregator.py +174 -310
  127. pulumi_aiven/m3_db.py +190 -326
  128. pulumi_aiven/m3db_user.py +51 -50
  129. pulumi_aiven/mirror_maker_replication_flow.py +215 -55
  130. pulumi_aiven/my_sql.py +188 -324
  131. pulumi_aiven/mysql_database.py +32 -51
  132. pulumi_aiven/mysql_user.py +37 -36
  133. pulumi_aiven/open_search.py +126 -107
  134. pulumi_aiven/open_search_acl_config.py +33 -36
  135. pulumi_aiven/open_search_acl_rule.py +55 -54
  136. pulumi_aiven/opensearch_security_plugin_config.py +69 -16
  137. pulumi_aiven/opensearch_user.py +30 -29
  138. pulumi_aiven/organization.py +18 -17
  139. pulumi_aiven/organization_application_user.py +345 -0
  140. pulumi_aiven/organization_application_user_token.py +711 -0
  141. pulumi_aiven/organization_group_project.py +349 -0
  142. pulumi_aiven/organization_permission.py +421 -0
  143. pulumi_aiven/organization_user.py +25 -46
  144. pulumi_aiven/organization_user_group.py +64 -23
  145. pulumi_aiven/organization_user_group_member.py +359 -0
  146. pulumi_aiven/organizational_unit.py +41 -36
  147. pulumi_aiven/outputs.py +38976 -21894
  148. pulumi_aiven/pg.py +92 -88
  149. pulumi_aiven/pg_database.py +52 -71
  150. pulumi_aiven/pg_user.py +80 -65
  151. pulumi_aiven/project.py +111 -102
  152. pulumi_aiven/project_user.py +44 -35
  153. pulumi_aiven/project_vpc.py +58 -29
  154. pulumi_aiven/provider.py +5 -0
  155. pulumi_aiven/pulumi-plugin.json +2 -1
  156. pulumi_aiven/redis.py +161 -297
  157. pulumi_aiven/redis_user.py +58 -57
  158. pulumi_aiven/service_integration.py +511 -165
  159. pulumi_aiven/service_integration_endpoint.py +466 -158
  160. pulumi_aiven/static_ip.py +21 -16
  161. pulumi_aiven/thanos.py +1262 -0
  162. pulumi_aiven/transit_gateway_vpc_attachment.py +44 -58
  163. pulumi_aiven/valkey.py +1256 -0
  164. pulumi_aiven/valkey_user.py +606 -0
  165. {pulumi_aiven-6.13.0a1710156545.dist-info → pulumi_aiven-6.31.0.dist-info}/METADATA +7 -6
  166. pulumi_aiven-6.31.0.dist-info/RECORD +170 -0
  167. {pulumi_aiven-6.13.0a1710156545.dist-info → pulumi_aiven-6.31.0.dist-info}/WHEEL +1 -1
  168. pulumi_aiven-6.13.0a1710156545.dist-info/RECORD +0 -146
  169. {pulumi_aiven-6.13.0a1710156545.dist-info → pulumi_aiven-6.31.0.dist-info}/top_level.txt +0 -0
pulumi_aiven/get_kafka.py CHANGED
@@ -4,9 +4,14 @@
4
4
 
5
5
  import copy
6
6
  import warnings
7
+ import sys
7
8
  import pulumi
8
9
  import pulumi.runtime
9
10
  from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
10
15
  from . import _utilities
11
16
  from . import outputs
12
17
 
@@ -121,7 +126,7 @@ class GetKafkaResult:
121
126
  @pulumi.getter(name="additionalDiskSpace")
122
127
  def additional_disk_space(self) -> str:
123
128
  """
124
- Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
129
+ Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
125
130
  """
126
131
  return pulumi.get(self, "additional_disk_space")
127
132
 
@@ -145,7 +150,7 @@ class GetKafkaResult:
145
150
  @pulumi.getter(name="defaultAcl")
146
151
  def default_acl(self) -> bool:
147
152
  """
148
- Create default wildcard Kafka ACL
153
+ Create a default wildcard Kafka ACL.
149
154
  """
150
155
  return pulumi.get(self, "default_acl")
151
156
 
@@ -201,7 +206,7 @@ class GetKafkaResult:
201
206
  @pulumi.getter(name="kafkaUserConfigs")
202
207
  def kafka_user_configs(self) -> Sequence['outputs.GetKafkaKafkaUserConfigResult']:
203
208
  """
204
- Kafka user configurable settings
209
+ Kafka user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
205
210
  """
206
211
  return pulumi.get(self, "kafka_user_configs")
207
212
 
@@ -209,7 +214,7 @@ class GetKafkaResult:
209
214
  @pulumi.getter
210
215
  def kafkas(self) -> Sequence['outputs.GetKafkaKafkaResult']:
211
216
  """
212
- Kafka server provided values
217
+ Kafka server connection details.
213
218
  """
214
219
  return pulumi.get(self, "kafkas")
215
220
 
@@ -217,7 +222,7 @@ class GetKafkaResult:
217
222
  @pulumi.getter
218
223
  def karapace(self) -> bool:
219
224
  """
220
- Switch the service to use Karapace for schema registry and REST proxy
225
+ Switch the service to use [Karapace](https://aiven.io/docs/products/kafka/karapace) for schema registry and REST proxy.
221
226
  """
222
227
  return pulumi.get(self, "karapace")
223
228
 
@@ -241,7 +246,7 @@ class GetKafkaResult:
241
246
  @pulumi.getter
242
247
  def plan(self) -> str:
243
248
  """
244
- 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).
249
+ 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 seen from the [Aiven pricing page](https://aiven.io/pricing).
245
250
  """
246
251
  return pulumi.get(self, "plan")
247
252
 
@@ -249,7 +254,7 @@ class GetKafkaResult:
249
254
  @pulumi.getter
250
255
  def project(self) -> str:
251
256
  """
252
- Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
257
+ 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.
253
258
  """
254
259
  return pulumi.get(self, "project")
255
260
 
@@ -353,7 +358,7 @@ class GetKafkaResult:
353
358
  @pulumi.getter(name="techEmails")
354
359
  def tech_emails(self) -> Sequence['outputs.GetKafkaTechEmailResult']:
355
360
  """
356
- Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service instability.
361
+ 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.
357
362
  """
358
363
  return pulumi.get(self, "tech_emails")
359
364
 
@@ -409,22 +414,20 @@ def get_kafka(project: Optional[str] = None,
409
414
  service_name: Optional[str] = None,
410
415
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetKafkaResult:
411
416
  """
412
- The Kafka data source provides information about the existing Aiven Kafka services.
417
+ Gets information about an Aiven for Apache Kafka® service.
413
418
 
414
419
  ## Example Usage
415
420
 
416
- <!--Start PulumiCodeChooser -->
417
421
  ```python
418
422
  import pulumi
419
423
  import pulumi_aiven as aiven
420
424
 
421
- kafka1 = aiven.get_kafka(project=data["aiven_project"]["pr1"]["project"],
422
- service_name="my-kafka1")
425
+ example_kafka = aiven.get_kafka(project=example_project["project"],
426
+ service_name="example-kafka")
423
427
  ```
424
- <!--End PulumiCodeChooser -->
425
428
 
426
429
 
427
- :param str project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
430
+ :param 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.
428
431
  :param 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.
429
432
  """
430
433
  __args__ = dict()
@@ -465,29 +468,60 @@ def get_kafka(project: Optional[str] = None,
465
468
  tags=pulumi.get(__ret__, 'tags'),
466
469
  tech_emails=pulumi.get(__ret__, 'tech_emails'),
467
470
  termination_protection=pulumi.get(__ret__, 'termination_protection'))
468
-
469
-
470
- @_utilities.lift_output_func(get_kafka)
471
471
  def get_kafka_output(project: Optional[pulumi.Input[str]] = None,
472
472
  service_name: Optional[pulumi.Input[str]] = None,
473
- opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetKafkaResult]:
473
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetKafkaResult]:
474
474
  """
475
- The Kafka data source provides information about the existing Aiven Kafka services.
475
+ Gets information about an Aiven for Apache Kafka® service.
476
476
 
477
477
  ## Example Usage
478
478
 
479
- <!--Start PulumiCodeChooser -->
480
479
  ```python
481
480
  import pulumi
482
481
  import pulumi_aiven as aiven
483
482
 
484
- kafka1 = aiven.get_kafka(project=data["aiven_project"]["pr1"]["project"],
485
- service_name="my-kafka1")
483
+ example_kafka = aiven.get_kafka(project=example_project["project"],
484
+ service_name="example-kafka")
486
485
  ```
487
- <!--End PulumiCodeChooser -->
488
486
 
489
487
 
490
- :param str project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
488
+ :param 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.
491
489
  :param 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.
492
490
  """
493
- ...
491
+ __args__ = dict()
492
+ __args__['project'] = project
493
+ __args__['serviceName'] = service_name
494
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
495
+ __ret__ = pulumi.runtime.invoke_output('aiven:index/getKafka:getKafka', __args__, opts=opts, typ=GetKafkaResult)
496
+ return __ret__.apply(lambda __response__: GetKafkaResult(
497
+ additional_disk_space=pulumi.get(__response__, 'additional_disk_space'),
498
+ cloud_name=pulumi.get(__response__, 'cloud_name'),
499
+ components=pulumi.get(__response__, 'components'),
500
+ default_acl=pulumi.get(__response__, 'default_acl'),
501
+ disk_space=pulumi.get(__response__, 'disk_space'),
502
+ disk_space_cap=pulumi.get(__response__, 'disk_space_cap'),
503
+ disk_space_default=pulumi.get(__response__, 'disk_space_default'),
504
+ disk_space_step=pulumi.get(__response__, 'disk_space_step'),
505
+ disk_space_used=pulumi.get(__response__, 'disk_space_used'),
506
+ id=pulumi.get(__response__, 'id'),
507
+ kafka_user_configs=pulumi.get(__response__, 'kafka_user_configs'),
508
+ kafkas=pulumi.get(__response__, 'kafkas'),
509
+ karapace=pulumi.get(__response__, 'karapace'),
510
+ maintenance_window_dow=pulumi.get(__response__, 'maintenance_window_dow'),
511
+ maintenance_window_time=pulumi.get(__response__, 'maintenance_window_time'),
512
+ plan=pulumi.get(__response__, 'plan'),
513
+ project=pulumi.get(__response__, 'project'),
514
+ project_vpc_id=pulumi.get(__response__, 'project_vpc_id'),
515
+ service_host=pulumi.get(__response__, 'service_host'),
516
+ service_integrations=pulumi.get(__response__, 'service_integrations'),
517
+ service_name=pulumi.get(__response__, 'service_name'),
518
+ service_password=pulumi.get(__response__, 'service_password'),
519
+ service_port=pulumi.get(__response__, 'service_port'),
520
+ service_type=pulumi.get(__response__, 'service_type'),
521
+ service_uri=pulumi.get(__response__, 'service_uri'),
522
+ service_username=pulumi.get(__response__, 'service_username'),
523
+ state=pulumi.get(__response__, 'state'),
524
+ static_ips=pulumi.get(__response__, 'static_ips'),
525
+ tags=pulumi.get(__response__, 'tags'),
526
+ tech_emails=pulumi.get(__response__, 'tech_emails'),
527
+ termination_protection=pulumi.get(__response__, 'termination_protection')))
@@ -4,9 +4,14 @@
4
4
 
5
5
  import copy
6
6
  import warnings
7
+ import sys
7
8
  import pulumi
8
9
  import pulumi.runtime
9
10
  from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
10
15
  from . import _utilities
11
16
 
12
17
  __all__ = [
@@ -48,7 +53,7 @@ class GetKafkaAclResult:
48
53
  @pulumi.getter(name="aclId")
49
54
  def acl_id(self) -> str:
50
55
  """
51
- Kafka ACL ID
56
+ Kafka ACL ID.
52
57
  """
53
58
  return pulumi.get(self, "acl_id")
54
59
 
@@ -64,7 +69,7 @@ class GetKafkaAclResult:
64
69
  @pulumi.getter
65
70
  def permission(self) -> str:
66
71
  """
67
- Kafka permission to grant. The possible values are `admin`, `read`, `readwrite` and `write`. This property cannot be changed, doing so forces recreation of the resource.
72
+ Permissions to grant. The possible values are `admin`, `read`, `readwrite` and `write`. Changing this property forces recreation of the resource.
68
73
  """
69
74
  return pulumi.get(self, "permission")
70
75
 
@@ -72,7 +77,7 @@ class GetKafkaAclResult:
72
77
  @pulumi.getter
73
78
  def project(self) -> str:
74
79
  """
75
- Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
80
+ 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.
76
81
  """
77
82
  return pulumi.get(self, "project")
78
83
 
@@ -80,7 +85,7 @@ class GetKafkaAclResult:
80
85
  @pulumi.getter(name="serviceName")
81
86
  def service_name(self) -> str:
82
87
  """
83
- Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
88
+ 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.
84
89
  """
85
90
  return pulumi.get(self, "service_name")
86
91
 
@@ -88,7 +93,7 @@ class GetKafkaAclResult:
88
93
  @pulumi.getter
89
94
  def topic(self) -> str:
90
95
  """
91
- Topic name pattern for the ACL entry. This property cannot be changed, doing so forces recreation of the resource.
96
+ Topics that the permissions apply to. Changing this property forces recreation of the resource.
92
97
  """
93
98
  return pulumi.get(self, "topic")
94
99
 
@@ -96,7 +101,7 @@ class GetKafkaAclResult:
96
101
  @pulumi.getter
97
102
  def username(self) -> str:
98
103
  """
99
- Username pattern for the ACL entry. This property cannot be changed, doing so forces recreation of the resource.
104
+ Usernames to grant permissions to. Changing this property forces recreation of the resource.
100
105
  """
101
106
  return pulumi.get(self, "username")
102
107
 
@@ -123,29 +128,27 @@ def get_kafka_acl(permission: Optional[str] = None,
123
128
  username: Optional[str] = None,
124
129
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetKafkaAclResult:
125
130
  """
126
- The Data Source Kafka ACL data source provides information about the existing Aiven Kafka ACL for a Kafka service.
131
+ Gets information about an ACL entry for an Aiven for Apache Kafka® service.
127
132
 
128
133
  ## Example Usage
129
134
 
130
- <!--Start PulumiCodeChooser -->
131
135
  ```python
132
136
  import pulumi
133
137
  import pulumi_aiven as aiven
134
138
 
135
- mytestacl = aiven.get_kafka_acl(project=aiven_project["myproject"]["project"],
136
- service_name=aiven_kafka["mykafka"]["service_name"],
137
- topic="<TOPIC_NAME_PATTERN>",
138
- permission="<PERMISSON>",
139
- username="<USERNAME_PATTERN>")
139
+ example_acl = aiven.get_kafka_acl(project=example_project["project"],
140
+ service_name=example_kafka["serviceName"],
141
+ topic="example-topic",
142
+ permission="admin",
143
+ username="example-user")
140
144
  ```
141
- <!--End PulumiCodeChooser -->
142
145
 
143
146
 
144
- :param str permission: Kafka permission to grant. The possible values are `admin`, `read`, `readwrite` and `write`. This property cannot be changed, doing so forces recreation of the resource.
145
- :param str project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
146
- :param str service_name: Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
147
- :param str topic: Topic name pattern for the ACL entry. This property cannot be changed, doing so forces recreation of the resource.
148
- :param str username: Username pattern for the ACL entry. This property cannot be changed, doing so forces recreation of the resource.
147
+ :param str permission: Permissions to grant. The possible values are `admin`, `read`, `readwrite` and `write`. Changing this property forces recreation of the resource.
148
+ :param 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.
149
+ :param 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.
150
+ :param str topic: Topics that the permissions apply to. Changing this property forces recreation of the resource.
151
+ :param str username: Usernames to grant permissions to. Changing this property forces recreation of the resource.
149
152
  """
150
153
  __args__ = dict()
151
154
  __args__['permission'] = permission
@@ -164,38 +167,48 @@ def get_kafka_acl(permission: Optional[str] = None,
164
167
  service_name=pulumi.get(__ret__, 'service_name'),
165
168
  topic=pulumi.get(__ret__, 'topic'),
166
169
  username=pulumi.get(__ret__, 'username'))
167
-
168
-
169
- @_utilities.lift_output_func(get_kafka_acl)
170
170
  def get_kafka_acl_output(permission: Optional[pulumi.Input[str]] = None,
171
171
  project: Optional[pulumi.Input[str]] = None,
172
172
  service_name: Optional[pulumi.Input[str]] = None,
173
173
  topic: Optional[pulumi.Input[str]] = None,
174
174
  username: Optional[pulumi.Input[str]] = None,
175
- opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetKafkaAclResult]:
175
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetKafkaAclResult]:
176
176
  """
177
- The Data Source Kafka ACL data source provides information about the existing Aiven Kafka ACL for a Kafka service.
177
+ Gets information about an ACL entry for an Aiven for Apache Kafka® service.
178
178
 
179
179
  ## Example Usage
180
180
 
181
- <!--Start PulumiCodeChooser -->
182
181
  ```python
183
182
  import pulumi
184
183
  import pulumi_aiven as aiven
185
184
 
186
- mytestacl = aiven.get_kafka_acl(project=aiven_project["myproject"]["project"],
187
- service_name=aiven_kafka["mykafka"]["service_name"],
188
- topic="<TOPIC_NAME_PATTERN>",
189
- permission="<PERMISSON>",
190
- username="<USERNAME_PATTERN>")
185
+ example_acl = aiven.get_kafka_acl(project=example_project["project"],
186
+ service_name=example_kafka["serviceName"],
187
+ topic="example-topic",
188
+ permission="admin",
189
+ username="example-user")
191
190
  ```
192
- <!--End PulumiCodeChooser -->
193
191
 
194
192
 
195
- :param str permission: Kafka permission to grant. The possible values are `admin`, `read`, `readwrite` and `write`. This property cannot be changed, doing so forces recreation of the resource.
196
- :param str project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
197
- :param str service_name: Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
198
- :param str topic: Topic name pattern for the ACL entry. This property cannot be changed, doing so forces recreation of the resource.
199
- :param str username: Username pattern for the ACL entry. This property cannot be changed, doing so forces recreation of the resource.
193
+ :param str permission: Permissions to grant. The possible values are `admin`, `read`, `readwrite` and `write`. Changing this property forces recreation of the resource.
194
+ :param 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.
195
+ :param 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.
196
+ :param str topic: Topics that the permissions apply to. Changing this property forces recreation of the resource.
197
+ :param str username: Usernames to grant permissions to. Changing this property forces recreation of the resource.
200
198
  """
201
- ...
199
+ __args__ = dict()
200
+ __args__['permission'] = permission
201
+ __args__['project'] = project
202
+ __args__['serviceName'] = service_name
203
+ __args__['topic'] = topic
204
+ __args__['username'] = username
205
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
206
+ __ret__ = pulumi.runtime.invoke_output('aiven:index/getKafkaAcl:getKafkaAcl', __args__, opts=opts, typ=GetKafkaAclResult)
207
+ return __ret__.apply(lambda __response__: GetKafkaAclResult(
208
+ acl_id=pulumi.get(__response__, 'acl_id'),
209
+ id=pulumi.get(__response__, 'id'),
210
+ permission=pulumi.get(__response__, 'permission'),
211
+ project=pulumi.get(__response__, 'project'),
212
+ service_name=pulumi.get(__response__, 'service_name'),
213
+ topic=pulumi.get(__response__, 'topic'),
214
+ username=pulumi.get(__response__, 'username')))
@@ -4,9 +4,14 @@
4
4
 
5
5
  import copy
6
6
  import warnings
7
+ import sys
7
8
  import pulumi
8
9
  import pulumi.runtime
9
10
  from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
10
15
  from . import _utilities
11
16
  from . import outputs
12
17
 
@@ -22,7 +27,7 @@ class GetKafkaConnectResult:
22
27
  """
23
28
  A collection of values returned by getKafkaConnect.
24
29
  """
25
- def __init__(__self__, additional_disk_space=None, cloud_name=None, components=None, disk_space=None, disk_space_cap=None, disk_space_default=None, disk_space_step=None, disk_space_used=None, id=None, kafka_connect_user_configs=None, kafka_connects=None, maintenance_window_dow=None, maintenance_window_time=None, plan=None, project=None, project_vpc_id=None, service_host=None, service_integrations=None, service_name=None, service_password=None, service_port=None, service_type=None, service_uri=None, service_username=None, state=None, static_ips=None, tags=None, tech_emails=None, termination_protection=None):
30
+ def __init__(__self__, additional_disk_space=None, cloud_name=None, components=None, disk_space=None, disk_space_cap=None, disk_space_default=None, disk_space_step=None, disk_space_used=None, id=None, kafka_connect_user_configs=None, maintenance_window_dow=None, maintenance_window_time=None, plan=None, project=None, project_vpc_id=None, service_host=None, service_integrations=None, service_name=None, service_password=None, service_port=None, service_type=None, service_uri=None, service_username=None, state=None, static_ips=None, tags=None, tech_emails=None, termination_protection=None):
26
31
  if additional_disk_space and not isinstance(additional_disk_space, str):
27
32
  raise TypeError("Expected argument 'additional_disk_space' to be a str")
28
33
  pulumi.set(__self__, "additional_disk_space", additional_disk_space)
@@ -53,9 +58,6 @@ class GetKafkaConnectResult:
53
58
  if kafka_connect_user_configs and not isinstance(kafka_connect_user_configs, list):
54
59
  raise TypeError("Expected argument 'kafka_connect_user_configs' to be a list")
55
60
  pulumi.set(__self__, "kafka_connect_user_configs", kafka_connect_user_configs)
56
- if kafka_connects and not isinstance(kafka_connects, list):
57
- raise TypeError("Expected argument 'kafka_connects' to be a list")
58
- pulumi.set(__self__, "kafka_connects", kafka_connects)
59
61
  if maintenance_window_dow and not isinstance(maintenance_window_dow, str):
60
62
  raise TypeError("Expected argument 'maintenance_window_dow' to be a str")
61
63
  pulumi.set(__self__, "maintenance_window_dow", maintenance_window_dow)
@@ -115,7 +117,7 @@ class GetKafkaConnectResult:
115
117
  @pulumi.getter(name="additionalDiskSpace")
116
118
  def additional_disk_space(self) -> str:
117
119
  """
118
- Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
120
+ Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
119
121
  """
120
122
  return pulumi.get(self, "additional_disk_space")
121
123
 
@@ -187,18 +189,10 @@ class GetKafkaConnectResult:
187
189
  @pulumi.getter(name="kafkaConnectUserConfigs")
188
190
  def kafka_connect_user_configs(self) -> Sequence['outputs.GetKafkaConnectKafkaConnectUserConfigResult']:
189
191
  """
190
- KafkaConnect user configurable settings
192
+ KafkaConnect user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
191
193
  """
192
194
  return pulumi.get(self, "kafka_connect_user_configs")
193
195
 
194
- @property
195
- @pulumi.getter(name="kafkaConnects")
196
- def kafka_connects(self) -> Sequence['outputs.GetKafkaConnectKafkaConnectResult']:
197
- """
198
- Kafka Connect server provided values
199
- """
200
- return pulumi.get(self, "kafka_connects")
201
-
202
196
  @property
203
197
  @pulumi.getter(name="maintenanceWindowDow")
204
198
  def maintenance_window_dow(self) -> str:
@@ -219,7 +213,7 @@ class GetKafkaConnectResult:
219
213
  @pulumi.getter
220
214
  def plan(self) -> str:
221
215
  """
222
- 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).
216
+ 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 seen from the [Aiven pricing page](https://aiven.io/pricing).
223
217
  """
224
218
  return pulumi.get(self, "plan")
225
219
 
@@ -227,7 +221,7 @@ class GetKafkaConnectResult:
227
221
  @pulumi.getter
228
222
  def project(self) -> str:
229
223
  """
230
- Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
224
+ 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.
231
225
  """
232
226
  return pulumi.get(self, "project")
233
227
 
@@ -331,7 +325,7 @@ class GetKafkaConnectResult:
331
325
  @pulumi.getter(name="techEmails")
332
326
  def tech_emails(self) -> Sequence['outputs.GetKafkaConnectTechEmailResult']:
333
327
  """
334
- Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service instability.
328
+ 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.
335
329
  """
336
330
  return pulumi.get(self, "tech_emails")
337
331
 
@@ -360,7 +354,6 @@ class AwaitableGetKafkaConnectResult(GetKafkaConnectResult):
360
354
  disk_space_used=self.disk_space_used,
361
355
  id=self.id,
362
356
  kafka_connect_user_configs=self.kafka_connect_user_configs,
363
- kafka_connects=self.kafka_connects,
364
357
  maintenance_window_dow=self.maintenance_window_dow,
365
358
  maintenance_window_time=self.maintenance_window_time,
366
359
  plan=self.plan,
@@ -385,22 +378,20 @@ def get_kafka_connect(project: Optional[str] = None,
385
378
  service_name: Optional[str] = None,
386
379
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetKafkaConnectResult:
387
380
  """
388
- The Kafka Connect data source provides information about the existing Aiven Kafka Connect service.
381
+ Gets information about an Aiven for Apache Kafka® Connect service.
389
382
 
390
383
  ## Example Usage
391
384
 
392
- <!--Start PulumiCodeChooser -->
393
385
  ```python
394
386
  import pulumi
395
387
  import pulumi_aiven as aiven
396
388
 
397
- kc1 = aiven.get_kafka_connect(project=data["aiven_project"]["pr1"]["project"],
398
- service_name="my-kc1")
389
+ example_kafka_connect = aiven.get_kafka_connect(project=example_project["project"],
390
+ service_name="example-connect-service")
399
391
  ```
400
- <!--End PulumiCodeChooser -->
401
392
 
402
393
 
403
- :param str project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
394
+ :param 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.
404
395
  :param 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.
405
396
  """
406
397
  __args__ = dict()
@@ -420,7 +411,6 @@ def get_kafka_connect(project: Optional[str] = None,
420
411
  disk_space_used=pulumi.get(__ret__, 'disk_space_used'),
421
412
  id=pulumi.get(__ret__, 'id'),
422
413
  kafka_connect_user_configs=pulumi.get(__ret__, 'kafka_connect_user_configs'),
423
- kafka_connects=pulumi.get(__ret__, 'kafka_connects'),
424
414
  maintenance_window_dow=pulumi.get(__ret__, 'maintenance_window_dow'),
425
415
  maintenance_window_time=pulumi.get(__ret__, 'maintenance_window_time'),
426
416
  plan=pulumi.get(__ret__, 'plan'),
@@ -439,29 +429,57 @@ def get_kafka_connect(project: Optional[str] = None,
439
429
  tags=pulumi.get(__ret__, 'tags'),
440
430
  tech_emails=pulumi.get(__ret__, 'tech_emails'),
441
431
  termination_protection=pulumi.get(__ret__, 'termination_protection'))
442
-
443
-
444
- @_utilities.lift_output_func(get_kafka_connect)
445
432
  def get_kafka_connect_output(project: Optional[pulumi.Input[str]] = None,
446
433
  service_name: Optional[pulumi.Input[str]] = None,
447
- opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetKafkaConnectResult]:
434
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetKafkaConnectResult]:
448
435
  """
449
- The Kafka Connect data source provides information about the existing Aiven Kafka Connect service.
436
+ Gets information about an Aiven for Apache Kafka® Connect service.
450
437
 
451
438
  ## Example Usage
452
439
 
453
- <!--Start PulumiCodeChooser -->
454
440
  ```python
455
441
  import pulumi
456
442
  import pulumi_aiven as aiven
457
443
 
458
- kc1 = aiven.get_kafka_connect(project=data["aiven_project"]["pr1"]["project"],
459
- service_name="my-kc1")
444
+ example_kafka_connect = aiven.get_kafka_connect(project=example_project["project"],
445
+ service_name="example-connect-service")
460
446
  ```
461
- <!--End PulumiCodeChooser -->
462
447
 
463
448
 
464
- :param str project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
449
+ :param 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.
465
450
  :param 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.
466
451
  """
467
- ...
452
+ __args__ = dict()
453
+ __args__['project'] = project
454
+ __args__['serviceName'] = service_name
455
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
456
+ __ret__ = pulumi.runtime.invoke_output('aiven:index/getKafkaConnect:getKafkaConnect', __args__, opts=opts, typ=GetKafkaConnectResult)
457
+ return __ret__.apply(lambda __response__: GetKafkaConnectResult(
458
+ additional_disk_space=pulumi.get(__response__, 'additional_disk_space'),
459
+ cloud_name=pulumi.get(__response__, 'cloud_name'),
460
+ components=pulumi.get(__response__, 'components'),
461
+ disk_space=pulumi.get(__response__, 'disk_space'),
462
+ disk_space_cap=pulumi.get(__response__, 'disk_space_cap'),
463
+ disk_space_default=pulumi.get(__response__, 'disk_space_default'),
464
+ disk_space_step=pulumi.get(__response__, 'disk_space_step'),
465
+ disk_space_used=pulumi.get(__response__, 'disk_space_used'),
466
+ id=pulumi.get(__response__, 'id'),
467
+ kafka_connect_user_configs=pulumi.get(__response__, 'kafka_connect_user_configs'),
468
+ maintenance_window_dow=pulumi.get(__response__, 'maintenance_window_dow'),
469
+ maintenance_window_time=pulumi.get(__response__, 'maintenance_window_time'),
470
+ plan=pulumi.get(__response__, 'plan'),
471
+ project=pulumi.get(__response__, 'project'),
472
+ project_vpc_id=pulumi.get(__response__, 'project_vpc_id'),
473
+ service_host=pulumi.get(__response__, 'service_host'),
474
+ service_integrations=pulumi.get(__response__, 'service_integrations'),
475
+ service_name=pulumi.get(__response__, 'service_name'),
476
+ service_password=pulumi.get(__response__, 'service_password'),
477
+ service_port=pulumi.get(__response__, 'service_port'),
478
+ service_type=pulumi.get(__response__, 'service_type'),
479
+ service_uri=pulumi.get(__response__, 'service_uri'),
480
+ service_username=pulumi.get(__response__, 'service_username'),
481
+ state=pulumi.get(__response__, 'state'),
482
+ static_ips=pulumi.get(__response__, 'static_ips'),
483
+ tags=pulumi.get(__response__, 'tags'),
484
+ tech_emails=pulumi.get(__response__, 'tech_emails'),
485
+ termination_protection=pulumi.get(__response__, 'termination_protection')))