pulumi-aiven 6.13.0a1711361534__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 (132) hide show
  1. pulumi_aiven/_inputs.py +200 -262
  2. pulumi_aiven/account.py +2 -6
  3. pulumi_aiven/account_authentication.py +2 -2
  4. pulumi_aiven/account_team.py +6 -6
  5. pulumi_aiven/account_team_member.py +6 -10
  6. pulumi_aiven/account_team_project.py +12 -12
  7. pulumi_aiven/aws_privatelink.py +18 -22
  8. pulumi_aiven/aws_vpc_peering_connection.py +8 -12
  9. pulumi_aiven/azure_privatelink.py +18 -22
  10. pulumi_aiven/azure_privatelink_connection_approval.py +112 -14
  11. pulumi_aiven/azure_vpc_peering_connection.py +6 -10
  12. pulumi_aiven/billing_group.py +18 -18
  13. pulumi_aiven/cassandra.py +25 -57
  14. pulumi_aiven/cassandra_user.py +18 -22
  15. pulumi_aiven/clickhouse.py +25 -57
  16. pulumi_aiven/clickhouse_database.py +24 -26
  17. pulumi_aiven/clickhouse_grant.py +35 -37
  18. pulumi_aiven/clickhouse_role.py +16 -20
  19. pulumi_aiven/clickhouse_user.py +18 -22
  20. pulumi_aiven/connection_pool.py +24 -28
  21. pulumi_aiven/dragonfly.py +124 -263
  22. pulumi_aiven/flink.py +32 -36
  23. pulumi_aiven/flink_application.py +22 -24
  24. pulumi_aiven/flink_application_deployment.py +21 -21
  25. pulumi_aiven/flink_application_version.py +96 -14
  26. pulumi_aiven/gcp_privatelink.py +21 -21
  27. pulumi_aiven/gcp_privatelink_connection_approval.py +21 -21
  28. pulumi_aiven/gcp_vpc_peering_connection.py +4 -8
  29. pulumi_aiven/get_account.py +0 -4
  30. pulumi_aiven/get_aws_privatelink.py +10 -14
  31. pulumi_aiven/get_aws_vpc_peering_connection.py +6 -10
  32. pulumi_aiven/get_azure_privatelink.py +10 -14
  33. pulumi_aiven/get_azure_vpc_peering_connection.py +2 -6
  34. pulumi_aiven/get_billing_group.py +2 -2
  35. pulumi_aiven/get_cassanda.py +7 -24
  36. pulumi_aiven/get_cassandra.py +7 -24
  37. pulumi_aiven/get_cassandra_user.py +10 -14
  38. pulumi_aiven/get_clickhouse.py +7 -24
  39. pulumi_aiven/get_clickhouse_database.py +10 -14
  40. pulumi_aiven/get_clickhouse_user.py +10 -14
  41. pulumi_aiven/get_connection_pool.py +10 -14
  42. pulumi_aiven/get_dragonfly.py +27 -20
  43. pulumi_aiven/get_flink.py +6 -10
  44. pulumi_aiven/get_flink_application.py +8 -12
  45. pulumi_aiven/get_flink_application_version.py +8 -12
  46. pulumi_aiven/get_gcp_vpc_peering_connection.py +2 -6
  47. pulumi_aiven/get_grafana.py +7 -24
  48. pulumi_aiven/get_kafka.py +13 -17
  49. pulumi_aiven/get_kafka_acl.py +10 -14
  50. pulumi_aiven/get_kafka_connect.py +7 -24
  51. pulumi_aiven/get_kafka_connector.py +10 -14
  52. pulumi_aiven/get_kafka_mirror_maker.py +7 -24
  53. pulumi_aiven/get_kafka_schema.py +10 -14
  54. pulumi_aiven/get_kafka_schema_configuration.py +10 -14
  55. pulumi_aiven/get_kafka_schema_registry_acl.py +6 -6
  56. pulumi_aiven/get_kafka_topic.py +16 -20
  57. pulumi_aiven/get_kafka_user.py +10 -14
  58. pulumi_aiven/get_m3_aggregator.py +7 -24
  59. pulumi_aiven/get_m3_db.py +7 -24
  60. pulumi_aiven/get_m3db_user.py +10 -14
  61. pulumi_aiven/get_mirror_maker_replication_flow.py +14 -18
  62. pulumi_aiven/get_my_sql.py +7 -24
  63. pulumi_aiven/get_mysql_database.py +10 -14
  64. pulumi_aiven/get_mysql_user.py +10 -14
  65. pulumi_aiven/get_open_search.py +6 -10
  66. pulumi_aiven/get_open_search_acl_config.py +10 -14
  67. pulumi_aiven/get_open_search_acl_rule.py +10 -14
  68. pulumi_aiven/get_opensearch_security_plugin_config.py +10 -14
  69. pulumi_aiven/get_opensearch_user.py +10 -14
  70. pulumi_aiven/get_organization.py +0 -4
  71. pulumi_aiven/get_organization_user_group.py +2 -6
  72. pulumi_aiven/get_pg.py +6 -10
  73. pulumi_aiven/get_pg_database.py +10 -14
  74. pulumi_aiven/get_pg_user.py +10 -14
  75. pulumi_aiven/get_project.py +17 -21
  76. pulumi_aiven/get_project_user.py +9 -13
  77. pulumi_aiven/get_project_vpc.py +2 -6
  78. pulumi_aiven/get_redis.py +7 -24
  79. pulumi_aiven/get_redis_user.py +10 -14
  80. pulumi_aiven/get_service_component.py +4 -8
  81. pulumi_aiven/get_service_integration.py +19 -33
  82. pulumi_aiven/get_service_integration_endpoint.py +2 -6
  83. pulumi_aiven/get_transit_gateway_vpc_attachment.py +2 -6
  84. pulumi_aiven/grafana.py +82 -267
  85. pulumi_aiven/influx_db.py +21 -21
  86. pulumi_aiven/influxdb_database.py +21 -21
  87. pulumi_aiven/influxdb_user.py +21 -21
  88. pulumi_aiven/kafka.py +50 -54
  89. pulumi_aiven/kafka_acl.py +20 -24
  90. pulumi_aiven/kafka_connect.py +80 -267
  91. pulumi_aiven/kafka_connector.py +26 -30
  92. pulumi_aiven/kafka_mirror_maker.py +80 -267
  93. pulumi_aiven/kafka_schema.py +18 -22
  94. pulumi_aiven/kafka_schema_configuration.py +20 -24
  95. pulumi_aiven/kafka_schema_registry_acl.py +54 -14
  96. pulumi_aiven/kafka_topic.py +84 -46
  97. pulumi_aiven/kafka_user.py +18 -22
  98. pulumi_aiven/m3_aggregator.py +80 -267
  99. pulumi_aiven/m3_db.py +80 -267
  100. pulumi_aiven/m3db_user.py +16 -20
  101. pulumi_aiven/mirror_maker_replication_flow.py +22 -26
  102. pulumi_aiven/my_sql.py +80 -267
  103. pulumi_aiven/mysql_database.py +20 -24
  104. pulumi_aiven/mysql_user.py +18 -22
  105. pulumi_aiven/open_search.py +27 -31
  106. pulumi_aiven/open_search_acl_config.py +28 -36
  107. pulumi_aiven/open_search_acl_rule.py +36 -40
  108. pulumi_aiven/opensearch_security_plugin_config.py +28 -32
  109. pulumi_aiven/opensearch_user.py +18 -22
  110. pulumi_aiven/organization.py +2 -6
  111. pulumi_aiven/organization_group_project.py +46 -0
  112. pulumi_aiven/organization_user.py +2 -20
  113. pulumi_aiven/organization_user_group.py +4 -6
  114. pulumi_aiven/organization_user_group_member.py +8 -10
  115. pulumi_aiven/organizational_unit.py +6 -6
  116. pulumi_aiven/outputs.py +271 -390
  117. pulumi_aiven/pg.py +30 -30
  118. pulumi_aiven/pg_database.py +20 -24
  119. pulumi_aiven/pg_user.py +18 -22
  120. pulumi_aiven/project.py +75 -79
  121. pulumi_aiven/project_user.py +24 -28
  122. pulumi_aiven/project_vpc.py +31 -7
  123. pulumi_aiven/redis.py +80 -267
  124. pulumi_aiven/redis_user.py +18 -22
  125. pulumi_aiven/service_integration.py +54 -58
  126. pulumi_aiven/static_ip.py +7 -7
  127. pulumi_aiven/transit_gateway_vpc_attachment.py +4 -8
  128. {pulumi_aiven-6.13.0a1711361534.dist-info → pulumi_aiven-6.14.0.dist-info}/METADATA +1 -1
  129. pulumi_aiven-6.14.0.dist-info/RECORD +150 -0
  130. pulumi_aiven-6.13.0a1711361534.dist-info/RECORD +0 -150
  131. {pulumi_aiven-6.13.0a1711361534.dist-info → pulumi_aiven-6.14.0.dist-info}/WHEEL +0 -0
  132. {pulumi_aiven-6.13.0a1711361534.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. Changing this property 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. Changing this property 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. Changing this property 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. Changing this property 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. Changing this property 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. Changing this property 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. Changing this property 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. Changing this property 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. Changing this property 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. Changing this property 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. Changing this property 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. Changing this property 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. Changing this property 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. Changing this property 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
 
@@ -23,8 +23,8 @@ class OpenSearchAclRuleArgs:
23
23
  The set of arguments for constructing a OpenSearchAclRule resource.
24
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. Changing this property 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. Changing this property 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
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)
@@ -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. Changing this property 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. Changing this property 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
 
