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