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
pulumi_aiven/get_redis.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
 
@@ -115,7 +120,7 @@ class GetRedisResult:
115
120
  @pulumi.getter(name="additionalDiskSpace")
116
121
  def additional_disk_space(self) -> str:
117
122
  """
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.
123
+ 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
124
  """
120
125
  return pulumi.get(self, "additional_disk_space")
121
126
 
@@ -203,7 +208,7 @@ class GetRedisResult:
203
208
  @pulumi.getter
204
209
  def plan(self) -> str:
205
210
  """
206
- 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).
211
+ 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).
207
212
  """
208
213
  return pulumi.get(self, "plan")
209
214
 
@@ -211,7 +216,7 @@ class GetRedisResult:
211
216
  @pulumi.getter
212
217
  def project(self) -> str:
213
218
  """
214
- 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.
219
+ 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.
215
220
  """
216
221
  return pulumi.get(self, "project")
217
222
 
@@ -235,7 +240,7 @@ class GetRedisResult:
235
240
  @pulumi.getter(name="redisUserConfigs")
236
241
  def redis_user_configs(self) -> Sequence['outputs.GetRedisRedisUserConfigResult']:
237
242
  """
238
- Redis user configurable settings
243
+ Redis user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
239
244
  """
240
245
  return pulumi.get(self, "redis_user_configs")
241
246
 
@@ -331,7 +336,7 @@ class GetRedisResult:
331
336
  @pulumi.getter(name="techEmails")
332
337
  def tech_emails(self) -> Sequence['outputs.GetRedisTechEmailResult']:
333
338
  """
334
- Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service instability.
339
+ 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
340
  """
336
341
  return pulumi.get(self, "tech_emails")
337
342
 
