pulumi-aiven 6.13.0a1711027602__py3-none-any.whl → 6.14.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of pulumi-aiven might be problematic. Click here for more details.

Files changed (136) hide show
  1. pulumi_aiven/__init__.py +28 -0
  2. pulumi_aiven/_inputs.py +2623 -1138
  3. pulumi_aiven/account.py +8 -8
  4. pulumi_aiven/account_authentication.py +8 -4
  5. pulumi_aiven/account_team.py +6 -6
  6. pulumi_aiven/account_team_member.py +27 -31
  7. pulumi_aiven/account_team_project.py +12 -12
  8. pulumi_aiven/aws_privatelink.py +39 -43
  9. pulumi_aiven/aws_vpc_peering_connection.py +62 -56
  10. pulumi_aiven/azure_privatelink.py +49 -53
  11. pulumi_aiven/azure_privatelink_connection_approval.py +131 -33
  12. pulumi_aiven/azure_vpc_peering_connection.py +76 -72
  13. pulumi_aiven/billing_group.py +18 -18
  14. pulumi_aiven/cassandra.py +25 -57
  15. pulumi_aiven/cassandra_user.py +25 -29
  16. pulumi_aiven/clickhouse.py +25 -57
  17. pulumi_aiven/clickhouse_database.py +31 -33
  18. pulumi_aiven/clickhouse_grant.py +56 -58
  19. pulumi_aiven/clickhouse_role.py +23 -27
  20. pulumi_aiven/clickhouse_user.py +25 -29
  21. pulumi_aiven/connection_pool.py +38 -42
  22. pulumi_aiven/dragonfly.py +1205 -0
  23. pulumi_aiven/flink.py +32 -36
  24. pulumi_aiven/flink_application.py +22 -24
  25. pulumi_aiven/flink_application_deployment.py +28 -28
  26. pulumi_aiven/flink_application_version.py +96 -14
  27. pulumi_aiven/gcp_privatelink.py +40 -40
  28. pulumi_aiven/gcp_privatelink_connection_approval.py +47 -47
  29. pulumi_aiven/gcp_vpc_peering_connection.py +39 -43
  30. pulumi_aiven/get_account.py +0 -4
  31. pulumi_aiven/get_account_team_member.py +9 -9
  32. pulumi_aiven/get_aws_privatelink.py +15 -19
  33. pulumi_aiven/get_aws_vpc_peering_connection.py +33 -27
  34. pulumi_aiven/get_azure_privatelink.py +17 -21
  35. pulumi_aiven/get_azure_vpc_peering_connection.py +50 -22
  36. pulumi_aiven/get_billing_group.py +2 -2
  37. pulumi_aiven/get_cassanda.py +7 -24
  38. pulumi_aiven/get_cassandra.py +7 -24
  39. pulumi_aiven/get_cassandra_user.py +13 -17
  40. pulumi_aiven/get_clickhouse.py +7 -24
  41. pulumi_aiven/get_clickhouse_database.py +13 -17
  42. pulumi_aiven/get_clickhouse_user.py +13 -17
  43. pulumi_aiven/get_connection_pool.py +14 -18
  44. pulumi_aiven/get_dragonfly.py +450 -0
  45. pulumi_aiven/get_flink.py +6 -10
  46. pulumi_aiven/get_flink_application.py +8 -12
  47. pulumi_aiven/get_flink_application_version.py +8 -12
  48. pulumi_aiven/get_gcp_vpc_peering_connection.py +18 -22
  49. pulumi_aiven/get_grafana.py +7 -24
  50. pulumi_aiven/get_kafka.py +13 -17
  51. pulumi_aiven/get_kafka_acl.py +19 -23
  52. pulumi_aiven/get_kafka_connect.py +7 -24
  53. pulumi_aiven/get_kafka_connector.py +13 -17
  54. pulumi_aiven/get_kafka_mirror_maker.py +7 -24
  55. pulumi_aiven/get_kafka_schema.py +13 -17
  56. pulumi_aiven/get_kafka_schema_configuration.py +11 -15
  57. pulumi_aiven/get_kafka_schema_registry_acl.py +15 -15
  58. pulumi_aiven/get_kafka_topic.py +19 -23
  59. pulumi_aiven/get_kafka_user.py +13 -17
  60. pulumi_aiven/get_m3_aggregator.py +7 -24
  61. pulumi_aiven/get_m3_db.py +7 -24
  62. pulumi_aiven/get_m3db_user.py +13 -17
  63. pulumi_aiven/get_mirror_maker_replication_flow.py +14 -18
  64. pulumi_aiven/get_my_sql.py +7 -24
  65. pulumi_aiven/get_mysql_database.py +13 -17
  66. pulumi_aiven/get_mysql_user.py +13 -17
  67. pulumi_aiven/get_open_search.py +6 -10
  68. pulumi_aiven/get_open_search_acl_config.py +10 -14
  69. pulumi_aiven/get_open_search_acl_rule.py +16 -20
  70. pulumi_aiven/get_opensearch_security_plugin_config.py +10 -14
  71. pulumi_aiven/get_opensearch_user.py +13 -17
  72. pulumi_aiven/get_organization.py +8 -12
  73. pulumi_aiven/get_organization_user_group.py +29 -9
  74. pulumi_aiven/get_organizational_unit.py +9 -9
  75. pulumi_aiven/get_pg.py +6 -10
  76. pulumi_aiven/get_pg_database.py +15 -19
  77. pulumi_aiven/get_pg_user.py +13 -17
  78. pulumi_aiven/get_project.py +17 -21
  79. pulumi_aiven/get_project_user.py +9 -13
  80. pulumi_aiven/get_project_vpc.py +11 -17
  81. pulumi_aiven/get_redis.py +7 -24
  82. pulumi_aiven/get_redis_user.py +17 -21
  83. pulumi_aiven/get_service_component.py +4 -8
  84. pulumi_aiven/get_service_integration.py +75 -37
  85. pulumi_aiven/get_service_integration_endpoint.py +3 -7
  86. pulumi_aiven/get_transit_gateway_vpc_attachment.py +11 -15
  87. pulumi_aiven/grafana.py +82 -267
  88. pulumi_aiven/influx_db.py +28 -28
  89. pulumi_aiven/influxdb_database.py +35 -35
  90. pulumi_aiven/influxdb_user.py +42 -42
  91. pulumi_aiven/kafka.py +50 -54
  92. pulumi_aiven/kafka_acl.py +41 -45
  93. pulumi_aiven/kafka_connect.py +80 -267
  94. pulumi_aiven/kafka_connector.py +33 -37
  95. pulumi_aiven/kafka_mirror_maker.py +80 -267
  96. pulumi_aiven/kafka_schema.py +51 -51
  97. pulumi_aiven/kafka_schema_configuration.py +20 -24
  98. pulumi_aiven/kafka_schema_registry_acl.py +75 -35
  99. pulumi_aiven/kafka_topic.py +91 -53
  100. pulumi_aiven/kafka_user.py +25 -29
  101. pulumi_aiven/m3_aggregator.py +80 -267
  102. pulumi_aiven/m3_db.py +80 -267
  103. pulumi_aiven/m3db_user.py +23 -27
  104. pulumi_aiven/mirror_maker_replication_flow.py +58 -60
  105. pulumi_aiven/my_sql.py +80 -267
  106. pulumi_aiven/mysql_database.py +27 -31
  107. pulumi_aiven/mysql_user.py +25 -29
  108. pulumi_aiven/open_search.py +27 -31
  109. pulumi_aiven/open_search_acl_config.py +28 -36
  110. pulumi_aiven/open_search_acl_rule.py +50 -54
  111. pulumi_aiven/opensearch_security_plugin_config.py +64 -16
  112. pulumi_aiven/opensearch_user.py +25 -29
  113. pulumi_aiven/organization.py +10 -14
  114. pulumi_aiven/organization_group_project.py +336 -0
  115. pulumi_aiven/organization_user.py +16 -34
  116. pulumi_aiven/organization_user_group.py +59 -23
  117. pulumi_aiven/organization_user_group_member.py +350 -0
  118. pulumi_aiven/organizational_unit.py +36 -36
  119. pulumi_aiven/outputs.py +3539 -1136
  120. pulumi_aiven/pg.py +30 -30
  121. pulumi_aiven/pg_database.py +41 -45
  122. pulumi_aiven/pg_user.py +25 -29
  123. pulumi_aiven/project.py +91 -69
  124. pulumi_aiven/project_user.py +24 -28
  125. pulumi_aiven/project_vpc.py +49 -25
  126. pulumi_aiven/redis.py +80 -267
  127. pulumi_aiven/redis_user.py +53 -57
  128. pulumi_aiven/service_integration.py +249 -65
  129. pulumi_aiven/service_integration_endpoint.py +7 -7
  130. pulumi_aiven/static_ip.py +14 -14
  131. pulumi_aiven/transit_gateway_vpc_attachment.py +25 -29
  132. {pulumi_aiven-6.13.0a1711027602.dist-info → pulumi_aiven-6.14.0.dist-info}/METADATA +1 -1
  133. pulumi_aiven-6.14.0.dist-info/RECORD +150 -0
  134. pulumi_aiven-6.13.0a1711027602.dist-info/RECORD +0 -146
  135. {pulumi_aiven-6.13.0a1711027602.dist-info → pulumi_aiven-6.14.0.dist-info}/WHEEL +0 -0
  136. {pulumi_aiven-6.13.0a1711027602.dist-info → pulumi_aiven-6.14.0.dist-info}/top_level.txt +0 -0