@@ -106,8 +106,8 @@ class _OpenSearchAclRuleState:
106
106
  Input properties used for looking up and filtering OpenSearchAclRule resources.
107
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. Changing this property 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. Changing this property 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
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:
@@ -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. Changing this property 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. Changing this property 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
 
@@ -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,20 +254,19 @@ 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
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. Changing this property 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. Changing this property 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.
272
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
  ...
@@ -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.
@@ -415,8 +411,8 @@ class OpenSearchAclRule(pulumi.CustomResource):
415
411
  :param pulumi.ResourceOptions opts: Options for the resource.
416
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. Changing this property 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. Changing this property 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.
420
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))
@@ -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. Changing this property 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. Changing this property 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
 
@@ -20,8 +20,8 @@ class OpensearchSecurityPluginConfigArgs:
20
20
  """
21
21
  The set of arguments for constructing a OpensearchSecurityPluginConfig resource.
22
22
  :param pulumi.Input[str] admin_password: The password for the os-sec-admin user.
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. Changing this property 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. Changing this property 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
  """
26
26
  pulumi.set(__self__, "admin_password", admin_password)
27
27
  pulumi.set(__self__, "project", project)
@@ -43,7 +43,7 @@ class OpensearchSecurityPluginConfigArgs:
43
43
  @pulumi.getter