@@ -393,12 +398,12 @@ def get_redis(project: Optional[str] = None,
393
398
  import pulumi
394
399
  import pulumi_aiven as aiven
395
400
 
396
- redis1 = aiven.get_redis(project=data["aiven_project"]["pr1"]["project"],
401
+ redis1 = aiven.get_redis(project=pr1["project"],
397
402
  service_name="my-redis1")
398
403
  ```
399
404
 
400
405
 
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.
406
+ :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
407
  :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
408
  """
404
409
  __args__ = dict()
@@ -437,12 +442,9 @@ def get_redis(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_redis)
443
445
  def get_redis_output(project: Optional[pulumi.Input[str]] = None,
444
446
  service_name: Optional[pulumi.Input[str]] = None,
445
- opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRedisResult]:
447
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetRedisResult]:
446
448
  """
447
449
  The Redis data source provides information about the existing Aiven Redis service.
448
450
 
@@ -452,12 +454,46 @@ def get_redis_output(project: Optional[pulumi.Input[str]] = None,
452
454
  import pulumi
453
455
  import pulumi_aiven as aiven
454
456
 
455
- redis1 = aiven.get_redis(project=data["aiven_project"]["pr1"]["project"],
457
+ redis1 = aiven.get_redis(project=pr1["project"],
456
458
  service_name="my-redis1")
457
459
  ```
458
460
 
459
461
 
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.
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.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
469
+ __ret__ = pulumi.runtime.invoke_output('aiven:index/getRedis:getRedis', __args__, opts=opts, typ=GetRedisResult)
470
+ return __ret__.apply(lambda __response__: GetRedisResult(
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
+ id=pulumi.get(__response__, 'id'),
480
+ maintenance_window_dow=pulumi.get(__response__, 'maintenance_window_dow'),
481
+ maintenance_window_time=pulumi.get(__response__, 'maintenance_window_time'),
482
+ plan=pulumi.get(__response__, 'plan'),
483
+ project=pulumi.get(__response__, 'project'),
484
+ project_vpc_id=pulumi.get(__response__, 'project_vpc_id'),
485
+ redis=pulumi.get(__response__, 'redis'),
486
+ redis_user_configs=pulumi.get(__response__, 'redis_user_configs'),
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__ = [
@@ -73,7 +78,7 @@ class GetRedisUserResult:
73
78
  @pulumi.getter
74
79
  def project(self) -> str:
75
80
  """
76
- 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.
81
+ 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.
77
82
  """
78
83
  return pulumi.get(self, "project")
79
84
 
@@ -81,7 +86,7 @@ class GetRedisUserResult:
81
86
  @pulumi.getter(name="redisAclCategories")
82
87
  def redis_acl_categories(self) -> Sequence[str]:
83
88
  """
84
- Defines command category rules. The field is required with`redis_acl_commands` and `redis_acl_keys`. This property cannot be changed, doing so forces recreation of the resource.
89
+ Defines command category rules. The field is required with`redis_acl_commands` and `redis_acl_keys`. Changing this property forces recreation of the resource.
85
90
  """
86
91
  return pulumi.get(self, "redis_acl_categories")
87
92
 
@@ -89,7 +94,7 @@ class GetRedisUserResult:
89
94
  @pulumi.getter(name="redisAclChannels")
90
95
  def redis_acl_channels(self) -> Sequence[str]:
91
96
  """
92
- Defines the permitted pub/sub channel patterns. This property cannot be changed, doing so forces recreation of the resource.
97
+ Defines the permitted pub/sub channel patterns. Changing this property forces recreation of the resource.
93
98
  """
94
99
  return pulumi.get(self, "redis_acl_channels")
95
100
 
@@ -97,7 +102,7 @@ class GetRedisUserResult:
97
102
  @pulumi.getter(name="redisAclCommands")
98
103
  def redis_acl_commands(self) -> Sequence[str]:
99
104
  """
100
- Defines rules for individual commands. The field is required with`redis_acl_categories` and `redis_acl_keys`. This property cannot be changed, doing so forces recreation of the resource.
105
+ Defines rules for individual commands. The field is required with`redis_acl_categories` and `redis_acl_keys`. Changing this property forces recreation of the resource.
101
106
  """
102
107
  return pulumi.get(self, "redis_acl_commands")
103
108
 
@@ -105,7 +110,7 @@ class GetRedisUserResult:
105
110
  @pulumi.getter(name="redisAclKeys")
106
111
  def redis_acl_keys(self) -> Sequence[str]:
107
112
  """
108
- Defines key access rules. The field is required with`redis_acl_categories` and `redis_acl_keys`. This property cannot be changed, doing so forces recreation of the resource.
113
+ Defines key access rules. The field is required with`redis_acl_categories` and `redis_acl_keys`. Changing this property forces recreation of the resource.
109
114
  """
110
115
  return pulumi.get(self, "redis_acl_keys")
111
116
 
@@ -113,7 +118,7 @@ class GetRedisUserResult:
113
118
  @pulumi.getter(name="serviceName")
114
119
  def service_name(self) -> str:
115
120
  """
116
- 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.
121
+ 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.
117
122
  """
118
123
  return pulumi.get(self, "service_name")
119
124
 
@@ -129,7 +134,7 @@ class GetRedisUserResult:
129
134
  @pulumi.getter
130
135
  def username(self) -> str:
131
136
  """
132
- The actual name of the Redis User. 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.
137
+ The actual name of the Redis User. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
133
138
  """
134
139
  return pulumi.get(self, "username")
135
140
 
@@ -165,15 +170,15 @@ def get_redis_user(project: Optional[str] = None,
165
170
  import pulumi
166
171
  import pulumi_aiven as aiven
167
172
 
168
- user = aiven.get_redis_user(project="my-project",
169
- service_name="my-service",
173
+ user = aiven.get_redis_user(service_name="my-service",
174
+ project="my-project",
170
175
  username="user1")
171
176
  ```
172
177
 
173
178
 
174
- :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.
175
- :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.
176
- :param str username: The actual name of the Redis User. 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.
179
+ :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.
180
+ :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
+ :param str username: The actual name of the Redis User. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
177
182
  """
178
183
  __args__ = dict()
179
184
  __args__['project'] = project
@@ -193,13 +198,10 @@ def get_redis_user(project: Optional[str] = None,
193
198
  service_name=pulumi.get(__ret__, 'service_name'),
194
199
  type=pulumi.get(__ret__, 'type'),
195
200
  username=pulumi.get(__ret__, 'username'))
196
-
197
-
198
- @_utilities.lift_output_func(get_redis_user)
199
201
  def get_redis_user_output(project: Optional[pulumi.Input[str]] = None,
200
202
  service_name: Optional[pulumi.Input[str]] = None,
201
203
  username: Optional[pulumi.Input[str]] = None,
202
- opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRedisUserResult]:
204
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetRedisUserResult]:
203
205
  """
204
206
  The Redis User data source provides information about the existing Aiven Redis User.
205
207
 
@@ -209,14 +211,30 @@ def get_redis_user_output(project: Optional[pulumi.Input[str]] = None,
209
211
  import pulumi
210
212
  import pulumi_aiven as aiven
211
213
 
212
- user = aiven.get_redis_user(project="my-project",
213
- service_name="my-service",
214
+ user = aiven.get_redis_user(service_name="my-service",
215
+ project="my-project",
214
216
  username="user1")
215
217
  ```
216
218
 
217
219
 
218
- :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.
219
- :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.
220
- :param str username: The actual name of the Redis User. 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.
220
+ :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.
221
+ :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.
222
+ :param str username: The actual name of the Redis User. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
221
223
  """
222
- ...
224
+ __args__ = dict()
225
+ __args__['project'] = project
226
+ __args__['serviceName'] = service_name
227
+ __args__['username'] = username
228
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
229
+ __ret__ = pulumi.runtime.invoke_output('aiven:index/getRedisUser:getRedisUser', __args__, opts=opts, typ=GetRedisUserResult)
230
+ return __ret__.apply(lambda __response__: GetRedisUserResult(
231
+ id=pulumi.get(__response__, 'id'),
232
+ password=pulumi.get(__response__, 'password'),
233
+ project=pulumi.get(__response__, 'project'),
234
+ redis_acl_categories=pulumi.get(__response__, 'redis_acl_categories'),
235
+ redis_acl_channels=pulumi.get(__response__, 'redis_acl_channels'),
236
+ redis_acl_commands=pulumi.get(__response__, 'redis_acl_commands'),
237
+ redis_acl_keys=pulumi.get(__response__, 'redis_acl_keys'),
238
+ service_name=pulumi.get(__response__, 'service_name'),
239
+ type=pulumi.get(__response__, 'type'),
240
+ 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
 
12
17
  __all__ = [
@@ -81,7 +86,7 @@ class GetServiceComponentResult:
81
86
  @pulumi.getter(name="kafkaAuthenticationMethod")
82
87
  def kafka_authentication_method(self) -> Optional[str]:
83
88
  """
84
- Kafka authentication method. This is a value specific to the 'kafka' service component
89
+ Kafka authentication method. This is a value specific to the 'kafka' service component. The possible values are `certificate` and `sasl`.
85
90
  """
86
91
  return pulumi.get(self, "kafka_authentication_method")
87
92
 
@@ -105,7 +110,7 @@ class GetServiceComponentResult:
105
110
  @pulumi.getter
106
111
  def route(self) -> Optional[str]:
107
112
  """
108
- Network access route
113
+ Network access route. The possible values are `dynamic`, `public`, `private` and `privatelink`.
109
114
  """
110
115
  return pulumi.get(self, "route")
111
116
 
@@ -129,7 +134,7 @@ class GetServiceComponentResult:
129
134
  @pulumi.getter
130
135
  def usage(self) -> Optional[str]:
131
136
  """
132
- DNS usage name
137
+ DNS usage name. The possible values are `disaster_recovery`, `primary` and `replica`.
133
138
  """
134
139
  return pulumi.get(self, "usage")
135
140
 
@@ -171,8 +176,8 @@ def get_service_component(component: Optional[str] = None,
171
176
  import pulumi
172
177
  import pulumi_aiven as aiven
173
178
 
174
- sc1 = aiven.get_service_component(project=aiven_kafka["project1"]["project"],
175
- service_name=aiven_kafka["service1"]["service_name"],
179
+ sc1 = aiven.get_service_component(project=project1["project"],
180
+ service_name=service1["serviceName"],
176
181
  component="kafka",
177
182
  route="dynamic",
178
183
  kafka_authentication_method="certificate")
@@ -180,12 +185,12 @@ def get_service_component(component: Optional[str] = None,
180
185
 
181
186
 
182
187
  :param str component: Service component name
183
- :param str kafka_authentication_method: Kafka authentication method. This is a value specific to the 'kafka' service component
188
+ :param str kafka_authentication_method: Kafka authentication method. This is a value specific to the 'kafka' service component. The possible values are `certificate` and `sasl`.
184
189
  :param str project: Project name
185
- :param str route: Network access route
190
+ :param str route: Network access route. The possible values are `dynamic`, `public`, `private` and `privatelink`.
186
191
  :param str service_name: Service name
187
192
  :param bool ssl: Whether the endpoint is encrypted or accepts plaintext. By default endpoints are always encrypted and this property is only included for service components that may disable encryption
188
- :param str usage: DNS usage name
193
+ :param str usage: DNS usage name. The possible values are `disaster_recovery`, `primary` and `replica`.
189
194
  """
190
195
  __args__ = dict()
191
196
  __args__['component'] = component
@@ -209,9 +214,6 @@ def get_service_component(component: Optional[str] = None,
209
214
  service_name=pulumi.get(__ret__, 'service_name'),
210
215
  ssl=pulumi.get(__ret__, 'ssl'),
211
216
  usage=pulumi.get(__ret__, 'usage'))
212
-
213
-
214
- @_utilities.lift_output_func(get_service_component)
215
217
  def get_service_component_output(component: Optional[pulumi.Input[str]] = None,
216
218
  kafka_authentication_method: Optional[pulumi.Input[Optional[str]]] = None,
217
219
  project: Optional[pulumi.Input[str]] = None,
@@ -219,7 +221,7 @@ def get_service_component_output(component: Optional[pulumi.Input[str]] = None,
219
221
  service_name: Optional[pulumi.Input[Optional[str]]] = None,
220
222
  ssl: Optional[pulumi.Input[Optional[bool]]] = None,
221
223
  usage: Optional[pulumi.Input[Optional[str]]] = None,
222
- opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetServiceComponentResult]:
224
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetServiceComponentResult]:
223
225
  """
224
226
  The Service Component data source provides information about the existing Aiven service Component.
225
227
 
@@ -231,8 +233,8 @@ def get_service_component_output(component: Optional[pulumi.Input[str]] = None,
231
233
  import pulumi
232
234
  import pulumi_aiven as aiven
233
235
 
234
- sc1 = aiven.get_service_component(project=aiven_kafka["project1"]["project"],
235
- service_name=aiven_kafka["service1"]["service_name"],
236
+ sc1 = aiven.get_service_component(project=project1["project"],
237
+ service_name=service1["serviceName"],
236
238
  component="kafka",
237
239
  route="dynamic",
238
240
  kafka_authentication_method="certificate")
@@ -240,11 +242,31 @@ def get_service_component_output(component: Optional[pulumi.Input[str]] = None,
240
242
 
241
243
 
242
244
  :param str component: Service component name
243
- :param str kafka_authentication_method: Kafka authentication method. This is a value specific to the 'kafka' service component
245
+ :param str kafka_authentication_method: Kafka authentication method. This is a value specific to the 'kafka' service component. The possible values are `certificate` and `sasl`.
244
246
  :param str project: Project name
245
- :param str route: Network access route
247
+ :param str route: Network access route. The possible values are `dynamic`, `public`, `private` and `privatelink`.
246
248
  :param str service_name: Service name
247
249
  :param bool ssl: Whether the endpoint is encrypted or accepts plaintext. By default endpoints are always encrypted and this property is only included for service components that may disable encryption
248
- :param str usage: DNS usage name
250
+ :param str usage: DNS usage name. The possible values are `disaster_recovery`, `primary` and `replica`.
249
251
  """
250
- ...
252
+ __args__ = dict()
253
+ __args__['component'] = component
254
+ __args__['kafkaAuthenticationMethod'] = kafka_authentication_method
255
+ __args__['project'] = project
256
+ __args__['route'] = route
257
+ __args__['serviceName'] = service_name
258
+ __args__['ssl'] = ssl
259
+ __args__['usage'] = usage
260
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
261
+ __ret__ = pulumi.runtime.invoke_output('aiven:index/getServiceComponent:getServiceComponent', __args__, opts=opts, typ=GetServiceComponentResult)
262
+ return __ret__.apply(lambda __response__: GetServiceComponentResult(
263
+ component=pulumi.get(__response__, 'component'),
264
+ host=pulumi.get(__response__, 'host'),
265
+ id=pulumi.get(__response__, 'id'),
266
+ kafka_authentication_method=pulumi.get(__response__, 'kafka_authentication_method'),
267
+ port=pulumi.get(__response__, 'port'),
268
+ project=pulumi.get(__response__, 'project'),
269
+ route=pulumi.get(__response__, 'route'),
270
+ service_name=pulumi.get(__response__, 'service_name'),
271
+ ssl=pulumi.get(__response__, 'ssl'),
272
+ usage=pulumi.get(__response__, 'usage')))