@@ -20,8 +20,8 @@ class OpenSearchAclConfigArgs:
20
20
  extended_acl: Optional[pulumi.Input[bool]] = None):
21
21
  """
22
22
  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.
23
+ :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.
24
+ :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
25
  :param pulumi.Input[bool] enabled: Enable OpenSearch ACLs. When disabled authenticated service users have unrestricted access. The default value is `true`.
26
26
  :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
27
  """
@@ -36,7 +36,7 @@ class OpenSearchAclConfigArgs:
36
36
  @pulumi.getter
37
37
  def project(self) -> pulumi.Input[str]:
38
38
  """
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.
39
+ 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
40
  """
41
41
  return pulumi.get(self, "project")
42
42
 
@@ -48,7 +48,7 @@ class OpenSearchAclConfigArgs:
48
48
  @pulumi.getter(name="serviceName")
49
49
  def service_name(self) -> pulumi.Input[str]:
50
50
  """
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.
51
+ 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
52
  """
53
53
  return pulumi.get(self, "service_name")
54
54
 
@@ -92,8 +92,8 @@ class _OpenSearchAclConfigState:
92
92
  Input properties used for looking up and filtering OpenSearchAclConfig resources.
93
93
  :param pulumi.Input[bool] enabled: Enable OpenSearch ACLs. When disabled authenticated service users have unrestricted access. The default value is `true`.
