pulumi-aiven 6.13.0a1710156545__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 +32615 -13711
- pulumi_aiven/_utilities.py +41 -5
- pulumi_aiven/account.py +32 -45
- pulumi_aiven/account_authentication.py +24 -9
- pulumi_aiven/account_team.py +35 -14
- pulumi_aiven/account_team_member.py +48 -39
- pulumi_aiven/account_team_project.py +40 -27
- 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 -43
- pulumi_aiven/aws_vpc_peering_connection.py +72 -61
- pulumi_aiven/azure_privatelink.py +54 -53
- pulumi_aiven/azure_privatelink_connection_approval.py +136 -33
- pulumi_aiven/azure_vpc_peering_connection.py +86 -77
- pulumi_aiven/billing_group.py +33 -34
- pulumi_aiven/cassandra.py +145 -126
- pulumi_aiven/cassandra_user.py +59 -58
- pulumi_aiven/clickhouse.py +133 -114
- pulumi_aiven/clickhouse_database.py +58 -62
- pulumi_aiven/clickhouse_grant.py +135 -134
- pulumi_aiven/clickhouse_role.py +36 -49
- pulumi_aiven/clickhouse_user.py +50 -49
- pulumi_aiven/config/__init__.pyi +5 -0
- pulumi_aiven/config/vars.py +5 -0
- pulumi_aiven/connection_pool.py +67 -66
- pulumi_aiven/dragonfly.py +1256 -0
- pulumi_aiven/flink.py +104 -104
- pulumi_aiven/flink_application.py +58 -55
- 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 -48
- pulumi_aiven/get_account.py +20 -9
- 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 -24
- pulumi_aiven/get_aws_vpc_peering_connection.py +56 -33
- pulumi_aiven/get_azure_privatelink.py +37 -26
- pulumi_aiven/get_azure_vpc_peering_connection.py +77 -28
- pulumi_aiven/get_billing_group.py +31 -8
- pulumi_aiven/get_cassanda.py +55 -23
- pulumi_aiven/get_cassandra.py +55 -23
- pulumi_aiven/get_cassandra_user.py +42 -30
- pulumi_aiven/get_clickhouse.py +55 -23
- pulumi_aiven/get_clickhouse_database.py +35 -26
- pulumi_aiven/get_clickhouse_user.py +40 -29
- pulumi_aiven/get_connection_pool.py +43 -30
- pulumi_aiven/get_dragonfly.py +499 -0
- pulumi_aiven/get_external_identity.py +160 -0
- pulumi_aiven/get_flink.py +55 -23
- pulumi_aiven/get_flink_application.py +44 -31
- pulumi_aiven/get_flink_application_version.py +55 -37
- pulumi_aiven/get_gcp_privatelink.py +63 -7
- pulumi_aiven/get_gcp_vpc_peering_connection.py +39 -28
- pulumi_aiven/get_grafana.py +55 -23
- 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 -25
- pulumi_aiven/get_kafka_acl.py +50 -37
- pulumi_aiven/get_kafka_connect.py +54 -36
- pulumi_aiven/get_kafka_connector.py +44 -28
- pulumi_aiven/get_kafka_mirror_maker.py +50 -32
- pulumi_aiven/get_kafka_schema.py +35 -23
- pulumi_aiven/get_kafka_schema_configuration.py +32 -21
- pulumi_aiven/get_kafka_schema_registry_acl.py +37 -20
- pulumi_aiven/get_kafka_topic.py +70 -29
- pulumi_aiven/get_kafka_user.py +42 -30
- pulumi_aiven/get_m3_aggregator.py +51 -19
- pulumi_aiven/get_m3_db.py +55 -23
- pulumi_aiven/get_m3db_user.py +38 -28
- pulumi_aiven/get_mirror_maker_replication_flow.py +86 -25
- pulumi_aiven/get_my_sql.py +50 -18
- pulumi_aiven/get_mysql_database.py +31 -22
- pulumi_aiven/get_mysql_user.py +36 -23
- pulumi_aiven/get_open_search.py +50 -18
- pulumi_aiven/get_open_search_acl_config.py +27 -19
- pulumi_aiven/get_open_search_acl_rule.py +37 -25
- pulumi_aiven/get_opensearch_security_plugin_config.py +29 -19
- pulumi_aiven/get_opensearch_user.py +32 -22
- pulumi_aiven/get_organization.py +25 -17
- 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 -23
- pulumi_aiven/get_pg_database.py +39 -28
- pulumi_aiven/get_pg_user.py +44 -31
- pulumi_aiven/get_project.py +43 -26
- pulumi_aiven/get_project_user.py +27 -19
- pulumi_aiven/get_project_vpc.py +31 -23
- pulumi_aiven/get_redis.py +50 -18
- pulumi_aiven/get_redis_user.py +40 -26
- pulumi_aiven/get_service_component.py +40 -22
- pulumi_aiven/get_service_integration.py +163 -53
- pulumi_aiven/get_service_integration_endpoint.py +128 -37
- pulumi_aiven/get_thanos.py +499 -0
- pulumi_aiven/get_transit_gateway_vpc_attachment.py +35 -22
- pulumi_aiven/get_valkey.py +499 -0
- pulumi_aiven/get_valkey_user.py +218 -0
- pulumi_aiven/grafana.py +188 -322
- 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 -144
- pulumi_aiven/kafka_acl.py +64 -57
- pulumi_aiven/kafka_connect.py +201 -332
- pulumi_aiven/kafka_connector.py +67 -60
- pulumi_aiven/kafka_mirror_maker.py +137 -320
- pulumi_aiven/kafka_native_acl.py +588 -0
- pulumi_aiven/kafka_schema.py +63 -58
- pulumi_aiven/kafka_schema_configuration.py +25 -24
- pulumi_aiven/kafka_schema_registry_acl.py +80 -35
- pulumi_aiven/kafka_topic.py +184 -65
- pulumi_aiven/kafka_user.py +59 -58
- pulumi_aiven/m3_aggregator.py +174 -310
- pulumi_aiven/m3_db.py +190 -326
- pulumi_aiven/m3db_user.py +51 -50
- pulumi_aiven/mirror_maker_replication_flow.py +215 -55
- pulumi_aiven/my_sql.py +188 -324
- pulumi_aiven/mysql_database.py +32 -51
- pulumi_aiven/mysql_user.py +37 -36
- pulumi_aiven/open_search.py +126 -107
- pulumi_aiven/open_search_acl_config.py +33 -36
- pulumi_aiven/open_search_acl_rule.py +55 -54
- pulumi_aiven/opensearch_security_plugin_config.py +69 -16
- pulumi_aiven/opensearch_user.py +30 -29
- pulumi_aiven/organization.py +18 -17
- 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 -36
- pulumi_aiven/outputs.py +38355 -21458
- pulumi_aiven/pg.py +92 -88
- pulumi_aiven/pg_database.py +52 -71
- pulumi_aiven/pg_user.py +80 -65
- pulumi_aiven/project.py +111 -102
- pulumi_aiven/project_user.py +44 -35
- pulumi_aiven/project_vpc.py +58 -29
- pulumi_aiven/provider.py +5 -0
- pulumi_aiven/pulumi-plugin.json +2 -1
- pulumi_aiven/redis.py +161 -297
- pulumi_aiven/redis_user.py +58 -57
- pulumi_aiven/service_integration.py +511 -165
- 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 -58
- pulumi_aiven/valkey.py +1256 -0
- pulumi_aiven/valkey_user.py +606 -0
- {pulumi_aiven-6.13.0a1710156545.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.0a1710156545.dist-info → pulumi_aiven-6.31.0a1736831339.dist-info}/WHEEL +1 -1
- pulumi_aiven-6.13.0a1710156545.dist-info/RECORD +0 -146
- {pulumi_aiven-6.13.0a1710156545.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
|
-
$ pulumi import aiven:index/opensearchSecurityPluginConfig:OpensearchSecurityPluginConfig foo
|
|
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
|
-
$ pulumi import aiven:index/opensearchSecurityPluginConfig:OpensearchSecurityPluginConfig foo
|
|
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
|
|
|
@@ -183,31 +188,29 @@ class OpensearchUser(pulumi.CustomResource):
|
|
|
183
188
|
|
|
184
189
|
## Example Usage
|
|
185
190
|
|
|
186
|
-
<!--Start PulumiCodeChooser -->
|
|
187
191
|
```python
|
|
188
192
|
import pulumi
|
|
189
193
|
import pulumi_aiven as aiven
|
|
190
194
|
|
|
191
195
|
foo = aiven.OpensearchUser("foo",
|
|
192
|
-
service_name=
|
|
196
|
+
service_name=bar["serviceName"],
|
|
193
197
|
project="my-project",
|
|
194
198
|
username="user-1",
|
|
195
199
|
password="Test$1234")
|
|
196
200
|
```
|
|
197
|
-
<!--End PulumiCodeChooser -->
|
|
198
201
|
|
|
199
202
|
## Import
|
|
200
203
|
|
|
201
204
|
```sh
|
|
202
|
-
$ pulumi import aiven:index/opensearchUser:OpensearchUser foo
|
|
205
|
+
$ pulumi import aiven:index/opensearchUser:OpensearchUser foo PROJECT/SERVICE_NAME/USERNAME
|
|
203
206
|
```
|
|
204
207
|
|
|
205
208
|
:param str resource_name: The name of the resource.
|
|
206
209
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
207
210
|
:param pulumi.Input[str] password: The password of the OpenSearch User.
|
|
208
|
-
:param pulumi.Input[str] project:
|
|
209
|
-
:param pulumi.Input[str] service_name:
|
|
210
|
-
: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.
|
|
211
214
|
"""
|
|
212
215
|
...
|
|
213
216
|
@overload
|
|
@@ -220,23 +223,21 @@ class OpensearchUser(pulumi.CustomResource):
|
|
|
220
223
|
|
|
221
224
|
## Example Usage
|
|
222
225
|
|
|
223
|
-
<!--Start PulumiCodeChooser -->
|
|
224
226
|
```python
|
|
225
227
|
import pulumi
|
|
226
228
|
import pulumi_aiven as aiven
|
|
227
229
|
|
|
228
230
|
foo = aiven.OpensearchUser("foo",
|
|
229
|
-
service_name=
|
|
231
|
+
service_name=bar["serviceName"],
|
|
230
232
|
project="my-project",
|
|
231
233
|
username="user-1",
|
|
232
234
|
password="Test$1234")
|
|
233
235
|
```
|
|
234
|
-
<!--End PulumiCodeChooser -->
|
|
235
236
|
|
|
236
237
|
## Import
|
|
237
238
|
|
|
238
239
|
```sh
|
|
239
|
-
$ pulumi import aiven:index/opensearchUser:OpensearchUser foo
|
|
240
|
+
$ pulumi import aiven:index/opensearchUser:OpensearchUser foo PROJECT/SERVICE_NAME/USERNAME
|
|
240
241
|
```
|
|
241
242
|
|
|
242
243
|
:param str resource_name: The name of the resource.
|
|
@@ -303,10 +304,10 @@ class OpensearchUser(pulumi.CustomResource):
|
|
|
303
304
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
304
305
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
305
306
|
:param pulumi.Input[str] password: The password of the OpenSearch User.
|
|
306
|
-
:param pulumi.Input[str] project:
|
|
307
|
-
: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.
|
|
308
309
|
:param pulumi.Input[str] type: Type of the user account. Tells whether the user is the primary account or a regular account.
|
|
309
|
-
: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.
|
|
310
311
|
"""
|
|
311
312
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
312
313
|
|
|
@@ -331,7 +332,7 @@ class OpensearchUser(pulumi.CustomResource):
|
|
|
331
332
|
@pulumi.getter
|
|
332
333
|
def project(self) -> pulumi.Output[str]:
|
|
333
334
|
"""
|
|
334
|
-
|
|
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.
|
|
335
336
|
"""
|
|
336
337
|
return pulumi.get(self, "project")
|
|
337
338
|
|
|
@@ -339,7 +340,7 @@ class OpensearchUser(pulumi.CustomResource):
|
|
|
339
340
|
@pulumi.getter(name="serviceName")
|
|
340
341
|
def service_name(self) -> pulumi.Output[str]:
|
|
341
342
|
"""
|
|
342
|
-
|
|
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.
|
|
343
344
|
"""
|
|
344
345
|
return pulumi.get(self, "service_name")
|
|
345
346
|
|
|
@@ -355,7 +356,7 @@ class OpensearchUser(pulumi.CustomResource):
|
|
|
355
356
|
@pulumi.getter
|
|
356
357
|
def username(self) -> pulumi.Output[str]:
|
|
357
358
|
"""
|
|
358
|
-
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.
|
|
359
360
|
"""
|
|
360
361
|
return pulumi.get(self, "username")
|
|
361
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,26 +144,24 @@ 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
|
|
|
149
|
-
<!--Start PulumiCodeChooser -->
|
|
150
154
|
```python
|
|
151
155
|
import pulumi
|
|
152
156
|
import pulumi_aiven as aiven
|
|
153
157
|
|
|
154
|
-
|
|
158
|
+
main = aiven.Organization("main", name="Example organization")
|
|
155
159
|
```
|
|
156
|
-
<!--End PulumiCodeChooser -->
|
|
157
160
|
|
|
158
161
|
## Import
|
|
159
162
|
|
|
160
163
|
```sh
|
|
161
|
-
$ pulumi import aiven:index/organization:Organization
|
|
164
|
+
$ pulumi import aiven:index/organization:Organization main ORGANIZATION_ID
|
|
162
165
|
```
|
|
163
166
|
|
|
164
167
|
:param str resource_name: The name of the resource.
|
|
@@ -172,23 +175,21 @@ class Organization(pulumi.CustomResource):
|
|
|
172
175
|
args: Optional[OrganizationArgs] = None,
|
|
173
176
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
174
177
|
"""
|
|
175
|
-
Creates and manages an organization
|
|
178
|
+
Creates and manages an [organization](https://aiven.io/docs/platform/concepts/orgs-units-projects).
|
|
176
179
|
|
|
177
180
|
## Example Usage
|
|
178
181
|
|
|
179
|
-
<!--Start PulumiCodeChooser -->
|
|
180
182
|
```python
|
|
181
183
|
import pulumi
|
|
182
184
|
import pulumi_aiven as aiven
|
|
183
185
|
|
|
184
|
-
|
|
186
|
+
main = aiven.Organization("main", name="Example organization")
|
|
185
187
|
```
|
|
186
|
-
<!--End PulumiCodeChooser -->
|
|
187
188
|
|
|
188
189
|
## Import
|
|
189
190
|
|
|
190
191
|
```sh
|
|
191
|
-
$ pulumi import aiven:index/organization:Organization
|
|
192
|
+
$ pulumi import aiven:index/organization:Organization main ORGANIZATION_ID
|
|
192
193
|
```
|
|
193
194
|
|
|
194
195
|
:param str resource_name: The name of the resource.
|
|
@@ -207,7 +208,7 @@ class Organization(pulumi.CustomResource):
|
|
|
207
208
|
resource_name: str,
|
|
208
209
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
209
210
|
name: Optional[pulumi.Input[str]] = None,
|
|
210
|
-
timeouts: Optional[pulumi.Input[
|
|
211
|
+
timeouts: Optional[pulumi.Input[Union['OrganizationTimeoutsArgs', 'OrganizationTimeoutsArgsDict']]] = None,
|
|
211
212
|
__props__=None):
|
|
212
213
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
213
214
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -235,7 +236,7 @@ class Organization(pulumi.CustomResource):
|
|
|
235
236
|
create_time: Optional[pulumi.Input[str]] = None,
|
|
236
237
|
name: Optional[pulumi.Input[str]] = None,
|
|
237
238
|
tenant_id: Optional[pulumi.Input[str]] = None,
|
|
238
|
-
timeouts: Optional[pulumi.Input[
|
|
239
|
+
timeouts: Optional[pulumi.Input[Union['OrganizationTimeoutsArgs', 'OrganizationTimeoutsArgsDict']]] = None,
|
|
239
240
|
update_time: Optional[pulumi.Input[str]] = None) -> 'Organization':
|
|
240
241
|
"""
|
|
241
242
|
Get an existing Organization resource's state with the given name, id, and optional extra
|
|
@@ -246,7 +247,7 @@ class Organization(pulumi.CustomResource):
|
|
|
246
247
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
247
248
|
:param pulumi.Input[str] create_time: Timestamp of the creation of the organization.
|
|
248
249
|
:param pulumi.Input[str] name: Name of the organization.
|
|
249
|
-
:param pulumi.Input[str] tenant_id: Tenant
|
|
250
|
+
:param pulumi.Input[str] tenant_id: Tenant ID of the organization.
|
|
250
251
|
:param pulumi.Input[str] update_time: Timestamp of the last update of the organization.
|
|
251
252
|
"""
|
|
252
253
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -280,7 +281,7 @@ class Organization(pulumi.CustomResource):
|
|
|
280
281
|
@pulumi.getter(name="tenantId")
|
|
281
282
|
def tenant_id(self) -> pulumi.Output[str]:
|
|
282
283
|
"""
|
|
283
|
-
Tenant
|
|
284
|
+
Tenant ID of the organization.
|
|
284
285
|
"""
|
|
285
286
|
return pulumi.get(self, "tenant_id")
|
|
286
287
|
|