pulumi-aiven 6.13.0a1711361534__py3-none-any.whl → 6.14.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-aiven might be problematic. Click here for more details.
- pulumi_aiven/_inputs.py +200 -262
- pulumi_aiven/account.py +2 -6
- pulumi_aiven/account_authentication.py +2 -2
- pulumi_aiven/account_team.py +6 -6
- pulumi_aiven/account_team_member.py +6 -10
- pulumi_aiven/account_team_project.py +12 -12
- pulumi_aiven/aws_privatelink.py +18 -22
- pulumi_aiven/aws_vpc_peering_connection.py +8 -12
- pulumi_aiven/azure_privatelink.py +18 -22
- pulumi_aiven/azure_privatelink_connection_approval.py +112 -14
- pulumi_aiven/azure_vpc_peering_connection.py +6 -10
- pulumi_aiven/billing_group.py +18 -18
- pulumi_aiven/cassandra.py +25 -57
- pulumi_aiven/cassandra_user.py +18 -22
- pulumi_aiven/clickhouse.py +25 -57
- pulumi_aiven/clickhouse_database.py +24 -26
- pulumi_aiven/clickhouse_grant.py +35 -37
- pulumi_aiven/clickhouse_role.py +16 -20
- pulumi_aiven/clickhouse_user.py +18 -22
- pulumi_aiven/connection_pool.py +24 -28
- pulumi_aiven/dragonfly.py +124 -263
- pulumi_aiven/flink.py +32 -36
- pulumi_aiven/flink_application.py +22 -24
- pulumi_aiven/flink_application_deployment.py +21 -21
- pulumi_aiven/flink_application_version.py +96 -14
- pulumi_aiven/gcp_privatelink.py +21 -21
- pulumi_aiven/gcp_privatelink_connection_approval.py +21 -21
- pulumi_aiven/gcp_vpc_peering_connection.py +4 -8
- pulumi_aiven/get_account.py +0 -4
- pulumi_aiven/get_aws_privatelink.py +10 -14
- pulumi_aiven/get_aws_vpc_peering_connection.py +6 -10
- pulumi_aiven/get_azure_privatelink.py +10 -14
- pulumi_aiven/get_azure_vpc_peering_connection.py +2 -6
- 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 +10 -14
- pulumi_aiven/get_clickhouse.py +7 -24
- pulumi_aiven/get_clickhouse_database.py +10 -14
- pulumi_aiven/get_clickhouse_user.py +10 -14
- pulumi_aiven/get_connection_pool.py +10 -14
- pulumi_aiven/get_dragonfly.py +27 -20
- 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 +2 -6
- pulumi_aiven/get_grafana.py +7 -24
- pulumi_aiven/get_kafka.py +13 -17
- pulumi_aiven/get_kafka_acl.py +10 -14
- pulumi_aiven/get_kafka_connect.py +7 -24
- pulumi_aiven/get_kafka_connector.py +10 -14
- pulumi_aiven/get_kafka_mirror_maker.py +7 -24
- pulumi_aiven/get_kafka_schema.py +10 -14
- pulumi_aiven/get_kafka_schema_configuration.py +10 -14
- pulumi_aiven/get_kafka_schema_registry_acl.py +6 -6
- pulumi_aiven/get_kafka_topic.py +16 -20
- pulumi_aiven/get_kafka_user.py +10 -14
- pulumi_aiven/get_m3_aggregator.py +7 -24
- pulumi_aiven/get_m3_db.py +7 -24
- pulumi_aiven/get_m3db_user.py +10 -14
- pulumi_aiven/get_mirror_maker_replication_flow.py +14 -18
- pulumi_aiven/get_my_sql.py +7 -24
- pulumi_aiven/get_mysql_database.py +10 -14
- pulumi_aiven/get_mysql_user.py +10 -14
- 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 +10 -14
- pulumi_aiven/get_opensearch_security_plugin_config.py +10 -14
- pulumi_aiven/get_opensearch_user.py +10 -14
- pulumi_aiven/get_organization.py +0 -4
- pulumi_aiven/get_organization_user_group.py +2 -6
- pulumi_aiven/get_pg.py +6 -10
- pulumi_aiven/get_pg_database.py +10 -14
- pulumi_aiven/get_pg_user.py +10 -14
- pulumi_aiven/get_project.py +17 -21
- pulumi_aiven/get_project_user.py +9 -13
- pulumi_aiven/get_project_vpc.py +2 -6
- pulumi_aiven/get_redis.py +7 -24
- pulumi_aiven/get_redis_user.py +10 -14
- pulumi_aiven/get_service_component.py +4 -8
- pulumi_aiven/get_service_integration.py +19 -33
- pulumi_aiven/get_service_integration_endpoint.py +2 -6
- pulumi_aiven/get_transit_gateway_vpc_attachment.py +2 -6
- pulumi_aiven/grafana.py +82 -267
- pulumi_aiven/influx_db.py +21 -21
- pulumi_aiven/influxdb_database.py +21 -21
- pulumi_aiven/influxdb_user.py +21 -21
- pulumi_aiven/kafka.py +50 -54
- pulumi_aiven/kafka_acl.py +20 -24
- pulumi_aiven/kafka_connect.py +80 -267
- pulumi_aiven/kafka_connector.py +26 -30
- pulumi_aiven/kafka_mirror_maker.py +80 -267
- pulumi_aiven/kafka_schema.py +18 -22
- pulumi_aiven/kafka_schema_configuration.py +20 -24
- pulumi_aiven/kafka_schema_registry_acl.py +54 -14
- pulumi_aiven/kafka_topic.py +84 -46
- pulumi_aiven/kafka_user.py +18 -22
- pulumi_aiven/m3_aggregator.py +80 -267
- pulumi_aiven/m3_db.py +80 -267
- pulumi_aiven/m3db_user.py +16 -20
- pulumi_aiven/mirror_maker_replication_flow.py +22 -26
- pulumi_aiven/my_sql.py +80 -267
- pulumi_aiven/mysql_database.py +20 -24
- pulumi_aiven/mysql_user.py +18 -22
- pulumi_aiven/open_search.py +27 -31
- pulumi_aiven/open_search_acl_config.py +28 -36
- pulumi_aiven/open_search_acl_rule.py +36 -40
- pulumi_aiven/opensearch_security_plugin_config.py +28 -32
- pulumi_aiven/opensearch_user.py +18 -22
- pulumi_aiven/organization.py +2 -6
- pulumi_aiven/organization_group_project.py +46 -0
- pulumi_aiven/organization_user.py +2 -20
- pulumi_aiven/organization_user_group.py +4 -6
- pulumi_aiven/organization_user_group_member.py +8 -10
- pulumi_aiven/organizational_unit.py +6 -6
- pulumi_aiven/outputs.py +271 -390
- pulumi_aiven/pg.py +30 -30
- pulumi_aiven/pg_database.py +20 -24
- pulumi_aiven/pg_user.py +18 -22
- pulumi_aiven/project.py +75 -79
- pulumi_aiven/project_user.py +24 -28
- pulumi_aiven/project_vpc.py +31 -7
- pulumi_aiven/redis.py +80 -267
- pulumi_aiven/redis_user.py +18 -22
- pulumi_aiven/service_integration.py +54 -58
- pulumi_aiven/static_ip.py +7 -7
- pulumi_aiven/transit_gateway_vpc_attachment.py +4 -8
- {pulumi_aiven-6.13.0a1711361534.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.0a1711361534.dist-info/RECORD +0 -150
- {pulumi_aiven-6.13.0a1711361534.dist-info → pulumi_aiven-6.14.0.dist-info}/WHEEL +0 -0
- {pulumi_aiven-6.13.0a1711361534.dist-info → pulumi_aiven-6.14.0.dist-info}/top_level.txt +0 -0
pulumi_aiven/clickhouse_grant.py
CHANGED
|
@@ -24,10 +24,10 @@ class ClickhouseGrantArgs:
|
|
|
24
24
|
user: Optional[pulumi.Input[str]] = None):
|
|
25
25
|
"""
|
|
26
26
|
The set of arguments for constructing a ClickhouseGrant resource.
|
|
27
|
-
:param pulumi.Input[str] project:
|
|
28
|
-
:param pulumi.Input[str] service_name:
|
|
27
|
+
: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.
|
|
28
|
+
: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.
|
|
29
29
|
:param pulumi.Input[Sequence[pulumi.Input['ClickhouseGrantPrivilegeGrantArgs']]] privilege_grants: Configuration to grant a privilege. Changing this property forces recreation of the resource.
|
|
30
|
-
:param pulumi.Input[str] role: The role
|
|
30
|
+
:param pulumi.Input[str] role: The role to grant privileges or roles to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
31
31
|
:param pulumi.Input[Sequence[pulumi.Input['ClickhouseGrantRoleGrantArgs']]] role_grants: Configuration to grant a role. Changing this property forces recreation of the resource.
|
|
32
32
|
:param pulumi.Input[str] user: The user to grant privileges or roles to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
33
33
|
"""
|
|
@@ -46,7 +46,7 @@ class ClickhouseGrantArgs:
|
|
|
46
46
|
@pulumi.getter
|
|
47
47
|
def project(self) -> pulumi.Input[str]:
|
|
48
48
|
"""
|
|
49
|
-
|
|
49
|
+
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.
|
|
50
50
|
"""
|
|
51
51
|
return pulumi.get(self, "project")
|
|
52
52
|
|
|
@@ -58,7 +58,7 @@ class ClickhouseGrantArgs:
|
|
|
58
58
|
@pulumi.getter(name="serviceName")
|
|
59
59
|
def service_name(self) -> pulumi.Input[str]:
|
|
60
60
|
"""
|
|
61
|
-
|
|
61
|
+
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.
|
|
62
62
|
"""
|
|
63
63
|
return pulumi.get(self, "service_name")
|
|
64
64
|
|
|
@@ -82,7 +82,7 @@ class ClickhouseGrantArgs:
|
|
|
82
82
|
@pulumi.getter
|
|
83
83
|
def role(self) -> Optional[pulumi.Input[str]]:
|
|
84
84
|
"""
|
|
85
|
-
The role
|
|
85
|
+
The role to grant privileges or roles to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
86
86
|
"""
|
|
87
87
|
return pulumi.get(self, "role")
|
|
88
88
|
|
|
@@ -127,10 +127,10 @@ class _ClickhouseGrantState:
|
|
|
127
127
|
"""
|
|
128
128
|
Input properties used for looking up and filtering ClickhouseGrant resources.
|
|
129
129
|
:param pulumi.Input[Sequence[pulumi.Input['ClickhouseGrantPrivilegeGrantArgs']]] privilege_grants: Configuration to grant a privilege. Changing this property forces recreation of the resource.
|
|
130
|
-
:param pulumi.Input[str] project:
|
|
131
|
-
:param pulumi.Input[str] role: The role
|
|
130
|
+
: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.
|
|
131
|
+
:param pulumi.Input[str] role: The role to grant privileges or roles to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
132
132
|
:param pulumi.Input[Sequence[pulumi.Input['ClickhouseGrantRoleGrantArgs']]] role_grants: Configuration to grant a role. Changing this property forces recreation of the resource.
|
|
133
|
-
:param pulumi.Input[str] service_name:
|
|
133
|
+
: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.
|
|
134
134
|
:param pulumi.Input[str] user: The user to grant privileges or roles to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
135
135
|
"""
|
|
136
136
|
if privilege_grants is not None:
|
|
@@ -162,7 +162,7 @@ class _ClickhouseGrantState:
|
|
|
162
162
|
@pulumi.getter
|
|
163
163
|
def project(self) -> Optional[pulumi.Input[str]]:
|
|
164
164
|
"""
|
|
165
|
-
|
|
165
|
+
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.
|
|
166
166
|
"""
|
|
167
167
|
return pulumi.get(self, "project")
|
|
168
168
|
|
|
@@ -174,7 +174,7 @@ class _ClickhouseGrantState:
|
|
|
174
174
|
@pulumi.getter
|
|
175
175
|
def role(self) -> Optional[pulumi.Input[str]]:
|
|
176
176
|
"""
|
|
177
|
-
The role
|
|
177
|
+
The role to grant privileges or roles to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
178
178
|
"""
|
|
179
179
|
return pulumi.get(self, "role")
|
|
180
180
|
|
|
@@ -198,7 +198,7 @@ class _ClickhouseGrantState:
|
|
|
198
198
|
@pulumi.getter(name="serviceName")
|
|
199
199
|
def service_name(self) -> Optional[pulumi.Input[str]]:
|
|
200
200
|
"""
|
|
201
|
-
|
|
201
|
+
The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
202
202
|
"""
|
|
203
203
|
return pulumi.get(self, "service_name")
|
|
204
204
|
|
|
@@ -241,27 +241,27 @@ class ClickhouseGrant(pulumi.CustomResource):
|
|
|
241
241
|
|
|
242
242
|
## Example Usage
|
|
243
243
|
|
|
244
|
-
<!--Start PulumiCodeChooser -->
|
|
245
244
|
```python
|
|
246
245
|
import pulumi
|
|
247
246
|
import pulumi_aiven as aiven
|
|
248
247
|
|
|
249
248
|
clickhouse = aiven.Clickhouse("clickhouse",
|
|
250
|
-
project=
|
|
249
|
+
project=aiven_project_name,
|
|
251
250
|
cloud_name="google-europe-west1",
|
|
252
251
|
plan="startup-8",
|
|
253
252
|
service_name="exapmle-clickhouse")
|
|
254
253
|
demodb = aiven.ClickhouseDatabase("demodb",
|
|
255
254
|
project=clickhouse.project,
|
|
256
|
-
service_name=clickhouse.service_name
|
|
257
|
-
|
|
255
|
+
service_name=clickhouse.service_name,
|
|
256
|
+
name="demo")
|
|
257
|
+
demo = aiven.ClickhouseRole("demo",
|
|
258
258
|
project=clickhouse.project,
|
|
259
259
|
service_name=clickhouse.service_name,
|
|
260
260
|
role="demo-role")
|
|
261
261
|
demo_role_grant = aiven.ClickhouseGrant("demo-role-grant",
|
|
262
262
|
project=clickhouse.project,
|
|
263
263
|
service_name=clickhouse.service_name,
|
|
264
|
-
role=
|
|
264
|
+
role=demo.role,
|
|
265
265
|
privilege_grants=[
|
|
266
266
|
aiven.ClickhouseGrantPrivilegeGrantArgs(
|
|
267
267
|
privilege="INSERT",
|
|
@@ -273,7 +273,7 @@ class ClickhouseGrant(pulumi.CustomResource):
|
|
|
273
273
|
database=demodb.name,
|
|
274
274
|
),
|
|
275
275
|
])
|
|
276
|
-
demo_clickhouse_user = aiven.ClickhouseUser("
|
|
276
|
+
demo_clickhouse_user = aiven.ClickhouseUser("demo",
|
|
277
277
|
project=clickhouse.project,
|
|
278
278
|
service_name=clickhouse.service_name,
|
|
279
279
|
username="demo-user")
|
|
@@ -282,18 +282,17 @@ class ClickhouseGrant(pulumi.CustomResource):
|
|
|
282
282
|
service_name=clickhouse.service_name,
|
|
283
283
|
user=demo_clickhouse_user.username,
|
|
284
284
|
role_grants=[aiven.ClickhouseGrantRoleGrantArgs(
|
|
285
|
-
role=
|
|
285
|
+
role=demo.role,
|
|
286
286
|
)])
|
|
287
287
|
```
|
|
288
|
-
<!--End PulumiCodeChooser -->
|
|
289
288
|
|
|
290
289
|
:param str resource_name: The name of the resource.
|
|
291
290
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
292
291
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClickhouseGrantPrivilegeGrantArgs']]]] privilege_grants: Configuration to grant a privilege. Changing this property forces recreation of the resource.
|
|
293
|
-
:param pulumi.Input[str] project:
|
|
294
|
-
:param pulumi.Input[str] role: The role
|
|
292
|
+
: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.
|
|
293
|
+
:param pulumi.Input[str] role: The role to grant privileges or roles to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
295
294
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClickhouseGrantRoleGrantArgs']]]] role_grants: Configuration to grant a role. Changing this property forces recreation of the resource.
|
|
296
|
-
:param pulumi.Input[str] service_name:
|
|
295
|
+
: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.
|
|
297
296
|
:param pulumi.Input[str] user: The user to grant privileges or roles to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
298
297
|
"""
|
|
299
298
|
...
|
|
@@ -312,27 +311,27 @@ class ClickhouseGrant(pulumi.CustomResource):
|
|
|
312
311
|
|
|
313
312
|
## Example Usage
|
|
314
313
|
|
|
315
|
-
<!--Start PulumiCodeChooser -->
|
|
316
314
|
```python
|
|
317
315
|
import pulumi
|
|
318
316
|
import pulumi_aiven as aiven
|
|
319
317
|
|
|
320
318
|
clickhouse = aiven.Clickhouse("clickhouse",
|
|
321
|
-
project=
|
|
319
|
+
project=aiven_project_name,
|
|
322
320
|
cloud_name="google-europe-west1",
|
|
323
321
|
plan="startup-8",
|
|
324
322
|
service_name="exapmle-clickhouse")
|
|
325
323
|
demodb = aiven.ClickhouseDatabase("demodb",
|
|
326
324
|
project=clickhouse.project,
|
|
327
|
-
service_name=clickhouse.service_name
|
|
328
|
-
|
|
325
|
+
service_name=clickhouse.service_name,
|
|
326
|
+
name="demo")
|
|
327
|
+
demo = aiven.ClickhouseRole("demo",
|
|
329
328
|
project=clickhouse.project,
|
|
330
329
|
service_name=clickhouse.service_name,
|
|
331
330
|
role="demo-role")
|
|
332
331
|
demo_role_grant = aiven.ClickhouseGrant("demo-role-grant",
|
|
333
332
|
project=clickhouse.project,
|
|
334
333
|
service_name=clickhouse.service_name,
|
|
335
|
-
role=
|
|
334
|
+
role=demo.role,
|
|
336
335
|
privilege_grants=[
|
|
337
336
|
aiven.ClickhouseGrantPrivilegeGrantArgs(
|
|
338
337
|
privilege="INSERT",
|
|
@@ -344,7 +343,7 @@ class ClickhouseGrant(pulumi.CustomResource):
|
|
|
344
343
|
database=demodb.name,
|
|
345
344
|
),
|
|
346
345
|
])
|
|
347
|
-
demo_clickhouse_user = aiven.ClickhouseUser("
|
|
346
|
+
demo_clickhouse_user = aiven.ClickhouseUser("demo",
|
|
348
347
|
project=clickhouse.project,
|
|
349
348
|
service_name=clickhouse.service_name,
|
|
350
349
|
username="demo-user")
|
|
@@ -353,10 +352,9 @@ class ClickhouseGrant(pulumi.CustomResource):
|
|
|
353
352
|
service_name=clickhouse.service_name,
|
|
354
353
|
user=demo_clickhouse_user.username,
|
|
355
354
|
role_grants=[aiven.ClickhouseGrantRoleGrantArgs(
|
|
356
|
-
role=
|
|
355
|
+
role=demo.role,
|
|
357
356
|
)])
|
|
358
357
|
```
|
|
359
|
-
<!--End PulumiCodeChooser -->
|
|
360
358
|
|
|
361
359
|
:param str resource_name: The name of the resource.
|
|
362
360
|
:param ClickhouseGrantArgs args: The arguments to use to populate this resource's properties.
|
|
@@ -422,10 +420,10 @@ class ClickhouseGrant(pulumi.CustomResource):
|
|
|
422
420
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
423
421
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
424
422
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClickhouseGrantPrivilegeGrantArgs']]]] privilege_grants: Configuration to grant a privilege. Changing this property forces recreation of the resource.
|
|
425
|
-
:param pulumi.Input[str] project:
|
|
426
|
-
:param pulumi.Input[str] role: The role
|
|
423
|
+
: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.
|
|
424
|
+
:param pulumi.Input[str] role: The role to grant privileges or roles to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
427
425
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClickhouseGrantRoleGrantArgs']]]] role_grants: Configuration to grant a role. Changing this property forces recreation of the resource.
|
|
428
|
-
:param pulumi.Input[str] service_name:
|
|
426
|
+
: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.
|
|
429
427
|
:param pulumi.Input[str] user: The user to grant privileges or roles to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
430
428
|
"""
|
|
431
429
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -452,7 +450,7 @@ class ClickhouseGrant(pulumi.CustomResource):
|
|
|
452
450
|
@pulumi.getter
|
|
453
451
|
def project(self) -> pulumi.Output[str]:
|
|
454
452
|
"""
|
|
455
|
-
|
|
453
|
+
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.
|
|
456
454
|
"""
|
|
457
455
|
return pulumi.get(self, "project")
|
|
458
456
|
|
|
@@ -460,7 +458,7 @@ class ClickhouseGrant(pulumi.CustomResource):
|
|
|
460
458
|
@pulumi.getter
|
|
461
459
|
def role(self) -> pulumi.Output[Optional[str]]:
|
|
462
460
|
"""
|
|
463
|
-
The role
|
|
461
|
+
The role to grant privileges or roles to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
464
462
|
"""
|
|
465
463
|
return pulumi.get(self, "role")
|
|
466
464
|
|
|
@@ -476,7 +474,7 @@ class ClickhouseGrant(pulumi.CustomResource):
|
|
|
476
474
|
@pulumi.getter(name="serviceName")
|
|
477
475
|
def service_name(self) -> pulumi.Output[str]:
|
|
478
476
|
"""
|
|
479
|
-
|
|
477
|
+
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.
|
|
480
478
|
"""
|
|
481
479
|
return pulumi.get(self, "service_name")
|
|
482
480
|
|
pulumi_aiven/clickhouse_role.py
CHANGED
|
@@ -19,9 +19,9 @@ class ClickhouseRoleArgs:
|
|
|
19
19
|
service_name: pulumi.Input[str]):
|
|
20
20
|
"""
|
|
21
21
|
The set of arguments for constructing a ClickhouseRole resource.
|
|
22
|
-
:param pulumi.Input[str] project:
|
|
22
|
+
: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.
|
|
23
23
|
:param pulumi.Input[str] role: The role that is to be created. Changing this property forces recreation of the resource.
|
|
24
|
-
:param pulumi.Input[str] service_name:
|
|
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__, "project", project)
|
|
27
27
|
pulumi.set(__self__, "role", role)
|
|
@@ -31,7 +31,7 @@ class ClickhouseRoleArgs:
|
|
|
31
31
|
@pulumi.getter
|
|
32
32
|
def project(self) -> pulumi.Input[str]:
|
|
33
33
|
"""
|
|
34
|
-
|
|
34
|
+
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.
|
|
35
35
|
"""
|
|
36
36
|
return pulumi.get(self, "project")
|
|
37
37
|
|
|
@@ -55,7 +55,7 @@ class ClickhouseRoleArgs:
|
|
|
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
|
|
|
@@ -72,9 +72,9 @@ class _ClickhouseRoleState:
|
|
|
72
72
|
service_name: Optional[pulumi.Input[str]] = None):
|
|
73
73
|
"""
|
|
74
74
|
Input properties used for looking up and filtering ClickhouseRole resources.
|
|
75
|
-
:param pulumi.Input[str] project:
|
|
75
|
+
: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.
|
|
76
76
|
:param pulumi.Input[str] role: The role that is to be created. Changing this property forces recreation of the resource.
|
|
77
|
-
:param pulumi.Input[str] service_name:
|
|
77
|
+
: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.
|
|
78
78
|
"""
|
|
79
79
|
if project is not None:
|
|
80
80
|
pulumi.set(__self__, "project", project)
|
|
@@ -87,7 +87,7 @@ class _ClickhouseRoleState:
|
|
|
87
87
|
@pulumi.getter
|
|
88
88
|
def project(self) -> Optional[pulumi.Input[str]]:
|
|
89
89
|
"""
|
|
90
|
-
|
|
90
|
+
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.
|
|
91
91
|
"""
|
|
92
92
|
return pulumi.get(self, "project")
|
|
93
93
|
|
|
@@ -111,7 +111,7 @@ class _ClickhouseRoleState:
|
|
|
111
111
|
@pulumi.getter(name="serviceName")
|
|
112
112
|
def service_name(self) -> Optional[pulumi.Input[str]]:
|
|
113
113
|
"""
|
|
114
|
-
|
|
114
|
+
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.
|
|
115
115
|
"""
|
|
116
116
|
return pulumi.get(self, "service_name")
|
|
117
117
|
|
|
@@ -134,7 +134,6 @@ class ClickhouseRole(pulumi.CustomResource):
|
|
|
134
134
|
|
|
135
135
|
## Example Usage
|
|
136
136
|
|
|
137
|
-
<!--Start PulumiCodeChooser -->
|
|
138
137
|
```python
|
|
139
138
|
import pulumi
|
|
140
139
|
import pulumi_aiven as aiven
|
|
@@ -151,19 +150,18 @@ class ClickhouseRole(pulumi.CustomResource):
|
|
|
151
150
|
project=bar.project,
|
|
152
151
|
role="writer")
|
|
153
152
|
```
|
|
154
|
-
<!--End PulumiCodeChooser -->
|
|
155
153
|
|
|
156
154
|
## Import
|
|
157
155
|
|
|
158
156
|
```sh
|
|
159
|
-
$ pulumi import aiven:index/clickhouseRole:ClickhouseRole foo
|
|
157
|
+
$ pulumi import aiven:index/clickhouseRole:ClickhouseRole foo PROJECT/SERVICE_NAME/ROLE
|
|
160
158
|
```
|
|
161
159
|
|
|
162
160
|
:param str resource_name: The name of the resource.
|
|
163
161
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
164
|
-
:param pulumi.Input[str] project:
|
|
162
|
+
: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.
|
|
165
163
|
:param pulumi.Input[str] role: The role that is to be created. Changing this property forces recreation of the resource.
|
|
166
|
-
:param pulumi.Input[str] service_name:
|
|
164
|
+
: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.
|
|
167
165
|
"""
|
|
168
166
|
...
|
|
169
167
|
@overload
|
|
@@ -176,7 +174,6 @@ class ClickhouseRole(pulumi.CustomResource):
|
|
|
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
|
|
@@ -193,12 +190,11 @@ class ClickhouseRole(pulumi.CustomResource):
|
|
|
193
190
|
project=bar.project,
|
|
194
191
|
role="writer")
|
|
195
192
|
```
|
|
196
|
-
<!--End PulumiCodeChooser -->
|
|
197
193
|
|
|
198
194
|
## Import
|
|
199
195
|
|
|
200
196
|
```sh
|
|
201
|
-
$ pulumi import aiven:index/clickhouseRole:ClickhouseRole foo
|
|
197
|
+
$ pulumi import aiven:index/clickhouseRole:ClickhouseRole foo PROJECT/SERVICE_NAME/ROLE
|
|
202
198
|
```
|
|
203
199
|
|
|
204
200
|
:param str resource_name: The name of the resource.
|
|
@@ -257,9 +253,9 @@ class ClickhouseRole(pulumi.CustomResource):
|
|
|
257
253
|
:param str resource_name: The unique name of the resulting resource.
|
|
258
254
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
259
255
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
260
|
-
:param pulumi.Input[str] project:
|
|
256
|
+
: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.
|
|
261
257
|
:param pulumi.Input[str] role: The role that is to be created. Changing this property forces recreation of the resource.
|
|
262
|
-
:param pulumi.Input[str] service_name:
|
|
258
|
+
: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.
|
|
263
259
|
"""
|
|
264
260
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
265
261
|
|
|
@@ -274,7 +270,7 @@ class ClickhouseRole(pulumi.CustomResource):
|
|
|
274
270
|
@pulumi.getter
|
|
275
271
|
def project(self) -> pulumi.Output[str]:
|
|
276
272
|
"""
|
|
277
|
-
|
|
273
|
+
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.
|
|
278
274
|
"""
|
|
279
275
|
return pulumi.get(self, "project")
|
|
280
276
|
|
|
@@ -290,7 +286,7 @@ class ClickhouseRole(pulumi.CustomResource):
|
|
|
290
286
|
@pulumi.getter(name="serviceName")
|
|
291
287
|
def service_name(self) -> pulumi.Output[str]:
|
|
292
288
|
"""
|
|
293
|
-
|
|
289
|
+
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.
|
|
294
290
|
"""
|
|
295
291
|
return pulumi.get(self, "service_name")
|
|
296
292
|
|
pulumi_aiven/clickhouse_user.py
CHANGED
|
@@ -19,8 +19,8 @@ class ClickhouseUserArgs:
|
|
|
19
19
|
username: pulumi.Input[str]):
|
|
20
20
|
"""
|
|
21
21
|
The set of arguments for constructing a ClickhouseUser resource.
|
|
22
|
-
:param pulumi.Input[str] project:
|
|
23
|
-
:param pulumi.Input[str] service_name:
|
|
22
|
+
: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.
|
|
23
|
+
: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.
|
|
24
24
|
:param pulumi.Input[str] username: The actual name of the Clickhouse user. Changing this property forces recreation of the resource.
|
|
25
25
|
"""
|
|
26
26
|
pulumi.set(__self__, "project", project)
|
|
@@ -31,7 +31,7 @@ class ClickhouseUserArgs:
|
|
|
31
31
|
@pulumi.getter
|
|
32
32
|
def project(self) -> pulumi.Input[str]:
|
|
33
33
|
"""
|
|
34
|
-
|
|
34
|
+
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.
|
|
35
35
|
"""
|
|
36
36
|
return pulumi.get(self, "project")
|
|
37
37
|
|
|
@@ -43,7 +43,7 @@ class ClickhouseUserArgs:
|
|
|
43
43
|
@pulumi.getter(name="serviceName")
|
|
44
44
|
def service_name(self) -> pulumi.Input[str]:
|
|
45
45
|
"""
|
|
46
|
-
|
|
46
|
+
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.
|
|
47
47
|
"""
|
|
48
48
|
return pulumi.get(self, "service_name")
|
|
49
49
|
|
|
@@ -76,9 +76,9 @@ class _ClickhouseUserState:
|
|
|
76
76
|
"""
|
|
77
77
|
Input properties used for looking up and filtering ClickhouseUser resources.
|
|
78
78
|
:param pulumi.Input[str] password: The password of the clickhouse user.
|
|
79
|
-
:param pulumi.Input[str] project:
|
|
79
|
+
: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.
|
|
80
80
|
:param pulumi.Input[bool] required: Indicates if a clickhouse user is required
|
|
81
|
-
:param pulumi.Input[str] service_name:
|
|
81
|
+
: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.
|
|
82
82
|
:param pulumi.Input[str] username: The actual name of the Clickhouse user. Changing this property forces recreation of the resource.
|
|
83
83
|
:param pulumi.Input[str] uuid: UUID of the clickhouse user.
|
|
84
84
|
"""
|
|
@@ -111,7 +111,7 @@ class _ClickhouseUserState:
|
|
|
111
111
|
@pulumi.getter
|
|
112
112
|
def project(self) -> Optional[pulumi.Input[str]]:
|
|
113
113
|
"""
|
|
114
|
-
|
|
114
|
+
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.
|
|
115
115
|
"""
|
|
116
116
|
return pulumi.get(self, "project")
|
|
117
117
|
|
|
@@ -135,7 +135,7 @@ class _ClickhouseUserState:
|
|
|
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
|
|
|
@@ -182,17 +182,15 @@ class ClickhouseUser(pulumi.CustomResource):
|
|
|
182
182
|
|
|
183
183
|
## Example Usage
|
|
184
184
|
|
|
185
|
-
<!--Start PulumiCodeChooser -->
|
|
186
185
|
```python
|
|
187
186
|
import pulumi
|
|
188
187
|
import pulumi_aiven as aiven
|
|
189
188
|
|
|
190
189
|
ch_user = aiven.ClickhouseUser("ch-user",
|
|
191
|
-
project=
|
|
192
|
-
service_name=
|
|
190
|
+
project=myproject["project"],
|
|
191
|
+
service_name=myservice["serviceName"],
|
|
193
192
|
username="<USERNAME>")
|
|
194
193
|
```
|
|
195
|
-
<!--End PulumiCodeChooser -->
|
|
196
194
|
|
|
197
195
|
## Import
|
|
198
196
|
|
|
@@ -202,8 +200,8 @@ class ClickhouseUser(pulumi.CustomResource):
|
|
|
202
200
|
|
|
203
201
|
:param str resource_name: The name of the resource.
|
|
204
202
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
205
|
-
:param pulumi.Input[str] project:
|
|
206
|
-
:param pulumi.Input[str] service_name:
|
|
203
|
+
: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.
|
|
204
|
+
: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.
|
|
207
205
|
:param pulumi.Input[str] username: The actual name of the Clickhouse user. Changing this property forces recreation of the resource.
|
|
208
206
|
"""
|
|
209
207
|
...
|
|
@@ -217,17 +215,15 @@ class ClickhouseUser(pulumi.CustomResource):
|
|
|
217
215
|
|
|
218
216
|
## Example Usage
|
|
219
217
|
|
|
220
|
-
<!--Start PulumiCodeChooser -->
|
|
221
218
|
```python
|
|
222
219
|
import pulumi
|
|
223
220
|
import pulumi_aiven as aiven
|
|
224
221
|
|
|
225
222
|
ch_user = aiven.ClickhouseUser("ch-user",
|
|
226
|
-
project=
|
|
227
|
-
service_name=
|
|
223
|
+
project=myproject["project"],
|
|
224
|
+
service_name=myservice["serviceName"],
|
|
228
225
|
username="<USERNAME>")
|
|
229
226
|
```
|
|
230
|
-
<!--End PulumiCodeChooser -->
|
|
231
227
|
|
|
232
228
|
## Import
|
|
233
229
|
|
|
@@ -300,9 +296,9 @@ class ClickhouseUser(pulumi.CustomResource):
|
|
|
300
296
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
301
297
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
302
298
|
:param pulumi.Input[str] password: The password of the clickhouse user.
|
|
303
|
-
:param pulumi.Input[str] project:
|
|
299
|
+
: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.
|
|
304
300
|
:param pulumi.Input[bool] required: Indicates if a clickhouse user is required
|
|
305
|
-
:param pulumi.Input[str] service_name:
|
|
301
|
+
: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.
|
|
306
302
|
:param pulumi.Input[str] username: The actual name of the Clickhouse user. Changing this property forces recreation of the resource.
|
|
307
303
|
:param pulumi.Input[str] uuid: UUID of the clickhouse user.
|
|
308
304
|
"""
|
|
@@ -330,7 +326,7 @@ class ClickhouseUser(pulumi.CustomResource):
|
|
|
330
326
|
@pulumi.getter
|
|
331
327
|
def project(self) -> pulumi.Output[str]:
|
|
332
328
|
"""
|
|
333
|
-
|
|
329
|
+
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.
|
|
334
330
|
"""
|
|
335
331
|
return pulumi.get(self, "project")
|
|
336
332
|
|
|
@@ -346,7 +342,7 @@ class ClickhouseUser(pulumi.CustomResource):
|
|
|
346
342
|
@pulumi.getter(name="serviceName")
|
|
347
343
|
def service_name(self) -> pulumi.Output[str]:
|
|
348
344
|
"""
|
|
349
|
-
|
|
345
|
+
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.
|
|
350
346
|
"""
|
|
351
347
|
return pulumi.get(self, "service_name")
|
|
352
348
|
|