94
94
  :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.
95
+ :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.
96
+ :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
97
  """
98
98
  if enabled is not None:
99
99
  pulumi.set(__self__, "enabled", enabled)
@@ -132,7 +132,7 @@ class _OpenSearchAclConfigState:
132
132
  @pulumi.getter
133
133
  def project(self) -> Optional[pulumi.Input[str]]:
134
134
  """
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.
135
+ 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
136
  """
137
137
  return pulumi.get(self, "project")
138
138
 
@@ -144,7 +144,7 @@ class _OpenSearchAclConfigState:
144
144
  @pulumi.getter(name="serviceName")
145
145
  def service_name(self) -> Optional[pulumi.Input[str]]:
146
146
  """
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.
147
+ 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
148
  """
149
149
  return pulumi.get(self, "service_name")
150
150
 
@@ -168,43 +168,39 @@ class OpenSearchAclConfig(pulumi.CustomResource):
168
168
 
169
169
  ## Example Usage
170
170
 
171
- <!--Start PulumiCodeChooser -->
172
171
  ```python
173
172
  import pulumi
174
173
  import pulumi_aiven as aiven
175
174
 
176
- foo_project = aiven.get_project(project="example_project")
175
+ foo = aiven.get_project(project="example_project")
177
176
  bar = aiven.OpenSearch("bar",
178
- project=foo_project.project,
177
+ project=foo.project,
179
178
  cloud_name="google-europe-west1",
180
179
  plan="startup-4",
181
180
  service_name="example_service_name",
182
181
  maintenance_window_dow="monday",
183
182
  maintenance_window_time="10:00:00")
184
- foo_opensearch_user = aiven.OpensearchUser("fooOpensearchUser",
183
+ foo_opensearch_user = aiven.OpensearchUser("foo",
185
184
  service_name=bar.service_name,
186
- project=foo_project.project,
185
+ project=foo.project,
187
186
  username="user-example")
188
- foo_open_search_acl_config = aiven.OpenSearchAclConfig("fooOpenSearchAclConfig",
189
- project=foo_project.project,
187
+ foo_open_search_acl_config = aiven.OpenSearchAclConfig("foo",
188
+ project=foo.project,
190
189
  service_name=bar.service_name,
191
190
  enabled=True,
192
191
  extended_acl=False)
193
192
  ```
194
- <!--End PulumiCodeChooser -->
195
193
 
196
194
  ## Import
197
195
 
198
- ```sh
199
- $ pulumi import aiven:index/openSearchAclConfig:OpenSearchAclConfig foo project/service_name
200
- ```
196
+ TERRAFORM IMPORT AIVEN_OPENSEARCH_ACL_CONFIG.FOO project/service_name
201
197
 
202
198
  :param str resource_name: The name of the resource.
203
199
  :param pulumi.ResourceOptions opts: Options for the resource.
204
200
  :param pulumi.Input[bool] enabled: Enable OpenSearch ACLs. When disabled authenticated service users have unrestricted access. The default value is `true`.
205
201
  :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`.
206
- :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.
207
- :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.
202
+ :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.
203
+ :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.
208
204
  """
