pulumi-aiven 6.13.0a1710156545__py3-none-any.whl → 6.31.0a1736831339__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 (168) hide show
  1. pulumi_aiven/__init__.py +127 -0
  2. pulumi_aiven/_inputs.py +32615 -13711
  3. pulumi_aiven/_utilities.py +41 -5
  4. pulumi_aiven/account.py +32 -45
  5. pulumi_aiven/account_authentication.py +24 -9
  6. pulumi_aiven/account_team.py +35 -14
  7. pulumi_aiven/account_team_member.py +48 -39
  8. pulumi_aiven/account_team_project.py +40 -27
  9. pulumi_aiven/alloydbomni.py +1335 -0
  10. pulumi_aiven/alloydbomni_database.py +347 -0
  11. pulumi_aiven/alloydbomni_user.py +433 -0
  12. pulumi_aiven/aws_privatelink.py +44 -43
  13. pulumi_aiven/aws_vpc_peering_connection.py +72 -61
  14. pulumi_aiven/azure_privatelink.py +54 -53
  15. pulumi_aiven/azure_privatelink_connection_approval.py +136 -33
  16. pulumi_aiven/azure_vpc_peering_connection.py +86 -77
  17. pulumi_aiven/billing_group.py +33 -34
  18. pulumi_aiven/cassandra.py +145 -126
  19. pulumi_aiven/cassandra_user.py +59 -58
  20. pulumi_aiven/clickhouse.py +133 -114
  21. pulumi_aiven/clickhouse_database.py +58 -62
  22. pulumi_aiven/clickhouse_grant.py +135 -134
  23. pulumi_aiven/clickhouse_role.py +36 -49
  24. pulumi_aiven/clickhouse_user.py +50 -49
  25. pulumi_aiven/config/__init__.pyi +5 -0
  26. pulumi_aiven/config/vars.py +5 -0
  27. pulumi_aiven/connection_pool.py +67 -66
  28. pulumi_aiven/dragonfly.py +1256 -0
  29. pulumi_aiven/flink.py +104 -104
  30. pulumi_aiven/flink_application.py +58 -55
  31. pulumi_aiven/flink_application_deployment.py +178 -73
  32. pulumi_aiven/flink_application_version.py +179 -96
  33. pulumi_aiven/gcp_privatelink.py +69 -42
  34. pulumi_aiven/gcp_privatelink_connection_approval.py +78 -49
  35. pulumi_aiven/gcp_vpc_peering_connection.py +49 -48
  36. pulumi_aiven/get_account.py +20 -9
  37. pulumi_aiven/get_account_authentication.py +31 -5
  38. pulumi_aiven/get_account_team.py +18 -5
  39. pulumi_aiven/get_account_team_member.py +29 -14
  40. pulumi_aiven/get_account_team_project.py +19 -6
  41. pulumi_aiven/get_alloydbomni.py +499 -0
  42. pulumi_aiven/get_alloydbomni_database.py +168 -0
  43. pulumi_aiven/get_alloydbomni_user.py +210 -0
  44. pulumi_aiven/get_aws_privatelink.py +33 -24
  45. pulumi_aiven/get_aws_vpc_peering_connection.py +56 -33
  46. pulumi_aiven/get_azure_privatelink.py +37 -26
  47. pulumi_aiven/get_azure_vpc_peering_connection.py +77 -28
  48. pulumi_aiven/get_billing_group.py +31 -8
  49. pulumi_aiven/get_cassanda.py +55 -23
  50. pulumi_aiven/get_cassandra.py +55 -23
  51. pulumi_aiven/get_cassandra_user.py +42 -30
  52. pulumi_aiven/get_clickhouse.py +55 -23
  53. pulumi_aiven/get_clickhouse_database.py +35 -26
  54. pulumi_aiven/get_clickhouse_user.py +40 -29
  55. pulumi_aiven/get_connection_pool.py +43 -30
  56. pulumi_aiven/get_dragonfly.py +499 -0
  57. pulumi_aiven/get_external_identity.py +160 -0
  58. pulumi_aiven/get_flink.py +55 -23
  59. pulumi_aiven/get_flink_application.py +44 -31
  60. pulumi_aiven/get_flink_application_version.py +55 -37
  61. pulumi_aiven/get_gcp_privatelink.py +63 -7
  62. pulumi_aiven/get_gcp_vpc_peering_connection.py +39 -28
  63. pulumi_aiven/get_grafana.py +55 -23
  64. pulumi_aiven/get_influx_db.py +41 -5
  65. pulumi_aiven/get_influxdb_database.py +18 -5
  66. pulumi_aiven/get_influxdb_user.py +21 -5
  67. pulumi_aiven/get_kafka.py +59 -25
  68. pulumi_aiven/get_kafka_acl.py +50 -37
  69. pulumi_aiven/get_kafka_connect.py +54 -36
  70. pulumi_aiven/get_kafka_connector.py +44 -28
  71. pulumi_aiven/get_kafka_mirror_maker.py +50 -32
  72. pulumi_aiven/get_kafka_schema.py +35 -23
  73. pulumi_aiven/get_kafka_schema_configuration.py +32 -21
  74. pulumi_aiven/get_kafka_schema_registry_acl.py +37 -20
  75. pulumi_aiven/get_kafka_topic.py +70 -29
  76. pulumi_aiven/get_kafka_user.py +42 -30
  77. pulumi_aiven/get_m3_aggregator.py +51 -19
  78. pulumi_aiven/get_m3_db.py +55 -23
  79. pulumi_aiven/get_m3db_user.py +38 -28
  80. pulumi_aiven/get_mirror_maker_replication_flow.py +86 -25
  81. pulumi_aiven/get_my_sql.py +50 -18
  82. pulumi_aiven/get_mysql_database.py +31 -22
  83. pulumi_aiven/get_mysql_user.py +36 -23
  84. pulumi_aiven/get_open_search.py +50 -18
  85. pulumi_aiven/get_open_search_acl_config.py +27 -19
  86. pulumi_aiven/get_open_search_acl_rule.py +37 -25
  87. pulumi_aiven/get_opensearch_security_plugin_config.py +29 -19
  88. pulumi_aiven/get_opensearch_user.py +32 -22
  89. pulumi_aiven/get_organization.py +25 -17
  90. pulumi_aiven/get_organization_application_user.py +176 -0
  91. pulumi_aiven/get_organization_user.py +18 -5
  92. pulumi_aiven/get_organization_user_group.py +48 -14
  93. pulumi_aiven/get_organization_user_list.py +121 -0
  94. pulumi_aiven/get_organizational_unit.py +26 -14
  95. pulumi_aiven/get_pg.py +55 -23
  96. pulumi_aiven/get_pg_database.py +39 -28
  97. pulumi_aiven/get_pg_user.py +44 -31
  98. pulumi_aiven/get_project.py +43 -26
  99. pulumi_aiven/get_project_user.py +27 -19
  100. pulumi_aiven/get_project_vpc.py +31 -23
  101. pulumi_aiven/get_redis.py +50 -18
  102. pulumi_aiven/get_redis_user.py +40 -26
  103. pulumi_aiven/get_service_component.py +40 -22
  104. pulumi_aiven/get_service_integration.py +163 -53
  105. pulumi_aiven/get_service_integration_endpoint.py +128 -37
  106. pulumi_aiven/get_thanos.py +499 -0
  107. pulumi_aiven/get_transit_gateway_vpc_attachment.py +35 -22
  108. pulumi_aiven/get_valkey.py +499 -0
  109. pulumi_aiven/get_valkey_user.py +218 -0
  110. pulumi_aiven/grafana.py +188 -322
  111. pulumi_aiven/influx_db.py +127 -90
  112. pulumi_aiven/influxdb_database.py +40 -55
  113. pulumi_aiven/influxdb_user.py +47 -42
  114. pulumi_aiven/kafka.py +157 -144
  115. pulumi_aiven/kafka_acl.py +64 -57
  116. pulumi_aiven/kafka_connect.py +201 -332
  117. pulumi_aiven/kafka_connector.py +67 -60
  118. pulumi_aiven/kafka_mirror_maker.py +137 -320
  119. pulumi_aiven/kafka_native_acl.py +588 -0
  120. pulumi_aiven/kafka_schema.py +63 -58
  121. pulumi_aiven/kafka_schema_configuration.py +25 -24
  122. pulumi_aiven/kafka_schema_registry_acl.py +80 -35
  123. pulumi_aiven/kafka_topic.py +184 -65
  124. pulumi_aiven/kafka_user.py +59 -58
  125. pulumi_aiven/m3_aggregator.py +174 -310
  126. pulumi_aiven/m3_db.py +190 -326
  127. pulumi_aiven/m3db_user.py +51 -50
  128. pulumi_aiven/mirror_maker_replication_flow.py +215 -55
  129. pulumi_aiven/my_sql.py +188 -324
  130. pulumi_aiven/mysql_database.py +32 -51
  131. pulumi_aiven/mysql_user.py +37 -36
  132. pulumi_aiven/open_search.py +126 -107
  133. pulumi_aiven/open_search_acl_config.py +33 -36
  134. pulumi_aiven/open_search_acl_rule.py +55 -54
  135. pulumi_aiven/opensearch_security_plugin_config.py +69 -16
  136. pulumi_aiven/opensearch_user.py +30 -29
  137. pulumi_aiven/organization.py +18 -17
  138. pulumi_aiven/organization_application_user.py +345 -0
  139. pulumi_aiven/organization_application_user_token.py +711 -0
  140. pulumi_aiven/organization_group_project.py +349 -0
  141. pulumi_aiven/organization_permission.py +421 -0
  142. pulumi_aiven/organization_user.py +25 -46
  143. pulumi_aiven/organization_user_group.py +64 -23
  144. pulumi_aiven/organization_user_group_member.py +359 -0
  145. pulumi_aiven/organizational_unit.py +41 -36
  146. pulumi_aiven/outputs.py +38355 -21458
  147. pulumi_aiven/pg.py +92 -88
  148. pulumi_aiven/pg_database.py +52 -71
  149. pulumi_aiven/pg_user.py +80 -65
  150. pulumi_aiven/project.py +111 -102
  151. pulumi_aiven/project_user.py +44 -35
  152. pulumi_aiven/project_vpc.py +58 -29
  153. pulumi_aiven/provider.py +5 -0
  154. pulumi_aiven/pulumi-plugin.json +2 -1
  155. pulumi_aiven/redis.py +161 -297
  156. pulumi_aiven/redis_user.py +58 -57
  157. pulumi_aiven/service_integration.py +511 -165
  158. pulumi_aiven/service_integration_endpoint.py +466 -158
  159. pulumi_aiven/static_ip.py +21 -16
  160. pulumi_aiven/thanos.py +1262 -0
  161. pulumi_aiven/transit_gateway_vpc_attachment.py +44 -58
  162. pulumi_aiven/valkey.py +1256 -0
  163. pulumi_aiven/valkey_user.py +606 -0
  164. {pulumi_aiven-6.13.0a1710156545.dist-info → pulumi_aiven-6.31.0a1736831339.dist-info}/METADATA +7 -6
  165. pulumi_aiven-6.31.0a1736831339.dist-info/RECORD +169 -0
  166. {pulumi_aiven-6.13.0a1710156545.dist-info → pulumi_aiven-6.31.0a1736831339.dist-info}/WHEEL +1 -1
  167. pulumi_aiven-6.13.0a1710156545.dist-info/RECORD +0 -146
  168. {pulumi_aiven-6.13.0a1710156545.dist-info → pulumi_aiven-6.31.0a1736831339.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
  from . import outputs
12
17
 
@@ -115,7 +120,7 @@ class GetOpenSearchResult:
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 GetOpenSearchResult:
203
208
  @pulumi.getter(name="opensearchUserConfigs")
204
209
  def opensearch_user_configs(self) -> Sequence['outputs.GetOpenSearchOpensearchUserConfigResult']:
205
210
  """
206
- Opensearch user configurable settings
211
+ Opensearch user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
207
212
  """
208
213
  return pulumi.get(self, "opensearch_user_configs")
209
214
 
@@ -219,7 +224,7 @@ class GetOpenSearchResult:
219
224
  @pulumi.getter
220
225
  def plan(self) -> str:
221
226
  """
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).
227
+ 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
228
  """
224
229
  return pulumi.get(self, "plan")
225
230
 
@@ -227,7 +232,7 @@ class GetOpenSearchResult:
227
232
  @pulumi.getter
228
233
  def project(self) -> str:
229
234
  """
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.
235
+ 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
236
  """
232
237
  return pulumi.get(self, "project")
233
238
 
@@ -331,7 +336,7 @@ class GetOpenSearchResult:
331
336
  @pulumi.getter(name="techEmails")
332
337
  def tech_emails(self) -> Sequence['outputs.GetOpenSearchTechEmailResult']:
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
 
@@ -389,18 +394,16 @@ def get_open_search(project: Optional[str] = None,
389
394
 
390
395
  ## Example Usage
391
396
 
392
- <!--Start PulumiCodeChooser -->
393
397
  ```python
394
398
  import pulumi
395
399
  import pulumi_aiven as aiven
396
400
 
397
- os1 = aiven.get_open_search(project=data["aiven_project"]["pr1"]["project"],
401
+ os1 = aiven.get_open_search(project=pr1["project"],
398
402
  service_name="my-os1")
399
403
  ```
400
- <!--End PulumiCodeChooser -->
401
404
 
402
405
 
403
- :param str project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
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.
404
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.
405
408
  """
406
409
  __args__ = dict()
@@ -439,29 +442,58 @@ def get_open_search(project: Optional[str] = None,
439
442
  tags=pulumi.get(__ret__, 'tags'),
440
443
  tech_emails=pulumi.get(__ret__, 'tech_emails'),
441
444
  termination_protection=pulumi.get(__ret__, 'termination_protection'))
442
-
443
-
444
- @_utilities.lift_output_func(get_open_search)
445
445
  def get_open_search_output(project: Optional[pulumi.Input[str]] = None,
446
446
  service_name: Optional[pulumi.Input[str]] = None,
447
- opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetOpenSearchResult]:
447
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetOpenSearchResult]:
448
448
  """
449
449
  The OpenSearch data source provides information about the existing Aiven OpenSearch service.
450
450
 
451
451
  ## Example Usage
452
452
 
453
- <!--Start PulumiCodeChooser -->
454
453
  ```python
455
454
  import pulumi
456
455
  import pulumi_aiven as aiven
457
456
 
458
- os1 = aiven.get_open_search(project=data["aiven_project"]["pr1"]["project"],
457
+ os1 = aiven.get_open_search(project=pr1["project"],
459
458
  service_name="my-os1")
460
459
  ```
461
- <!--End PulumiCodeChooser -->
462
460
 
463
461
 
464
- :param str project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
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.
465
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.
466
464
  """
467
- ...
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/getOpenSearch:getOpenSearch', __args__, opts=opts, typ=GetOpenSearchResult)
470
+ return __ret__.apply(lambda __response__: GetOpenSearchResult(
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
+ opensearch_user_configs=pulumi.get(__response__, 'opensearch_user_configs'),
483
+ opensearches=pulumi.get(__response__, 'opensearches'),
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__ = [
@@ -66,7 +71,7 @@ class GetOpenSearchAclConfigResult:
66
71
  @pulumi.getter
67
72
  def project(self) -> str:
68
73
  """
69
- 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.
74
+ 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.
70
75
  """
71
76
  return pulumi.get(self, "project")
72
77
 
@@ -74,7 +79,7 @@ class GetOpenSearchAclConfigResult:
74
79
  @pulumi.getter(name="serviceName")
75
80
  def service_name(self) -> str:
76
81
  """
77
- 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.
82
+ 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.
78
83
  """
79
84
  return pulumi.get(self, "service_name")
80
85
 
@@ -100,19 +105,17 @@ def get_open_search_acl_config(project: Optional[str] = None,
100
105
 
101
106
  ## Example Usage
102
107
 
103
- <!--Start PulumiCodeChooser -->
104
108
  ```python
105
109
  import pulumi
106
110
  import pulumi_aiven as aiven
107
111
 
108
- os_acl_config = aiven.get_open_search_acl_config(project=aiven_project["os-project"]["project"],
109
- service_name=aiven_opensearch["os"]["service_name"])
112
+ os_acl_config = aiven.get_open_search_acl_config(project=os_project["project"],
113
+ service_name=os["serviceName"])
110
114
  ```
111
- <!--End PulumiCodeChooser -->
112
115
 
113
116
 
114
- :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.
115
- :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.
117
+ :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.
118
+ :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.
116
119
  """
117
120
  __args__ = dict()
118
121
  __args__['project'] = project
@@ -126,29 +129,34 @@ def get_open_search_acl_config(project: Optional[str] = None,
126
129
  id=pulumi.get(__ret__, 'id'),
127
130
  project=pulumi.get(__ret__, 'project'),
128
131
  service_name=pulumi.get(__ret__, 'service_name'))
129
-
130
-
131
- @_utilities.lift_output_func(get_open_search_acl_config)
132
132
  def get_open_search_acl_config_output(project: Optional[pulumi.Input[str]] = None,
133
133
  service_name: Optional[pulumi.Input[str]] = None,
134
- opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetOpenSearchAclConfigResult]:
134
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetOpenSearchAclConfigResult]:
135
135
  """
136
136
  The OpenSearch ACL Config data source provides information about an existing Aiven OpenSearch ACL Config.
137
137
 
138
138
  ## Example Usage
139
139
 
140
- <!--Start PulumiCodeChooser -->
141
140
  ```python
142
141
  import pulumi
143
142
  import pulumi_aiven as aiven
144
143
 
145
- os_acl_config = aiven.get_open_search_acl_config(project=aiven_project["os-project"]["project"],
146
- service_name=aiven_opensearch["os"]["service_name"])
144
+ os_acl_config = aiven.get_open_search_acl_config(project=os_project["project"],
145
+ service_name=os["serviceName"])
147
146
  ```
148
- <!--End PulumiCodeChooser -->
149
147
 
150
148
 
151
- :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.
152
- :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.
149
+ :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.
150
+ :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
151
  """
154
- ...
152
+ __args__ = dict()
153
+ __args__['project'] = project
154
+ __args__['serviceName'] = service_name
155
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
156
+ __ret__ = pulumi.runtime.invoke_output('aiven:index/getOpenSearchAclConfig:getOpenSearchAclConfig', __args__, opts=opts, typ=GetOpenSearchAclConfigResult)
157
+ return __ret__.apply(lambda __response__: GetOpenSearchAclConfigResult(
158
+ enabled=pulumi.get(__response__, 'enabled'),
159
+ extended_acl=pulumi.get(__response__, 'extended_acl'),
160
+ id=pulumi.get(__response__, 'id'),
161
+ project=pulumi.get(__response__, 'project'),
162
+ service_name=pulumi.get(__response__, 'service_name')))
@@ -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__ = [
@@ -53,7 +58,7 @@ class GetOpenSearchAclRuleResult:
53
58
  @pulumi.getter
54
59
  def index(self) -> str:
55
60
  """
56
- The index pattern for this ACL entry. Maximum length: `249`. This property cannot be changed, doing so forces recreation of the resource.
61
+ The index pattern for this ACL entry. Maximum length: `249`. Changing this property forces recreation of the resource.
57
62
  """
58
63
  return pulumi.get(self, "index")
59
64
 
@@ -69,7 +74,7 @@ class GetOpenSearchAclRuleResult:
69
74
  @pulumi.getter
70
75
  def project(self) -> str:
71
76
  """
72
- 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.
77
+ 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.
73
78
  """
74
79
  return pulumi.get(self, "project")
75
80
 
@@ -77,7 +82,7 @@ class GetOpenSearchAclRuleResult:
77
82
  @pulumi.getter(name="serviceName")
78
83
  def service_name(self) -> str:
79
84
  """
80
- 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.
85
+ 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.
81
86
  """
82
87
  return pulumi.get(self, "service_name")
83
88
 
@@ -85,7 +90,7 @@ class GetOpenSearchAclRuleResult:
85
90
  @pulumi.getter
86
91
  def username(self) -> str:
87
92
  """
88
- The username for the ACL entry. Maximum length: `40`. 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.
93
+ The username for the ACL entry. Maximum length: `40`. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
89
94
  """
90
95
  return pulumi.get(self, "username")
91
96
 
@@ -115,24 +120,22 @@ def get_open_search_acl_rule(index: Optional[str] = None,
115
120
 
116
121
  ## Example Usage
117
122
 
118
- <!--Start PulumiCodeChooser -->
119
123
  ```python
120
124
  import pulumi
121
125
  import pulumi_aiven as aiven
122
126
 
123
- os_acl_rule = aiven.get_open_search_acl_rule(project=aiven_opensearch_acl_config["os_acls_config"]["project"],
124
- service_name=aiven_opensearch_acl_config["os_acls_config"]["service_name"],
127
+ os_acl_rule = aiven.get_open_search_acl_rule(project=os_acls_config["project"],
128
+ service_name=os_acls_config["serviceName"],
125
129
  username="<USERNAME>",
126
130
  index="<INDEX>")
127
131
  ```
128
- <!--End PulumiCodeChooser -->
129
132
 
130
133
 
131
- :param str index: The index pattern for this ACL entry. Maximum length: `249`. This property cannot be changed, doing so forces recreation of the resource.
134
+ :param str index: The index pattern for this ACL entry. Maximum length: `249`. Changing this property forces recreation of the resource.
132
135
  :param str permission: The permissions for this ACL entry. The possible values are `deny`, `admin`, `read`, `readwrite` and `write`.
133
- :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.
134
- :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.
135
- :param str username: The username for the ACL entry. Maximum length: `40`. 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.
136
+ :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.
137
+ :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.
138
+ :param str username: The username for the ACL entry. Maximum length: `40`. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
136
139
  """
137
140
  __args__ = dict()
138
141
  __args__['index'] = index
@@ -150,37 +153,46 @@ def get_open_search_acl_rule(index: Optional[str] = None,
150
153
  project=pulumi.get(__ret__, 'project'),
151
154
  service_name=pulumi.get(__ret__, 'service_name'),
152
155
  username=pulumi.get(__ret__, 'username'))
153
-
154
-
155
- @_utilities.lift_output_func(get_open_search_acl_rule)
156
156
  def get_open_search_acl_rule_output(index: Optional[pulumi.Input[str]] = None,
157
157
  permission: Optional[pulumi.Input[str]] = None,
158
158
  project: Optional[pulumi.Input[str]] = None,
159
159
  service_name: Optional[pulumi.Input[str]] = None,
160
160
  username: Optional[pulumi.Input[str]] = None,
161
- opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetOpenSearchAclRuleResult]:
161
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetOpenSearchAclRuleResult]:
162
162
  """
163
163
  The OpenSearch ACL Rule data source provides information about an existing Aiven OpenSearch ACL Rule.
164
164
 
165
165
  ## Example Usage
166
166
 
167
- <!--Start PulumiCodeChooser -->
168
167
  ```python
169
168
  import pulumi
170
169
  import pulumi_aiven as aiven
171
170
 
172
- os_acl_rule = aiven.get_open_search_acl_rule(project=aiven_opensearch_acl_config["os_acls_config"]["project"],
173
- service_name=aiven_opensearch_acl_config["os_acls_config"]["service_name"],
171
+ os_acl_rule = aiven.get_open_search_acl_rule(project=os_acls_config["project"],
172
+ service_name=os_acls_config["serviceName"],
174
173
  username="<USERNAME>",
175
174
  index="<INDEX>")
176
175
  ```
177
- <!--End PulumiCodeChooser -->
178
176
 
179
177
 
180
- :param str index: The index pattern for this ACL entry. Maximum length: `249`. This property cannot be changed, doing so forces recreation of the resource.
178
+ :param str index: The index pattern for this ACL entry. Maximum length: `249`. Changing this property forces recreation of the resource.
181
179
  :param str permission: The permissions for this ACL entry. The possible values are `deny`, `admin`, `read`, `readwrite` and `write`.
182
- :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.
183
- :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.
184
- :param str username: The username for the ACL entry. Maximum length: `40`. 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.
180
+ :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.
181
+ :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.
182
+ :param str username: The username for the ACL entry. Maximum length: `40`. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
185
183
  """
186
- ...
184
+ __args__ = dict()
185
+ __args__['index'] = index
186
+ __args__['permission'] = permission
187
+ __args__['project'] = project
188
+ __args__['serviceName'] = service_name
189
+ __args__['username'] = username
190
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
191
+ __ret__ = pulumi.runtime.invoke_output('aiven:index/getOpenSearchAclRule:getOpenSearchAclRule', __args__, opts=opts, typ=GetOpenSearchAclRuleResult)
192
+ return __ret__.apply(lambda __response__: GetOpenSearchAclRuleResult(
193
+ id=pulumi.get(__response__, 'id'),
194
+ index=pulumi.get(__response__, 'index'),
195
+ permission=pulumi.get(__response__, 'permission'),
196
+ project=pulumi.get(__response__, 'project'),
197
+ service_name=pulumi.get(__response__, 'service_name'),
198
+ 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__ = [
@@ -88,7 +93,7 @@ class GetOpensearchSecurityPluginConfigResult:
88
93
  @pulumi.getter
89
94
  def project(self) -> str:
90
95
  """
91
- 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.
96
+ 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.
92
97
  """
93
98
  return pulumi.get(self, "project")
94
99
 
@@ -96,7 +101,7 @@ class GetOpensearchSecurityPluginConfigResult:
96
101
  @pulumi.getter(name="serviceName")
97
102
  def service_name(self) -> str:
98
103
  """
99
- 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.
104
+ 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.
100
105
  """
101
106
  return pulumi.get(self, "service_name")
102
107
 
@@ -124,19 +129,17 @@ def get_opensearch_security_plugin_config(project: Optional[str] = None,
124
129
 
125
130
  ## Example Usage
126
131
 
127
- <!--Start PulumiCodeChooser -->
128
132
  ```python
129
133
  import pulumi
130
134
  import pulumi_aiven as aiven
131
135
 
132
- os_sec_config = aiven.get_opensearch_security_plugin_config(project=aiven_project["os-project"]["project"],
133
- service_name=aiven_opensearch["os"]["service_name"])
136
+ os_sec_config = aiven.get_opensearch_security_plugin_config(project=os_project["project"],
137
+ service_name=os["serviceName"])
134
138
  ```
135
- <!--End PulumiCodeChooser -->
136
139
 
137
140
 
138
- :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.
139
- :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.
141
+ :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.
142
+ :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.
140
143
  """
141
144
  __args__ = dict()
142
145
  __args__['project'] = project
@@ -152,29 +155,36 @@ def get_opensearch_security_plugin_config(project: Optional[str] = None,
152
155
  id=pulumi.get(__ret__, 'id'),
153
156
  project=pulumi.get(__ret__, 'project'),
154
157
  service_name=pulumi.get(__ret__, 'service_name'))
155
-
156
-
157
- @_utilities.lift_output_func(get_opensearch_security_plugin_config)
158
158
  def get_opensearch_security_plugin_config_output(project: Optional[pulumi.Input[str]] = None,
159
159
  service_name: Optional[pulumi.Input[str]] = None,
160
- opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetOpensearchSecurityPluginConfigResult]:
160
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetOpensearchSecurityPluginConfigResult]:
161
161
  """
162
162
  The OpenSearch Security Plugin Config data source provides information about an existing Aiven OpenSearch Security Plugin Config.
163
163
 
164
164
  ## Example Usage
165
165
 
166
- <!--Start PulumiCodeChooser -->
167
166
  ```python
168
167
  import pulumi
169
168
  import pulumi_aiven as aiven
170
169
 
171
- os_sec_config = aiven.get_opensearch_security_plugin_config(project=aiven_project["os-project"]["project"],
172
- service_name=aiven_opensearch["os"]["service_name"])
170
+ os_sec_config = aiven.get_opensearch_security_plugin_config(project=os_project["project"],
171
+ service_name=os["serviceName"])
173
172
  ```
174
- <!--End PulumiCodeChooser -->
175
173
 
176
174
 
177
- :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.
178
- :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.
175
+ :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.
176
+ :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.
179
177
  """
180
- ...
178
+ __args__ = dict()
179
+ __args__['project'] = project
180
+ __args__['serviceName'] = service_name
181
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
182
+ __ret__ = pulumi.runtime.invoke_output('aiven:index/getOpensearchSecurityPluginConfig:getOpensearchSecurityPluginConfig', __args__, opts=opts, typ=GetOpensearchSecurityPluginConfigResult)
183
+ return __ret__.apply(lambda __response__: GetOpensearchSecurityPluginConfigResult(
184
+ admin_enabled=pulumi.get(__response__, 'admin_enabled'),
185
+ admin_password=pulumi.get(__response__, 'admin_password'),
186
+ available=pulumi.get(__response__, 'available'),
187
+ enabled=pulumi.get(__response__, 'enabled'),
188
+ id=pulumi.get(__response__, 'id'),
189
+ project=pulumi.get(__response__, 'project'),
190
+ service_name=pulumi.get(__response__, 'service_name')))
@@ -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__ = [
@@ -61,7 +66,7 @@ class GetOpensearchUserResult:
61
66
  @pulumi.getter
62
67
  def project(self) -> str:
63
68
  """
64
- 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.
69
+ 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.
65
70
  """
66
71
  return pulumi.get(self, "project")
67
72
 
@@ -69,7 +74,7 @@ class GetOpensearchUserResult:
69
74
  @pulumi.getter(name="serviceName")
70
75
  def service_name(self) -> str:
71
76
  """
72
- 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.
77
+ 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.
73
78
  """
74
79
  return pulumi.get(self, "service_name")
75
80
 
@@ -85,7 +90,7 @@ class GetOpensearchUserResult:
85
90
  @pulumi.getter
86
91
  def username(self) -> str:
87
92
  """
88
- The actual name of the OpenSearch 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.
93
+ The actual name of the OpenSearch User. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
89
94
  """
90
95
  return pulumi.get(self, "username")
91
96
 
@@ -113,21 +118,19 @@ def get_opensearch_user(project: Optional[str] = None,
113
118
 
114
119
  ## Example Usage
115
120
 
116
- <!--Start PulumiCodeChooser -->
117
121
  ```python
118
122
  import pulumi
119
123
  import pulumi_aiven as aiven
120
124
 
121
- user = aiven.get_opensearch_user(project="my-project",
122
- service_name="my-service",
125
+ user = aiven.get_opensearch_user(service_name="my-service",
126
+ project="my-project",
123
127
  username="user1")
124
128
  ```
125
- <!--End PulumiCodeChooser -->
126
129
 
127
130
 
128
- :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.
129
- :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.
130
- :param str username: The actual name of the OpenSearch 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.
131
+ :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.
132
+ :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.
133
+ :param str username: The actual name of the OpenSearch User. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
131
134
  """
132
135
  __args__ = dict()
133
136
  __args__['project'] = project
@@ -143,32 +146,39 @@ def get_opensearch_user(project: Optional[str] = None,
143
146
  service_name=pulumi.get(__ret__, 'service_name'),
144
147
  type=pulumi.get(__ret__, 'type'),
145
148
  username=pulumi.get(__ret__, 'username'))
146
-
147
-
148
- @_utilities.lift_output_func(get_opensearch_user)
149
149
  def get_opensearch_user_output(project: Optional[pulumi.Input[str]] = None,
150
150
  service_name: Optional[pulumi.Input[str]] = None,
151
151
  username: Optional[pulumi.Input[str]] = None,
152
- opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetOpensearchUserResult]:
152
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetOpensearchUserResult]:
153
153
  """
154
154
  The OpenSearch User data source provides information about the existing Aiven OpenSearch User.
155
155
 
156
156
  ## Example Usage
157
157
 
158
- <!--Start PulumiCodeChooser -->
159
158
  ```python
160
159
  import pulumi
161
160
  import pulumi_aiven as aiven
162
161
 
163
- user = aiven.get_opensearch_user(project="my-project",
164
- service_name="my-service",
162
+ user = aiven.get_opensearch_user(service_name="my-service",
163
+ project="my-project",
165
164
  username="user1")
166
165
  ```
167
- <!--End PulumiCodeChooser -->
168
166
 
169
167
 
170
- :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.
171
- :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.
172
- :param str username: The actual name of the OpenSearch 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.
168
+ :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.
169
+ :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.
170
+ :param str username: The actual name of the OpenSearch User. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
173
171
  """
174
- ...
172
+ __args__ = dict()
173
+ __args__['project'] = project
174
+ __args__['serviceName'] = service_name
175
+ __args__['username'] = username
176
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
177
+ __ret__ = pulumi.runtime.invoke_output('aiven:index/getOpensearchUser:getOpensearchUser', __args__, opts=opts, typ=GetOpensearchUserResult)
178
+ return __ret__.apply(lambda __response__: GetOpensearchUserResult(
179
+ id=pulumi.get(__response__, 'id'),
180
+ password=pulumi.get(__response__, 'password'),
181
+ project=pulumi.get(__response__, 'project'),
182
+ service_name=pulumi.get(__response__, 'service_name'),
183
+ type=pulumi.get(__response__, 'type'),
184
+ username=pulumi.get(__response__, 'username')))