pulumi-aiven 6.13.0a1709702245__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 +32960 -13922
  3. pulumi_aiven/_utilities.py +41 -5
  4. pulumi_aiven/account.py +34 -43
  5. pulumi_aiven/account_authentication.py +24 -9
  6. pulumi_aiven/account_team.py +37 -12
  7. pulumi_aiven/account_team_member.py +48 -35
  8. pulumi_aiven/account_team_project.py +42 -25
  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 -39
  13. pulumi_aiven/aws_vpc_peering_connection.py +72 -57
  14. pulumi_aiven/azure_privatelink.py +54 -49
  15. pulumi_aiven/azure_privatelink_connection_approval.py +136 -33
  16. pulumi_aiven/azure_vpc_peering_connection.py +86 -73
  17. pulumi_aiven/billing_group.py +33 -30
  18. pulumi_aiven/cassandra.py +145 -122
  19. pulumi_aiven/cassandra_user.py +59 -54
  20. pulumi_aiven/clickhouse.py +133 -110
  21. pulumi_aiven/clickhouse_database.py +58 -58
  22. pulumi_aiven/clickhouse_grant.py +135 -130
  23. pulumi_aiven/clickhouse_role.py +36 -45
  24. pulumi_aiven/clickhouse_user.py +50 -45
  25. pulumi_aiven/config/__init__.pyi +5 -0
  26. pulumi_aiven/config/vars.py +5 -0
  27. pulumi_aiven/connection_pool.py +67 -62
  28. pulumi_aiven/dragonfly.py +1256 -0
  29. pulumi_aiven/flink.py +104 -100
  30. pulumi_aiven/flink_application.py +58 -51
  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 -44
  36. pulumi_aiven/get_account.py +20 -5
  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 -20
  45. pulumi_aiven/get_aws_vpc_peering_connection.py +56 -29
  46. pulumi_aiven/get_azure_privatelink.py +37 -22
  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 -19
  50. pulumi_aiven/get_cassandra.py +55 -19
  51. pulumi_aiven/get_cassandra_user.py +42 -26
  52. pulumi_aiven/get_clickhouse.py +55 -19
  53. pulumi_aiven/get_clickhouse_database.py +35 -22
  54. pulumi_aiven/get_clickhouse_user.py +40 -25
  55. pulumi_aiven/get_connection_pool.py +43 -26
  56. pulumi_aiven/get_dragonfly.py +499 -0
  57. pulumi_aiven/get_external_identity.py +160 -0
  58. pulumi_aiven/get_flink.py +55 -19
  59. pulumi_aiven/get_flink_application.py +44 -27
  60. pulumi_aiven/get_flink_application_version.py +55 -33
  61. pulumi_aiven/get_gcp_privatelink.py +63 -7
  62. pulumi_aiven/get_gcp_vpc_peering_connection.py +39 -24
  63. pulumi_aiven/get_grafana.py +55 -19
  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 -21
  68. pulumi_aiven/get_kafka_acl.py +50 -33
  69. pulumi_aiven/get_kafka_connect.py +54 -32
  70. pulumi_aiven/get_kafka_connector.py +44 -24
  71. pulumi_aiven/get_kafka_mirror_maker.py +50 -28
  72. pulumi_aiven/get_kafka_schema.py +35 -19
  73. pulumi_aiven/get_kafka_schema_configuration.py +32 -17
  74. pulumi_aiven/get_kafka_schema_registry_acl.py +37 -20
  75. pulumi_aiven/get_kafka_topic.py +70 -25
  76. pulumi_aiven/get_kafka_user.py +42 -26
  77. pulumi_aiven/get_m3_aggregator.py +51 -15
  78. pulumi_aiven/get_m3_db.py +55 -19
  79. pulumi_aiven/get_m3db_user.py +38 -24
  80. pulumi_aiven/get_mirror_maker_replication_flow.py +86 -21
  81. pulumi_aiven/get_my_sql.py +50 -14
  82. pulumi_aiven/get_mysql_database.py +31 -18
  83. pulumi_aiven/get_mysql_user.py +36 -19
  84. pulumi_aiven/get_open_search.py +50 -14
  85. pulumi_aiven/get_open_search_acl_config.py +27 -15
  86. pulumi_aiven/get_open_search_acl_rule.py +37 -21
  87. pulumi_aiven/get_opensearch_security_plugin_config.py +29 -15
  88. pulumi_aiven/get_opensearch_user.py +32 -18
  89. pulumi_aiven/get_organization.py +25 -13
  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 -19
  96. pulumi_aiven/get_pg_database.py +39 -24
  97. pulumi_aiven/get_pg_user.py +44 -27
  98. pulumi_aiven/get_project.py +43 -22
  99. pulumi_aiven/get_project_user.py +27 -15
  100. pulumi_aiven/get_project_vpc.py +31 -19
  101. pulumi_aiven/get_redis.py +50 -14
  102. pulumi_aiven/get_redis_user.py +40 -22
  103. pulumi_aiven/get_service_component.py +40 -18
  104. pulumi_aiven/get_service_integration.py +163 -49
  105. pulumi_aiven/get_service_integration_endpoint.py +128 -33
  106. pulumi_aiven/get_thanos.py +499 -0
  107. pulumi_aiven/get_transit_gateway_vpc_attachment.py +35 -18
  108. pulumi_aiven/get_valkey.py +499 -0
  109. pulumi_aiven/get_valkey_user.py +218 -0
  110. pulumi_aiven/grafana.py +188 -318
  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 -140
  115. pulumi_aiven/kafka_acl.py +64 -53
  116. pulumi_aiven/kafka_connect.py +201 -328
  117. pulumi_aiven/kafka_connector.py +67 -56
  118. pulumi_aiven/kafka_mirror_maker.py +139 -318
  119. pulumi_aiven/kafka_native_acl.py +588 -0
  120. pulumi_aiven/kafka_quota.py +604 -0
  121. pulumi_aiven/kafka_schema.py +65 -56
  122. pulumi_aiven/kafka_schema_configuration.py +25 -20
  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 -54
  126. pulumi_aiven/m3_aggregator.py +176 -308
  127. pulumi_aiven/m3_db.py +190 -322
  128. pulumi_aiven/m3db_user.py +51 -46
  129. pulumi_aiven/mirror_maker_replication_flow.py +217 -53
  130. pulumi_aiven/my_sql.py +190 -322
  131. pulumi_aiven/mysql_database.py +32 -47
  132. pulumi_aiven/mysql_user.py +37 -32
  133. pulumi_aiven/open_search.py +128 -105
  134. pulumi_aiven/open_search_acl_config.py +33 -32
  135. pulumi_aiven/open_search_acl_rule.py +55 -50
  136. pulumi_aiven/opensearch_security_plugin_config.py +69 -16
  137. pulumi_aiven/opensearch_user.py +30 -25
  138. pulumi_aiven/organization.py +18 -13
  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 -32
  147. pulumi_aiven/outputs.py +38714 -21632
  148. pulumi_aiven/pg.py +92 -88
  149. pulumi_aiven/pg_database.py +52 -67
  150. pulumi_aiven/pg_user.py +80 -61
  151. pulumi_aiven/project.py +111 -102
  152. pulumi_aiven/project_user.py +44 -31
  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 +163 -295
  157. pulumi_aiven/redis_user.py +58 -53
  158. pulumi_aiven/service_integration.py +511 -161
  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 -54
  163. pulumi_aiven/valkey.py +1256 -0
  164. pulumi_aiven/valkey_user.py +606 -0
  165. {pulumi_aiven-6.13.0a1709702245.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.0a1709702245.dist-info → pulumi_aiven-6.31.0.dist-info}/WHEEL +1 -1
  168. pulumi_aiven-6.13.0a1709702245.dist-info/RECORD +0 -146
  169. {pulumi_aiven-6.13.0a1709702245.dist-info → pulumi_aiven-6.31.0.dist-info}/top_level.txt +0 -0