209
205
  ...
210
206
  @overload
@@ -217,36 +213,32 @@ class OpenSearchAclConfig(pulumi.CustomResource):
217
213
 
218
214
  ## Example Usage
219
215
 
220
- <!--Start PulumiCodeChooser -->
221
216
  ```python
222
217
  import pulumi
223
218
  import pulumi_aiven as aiven
224
219
 
225
- foo_project = aiven.get_project(project="example_project")
220
+ foo = aiven.get_project(project="example_project")
226
221
  bar = aiven.OpenSearch("bar",
227
- project=foo_project.project,
222
+ project=foo.project,
228
223
  cloud_name="google-europe-west1",
229
224
  plan="startup-4",
230
225
  service_name="example_service_name",
231
226
  maintenance_window_dow="monday",
232
227
  maintenance_window_time="10:00:00")
233
- foo_opensearch_user = aiven.OpensearchUser("fooOpensearchUser",
228
+ foo_opensearch_user = aiven.OpensearchUser("foo",
234
229
  service_name=bar.service_name,
235
- project=foo_project.project,
230
+ project=foo.project,
236
231
  username="user-example")
237
- foo_open_search_acl_config = aiven.OpenSearchAclConfig("fooOpenSearchAclConfig",
238
- project=foo_project.project,
232
+ foo_open_search_acl_config = aiven.OpenSearchAclConfig("foo",
233
+ project=foo.project,
239
234
  service_name=bar.service_name,
240
235
  enabled=True,
241
236
  extended_acl=False)
242
237
  ```
243
- <!--End PulumiCodeChooser -->
244
238
 
245
239
  ## Import
246
240
 
247
- ```sh
248
- $ pulumi import aiven:index/openSearchAclConfig:OpenSearchAclConfig foo project/service_name
249
- ```
241
+ TERRAFORM IMPORT AIVEN_OPENSEARCH_ACL_CONFIG.FOO project/service_name
250
242
 
251
243
  :param str resource_name: The name of the resource.
252
244
  :param OpenSearchAclConfigArgs args: The arguments to use to populate this resource's properties.
@@ -307,8 +299,8 @@ class OpenSearchAclConfig(pulumi.CustomResource):
307
299
  :param pulumi.ResourceOptions opts: Options for the resource.
308
300
  :param pulumi.Input[bool] enabled: Enable OpenSearch ACLs. When disabled authenticated service users have unrestricted access. The default value is `true`.
