pulumi-aiven 6.13.0a1709702245__py3-none-any.whl → 6.31.0a1736831339__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-aiven might be problematic. Click here for more details.
- pulumi_aiven/__init__.py +127 -0
- pulumi_aiven/_inputs.py +32826 -13922
- pulumi_aiven/_utilities.py +41 -5
- pulumi_aiven/account.py +34 -43
- pulumi_aiven/account_authentication.py +24 -9
- pulumi_aiven/account_team.py +37 -12
- pulumi_aiven/account_team_member.py +48 -35
- pulumi_aiven/account_team_project.py +42 -25
- pulumi_aiven/alloydbomni.py +1335 -0
- pulumi_aiven/alloydbomni_database.py +347 -0
- pulumi_aiven/alloydbomni_user.py +433 -0
- pulumi_aiven/aws_privatelink.py +44 -39
- pulumi_aiven/aws_vpc_peering_connection.py +72 -57
- pulumi_aiven/azure_privatelink.py +54 -49
- pulumi_aiven/azure_privatelink_connection_approval.py +136 -33
- pulumi_aiven/azure_vpc_peering_connection.py +86 -73
- pulumi_aiven/billing_group.py +33 -30
- pulumi_aiven/cassandra.py +145 -122
- pulumi_aiven/cassandra_user.py +59 -54
- pulumi_aiven/clickhouse.py +133 -110
- pulumi_aiven/clickhouse_database.py +58 -58
- pulumi_aiven/clickhouse_grant.py +135 -130
- pulumi_aiven/clickhouse_role.py +36 -45
- pulumi_aiven/clickhouse_user.py +50 -45
- pulumi_aiven/config/__init__.pyi +5 -0
- pulumi_aiven/config/vars.py +5 -0
- pulumi_aiven/connection_pool.py +67 -62
- pulumi_aiven/dragonfly.py +1256 -0
- pulumi_aiven/flink.py +104 -100
- pulumi_aiven/flink_application.py +58 -51
- pulumi_aiven/flink_application_deployment.py +178 -73
- pulumi_aiven/flink_application_version.py +179 -96
- pulumi_aiven/gcp_privatelink.py +69 -42
- pulumi_aiven/gcp_privatelink_connection_approval.py +78 -49
- pulumi_aiven/gcp_vpc_peering_connection.py +49 -44
- pulumi_aiven/get_account.py +20 -5
- pulumi_aiven/get_account_authentication.py +31 -5
- pulumi_aiven/get_account_team.py +18 -5
- pulumi_aiven/get_account_team_member.py +29 -14
- pulumi_aiven/get_account_team_project.py +19 -6
- pulumi_aiven/get_alloydbomni.py +499 -0
- pulumi_aiven/get_alloydbomni_database.py +168 -0
- pulumi_aiven/get_alloydbomni_user.py +210 -0
- pulumi_aiven/get_aws_privatelink.py +33 -20
- pulumi_aiven/get_aws_vpc_peering_connection.py +56 -29
- pulumi_aiven/get_azure_privatelink.py +37 -22
- pulumi_aiven/get_azure_vpc_peering_connection.py +77 -28
- pulumi_aiven/get_billing_group.py +31 -8
- pulumi_aiven/get_cassanda.py +55 -19
- pulumi_aiven/get_cassandra.py +55 -19
- pulumi_aiven/get_cassandra_user.py +42 -26
- pulumi_aiven/get_clickhouse.py +55 -19
- pulumi_aiven/get_clickhouse_database.py +35 -22
- pulumi_aiven/get_clickhouse_user.py +40 -25
- pulumi_aiven/get_connection_pool.py +43 -26
- pulumi_aiven/get_dragonfly.py +499 -0
- pulumi_aiven/get_external_identity.py +160 -0
- pulumi_aiven/get_flink.py +55 -19
- pulumi_aiven/get_flink_application.py +44 -27
- pulumi_aiven/get_flink_application_version.py +55 -33
- pulumi_aiven/get_gcp_privatelink.py +63 -7
- pulumi_aiven/get_gcp_vpc_peering_connection.py +39 -24
- pulumi_aiven/get_grafana.py +55 -19
- pulumi_aiven/get_influx_db.py +41 -5
- pulumi_aiven/get_influxdb_database.py +18 -5
- pulumi_aiven/get_influxdb_user.py +21 -5
- pulumi_aiven/get_kafka.py +59 -21
- pulumi_aiven/get_kafka_acl.py +50 -33
- pulumi_aiven/get_kafka_connect.py +54 -32
- pulumi_aiven/get_kafka_connector.py +44 -24
- pulumi_aiven/get_kafka_mirror_maker.py +50 -28
- pulumi_aiven/get_kafka_schema.py +35 -19
- pulumi_aiven/get_kafka_schema_configuration.py +32 -17
- pulumi_aiven/get_kafka_schema_registry_acl.py +37 -20
- pulumi_aiven/get_kafka_topic.py +70 -25
- pulumi_aiven/get_kafka_user.py +42 -26
- pulumi_aiven/get_m3_aggregator.py +51 -15
- pulumi_aiven/get_m3_db.py +55 -19
- pulumi_aiven/get_m3db_user.py +38 -24
- pulumi_aiven/get_mirror_maker_replication_flow.py +86 -21
- pulumi_aiven/get_my_sql.py +50 -14
- pulumi_aiven/get_mysql_database.py +31 -18
- pulumi_aiven/get_mysql_user.py +36 -19
- pulumi_aiven/get_open_search.py +50 -14
- pulumi_aiven/get_open_search_acl_config.py +27 -15
- pulumi_aiven/get_open_search_acl_rule.py +37 -21
- pulumi_aiven/get_opensearch_security_plugin_config.py +29 -15
- pulumi_aiven/get_opensearch_user.py +32 -18
- pulumi_aiven/get_organization.py +25 -13
- pulumi_aiven/get_organization_application_user.py +176 -0
- pulumi_aiven/get_organization_user.py +18 -5
- pulumi_aiven/get_organization_user_group.py +48 -14
- pulumi_aiven/get_organization_user_list.py +121 -0
- pulumi_aiven/get_organizational_unit.py +26 -14
- pulumi_aiven/get_pg.py +55 -19
- pulumi_aiven/get_pg_database.py +39 -24
- pulumi_aiven/get_pg_user.py +44 -27
- pulumi_aiven/get_project.py +43 -22
- pulumi_aiven/get_project_user.py +27 -15
- pulumi_aiven/get_project_vpc.py +31 -19
- pulumi_aiven/get_redis.py +50 -14
- pulumi_aiven/get_redis_user.py +40 -22
- pulumi_aiven/get_service_component.py +40 -18
- pulumi_aiven/get_service_integration.py +163 -49
- pulumi_aiven/get_service_integration_endpoint.py +128 -33
- pulumi_aiven/get_thanos.py +499 -0
- pulumi_aiven/get_transit_gateway_vpc_attachment.py +35 -18
- pulumi_aiven/get_valkey.py +499 -0
- pulumi_aiven/get_valkey_user.py +218 -0
- pulumi_aiven/grafana.py +188 -318
- pulumi_aiven/influx_db.py +127 -90
- pulumi_aiven/influxdb_database.py +40 -55
- pulumi_aiven/influxdb_user.py +47 -42
- pulumi_aiven/kafka.py +157 -140
- pulumi_aiven/kafka_acl.py +64 -53
- pulumi_aiven/kafka_connect.py +201 -328
- pulumi_aiven/kafka_connector.py +67 -56
- pulumi_aiven/kafka_mirror_maker.py +139 -318
- pulumi_aiven/kafka_native_acl.py +588 -0
- pulumi_aiven/kafka_schema.py +65 -56
- pulumi_aiven/kafka_schema_configuration.py +25 -20
- pulumi_aiven/kafka_schema_registry_acl.py +80 -35
- pulumi_aiven/kafka_topic.py +184 -65
- pulumi_aiven/kafka_user.py +59 -54
- pulumi_aiven/m3_aggregator.py +176 -308
- pulumi_aiven/m3_db.py +190 -322
- pulumi_aiven/m3db_user.py +51 -46
- pulumi_aiven/mirror_maker_replication_flow.py +217 -53
- pulumi_aiven/my_sql.py +190 -322
- pulumi_aiven/mysql_database.py +32 -47
- pulumi_aiven/mysql_user.py +37 -32
- pulumi_aiven/open_search.py +128 -105
- pulumi_aiven/open_search_acl_config.py +33 -32
- pulumi_aiven/open_search_acl_rule.py +55 -50
- pulumi_aiven/opensearch_security_plugin_config.py +69 -16
- pulumi_aiven/opensearch_user.py +30 -25
- pulumi_aiven/organization.py +18 -13
- pulumi_aiven/organization_application_user.py +345 -0
- pulumi_aiven/organization_application_user_token.py +711 -0
- pulumi_aiven/organization_group_project.py +349 -0
- pulumi_aiven/organization_permission.py +421 -0
- pulumi_aiven/organization_user.py +25 -46
- pulumi_aiven/organization_user_group.py +64 -23
- pulumi_aiven/organization_user_group_member.py +359 -0
- pulumi_aiven/organizational_unit.py +41 -32
- pulumi_aiven/outputs.py +38509 -21612
- pulumi_aiven/pg.py +92 -88
- pulumi_aiven/pg_database.py +52 -67
- pulumi_aiven/pg_user.py +80 -61
- pulumi_aiven/project.py +111 -102
- pulumi_aiven/project_user.py +44 -31
- pulumi_aiven/project_vpc.py +58 -29
- pulumi_aiven/provider.py +5 -0
- pulumi_aiven/pulumi-plugin.json +2 -1
- pulumi_aiven/redis.py +163 -295
- pulumi_aiven/redis_user.py +58 -53
- pulumi_aiven/service_integration.py +511 -161
- pulumi_aiven/service_integration_endpoint.py +466 -158
- pulumi_aiven/static_ip.py +21 -16
- pulumi_aiven/thanos.py +1262 -0
- pulumi_aiven/transit_gateway_vpc_attachment.py +44 -54
- pulumi_aiven/valkey.py +1256 -0
- pulumi_aiven/valkey_user.py +606 -0
- {pulumi_aiven-6.13.0a1709702245.dist-info → pulumi_aiven-6.31.0a1736831339.dist-info}/METADATA +7 -6
- pulumi_aiven-6.31.0a1736831339.dist-info/RECORD +169 -0
- {pulumi_aiven-6.13.0a1709702245.dist-info → pulumi_aiven-6.31.0a1736831339.dist-info}/WHEEL +1 -1
- pulumi_aiven-6.13.0a1709702245.dist-info/RECORD +0 -146
- {pulumi_aiven-6.13.0a1709702245.dist-info → pulumi_aiven-6.31.0a1736831339.dist-info}/top_level.txt +0 -0
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
10
15
|
from . import _utilities
|
|
11
16
|
|
|
12
17
|
__all__ = ['OpensearchSecurityPluginConfigArgs', 'OpensearchSecurityPluginConfig']
|
|
@@ -20,8 +25,8 @@ class OpensearchSecurityPluginConfigArgs:
|
|
|
20
25
|
"""
|
|
21
26
|
The set of arguments for constructing a OpensearchSecurityPluginConfig resource.
|
|
22
27
|
: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:
|
|
28
|
+
:param pulumi.Input[str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
29
|
+
:param pulumi.Input[str] service_name: The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
25
30
|
"""
|
|
26
31
|
pulumi.set(__self__, "admin_password", admin_password)
|
|
27
32
|
pulumi.set(__self__, "project", project)
|
|
@@ -43,7 +48,7 @@ class OpensearchSecurityPluginConfigArgs:
|
|
|
43
48
|
@pulumi.getter
|
|
44
49
|
def project(self) -> pulumi.Input[str]:
|
|
45
50
|
"""
|
|
46
|
-
|
|
51
|
+
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
52
|
"""
|
|
48
53
|
return pulumi.get(self, "project")
|
|
49
54
|
|
|
@@ -55,7 +60,7 @@ class OpensearchSecurityPluginConfigArgs:
|
|
|
55
60
|
@pulumi.getter(name="serviceName")
|
|
56
61
|
def service_name(self) -> pulumi.Input[str]:
|
|
57
62
|
"""
|
|
58
|
-
|
|
63
|
+
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
64
|
"""
|
|
60
65
|
return pulumi.get(self, "service_name")
|
|
61
66
|
|
|
@@ -79,8 +84,8 @@ class _OpensearchSecurityPluginConfigState:
|
|
|
79
84
|
:param pulumi.Input[str] admin_password: The password for the os-sec-admin user.
|
|
80
85
|
:param pulumi.Input[bool] available: Whether the security plugin is available. This is always true for recently created services.
|
|
81
86
|
: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:
|
|
87
|
+
: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.
|
|
88
|
+
: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
89
|
"""
|
|
85
90
|
if admin_enabled is not None:
|
|
86
91
|
pulumi.set(__self__, "admin_enabled", admin_enabled)
|
|
@@ -147,7 +152,7 @@ class _OpensearchSecurityPluginConfigState:
|
|
|
147
152
|
@pulumi.getter
|
|
148
153
|
def project(self) -> Optional[pulumi.Input[str]]:
|
|
149
154
|
"""
|
|
150
|
-
|
|
155
|
+
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
156
|
"""
|
|
152
157
|
return pulumi.get(self, "project")
|
|
153
158
|
|
|
@@ -159,7 +164,7 @@ class _OpensearchSecurityPluginConfigState:
|
|
|
159
164
|
@pulumi.getter(name="serviceName")
|
|
160
165
|
def service_name(self) -> Optional[pulumi.Input[str]]:
|
|
161
166
|
"""
|
|
162
|
-
|
|
167
|
+
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
168
|
"""
|
|
164
169
|
return pulumi.get(self, "service_name")
|
|
165
170
|
|
|
@@ -180,17 +185,41 @@ class OpensearchSecurityPluginConfig(pulumi.CustomResource):
|
|
|
180
185
|
"""
|
|
181
186
|
The OpenSearch Security Plugin Config resource allows the creation and management of AivenOpenSearch Security Plugin config.
|
|
182
187
|
|
|
188
|
+
## Example Usage
|
|
189
|
+
|
|
190
|
+
```python
|
|
191
|
+
import pulumi
|
|
192
|
+
import pulumi_aiven as aiven
|
|
193
|
+
|
|
194
|
+
foo = aiven.get_project(project="example_project")
|
|
195
|
+
bar = aiven.OpenSearch("bar",
|
|
196
|
+
project=foo.project,
|
|
197
|
+
cloud_name="google-europe-west1",
|
|
198
|
+
plan="startup-4",
|
|
199
|
+
service_name="example_service_name",
|
|
200
|
+
maintenance_window_dow="monday",
|
|
201
|
+
maintenance_window_time="10:00:00")
|
|
202
|
+
foo_opensearch_user = aiven.OpensearchUser("foo",
|
|
203
|
+
service_name=bar.service_name,
|
|
204
|
+
project=foo.project,
|
|
205
|
+
username="user-example")
|
|
206
|
+
foo_opensearch_security_plugin_config = aiven.OpensearchSecurityPluginConfig("foo",
|
|
207
|
+
project=foo.project,
|
|
208
|
+
service_name=bar.service_name,
|
|
209
|
+
admin_password="ThisIsATest123^=^")
|
|
210
|
+
```
|
|
211
|
+
|
|
183
212
|
## Import
|
|
184
213
|
|
|
185
214
|
```sh
|
|
186
|
-
|
|
215
|
+
$ pulumi import aiven:index/opensearchSecurityPluginConfig:OpensearchSecurityPluginConfig foo PROJECT/SERVICE_NAME
|
|
187
216
|
```
|
|
188
217
|
|
|
189
218
|
:param str resource_name: The name of the resource.
|
|
190
219
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
191
220
|
:param pulumi.Input[str] admin_password: The password for the os-sec-admin user.
|
|
192
|
-
:param pulumi.Input[str] project:
|
|
193
|
-
:param pulumi.Input[str] service_name:
|
|
221
|
+
: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.
|
|
222
|
+
: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.
|
|
194
223
|
"""
|
|
195
224
|
...
|
|
196
225
|
@overload
|
|
@@ -201,10 +230,34 @@ class OpensearchSecurityPluginConfig(pulumi.CustomResource):
|
|
|
201
230
|
"""
|
|
202
231
|
The OpenSearch Security Plugin Config resource allows the creation and management of AivenOpenSearch Security Plugin config.
|
|
203
232
|
|
|
233
|
+
## Example Usage
|
|
234
|
+
|
|
235
|
+
```python
|
|
236
|
+
import pulumi
|
|
237
|
+
import pulumi_aiven as aiven
|
|
238
|
+
|
|
239
|
+
foo = aiven.get_project(project="example_project")
|
|
240
|
+
bar = aiven.OpenSearch("bar",
|
|
241
|
+
project=foo.project,
|
|
242
|
+
cloud_name="google-europe-west1",
|
|
243
|
+
plan="startup-4",
|
|
244
|
+
service_name="example_service_name",
|
|
245
|
+
maintenance_window_dow="monday",
|
|
246
|
+
maintenance_window_time="10:00:00")
|
|
247
|
+
foo_opensearch_user = aiven.OpensearchUser("foo",
|
|
248
|
+
service_name=bar.service_name,
|
|
249
|
+
project=foo.project,
|
|
250
|
+
username="user-example")
|
|
251
|
+
foo_opensearch_security_plugin_config = aiven.OpensearchSecurityPluginConfig("foo",
|
|
252
|
+
project=foo.project,
|
|
253
|
+
service_name=bar.service_name,
|
|
254
|
+
admin_password="ThisIsATest123^=^")
|
|
255
|
+
```
|
|
256
|
+
|
|
204
257
|
## Import
|
|
205
258
|
|
|
206
259
|
```sh
|
|
207
|
-
|
|
260
|
+
$ pulumi import aiven:index/opensearchSecurityPluginConfig:OpensearchSecurityPluginConfig foo PROJECT/SERVICE_NAME
|
|
208
261
|
```
|
|
209
262
|
|
|
210
263
|
:param str resource_name: The name of the resource.
|
|
@@ -275,8 +328,8 @@ class OpensearchSecurityPluginConfig(pulumi.CustomResource):
|
|
|
275
328
|
:param pulumi.Input[str] admin_password: The password for the os-sec-admin user.
|
|
276
329
|
:param pulumi.Input[bool] available: Whether the security plugin is available. This is always true for recently created services.
|
|
277
330
|
:param pulumi.Input[bool] enabled: Whether the security plugin is enabled. This is always true for recently created services.
|
|
278
|
-
:param pulumi.Input[str] project:
|
|
279
|
-
:param pulumi.Input[str] service_name:
|
|
331
|
+
: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.
|
|
332
|
+
: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.
|
|
280
333
|
"""
|
|
281
334
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
282
335
|
|
|
@@ -326,7 +379,7 @@ class OpensearchSecurityPluginConfig(pulumi.CustomResource):
|
|
|
326
379
|
@pulumi.getter
|
|
327
380
|
def project(self) -> pulumi.Output[str]:
|
|
328
381
|
"""
|
|
329
|
-
|
|
382
|
+
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.
|
|
330
383
|
"""
|
|
331
384
|
return pulumi.get(self, "project")
|
|
332
385
|
|
|
@@ -334,7 +387,7 @@ class OpensearchSecurityPluginConfig(pulumi.CustomResource):
|
|
|
334
387
|
@pulumi.getter(name="serviceName")
|
|
335
388
|
def service_name(self) -> pulumi.Output[str]:
|
|
336
389
|
"""
|
|
337
|
-
|
|
390
|
+
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.
|
|
338
391
|
"""
|
|
339
392
|
return pulumi.get(self, "service_name")
|
|
340
393
|
|
pulumi_aiven/opensearch_user.py
CHANGED
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
10
15
|
from . import _utilities
|
|
11
16
|
|
|
12
17
|
__all__ = ['OpensearchUserArgs', 'OpensearchUser']
|
|
@@ -20,9 +25,9 @@ class OpensearchUserArgs:
|
|
|
20
25
|
password: Optional[pulumi.Input[str]] = None):
|
|
21
26
|
"""
|
|
22
27
|
The set of arguments for constructing a OpensearchUser resource.
|
|
23
|
-
:param pulumi.Input[str] project:
|
|
24
|
-
:param pulumi.Input[str] service_name:
|
|
25
|
-
:param pulumi.Input[str] username: The actual name of the OpenSearch User. To set up proper dependencies please refer to this variable as a reference.
|
|
28
|
+
:param pulumi.Input[str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
29
|
+
:param pulumi.Input[str] service_name: The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
30
|
+
:param pulumi.Input[str] username: The actual name of the OpenSearch User. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
26
31
|
:param pulumi.Input[str] password: The password of the OpenSearch User.
|
|
27
32
|
"""
|
|
28
33
|
pulumi.set(__self__, "project", project)
|
|
@@ -35,7 +40,7 @@ class OpensearchUserArgs:
|
|
|
35
40
|
@pulumi.getter
|
|
36
41
|
def project(self) -> pulumi.Input[str]:
|
|
37
42
|
"""
|
|
38
|
-
|
|
43
|
+
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.
|
|
39
44
|
"""
|
|
40
45
|
return pulumi.get(self, "project")
|
|
41
46
|
|
|
@@ -47,7 +52,7 @@ class OpensearchUserArgs:
|
|
|
47
52
|
@pulumi.getter(name="serviceName")
|
|
48
53
|
def service_name(self) -> pulumi.Input[str]:
|
|
49
54
|
"""
|
|
50
|
-
|
|
55
|
+
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
56
|
"""
|
|
52
57
|
return pulumi.get(self, "service_name")
|
|
53
58
|
|
|
@@ -59,7 +64,7 @@ class OpensearchUserArgs:
|
|
|
59
64
|
@pulumi.getter
|
|
60
65
|
def username(self) -> pulumi.Input[str]:
|
|
61
66
|
"""
|
|
62
|
-
The actual name of the OpenSearch User. To set up proper dependencies please refer to this variable as a reference.
|
|
67
|
+
The actual name of the OpenSearch User. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
63
68
|
"""
|
|
64
69
|
return pulumi.get(self, "username")
|
|
65
70
|
|
|
@@ -91,10 +96,10 @@ class _OpensearchUserState:
|
|
|
91
96
|
"""
|
|
92
97
|
Input properties used for looking up and filtering OpensearchUser resources.
|
|
93
98
|
:param pulumi.Input[str] password: The password of the OpenSearch User.
|
|
94
|
-
:param pulumi.Input[str] project:
|
|
95
|
-
:param pulumi.Input[str] service_name:
|
|
99
|
+
: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.
|
|
100
|
+
: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.
|
|
96
101
|
:param pulumi.Input[str] type: Type of the user account. Tells whether the user is the primary account or a regular account.
|
|
97
|
-
:param pulumi.Input[str] username: The actual name of the OpenSearch User. To set up proper dependencies please refer to this variable as a reference.
|
|
102
|
+
:param pulumi.Input[str] username: The actual name of the OpenSearch User. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
98
103
|
"""
|
|
99
104
|
if password is not None:
|
|
100
105
|
pulumi.set(__self__, "password", password)
|
|
@@ -123,7 +128,7 @@ class _OpensearchUserState:
|
|
|
123
128
|
@pulumi.getter
|
|
124
129
|
def project(self) -> Optional[pulumi.Input[str]]:
|
|
125
130
|
"""
|
|
126
|
-
|
|
131
|
+
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.
|
|
127
132
|
"""
|
|
128
133
|
return pulumi.get(self, "project")
|
|
129
134
|
|
|
@@ -135,7 +140,7 @@ class _OpensearchUserState:
|
|
|
135
140
|
@pulumi.getter(name="serviceName")
|
|
136
141
|
def service_name(self) -> Optional[pulumi.Input[str]]:
|
|
137
142
|
"""
|
|
138
|
-
|
|
143
|
+
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.
|
|
139
144
|
"""
|
|
140
145
|
return pulumi.get(self, "service_name")
|
|
141
146
|
|
|
@@ -159,7 +164,7 @@ class _OpensearchUserState:
|
|
|
159
164
|
@pulumi.getter
|
|
160
165
|
def username(self) -> Optional[pulumi.Input[str]]:
|
|
161
166
|
"""
|
|
162
|
-
The actual name of the OpenSearch User. To set up proper dependencies please refer to this variable as a reference.
|
|
167
|
+
The actual name of the OpenSearch User. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
163
168
|
"""
|
|
164
169
|
return pulumi.get(self, "username")
|
|
165
170
|
|
|
@@ -188,7 +193,7 @@ class OpensearchUser(pulumi.CustomResource):
|
|
|
188
193
|
import pulumi_aiven as aiven
|
|
189
194
|
|
|
190
195
|
foo = aiven.OpensearchUser("foo",
|
|
191
|
-
service_name=
|
|
196
|
+
service_name=bar["serviceName"],
|
|
192
197
|
project="my-project",
|
|
193
198
|
username="user-1",
|
|
194
199
|
password="Test$1234")
|
|
@@ -197,15 +202,15 @@ class OpensearchUser(pulumi.CustomResource):
|
|
|
197
202
|
## Import
|
|
198
203
|
|
|
199
204
|
```sh
|
|
200
|
-
|
|
205
|
+
$ pulumi import aiven:index/opensearchUser:OpensearchUser foo PROJECT/SERVICE_NAME/USERNAME
|
|
201
206
|
```
|
|
202
207
|
|
|
203
208
|
:param str resource_name: The name of the resource.
|
|
204
209
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
205
210
|
:param pulumi.Input[str] password: The password of the OpenSearch User.
|
|
206
|
-
:param pulumi.Input[str] project:
|
|
207
|
-
:param pulumi.Input[str] service_name:
|
|
208
|
-
:param pulumi.Input[str] username: The actual name of the OpenSearch User. To set up proper dependencies please refer to this variable as a reference.
|
|
211
|
+
: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.
|
|
212
|
+
: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.
|
|
213
|
+
:param pulumi.Input[str] username: The actual name of the OpenSearch User. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
209
214
|
"""
|
|
210
215
|
...
|
|
211
216
|
@overload
|
|
@@ -223,7 +228,7 @@ class OpensearchUser(pulumi.CustomResource):
|
|
|
223
228
|
import pulumi_aiven as aiven
|
|
224
229
|
|
|
225
230
|
foo = aiven.OpensearchUser("foo",
|
|
226
|
-
service_name=
|
|
231
|
+
service_name=bar["serviceName"],
|
|
227
232
|
project="my-project",
|
|
228
233
|
username="user-1",
|
|
229
234
|
password="Test$1234")
|
|
@@ -232,7 +237,7 @@ class OpensearchUser(pulumi.CustomResource):
|
|
|
232
237
|
## Import
|
|
233
238
|
|
|
234
239
|
```sh
|
|
235
|
-
|
|
240
|
+
$ pulumi import aiven:index/opensearchUser:OpensearchUser foo PROJECT/SERVICE_NAME/USERNAME
|
|
236
241
|
```
|
|
237
242
|
|
|
238
243
|
:param str resource_name: The name of the resource.
|
|
@@ -299,10 +304,10 @@ class OpensearchUser(pulumi.CustomResource):
|
|
|
299
304
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
300
305
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
301
306
|
:param pulumi.Input[str] password: The password of the OpenSearch User.
|
|
302
|
-
:param pulumi.Input[str] project:
|
|
303
|
-
:param pulumi.Input[str] service_name:
|
|
307
|
+
:param pulumi.Input[str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
308
|
+
:param pulumi.Input[str] service_name: The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
304
309
|
:param pulumi.Input[str] type: Type of the user account. Tells whether the user is the primary account or a regular account.
|
|
305
|
-
:param pulumi.Input[str] username: The actual name of the OpenSearch User. To set up proper dependencies please refer to this variable as a reference.
|
|
310
|
+
:param pulumi.Input[str] username: The actual name of the OpenSearch User. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
306
311
|
"""
|
|
307
312
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
308
313
|
|
|
@@ -327,7 +332,7 @@ class OpensearchUser(pulumi.CustomResource):
|
|
|
327
332
|
@pulumi.getter
|
|
328
333
|
def project(self) -> pulumi.Output[str]:
|
|
329
334
|
"""
|
|
330
|
-
|
|
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.
|
|
331
336
|
"""
|
|
332
337
|
return pulumi.get(self, "project")
|
|
333
338
|
|
|
@@ -335,7 +340,7 @@ class OpensearchUser(pulumi.CustomResource):
|
|
|
335
340
|
@pulumi.getter(name="serviceName")
|
|
336
341
|
def service_name(self) -> pulumi.Output[str]:
|
|
337
342
|
"""
|
|
338
|
-
|
|
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.
|
|
339
344
|
"""
|
|
340
345
|
return pulumi.get(self, "service_name")
|
|
341
346
|
|
|
@@ -351,7 +356,7 @@ class OpensearchUser(pulumi.CustomResource):
|
|
|
351
356
|
@pulumi.getter
|
|
352
357
|
def username(self) -> pulumi.Output[str]:
|
|
353
358
|
"""
|
|
354
|
-
The actual name of the OpenSearch User. To set up proper dependencies please refer to this variable as a reference.
|
|
359
|
+
The actual name of the OpenSearch User. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
355
360
|
"""
|
|
356
361
|
return pulumi.get(self, "username")
|
|
357
362
|
|
pulumi_aiven/organization.py
CHANGED
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
10
15
|
from . import _utilities
|
|
11
16
|
from . import outputs
|
|
12
17
|
from ._inputs import *
|
|
@@ -61,7 +66,7 @@ class _OrganizationState:
|
|
|
61
66
|
Input properties used for looking up and filtering Organization resources.
|
|
62
67
|
:param pulumi.Input[str] create_time: Timestamp of the creation of the organization.
|
|
63
68
|
:param pulumi.Input[str] name: Name of the organization.
|
|
64
|
-
:param pulumi.Input[str] tenant_id: Tenant
|
|
69
|
+
:param pulumi.Input[str] tenant_id: Tenant ID of the organization.
|
|
65
70
|
:param pulumi.Input[str] update_time: Timestamp of the last update of the organization.
|
|
66
71
|
"""
|
|
67
72
|
if create_time is not None:
|
|
@@ -103,7 +108,7 @@ class _OrganizationState:
|
|
|
103
108
|
@pulumi.getter(name="tenantId")
|
|
104
109
|
def tenant_id(self) -> Optional[pulumi.Input[str]]:
|
|
105
110
|
"""
|
|
106
|
-
Tenant
|
|
111
|
+
Tenant ID of the organization.
|
|
107
112
|
"""
|
|
108
113
|
return pulumi.get(self, "tenant_id")
|
|
109
114
|
|
|
@@ -139,10 +144,10 @@ class Organization(pulumi.CustomResource):
|
|
|
139
144
|
resource_name: str,
|
|
140
145
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
141
146
|
name: Optional[pulumi.Input[str]] = None,
|
|
142
|
-
timeouts: Optional[pulumi.Input[
|
|
147
|
+
timeouts: Optional[pulumi.Input[Union['OrganizationTimeoutsArgs', 'OrganizationTimeoutsArgsDict']]] = None,
|
|
143
148
|
__props__=None):
|
|
144
149
|
"""
|
|
145
|
-
Creates and manages an organization
|
|
150
|
+
Creates and manages an [organization](https://aiven.io/docs/platform/concepts/orgs-units-projects).
|
|
146
151
|
|
|
147
152
|
## Example Usage
|
|
148
153
|
|
|
@@ -150,13 +155,13 @@ class Organization(pulumi.CustomResource):
|
|
|
150
155
|
import pulumi
|
|
151
156
|
import pulumi_aiven as aiven
|
|
152
157
|
|
|
153
|
-
|
|
158
|
+
main = aiven.Organization("main", name="Example organization")
|
|
154
159
|
```
|
|
155
160
|
|
|
156
161
|
## Import
|
|
157
162
|
|
|
158
163
|
```sh
|
|
159
|
-
|
|
164
|
+
$ pulumi import aiven:index/organization:Organization main ORGANIZATION_ID
|
|
160
165
|
```
|
|
161
166
|
|
|
162
167
|
:param str resource_name: The name of the resource.
|
|
@@ -170,7 +175,7 @@ class Organization(pulumi.CustomResource):
|
|
|
170
175
|
args: Optional[OrganizationArgs] = None,
|
|
171
176
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
172
177
|
"""
|
|
173
|
-
Creates and manages an organization
|
|
178
|
+
Creates and manages an [organization](https://aiven.io/docs/platform/concepts/orgs-units-projects).
|
|
174
179
|
|
|
175
180
|
## Example Usage
|
|
176
181
|
|
|
@@ -178,13 +183,13 @@ class Organization(pulumi.CustomResource):
|
|
|
178
183
|
import pulumi
|
|
179
184
|
import pulumi_aiven as aiven
|
|
180
185
|
|
|
181
|
-
|
|
186
|
+
main = aiven.Organization("main", name="Example organization")
|
|
182
187
|
```
|
|
183
188
|
|
|
184
189
|
## Import
|
|
185
190
|
|
|
186
191
|
```sh
|
|
187
|
-
|
|
192
|
+
$ pulumi import aiven:index/organization:Organization main ORGANIZATION_ID
|
|
188
193
|
```
|
|
189
194
|
|
|
190
195
|
:param str resource_name: The name of the resource.
|
|
@@ -203,7 +208,7 @@ class Organization(pulumi.CustomResource):
|
|
|
203
208
|
resource_name: str,
|
|
204
209
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
205
210
|
name: Optional[pulumi.Input[str]] = None,
|
|
206
|
-
timeouts: Optional[pulumi.Input[
|
|
211
|
+
timeouts: Optional[pulumi.Input[Union['OrganizationTimeoutsArgs', 'OrganizationTimeoutsArgsDict']]] = None,
|
|
207
212
|
__props__=None):
|
|
208
213
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
209
214
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -231,7 +236,7 @@ class Organization(pulumi.CustomResource):
|
|
|
231
236
|
create_time: Optional[pulumi.Input[str]] = None,
|
|
232
237
|
name: Optional[pulumi.Input[str]] = None,
|
|
233
238
|
tenant_id: Optional[pulumi.Input[str]] = None,
|
|
234
|
-
timeouts: Optional[pulumi.Input[
|
|
239
|
+
timeouts: Optional[pulumi.Input[Union['OrganizationTimeoutsArgs', 'OrganizationTimeoutsArgsDict']]] = None,
|
|
235
240
|
update_time: Optional[pulumi.Input[str]] = None) -> 'Organization':
|
|
236
241
|
"""
|
|
237
242
|
Get an existing Organization resource's state with the given name, id, and optional extra
|
|
@@ -242,7 +247,7 @@ class Organization(pulumi.CustomResource):
|
|
|
242
247
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
243
248
|
:param pulumi.Input[str] create_time: Timestamp of the creation of the organization.
|
|
244
249
|
:param pulumi.Input[str] name: Name of the organization.
|
|
245
|
-
:param pulumi.Input[str] tenant_id: Tenant
|
|
250
|
+
:param pulumi.Input[str] tenant_id: Tenant ID of the organization.
|
|
246
251
|
:param pulumi.Input[str] update_time: Timestamp of the last update of the organization.
|
|
247
252
|
"""
|
|
248
253
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -276,7 +281,7 @@ class Organization(pulumi.CustomResource):
|
|
|
276
281
|
@pulumi.getter(name="tenantId")
|
|
277
282
|
def tenant_id(self) -> pulumi.Output[str]:
|
|
278
283
|
"""
|
|
279
|
-
Tenant
|
|
284
|
+
Tenant ID of the organization.
|
|
280
285
|
"""
|
|
281
286
|
return pulumi.get(self, "tenant_id")
|
|
282
287
|
|