pulumi-aiven 6.26.0a1728364446__py3-none-any.whl → 6.26.1__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 (160) hide show
  1. pulumi_aiven/__init__.py +1 -0
  2. pulumi_aiven/_inputs.py +8440 -400
  3. pulumi_aiven/_utilities.py +1 -1
  4. pulumi_aiven/account.py +5 -0
  5. pulumi_aiven/account_authentication.py +5 -0
  6. pulumi_aiven/account_team.py +5 -0
  7. pulumi_aiven/account_team_member.py +5 -0
  8. pulumi_aiven/account_team_project.py +12 -7
  9. pulumi_aiven/aws_privatelink.py +5 -0
  10. pulumi_aiven/aws_vpc_peering_connection.py +5 -0
  11. pulumi_aiven/azure_privatelink.py +5 -0
  12. pulumi_aiven/azure_privatelink_connection_approval.py +5 -0
  13. pulumi_aiven/azure_vpc_peering_connection.py +5 -0
  14. pulumi_aiven/billing_group.py +5 -0
  15. pulumi_aiven/cassandra.py +12 -2
  16. pulumi_aiven/cassandra_user.py +5 -0
  17. pulumi_aiven/clickhouse.py +11 -1
  18. pulumi_aiven/clickhouse_database.py +5 -0
  19. pulumi_aiven/clickhouse_grant.py +5 -0
  20. pulumi_aiven/clickhouse_role.py +5 -0
  21. pulumi_aiven/clickhouse_user.py +5 -0
  22. pulumi_aiven/config/__init__.pyi +5 -0
  23. pulumi_aiven/config/vars.py +5 -0
  24. pulumi_aiven/connection_pool.py +5 -0
  25. pulumi_aiven/dragonfly.py +12 -2
  26. pulumi_aiven/flink.py +12 -2
  27. pulumi_aiven/flink_application.py +5 -0
  28. pulumi_aiven/flink_application_deployment.py +5 -0
  29. pulumi_aiven/flink_application_version.py +5 -0
  30. pulumi_aiven/gcp_privatelink.py +5 -0
  31. pulumi_aiven/gcp_privatelink_connection_approval.py +5 -0
  32. pulumi_aiven/gcp_vpc_peering_connection.py +5 -0
  33. pulumi_aiven/get_account.py +19 -4
  34. pulumi_aiven/get_account_authentication.py +30 -4
  35. pulumi_aiven/get_account_team.py +17 -4
  36. pulumi_aiven/get_account_team_member.py +19 -4
  37. pulumi_aiven/get_account_team_project.py +18 -5
  38. pulumi_aiven/get_aws_privatelink.py +17 -4
  39. pulumi_aiven/get_aws_vpc_peering_connection.py +21 -4
  40. pulumi_aiven/get_azure_privatelink.py +19 -4
  41. pulumi_aiven/get_azure_vpc_peering_connection.py +25 -4
  42. pulumi_aiven/get_billing_group.py +27 -4
  43. pulumi_aiven/get_cassanda.py +40 -4
  44. pulumi_aiven/get_cassandra.py +40 -4
  45. pulumi_aiven/get_cassandra_user.py +20 -4
  46. pulumi_aiven/get_clickhouse.py +40 -4
  47. pulumi_aiven/get_clickhouse_database.py +17 -4
  48. pulumi_aiven/get_clickhouse_user.py +19 -4
  49. pulumi_aiven/get_connection_pool.py +21 -4
  50. pulumi_aiven/get_dragonfly.py +40 -4
  51. pulumi_aiven/get_external_identity.py +160 -0
  52. pulumi_aiven/get_flink.py +40 -4
  53. pulumi_aiven/get_flink_application.py +21 -4
  54. pulumi_aiven/get_flink_application_version.py +26 -4
  55. pulumi_aiven/get_gcp_privatelink.py +17 -4
  56. pulumi_aiven/get_gcp_vpc_peering_connection.py +19 -4
  57. pulumi_aiven/get_grafana.py +40 -4
  58. pulumi_aiven/get_influx_db.py +40 -4
  59. pulumi_aiven/get_influxdb_database.py +17 -4
  60. pulumi_aiven/get_influxdb_user.py +20 -4
  61. pulumi_aiven/get_kafka.py +42 -4
  62. pulumi_aiven/get_kafka_acl.py +21 -4
  63. pulumi_aiven/get_kafka_connect.py +39 -4
  64. pulumi_aiven/get_kafka_connector.py +24 -4
  65. pulumi_aiven/get_kafka_mirror_maker.py +39 -4
  66. pulumi_aiven/get_kafka_schema.py +20 -4
  67. pulumi_aiven/get_kafka_schema_configuration.py +19 -4
  68. pulumi_aiven/get_kafka_schema_registry_acl.py +21 -4
  69. pulumi_aiven/get_kafka_topic.py +23 -4
  70. pulumi_aiven/get_kafka_user.py +20 -4
  71. pulumi_aiven/get_m3_aggregator.py +40 -4
  72. pulumi_aiven/get_m3_db.py +40 -4
  73. pulumi_aiven/get_m3db_user.py +18 -4
  74. pulumi_aiven/get_mirror_maker_replication_flow.py +29 -4
  75. pulumi_aiven/get_my_sql.py +40 -4
  76. pulumi_aiven/get_mysql_database.py +17 -4
  77. pulumi_aiven/get_mysql_user.py +21 -4
  78. pulumi_aiven/get_open_search.py +40 -4
  79. pulumi_aiven/get_open_search_acl_config.py +16 -4
  80. pulumi_aiven/get_open_search_acl_rule.py +20 -4
  81. pulumi_aiven/get_opensearch_security_plugin_config.py +18 -4
  82. pulumi_aiven/get_opensearch_user.py +18 -4
  83. pulumi_aiven/get_organization.py +16 -4
  84. pulumi_aiven/get_organization_application_user.py +17 -4
  85. pulumi_aiven/get_organization_user.py +17 -4
  86. pulumi_aiven/get_organization_user_group.py +18 -4
  87. pulumi_aiven/get_organizational_unit.py +16 -4
  88. pulumi_aiven/get_pg.py +40 -4
  89. pulumi_aiven/get_pg_database.py +19 -4
  90. pulumi_aiven/get_pg_user.py +21 -4
  91. pulumi_aiven/get_project.py +25 -4
  92. pulumi_aiven/get_project_user.py +17 -5
  93. pulumi_aiven/get_project_vpc.py +18 -4
  94. pulumi_aiven/get_redis.py +40 -4
  95. pulumi_aiven/get_redis_user.py +22 -4
  96. pulumi_aiven/get_service_component.py +26 -4
  97. pulumi_aiven/get_service_integration.py +52 -8
  98. pulumi_aiven/get_service_integration_endpoint.py +32 -4
  99. pulumi_aiven/get_thanos.py +40 -10
  100. pulumi_aiven/get_transit_gateway_vpc_attachment.py +21 -4
  101. pulumi_aiven/get_valkey.py +40 -4
  102. pulumi_aiven/get_valkey_user.py +22 -4
  103. pulumi_aiven/grafana.py +12 -2
  104. pulumi_aiven/influx_db.py +12 -2
  105. pulumi_aiven/influxdb_database.py +5 -0
  106. pulumi_aiven/influxdb_user.py +5 -0
  107. pulumi_aiven/kafka.py +12 -2
  108. pulumi_aiven/kafka_acl.py +5 -0
  109. pulumi_aiven/kafka_connect.py +12 -2
  110. pulumi_aiven/kafka_connector.py +5 -0
  111. pulumi_aiven/kafka_mirror_maker.py +12 -2
  112. pulumi_aiven/kafka_schema.py +5 -0
  113. pulumi_aiven/kafka_schema_configuration.py +5 -0
  114. pulumi_aiven/kafka_schema_registry_acl.py +5 -0
  115. pulumi_aiven/kafka_topic.py +5 -0
  116. pulumi_aiven/kafka_user.py +5 -0
  117. pulumi_aiven/m3_aggregator.py +12 -2
  118. pulumi_aiven/m3_db.py +12 -2
  119. pulumi_aiven/m3db_user.py +5 -0
  120. pulumi_aiven/mirror_maker_replication_flow.py +5 -0
  121. pulumi_aiven/my_sql.py +12 -2
  122. pulumi_aiven/mysql_database.py +5 -0
  123. pulumi_aiven/mysql_user.py +5 -0
  124. pulumi_aiven/open_search.py +12 -2
  125. pulumi_aiven/open_search_acl_config.py +5 -0
  126. pulumi_aiven/open_search_acl_rule.py +5 -0
  127. pulumi_aiven/opensearch_security_plugin_config.py +5 -0
  128. pulumi_aiven/opensearch_user.py +5 -0
  129. pulumi_aiven/organization.py +5 -0
  130. pulumi_aiven/organization_application_user.py +5 -0
  131. pulumi_aiven/organization_application_user_token.py +5 -0
  132. pulumi_aiven/organization_group_project.py +12 -7
  133. pulumi_aiven/organization_permission.py +5 -0
  134. pulumi_aiven/organization_user.py +5 -0
  135. pulumi_aiven/organization_user_group.py +5 -0
  136. pulumi_aiven/organization_user_group_member.py +5 -0
  137. pulumi_aiven/organizational_unit.py +5 -0
  138. pulumi_aiven/outputs.py +339 -62
  139. pulumi_aiven/pg.py +12 -2
  140. pulumi_aiven/pg_database.py +5 -0
  141. pulumi_aiven/pg_user.py +5 -0
  142. pulumi_aiven/project.py +5 -0
  143. pulumi_aiven/project_user.py +12 -7
  144. pulumi_aiven/project_vpc.py +5 -0
  145. pulumi_aiven/provider.py +5 -0
  146. pulumi_aiven/pulumi-plugin.json +1 -1
  147. pulumi_aiven/redis.py +12 -2
  148. pulumi_aiven/redis_user.py +5 -0
  149. pulumi_aiven/service_integration.py +59 -7
  150. pulumi_aiven/service_integration_endpoint.py +5 -0
  151. pulumi_aiven/static_ip.py +7 -2
  152. pulumi_aiven/thanos.py +12 -8
  153. pulumi_aiven/transit_gateway_vpc_attachment.py +5 -0
  154. pulumi_aiven/valkey.py +12 -2
  155. pulumi_aiven/valkey_user.py +5 -0
  156. {pulumi_aiven-6.26.0a1728364446.dist-info → pulumi_aiven-6.26.1.dist-info}/METADATA +3 -2
  157. pulumi_aiven-6.26.1.dist-info/RECORD +161 -0
  158. {pulumi_aiven-6.26.0a1728364446.dist-info → pulumi_aiven-6.26.1.dist-info}/WHEEL +1 -1
  159. pulumi_aiven-6.26.0a1728364446.dist-info/RECORD +0 -160
  160. {pulumi_aiven-6.26.0a1728364446.dist-info → pulumi_aiven-6.26.1.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__ = [
@@ -167,9 +172,6 @@ def get_cassandra_user(project: Optional[str] = None,
167
172
  service_name=pulumi.get(__ret__, 'service_name'),
168
173
  type=pulumi.get(__ret__, 'type'),
169
174
  username=pulumi.get(__ret__, 'username'))
170
-
171
-
172
- @_utilities.lift_output_func(get_cassandra_user)
173
175
  def get_cassandra_user_output(project: Optional[pulumi.Input[str]] = None,
174
176
  service_name: Optional[pulumi.Input[str]] = None,
175
177
  username: Optional[pulumi.Input[str]] = None,
@@ -193,4 +195,18 @@ def get_cassandra_user_output(project: Optional[pulumi.Input[str]] = None,
193
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.
194
196
  :param str username: Name of the Cassandra service user. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
195
197
  """
196
- ...
198
+ __args__ = dict()
199
+ __args__['project'] = project
200
+ __args__['serviceName'] = service_name
201
+ __args__['username'] = username
202
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
203
+ __ret__ = pulumi.runtime.invoke_output('aiven:index/getCassandraUser:getCassandraUser', __args__, opts=opts, typ=GetCassandraUserResult)
204
+ return __ret__.apply(lambda __response__: GetCassandraUserResult(
205
+ access_cert=pulumi.get(__response__, 'access_cert'),
206
+ access_key=pulumi.get(__response__, 'access_key'),
207
+ id=pulumi.get(__response__, 'id'),
208
+ password=pulumi.get(__response__, 'password'),
209
+ project=pulumi.get(__response__, 'project'),
210
+ service_name=pulumi.get(__response__, 'service_name'),
211
+ type=pulumi.get(__response__, 'type'),
212
+ 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
 
@@ -437,9 +442,6 @@ def get_clickhouse(project: Optional[str] = None,
437
442
  tags=pulumi.get(__ret__, 'tags'),
438
443
  tech_emails=pulumi.get(__ret__, 'tech_emails'),
439
444
  termination_protection=pulumi.get(__ret__, 'termination_protection'))
440
-
441
-
442
- @_utilities.lift_output_func(get_clickhouse)
443
445
  def get_clickhouse_output(project: Optional[pulumi.Input[str]] = None,
444
446
  service_name: Optional[pulumi.Input[str]] = None,
445
447
  opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetClickhouseResult]:
@@ -460,4 +462,38 @@ def get_clickhouse_output(project: Optional[pulumi.Input[str]] = None,
460
462
  :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
463
  :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
464
  """
463
- ...
465
+ __args__ = dict()
466
+ __args__['project'] = project
467
+ __args__['serviceName'] = service_name
468
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
469
+ __ret__ = pulumi.runtime.invoke_output('aiven:index/getClickhouse:getClickhouse', __args__, opts=opts, typ=GetClickhouseResult)
470
+ return __ret__.apply(lambda __response__: GetClickhouseResult(
471
+ additional_disk_space=pulumi.get(__response__, 'additional_disk_space'),
472
+ clickhouse_user_configs=pulumi.get(__response__, 'clickhouse_user_configs'),
473
+ clickhouses=pulumi.get(__response__, 'clickhouses'),
474
+ cloud_name=pulumi.get(__response__, 'cloud_name'),
475
+ components=pulumi.get(__response__, 'components'),
476
+ disk_space=pulumi.get(__response__, 'disk_space'),
477
+ disk_space_cap=pulumi.get(__response__, 'disk_space_cap'),
478
+ disk_space_default=pulumi.get(__response__, 'disk_space_default'),
479
+ disk_space_step=pulumi.get(__response__, 'disk_space_step'),
480
+ disk_space_used=pulumi.get(__response__, 'disk_space_used'),
481
+ id=pulumi.get(__response__, 'id'),
482
+ maintenance_window_dow=pulumi.get(__response__, 'maintenance_window_dow'),
483
+ maintenance_window_time=pulumi.get(__response__, 'maintenance_window_time'),
484
+ plan=pulumi.get(__response__, 'plan'),
485
+ project=pulumi.get(__response__, 'project'),
486
+ project_vpc_id=pulumi.get(__response__, 'project_vpc_id'),
487
+ service_host=pulumi.get(__response__, 'service_host'),
488
+ service_integrations=pulumi.get(__response__, 'service_integrations'),
489
+ service_name=pulumi.get(__response__, 'service_name'),
490
+ service_password=pulumi.get(__response__, 'service_password'),
491
+ service_port=pulumi.get(__response__, 'service_port'),
492
+ service_type=pulumi.get(__response__, 'service_type'),
493
+ service_uri=pulumi.get(__response__, 'service_uri'),
494
+ service_username=pulumi.get(__response__, 'service_username'),
495
+ state=pulumi.get(__response__, 'state'),
496
+ static_ips=pulumi.get(__response__, 'static_ips'),
497
+ tags=pulumi.get(__response__, 'tags'),
498
+ tech_emails=pulumi.get(__response__, 'tech_emails'),
499
+ 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__ = [
@@ -125,9 +130,6 @@ def get_clickhouse_database(name: Optional[str] = None,
125
130
  project=pulumi.get(__ret__, 'project'),
126
131
  service_name=pulumi.get(__ret__, 'service_name'),
127
132
  termination_protection=pulumi.get(__ret__, 'termination_protection'))
128
-
129
-
130
- @_utilities.lift_output_func(get_clickhouse_database)
131
133
  def get_clickhouse_database_output(name: Optional[pulumi.Input[str]] = None,
132
134
  project: Optional[pulumi.Input[str]] = None,
133
135
  service_name: Optional[pulumi.Input[str]] = None,
@@ -151,4 +153,15 @@ def get_clickhouse_database_output(name: Optional[pulumi.Input[str]] = None,
151
153
  :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.
152
154
  :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.
153
155
  """
154
- ...
156
+ __args__ = dict()
157
+ __args__['name'] = name
158
+ __args__['project'] = project
159
+ __args__['serviceName'] = service_name
160
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
161
+ __ret__ = pulumi.runtime.invoke_output('aiven:index/getClickhouseDatabase:getClickhouseDatabase', __args__, opts=opts, typ=GetClickhouseDatabaseResult)
162
+ return __ret__.apply(lambda __response__: GetClickhouseDatabaseResult(
163
+ id=pulumi.get(__response__, 'id'),
164
+ name=pulumi.get(__response__, 'name'),
165
+ project=pulumi.get(__response__, 'project'),
166
+ service_name=pulumi.get(__response__, 'service_name'),
167
+ 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__ = [
@@ -154,9 +159,6 @@ def get_clickhouse_user(project: Optional[str] = None,
154
159
  service_name=pulumi.get(__ret__, 'service_name'),
155
160
  username=pulumi.get(__ret__, 'username'),
156
161
  uuid=pulumi.get(__ret__, 'uuid'))
157
-
158
-
159
- @_utilities.lift_output_func(get_clickhouse_user)
160
162
  def get_clickhouse_user_output(project: Optional[pulumi.Input[str]] = None,
161
163
  service_name: Optional[pulumi.Input[str]] = None,
162
164
  username: Optional[pulumi.Input[str]] = None,
@@ -180,4 +182,17 @@ def get_clickhouse_user_output(project: Optional[pulumi.Input[str]] = None,
180
182
  :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.
181
183
  :param str username: The name of the ClickHouse user. Changing this property forces recreation of the resource.
182
184
  """
183
- ...
185
+ __args__ = dict()
186
+ __args__['project'] = project
187
+ __args__['serviceName'] = service_name
188
+ __args__['username'] = username
189
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
190
+ __ret__ = pulumi.runtime.invoke_output('aiven:index/getClickhouseUser:getClickhouseUser', __args__, opts=opts, typ=GetClickhouseUserResult)
191
+ return __ret__.apply(lambda __response__: GetClickhouseUserResult(
192
+ id=pulumi.get(__response__, 'id'),
193
+ password=pulumi.get(__response__, 'password'),
194
+ project=pulumi.get(__response__, 'project'),
195
+ required=pulumi.get(__response__, 'required'),
196
+ service_name=pulumi.get(__response__, 'service_name'),
197
+ username=pulumi.get(__response__, 'username'),
198
+ uuid=pulumi.get(__response__, 'uuid')))
@@ -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__ = [
@@ -180,9 +185,6 @@ def get_connection_pool(pool_name: Optional[str] = None,
180
185
  project=pulumi.get(__ret__, 'project'),
181
186
  service_name=pulumi.get(__ret__, 'service_name'),
182
187
  username=pulumi.get(__ret__, 'username'))
183
-
184
-
185
- @_utilities.lift_output_func(get_connection_pool)
186
188
  def get_connection_pool_output(pool_name: Optional[pulumi.Input[str]] = None,
187
189
  project: Optional[pulumi.Input[str]] = None,
188
190
  service_name: Optional[pulumi.Input[str]] = None,
@@ -206,4 +208,19 @@ def get_connection_pool_output(pool_name: Optional[pulumi.Input[str]] = None,
206
208
  :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.
207
209
  :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.
208
210
  """
209
- ...
211
+ __args__ = dict()
212
+ __args__['poolName'] = pool_name
213
+ __args__['project'] = project
214
+ __args__['serviceName'] = service_name
215
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
216
+ __ret__ = pulumi.runtime.invoke_output('aiven:index/getConnectionPool:getConnectionPool', __args__, opts=opts, typ=GetConnectionPoolResult)
217
+ return __ret__.apply(lambda __response__: GetConnectionPoolResult(
218
+ connection_uri=pulumi.get(__response__, 'connection_uri'),
219
+ database_name=pulumi.get(__response__, 'database_name'),
220
+ id=pulumi.get(__response__, 'id'),
221
+ pool_mode=pulumi.get(__response__, 'pool_mode'),
222
+ pool_name=pulumi.get(__response__, 'pool_name'),
223
+ pool_size=pulumi.get(__response__, 'pool_size'),
224
+ project=pulumi.get(__response__, 'project'),
225
+ service_name=pulumi.get(__response__, 'service_name'),
226
+ 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
 
@@ -437,9 +442,6 @@ def get_dragonfly(project: Optional[str] = None,
437
442
  tags=pulumi.get(__ret__, 'tags'),
438
443
  tech_emails=pulumi.get(__ret__, 'tech_emails'),
439
444
  termination_protection=pulumi.get(__ret__, 'termination_protection'))
440
-
441
-
442
- @_utilities.lift_output_func(get_dragonfly)
443
445
  def get_dragonfly_output(project: Optional[pulumi.Input[str]] = None,
444
446
  service_name: Optional[pulumi.Input[str]] = None,
445
447
  opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDragonflyResult]:
@@ -460,4 +462,38 @@ def get_dragonfly_output(project: Optional[pulumi.Input[str]] = None,
460
462
  :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
463
  :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
464
  """
463
- ...
465
+ __args__ = dict()
466
+ __args__['project'] = project
467
+ __args__['serviceName'] = service_name
468
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
469
+ __ret__ = pulumi.runtime.invoke_output('aiven:index/getDragonfly:getDragonfly', __args__, opts=opts, typ=GetDragonflyResult)
470
+ return __ret__.apply(lambda __response__: GetDragonflyResult(
471
+ additional_disk_space=pulumi.get(__response__, 'additional_disk_space'),
472
+ cloud_name=pulumi.get(__response__, 'cloud_name'),
473
+ components=pulumi.get(__response__, 'components'),
474
+ disk_space=pulumi.get(__response__, 'disk_space'),
475
+ disk_space_cap=pulumi.get(__response__, 'disk_space_cap'),
476
+ disk_space_default=pulumi.get(__response__, 'disk_space_default'),
477
+ disk_space_step=pulumi.get(__response__, 'disk_space_step'),
478
+ disk_space_used=pulumi.get(__response__, 'disk_space_used'),
479
+ dragonflies=pulumi.get(__response__, 'dragonflies'),
480
+ dragonfly_user_configs=pulumi.get(__response__, 'dragonfly_user_configs'),
481
+ id=pulumi.get(__response__, 'id'),
482
+ maintenance_window_dow=pulumi.get(__response__, 'maintenance_window_dow'),
483
+ maintenance_window_time=pulumi.get(__response__, 'maintenance_window_time'),
484
+ plan=pulumi.get(__response__, 'plan'),
485
+ project=pulumi.get(__response__, 'project'),
486
+ project_vpc_id=pulumi.get(__response__, 'project_vpc_id'),
487
+ service_host=pulumi.get(__response__, 'service_host'),
488
+ service_integrations=pulumi.get(__response__, 'service_integrations'),
489
+ service_name=pulumi.get(__response__, 'service_name'),
490
+ service_password=pulumi.get(__response__, 'service_password'),
491
+ service_port=pulumi.get(__response__, 'service_port'),
492
+ service_type=pulumi.get(__response__, 'service_type'),
493
+ service_uri=pulumi.get(__response__, 'service_uri'),
494
+ service_username=pulumi.get(__response__, 'service_username'),
495
+ state=pulumi.get(__response__, 'state'),
496
+ static_ips=pulumi.get(__response__, 'static_ips'),
497
+ tags=pulumi.get(__response__, 'tags'),
498
+ tech_emails=pulumi.get(__response__, 'tech_emails'),
499
+ termination_protection=pulumi.get(__response__, 'termination_protection')))
@@ -0,0 +1,160 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import copy
6
+ import warnings
7
+ import sys
8
+ import pulumi
9
+ import pulumi.runtime
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
15
+ from . import _utilities
16
+
17
+ __all__ = [
18
+ 'GetExternalIdentityResult',
19
+ 'AwaitableGetExternalIdentityResult',
20
+ 'get_external_identity',
21
+ 'get_external_identity_output',
22
+ ]
23
+
24
+ @pulumi.output_type
25
+ class GetExternalIdentityResult:
26
+ """
27
+ A collection of values returned by getExternalIdentity.
28
+ """
29
+ def __init__(__self__, external_service_name=None, external_user_id=None, id=None, internal_user_id=None, organization_id=None):
30
+ if external_service_name and not isinstance(external_service_name, str):
31
+ raise TypeError("Expected argument 'external_service_name' to be a str")
32
+ pulumi.set(__self__, "external_service_name", external_service_name)
33
+ if external_user_id and not isinstance(external_user_id, str):
34
+ raise TypeError("Expected argument 'external_user_id' to be a str")
35
+ pulumi.set(__self__, "external_user_id", external_user_id)
36
+ if id and not isinstance(id, str):
37
+ raise TypeError("Expected argument 'id' to be a str")
38
+ pulumi.set(__self__, "id", id)
39
+ if internal_user_id and not isinstance(internal_user_id, str):
40
+ raise TypeError("Expected argument 'internal_user_id' to be a str")
41
+ pulumi.set(__self__, "internal_user_id", internal_user_id)
42
+ if organization_id and not isinstance(organization_id, str):
43
+ raise TypeError("Expected argument 'organization_id' to be a str")
44
+ pulumi.set(__self__, "organization_id", organization_id)
45
+
46
+ @property
47
+ @pulumi.getter(name="externalServiceName")
48
+ def external_service_name(self) -> str:
49
+ """
50
+ The name of the external service. The possible values are `github`.
51
+ """
52
+ return pulumi.get(self, "external_service_name")
53
+
54
+ @property
55
+ @pulumi.getter(name="externalUserId")
56
+ def external_user_id(self) -> str:
57
+ """
58
+ The user's ID on the external service.
59
+ """
60
+ return pulumi.get(self, "external_user_id")
61
+
62
+ @property
63
+ @pulumi.getter
64
+ def id(self) -> str:
65
+ """
66
+ The provider-assigned unique ID for this managed resource.
67
+ """
68
+ return pulumi.get(self, "id")
69
+
70
+ @property
71
+ @pulumi.getter(name="internalUserId")
72
+ def internal_user_id(self) -> str:
73
+ """
74
+ The Aiven user ID.
75
+ """
76
+ return pulumi.get(self, "internal_user_id")
77
+
78
+ @property
79
+ @pulumi.getter(name="organizationId")
80
+ def organization_id(self) -> str:
81
+ """
82
+ The ID of the Aiven organization that the user is part of.
83
+ """
84
+ return pulumi.get(self, "organization_id")
85
+
86
+
87
+ class AwaitableGetExternalIdentityResult(GetExternalIdentityResult):
88
+ # pylint: disable=using-constant-test
89
+ def __await__(self):
90
+ if False:
91
+ yield self
92
+ return GetExternalIdentityResult(
93
+ external_service_name=self.external_service_name,
94
+ external_user_id=self.external_user_id,
95
+ id=self.id,
96
+ internal_user_id=self.internal_user_id,
97
+ organization_id=self.organization_id)
98
+
99
+
100
+ def get_external_identity(external_service_name: Optional[str] = None,
101
+ external_user_id: Optional[str] = None,
102
+ internal_user_id: Optional[str] = None,
103
+ organization_id: Optional[str] = None,
104
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetExternalIdentityResult:
105
+ """
106
+ Maps an external service user to an Aiven user.
107
+
108
+ **This resource is in the beta stage and may change without notice.** Set
109
+ the `PROVIDER_AIVEN_ENABLE_BETA` environment variable to use the resource.
110
+
111
+
112
+ :param str external_service_name: The name of the external service. The possible values are `github`.
113
+ :param str external_user_id: The user's ID on the external service.
114
+ :param str internal_user_id: The Aiven user ID.
115
+ :param str organization_id: The ID of the Aiven organization that the user is part of.
116
+ """
117
+ __args__ = dict()
118
+ __args__['externalServiceName'] = external_service_name
119
+ __args__['externalUserId'] = external_user_id
120
+ __args__['internalUserId'] = internal_user_id
121
+ __args__['organizationId'] = organization_id
122
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
123
+ __ret__ = pulumi.runtime.invoke('aiven:index/getExternalIdentity:getExternalIdentity', __args__, opts=opts, typ=GetExternalIdentityResult).value
124
+
125
+ return AwaitableGetExternalIdentityResult(
126
+ external_service_name=pulumi.get(__ret__, 'external_service_name'),
127
+ external_user_id=pulumi.get(__ret__, 'external_user_id'),
128
+ id=pulumi.get(__ret__, 'id'),
129
+ internal_user_id=pulumi.get(__ret__, 'internal_user_id'),
130
+ organization_id=pulumi.get(__ret__, 'organization_id'))
131
+ def get_external_identity_output(external_service_name: Optional[pulumi.Input[str]] = None,
132
+ external_user_id: Optional[pulumi.Input[str]] = None,
133
+ internal_user_id: Optional[pulumi.Input[str]] = None,
134
+ organization_id: Optional[pulumi.Input[str]] = None,
135
+ opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetExternalIdentityResult]:
136
+ """
137
+ Maps an external service user to an Aiven user.
138
+
139
+ **This resource is in the beta stage and may change without notice.** Set
140
+ the `PROVIDER_AIVEN_ENABLE_BETA` environment variable to use the resource.
141
+
142
+
143
+ :param str external_service_name: The name of the external service. The possible values are `github`.
144
+ :param str external_user_id: The user's ID on the external service.
145
+ :param str internal_user_id: The Aiven user ID.
146
+ :param str organization_id: The ID of the Aiven organization that the user is part of.
147
+ """
148
+ __args__ = dict()
149
+ __args__['externalServiceName'] = external_service_name
150
+ __args__['externalUserId'] = external_user_id
151
+ __args__['internalUserId'] = internal_user_id
152
+ __args__['organizationId'] = organization_id
153
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
154
+ __ret__ = pulumi.runtime.invoke_output('aiven:index/getExternalIdentity:getExternalIdentity', __args__, opts=opts, typ=GetExternalIdentityResult)
155
+ return __ret__.apply(lambda __response__: GetExternalIdentityResult(
156
+ external_service_name=pulumi.get(__response__, 'external_service_name'),
157
+ external_user_id=pulumi.get(__response__, 'external_user_id'),
158
+ id=pulumi.get(__response__, 'id'),
159
+ internal_user_id=pulumi.get(__response__, 'internal_user_id'),
160
+ organization_id=pulumi.get(__response__, 'organization_id')))
pulumi_aiven/get_flink.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
 
@@ -437,9 +442,6 @@ def get_flink(project: Optional[str] = None,
437
442
  tags=pulumi.get(__ret__, 'tags'),
438
443
  tech_emails=pulumi.get(__ret__, 'tech_emails'),
439
444
  termination_protection=pulumi.get(__ret__, 'termination_protection'))
440
-
441
-
442
- @_utilities.lift_output_func(get_flink)
443
445
  def get_flink_output(project: Optional[pulumi.Input[str]] = None,
444
446
  service_name: Optional[pulumi.Input[str]] = None,
445
447
  opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetFlinkResult]:
@@ -460,4 +462,38 @@ def get_flink_output(project: Optional[pulumi.Input[str]] = None,
460
462
  :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
463
  :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
464
  """
463
- ...
465
+ __args__ = dict()
466
+ __args__['project'] = project
467
+ __args__['serviceName'] = service_name
468
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
469
+ __ret__ = pulumi.runtime.invoke_output('aiven:index/getFlink:getFlink', __args__, opts=opts, typ=GetFlinkResult)
470
+ return __ret__.apply(lambda __response__: GetFlinkResult(
471
+ additional_disk_space=pulumi.get(__response__, 'additional_disk_space'),
472
+ cloud_name=pulumi.get(__response__, 'cloud_name'),
473
+ components=pulumi.get(__response__, 'components'),
474
+ disk_space=pulumi.get(__response__, 'disk_space'),
475
+ disk_space_cap=pulumi.get(__response__, 'disk_space_cap'),
476
+ disk_space_default=pulumi.get(__response__, 'disk_space_default'),
477
+ disk_space_step=pulumi.get(__response__, 'disk_space_step'),
478
+ disk_space_used=pulumi.get(__response__, 'disk_space_used'),
479
+ flink_user_configs=pulumi.get(__response__, 'flink_user_configs'),
480
+ flinks=pulumi.get(__response__, 'flinks'),
481
+ id=pulumi.get(__response__, 'id'),
482
+ maintenance_window_dow=pulumi.get(__response__, 'maintenance_window_dow'),
483
+ maintenance_window_time=pulumi.get(__response__, 'maintenance_window_time'),
484
+ plan=pulumi.get(__response__, 'plan'),
485
+ project=pulumi.get(__response__, 'project'),
486
+ project_vpc_id=pulumi.get(__response__, 'project_vpc_id'),
487
+ service_host=pulumi.get(__response__, 'service_host'),
488
+ service_integrations=pulumi.get(__response__, 'service_integrations'),
489
+ service_name=pulumi.get(__response__, 'service_name'),
490
+ service_password=pulumi.get(__response__, 'service_password'),
491
+ service_port=pulumi.get(__response__, 'service_port'),
492
+ service_type=pulumi.get(__response__, 'service_type'),
493
+ service_uri=pulumi.get(__response__, 'service_uri'),
494
+ service_username=pulumi.get(__response__, 'service_username'),
495
+ state=pulumi.get(__response__, 'state'),
496
+ static_ips=pulumi.get(__response__, 'static_ips'),
497
+ tags=pulumi.get(__response__, 'tags'),
498
+ tech_emails=pulumi.get(__response__, 'tech_emails'),
499
+ 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__ = [
@@ -180,9 +185,6 @@ def get_flink_application(name: Optional[str] = None,
180
185
  service_name=pulumi.get(__ret__, 'service_name'),
181
186
  updated_at=pulumi.get(__ret__, 'updated_at'),
182
187
  updated_by=pulumi.get(__ret__, 'updated_by'))
183
-
184
-
185
- @_utilities.lift_output_func(get_flink_application)
186
188
  def get_flink_application_output(name: Optional[pulumi.Input[str]] = None,
187
189
  project: Optional[pulumi.Input[str]] = None,
188
190
  service_name: Optional[pulumi.Input[str]] = None,
@@ -206,4 +208,19 @@ def get_flink_application_output(name: Optional[pulumi.Input[str]] = None,
206
208
  :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.
207
209
  :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.
208
210
  """
209
- ...
211
+ __args__ = dict()
212
+ __args__['name'] = name
213
+ __args__['project'] = project
214
+ __args__['serviceName'] = service_name
215
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
216
+ __ret__ = pulumi.runtime.invoke_output('aiven:index/getFlinkApplication:getFlinkApplication', __args__, opts=opts, typ=GetFlinkApplicationResult)
217
+ return __ret__.apply(lambda __response__: GetFlinkApplicationResult(
218
+ application_id=pulumi.get(__response__, 'application_id'),
219
+ created_at=pulumi.get(__response__, 'created_at'),
220
+ created_by=pulumi.get(__response__, 'created_by'),
221
+ id=pulumi.get(__response__, 'id'),
222
+ name=pulumi.get(__response__, 'name'),
223
+ project=pulumi.get(__response__, 'project'),
224
+ service_name=pulumi.get(__response__, 'service_name'),
225
+ updated_at=pulumi.get(__response__, 'updated_at'),
226
+ updated_by=pulumi.get(__response__, 'updated_by')))
@@ -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
 
@@ -237,9 +242,6 @@ def get_flink_application_version(application_id: Optional[str] = None,
237
242
  sources=pulumi.get(__ret__, 'sources'),
238
243
  statement=pulumi.get(__ret__, 'statement'),
239
244
  version=pulumi.get(__ret__, 'version'))
240
-
241
-
242
- @_utilities.lift_output_func(get_flink_application_version)
243
245
  def get_flink_application_version_output(application_id: Optional[pulumi.Input[str]] = None,
244
246
  application_version_id: Optional[pulumi.Input[str]] = None,
245
247
  project: Optional[pulumi.Input[str]] = None,
@@ -266,4 +268,24 @@ def get_flink_application_version_output(application_id: Optional[pulumi.Input[s
266
268
  :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.
267
269
  :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.
268
270
  """
269
- ...
271
+ __args__ = dict()
272
+ __args__['applicationId'] = application_id
273
+ __args__['applicationVersionId'] = application_version_id
274
+ __args__['project'] = project
275
+ __args__['serviceName'] = service_name
276
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
277
+ __ret__ = pulumi.runtime.invoke_output('aiven:index/getFlinkApplicationVersion:getFlinkApplicationVersion', __args__, opts=opts, typ=GetFlinkApplicationVersionResult)
278
+ return __ret__.apply(lambda __response__: GetFlinkApplicationVersionResult(
279
+ application_id=pulumi.get(__response__, 'application_id'),
280
+ application_version_id=pulumi.get(__response__, 'application_version_id'),
281
+ created_at=pulumi.get(__response__, 'created_at'),
282
+ created_by=pulumi.get(__response__, 'created_by'),
283
+ id=pulumi.get(__response__, 'id'),
284
+ project=pulumi.get(__response__, 'project'),
285
+ service_name=pulumi.get(__response__, 'service_name'),
286
+ sink=pulumi.get(__response__, 'sink'),
287
+ sinks=pulumi.get(__response__, 'sinks'),
288
+ source=pulumi.get(__response__, 'source'),
289
+ sources=pulumi.get(__response__, 'sources'),
290
+ statement=pulumi.get(__response__, 'statement'),
291
+ version=pulumi.get(__response__, 'version')))