@@ -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,7 +128,7 @@ 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
 
@@ -131,19 +136,19 @@ def get_kafka_acl(permission: Optional[str] = None,
131
136
  import pulumi
132
137
  import pulumi_aiven as aiven
133
138
 
134
- mytestacl = aiven.get_kafka_acl(project=aiven_project["myproject"]["project"],
135
- service_name=aiven_kafka["mykafka"]["service_name"],
136
- topic="<TOPIC_NAME_PATTERN>",
137
- permission="<PERMISSON>",
138
- 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")
139
144
  ```
140
145
 
141
146
 
142
- :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.
143
- :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.
144
- :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.
145
- :param str topic: Topic name pattern for the ACL entry. This property cannot be changed, doing so forces recreation of the resource.
146
- :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.
147
152
  """
148
153
  __args__ = dict()
149
154
  __args__['permission'] = permission
@@ -162,17 +167,14 @@ def get_kafka_acl(permission: Optional[str] = None,
162
167
  service_name=pulumi.get(__ret__, 'service_name'),
163
168
  topic=pulumi.get(__ret__, 'topic'),
164
169
  username=pulumi.get(__ret__, 'username'))
165
-
166
-
167
- @_utilities.lift_output_func(get_kafka_acl)
168
170
  def get_kafka_acl_output(permission: Optional[pulumi.Input[str]] = None,
169
171
  project: Optional[pulumi.Input[str]] = None,
170
172
  service_name: Optional[pulumi.Input[str]] = None,
171
173
  topic: Optional[pulumi.Input[str]] = None,
172
174
  username: Optional[pulumi.Input[str]] = None,
173
- opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetKafkaAclResult]:
175
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetKafkaAclResult]:
174
176
  """
175
- 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.
176
178
 
177
179
  ## Example Usage
178
180
 
@@ -180,18 +182,33 @@ def get_kafka_acl_output(permission: Optional[pulumi.Input[str]] = None,
180
182
  import pulumi
181
183
  import pulumi_aiven as aiven
182
184
 
183
- mytestacl = aiven.get_kafka_acl(project=aiven_project["myproject"]["project"],
184
- service_name=aiven_kafka["mykafka"]["service_name"],
185
- topic="<TOPIC_NAME_PATTERN>",
186
- permission="<PERMISSON>",
187
- 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")
188
190
  ```
189
191
 
190
192
 
191
- :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.
192
- :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.
193
- :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.
194
- :param str topic: Topic name pattern for the ACL entry. This property cannot be changed, doing so forces recreation of the resource.
195
- :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.
196
198
  """
197
- ...
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,7 +378,7 @@ 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
 
@@ -393,12 +386,12 @@ def get_kafka_connect(project: Optional[str] = None,
393
386
  import pulumi
394
387
  import pulumi_aiven as aiven
395
388
 
396
- kc1 = aiven.get_kafka_connect(project=data["aiven_project"]["pr1"]["project"],
397
- service_name="my-kc1")
389
+ example_kafka_connect = aiven.get_kafka_connect(project=example_project["project"],
390
+ service_name="example-connect-service")
398
391
  ```
399
392
 
400
393
 
401
- :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.
402
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.
403
396
  """
404
397
  __args__ = dict()
@@ -418,7 +411,6 @@ def get_kafka_connect(project: Optional[str] = None,
418
411
  disk_space_used=pulumi.get(__ret__, 'disk_space_used'),
419
412
  id=pulumi.get(__ret__, 'id'),
420
413
  kafka_connect_user_configs=pulumi.get(__ret__, 'kafka_connect_user_configs'),
421
- kafka_connects=pulumi.get(__ret__, 'kafka_connects'),
422
414
  maintenance_window_dow=pulumi.get(__ret__, 'maintenance_window_dow'),
423
415
  maintenance_window_time=pulumi.get(__ret__, 'maintenance_window_time'),
424
416
  plan=pulumi.get(__ret__, 'plan'),
@@ -437,14 +429,11 @@ def get_kafka_connect(project: Optional[str] = None,
437
429
  tags=pulumi.get(__ret__, 'tags'),
438
430
  tech_emails=pulumi.get(__ret__, 'tech_emails'),
439
431
  termination_protection=pulumi.get(__ret__, 'termination_protection'))
440
-
441
-
442
- @_utilities.lift_output_func(get_kafka_connect)
443
432
  def get_kafka_connect_output(project: Optional[pulumi.Input[str]] = None,
444
433
  service_name: Optional[pulumi.Input[str]] = None,
445
- opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetKafkaConnectResult]:
434
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetKafkaConnectResult]:
446
435
  """
447
- 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.
448
437
 
449
438
  ## Example Usage
450
439
 
@@ -452,12 +441,45 @@ def get_kafka_connect_output(project: Optional[pulumi.Input[str]] = None,
452
441
  import pulumi
453
442
  import pulumi_aiven as aiven
454
443
 
455
- kc1 = aiven.get_kafka_connect(project=data["aiven_project"]["pr1"]["project"],
456
- service_name="my-kc1")
444
+ example_kafka_connect = aiven.get_kafka_connect(project=example_project["project"],
445
+ service_name="example-connect-service")
457
446
  ```
458
447
 
459
448
 
460
- :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.
461
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.
462
451
  """
463
- ...
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')))
@@ -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
 
@@ -64,7 +69,7 @@ class GetKafkaConnectorResult:
64
69
  @pulumi.getter
65
70
  def config(self) -> Mapping[str, str]:
66
71
  """
67
- The Kafka Connector configuration parameters.
72
+ The Kafka connector configuration parameters.
68
73
  """
69
74
  return pulumi.get(self, "config")
70
75
 
@@ -72,7 +77,7 @@ class GetKafkaConnectorResult:
72
77
  @pulumi.getter(name="connectorName")
73
78
  def connector_name(self) -> str:
74
79
  """
75
- The kafka connector name. This property cannot be changed, doing so forces recreation of the resource.
80
+ The Kafka connector name. Changing this property forces recreation of the resource.
76
81
  """
77
82
  return pulumi.get(self, "connector_name")
78
83
 
@@ -128,7 +133,7 @@ class GetKafkaConnectorResult:
128
133
  @pulumi.getter(name="pluginVersion")
129
134
  def plugin_version(self) -> str:
130
135
  """
131
- The version of the kafka connector.
136
+ The version of the Kafka connector.
132
137
  """
133
138
  return pulumi.get(self, "plugin_version")
134
139
 
@@ -136,7 +141,7 @@ class GetKafkaConnectorResult:
136
141
  @pulumi.getter
137
142
  def project(self) -> str:
138
143
  """
139
- 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.
144
+ 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.
140
145
  """
141
146
  return pulumi.get(self, "project")
142
147
 
@@ -144,7 +149,7 @@ class GetKafkaConnectorResult:
144
149
  @pulumi.getter(name="serviceName")
145
150
  def service_name(self) -> str:
146
151
  """
147
- 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.
152
+ 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.
148
153
  """
149
154
  return pulumi.get(self, "service_name")
150
155
 
@@ -182,7 +187,7 @@ def get_kafka_connector(connector_name: Optional[str] = None,
182
187
  service_name: Optional[str] = None,
183
188
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetKafkaConnectorResult:
184
189
  """
185
- The Kafka connector data source provides information about the existing Aiven Kafka connector.
190
+ Gets information about an Aiven for Apache Kafka® connector.
186
191
 
187
192
  ## Example Usage
188
193
 
@@ -190,15 +195,15 @@ def get_kafka_connector(connector_name: Optional[str] = None,
190
195
  import pulumi
191
196
  import pulumi_aiven as aiven
192
197
 
193
- kafka_es_con1 = aiven.get_kafka_connector(project=aiven_project["kafka-con-project1"]["project"],
194
- service_name=aiven_kafka["kafka-service1"]["service_name"],
195
- connector_name="kafka-es-con1")
198
+ kafka_os_connector = aiven.get_kafka_connector(project=example_project["project"],
199
+ service_name=example_kafka["serviceName"],
200
+ connector_name="kafka-opensearch-connector")
196
201
  ```
197
202
 
198
203
 
199
- :param str connector_name: The kafka connector name. This property cannot be changed, doing so forces recreation of the resource.
200
- :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.
201
- :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.
204
+ :param str connector_name: The Kafka connector name. Changing this property forces recreation of the resource.
205
+ :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.
206
+ :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.
202
207
  """
203
208
  __args__ = dict()
204
209
  __args__['connectorName'] = connector_name
@@ -220,15 +225,12 @@ def get_kafka_connector(connector_name: Optional[str] = None,
220
225
  project=pulumi.get(__ret__, 'project'),
221
226
  service_name=pulumi.get(__ret__, 'service_name'),
222
227
  tasks=pulumi.get(__ret__, 'tasks'))
223
-
224
-
225
- @_utilities.lift_output_func(get_kafka_connector)
226
228
  def get_kafka_connector_output(connector_name: Optional[pulumi.Input[str]] = None,
227
229
  project: Optional[pulumi.Input[str]] = None,
228
230
  service_name: Optional[pulumi.Input[str]] = None,
229
- opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetKafkaConnectorResult]:
231
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetKafkaConnectorResult]:
230
232
  """
231
- The Kafka connector data source provides information about the existing Aiven Kafka connector.
233
+ Gets information about an Aiven for Apache Kafka® connector.
232
234
 
233
235
  ## Example Usage
234
236
 
@@ -236,14 +238,32 @@ def get_kafka_connector_output(connector_name: Optional[pulumi.Input[str]] = Non
236
238
  import pulumi
237
239
  import pulumi_aiven as aiven
238
240
 
239
- kafka_es_con1 = aiven.get_kafka_connector(project=aiven_project["kafka-con-project1"]["project"],
240
- service_name=aiven_kafka["kafka-service1"]["service_name"],
241
- connector_name="kafka-es-con1")
241
+ kafka_os_connector = aiven.get_kafka_connector(project=example_project["project"],
242
+ service_name=example_kafka["serviceName"],
243
+ connector_name="kafka-opensearch-connector")
242
244
  ```
243
245
 
244
246
 
245
- :param str connector_name: The kafka connector name. This property cannot be changed, doing so forces recreation of the resource.
246
- :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.
247
- :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.
247
+ :param str connector_name: The Kafka connector name. Changing this property forces recreation of the resource.
248
+ :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.
249
+ :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.
248
250
  """
249
- ...
251
+ __args__ = dict()
252
+ __args__['connectorName'] = connector_name
253
+ __args__['project'] = project
254
+ __args__['serviceName'] = service_name
255
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
256
+ __ret__ = pulumi.runtime.invoke_output('aiven:index/getKafkaConnector:getKafkaConnector', __args__, opts=opts, typ=GetKafkaConnectorResult)
257
+ return __ret__.apply(lambda __response__: GetKafkaConnectorResult(
258
+ config=pulumi.get(__response__, 'config'),
259
+ connector_name=pulumi.get(__response__, 'connector_name'),
260
+ id=pulumi.get(__response__, 'id'),
261
+ plugin_author=pulumi.get(__response__, 'plugin_author'),
262
+ plugin_class=pulumi.get(__response__, 'plugin_class'),
263
+ plugin_doc_url=pulumi.get(__response__, 'plugin_doc_url'),
264
+ plugin_title=pulumi.get(__response__, 'plugin_title'),
265
+ plugin_type=pulumi.get(__response__, 'plugin_type'),
266
+ plugin_version=pulumi.get(__response__, 'plugin_version'),
267
+ project=pulumi.get(__response__, 'project'),
268
+ service_name=pulumi.get(__response__, 'service_name'),
269
+ tasks=pulumi.get(__response__, 'tasks')))