44
44
  def project(self) -> pulumi.Input[str]:
45
45
  """
46
- Identifies 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.
46
+ 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.
47
47
  """
48
48
  return pulumi.get(self, "project")
49
49
 
@@ -55,7 +55,7 @@ class OpensearchSecurityPluginConfigArgs:
55
55
  @pulumi.getter(name="serviceName")
56
56
  def service_name(self) -> pulumi.Input[str]:
57
57
  """
58
- Specifies 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.
58
+ 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.
59
59
  """
60
60
  return pulumi.get(self, "service_name")
61
61
 
@@ -79,8 +79,8 @@ class _OpensearchSecurityPluginConfigState:
79
79
  :param pulumi.Input[str] admin_password: The password for the os-sec-admin user.
80
80
  :param pulumi.Input[bool] available: Whether the security plugin is available. This is always true for recently created services.
81
81
  :param pulumi.Input[bool] enabled: Whether the security plugin is enabled. This is always true for recently created services.
82
- :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. Changing this property forces recreation of the resource.
83
- :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. Changing this property forces recreation of the resource.
82
+ :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.
83
+ :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.
84
84
  """
85
85
  if admin_enabled is not None:
86
86
  pulumi.set(__self__, "admin_enabled", admin_enabled)
@@ -147,7 +147,7 @@ class _OpensearchSecurityPluginConfigState:
147
147
  @pulumi.getter
148
148
  def project(self) -> Optional[pulumi.Input[str]]:
149
149
  """
150
- Identifies 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
+ 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.
151
151
  """
152
152
  return pulumi.get(self, "project")
153
153
 
@@ -159,7 +159,7 @@ class _OpensearchSecurityPluginConfigState:
159
159
  @pulumi.getter(name="serviceName")
160
160
  def service_name(self) -> Optional[pulumi.Input[str]]:
161
161
  """