309
301
  :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`.
310
- :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.
311
- :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.
302
+ :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.
303
+ :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.
312
304
  """
313
305
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
314
306
 
@@ -340,7 +332,7 @@ class OpenSearchAclConfig(pulumi.CustomResource):
340
332
  @pulumi.getter
341
333
  def project(self) -> pulumi.Output[str]:
342
334
  """
343
- 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.
335
+ 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.
344
336
  """
345
337
  return pulumi.get(self, "project")
346
338
 
@@ -348,7 +340,7 @@ class OpenSearchAclConfig(pulumi.CustomResource):
348
340
  @pulumi.getter(name="serviceName")
349
341
  def service_name(self) -> pulumi.Output[str]:
350
342
  """
351
- 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.
343
+ 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.
352
344
  """
353
345
  return pulumi.get(self, "service_name")
354
346
 
@@ -21,11 +21,11 @@ class OpenSearchAclRuleArgs:
21
21
  username: pulumi.Input[str]):
22
22
  """
23
23
  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.
24
+ :param pulumi.Input[str] index: The index pattern for this ACL entry. Maximum length: `249`. Changing this property forces recreation of the resource.
25
25
  :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.
26
+ :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.
27
+ :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.
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. Changing this property forces recreation of the resource.
29
29
  """
30
30
  pulumi.set(__self__, "index", index)
31
31
  pulumi.set(__self__, "permission", permission)
@@ -37,7 +37,7 @@ class OpenSearchAclRuleArgs:
37
37
  @pulumi.getter
38
38
  def index(self) -> pulumi.Input[str]:
39
39
  """
40
- The index pattern for this ACL entry. Maximum length: `249`. This property cannot be changed, doing so forces recreation of the resource.
40
+ The index pattern for this ACL entry. Maximum length: `249`. Changing this property forces recreation of the resource.
41
41
  """
42
42
  return pulumi.get(self, "index")
43
43
 
@@ -61,7 +61,7 @@ class OpenSearchAclRuleArgs:
61
61
  @pulumi.getter
62
62
  def project(self) -> pulumi.Input[str]:
63
63
  """
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.
64
+ 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
65
  """
66
66
  return pulumi.get(self, "project")
67
67
 
@@ -73,7 +73,7 @@ class OpenSearchAclRuleArgs:
73
73
  @pulumi.getter(name="serviceName")
74
74
  def service_name(self) -> pulumi.Input[str]:
75
75
  """
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.
76
+ 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
77
  """
78
78
  return pulumi.get(self, "service_name")
79
79
 
@@ -85,7 +85,7 @@ class OpenSearchAclRuleArgs:
85
85
  @pulumi.getter
86
86
  def username(self) -> pulumi.Input[str]:
87
87
  """
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.
88
+ 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
89
  """
90
90
  return pulumi.get(self, "username")
91
91
 
@@ -104,11 +104,11 @@ class _OpenSearchAclRuleState:
104
104
  username: Optional[pulumi.Input[str]] = None):
105
105
  """
106
106
  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.
107
+ :param pulumi.Input[str] index: The index pattern for this ACL entry. Maximum length: `249`. Changing this property forces recreation of the resource.
108
108
  :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.
109
+ :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.
110
+ :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.
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. Changing this property forces recreation of the resource.
112
112
  """
113
113
  if index is not None:
114
114
  pulumi.set(__self__, "index", index)
@@ -125,7 +125,7 @@ class _OpenSearchAclRuleState:
125
125
  @pulumi.getter
126
126
  def index(self) -> Optional[pulumi.Input[str]]:
127
127
  """
128
- The index pattern for this ACL entry. Maximum length: `249`. This property cannot be changed, doing so forces recreation of the resource.
128
+ The index pattern for this ACL entry. Maximum length: `249`. Changing this property forces recreation of the resource.
129
129
  """
130
130
  return pulumi.get(self, "index")
131
131
 
@@ -149,7 +149,7 @@ class _OpenSearchAclRuleState:
149
149
  @pulumi.getter
150
150
  def project(self) -> Optional[pulumi.Input[str]]:
151
151
  """
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.
152
+ 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
153
  """
154
154
  return pulumi.get(self, "project")
155
155
 
@@ -161,7 +161,7 @@ class _OpenSearchAclRuleState:
161
161
  @pulumi.getter(name="serviceName")
162
162
  def service_name(self) -> Optional[pulumi.Input[str]]:
163
163
  """
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.
164
+ 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
165
  """
166
166
  return pulumi.get(self, "service_name")
167
167
 
@@ -173,7 +173,7 @@ class _OpenSearchAclRuleState:
173
173
  @pulumi.getter
174
174
  def username(self) -> Optional[pulumi.Input[str]]:
175
175
  """
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.
176
+ 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
177
  """
178
178
  return pulumi.get(self, "username")
179
179
 
@@ -198,22 +198,21 @@ class OpenSearchAclRule(pulumi.CustomResource):
198
198
 
199
199
  ## Example Usage
200
200
 
201
- <!--Start PulumiCodeChooser -->
202
201
  ```python
203
202
  import pulumi
