pulumi-aiven 6.13.0a1709702245__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 +32826 -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_schema.py +65 -56
  121. pulumi_aiven/kafka_schema_configuration.py +25 -20
  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 -54
  125. pulumi_aiven/m3_aggregator.py +176 -308
  126. pulumi_aiven/m3_db.py +190 -322
  127. pulumi_aiven/m3db_user.py +51 -46
  128. pulumi_aiven/mirror_maker_replication_flow.py +217 -53
  129. pulumi_aiven/my_sql.py +190 -322
  130. pulumi_aiven/mysql_database.py +32 -47
  131. pulumi_aiven/mysql_user.py +37 -32
  132. pulumi_aiven/open_search.py +128 -105
  133. pulumi_aiven/open_search_acl_config.py +33 -32
  134. pulumi_aiven/open_search_acl_rule.py +55 -50
  135. pulumi_aiven/opensearch_security_plugin_config.py +69 -16
  136. pulumi_aiven/opensearch_user.py +30 -25
  137. pulumi_aiven/organization.py +18 -13
  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 -32
  146. pulumi_aiven/outputs.py +38509 -21612
  147. pulumi_aiven/pg.py +92 -88
  148. pulumi_aiven/pg_database.py +52 -67
  149. pulumi_aiven/pg_user.py +80 -61
  150. pulumi_aiven/project.py +111 -102
  151. pulumi_aiven/project_user.py +44 -31
  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 +163 -295
  156. pulumi_aiven/redis_user.py +58 -53
  157. pulumi_aiven/service_integration.py +511 -161
  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 -54
  162. pulumi_aiven/valkey.py +1256 -0
  163. pulumi_aiven/valkey_user.py +606 -0
  164. {pulumi_aiven-6.13.0a1709702245.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.0a1709702245.dist-info → pulumi_aiven-6.31.0a1736831339.dist-info}/WHEEL +1 -1
  167. pulumi_aiven-6.13.0a1709702245.dist-info/RECORD +0 -146
  168. {pulumi_aiven-6.13.0a1709702245.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
 
12
17
  __all__ = ['OpenSearchAclConfigArgs', 'OpenSearchAclConfig']
@@ -20,8 +25,8 @@ class OpenSearchAclConfigArgs:
20
25
  extended_acl: Optional[pulumi.Input[bool]] = None):
21
26
  """
22
27
  The set of arguments for constructing a OpenSearchAclConfig resource.
23
- :param pulumi.Input[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.
24
- :param pulumi.Input[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.
28
+ :param pulumi.Input[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.
29
+ :param pulumi.Input[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.
25
30
  :param pulumi.Input[bool] enabled: Enable OpenSearch ACLs. When disabled authenticated service users have unrestricted access. The default value is `true`.
26
31
  :param pulumi.Input[bool] extended_acl: Index rules can be applied in a limited fashion to the _mget, _msearch and _bulk APIs (and only those) by enabling the ExtendedAcl option for the service. When it is enabled, users can use these APIs as long as all operations only target indexes they have been granted access to. The default value is `true`.
27
32
  """
@@ -36,7 +41,7 @@ class OpenSearchAclConfigArgs:
36
41
  @pulumi.getter
37
42
  def project(self) -> pulumi.Input[str]:
38
43
  """
39
- 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.
44
+ 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.
40
45
  """
41
46
  return pulumi.get(self, "project")
42
47
 
@@ -48,7 +53,7 @@ class OpenSearchAclConfigArgs:
48
53
  @pulumi.getter(name="serviceName")
49
54
  def service_name(self) -> pulumi.Input[str]:
50
55
  """
51
- 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.
56
+ 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.
52
57
  """
53
58
  return pulumi.get(self, "service_name")
54
59
 
@@ -92,8 +97,8 @@ class _OpenSearchAclConfigState:
92
97
  Input properties used for looking up and filtering OpenSearchAclConfig resources.
93
98
  :param pulumi.Input[bool] enabled: Enable OpenSearch ACLs. When disabled authenticated service users have unrestricted access. The default value is `true`.
