pulumi-aiven 6.14.0__py3-none-any.whl → 6.14.0a1711516617__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.
- pulumi_aiven/_inputs.py +262 -200
- pulumi_aiven/account.py +6 -2
- pulumi_aiven/account_authentication.py +2 -2
- pulumi_aiven/account_team.py +6 -6
- pulumi_aiven/account_team_member.py +10 -6
- pulumi_aiven/account_team_project.py +12 -12
- pulumi_aiven/aws_privatelink.py +22 -18
- pulumi_aiven/aws_vpc_peering_connection.py +12 -8
- pulumi_aiven/azure_privatelink.py +22 -18
- pulumi_aiven/azure_privatelink_connection_approval.py +14 -112
- pulumi_aiven/azure_vpc_peering_connection.py +10 -6
- pulumi_aiven/billing_group.py +18 -18
- pulumi_aiven/cassandra.py +57 -25
- pulumi_aiven/cassandra_user.py +22 -18
- pulumi_aiven/clickhouse.py +57 -25
- pulumi_aiven/clickhouse_database.py +26 -24
- pulumi_aiven/clickhouse_grant.py +37 -35
- pulumi_aiven/clickhouse_role.py +20 -16
- pulumi_aiven/clickhouse_user.py +22 -18
- pulumi_aiven/connection_pool.py +28 -24
- pulumi_aiven/dragonfly.py +263 -124
- pulumi_aiven/flink.py +36 -32
- pulumi_aiven/flink_application.py +24 -22
- pulumi_aiven/flink_application_deployment.py +21 -21
- pulumi_aiven/flink_application_version.py +14 -96
- pulumi_aiven/gcp_privatelink.py +21 -21
- pulumi_aiven/gcp_privatelink_connection_approval.py +21 -21
- pulumi_aiven/gcp_vpc_peering_connection.py +8 -4
- pulumi_aiven/get_account.py +4 -0
- pulumi_aiven/get_aws_privatelink.py +14 -10
- pulumi_aiven/get_aws_vpc_peering_connection.py +10 -6
- pulumi_aiven/get_azure_privatelink.py +14 -10
- pulumi_aiven/get_azure_vpc_peering_connection.py +6 -2
- pulumi_aiven/get_billing_group.py +2 -2
- pulumi_aiven/get_cassanda.py +24 -7
- pulumi_aiven/get_cassandra.py +24 -7
- pulumi_aiven/get_cassandra_user.py +14 -10
- pulumi_aiven/get_clickhouse.py +24 -7
- pulumi_aiven/get_clickhouse_database.py +14 -10
- pulumi_aiven/get_clickhouse_user.py +14 -10
- pulumi_aiven/get_connection_pool.py +14 -10
- pulumi_aiven/get_dragonfly.py +20 -27
- pulumi_aiven/get_flink.py +10 -6
- pulumi_aiven/get_flink_application.py +12 -8
- pulumi_aiven/get_flink_application_version.py +12 -8
- pulumi_aiven/get_gcp_vpc_peering_connection.py +6 -2
- pulumi_aiven/get_grafana.py +24 -7
- pulumi_aiven/get_kafka.py +17 -13
- pulumi_aiven/get_kafka_acl.py +14 -10
- pulumi_aiven/get_kafka_connect.py +24 -7
- pulumi_aiven/get_kafka_connector.py +14 -10
- pulumi_aiven/get_kafka_mirror_maker.py +24 -7
- pulumi_aiven/get_kafka_schema.py +14 -10
- pulumi_aiven/get_kafka_schema_configuration.py +14 -10
- pulumi_aiven/get_kafka_schema_registry_acl.py +6 -6
- pulumi_aiven/get_kafka_topic.py +20 -16
- pulumi_aiven/get_kafka_user.py +14 -10
- pulumi_aiven/get_m3_aggregator.py +24 -7
- pulumi_aiven/get_m3_db.py +24 -7
- pulumi_aiven/get_m3db_user.py +14 -10
- pulumi_aiven/get_mirror_maker_replication_flow.py +18 -14
- pulumi_aiven/get_my_sql.py +24 -7
- pulumi_aiven/get_mysql_database.py +14 -10
- pulumi_aiven/get_mysql_user.py +14 -10
- pulumi_aiven/get_open_search.py +10 -6
- pulumi_aiven/get_open_search_acl_config.py +14 -10
- pulumi_aiven/get_open_search_acl_rule.py +14 -10
- pulumi_aiven/get_opensearch_security_plugin_config.py +14 -10
- pulumi_aiven/get_opensearch_user.py +14 -10
- pulumi_aiven/get_organization.py +4 -0
- pulumi_aiven/get_organization_user_group.py +6 -2
- pulumi_aiven/get_pg.py +10 -6
- pulumi_aiven/get_pg_database.py +14 -10
- pulumi_aiven/get_pg_user.py +14 -10
- pulumi_aiven/get_project.py +21 -17
- pulumi_aiven/get_project_user.py +13 -9
- pulumi_aiven/get_project_vpc.py +6 -2
- pulumi_aiven/get_redis.py +24 -7
- pulumi_aiven/get_redis_user.py +14 -10
- pulumi_aiven/get_service_component.py +8 -4
- pulumi_aiven/get_service_integration.py +33 -19
- pulumi_aiven/get_service_integration_endpoint.py +6 -2
- pulumi_aiven/get_transit_gateway_vpc_attachment.py +6 -2
- pulumi_aiven/grafana.py +267 -82
- pulumi_aiven/influx_db.py +21 -21
- pulumi_aiven/influxdb_database.py +21 -21
- pulumi_aiven/influxdb_user.py +21 -21
- pulumi_aiven/kafka.py +54 -50
- pulumi_aiven/kafka_acl.py +24 -20
- pulumi_aiven/kafka_connect.py +267 -80
- pulumi_aiven/kafka_connector.py +30 -26
- pulumi_aiven/kafka_mirror_maker.py +267 -80
- pulumi_aiven/kafka_schema.py +22 -18
- pulumi_aiven/kafka_schema_configuration.py +24 -20
- pulumi_aiven/kafka_schema_registry_acl.py +14 -54
- pulumi_aiven/kafka_topic.py +46 -84
- pulumi_aiven/kafka_user.py +22 -18
- pulumi_aiven/m3_aggregator.py +267 -80
- pulumi_aiven/m3_db.py +267 -80
- pulumi_aiven/m3db_user.py +20 -16
- pulumi_aiven/mirror_maker_replication_flow.py +26 -22
- pulumi_aiven/my_sql.py +267 -80
- pulumi_aiven/mysql_database.py +24 -20
- pulumi_aiven/mysql_user.py +22 -18
- pulumi_aiven/open_search.py +31 -27
- pulumi_aiven/open_search_acl_config.py +36 -28
- pulumi_aiven/open_search_acl_rule.py +40 -36
- pulumi_aiven/opensearch_security_plugin_config.py +32 -28
- pulumi_aiven/opensearch_user.py +22 -18
- pulumi_aiven/organization.py +6 -2
- pulumi_aiven/organization_group_project.py +0 -46
- pulumi_aiven/organization_user.py +20 -2
- pulumi_aiven/organization_user_group.py +6 -4
- pulumi_aiven/organization_user_group_member.py +10 -8
- pulumi_aiven/organizational_unit.py +6 -6
- pulumi_aiven/outputs.py +390 -271
- pulumi_aiven/pg.py +30 -30
- pulumi_aiven/pg_database.py +24 -20
- pulumi_aiven/pg_user.py +22 -18
- pulumi_aiven/project.py +79 -75
- pulumi_aiven/project_user.py +28 -24
- pulumi_aiven/project_vpc.py +7 -31
- pulumi_aiven/redis.py +267 -80
- pulumi_aiven/redis_user.py +22 -18
- pulumi_aiven/service_integration.py +58 -54
- pulumi_aiven/static_ip.py +7 -7
- pulumi_aiven/transit_gateway_vpc_attachment.py +8 -4
- {pulumi_aiven-6.14.0.dist-info → pulumi_aiven-6.14.0a1711516617.dist-info}/METADATA +1 -1
- pulumi_aiven-6.14.0a1711516617.dist-info/RECORD +150 -0
- pulumi_aiven-6.14.0.dist-info/RECORD +0 -150
- {pulumi_aiven-6.14.0.dist-info → pulumi_aiven-6.14.0a1711516617.dist-info}/WHEEL +0 -0
- {pulumi_aiven-6.14.0.dist-info → pulumi_aiven-6.14.0a1711516617.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:
|
|
24
|
-
:param pulumi.Input[str] service_name:
|
|
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.
|
|
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
|
-
|
|
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.
|
|
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
|
-
|
|
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.
|
|
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:
|
|
96
|
-
:param pulumi.Input[str] service_name:
|
|
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.
|
|
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
|
-
|
|
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.
|
|
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
|
-
|
|
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.
|
|
148
148
|
"""
|
|
149
149
|
return pulumi.get(self, "service_name")
|
|
150
150
|
|
|
@@ -168,39 +168,43 @@ class OpenSearchAclConfig(pulumi.CustomResource):
|
|
|
168
168
|
|
|
169
169
|
## Example Usage
|
|
170
170
|
|
|
171
|
+
<!--Start PulumiCodeChooser -->
|
|
171
172
|
```python
|
|
172
173
|
import pulumi
|
|
173
174
|
import pulumi_aiven as aiven
|
|
174
175
|
|
|
175
|
-
|
|
176
|
+
foo_project = aiven.get_project(project="example_project")
|
|
176
177
|
bar = aiven.OpenSearch("bar",
|
|
177
|
-
project=
|
|
178
|
+
project=foo_project.project,
|
|
178
179
|
cloud_name="google-europe-west1",
|
|
179
180
|
plan="startup-4",
|
|
180
181
|
service_name="example_service_name",
|
|
181
182
|
maintenance_window_dow="monday",
|
|
182
183
|
maintenance_window_time="10:00:00")
|
|
183
|
-
foo_opensearch_user = aiven.OpensearchUser("
|
|
184
|
+
foo_opensearch_user = aiven.OpensearchUser("fooOpensearchUser",
|
|
184
185
|
service_name=bar.service_name,
|
|
185
|
-
project=
|
|
186
|
+
project=foo_project.project,
|
|
186
187
|
username="user-example")
|
|
187
|
-
foo_open_search_acl_config = aiven.OpenSearchAclConfig("
|
|
188
|
-
project=
|
|
188
|
+
foo_open_search_acl_config = aiven.OpenSearchAclConfig("fooOpenSearchAclConfig",
|
|
189
|
+
project=foo_project.project,
|
|
189
190
|
service_name=bar.service_name,
|
|
190
191
|
enabled=True,
|
|
191
192
|
extended_acl=False)
|
|
192
193
|
```
|
|
194
|
+
<!--End PulumiCodeChooser -->
|
|
193
195
|
|
|
194
196
|
## Import
|
|
195
197
|
|
|
196
|
-
|
|
198
|
+
```sh
|
|
199
|
+
$ pulumi import aiven:index/openSearchAclConfig:OpenSearchAclConfig foo project/service_name
|
|
200
|
+
```
|
|
197
201
|
|
|
198
202
|
:param str resource_name: The name of the resource.
|
|
199
203
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
200
204
|
:param pulumi.Input[bool] enabled: Enable OpenSearch ACLs. When disabled authenticated service users have unrestricted access. The default value is `true`.
|
|
201
205
|
: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`.
|
|
202
|
-
:param pulumi.Input[str] project:
|
|
203
|
-
:param pulumi.Input[str] service_name:
|
|
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.
|
|
204
208
|
"""
|
|
205
209
|
...
|
|
206
210
|
@overload
|
|
@@ -213,32 +217,36 @@ class OpenSearchAclConfig(pulumi.CustomResource):
|
|
|
213
217
|
|
|
214
218
|
## Example Usage
|
|
215
219
|
|
|
220
|
+
<!--Start PulumiCodeChooser -->
|
|
216
221
|
```python
|
|
217
222
|
import pulumi
|
|
218
223
|
import pulumi_aiven as aiven
|
|
219
224
|
|
|
220
|
-
|
|
225
|
+
foo_project = aiven.get_project(project="example_project")
|
|
221
226
|
bar = aiven.OpenSearch("bar",
|
|
222
|
-
project=
|
|
227
|
+
project=foo_project.project,
|
|
223
228
|
cloud_name="google-europe-west1",
|
|
224
229
|
plan="startup-4",
|
|
225
230
|
service_name="example_service_name",
|
|
226
231
|
maintenance_window_dow="monday",
|
|
227
232
|
maintenance_window_time="10:00:00")
|
|
228
|
-
foo_opensearch_user = aiven.OpensearchUser("
|
|
233
|
+
foo_opensearch_user = aiven.OpensearchUser("fooOpensearchUser",
|
|
229
234
|
service_name=bar.service_name,
|
|
230
|
-
project=
|
|
235
|
+
project=foo_project.project,
|
|
231
236
|
username="user-example")
|
|
232
|
-
foo_open_search_acl_config = aiven.OpenSearchAclConfig("
|
|
233
|
-
project=
|
|
237
|
+
foo_open_search_acl_config = aiven.OpenSearchAclConfig("fooOpenSearchAclConfig",
|
|
238
|
+
project=foo_project.project,
|
|
234
239
|
service_name=bar.service_name,
|
|
235
240
|
enabled=True,
|
|
236
241
|
extended_acl=False)
|
|
237
242
|
```
|
|
243
|
+
<!--End PulumiCodeChooser -->
|
|
238
244
|
|
|
239
245
|
## Import
|
|
240
246
|
|
|
241
|
-
|
|
247
|
+
```sh
|
|
248
|
+
$ pulumi import aiven:index/openSearchAclConfig:OpenSearchAclConfig foo project/service_name
|
|
249
|
+
```
|
|
242
250
|
|
|
243
251
|
:param str resource_name: The name of the resource.
|
|
244
252
|
:param OpenSearchAclConfigArgs args: The arguments to use to populate this resource's properties.
|
|
@@ -299,8 +307,8 @@ class OpenSearchAclConfig(pulumi.CustomResource):
|
|
|
299
307
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
300
308
|
:param pulumi.Input[bool] enabled: Enable OpenSearch ACLs. When disabled authenticated service users have unrestricted access. The default value is `true`.
|
|
301
309
|
: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`.
|
|
302
|
-
:param pulumi.Input[str] project:
|
|
303
|
-
:param pulumi.Input[str] service_name:
|
|
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.
|
|
304
312
|
"""
|
|
305
313
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
306
314
|
|
|
@@ -332,7 +340,7 @@ class OpenSearchAclConfig(pulumi.CustomResource):
|
|
|
332
340
|
@pulumi.getter
|
|
333
341
|
def project(self) -> pulumi.Output[str]:
|
|
334
342
|
"""
|
|
335
|
-
|
|
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.
|
|
336
344
|
"""
|
|
337
345
|
return pulumi.get(self, "project")
|
|
338
346
|
|
|
@@ -340,7 +348,7 @@ class OpenSearchAclConfig(pulumi.CustomResource):
|
|
|
340
348
|
@pulumi.getter(name="serviceName")
|
|
341
349
|
def service_name(self) -> pulumi.Output[str]:
|
|
342
350
|
"""
|
|
343
|
-
|
|
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.
|
|
344
352
|
"""
|
|
345
353
|
return pulumi.get(self, "service_name")
|
|
346
354
|
|
|
@@ -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:
|
|
27
|
-
:param pulumi.Input[str] service_name:
|
|
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.
|
|
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
|
-
|
|
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.
|
|
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
|
-
|
|
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.
|
|
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:
|
|
110
|
-
:param pulumi.Input[str] service_name:
|
|
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.
|
|
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
|
-
|
|
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.
|
|
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
|
-
|
|
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.
|
|
165
165
|
"""
|
|
166
166
|
return pulumi.get(self, "service_name")
|
|
167
167
|
|
|
@@ -198,21 +198,22 @@ class OpenSearchAclRule(pulumi.CustomResource):
|
|
|
198
198
|
|
|
199
199
|
## Example Usage
|
|
200
200
|
|
|
201
|
+
<!--Start PulumiCodeChooser -->
|
|
201
202
|
```python
|
|
202
203
|
import pulumi
|
|
203
204
|
import pulumi_aiven as aiven
|
|
204
205
|
|
|
205
|
-
os_user = aiven.OpensearchUser("
|
|
206
|
-
project=aiven_project_name,
|
|
207
|
-
service_name=os_test["
|
|
206
|
+
os_user = aiven.OpensearchUser("osUser",
|
|
207
|
+
project=var["aiven_project_name"],
|
|
208
|
+
service_name=aiven_opensearch["os_test"]["service_name"],
|
|
208
209
|
username="documentation-user-1")
|
|
209
|
-
os_user2 = aiven.OpensearchUser("
|
|
210
|
-
project=aiven_project_name,
|
|
211
|
-
service_name=os_test["
|
|
210
|
+
os_user2 = aiven.OpensearchUser("osUser2",
|
|
211
|
+
project=var["aiven_project_name"],
|
|
212
|
+
service_name=aiven_opensearch["os_test"]["service_name"],
|
|
212
213
|
username="documentation-user-2")
|
|
213
|
-
os_acls_config = aiven.OpenSearchAclConfig("
|
|
214
|
-
project=aiven_project_name,
|
|
215
|
-
service_name=os_test["
|
|
214
|
+
os_acls_config = aiven.OpenSearchAclConfig("osAclsConfig",
|
|
215
|
+
project=var["aiven_project_name"],
|
|
216
|
+
service_name=aiven_opensearch["os_test"]["service_name"],
|
|
216
217
|
enabled=True,
|
|
217
218
|
extended_acl=False)
|
|
218
219
|
acl_rules = [
|
|
@@ -245,7 +246,7 @@ class OpenSearchAclRule(pulumi.CustomResource):
|
|
|
245
246
|
os_acl_rule = []
|
|
246
247
|
def create_os_acl_rule(range_body):
|
|
247
248
|
for range in [{"key": k, "value": v} for [k, v] in enumerate(range_body)]:
|
|
248
|
-
os_acl_rule.append(aiven.OpenSearchAclRule(f"
|
|
249
|
+
os_acl_rule.append(aiven.OpenSearchAclRule(f"osAclRule-{range['key']}",
|
|
249
250
|
project=os_acls_config.project,
|
|
250
251
|
service_name=os_acls_config.service_name,
|
|
251
252
|
username=range["value"]["username"],
|
|
@@ -254,19 +255,20 @@ class OpenSearchAclRule(pulumi.CustomResource):
|
|
|
254
255
|
|
|
255
256
|
pulumi.Output.all({i: v for i, v in acl_rules}).apply(lambda resolved_outputs: create_os_acl_rule(resolved_outputs[0]))
|
|
256
257
|
```
|
|
258
|
+
<!--End PulumiCodeChooser -->
|
|
257
259
|
|
|
258
260
|
## Import
|
|
259
261
|
|
|
260
262
|
```sh
|
|
261
|
-
$ pulumi import aiven:index/openSearchAclRule:OpenSearchAclRule os_acl_rule
|
|
263
|
+
$ pulumi import aiven:index/openSearchAclRule:OpenSearchAclRule os_acl_rule project/service_name/username/index
|
|
262
264
|
```
|
|
263
265
|
|
|
264
266
|
:param str resource_name: The name of the resource.
|
|
265
267
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
266
268
|
:param pulumi.Input[str] index: The index pattern for this ACL entry. Maximum length: `249`. Changing this property forces recreation of the resource.
|
|
267
269
|
: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:
|
|
269
|
-
:param pulumi.Input[str] service_name:
|
|
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.
|
|
270
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. Changing this property forces recreation of the resource.
|
|
271
273
|
"""
|
|
272
274
|
...
|
|
@@ -280,21 +282,22 @@ class OpenSearchAclRule(pulumi.CustomResource):
|
|
|
280
282
|
|
|
281
283
|
## Example Usage
|
|
282
284
|
|
|
285
|
+
<!--Start PulumiCodeChooser -->
|
|
283
286
|
```python
|
|
284
287
|
import pulumi
|
|
285
288
|
import pulumi_aiven as aiven
|
|
286
289
|
|
|
287
|
-
os_user = aiven.OpensearchUser("
|
|
288
|
-
project=aiven_project_name,
|
|
289
|
-
service_name=os_test["
|
|
290
|
+
os_user = aiven.OpensearchUser("osUser",
|
|
291
|
+
project=var["aiven_project_name"],
|
|
292
|
+
service_name=aiven_opensearch["os_test"]["service_name"],
|
|
290
293
|
username="documentation-user-1")
|
|
291
|
-
os_user2 = aiven.OpensearchUser("
|
|
292
|
-
project=aiven_project_name,
|
|
293
|
-
service_name=os_test["
|
|
294
|
+
os_user2 = aiven.OpensearchUser("osUser2",
|
|
295
|
+
project=var["aiven_project_name"],
|
|
296
|
+
service_name=aiven_opensearch["os_test"]["service_name"],
|
|
294
297
|
username="documentation-user-2")
|
|
295
|
-
os_acls_config = aiven.OpenSearchAclConfig("
|
|
296
|
-
project=aiven_project_name,
|
|
297
|
-
service_name=os_test["
|
|
298
|
+
os_acls_config = aiven.OpenSearchAclConfig("osAclsConfig",
|
|
299
|
+
project=var["aiven_project_name"],
|
|
300
|
+
service_name=aiven_opensearch["os_test"]["service_name"],
|
|
298
301
|
enabled=True,
|
|
299
302
|
extended_acl=False)
|
|
300
303
|
acl_rules = [
|
|
@@ -327,7 +330,7 @@ class OpenSearchAclRule(pulumi.CustomResource):
|
|
|
327
330
|
os_acl_rule = []
|
|
328
331
|
def create_os_acl_rule(range_body):
|
|
329
332
|
for range in [{"key": k, "value": v} for [k, v] in enumerate(range_body)]:
|
|
330
|
-
os_acl_rule.append(aiven.OpenSearchAclRule(f"
|
|
333
|
+
os_acl_rule.append(aiven.OpenSearchAclRule(f"osAclRule-{range['key']}",
|
|
331
334
|
project=os_acls_config.project,
|
|
332
335
|
service_name=os_acls_config.service_name,
|
|
333
336
|
username=range["value"]["username"],
|
|
@@ -336,11 +339,12 @@ class OpenSearchAclRule(pulumi.CustomResource):
|
|
|
336
339
|
|
|
337
340
|
pulumi.Output.all({i: v for i, v in acl_rules}).apply(lambda resolved_outputs: create_os_acl_rule(resolved_outputs[0]))
|
|
338
341
|
```
|
|
342
|
+
<!--End PulumiCodeChooser -->
|
|
339
343
|
|
|
340
344
|
## Import
|
|
341
345
|
|
|
342
346
|
```sh
|
|
343
|
-
$ pulumi import aiven:index/openSearchAclRule:OpenSearchAclRule os_acl_rule
|
|
347
|
+
$ pulumi import aiven:index/openSearchAclRule:OpenSearchAclRule os_acl_rule project/service_name/username/index
|
|
344
348
|
```
|
|
345
349
|
|
|
346
350
|
:param str resource_name: The name of the resource.
|
|
@@ -411,8 +415,8 @@ class OpenSearchAclRule(pulumi.CustomResource):
|
|
|
411
415
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
412
416
|
:param pulumi.Input[str] index: The index pattern for this ACL entry. Maximum length: `249`. Changing this property forces recreation of the resource.
|
|
413
417
|
: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:
|
|
415
|
-
:param pulumi.Input[str] service_name:
|
|
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.
|
|
416
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. Changing this property forces recreation of the resource.
|
|
417
421
|
"""
|
|
418
422
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -446,7 +450,7 @@ class OpenSearchAclRule(pulumi.CustomResource):
|
|
|
446
450
|
@pulumi.getter
|
|
447
451
|
def project(self) -> pulumi.Output[str]:
|
|
448
452
|
"""
|
|
449
|
-
|
|
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.
|
|
450
454
|
"""
|
|
451
455
|
return pulumi.get(self, "project")
|
|
452
456
|
|
|
@@ -454,7 +458,7 @@ class OpenSearchAclRule(pulumi.CustomResource):
|
|
|
454
458
|
@pulumi.getter(name="serviceName")
|
|
455
459
|
def service_name(self) -> pulumi.Output[str]:
|
|
456
460
|
"""
|
|
457
|
-
|
|
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.
|
|
458
462
|
"""
|
|
459
463
|
return pulumi.get(self, "service_name")
|
|
460
464
|
|
|
@@ -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:
|
|
24
|
-
:param pulumi.Input[str] service_name:
|
|
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.
|
|
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
|
-
|
|
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.
|
|
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
|
-
|
|
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.
|
|
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:
|
|
83
|
-
:param pulumi.Input[str] service_name:
|
|
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.
|
|
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
|
-
|
|
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.
|
|
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
|
-
|
|
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.
|
|
163
163
|
"""
|
|
164
164
|
return pulumi.get(self, "service_name")
|
|
165
165
|
|
|
@@ -182,39 +182,41 @@ class OpensearchSecurityPluginConfig(pulumi.CustomResource):
|
|
|
182
182
|
|
|
183
183
|
## Example Usage
|
|
184
184
|
|
|
185
|
+
<!--Start PulumiCodeChooser -->
|
|
185
186
|
```python
|
|
186
187
|
import pulumi
|
|
187
188
|
import pulumi_aiven as aiven
|
|
188
189
|
|
|
189
|
-
|
|
190
|
+
foo_project = aiven.get_project(project="example_project")
|
|
190
191
|
bar = aiven.OpenSearch("bar",
|
|
191
|
-
project=
|
|
192
|
+
project=foo_project.project,
|
|
192
193
|
cloud_name="google-europe-west1",
|
|
193
194
|
plan="startup-4",
|
|
194
195
|
service_name="example_service_name",
|
|
195
196
|
maintenance_window_dow="monday",
|
|
196
197
|
maintenance_window_time="10:00:00")
|
|
197
|
-
foo_opensearch_user = aiven.OpensearchUser("
|
|
198
|
+
foo_opensearch_user = aiven.OpensearchUser("fooOpensearchUser",
|
|
198
199
|
service_name=bar.service_name,
|
|
199
|
-
project=
|
|
200
|
+
project=foo_project.project,
|
|
200
201
|
username="user-example")
|
|
201
|
-
foo_opensearch_security_plugin_config = aiven.OpensearchSecurityPluginConfig("
|
|
202
|
-
project=
|
|
202
|
+
foo_opensearch_security_plugin_config = aiven.OpensearchSecurityPluginConfig("fooOpensearchSecurityPluginConfig",
|
|
203
|
+
project=foo_project.project,
|
|
203
204
|
service_name=bar.service_name,
|
|
204
205
|
admin_password="ThisIsATest123^=^")
|
|
205
206
|
```
|
|
207
|
+
<!--End PulumiCodeChooser -->
|
|
206
208
|
|
|
207
209
|
## Import
|
|
208
210
|
|
|
209
211
|
```sh
|
|
210
|
-
$ pulumi import aiven:index/opensearchSecurityPluginConfig:OpensearchSecurityPluginConfig foo
|
|
212
|
+
$ pulumi import aiven:index/opensearchSecurityPluginConfig:OpensearchSecurityPluginConfig foo project/service_name
|
|
211
213
|
```
|
|
212
214
|
|
|
213
215
|
:param str resource_name: The name of the resource.
|
|
214
216
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
215
217
|
:param pulumi.Input[str] admin_password: The password for the os-sec-admin user.
|
|
216
|
-
:param pulumi.Input[str] project:
|
|
217
|
-
:param pulumi.Input[str] service_name:
|
|
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.
|
|
218
220
|
"""
|
|
219
221
|
...
|
|
220
222
|
@overload
|
|
@@ -227,32 +229,34 @@ class OpensearchSecurityPluginConfig(pulumi.CustomResource):
|
|
|
227
229
|
|
|
228
230
|
## Example Usage
|
|
229
231
|
|
|
232
|
+
<!--Start PulumiCodeChooser -->
|
|
230
233
|
```python
|
|
231
234
|
import pulumi
|
|
232
235
|
import pulumi_aiven as aiven
|
|
233
236
|
|
|
234
|
-
|
|
237
|
+
foo_project = aiven.get_project(project="example_project")
|
|
235
238
|
bar = aiven.OpenSearch("bar",
|
|
236
|
-
project=
|
|
239
|
+
project=foo_project.project,
|
|
237
240
|
cloud_name="google-europe-west1",
|
|
238
241
|
plan="startup-4",
|
|
239
242
|
service_name="example_service_name",
|
|
240
243
|
maintenance_window_dow="monday",
|
|
241
244
|
maintenance_window_time="10:00:00")
|
|
242
|
-
foo_opensearch_user = aiven.OpensearchUser("
|
|
245
|
+
foo_opensearch_user = aiven.OpensearchUser("fooOpensearchUser",
|
|
243
246
|
service_name=bar.service_name,
|
|
244
|
-
project=
|
|
247
|
+
project=foo_project.project,
|
|
245
248
|
username="user-example")
|
|
246
|
-
foo_opensearch_security_plugin_config = aiven.OpensearchSecurityPluginConfig("
|
|
247
|
-
project=
|
|
249
|
+
foo_opensearch_security_plugin_config = aiven.OpensearchSecurityPluginConfig("fooOpensearchSecurityPluginConfig",
|
|
250
|
+
project=foo_project.project,
|
|
248
251
|
service_name=bar.service_name,
|
|
249
252
|
admin_password="ThisIsATest123^=^")
|
|
250
253
|
```
|
|
254
|
+
<!--End PulumiCodeChooser -->
|
|
251
255
|
|
|
252
256
|
## Import
|
|
253
257
|
|
|
254
258
|
```sh
|
|
255
|
-
$ pulumi import aiven:index/opensearchSecurityPluginConfig:OpensearchSecurityPluginConfig foo
|
|
259
|
+
$ pulumi import aiven:index/opensearchSecurityPluginConfig:OpensearchSecurityPluginConfig foo project/service_name
|
|
256
260
|
```
|
|
257
261
|
|
|
258
262
|
:param str resource_name: The name of the resource.
|
|
@@ -323,8 +327,8 @@ class OpensearchSecurityPluginConfig(pulumi.CustomResource):
|
|
|
323
327
|
:param pulumi.Input[str] admin_password: The password for the os-sec-admin user.
|
|
324
328
|
:param pulumi.Input[bool] available: Whether the security plugin is available. This is always true for recently created services.
|
|
325
329
|
:param pulumi.Input[bool] enabled: Whether the security plugin is enabled. This is always true for recently created services.
|
|
326
|
-
:param pulumi.Input[str] project:
|
|
327
|
-
:param pulumi.Input[str] service_name:
|
|
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.
|
|
328
332
|
"""
|
|
329
333
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
330
334
|
|
|
@@ -374,7 +378,7 @@ class OpensearchSecurityPluginConfig(pulumi.CustomResource):
|
|
|
374
378
|
@pulumi.getter
|
|
375
379
|
def project(self) -> pulumi.Output[str]:
|
|
376
380
|
"""
|
|
377
|
-
|
|
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.
|
|
378
382
|
"""
|
|
379
383
|
return pulumi.get(self, "project")
|
|
380
384
|
|
|
@@ -382,7 +386,7 @@ class OpensearchSecurityPluginConfig(pulumi.CustomResource):
|
|
|
382
386
|
@pulumi.getter(name="serviceName")
|
|
383
387
|
def service_name(self) -> pulumi.Output[str]:
|
|
384
388
|
"""
|
|
385
|
-
|
|
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.
|
|
386
390
|
"""
|
|
387
391
|
return pulumi.get(self, "service_name")
|
|
388
392
|
|