204
203
  import pulumi_aiven as aiven
205
204
 
206
- os_user = aiven.OpensearchUser("osUser",
207
- project=var["aiven_project_name"],
208
- service_name=aiven_opensearch["os_test"]["service_name"],
205
+ os_user = aiven.OpensearchUser("os_user",
206
+ project=aiven_project_name,
207
+ service_name=os_test["serviceName"],
209
208
  username="documentation-user-1")
210
- os_user2 = aiven.OpensearchUser("osUser2",
211
- project=var["aiven_project_name"],
212
- service_name=aiven_opensearch["os_test"]["service_name"],
209
+ os_user2 = aiven.OpensearchUser("os_user_2",
210
+ project=aiven_project_name,
211
+ service_name=os_test["serviceName"],
213
212
  username="documentation-user-2")
214
- os_acls_config = aiven.OpenSearchAclConfig("osAclsConfig",
215
- project=var["aiven_project_name"],
216
- service_name=aiven_opensearch["os_test"]["service_name"],
213
+ os_acls_config = aiven.OpenSearchAclConfig("os_acls_config",
214
+ project=aiven_project_name,
215
+ service_name=os_test["serviceName"],
217
216
  enabled=True,
218
217
  extended_acl=False)
219
218
  acl_rules = [
@@ -246,7 +245,7 @@ class OpenSearchAclRule(pulumi.CustomResource):
246
245
  os_acl_rule = []
247
246
  def create_os_acl_rule(range_body):
248
247
  for range in [{"key": k, "value": v} for [k, v] in enumerate(range_body)]:
249
- os_acl_rule.append(aiven.OpenSearchAclRule(f"osAclRule-{range['key']}",
248
+ os_acl_rule.append(aiven.OpenSearchAclRule(f"os_acl_rule-{range['key']}",
250
249
  project=os_acls_config.project,
251
250
  service_name=os_acls_config.service_name,
252
251
  username=range["value"]["username"],
@@ -255,21 +254,20 @@ class OpenSearchAclRule(pulumi.CustomResource):
255
254
 
256
255
  pulumi.Output.all({i: v for i, v in acl_rules}).apply(lambda resolved_outputs: create_os_acl_rule(resolved_outputs[0]))
257
256
  ```
258
- <!--End PulumiCodeChooser -->
259
257
 
260
258
  ## Import
261
259
 
262
260
  ```sh
263
- $ pulumi import aiven:index/openSearchAclRule:OpenSearchAclRule os_acl_rule project/service_name/username/index
261
+ $ pulumi import aiven:index/openSearchAclRule:OpenSearchAclRule os_acl_rule PROJECT/SERVICE_NAME/USERNAME/INDEX
264
262
  ```
265
263
 
266
264
  :param str resource_name: The name of the resource.
267
265
  :param pulumi.ResourceOptions opts: Options for the resource.
268
- :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.
266
+ :param pulumi.Input[str] index: The index pattern for this ACL entry. Maximum length: `249`. Changing this property forces recreation of the resource.
269
267
  :param pulumi.Input[str] permission: The permissions for this ACL entry. The possible values are `deny`, `admin`, `read`, `readwrite` and `write`.
270
- :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.
271
- :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.
272
- :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.
268
+ :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.
269
+ :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.
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. Changing this property forces recreation of the resource.
273
271
  """
274
272
  ...
275
273
  @overload
@@ -282,22 +280,21 @@ class OpenSearchAclRule(pulumi.CustomResource):
282
280
 
283
281
  ## Example Usage
284
282
 
285
- <!--Start PulumiCodeChooser -->
286
283
  ```python
287
284
  import pulumi
288
285
  import pulumi_aiven as aiven
289
286
 
290
- os_user = aiven.OpensearchUser("osUser",
291
- project=var["aiven_project_name"],
292
- service_name=aiven_opensearch["os_test"]["service_name"],
287
+ os_user = aiven.OpensearchUser("os_user",
288
+ project=aiven_project_name,
289
+ service_name=os_test["serviceName"],
293
290
  username="documentation-user-1")
294
- os_user2 = aiven.OpensearchUser("osUser2",
295
- project=var["aiven_project_name"],
296
- service_name=aiven_opensearch["os_test"]["service_name"],
291
+ os_user2 = aiven.OpensearchUser("os_user_2",
292
+ project=aiven_project_name,
293
+ service_name=os_test["serviceName"],
297
294
  username="documentation-user-2")
298
- os_acls_config = aiven.OpenSearchAclConfig("osAclsConfig",
299
- project=var["aiven_project_name"],
300
- service_name=aiven_opensearch["os_test"]["service_name"],
295
+ os_acls_config = aiven.OpenSearchAclConfig("os_acls_config",
296
+ project=aiven_project_name,
297
+ service_name=os_test["serviceName"],
301
298
  enabled=True,
302
299
  extended_acl=False)
303
300
  acl_rules = [
@@ -330,7 +327,7 @@ class OpenSearchAclRule(pulumi.CustomResource):
330
327
  os_acl_rule = []
331
328
  def create_os_acl_rule(range_body):
332
329
  for range in [{"key": k, "value": v} for [k, v] in enumerate(range_body)]:
333
- os_acl_rule.append(aiven.OpenSearchAclRule(f"osAclRule-{range['key']}",
330
+ os_acl_rule.append(aiven.OpenSearchAclRule(f"os_acl_rule-{range['key']}",
334
331
  project=os_acls_config.project,
335
332
  service_name=os_acls_config.service_name,
336
333
  username=range["value"]["username"],
@@ -339,12 +336,11 @@ class OpenSearchAclRule(pulumi.CustomResource):
339
336
 
340
337
  pulumi.Output.all({i: v for i, v in acl_rules}).apply(lambda resolved_outputs: create_os_acl_rule(resolved_outputs[0]))
341
338
  ```
342
- <!--End PulumiCodeChooser -->
343
339
 
344
340
  ## Import
345
341
 
346
342
  ```sh
347
- $ pulumi import aiven:index/openSearchAclRule:OpenSearchAclRule os_acl_rule project/service_name/username/index
343
+ $ pulumi import aiven:index/openSearchAclRule:OpenSearchAclRule os_acl_rule PROJECT/SERVICE_NAME/USERNAME/INDEX
348
344
  ```
349
345
 
350
346
  :param str resource_name: The name of the resource.
@@ -413,11 +409,11 @@ class OpenSearchAclRule(pulumi.CustomResource):
413
409
  :param str resource_name: The unique name of the resulting resource.
414
410
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
415
411
  :param pulumi.ResourceOptions opts: Options for the resource.
416
- :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.
412
+ :param pulumi.Input[str] index: The index pattern for this ACL entry. Maximum length: `249`. Changing this property forces recreation of the resource.
417
413
  :param pulumi.Input[str] permission: The permissions for this ACL entry. The possible values are `deny`, `admin`, `read`, `readwrite` and `write`.
418
- :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.
419
- :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.
420
- :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.
414
+ :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.
415
+ :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.
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. Changing this property forces recreation of the resource.
421
417
  """
422
418
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
423
419
 
@@ -434,7 +430,7 @@ class OpenSearchAclRule(pulumi.CustomResource):
434
430
  @pulumi.getter
435
431
  def index(self) -> pulumi.Output[str]:
436
432
  """
437
- The index pattern for this ACL entry. Maximum length: `249`. This property cannot be changed, doing so forces recreation of the resource.
433
+ The index pattern for this ACL entry. Maximum length: `249`. Changing this property forces recreation of the resource.
438
434
  """
439
435
  return pulumi.get(self, "index")
440
436
 
@@ -450,7 +446,7 @@ class OpenSearchAclRule(pulumi.CustomResource):
450
446
  @pulumi.getter
451
447
  def project(self) -> pulumi.Output[str]:
452
448
  """
453
- Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
449
+ 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.
454
450
  """
455
451
  return pulumi.get(self, "project")
456
452
 
@@ -458,7 +454,7 @@ class OpenSearchAclRule(pulumi.CustomResource):
458
454
  @pulumi.getter(name="serviceName")
459
455
  def service_name(self) -> pulumi.Output[str]:
460
456
  """
461
- 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.
457
+ 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.
462
458
  """
463
459
  return pulumi.get(self, "service_name")
464
460
 
@@ -466,7 +462,7 @@ class OpenSearchAclRule(pulumi.CustomResource):
466
462
  @pulumi.getter
467
463
  def username(self) -> pulumi.Output[str]:
468
464
  """
469
- 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.
465
+ 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.
470
466
  """
471
467
  return pulumi.get(self, "username")
472
468