pulumi-aiven 6.12.0a1708492523__py3-none-any.whl → 6.13.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 +2973 -1323
- pulumi_aiven/account.py +40 -32
- pulumi_aiven/account_authentication.py +8 -4
- pulumi_aiven/account_team.py +36 -4
- pulumi_aiven/account_team_member.py +69 -35
- pulumi_aiven/account_team_project.py +52 -12
- pulumi_aiven/aws_privatelink.py +43 -39
- pulumi_aiven/aws_vpc_peering_connection.py +66 -52
- pulumi_aiven/azure_privatelink.py +53 -49
- pulumi_aiven/azure_privatelink_connection_approval.py +33 -33
- pulumi_aiven/azure_vpc_peering_connection.py +80 -68
- pulumi_aiven/billing_group.py +6 -2
- pulumi_aiven/cassandra.py +17 -13
- pulumi_aiven/cassandra_user.py +27 -23
- pulumi_aiven/clickhouse.py +13 -9
- pulumi_aiven/clickhouse_database.py +27 -23
- pulumi_aiven/clickhouse_grant.py +46 -42
- pulumi_aiven/clickhouse_role.py +27 -23
- pulumi_aiven/clickhouse_user.py +27 -23
- pulumi_aiven/connection_pool.py +34 -30
- pulumi_aiven/dragonfly.py +1344 -0
- pulumi_aiven/flink.py +13 -9
- pulumi_aiven/flink_application.py +20 -16
- pulumi_aiven/flink_application_deployment.py +14 -14
- pulumi_aiven/flink_application_version.py +16 -16
- pulumi_aiven/gcp_privatelink.py +26 -26
- pulumi_aiven/gcp_privatelink_connection_approval.py +33 -33
- pulumi_aiven/gcp_vpc_peering_connection.py +41 -37
- pulumi_aiven/get_account.py +4 -0
- pulumi_aiven/get_account_team_member.py +9 -9
- pulumi_aiven/get_aws_privatelink.py +19 -15
- pulumi_aiven/get_aws_vpc_peering_connection.py +37 -23
- pulumi_aiven/get_azure_privatelink.py +21 -17
- pulumi_aiven/get_azure_vpc_peering_connection.py +58 -26
- pulumi_aiven/get_cassanda.py +7 -3
- pulumi_aiven/get_cassandra.py +7 -3
- pulumi_aiven/get_cassandra_user.py +13 -9
- pulumi_aiven/get_clickhouse.py +7 -3
- pulumi_aiven/get_clickhouse_database.py +13 -9
- pulumi_aiven/get_clickhouse_user.py +13 -9
- pulumi_aiven/get_connection_pool.py +14 -10
- pulumi_aiven/get_dragonfly.py +443 -0
- pulumi_aiven/get_flink.py +7 -3
- pulumi_aiven/get_flink_application.py +10 -6
- pulumi_aiven/get_flink_application_version.py +10 -6
- pulumi_aiven/get_gcp_vpc_peering_connection.py +22 -18
- pulumi_aiven/get_grafana.py +7 -3
- pulumi_aiven/get_influx_db.py +2 -114
- pulumi_aiven/get_influxdb_database.py +2 -21
- pulumi_aiven/get_influxdb_user.py +2 -55
- pulumi_aiven/get_kafka.py +7 -3
- pulumi_aiven/get_kafka_acl.py +19 -15
- pulumi_aiven/get_kafka_connect.py +7 -3
- pulumi_aiven/get_kafka_connector.py +13 -9
- pulumi_aiven/get_kafka_mirror_maker.py +7 -3
- pulumi_aiven/get_kafka_schema.py +13 -9
- pulumi_aiven/get_kafka_schema_configuration.py +11 -7
- pulumi_aiven/get_kafka_schema_registry_acl.py +15 -15
- pulumi_aiven/get_kafka_topic.py +13 -9
- pulumi_aiven/get_kafka_user.py +13 -9
- pulumi_aiven/get_m3_aggregator.py +7 -3
- pulumi_aiven/get_m3_db.py +7 -3
- pulumi_aiven/get_m3db_user.py +13 -9
- pulumi_aiven/get_mirror_maker_replication_flow.py +10 -6
- pulumi_aiven/get_my_sql.py +7 -3
- pulumi_aiven/get_mysql_database.py +13 -9
- pulumi_aiven/get_mysql_user.py +13 -9
- pulumi_aiven/get_open_search.py +7 -3
- pulumi_aiven/get_open_search_acl_config.py +10 -6
- pulumi_aiven/get_open_search_acl_rule.py +16 -12
- pulumi_aiven/get_opensearch_security_plugin_config.py +10 -6
- pulumi_aiven/get_opensearch_user.py +13 -9
- pulumi_aiven/get_organization.py +12 -8
- pulumi_aiven/get_organization_user_group.py +33 -9
- pulumi_aiven/get_organizational_unit.py +9 -9
- pulumi_aiven/get_pg.py +7 -3
- pulumi_aiven/get_pg_database.py +15 -11
- pulumi_aiven/get_pg_user.py +13 -9
- pulumi_aiven/get_project.py +4 -0
- pulumi_aiven/get_project_user.py +10 -6
- pulumi_aiven/get_project_vpc.py +15 -13
- pulumi_aiven/get_redis.py +7 -3
- pulumi_aiven/get_redis_user.py +17 -13
- pulumi_aiven/get_service_component.py +4 -0
- pulumi_aiven/get_service_integration.py +68 -6
- pulumi_aiven/get_service_integration_endpoint.py +5 -1
- pulumi_aiven/get_transit_gateway_vpc_attachment.py +13 -9
- pulumi_aiven/grafana.py +13 -9
- pulumi_aiven/influx_db.py +239 -138
- pulumi_aiven/influxdb_database.py +37 -25
- pulumi_aiven/influxdb_user.py +44 -63
- pulumi_aiven/kafka.py +19 -15
- pulumi_aiven/kafka_acl.py +41 -37
- pulumi_aiven/kafka_connect.py +13 -9
- pulumi_aiven/kafka_connector.py +29 -25
- pulumi_aiven/kafka_mirror_maker.py +13 -9
- pulumi_aiven/kafka_schema.py +53 -45
- pulumi_aiven/kafka_schema_configuration.py +20 -16
- pulumi_aiven/kafka_schema_registry_acl.py +35 -35
- pulumi_aiven/kafka_topic.py +23 -23
- pulumi_aiven/kafka_user.py +27 -23
- pulumi_aiven/m3_aggregator.py +13 -9
- pulumi_aiven/m3_db.py +13 -9
- pulumi_aiven/m3db_user.py +27 -23
- pulumi_aiven/mirror_maker_replication_flow.py +56 -50
- pulumi_aiven/my_sql.py +13 -9
- pulumi_aiven/mysql_database.py +27 -23
- pulumi_aiven/mysql_user.py +27 -23
- pulumi_aiven/open_search.py +17 -13
- pulumi_aiven/open_search_acl_config.py +20 -16
- pulumi_aiven/open_search_acl_rule.py +34 -30
- pulumi_aiven/opensearch_security_plugin_config.py +68 -16
- pulumi_aiven/opensearch_user.py +27 -23
- pulumi_aiven/organization.py +14 -10
- pulumi_aiven/organization_group_project.py +290 -0
- pulumi_aiven/organization_user.py +20 -18
- pulumi_aiven/organization_user_group.py +77 -38
- pulumi_aiven/organization_user_group_member.py +352 -0
- pulumi_aiven/organizational_unit.py +36 -32
- pulumi_aiven/outputs.py +4004 -1363
- pulumi_aiven/pg.py +16 -16
- pulumi_aiven/pg_database.py +41 -37
- pulumi_aiven/pg_user.py +27 -23
- pulumi_aiven/project.py +28 -2
- pulumi_aiven/project_user.py +20 -16
- pulumi_aiven/project_vpc.py +25 -25
- pulumi_aiven/redis.py +13 -9
- pulumi_aiven/redis_user.py +55 -51
- pulumi_aiven/service_integration.py +207 -15
- pulumi_aiven/service_integration_endpoint.py +7 -7
- pulumi_aiven/static_ip.py +14 -14
- pulumi_aiven/transit_gateway_vpc_attachment.py +27 -23
- {pulumi_aiven-6.12.0a1708492523.dist-info → pulumi_aiven-6.13.0.dist-info}/METADATA +1 -1
- pulumi_aiven-6.13.0.dist-info/RECORD +150 -0
- {pulumi_aiven-6.12.0a1708492523.dist-info → pulumi_aiven-6.13.0.dist-info}/WHEEL +1 -1
- pulumi_aiven-6.12.0a1708492523.dist-info/RECORD +0 -146
- {pulumi_aiven-6.12.0a1708492523.dist-info → pulumi_aiven-6.13.0.dist-info}/top_level.txt +0 -0
pulumi_aiven/clickhouse_grant.py
CHANGED
|
@@ -24,12 +24,12 @@ 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: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
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.
|
|
29
|
-
:param pulumi.Input[Sequence[pulumi.Input['ClickhouseGrantPrivilegeGrantArgs']]] privilege_grants: Configuration to grant a privilege.
|
|
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.
|
|
31
|
-
:param pulumi.Input[Sequence[pulumi.Input['ClickhouseGrantRoleGrantArgs']]] role_grants: Configuration to grant a role.
|
|
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.
|
|
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
|
+
: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 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
|
+
:param pulumi.Input[Sequence[pulumi.Input['ClickhouseGrantRoleGrantArgs']]] role_grants: Configuration to grant a role. Changing this property forces recreation of the resource.
|
|
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
|
"""
|
|
34
34
|
pulumi.set(__self__, "project", project)
|
|
35
35
|
pulumi.set(__self__, "service_name", service_name)
|
|
@@ -46,7 +46,7 @@ class ClickhouseGrantArgs:
|
|
|
46
46
|
@pulumi.getter
|
|
47
47
|
def project(self) -> pulumi.Input[str]:
|
|
48
48
|
"""
|
|
49
|
-
Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
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
|
-
Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
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
|
|
|
@@ -70,7 +70,7 @@ class ClickhouseGrantArgs:
|
|
|
70
70
|
@pulumi.getter(name="privilegeGrants")
|
|
71
71
|
def privilege_grants(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ClickhouseGrantPrivilegeGrantArgs']]]]:
|
|
72
72
|
"""
|
|
73
|
-
Configuration to grant a privilege.
|
|
73
|
+
Configuration to grant a privilege. Changing this property forces recreation of the resource.
|
|
74
74
|
"""
|
|
75
75
|
return pulumi.get(self, "privilege_grants")
|
|
76
76
|
|
|
@@ -82,7 +82,7 @@ class ClickhouseGrantArgs:
|
|
|
82
82
|
@pulumi.getter
|
|
83
83
|
def role(self) -> Optional[pulumi.Input[str]]:
|
|
84
84
|
"""
|
|
85
|
-
The role that is to be granted. To set up proper dependencies please refer to this variable as a reference.
|
|
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
|
|
|
@@ -94,7 +94,7 @@ class ClickhouseGrantArgs:
|
|
|
94
94
|
@pulumi.getter(name="roleGrants")
|
|
95
95
|
def role_grants(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ClickhouseGrantRoleGrantArgs']]]]:
|
|
96
96
|
"""
|
|
97
|
-
Configuration to grant a role.
|
|
97
|
+
Configuration to grant a role. Changing this property forces recreation of the resource.
|
|
98
98
|
"""
|
|
99
99
|
return pulumi.get(self, "role_grants")
|
|
100
100
|
|
|
@@ -106,7 +106,7 @@ class ClickhouseGrantArgs:
|
|
|
106
106
|
@pulumi.getter
|
|
107
107
|
def user(self) -> Optional[pulumi.Input[str]]:
|
|
108
108
|
"""
|
|
109
|
-
The user to grant privileges or roles to. To set up proper dependencies please refer to this variable as a reference.
|
|
109
|
+
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.
|
|
110
110
|
"""
|
|
111
111
|
return pulumi.get(self, "user")
|
|
112
112
|
|
|
@@ -126,12 +126,12 @@ class _ClickhouseGrantState:
|
|
|
126
126
|
user: Optional[pulumi.Input[str]] = None):
|
|
127
127
|
"""
|
|
128
128
|
Input properties used for looking up and filtering ClickhouseGrant resources.
|
|
129
|
-
:param pulumi.Input[Sequence[pulumi.Input['ClickhouseGrantPrivilegeGrantArgs']]] privilege_grants: Configuration to grant a privilege.
|
|
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.
|
|
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.
|
|
132
|
-
:param pulumi.Input[Sequence[pulumi.Input['ClickhouseGrantRoleGrantArgs']]] role_grants: Configuration to grant a role.
|
|
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.
|
|
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.
|
|
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: 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
|
+
: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: 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
|
+
: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:
|
|
137
137
|
pulumi.set(__self__, "privilege_grants", privilege_grants)
|
|
@@ -150,7 +150,7 @@ class _ClickhouseGrantState:
|
|
|
150
150
|
@pulumi.getter(name="privilegeGrants")
|
|
151
151
|
def privilege_grants(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ClickhouseGrantPrivilegeGrantArgs']]]]:
|
|
152
152
|
"""
|
|
153
|
-
Configuration to grant a privilege.
|
|
153
|
+
Configuration to grant a privilege. Changing this property forces recreation of the resource.
|
|
154
154
|
"""
|
|
155
155
|
return pulumi.get(self, "privilege_grants")
|
|
156
156
|
|
|
@@ -162,7 +162,7 @@ class _ClickhouseGrantState:
|
|
|
162
162
|
@pulumi.getter
|
|
163
163
|
def project(self) -> Optional[pulumi.Input[str]]:
|
|
164
164
|
"""
|
|
165
|
-
Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
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 that is to be granted. To set up proper dependencies please refer to this variable as a reference.
|
|
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
|
|
|
@@ -186,7 +186,7 @@ class _ClickhouseGrantState:
|
|
|
186
186
|
@pulumi.getter(name="roleGrants")
|
|
187
187
|
def role_grants(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ClickhouseGrantRoleGrantArgs']]]]:
|
|
188
188
|
"""
|
|
189
|
-
Configuration to grant a role.
|
|
189
|
+
Configuration to grant a role. Changing this property forces recreation of the resource.
|
|
190
190
|
"""
|
|
191
191
|
return pulumi.get(self, "role_grants")
|
|
192
192
|
|
|
@@ -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
|
-
Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
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
|
|
|
@@ -210,7 +210,7 @@ class _ClickhouseGrantState:
|
|
|
210
210
|
@pulumi.getter
|
|
211
211
|
def user(self) -> Optional[pulumi.Input[str]]:
|
|
212
212
|
"""
|
|
213
|
-
The user to grant privileges or roles to. To set up proper dependencies please refer to this variable as a reference.
|
|
213
|
+
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.
|
|
214
214
|
"""
|
|
215
215
|
return pulumi.get(self, "user")
|
|
216
216
|
|
|
@@ -241,6 +241,7 @@ 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
|
|
@@ -284,15 +285,16 @@ class ClickhouseGrant(pulumi.CustomResource):
|
|
|
284
285
|
role=demo_clickhouse_role.role,
|
|
285
286
|
)])
|
|
286
287
|
```
|
|
288
|
+
<!--End PulumiCodeChooser -->
|
|
287
289
|
|
|
288
290
|
:param str resource_name: The name of the resource.
|
|
289
291
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
290
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClickhouseGrantPrivilegeGrantArgs']]]] privilege_grants: Configuration to grant a privilege.
|
|
291
|
-
: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.
|
|
292
|
-
: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.
|
|
293
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClickhouseGrantRoleGrantArgs']]]] role_grants: Configuration to grant a role.
|
|
294
|
-
: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.
|
|
295
|
-
: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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
296
298
|
"""
|
|
297
299
|
...
|
|
298
300
|
@overload
|
|
@@ -310,6 +312,7 @@ class ClickhouseGrant(pulumi.CustomResource):
|
|
|
310
312
|
|
|
311
313
|
## Example Usage
|
|
312
314
|
|
|
315
|
+
<!--Start PulumiCodeChooser -->
|
|
313
316
|
```python
|
|
314
317
|
import pulumi
|
|
315
318
|
import pulumi_aiven as aiven
|
|
@@ -353,6 +356,7 @@ class ClickhouseGrant(pulumi.CustomResource):
|
|
|
353
356
|
role=demo_clickhouse_role.role,
|
|
354
357
|
)])
|
|
355
358
|
```
|
|
359
|
+
<!--End PulumiCodeChooser -->
|
|
356
360
|
|
|
357
361
|
:param str resource_name: The name of the resource.
|
|
358
362
|
:param ClickhouseGrantArgs args: The arguments to use to populate this resource's properties.
|
|
@@ -417,12 +421,12 @@ class ClickhouseGrant(pulumi.CustomResource):
|
|
|
417
421
|
:param str resource_name: The unique name of the resulting resource.
|
|
418
422
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
419
423
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
420
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClickhouseGrantPrivilegeGrantArgs']]]] privilege_grants: Configuration to grant a privilege.
|
|
421
|
-
: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.
|
|
422
|
-
: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.
|
|
423
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClickhouseGrantRoleGrantArgs']]]] role_grants: Configuration to grant a role.
|
|
424
|
-
: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.
|
|
425
|
-
: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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
426
430
|
"""
|
|
427
431
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
428
432
|
|
|
@@ -440,7 +444,7 @@ class ClickhouseGrant(pulumi.CustomResource):
|
|
|
440
444
|
@pulumi.getter(name="privilegeGrants")
|
|
441
445
|
def privilege_grants(self) -> pulumi.Output[Optional[Sequence['outputs.ClickhouseGrantPrivilegeGrant']]]:
|
|
442
446
|
"""
|
|
443
|
-
Configuration to grant a privilege.
|
|
447
|
+
Configuration to grant a privilege. Changing this property forces recreation of the resource.
|
|
444
448
|
"""
|
|
445
449
|
return pulumi.get(self, "privilege_grants")
|
|
446
450
|
|
|
@@ -448,7 +452,7 @@ class ClickhouseGrant(pulumi.CustomResource):
|
|
|
448
452
|
@pulumi.getter
|
|
449
453
|
def project(self) -> pulumi.Output[str]:
|
|
450
454
|
"""
|
|
451
|
-
Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
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.
|
|
452
456
|
"""
|
|
453
457
|
return pulumi.get(self, "project")
|
|
454
458
|
|
|
@@ -456,7 +460,7 @@ class ClickhouseGrant(pulumi.CustomResource):
|
|
|
456
460
|
@pulumi.getter
|
|
457
461
|
def role(self) -> pulumi.Output[Optional[str]]:
|
|
458
462
|
"""
|
|
459
|
-
The role that is to be granted. To set up proper dependencies please refer to this variable as a reference.
|
|
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.
|
|
460
464
|
"""
|
|
461
465
|
return pulumi.get(self, "role")
|
|
462
466
|
|
|
@@ -464,7 +468,7 @@ class ClickhouseGrant(pulumi.CustomResource):
|
|
|
464
468
|
@pulumi.getter(name="roleGrants")
|
|
465
469
|
def role_grants(self) -> pulumi.Output[Optional[Sequence['outputs.ClickhouseGrantRoleGrant']]]:
|
|
466
470
|
"""
|
|
467
|
-
Configuration to grant a role.
|
|
471
|
+
Configuration to grant a role. Changing this property forces recreation of the resource.
|
|
468
472
|
"""
|
|
469
473
|
return pulumi.get(self, "role_grants")
|
|
470
474
|
|
|
@@ -472,7 +476,7 @@ class ClickhouseGrant(pulumi.CustomResource):
|
|
|
472
476
|
@pulumi.getter(name="serviceName")
|
|
473
477
|
def service_name(self) -> pulumi.Output[str]:
|
|
474
478
|
"""
|
|
475
|
-
Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
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.
|
|
476
480
|
"""
|
|
477
481
|
return pulumi.get(self, "service_name")
|
|
478
482
|
|
|
@@ -480,7 +484,7 @@ class ClickhouseGrant(pulumi.CustomResource):
|
|
|
480
484
|
@pulumi.getter
|
|
481
485
|
def user(self) -> pulumi.Output[Optional[str]]:
|
|
482
486
|
"""
|
|
483
|
-
The user to grant privileges or roles to. To set up proper dependencies please refer to this variable as a reference.
|
|
487
|
+
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.
|
|
484
488
|
"""
|
|
485
489
|
return pulumi.get(self, "user")
|
|
486
490
|
|
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: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
23
|
-
:param pulumi.Input[str] role: The role that is to be created.
|
|
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.
|
|
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] role: The role that is to be created. Changing this property forces recreation of the resource.
|
|
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
|
-
Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
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 ClickhouseRoleArgs:
|
|
|
43
43
|
@pulumi.getter
|
|
44
44
|
def role(self) -> pulumi.Input[str]:
|
|
45
45
|
"""
|
|
46
|
-
The role that is to be created.
|
|
46
|
+
The role that is to be created. Changing this property forces recreation of the resource.
|
|
47
47
|
"""
|
|
48
48
|
return pulumi.get(self, "role")
|
|
49
49
|
|
|
@@ -55,7 +55,7 @@ class ClickhouseRoleArgs:
|
|
|
55
55
|
@pulumi.getter(name="serviceName")
|
|
56
56
|
def service_name(self) -> pulumi.Input[str]:
|
|
57
57
|
"""
|
|
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.
|
|
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: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
76
|
-
:param pulumi.Input[str] role: The role that is to be created.
|
|
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.
|
|
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
|
+
: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: 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
|
-
Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
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
|
|
|
@@ -99,7 +99,7 @@ class _ClickhouseRoleState:
|
|
|
99
99
|
@pulumi.getter
|
|
100
100
|
def role(self) -> Optional[pulumi.Input[str]]:
|
|
101
101
|
"""
|
|
102
|
-
The role that is to be created.
|
|
102
|
+
The role that is to be created. Changing this property forces recreation of the resource.
|
|
103
103
|
"""
|
|
104
104
|
return pulumi.get(self, "role")
|
|
105
105
|
|
|
@@ -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
|
-
Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
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
|
-
|
|
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: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
163
|
-
:param pulumi.Input[str] role: The role that is to be created.
|
|
164
|
-
: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.
|
|
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.
|
|
165
|
+
: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: 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
|
-
|
|
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: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
257
|
-
:param pulumi.Input[str] role: The role that is to be created.
|
|
258
|
-
: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.
|
|
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.
|
|
261
|
+
: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: 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
|
-
Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
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
|
|
|
@@ -278,7 +282,7 @@ class ClickhouseRole(pulumi.CustomResource):
|
|
|
278
282
|
@pulumi.getter
|
|
279
283
|
def role(self) -> pulumi.Output[str]:
|
|
280
284
|
"""
|
|
281
|
-
The role that is to be created.
|
|
285
|
+
The role that is to be created. Changing this property forces recreation of the resource.
|
|
282
286
|
"""
|
|
283
287
|
return pulumi.get(self, "role")
|
|
284
288
|
|
|
@@ -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
|
-
Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
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,9 +19,9 @@ 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: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
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.
|
|
24
|
-
:param pulumi.Input[str] username: The actual name of the Clickhouse user.
|
|
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
|
+
: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)
|
|
27
27
|
pulumi.set(__self__, "service_name", service_name)
|
|
@@ -31,7 +31,7 @@ class ClickhouseUserArgs:
|
|
|
31
31
|
@pulumi.getter
|
|
32
32
|
def project(self) -> pulumi.Input[str]:
|
|
33
33
|
"""
|
|
34
|
-
Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
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
|
-
Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
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
|
|
|
@@ -55,7 +55,7 @@ class ClickhouseUserArgs:
|
|
|
55
55
|
@pulumi.getter
|
|
56
56
|
def username(self) -> pulumi.Input[str]:
|
|
57
57
|
"""
|
|
58
|
-
The actual name of the Clickhouse user.
|
|
58
|
+
The actual name of the Clickhouse user. Changing this property forces recreation of the resource.
|
|
59
59
|
"""
|
|
60
60
|
return pulumi.get(self, "username")
|
|
61
61
|
|
|
@@ -76,10 +76,10 @@ 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: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
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: Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
82
|
-
:param pulumi.Input[str] username: The actual name of the Clickhouse user.
|
|
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
|
+
: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
|
"""
|
|
85
85
|
if password is not None:
|
|
@@ -111,7 +111,7 @@ class _ClickhouseUserState:
|
|
|
111
111
|
@pulumi.getter
|
|
112
112
|
def project(self) -> Optional[pulumi.Input[str]]:
|
|
113
113
|
"""
|
|
114
|
-
Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
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
|
-
Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
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
|
|
|
@@ -147,7 +147,7 @@ class _ClickhouseUserState:
|
|
|
147
147
|
@pulumi.getter
|
|
148
148
|
def username(self) -> Optional[pulumi.Input[str]]:
|
|
149
149
|
"""
|
|
150
|
-
The actual name of the Clickhouse user.
|
|
150
|
+
The actual name of the Clickhouse user. Changing this property forces recreation of the resource.
|
|
151
151
|
"""
|
|
152
152
|
return pulumi.get(self, "username")
|
|
153
153
|
|
|
@@ -182,6 +182,7 @@ 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
|
|
@@ -191,18 +192,19 @@ class ClickhouseUser(pulumi.CustomResource):
|
|
|
191
192
|
service_name=aiven_clickhouse["myservice"]["service_name"],
|
|
192
193
|
username="<USERNAME>")
|
|
193
194
|
```
|
|
195
|
+
<!--End PulumiCodeChooser -->
|
|
194
196
|
|
|
195
197
|
## Import
|
|
196
198
|
|
|
197
199
|
```sh
|
|
198
|
-
|
|
200
|
+
$ pulumi import aiven:index/clickhouseUser:ClickhouseUser ch-user project/service_name/username
|
|
199
201
|
```
|
|
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: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
204
|
-
: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.
|
|
205
|
-
:param pulumi.Input[str] username: The actual name of the Clickhouse user.
|
|
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.
|
|
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
|
...
|
|
208
210
|
@overload
|
|
@@ -215,6 +217,7 @@ 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
|
|
@@ -224,11 +227,12 @@ class ClickhouseUser(pulumi.CustomResource):
|
|
|
224
227
|
service_name=aiven_clickhouse["myservice"]["service_name"],
|
|
225
228
|
username="<USERNAME>")
|
|
226
229
|
```
|
|
230
|
+
<!--End PulumiCodeChooser -->
|
|
227
231
|
|
|
228
232
|
## Import
|
|
229
233
|
|
|
230
234
|
```sh
|
|
231
|
-
|
|
235
|
+
$ pulumi import aiven:index/clickhouseUser:ClickhouseUser ch-user project/service_name/username
|
|
232
236
|
```
|
|
233
237
|
|
|
234
238
|
:param str resource_name: The name of the resource.
|
|
@@ -296,10 +300,10 @@ 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: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
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: Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
302
|
-
:param pulumi.Input[str] username: The actual name of the Clickhouse user.
|
|
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.
|
|
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
|
"""
|
|
305
309
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -326,7 +330,7 @@ class ClickhouseUser(pulumi.CustomResource):
|
|
|
326
330
|
@pulumi.getter
|
|
327
331
|
def project(self) -> pulumi.Output[str]:
|
|
328
332
|
"""
|
|
329
|
-
Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
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
|
-
Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
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
|
|
|
@@ -350,7 +354,7 @@ class ClickhouseUser(pulumi.CustomResource):
|
|
|
350
354
|
@pulumi.getter
|
|
351
355
|
def username(self) -> pulumi.Output[str]:
|
|
352
356
|
"""
|
|
353
|
-
The actual name of the Clickhouse user.
|
|
357
|
+
The actual name of the Clickhouse user. Changing this property forces recreation of the resource.
|
|
354
358
|
"""
|
|
355
359
|
return pulumi.get(self, "username")
|
|
356
360
|
|