162
- Specifies 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.
162
+ 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.
163
163
  """
164
164
  return pulumi.get(self, "service_name")
165
165
 
@@ -182,41 +182,39 @@ class OpensearchSecurityPluginConfig(pulumi.CustomResource):
182
182
 
183
183
  ## Example Usage
184
184
 
185
- <!--Start PulumiCodeChooser -->
186
185
  ```python
187
186
  import pulumi
188
187
  import pulumi_aiven as aiven
189
188
 
190
- foo_project = aiven.get_project(project="example_project")
189
+ foo = aiven.get_project(project="example_project")
191
190
  bar = aiven.OpenSearch("bar",
192
- project=foo_project.project,
191
+ project=foo.project,
193
192
  cloud_name="google-europe-west1",
194
193
  plan="startup-4",
195
194
  service_name="example_service_name",
196
195
  maintenance_window_dow="monday",
197
196
  maintenance_window_time="10:00:00")
198
- foo_opensearch_user = aiven.OpensearchUser("fooOpensearchUser",
197
+ foo_opensearch_user = aiven.OpensearchUser("foo",
199
198
  service_name=bar.service_name,
200
- project=foo_project.project,
199
+ project=foo.project,
201
200
  username="user-example")
202
- foo_opensearch_security_plugin_config = aiven.OpensearchSecurityPluginConfig("fooOpensearchSecurityPluginConfig",
203
- project=foo_project.project,
201
+ foo_opensearch_security_plugin_config = aiven.OpensearchSecurityPluginConfig("foo",
202
+ project=foo.project,
204
203
  service_name=bar.service_name,
205
204
  admin_password="ThisIsATest123^=^")
206
205
  ```
207
- <!--End PulumiCodeChooser -->
208
206
 
209
207
  ## Import
210
208
 
211
209
  ```sh
212
- $ pulumi import aiven:index/opensearchSecurityPluginConfig:OpensearchSecurityPluginConfig foo project/service_name
210
+ $ pulumi import aiven:index/opensearchSecurityPluginConfig:OpensearchSecurityPluginConfig foo PROJECT/SERVICE_NAME
213
211
  ```
214
212
 
215
213
  :param str resource_name: The name of the resource.
216
214
  :param pulumi.ResourceOptions opts: Options for the resource.
217
215
  :param pulumi.Input[str] admin_password: The password for the os-sec-admin user.
218
- :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. Changing this property forces recreation of the resource.
219
- :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. Changing this property forces recreation of the resource.
216
+ :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.
217
+ :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.
220
218
  """
221
219
  ...
222
220
  @overload
@@ -229,34 +227,32 @@ class OpensearchSecurityPluginConfig(pulumi.CustomResource):
229
227
 
230
228
  ## Example Usage
231
229
 
232
- <!--Start PulumiCodeChooser -->
233
230
  ```python
234
231
  import pulumi
235
232
  import pulumi_aiven as aiven
236
233
 
237
- foo_project = aiven.get_project(project="example_project")
234
+ foo = aiven.get_project(project="example_project")
238
235
  bar = aiven.OpenSearch("bar",
239
- project=foo_project.project,
236
+ project=foo.project,
240
237
  cloud_name="google-europe-west1",
241
238
  plan="startup-4",
242
239
  service_name="example_service_name",
243
240
  maintenance_window_dow="monday",
244
241
  maintenance_window_time="10:00:00")
245
- foo_opensearch_user = aiven.OpensearchUser("fooOpensearchUser",
242
+ foo_opensearch_user = aiven.OpensearchUser("foo",
246
243
  service_name=bar.service_name,
247
- project=foo_project.project,
244
+ project=foo.project,
248
245
  username="user-example")
249
- foo_opensearch_security_plugin_config = aiven.OpensearchSecurityPluginConfig("fooOpensearchSecurityPluginConfig",
250
- project=foo_project.project,
246
+ foo_opensearch_security_plugin_config = aiven.OpensearchSecurityPluginConfig("foo",
247
+ project=foo.project,
251
248
  service_name=bar.service_name,
252
249
  admin_password="ThisIsATest123^=^")
253
250
  ```
254
- <!--End PulumiCodeChooser -->
255
251
 
256
252
  ## Import
257
253
 
258
254
  ```sh
259
- $ pulumi import aiven:index/opensearchSecurityPluginConfig:OpensearchSecurityPluginConfig foo project/service_name
255
+ $ pulumi import aiven:index/opensearchSecurityPluginConfig:OpensearchSecurityPluginConfig foo PROJECT/SERVICE_NAME
260
256
  ```
261
257
 
262
258
  :param str resource_name: The name of the resource.
@@ -327,8 +323,8 @@ class OpensearchSecurityPluginConfig(pulumi.CustomResource):
327
323
  :param pulumi.Input[str] admin_password: The password for the os-sec-admin user.
328
324
  :param pulumi.Input[bool] available: Whether the security plugin is available. This is always true for recently created services.
329
325
  :param pulumi.Input[bool] enabled: Whether the security plugin is enabled. This is always true for recently created services.
330
- :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. Changing this property forces recreation of the resource.
331
- :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. Changing this property forces recreation of the resource.
326
+ :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.
327
+ :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.
332
328
  """
333
329
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
334
330
 
@@ -378,7 +374,7 @@ class OpensearchSecurityPluginConfig(pulumi.CustomResource):
378
374
  @pulumi.getter
379
375
  def project(self) -> pulumi.Output[str]:
380
376
  """
381
- Identifies 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.
377
+ 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.
382
378
  """
383
379
  return pulumi.get(self, "project")
384
380
 
@@ -386,7 +382,7 @@ class OpensearchSecurityPluginConfig(pulumi.CustomResource):
386
382
  @pulumi.getter(name="serviceName")
387
383
  def service_name(self) -> pulumi.Output[str]:
388
384
  """
389
- Specifies 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.
385
+ 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.
390
386
  """
391
387
  return pulumi.get(self, "service_name")
392
388