94
99
  :param pulumi.Input[bool] extended_acl: Index rules can be applied in a limited fashion to the _mget, _msearch and _bulk APIs (and only those) by enabling the ExtendedAcl option for the service. When it is enabled, users can use these APIs as long as all operations only target indexes they have been granted access to. The default value is `true`.
95
- :param pulumi.Input[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.
96
- :param pulumi.Input[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.
100
+ :param pulumi.Input[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.
101
+ :param pulumi.Input[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.
97
102
  """
98
103
  if enabled is not None:
99
104
  pulumi.set(__self__, "enabled", enabled)
@@ -132,7 +137,7 @@ class _OpenSearchAclConfigState:
132
137
  @pulumi.getter
133
138
  def project(self) -> Optional[pulumi.Input[str]]:
134
139
  """
135
- 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.
140
+ 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.
136
141
  """
137
142
  return pulumi.get(self, "project")
138
143
 
@@ -144,7 +149,7 @@ class _OpenSearchAclConfigState:
144
149
  @pulumi.getter(name="serviceName")
145
150
  def service_name(self) -> Optional[pulumi.Input[str]]:
146
151
  """
147
- Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
152
+ The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
148
153
  """
149
154
  return pulumi.get(self, "service_name")
150
155
 
@@ -172,20 +177,20 @@ class OpenSearchAclConfig(pulumi.CustomResource):
172
177
  import pulumi
173
178
  import pulumi_aiven as aiven
174
179
 
175
- foo_project = aiven.get_project(project="example_project")
180
+ foo = aiven.get_project(project="example_project")
176
181
  bar = aiven.OpenSearch("bar",
177
- project=foo_project.project,
182
+ project=foo.project,
178
183
  cloud_name="google-europe-west1",
179
184
  plan="startup-4",
180
185
  service_name="example_service_name",
181
186
  maintenance_window_dow="monday",
182
187
  maintenance_window_time="10:00:00")
183
- foo_opensearch_user = aiven.OpensearchUser("fooOpensearchUser",
188
+ foo_opensearch_user = aiven.OpensearchUser("foo",
184
189
  service_name=bar.service_name,
185
- project=foo_project.project,
190
+ project=foo.project,
186
191
  username="user-example")
187
- foo_open_search_acl_config = aiven.OpenSearchAclConfig("fooOpenSearchAclConfig",
188
- project=foo_project.project,
192
+ foo_open_search_acl_config = aiven.OpenSearchAclConfig("foo",
193
+ project=foo.project,
189
194
  service_name=bar.service_name,
190
195
  enabled=True,
191
196
  extended_acl=False)
@@ -193,16 +198,14 @@ class OpenSearchAclConfig(pulumi.CustomResource):
193
198
 
194
199
  ## Import
195
200
 
196
- ```sh
197
- $ pulumi import aiven:index/openSearchAclConfig:OpenSearchAclConfig foo project/service_name
198
- ```
201
+ TERRAFORM IMPORT AIVEN_OPENSEARCH_ACL_CONFIG.FOO project/service_name
199
202
 
200
203
  :param str resource_name: The name of the resource.
201
204
  :param pulumi.ResourceOptions opts: Options for the resource.
202
205
  :param pulumi.Input[bool] enabled: Enable OpenSearch ACLs. When disabled authenticated service users have unrestricted access. The default value is `true`.
203
206
  :param pulumi.Input[bool] extended_acl: Index rules can be applied in a limited fashion to the _mget, _msearch and _bulk APIs (and only those) by enabling the ExtendedAcl option for the service. When it is enabled, users can use these APIs as long as all operations only target indexes they have been granted access to. The default value is `true`.
204
- :param pulumi.Input[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.
205
- :param pulumi.Input[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.
207
+ :param pulumi.Input[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.
208
+ :param pulumi.Input[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.
206
209
  """
207
210
  ...
208
211
  @overload
@@ -219,20 +222,20 @@ class OpenSearchAclConfig(pulumi.CustomResource):
219
222
  import pulumi
220
223
  import pulumi_aiven as aiven
221
224
 
222
- foo_project = aiven.get_project(project="example_project")
225
+ foo = aiven.get_project(project="example_project")
223
226
  bar = aiven.OpenSearch("bar",
224
- project=foo_project.project,
227
+ project=foo.project,
225
228
  cloud_name="google-europe-west1",
226
229
  plan="startup-4",
227
230
  service_name="example_service_name",
228
231
  maintenance_window_dow="monday",
229
232
  maintenance_window_time="10:00:00")
230
- foo_opensearch_user = aiven.OpensearchUser("fooOpensearchUser",
233
+ foo_opensearch_user = aiven.OpensearchUser("foo",
231
234
  service_name=bar.service_name,
232
- project=foo_project.project,
235
+ project=foo.project,
233
236
  username="user-example")
234
- foo_open_search_acl_config = aiven.OpenSearchAclConfig("fooOpenSearchAclConfig",
235
- project=foo_project.project,
237
+ foo_open_search_acl_config = aiven.OpenSearchAclConfig("foo",
238
+ project=foo.project,
236
239
  service_name=bar.service_name,
237
240
  enabled=True,
238
241
  extended_acl=False)
@@ -240,9 +243,7 @@ class OpenSearchAclConfig(pulumi.CustomResource):
240
243
 
241
244
  ## Import
242
245
 
243
- ```sh
244
- $ pulumi import aiven:index/openSearchAclConfig:OpenSearchAclConfig foo project/service_name
245
- ```
246
+ TERRAFORM IMPORT AIVEN_OPENSEARCH_ACL_CONFIG.FOO project/service_name
246
247
 
247
248
  :param str resource_name: The name of the resource.
248
249
  :param OpenSearchAclConfigArgs args: The arguments to use to populate this resource's properties.
@@ -303,8 +304,8 @@ class OpenSearchAclConfig(pulumi.CustomResource):
303
304
  :param pulumi.ResourceOptions opts: Options for the resource.
304
305
  :param pulumi.Input[bool] enabled: Enable OpenSearch ACLs. When disabled authenticated service users have unrestricted access. The default value is `true`.
305
306
  :param pulumi.Input[bool] extended_acl: Index rules can be applied in a limited fashion to the _mget, _msearch and _bulk APIs (and only those) by enabling the ExtendedAcl option for the service. When it is enabled, users can use these APIs as long as all operations only target indexes they have been granted access to. The default value is `true`.
306
- :param pulumi.Input[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.
307
- :param pulumi.Input[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.
307
+ :param pulumi.Input[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.
308
+ :param pulumi.Input[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.
308
309
  """
309
310
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
310
311
 
@@ -336,7 +337,7 @@ class OpenSearchAclConfig(pulumi.CustomResource):
336
337
  @pulumi.getter
337
338
  def project(self) -> pulumi.Output[str]:
338
339
  """
339
- 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.
340
+ 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.
340
341
  """
341
342
  return pulumi.get(self, "project")
342
343
 
@@ -344,7 +345,7 @@ class OpenSearchAclConfig(pulumi.CustomResource):
344
345
  @pulumi.getter(name="serviceName")
345
346
  def service_name(self) -> pulumi.Output[str]:
346
347
  """
347
- 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.
348
+ 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.
348
349
  """
349
350
  return pulumi.get(self, "service_name")
350
351
 
@@ -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__ = ['OpenSearchAclRuleArgs', 'OpenSearchAclRule']
@@ -21,11 +26,11 @@ class OpenSearchAclRuleArgs:
21
26
  username: pulumi.Input[str]):
22
27
  """
23
28
  The set of arguments for constructing a OpenSearchAclRule resource.
24
- :param pulumi.Input[str] index: The index pattern for this ACL entry. Maximum length: `249`. This property cannot be changed, doing so forces recreation of the resource.
29
+ :param pulumi.Input[str] index: The index pattern for this ACL entry. Maximum length: `249`. Changing this property forces recreation of the resource.
25
30
  :param pulumi.Input[str] permission: The permissions for this ACL entry. The possible values are `deny`, `admin`, `read`, `readwrite` and `write`.
26
- :param pulumi.Input[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.
27
- :param pulumi.Input[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.
28
- :param pulumi.Input[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.
31
+ :param pulumi.Input[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.
32
+ :param pulumi.Input[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.
33
+ :param pulumi.Input[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.
29
34
  """
30
35
  pulumi.set(__self__, "index", index)
31
36
  pulumi.set(__self__, "permission", permission)
@@ -37,7 +42,7 @@ class OpenSearchAclRuleArgs:
37
42
  @pulumi.getter
38
43
  def index(self) -> pulumi.Input[str]:
39
44
  """
40
- The index pattern for this ACL entry. Maximum length: `249`. This property cannot be changed, doing so forces recreation of the resource.
45
+ The index pattern for this ACL entry. Maximum length: `249`. Changing this property forces recreation of the resource.
41
46
  """
42
47
  return pulumi.get(self, "index")
43
48
 
@@ -61,7 +66,7 @@ class OpenSearchAclRuleArgs:
61
66
  @pulumi.getter
62
67
  def project(self) -> pulumi.Input[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
 
@@ -73,7 +78,7 @@ class OpenSearchAclRuleArgs:
73
78
  @pulumi.getter(name="serviceName")
74
79
  def service_name(self) -> pulumi.Input[str]:
75
80
  """
76
- 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.
81
+ 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.
77
82
  """
78
83
  return pulumi.get(self, "service_name")
79
84
 
@@ -85,7 +90,7 @@ class OpenSearchAclRuleArgs:
85
90
  @pulumi.getter
86
91
  def username(self) -> pulumi.Input[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
 
@@ -104,11 +109,11 @@ class _OpenSearchAclRuleState:
104
109
  username: Optional[pulumi.Input[str]] = None):
105
110
  """
106
111
  Input properties used for looking up and filtering OpenSearchAclRule resources.
107
- :param pulumi.Input[str] index: The index pattern for this ACL entry. Maximum length: `249`. This property cannot be changed, doing so forces recreation of the resource.
112
+ :param pulumi.Input[str] index: The index pattern for this ACL entry. Maximum length: `249`. Changing this property forces recreation of the resource.
108
113
  :param pulumi.Input[str] permission: The permissions for this ACL entry. The possible values are `deny`, `admin`, `read`, `readwrite` and `write`.
109
- :param pulumi.Input[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.
110
- :param pulumi.Input[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.
111
- :param pulumi.Input[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.
114
+ :param pulumi.Input[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.
115
+ :param pulumi.Input[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
+ :param pulumi.Input[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.
112
117
  """
113
118
  if index is not None:
114
119
  pulumi.set(__self__, "index", index)
@@ -125,7 +130,7 @@ class _OpenSearchAclRuleState:
125
130
  @pulumi.getter
126
131
  def index(self) -> Optional[pulumi.Input[str]]:
127
132
  """
128
- The index pattern for this ACL entry. Maximum length: `249`. This property cannot be changed, doing so forces recreation of the resource.
133
+ The index pattern for this ACL entry. Maximum length: `249`. Changing this property forces recreation of the resource.
129
134
  """
130
135
  return pulumi.get(self, "index")
131
136
 
@@ -149,7 +154,7 @@ class _OpenSearchAclRuleState:
149
154
  @pulumi.getter
150
155
  def project(self) -> Optional[pulumi.Input[str]]:
151
156
  """
152
- 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.
157
+ 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.
153
158
  """
154
159
  return pulumi.get(self, "project")
155
160
 
@@ -161,7 +166,7 @@ class _OpenSearchAclRuleState:
161
166
  @pulumi.getter(name="serviceName")
162
167
  def service_name(self) -> Optional[pulumi.Input[str]]:
163
168
  """
164
- 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.
169
+ 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.
165
170
  """
166
171
  return pulumi.get(self, "service_name")
167
172
 
@@ -173,7 +178,7 @@ class _OpenSearchAclRuleState:
173
178
  @pulumi.getter
174
179
  def username(self) -> Optional[pulumi.Input[str]]:
175
180
  """
176
- 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.
181
+ 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.
177
182
  """
178
183
  return pulumi.get(self, "username")
179
184
 
@@ -202,17 +207,17 @@ class OpenSearchAclRule(pulumi.CustomResource):
202
207
  import pulumi
203
208
  import pulumi_aiven as aiven
204
209
 
205
- os_user = aiven.OpensearchUser("osUser",
206
- project=var["aiven_project_name"],
207
- service_name=aiven_opensearch["os_test"]["service_name"],
210
+ os_user = aiven.OpensearchUser("os_user",
211
+ project=aiven_project_name,
212
+ service_name=os_test["serviceName"],
208
213
  username="documentation-user-1")
209
- os_user2 = aiven.OpensearchUser("osUser2",
210
- project=var["aiven_project_name"],
211
- service_name=aiven_opensearch["os_test"]["service_name"],
214
+ os_user2 = aiven.OpensearchUser("os_user_2",
215
+ project=aiven_project_name,
216
+ service_name=os_test["serviceName"],
212
217
  username="documentation-user-2")
213
- os_acls_config = aiven.OpenSearchAclConfig("osAclsConfig",
214
- project=var["aiven_project_name"],
215
- service_name=aiven_opensearch["os_test"]["service_name"],
218
+ os_acls_config = aiven.OpenSearchAclConfig("os_acls_config",
219
+ project=aiven_project_name,
220
+ service_name=os_test["serviceName"],
216
221
  enabled=True,
217
222
  extended_acl=False)
218
223
  acl_rules = [
@@ -245,7 +250,7 @@ class OpenSearchAclRule(pulumi.CustomResource):
245
250
  os_acl_rule = []
246
251
  def create_os_acl_rule(range_body):
247
252
  for range in [{"key": k, "value": v} for [k, v] in enumerate(range_body)]:
248
- os_acl_rule.append(aiven.OpenSearchAclRule(f"osAclRule-{range['key']}",
253
+ os_acl_rule.append(aiven.OpenSearchAclRule(f"os_acl_rule-{range['key']}",
249
254
  project=os_acls_config.project,
250
255
  service_name=os_acls_config.service_name,
251
256
  username=range["value"]["username"],
@@ -258,16 +263,16 @@ class OpenSearchAclRule(pulumi.CustomResource):
258
263
  ## Import
259
264
 
260
265
  ```sh
261
- $ pulumi import aiven:index/openSearchAclRule:OpenSearchAclRule os_acl_rule project/service_name/username/index
266
+ $ pulumi import aiven:index/openSearchAclRule:OpenSearchAclRule os_acl_rule PROJECT/SERVICE_NAME/USERNAME/INDEX
262
267
  ```
263
268
 
264
269
  :param str resource_name: The name of the resource.
265
270
  :param pulumi.ResourceOptions opts: Options for the resource.
266
- :param pulumi.Input[str] index: The index pattern for this ACL entry. Maximum length: `249`. This property cannot be changed, doing so forces recreation of the resource.
271
+ :param pulumi.Input[str] index: The index pattern for this ACL entry. Maximum length: `249`. Changing this property forces recreation of the resource.
267
272
  :param pulumi.Input[str] permission: The permissions for this ACL entry. The possible values are `deny`, `admin`, `read`, `readwrite` and `write`.
268
- :param pulumi.Input[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.
269
- :param pulumi.Input[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.
270
- :param pulumi.Input[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.
273
+ :param pulumi.Input[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.
274
+ :param pulumi.Input[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.
275
+ :param pulumi.Input[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.
271
276
  """
272
277
  ...
273
278
  @overload
@@ -284,17 +289,17 @@ class OpenSearchAclRule(pulumi.CustomResource):
284
289
  import pulumi
285
290
  import pulumi_aiven as aiven
286
291
 
287
- os_user = aiven.OpensearchUser("osUser",
288
- project=var["aiven_project_name"],
289
- service_name=aiven_opensearch["os_test"]["service_name"],
292
+ os_user = aiven.OpensearchUser("os_user",
293
+ project=aiven_project_name,
294
+ service_name=os_test["serviceName"],
290
295
  username="documentation-user-1")
291
- os_user2 = aiven.OpensearchUser("osUser2",
292
- project=var["aiven_project_name"],
293
- service_name=aiven_opensearch["os_test"]["service_name"],
296
+ os_user2 = aiven.OpensearchUser("os_user_2",
297
+ project=aiven_project_name,
298
+ service_name=os_test["serviceName"],
294
299
  username="documentation-user-2")
295
- os_acls_config = aiven.OpenSearchAclConfig("osAclsConfig",
296
- project=var["aiven_project_name"],
297
- service_name=aiven_opensearch["os_test"]["service_name"],
300
+ os_acls_config = aiven.OpenSearchAclConfig("os_acls_config",
301
+ project=aiven_project_name,
302
+ service_name=os_test["serviceName"],
298
303
  enabled=True,
299
304
  extended_acl=False)
300
305
  acl_rules = [
@@ -327,7 +332,7 @@ class OpenSearchAclRule(pulumi.CustomResource):
327
332
  os_acl_rule = []
328
333
  def create_os_acl_rule(range_body):
329
334
  for range in [{"key": k, "value": v} for [k, v] in enumerate(range_body)]:
330
- os_acl_rule.append(aiven.OpenSearchAclRule(f"osAclRule-{range['key']}",
335
+ os_acl_rule.append(aiven.OpenSearchAclRule(f"os_acl_rule-{range['key']}",
331
336
  project=os_acls_config.project,
332
337
  service_name=os_acls_config.service_name,
333
338
  username=range["value"]["username"],
@@ -340,7 +345,7 @@ class OpenSearchAclRule(pulumi.CustomResource):
340
345
  ## Import
341
346
 
342
347
  ```sh
343
- $ pulumi import aiven:index/openSearchAclRule:OpenSearchAclRule os_acl_rule project/service_name/username/index
348
+ $ pulumi import aiven:index/openSearchAclRule:OpenSearchAclRule os_acl_rule PROJECT/SERVICE_NAME/USERNAME/INDEX
344
349
  ```
345
350
 
346
351
  :param str resource_name: The name of the resource.
@@ -409,11 +414,11 @@ class OpenSearchAclRule(pulumi.CustomResource):
409
414
  :param str resource_name: The unique name of the resulting resource.
410
415
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
411
416
  :param pulumi.ResourceOptions opts: Options for the resource.
412
- :param pulumi.Input[str] index: The index pattern for this ACL entry. Maximum length: `249`. This property cannot be changed, doing so forces recreation of the resource.
417
+ :param pulumi.Input[str] index: The index pattern for this ACL entry. Maximum length: `249`. Changing this property forces recreation of the resource.
413
418
  :param pulumi.Input[str] permission: The permissions for this ACL entry. The possible values are `deny`, `admin`, `read`, `readwrite` and `write`.
414
- :param pulumi.Input[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.
415
- :param pulumi.Input[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.
416
- :param pulumi.Input[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.
419
+ :param pulumi.Input[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.
420
+ :param pulumi.Input[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.
421
+ :param pulumi.Input[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.
417
422
  """
418
423
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
419
424
 
@@ -430,7 +435,7 @@ class OpenSearchAclRule(pulumi.CustomResource):
430
435
  @pulumi.getter
431
436
  def index(self) -> pulumi.Output[str]:
432
437
  """
433
- The index pattern for this ACL entry. Maximum length: `249`. This property cannot be changed, doing so forces recreation of the resource.
438
+ The index pattern for this ACL entry. Maximum length: `249`. Changing this property forces recreation of the resource.
434
439
  """
435
440
  return pulumi.get(self, "index")
436
441
 
@@ -446,7 +451,7 @@ class OpenSearchAclRule(pulumi.CustomResource):
446
451
  @pulumi.getter
447
452
  def project(self) -> pulumi.Output[str]:
448
453
  """
449
- 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.
454
+ 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.
450
455
  """
451
456
  return pulumi.get(self, "project")
452
457
 
@@ -454,7 +459,7 @@ class OpenSearchAclRule(pulumi.CustomResource):
454
459
  @pulumi.getter(name="serviceName")
455
460
  def service_name(self) -> pulumi.Output[str]:
456
461
  """
457
- 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.
462
+ 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.
458
463
  """
459
464
  return pulumi.get(self, "service_name")
460
465
 
@@ -462,7 +467,7 @@ class OpenSearchAclRule(pulumi.CustomResource):
462
467
  @pulumi.getter
463
468
  def username(self) -> pulumi.Output[str]:
464
469
  """
465
- 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.
470
+ 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.
466
471
  """
467
472
  return pulumi.get(self, "username")
468
473