pulumi-aiven 6.13.0a1711027602__py3-none-any.whl → 6.14.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-aiven might be problematic. Click here for more details.
- pulumi_aiven/__init__.py +28 -0
- pulumi_aiven/_inputs.py +2623 -1138
- pulumi_aiven/account.py +8 -8
- pulumi_aiven/account_authentication.py +8 -4
- pulumi_aiven/account_team.py +6 -6
- pulumi_aiven/account_team_member.py +27 -31
- pulumi_aiven/account_team_project.py +12 -12
- pulumi_aiven/aws_privatelink.py +39 -43
- pulumi_aiven/aws_vpc_peering_connection.py +62 -56
- pulumi_aiven/azure_privatelink.py +49 -53
- pulumi_aiven/azure_privatelink_connection_approval.py +131 -33
- pulumi_aiven/azure_vpc_peering_connection.py +76 -72
- pulumi_aiven/billing_group.py +18 -18
- pulumi_aiven/cassandra.py +25 -57
- pulumi_aiven/cassandra_user.py +25 -29
- pulumi_aiven/clickhouse.py +25 -57
- pulumi_aiven/clickhouse_database.py +31 -33
- pulumi_aiven/clickhouse_grant.py +56 -58
- pulumi_aiven/clickhouse_role.py +23 -27
- pulumi_aiven/clickhouse_user.py +25 -29
- pulumi_aiven/connection_pool.py +38 -42
- pulumi_aiven/dragonfly.py +1205 -0
- pulumi_aiven/flink.py +32 -36
- pulumi_aiven/flink_application.py +22 -24
- pulumi_aiven/flink_application_deployment.py +28 -28
- pulumi_aiven/flink_application_version.py +96 -14
- pulumi_aiven/gcp_privatelink.py +40 -40
- pulumi_aiven/gcp_privatelink_connection_approval.py +47 -47
- pulumi_aiven/gcp_vpc_peering_connection.py +39 -43
- pulumi_aiven/get_account.py +0 -4
- pulumi_aiven/get_account_team_member.py +9 -9
- pulumi_aiven/get_aws_privatelink.py +15 -19
- pulumi_aiven/get_aws_vpc_peering_connection.py +33 -27
- pulumi_aiven/get_azure_privatelink.py +17 -21
- pulumi_aiven/get_azure_vpc_peering_connection.py +50 -22
- pulumi_aiven/get_billing_group.py +2 -2
- pulumi_aiven/get_cassanda.py +7 -24
- pulumi_aiven/get_cassandra.py +7 -24
- pulumi_aiven/get_cassandra_user.py +13 -17
- pulumi_aiven/get_clickhouse.py +7 -24
- pulumi_aiven/get_clickhouse_database.py +13 -17
- pulumi_aiven/get_clickhouse_user.py +13 -17
- pulumi_aiven/get_connection_pool.py +14 -18
- pulumi_aiven/get_dragonfly.py +450 -0
- pulumi_aiven/get_flink.py +6 -10
- pulumi_aiven/get_flink_application.py +8 -12
- pulumi_aiven/get_flink_application_version.py +8 -12
- pulumi_aiven/get_gcp_vpc_peering_connection.py +18 -22
- pulumi_aiven/get_grafana.py +7 -24
- pulumi_aiven/get_kafka.py +13 -17
- pulumi_aiven/get_kafka_acl.py +19 -23
- pulumi_aiven/get_kafka_connect.py +7 -24
- pulumi_aiven/get_kafka_connector.py +13 -17
- pulumi_aiven/get_kafka_mirror_maker.py +7 -24
- pulumi_aiven/get_kafka_schema.py +13 -17
- pulumi_aiven/get_kafka_schema_configuration.py +11 -15
- pulumi_aiven/get_kafka_schema_registry_acl.py +15 -15
- pulumi_aiven/get_kafka_topic.py +19 -23
- pulumi_aiven/get_kafka_user.py +13 -17
- pulumi_aiven/get_m3_aggregator.py +7 -24
- pulumi_aiven/get_m3_db.py +7 -24
- pulumi_aiven/get_m3db_user.py +13 -17
- pulumi_aiven/get_mirror_maker_replication_flow.py +14 -18
- pulumi_aiven/get_my_sql.py +7 -24
- pulumi_aiven/get_mysql_database.py +13 -17
- pulumi_aiven/get_mysql_user.py +13 -17
- pulumi_aiven/get_open_search.py +6 -10
- pulumi_aiven/get_open_search_acl_config.py +10 -14
- pulumi_aiven/get_open_search_acl_rule.py +16 -20
- pulumi_aiven/get_opensearch_security_plugin_config.py +10 -14
- pulumi_aiven/get_opensearch_user.py +13 -17
- pulumi_aiven/get_organization.py +8 -12
- pulumi_aiven/get_organization_user_group.py +29 -9
- pulumi_aiven/get_organizational_unit.py +9 -9
- pulumi_aiven/get_pg.py +6 -10
- pulumi_aiven/get_pg_database.py +15 -19
- pulumi_aiven/get_pg_user.py +13 -17
- pulumi_aiven/get_project.py +17 -21
- pulumi_aiven/get_project_user.py +9 -13
- pulumi_aiven/get_project_vpc.py +11 -17
- pulumi_aiven/get_redis.py +7 -24
- pulumi_aiven/get_redis_user.py +17 -21
- pulumi_aiven/get_service_component.py +4 -8
- pulumi_aiven/get_service_integration.py +75 -37
- pulumi_aiven/get_service_integration_endpoint.py +3 -7
- pulumi_aiven/get_transit_gateway_vpc_attachment.py +11 -15
- pulumi_aiven/grafana.py +82 -267
- pulumi_aiven/influx_db.py +28 -28
- pulumi_aiven/influxdb_database.py +35 -35
- pulumi_aiven/influxdb_user.py +42 -42
- pulumi_aiven/kafka.py +50 -54
- pulumi_aiven/kafka_acl.py +41 -45
- pulumi_aiven/kafka_connect.py +80 -267
- pulumi_aiven/kafka_connector.py +33 -37
- pulumi_aiven/kafka_mirror_maker.py +80 -267
- pulumi_aiven/kafka_schema.py +51 -51
- pulumi_aiven/kafka_schema_configuration.py +20 -24
- pulumi_aiven/kafka_schema_registry_acl.py +75 -35
- pulumi_aiven/kafka_topic.py +91 -53
- pulumi_aiven/kafka_user.py +25 -29
- pulumi_aiven/m3_aggregator.py +80 -267
- pulumi_aiven/m3_db.py +80 -267
- pulumi_aiven/m3db_user.py +23 -27
- pulumi_aiven/mirror_maker_replication_flow.py +58 -60
- pulumi_aiven/my_sql.py +80 -267
- pulumi_aiven/mysql_database.py +27 -31
- pulumi_aiven/mysql_user.py +25 -29
- pulumi_aiven/open_search.py +27 -31
- pulumi_aiven/open_search_acl_config.py +28 -36
- pulumi_aiven/open_search_acl_rule.py +50 -54
- pulumi_aiven/opensearch_security_plugin_config.py +64 -16
- pulumi_aiven/opensearch_user.py +25 -29
- pulumi_aiven/organization.py +10 -14
- pulumi_aiven/organization_group_project.py +336 -0
- pulumi_aiven/organization_user.py +16 -34
- pulumi_aiven/organization_user_group.py +59 -23
- pulumi_aiven/organization_user_group_member.py +350 -0
- pulumi_aiven/organizational_unit.py +36 -36
- pulumi_aiven/outputs.py +3539 -1136
- pulumi_aiven/pg.py +30 -30
- pulumi_aiven/pg_database.py +41 -45
- pulumi_aiven/pg_user.py +25 -29
- pulumi_aiven/project.py +91 -69
- pulumi_aiven/project_user.py +24 -28
- pulumi_aiven/project_vpc.py +49 -25
- pulumi_aiven/redis.py +80 -267
- pulumi_aiven/redis_user.py +53 -57
- pulumi_aiven/service_integration.py +249 -65
- pulumi_aiven/service_integration_endpoint.py +7 -7
- pulumi_aiven/static_ip.py +14 -14
- pulumi_aiven/transit_gateway_vpc_attachment.py +25 -29
- {pulumi_aiven-6.13.0a1711027602.dist-info → pulumi_aiven-6.14.0.dist-info}/METADATA +1 -1
- pulumi_aiven-6.14.0.dist-info/RECORD +150 -0
- pulumi_aiven-6.13.0a1711027602.dist-info/RECORD +0 -146
- {pulumi_aiven-6.13.0a1711027602.dist-info → pulumi_aiven-6.14.0.dist-info}/WHEEL +0 -0
- {pulumi_aiven-6.13.0a1711027602.dist-info → pulumi_aiven-6.14.0.dist-info}/top_level.txt +0 -0
|
@@ -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: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
24
|
+
:param pulumi.Input[str] service_name: The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
25
25
|
"""
|
|
26
26
|
pulumi.set(__self__, "admin_password", admin_password)
|
|
27
27
|
pulumi.set(__self__, "project", project)
|
|
@@ -43,7 +43,7 @@ class OpensearchSecurityPluginConfigArgs:
|
|
|
43
43
|
@pulumi.getter
|
|
44
44
|
def project(self) -> pulumi.Input[str]:
|
|
45
45
|
"""
|
|
46
|
-
|
|
46
|
+
The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
47
47
|
"""
|
|
48
48
|
return pulumi.get(self, "project")
|
|
49
49
|
|
|
@@ -55,7 +55,7 @@ class OpensearchSecurityPluginConfigArgs:
|
|
|
55
55
|
@pulumi.getter(name="serviceName")
|
|
56
56
|
def service_name(self) -> pulumi.Input[str]:
|
|
57
57
|
"""
|
|
58
|
-
|
|
58
|
+
The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
59
59
|
"""
|
|
60
60
|
return pulumi.get(self, "service_name")
|
|
61
61
|
|
|
@@ -79,8 +79,8 @@ class _OpensearchSecurityPluginConfigState:
|
|
|
79
79
|
:param pulumi.Input[str] admin_password: The password for the os-sec-admin user.
|
|
80
80
|
:param pulumi.Input[bool] available: Whether the security plugin is available. This is always true for recently created services.
|
|
81
81
|
:param pulumi.Input[bool] enabled: Whether the security plugin is enabled. This is always true for recently created services.
|
|
82
|
-
:param pulumi.Input[str] project:
|
|
83
|
-
:param pulumi.Input[str] service_name:
|
|
82
|
+
:param pulumi.Input[str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
83
|
+
:param pulumi.Input[str] service_name: The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
84
84
|
"""
|
|
85
85
|
if admin_enabled is not None:
|
|
86
86
|
pulumi.set(__self__, "admin_enabled", admin_enabled)
|
|
@@ -147,7 +147,7 @@ class _OpensearchSecurityPluginConfigState:
|
|
|
147
147
|
@pulumi.getter
|
|
148
148
|
def project(self) -> Optional[pulumi.Input[str]]:
|
|
149
149
|
"""
|
|
150
|
-
|
|
150
|
+
The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
151
151
|
"""
|
|
152
152
|
return pulumi.get(self, "project")
|
|
153
153
|
|
|
@@ -159,7 +159,7 @@ class _OpensearchSecurityPluginConfigState:
|
|
|
159
159
|
@pulumi.getter(name="serviceName")
|
|
160
160
|
def service_name(self) -> Optional[pulumi.Input[str]]:
|
|
161
161
|
"""
|
|
162
|
-
|
|
162
|
+
The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
163
163
|
"""
|
|
164
164
|
return pulumi.get(self, "service_name")
|
|
165
165
|
|
|
@@ -180,17 +180,41 @@ class OpensearchSecurityPluginConfig(pulumi.CustomResource):
|
|
|
180
180
|
"""
|
|
181
181
|
The OpenSearch Security Plugin Config resource allows the creation and management of AivenOpenSearch Security Plugin config.
|
|
182
182
|
|
|
183
|
+
## Example Usage
|
|
184
|
+
|
|
185
|
+
```python
|
|
186
|
+
import pulumi
|
|
187
|
+
import pulumi_aiven as aiven
|
|
188
|
+
|
|
189
|
+
foo = aiven.get_project(project="example_project")
|
|
190
|
+
bar = aiven.OpenSearch("bar",
|
|
191
|
+
project=foo.project,
|
|
192
|
+
cloud_name="google-europe-west1",
|
|
193
|
+
plan="startup-4",
|
|
194
|
+
service_name="example_service_name",
|
|
195
|
+
maintenance_window_dow="monday",
|
|
196
|
+
maintenance_window_time="10:00:00")
|
|
197
|
+
foo_opensearch_user = aiven.OpensearchUser("foo",
|
|
198
|
+
service_name=bar.service_name,
|
|
199
|
+
project=foo.project,
|
|
200
|
+
username="user-example")
|
|
201
|
+
foo_opensearch_security_plugin_config = aiven.OpensearchSecurityPluginConfig("foo",
|
|
202
|
+
project=foo.project,
|
|
203
|
+
service_name=bar.service_name,
|
|
204
|
+
admin_password="ThisIsATest123^=^")
|
|
205
|
+
```
|
|
206
|
+
|
|
183
207
|
## Import
|
|
184
208
|
|
|
185
209
|
```sh
|
|
186
|
-
$ pulumi import aiven:index/opensearchSecurityPluginConfig:OpensearchSecurityPluginConfig foo
|
|
210
|
+
$ pulumi import aiven:index/opensearchSecurityPluginConfig:OpensearchSecurityPluginConfig foo PROJECT/SERVICE_NAME
|
|
187
211
|
```
|
|
188
212
|
|
|
189
213
|
:param str resource_name: The name of the resource.
|
|
190
214
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
191
215
|
: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:
|
|
216
|
+
:param pulumi.Input[str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
217
|
+
:param pulumi.Input[str] service_name: The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
194
218
|
"""
|
|
195
219
|
...
|
|
196
220
|
@overload
|
|
@@ -201,10 +225,34 @@ class OpensearchSecurityPluginConfig(pulumi.CustomResource):
|
|
|
201
225
|
"""
|
|
202
226
|
The OpenSearch Security Plugin Config resource allows the creation and management of AivenOpenSearch Security Plugin config.
|
|
203
227
|
|
|
228
|
+
## Example Usage
|
|
229
|
+
|
|
230
|
+
```python
|
|
231
|
+
import pulumi
|
|
232
|
+
import pulumi_aiven as aiven
|
|
233
|
+
|
|
234
|
+
foo = aiven.get_project(project="example_project")
|
|
235
|
+
bar = aiven.OpenSearch("bar",
|
|
236
|
+
project=foo.project,
|
|
237
|
+
cloud_name="google-europe-west1",
|
|
238
|
+
plan="startup-4",
|
|
239
|
+
service_name="example_service_name",
|
|
240
|
+
maintenance_window_dow="monday",
|
|
241
|
+
maintenance_window_time="10:00:00")
|
|
242
|
+
foo_opensearch_user = aiven.OpensearchUser("foo",
|
|
243
|
+
service_name=bar.service_name,
|
|
244
|
+
project=foo.project,
|
|
245
|
+
username="user-example")
|
|
246
|
+
foo_opensearch_security_plugin_config = aiven.OpensearchSecurityPluginConfig("foo",
|
|
247
|
+
project=foo.project,
|
|
248
|
+
service_name=bar.service_name,
|
|
249
|
+
admin_password="ThisIsATest123^=^")
|
|
250
|
+
```
|
|
251
|
+
|
|
204
252
|
## Import
|
|
205
253
|
|
|
206
254
|
```sh
|
|
207
|
-
$ pulumi import aiven:index/opensearchSecurityPluginConfig:OpensearchSecurityPluginConfig foo
|
|
255
|
+
$ pulumi import aiven:index/opensearchSecurityPluginConfig:OpensearchSecurityPluginConfig foo PROJECT/SERVICE_NAME
|
|
208
256
|
```
|
|
209
257
|
|
|
210
258
|
:param str resource_name: The name of the resource.
|
|
@@ -275,8 +323,8 @@ class OpensearchSecurityPluginConfig(pulumi.CustomResource):
|
|
|
275
323
|
:param pulumi.Input[str] admin_password: The password for the os-sec-admin user.
|
|
276
324
|
:param pulumi.Input[bool] available: Whether the security plugin is available. This is always true for recently created services.
|
|
277
325
|
: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:
|
|
326
|
+
:param pulumi.Input[str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
327
|
+
:param pulumi.Input[str] service_name: The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
280
328
|
"""
|
|
281
329
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
282
330
|
|
|
@@ -326,7 +374,7 @@ class OpensearchSecurityPluginConfig(pulumi.CustomResource):
|
|
|
326
374
|
@pulumi.getter
|
|
327
375
|
def project(self) -> pulumi.Output[str]:
|
|
328
376
|
"""
|
|
329
|
-
|
|
377
|
+
The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
330
378
|
"""
|
|
331
379
|
return pulumi.get(self, "project")
|
|
332
380
|
|
|
@@ -334,7 +382,7 @@ class OpensearchSecurityPluginConfig(pulumi.CustomResource):
|
|
|
334
382
|
@pulumi.getter(name="serviceName")
|
|
335
383
|
def service_name(self) -> pulumi.Output[str]:
|
|
336
384
|
"""
|
|
337
|
-
|
|
385
|
+
The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
338
386
|
"""
|
|
339
387
|
return pulumi.get(self, "service_name")
|
|
340
388
|
|
pulumi_aiven/opensearch_user.py
CHANGED
|
@@ -20,9 +20,9 @@ class OpensearchUserArgs:
|
|
|
20
20
|
password: Optional[pulumi.Input[str]] = None):
|
|
21
21
|
"""
|
|
22
22
|
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.
|
|
23
|
+
:param pulumi.Input[str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
24
|
+
:param pulumi.Input[str] service_name: The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
25
|
+
: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
26
|
:param pulumi.Input[str] password: The password of the OpenSearch User.
|
|
27
27
|
"""
|
|
28
28
|
pulumi.set(__self__, "project", project)
|
|
@@ -35,7 +35,7 @@ class OpensearchUserArgs:
|
|
|
35
35
|
@pulumi.getter
|
|
36
36
|
def project(self) -> pulumi.Input[str]:
|
|
37
37
|
"""
|
|
38
|
-
|
|
38
|
+
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
39
|
"""
|
|
40
40
|
return pulumi.get(self, "project")
|
|
41
41
|
|
|
@@ -47,7 +47,7 @@ class OpensearchUserArgs:
|
|
|
47
47
|
@pulumi.getter(name="serviceName")
|
|
48
48
|
def service_name(self) -> pulumi.Input[str]:
|
|
49
49
|
"""
|
|
50
|
-
|
|
50
|
+
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
51
|
"""
|
|
52
52
|
return pulumi.get(self, "service_name")
|
|
53
53
|
|
|
@@ -59,7 +59,7 @@ class OpensearchUserArgs:
|
|
|
59
59
|
@pulumi.getter
|
|
60
60
|
def username(self) -> pulumi.Input[str]:
|
|
61
61
|
"""
|
|
62
|
-
The actual name of the OpenSearch User. To set up proper dependencies please refer to this variable as a reference.
|
|
62
|
+
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
63
|
"""
|
|
64
64
|
return pulumi.get(self, "username")
|
|
65
65
|
|
|
@@ -91,10 +91,10 @@ class _OpensearchUserState:
|
|
|
91
91
|
"""
|
|
92
92
|
Input properties used for looking up and filtering OpensearchUser resources.
|
|
93
93
|
:param pulumi.Input[str] password: The password of the OpenSearch User.
|
|
94
|
-
:param pulumi.Input[str] project:
|
|
95
|
-
:param pulumi.Input[str] service_name:
|
|
94
|
+
: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.
|
|
95
|
+
: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
96
|
: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.
|
|
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. Changing this property forces recreation of the resource.
|
|
98
98
|
"""
|
|
99
99
|
if password is not None:
|
|
100
100
|
pulumi.set(__self__, "password", password)
|
|
@@ -123,7 +123,7 @@ class _OpensearchUserState:
|
|
|
123
123
|
@pulumi.getter
|
|
124
124
|
def project(self) -> Optional[pulumi.Input[str]]:
|
|
125
125
|
"""
|
|
126
|
-
|
|
126
|
+
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
127
|
"""
|
|
128
128
|
return pulumi.get(self, "project")
|
|
129
129
|
|
|
@@ -135,7 +135,7 @@ class _OpensearchUserState:
|
|
|
135
135
|
@pulumi.getter(name="serviceName")
|
|
136
136
|
def service_name(self) -> Optional[pulumi.Input[str]]:
|
|
137
137
|
"""
|
|
138
|
-
|
|
138
|
+
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
139
|
"""
|
|
140
140
|
return pulumi.get(self, "service_name")
|
|
141
141
|
|
|
@@ -159,7 +159,7 @@ class _OpensearchUserState:
|
|
|
159
159
|
@pulumi.getter
|
|
160
160
|
def username(self) -> Optional[pulumi.Input[str]]:
|
|
161
161
|
"""
|
|
162
|
-
The actual name of the OpenSearch User. To set up proper dependencies please refer to this variable as a reference.
|
|
162
|
+
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
163
|
"""
|
|
164
164
|
return pulumi.get(self, "username")
|
|
165
165
|
|
|
@@ -183,31 +183,29 @@ class OpensearchUser(pulumi.CustomResource):
|
|
|
183
183
|
|
|
184
184
|
## Example Usage
|
|
185
185
|
|
|
186
|
-
<!--Start PulumiCodeChooser -->
|
|
187
186
|
```python
|
|
188
187
|
import pulumi
|
|
189
188
|
import pulumi_aiven as aiven
|
|
190
189
|
|
|
191
190
|
foo = aiven.OpensearchUser("foo",
|
|
192
|
-
service_name=
|
|
191
|
+
service_name=bar["serviceName"],
|
|
193
192
|
project="my-project",
|
|
194
193
|
username="user-1",
|
|
195
194
|
password="Test$1234")
|
|
196
195
|
```
|
|
197
|
-
<!--End PulumiCodeChooser -->
|
|
198
196
|
|
|
199
197
|
## Import
|
|
200
198
|
|
|
201
199
|
```sh
|
|
202
|
-
$ pulumi import aiven:index/opensearchUser:OpensearchUser foo
|
|
200
|
+
$ pulumi import aiven:index/opensearchUser:OpensearchUser foo PROJECT/SERVICE_NAME/USERNAME
|
|
203
201
|
```
|
|
204
202
|
|
|
205
203
|
:param str resource_name: The name of the resource.
|
|
206
204
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
207
205
|
: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.
|
|
206
|
+
: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.
|
|
207
|
+
:param pulumi.Input[str] service_name: The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
208
|
+
: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
209
|
"""
|
|
212
210
|
...
|
|
213
211
|
@overload
|
|
@@ -220,23 +218,21 @@ class OpensearchUser(pulumi.CustomResource):
|
|
|
220
218
|
|
|
221
219
|
## Example Usage
|
|
222
220
|
|
|
223
|
-
<!--Start PulumiCodeChooser -->
|
|
224
221
|
```python
|
|
225
222
|
import pulumi
|
|
226
223
|
import pulumi_aiven as aiven
|
|
227
224
|
|
|
228
225
|
foo = aiven.OpensearchUser("foo",
|
|
229
|
-
service_name=
|
|
226
|
+
service_name=bar["serviceName"],
|
|
230
227
|
project="my-project",
|
|
231
228
|
username="user-1",
|
|
232
229
|
password="Test$1234")
|
|
233
230
|
```
|
|
234
|
-
<!--End PulumiCodeChooser -->
|
|
235
231
|
|
|
236
232
|
## Import
|
|
237
233
|
|
|
238
234
|
```sh
|
|
239
|
-
$ pulumi import aiven:index/opensearchUser:OpensearchUser foo
|
|
235
|
+
$ pulumi import aiven:index/opensearchUser:OpensearchUser foo PROJECT/SERVICE_NAME/USERNAME
|
|
240
236
|
```
|
|
241
237
|
|
|
242
238
|
:param str resource_name: The name of the resource.
|
|
@@ -303,10 +299,10 @@ class OpensearchUser(pulumi.CustomResource):
|
|
|
303
299
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
304
300
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
305
301
|
:param pulumi.Input[str] password: The password of the OpenSearch User.
|
|
306
|
-
:param pulumi.Input[str] project:
|
|
307
|
-
:param pulumi.Input[str] service_name:
|
|
302
|
+
:param pulumi.Input[str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
303
|
+
:param pulumi.Input[str] service_name: The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
308
304
|
: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.
|
|
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. Changing this property forces recreation of the resource.
|
|
310
306
|
"""
|
|
311
307
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
312
308
|
|
|
@@ -331,7 +327,7 @@ class OpensearchUser(pulumi.CustomResource):
|
|
|
331
327
|
@pulumi.getter
|
|
332
328
|
def project(self) -> pulumi.Output[str]:
|
|
333
329
|
"""
|
|
334
|
-
|
|
330
|
+
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
331
|
"""
|
|
336
332
|
return pulumi.get(self, "project")
|
|
337
333
|
|
|
@@ -339,7 +335,7 @@ class OpensearchUser(pulumi.CustomResource):
|
|
|
339
335
|
@pulumi.getter(name="serviceName")
|
|
340
336
|
def service_name(self) -> pulumi.Output[str]:
|
|
341
337
|
"""
|
|
342
|
-
|
|
338
|
+
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
339
|
"""
|
|
344
340
|
return pulumi.get(self, "service_name")
|
|
345
341
|
|
|
@@ -355,7 +351,7 @@ class OpensearchUser(pulumi.CustomResource):
|
|
|
355
351
|
@pulumi.getter
|
|
356
352
|
def username(self) -> pulumi.Output[str]:
|
|
357
353
|
"""
|
|
358
|
-
The actual name of the OpenSearch User. To set up proper dependencies please refer to this variable as a reference.
|
|
354
|
+
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
355
|
"""
|
|
360
356
|
return pulumi.get(self, "username")
|
|
361
357
|
|
pulumi_aiven/organization.py
CHANGED
|
@@ -61,7 +61,7 @@ class _OrganizationState:
|
|
|
61
61
|
Input properties used for looking up and filtering Organization resources.
|
|
62
62
|
:param pulumi.Input[str] create_time: Timestamp of the creation of the organization.
|
|
63
63
|
:param pulumi.Input[str] name: Name of the organization.
|
|
64
|
-
:param pulumi.Input[str] tenant_id: Tenant
|
|
64
|
+
:param pulumi.Input[str] tenant_id: Tenant ID of the organization.
|
|
65
65
|
:param pulumi.Input[str] update_time: Timestamp of the last update of the organization.
|
|
66
66
|
"""
|
|
67
67
|
if create_time is not None:
|
|
@@ -103,7 +103,7 @@ class _OrganizationState:
|
|
|
103
103
|
@pulumi.getter(name="tenantId")
|
|
104
104
|
def tenant_id(self) -> Optional[pulumi.Input[str]]:
|
|
105
105
|
"""
|
|
106
|
-
Tenant
|
|
106
|
+
Tenant ID of the organization.
|
|
107
107
|
"""
|
|
108
108
|
return pulumi.get(self, "tenant_id")
|
|
109
109
|
|
|
@@ -142,23 +142,21 @@ class Organization(pulumi.CustomResource):
|
|
|
142
142
|
timeouts: Optional[pulumi.Input[pulumi.InputType['OrganizationTimeoutsArgs']]] = None,
|
|
143
143
|
__props__=None):
|
|
144
144
|
"""
|
|
145
|
-
Creates and manages an organization
|
|
145
|
+
Creates and manages an [organization](https://aiven.io/docs/platform/concepts/projects_accounts_access).
|
|
146
146
|
|
|
147
147
|
## Example Usage
|
|
148
148
|
|
|
149
|
-
<!--Start PulumiCodeChooser -->
|
|
150
149
|
```python
|
|
151
150
|
import pulumi
|
|
152
151
|
import pulumi_aiven as aiven
|
|
153
152
|
|
|
154
|
-
|
|
153
|
+
main = aiven.Organization("main", name="Example organization")
|
|
155
154
|
```
|
|
156
|
-
<!--End PulumiCodeChooser -->
|
|
157
155
|
|
|
158
156
|
## Import
|
|
159
157
|
|
|
160
158
|
```sh
|
|
161
|
-
$ pulumi import aiven:index/organization:Organization
|
|
159
|
+
$ pulumi import aiven:index/organization:Organization main ORGANIZATION_ID
|
|
162
160
|
```
|
|
163
161
|
|
|
164
162
|
:param str resource_name: The name of the resource.
|
|
@@ -172,23 +170,21 @@ class Organization(pulumi.CustomResource):
|
|
|
172
170
|
args: Optional[OrganizationArgs] = None,
|
|
173
171
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
174
172
|
"""
|
|
175
|
-
Creates and manages an organization
|
|
173
|
+
Creates and manages an [organization](https://aiven.io/docs/platform/concepts/projects_accounts_access).
|
|
176
174
|
|
|
177
175
|
## Example Usage
|
|
178
176
|
|
|
179
|
-
<!--Start PulumiCodeChooser -->
|
|
180
177
|
```python
|
|
181
178
|
import pulumi
|
|
182
179
|
import pulumi_aiven as aiven
|
|
183
180
|
|
|
184
|
-
|
|
181
|
+
main = aiven.Organization("main", name="Example organization")
|
|
185
182
|
```
|
|
186
|
-
<!--End PulumiCodeChooser -->
|
|
187
183
|
|
|
188
184
|
## Import
|
|
189
185
|
|
|
190
186
|
```sh
|
|
191
|
-
$ pulumi import aiven:index/organization:Organization
|
|
187
|
+
$ pulumi import aiven:index/organization:Organization main ORGANIZATION_ID
|
|
192
188
|
```
|
|
193
189
|
|
|
194
190
|
:param str resource_name: The name of the resource.
|
|
@@ -246,7 +242,7 @@ class Organization(pulumi.CustomResource):
|
|
|
246
242
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
247
243
|
:param pulumi.Input[str] create_time: Timestamp of the creation of the organization.
|
|
248
244
|
:param pulumi.Input[str] name: Name of the organization.
|
|
249
|
-
:param pulumi.Input[str] tenant_id: Tenant
|
|
245
|
+
:param pulumi.Input[str] tenant_id: Tenant ID of the organization.
|
|
250
246
|
:param pulumi.Input[str] update_time: Timestamp of the last update of the organization.
|
|
251
247
|
"""
|
|
252
248
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -280,7 +276,7 @@ class Organization(pulumi.CustomResource):
|
|
|
280
276
|
@pulumi.getter(name="tenantId")
|
|
281
277
|
def tenant_id(self) -> pulumi.Output[str]:
|
|
282
278
|
"""
|
|
283
|
-
Tenant
|
|
279
|
+
Tenant ID of the organization.
|
|
284
280
|
"""
|
|
285
281
|
return pulumi.get(self, "tenant_id")
|
|
286
282
|
|