pulumi-aiven 6.13.0a1710156545__py3-none-any.whl → 6.31.0a1736831339__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-aiven might be problematic. Click here for more details.
- pulumi_aiven/__init__.py +127 -0
- pulumi_aiven/_inputs.py +32615 -13711
- pulumi_aiven/_utilities.py +41 -5
- pulumi_aiven/account.py +32 -45
- pulumi_aiven/account_authentication.py +24 -9
- pulumi_aiven/account_team.py +35 -14
- pulumi_aiven/account_team_member.py +48 -39
- pulumi_aiven/account_team_project.py +40 -27
- pulumi_aiven/alloydbomni.py +1335 -0
- pulumi_aiven/alloydbomni_database.py +347 -0
- pulumi_aiven/alloydbomni_user.py +433 -0
- pulumi_aiven/aws_privatelink.py +44 -43
- pulumi_aiven/aws_vpc_peering_connection.py +72 -61
- pulumi_aiven/azure_privatelink.py +54 -53
- pulumi_aiven/azure_privatelink_connection_approval.py +136 -33
- pulumi_aiven/azure_vpc_peering_connection.py +86 -77
- pulumi_aiven/billing_group.py +33 -34
- pulumi_aiven/cassandra.py +145 -126
- pulumi_aiven/cassandra_user.py +59 -58
- pulumi_aiven/clickhouse.py +133 -114
- pulumi_aiven/clickhouse_database.py +58 -62
- pulumi_aiven/clickhouse_grant.py +135 -134
- pulumi_aiven/clickhouse_role.py +36 -49
- pulumi_aiven/clickhouse_user.py +50 -49
- pulumi_aiven/config/__init__.pyi +5 -0
- pulumi_aiven/config/vars.py +5 -0
- pulumi_aiven/connection_pool.py +67 -66
- pulumi_aiven/dragonfly.py +1256 -0
- pulumi_aiven/flink.py +104 -104
- pulumi_aiven/flink_application.py +58 -55
- pulumi_aiven/flink_application_deployment.py +178 -73
- pulumi_aiven/flink_application_version.py +179 -96
- pulumi_aiven/gcp_privatelink.py +69 -42
- pulumi_aiven/gcp_privatelink_connection_approval.py +78 -49
- pulumi_aiven/gcp_vpc_peering_connection.py +49 -48
- pulumi_aiven/get_account.py +20 -9
- pulumi_aiven/get_account_authentication.py +31 -5
- pulumi_aiven/get_account_team.py +18 -5
- pulumi_aiven/get_account_team_member.py +29 -14
- pulumi_aiven/get_account_team_project.py +19 -6
- pulumi_aiven/get_alloydbomni.py +499 -0
- pulumi_aiven/get_alloydbomni_database.py +168 -0
- pulumi_aiven/get_alloydbomni_user.py +210 -0
- pulumi_aiven/get_aws_privatelink.py +33 -24
- pulumi_aiven/get_aws_vpc_peering_connection.py +56 -33
- pulumi_aiven/get_azure_privatelink.py +37 -26
- pulumi_aiven/get_azure_vpc_peering_connection.py +77 -28
- pulumi_aiven/get_billing_group.py +31 -8
- pulumi_aiven/get_cassanda.py +55 -23
- pulumi_aiven/get_cassandra.py +55 -23
- pulumi_aiven/get_cassandra_user.py +42 -30
- pulumi_aiven/get_clickhouse.py +55 -23
- pulumi_aiven/get_clickhouse_database.py +35 -26
- pulumi_aiven/get_clickhouse_user.py +40 -29
- pulumi_aiven/get_connection_pool.py +43 -30
- pulumi_aiven/get_dragonfly.py +499 -0
- pulumi_aiven/get_external_identity.py +160 -0
- pulumi_aiven/get_flink.py +55 -23
- pulumi_aiven/get_flink_application.py +44 -31
- pulumi_aiven/get_flink_application_version.py +55 -37
- pulumi_aiven/get_gcp_privatelink.py +63 -7
- pulumi_aiven/get_gcp_vpc_peering_connection.py +39 -28
- pulumi_aiven/get_grafana.py +55 -23
- pulumi_aiven/get_influx_db.py +41 -5
- pulumi_aiven/get_influxdb_database.py +18 -5
- pulumi_aiven/get_influxdb_user.py +21 -5
- pulumi_aiven/get_kafka.py +59 -25
- pulumi_aiven/get_kafka_acl.py +50 -37
- pulumi_aiven/get_kafka_connect.py +54 -36
- pulumi_aiven/get_kafka_connector.py +44 -28
- pulumi_aiven/get_kafka_mirror_maker.py +50 -32
- pulumi_aiven/get_kafka_schema.py +35 -23
- pulumi_aiven/get_kafka_schema_configuration.py +32 -21
- pulumi_aiven/get_kafka_schema_registry_acl.py +37 -20
- pulumi_aiven/get_kafka_topic.py +70 -29
- pulumi_aiven/get_kafka_user.py +42 -30
- pulumi_aiven/get_m3_aggregator.py +51 -19
- pulumi_aiven/get_m3_db.py +55 -23
- pulumi_aiven/get_m3db_user.py +38 -28
- pulumi_aiven/get_mirror_maker_replication_flow.py +86 -25
- pulumi_aiven/get_my_sql.py +50 -18
- pulumi_aiven/get_mysql_database.py +31 -22
- pulumi_aiven/get_mysql_user.py +36 -23
- pulumi_aiven/get_open_search.py +50 -18
- pulumi_aiven/get_open_search_acl_config.py +27 -19
- pulumi_aiven/get_open_search_acl_rule.py +37 -25
- pulumi_aiven/get_opensearch_security_plugin_config.py +29 -19
- pulumi_aiven/get_opensearch_user.py +32 -22
- pulumi_aiven/get_organization.py +25 -17
- pulumi_aiven/get_organization_application_user.py +176 -0
- pulumi_aiven/get_organization_user.py +18 -5
- pulumi_aiven/get_organization_user_group.py +48 -14
- pulumi_aiven/get_organization_user_list.py +121 -0
- pulumi_aiven/get_organizational_unit.py +26 -14
- pulumi_aiven/get_pg.py +55 -23
- pulumi_aiven/get_pg_database.py +39 -28
- pulumi_aiven/get_pg_user.py +44 -31
- pulumi_aiven/get_project.py +43 -26
- pulumi_aiven/get_project_user.py +27 -19
- pulumi_aiven/get_project_vpc.py +31 -23
- pulumi_aiven/get_redis.py +50 -18
- pulumi_aiven/get_redis_user.py +40 -26
- pulumi_aiven/get_service_component.py +40 -22
- pulumi_aiven/get_service_integration.py +163 -53
- pulumi_aiven/get_service_integration_endpoint.py +128 -37
- pulumi_aiven/get_thanos.py +499 -0
- pulumi_aiven/get_transit_gateway_vpc_attachment.py +35 -22
- pulumi_aiven/get_valkey.py +499 -0
- pulumi_aiven/get_valkey_user.py +218 -0
- pulumi_aiven/grafana.py +188 -322
- pulumi_aiven/influx_db.py +127 -90
- pulumi_aiven/influxdb_database.py +40 -55
- pulumi_aiven/influxdb_user.py +47 -42
- pulumi_aiven/kafka.py +157 -144
- pulumi_aiven/kafka_acl.py +64 -57
- pulumi_aiven/kafka_connect.py +201 -332
- pulumi_aiven/kafka_connector.py +67 -60
- pulumi_aiven/kafka_mirror_maker.py +137 -320
- pulumi_aiven/kafka_native_acl.py +588 -0
- pulumi_aiven/kafka_schema.py +63 -58
- pulumi_aiven/kafka_schema_configuration.py +25 -24
- pulumi_aiven/kafka_schema_registry_acl.py +80 -35
- pulumi_aiven/kafka_topic.py +184 -65
- pulumi_aiven/kafka_user.py +59 -58
- pulumi_aiven/m3_aggregator.py +174 -310
- pulumi_aiven/m3_db.py +190 -326
- pulumi_aiven/m3db_user.py +51 -50
- pulumi_aiven/mirror_maker_replication_flow.py +215 -55
- pulumi_aiven/my_sql.py +188 -324
- pulumi_aiven/mysql_database.py +32 -51
- pulumi_aiven/mysql_user.py +37 -36
- pulumi_aiven/open_search.py +126 -107
- pulumi_aiven/open_search_acl_config.py +33 -36
- pulumi_aiven/open_search_acl_rule.py +55 -54
- pulumi_aiven/opensearch_security_plugin_config.py +69 -16
- pulumi_aiven/opensearch_user.py +30 -29
- pulumi_aiven/organization.py +18 -17
- pulumi_aiven/organization_application_user.py +345 -0
- pulumi_aiven/organization_application_user_token.py +711 -0
- pulumi_aiven/organization_group_project.py +349 -0
- pulumi_aiven/organization_permission.py +421 -0
- pulumi_aiven/organization_user.py +25 -46
- pulumi_aiven/organization_user_group.py +64 -23
- pulumi_aiven/organization_user_group_member.py +359 -0
- pulumi_aiven/organizational_unit.py +41 -36
- pulumi_aiven/outputs.py +38355 -21458
- pulumi_aiven/pg.py +92 -88
- pulumi_aiven/pg_database.py +52 -71
- pulumi_aiven/pg_user.py +80 -65
- pulumi_aiven/project.py +111 -102
- pulumi_aiven/project_user.py +44 -35
- pulumi_aiven/project_vpc.py +58 -29
- pulumi_aiven/provider.py +5 -0
- pulumi_aiven/pulumi-plugin.json +2 -1
- pulumi_aiven/redis.py +161 -297
- pulumi_aiven/redis_user.py +58 -57
- pulumi_aiven/service_integration.py +511 -165
- pulumi_aiven/service_integration_endpoint.py +466 -158
- pulumi_aiven/static_ip.py +21 -16
- pulumi_aiven/thanos.py +1262 -0
- pulumi_aiven/transit_gateway_vpc_attachment.py +44 -58
- pulumi_aiven/valkey.py +1256 -0
- pulumi_aiven/valkey_user.py +606 -0
- {pulumi_aiven-6.13.0a1710156545.dist-info → pulumi_aiven-6.31.0a1736831339.dist-info}/METADATA +7 -6
- pulumi_aiven-6.31.0a1736831339.dist-info/RECORD +169 -0
- {pulumi_aiven-6.13.0a1710156545.dist-info → pulumi_aiven-6.31.0a1736831339.dist-info}/WHEEL +1 -1
- pulumi_aiven-6.13.0a1710156545.dist-info/RECORD +0 -146
- {pulumi_aiven-6.13.0a1710156545.dist-info → pulumi_aiven-6.31.0a1736831339.dist-info}/top_level.txt +0 -0
pulumi_aiven/clickhouse_role.py
CHANGED
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
10
15
|
from . import _utilities
|
|
11
16
|
|
|
12
17
|
__all__ = ['ClickhouseRoleArgs', 'ClickhouseRole']
|
|
@@ -19,9 +24,9 @@ class ClickhouseRoleArgs:
|
|
|
19
24
|
service_name: pulumi.Input[str]):
|
|
20
25
|
"""
|
|
21
26
|
The set of arguments for constructing a ClickhouseRole resource.
|
|
22
|
-
:param pulumi.Input[str] project:
|
|
23
|
-
:param pulumi.Input[str] role: The
|
|
24
|
-
: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] role: The name of role. Changing this property forces recreation of the resource.
|
|
29
|
+
:param pulumi.Input[str] service_name: The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
25
30
|
"""
|
|
26
31
|
pulumi.set(__self__, "project", project)
|
|
27
32
|
pulumi.set(__self__, "role", role)
|
|
@@ -31,7 +36,7 @@ class ClickhouseRoleArgs:
|
|
|
31
36
|
@pulumi.getter
|
|
32
37
|
def project(self) -> pulumi.Input[str]:
|
|
33
38
|
"""
|
|
34
|
-
|
|
39
|
+
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
40
|
"""
|
|
36
41
|
return pulumi.get(self, "project")
|
|
37
42
|
|
|
@@ -43,7 +48,7 @@ class ClickhouseRoleArgs:
|
|
|
43
48
|
@pulumi.getter
|
|
44
49
|
def role(self) -> pulumi.Input[str]:
|
|
45
50
|
"""
|
|
46
|
-
The
|
|
51
|
+
The name of role. Changing this property forces recreation of the resource.
|
|
47
52
|
"""
|
|
48
53
|
return pulumi.get(self, "role")
|
|
49
54
|
|
|
@@ -55,7 +60,7 @@ class ClickhouseRoleArgs:
|
|
|
55
60
|
@pulumi.getter(name="serviceName")
|
|
56
61
|
def service_name(self) -> pulumi.Input[str]:
|
|
57
62
|
"""
|
|
58
|
-
|
|
63
|
+
The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
59
64
|
"""
|
|
60
65
|
return pulumi.get(self, "service_name")
|
|
61
66
|
|
|
@@ -72,9 +77,9 @@ class _ClickhouseRoleState:
|
|
|
72
77
|
service_name: Optional[pulumi.Input[str]] = None):
|
|
73
78
|
"""
|
|
74
79
|
Input properties used for looking up and filtering ClickhouseRole resources.
|
|
75
|
-
:param pulumi.Input[str] project:
|
|
76
|
-
:param pulumi.Input[str] role: The
|
|
77
|
-
:param pulumi.Input[str] service_name:
|
|
80
|
+
: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.
|
|
81
|
+
:param pulumi.Input[str] role: The name of role. Changing this property forces recreation of the resource.
|
|
82
|
+
: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
83
|
"""
|
|
79
84
|
if project is not None:
|
|
80
85
|
pulumi.set(__self__, "project", project)
|
|
@@ -87,7 +92,7 @@ class _ClickhouseRoleState:
|
|
|
87
92
|
@pulumi.getter
|
|
88
93
|
def project(self) -> Optional[pulumi.Input[str]]:
|
|
89
94
|
"""
|
|
90
|
-
|
|
95
|
+
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
96
|
"""
|
|
92
97
|
return pulumi.get(self, "project")
|
|
93
98
|
|
|
@@ -99,7 +104,7 @@ class _ClickhouseRoleState:
|
|
|
99
104
|
@pulumi.getter
|
|
100
105
|
def role(self) -> Optional[pulumi.Input[str]]:
|
|
101
106
|
"""
|
|
102
|
-
The
|
|
107
|
+
The name of role. Changing this property forces recreation of the resource.
|
|
103
108
|
"""
|
|
104
109
|
return pulumi.get(self, "role")
|
|
105
110
|
|
|
@@ -111,7 +116,7 @@ class _ClickhouseRoleState:
|
|
|
111
116
|
@pulumi.getter(name="serviceName")
|
|
112
117
|
def service_name(self) -> Optional[pulumi.Input[str]]:
|
|
113
118
|
"""
|
|
114
|
-
|
|
119
|
+
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
120
|
"""
|
|
116
121
|
return pulumi.get(self, "service_name")
|
|
117
122
|
|
|
@@ -130,40 +135,31 @@ class ClickhouseRole(pulumi.CustomResource):
|
|
|
130
135
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
131
136
|
__props__=None):
|
|
132
137
|
"""
|
|
133
|
-
|
|
138
|
+
Creates and manages ClickHouse roles.
|
|
134
139
|
|
|
135
140
|
## Example Usage
|
|
136
141
|
|
|
137
|
-
<!--Start PulumiCodeChooser -->
|
|
138
142
|
```python
|
|
139
143
|
import pulumi
|
|
140
144
|
import pulumi_aiven as aiven
|
|
141
145
|
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
plan="startup-beta-8",
|
|
146
|
-
service_name="example-service",
|
|
147
|
-
maintenance_window_dow="monday",
|
|
148
|
-
maintenance_window_time="10:00:00")
|
|
149
|
-
foo = aiven.ClickhouseRole("foo",
|
|
150
|
-
service_name=bar.service_name,
|
|
151
|
-
project=bar.project,
|
|
146
|
+
example_role = aiven.ClickhouseRole("example_role",
|
|
147
|
+
service_name=example_clickhouse["serviceName"],
|
|
148
|
+
project=example_project["project"],
|
|
152
149
|
role="writer")
|
|
153
150
|
```
|
|
154
|
-
<!--End PulumiCodeChooser -->
|
|
155
151
|
|
|
156
152
|
## Import
|
|
157
153
|
|
|
158
154
|
```sh
|
|
159
|
-
$ pulumi import aiven:index/clickhouseRole:ClickhouseRole
|
|
155
|
+
$ pulumi import aiven:index/clickhouseRole:ClickhouseRole example_role PROJECT/SERVICE_NAME/ROLE
|
|
160
156
|
```
|
|
161
157
|
|
|
162
158
|
:param str resource_name: The name of the resource.
|
|
163
159
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
164
|
-
:param pulumi.Input[str] project:
|
|
165
|
-
:param pulumi.Input[str] role: The
|
|
166
|
-
:param pulumi.Input[str] service_name:
|
|
160
|
+
: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.
|
|
161
|
+
:param pulumi.Input[str] role: The name of role. Changing this property forces recreation of the resource.
|
|
162
|
+
: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
163
|
"""
|
|
168
164
|
...
|
|
169
165
|
@overload
|
|
@@ -172,33 +168,24 @@ class ClickhouseRole(pulumi.CustomResource):
|
|
|
172
168
|
args: ClickhouseRoleArgs,
|
|
173
169
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
174
170
|
"""
|
|
175
|
-
|
|
171
|
+
Creates and manages ClickHouse roles.
|
|
176
172
|
|
|
177
173
|
## Example Usage
|
|
178
174
|
|
|
179
|
-
<!--Start PulumiCodeChooser -->
|
|
180
175
|
```python
|
|
181
176
|
import pulumi
|
|
182
177
|
import pulumi_aiven as aiven
|
|
183
178
|
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
plan="startup-beta-8",
|
|
188
|
-
service_name="example-service",
|
|
189
|
-
maintenance_window_dow="monday",
|
|
190
|
-
maintenance_window_time="10:00:00")
|
|
191
|
-
foo = aiven.ClickhouseRole("foo",
|
|
192
|
-
service_name=bar.service_name,
|
|
193
|
-
project=bar.project,
|
|
179
|
+
example_role = aiven.ClickhouseRole("example_role",
|
|
180
|
+
service_name=example_clickhouse["serviceName"],
|
|
181
|
+
project=example_project["project"],
|
|
194
182
|
role="writer")
|
|
195
183
|
```
|
|
196
|
-
<!--End PulumiCodeChooser -->
|
|
197
184
|
|
|
198
185
|
## Import
|
|
199
186
|
|
|
200
187
|
```sh
|
|
201
|
-
$ pulumi import aiven:index/clickhouseRole:ClickhouseRole
|
|
188
|
+
$ pulumi import aiven:index/clickhouseRole:ClickhouseRole example_role PROJECT/SERVICE_NAME/ROLE
|
|
202
189
|
```
|
|
203
190
|
|
|
204
191
|
:param str resource_name: The name of the resource.
|
|
@@ -257,9 +244,9 @@ class ClickhouseRole(pulumi.CustomResource):
|
|
|
257
244
|
:param str resource_name: The unique name of the resulting resource.
|
|
258
245
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
259
246
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
260
|
-
:param pulumi.Input[str] project:
|
|
261
|
-
:param pulumi.Input[str] role: The
|
|
262
|
-
:param pulumi.Input[str] service_name:
|
|
247
|
+
: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.
|
|
248
|
+
:param pulumi.Input[str] role: The name of role. Changing this property forces recreation of the resource.
|
|
249
|
+
: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
250
|
"""
|
|
264
251
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
265
252
|
|
|
@@ -274,7 +261,7 @@ class ClickhouseRole(pulumi.CustomResource):
|
|
|
274
261
|
@pulumi.getter
|
|
275
262
|
def project(self) -> pulumi.Output[str]:
|
|
276
263
|
"""
|
|
277
|
-
|
|
264
|
+
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
265
|
"""
|
|
279
266
|
return pulumi.get(self, "project")
|
|
280
267
|
|
|
@@ -282,7 +269,7 @@ class ClickhouseRole(pulumi.CustomResource):
|
|
|
282
269
|
@pulumi.getter
|
|
283
270
|
def role(self) -> pulumi.Output[str]:
|
|
284
271
|
"""
|
|
285
|
-
The
|
|
272
|
+
The name of role. Changing this property forces recreation of the resource.
|
|
286
273
|
"""
|
|
287
274
|
return pulumi.get(self, "role")
|
|
288
275
|
|
|
@@ -290,7 +277,7 @@ class ClickhouseRole(pulumi.CustomResource):
|
|
|
290
277
|
@pulumi.getter(name="serviceName")
|
|
291
278
|
def service_name(self) -> pulumi.Output[str]:
|
|
292
279
|
"""
|
|
293
|
-
|
|
280
|
+
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
281
|
"""
|
|
295
282
|
return pulumi.get(self, "service_name")
|
|
296
283
|
|
pulumi_aiven/clickhouse_user.py
CHANGED
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
10
15
|
from . import _utilities
|
|
11
16
|
|
|
12
17
|
__all__ = ['ClickhouseUserArgs', 'ClickhouseUser']
|
|
@@ -19,9 +24,9 @@ class ClickhouseUserArgs:
|
|
|
19
24
|
username: pulumi.Input[str]):
|
|
20
25
|
"""
|
|
21
26
|
The set of arguments for constructing a ClickhouseUser resource.
|
|
22
|
-
:param pulumi.Input[str] project:
|
|
23
|
-
:param pulumi.Input[str] service_name:
|
|
24
|
-
:param pulumi.Input[str] username: The
|
|
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
|
+
:param pulumi.Input[str] username: The name of the ClickHouse user. Changing this property forces recreation of the resource.
|
|
25
30
|
"""
|
|
26
31
|
pulumi.set(__self__, "project", project)
|
|
27
32
|
pulumi.set(__self__, "service_name", service_name)
|
|
@@ -31,7 +36,7 @@ class ClickhouseUserArgs:
|
|
|
31
36
|
@pulumi.getter
|
|
32
37
|
def project(self) -> pulumi.Input[str]:
|
|
33
38
|
"""
|
|
34
|
-
|
|
39
|
+
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
40
|
"""
|
|
36
41
|
return pulumi.get(self, "project")
|
|
37
42
|
|
|
@@ -43,7 +48,7 @@ class ClickhouseUserArgs:
|
|
|
43
48
|
@pulumi.getter(name="serviceName")
|
|
44
49
|
def service_name(self) -> pulumi.Input[str]:
|
|
45
50
|
"""
|
|
46
|
-
|
|
51
|
+
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
52
|
"""
|
|
48
53
|
return pulumi.get(self, "service_name")
|
|
49
54
|
|
|
@@ -55,7 +60,7 @@ class ClickhouseUserArgs:
|
|
|
55
60
|
@pulumi.getter
|
|
56
61
|
def username(self) -> pulumi.Input[str]:
|
|
57
62
|
"""
|
|
58
|
-
The
|
|
63
|
+
The name of the ClickHouse user. Changing this property forces recreation of the resource.
|
|
59
64
|
"""
|
|
60
65
|
return pulumi.get(self, "username")
|
|
61
66
|
|
|
@@ -75,12 +80,12 @@ class _ClickhouseUserState:
|
|
|
75
80
|
uuid: Optional[pulumi.Input[str]] = None):
|
|
76
81
|
"""
|
|
77
82
|
Input properties used for looking up and filtering ClickhouseUser resources.
|
|
78
|
-
:param pulumi.Input[str] password: The password of the
|
|
79
|
-
:param pulumi.Input[str] project:
|
|
80
|
-
:param pulumi.Input[bool] required: Indicates if a
|
|
81
|
-
:param pulumi.Input[str] service_name:
|
|
82
|
-
:param pulumi.Input[str] username: The
|
|
83
|
-
:param pulumi.Input[str] uuid: UUID of the
|
|
83
|
+
:param pulumi.Input[str] password: The password of the ClickHouse user.
|
|
84
|
+
: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.
|
|
85
|
+
:param pulumi.Input[bool] required: Indicates if a ClickHouse user is required.
|
|
86
|
+
: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.
|
|
87
|
+
:param pulumi.Input[str] username: The name of the ClickHouse user. Changing this property forces recreation of the resource.
|
|
88
|
+
:param pulumi.Input[str] uuid: UUID of the ClickHouse user.
|
|
84
89
|
"""
|
|
85
90
|
if password is not None:
|
|
86
91
|
pulumi.set(__self__, "password", password)
|
|
@@ -99,7 +104,7 @@ class _ClickhouseUserState:
|
|
|
99
104
|
@pulumi.getter
|
|
100
105
|
def password(self) -> Optional[pulumi.Input[str]]:
|
|
101
106
|
"""
|
|
102
|
-
The password of the
|
|
107
|
+
The password of the ClickHouse user.
|
|
103
108
|
"""
|
|
104
109
|
return pulumi.get(self, "password")
|
|
105
110
|
|
|
@@ -111,7 +116,7 @@ class _ClickhouseUserState:
|
|
|
111
116
|
@pulumi.getter
|
|
112
117
|
def project(self) -> Optional[pulumi.Input[str]]:
|
|
113
118
|
"""
|
|
114
|
-
|
|
119
|
+
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
120
|
"""
|
|
116
121
|
return pulumi.get(self, "project")
|
|
117
122
|
|
|
@@ -123,7 +128,7 @@ class _ClickhouseUserState:
|
|
|
123
128
|
@pulumi.getter
|
|
124
129
|
def required(self) -> Optional[pulumi.Input[bool]]:
|
|
125
130
|
"""
|
|
126
|
-
Indicates if a
|
|
131
|
+
Indicates if a ClickHouse user is required.
|
|
127
132
|
"""
|
|
128
133
|
return pulumi.get(self, "required")
|
|
129
134
|
|
|
@@ -135,7 +140,7 @@ class _ClickhouseUserState:
|
|
|
135
140
|
@pulumi.getter(name="serviceName")
|
|
136
141
|
def service_name(self) -> Optional[pulumi.Input[str]]:
|
|
137
142
|
"""
|
|
138
|
-
|
|
143
|
+
The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
139
144
|
"""
|
|
140
145
|
return pulumi.get(self, "service_name")
|
|
141
146
|
|
|
@@ -147,7 +152,7 @@ class _ClickhouseUserState:
|
|
|
147
152
|
@pulumi.getter
|
|
148
153
|
def username(self) -> Optional[pulumi.Input[str]]:
|
|
149
154
|
"""
|
|
150
|
-
The
|
|
155
|
+
The name of the ClickHouse user. Changing this property forces recreation of the resource.
|
|
151
156
|
"""
|
|
152
157
|
return pulumi.get(self, "username")
|
|
153
158
|
|
|
@@ -159,7 +164,7 @@ class _ClickhouseUserState:
|
|
|
159
164
|
@pulumi.getter
|
|
160
165
|
def uuid(self) -> Optional[pulumi.Input[str]]:
|
|
161
166
|
"""
|
|
162
|
-
UUID of the
|
|
167
|
+
UUID of the ClickHouse user.
|
|
163
168
|
"""
|
|
164
169
|
return pulumi.get(self, "uuid")
|
|
165
170
|
|
|
@@ -178,33 +183,31 @@ class ClickhouseUser(pulumi.CustomResource):
|
|
|
178
183
|
username: Optional[pulumi.Input[str]] = None,
|
|
179
184
|
__props__=None):
|
|
180
185
|
"""
|
|
181
|
-
|
|
186
|
+
Creates and manages a ClickHouse user.
|
|
182
187
|
|
|
183
188
|
## Example Usage
|
|
184
189
|
|
|
185
|
-
<!--Start PulumiCodeChooser -->
|
|
186
190
|
```python
|
|
187
191
|
import pulumi
|
|
188
192
|
import pulumi_aiven as aiven
|
|
189
193
|
|
|
190
|
-
|
|
191
|
-
project=
|
|
192
|
-
service_name=
|
|
193
|
-
username="
|
|
194
|
+
example_user = aiven.ClickhouseUser("example_user",
|
|
195
|
+
project=example_project["project"],
|
|
196
|
+
service_name=example_service["serviceName"],
|
|
197
|
+
username="analyst")
|
|
194
198
|
```
|
|
195
|
-
<!--End PulumiCodeChooser -->
|
|
196
199
|
|
|
197
200
|
## Import
|
|
198
201
|
|
|
199
202
|
```sh
|
|
200
|
-
$ pulumi import aiven:index/clickhouseUser:ClickhouseUser
|
|
203
|
+
$ pulumi import aiven:index/clickhouseUser:ClickhouseUser example_user PROJECT/SERVICE_NAME/USERNAME
|
|
201
204
|
```
|
|
202
205
|
|
|
203
206
|
:param str resource_name: The name of the resource.
|
|
204
207
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
205
|
-
:param pulumi.Input[str] project:
|
|
206
|
-
:param pulumi.Input[str] service_name:
|
|
207
|
-
:param pulumi.Input[str] username: The
|
|
208
|
+
: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.
|
|
209
|
+
: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.
|
|
210
|
+
:param pulumi.Input[str] username: The name of the ClickHouse user. Changing this property forces recreation of the resource.
|
|
208
211
|
"""
|
|
209
212
|
...
|
|
210
213
|
@overload
|
|
@@ -213,26 +216,24 @@ class ClickhouseUser(pulumi.CustomResource):
|
|
|
213
216
|
args: ClickhouseUserArgs,
|
|
214
217
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
215
218
|
"""
|
|
216
|
-
|
|
219
|
+
Creates and manages a ClickHouse user.
|
|
217
220
|
|
|
218
221
|
## Example Usage
|
|
219
222
|
|
|
220
|
-
<!--Start PulumiCodeChooser -->
|
|
221
223
|
```python
|
|
222
224
|
import pulumi
|
|
223
225
|
import pulumi_aiven as aiven
|
|
224
226
|
|
|
225
|
-
|
|
226
|
-
project=
|
|
227
|
-
service_name=
|
|
228
|
-
username="
|
|
227
|
+
example_user = aiven.ClickhouseUser("example_user",
|
|
228
|
+
project=example_project["project"],
|
|
229
|
+
service_name=example_service["serviceName"],
|
|
230
|
+
username="analyst")
|
|
229
231
|
```
|
|
230
|
-
<!--End PulumiCodeChooser -->
|
|
231
232
|
|
|
232
233
|
## Import
|
|
233
234
|
|
|
234
235
|
```sh
|
|
235
|
-
$ pulumi import aiven:index/clickhouseUser:ClickhouseUser
|
|
236
|
+
$ pulumi import aiven:index/clickhouseUser:ClickhouseUser example_user PROJECT/SERVICE_NAME/USERNAME
|
|
236
237
|
```
|
|
237
238
|
|
|
238
239
|
:param str resource_name: The name of the resource.
|
|
@@ -299,12 +300,12 @@ class ClickhouseUser(pulumi.CustomResource):
|
|
|
299
300
|
:param str resource_name: The unique name of the resulting resource.
|
|
300
301
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
301
302
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
302
|
-
:param pulumi.Input[str] password: The password of the
|
|
303
|
-
:param pulumi.Input[str] project:
|
|
304
|
-
:param pulumi.Input[bool] required: Indicates if a
|
|
305
|
-
:param pulumi.Input[str] service_name:
|
|
306
|
-
:param pulumi.Input[str] username: The
|
|
307
|
-
:param pulumi.Input[str] uuid: UUID of the
|
|
303
|
+
:param pulumi.Input[str] password: The password of the ClickHouse user.
|
|
304
|
+
: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.
|
|
305
|
+
:param pulumi.Input[bool] required: Indicates if a ClickHouse user is required.
|
|
306
|
+
: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.
|
|
307
|
+
:param pulumi.Input[str] username: The name of the ClickHouse user. Changing this property forces recreation of the resource.
|
|
308
|
+
:param pulumi.Input[str] uuid: UUID of the ClickHouse user.
|
|
308
309
|
"""
|
|
309
310
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
310
311
|
|
|
@@ -322,7 +323,7 @@ class ClickhouseUser(pulumi.CustomResource):
|
|
|
322
323
|
@pulumi.getter
|
|
323
324
|
def password(self) -> pulumi.Output[str]:
|
|
324
325
|
"""
|
|
325
|
-
The password of the
|
|
326
|
+
The password of the ClickHouse user.
|
|
326
327
|
"""
|
|
327
328
|
return pulumi.get(self, "password")
|
|
328
329
|
|
|
@@ -330,7 +331,7 @@ class ClickhouseUser(pulumi.CustomResource):
|
|
|
330
331
|
@pulumi.getter
|
|
331
332
|
def project(self) -> pulumi.Output[str]:
|
|
332
333
|
"""
|
|
333
|
-
|
|
334
|
+
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
335
|
"""
|
|
335
336
|
return pulumi.get(self, "project")
|
|
336
337
|
|
|
@@ -338,7 +339,7 @@ class ClickhouseUser(pulumi.CustomResource):
|
|
|
338
339
|
@pulumi.getter
|
|
339
340
|
def required(self) -> pulumi.Output[bool]:
|
|
340
341
|
"""
|
|
341
|
-
Indicates if a
|
|
342
|
+
Indicates if a ClickHouse user is required.
|
|
342
343
|
"""
|
|
343
344
|
return pulumi.get(self, "required")
|
|
344
345
|
|
|
@@ -346,7 +347,7 @@ class ClickhouseUser(pulumi.CustomResource):
|
|
|
346
347
|
@pulumi.getter(name="serviceName")
|
|
347
348
|
def service_name(self) -> pulumi.Output[str]:
|
|
348
349
|
"""
|
|
349
|
-
|
|
350
|
+
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
351
|
"""
|
|
351
352
|
return pulumi.get(self, "service_name")
|
|
352
353
|
|
|
@@ -354,7 +355,7 @@ class ClickhouseUser(pulumi.CustomResource):
|
|
|
354
355
|
@pulumi.getter
|
|
355
356
|
def username(self) -> pulumi.Output[str]:
|
|
356
357
|
"""
|
|
357
|
-
The
|
|
358
|
+
The name of the ClickHouse user. Changing this property forces recreation of the resource.
|
|
358
359
|
"""
|
|
359
360
|
return pulumi.get(self, "username")
|
|
360
361
|
|
|
@@ -362,7 +363,7 @@ class ClickhouseUser(pulumi.CustomResource):
|
|
|
362
363
|
@pulumi.getter
|
|
363
364
|
def uuid(self) -> pulumi.Output[str]:
|
|
364
365
|
"""
|
|
365
|
-
UUID of the
|
|
366
|
+
UUID of the ClickHouse user.
|
|
366
367
|
"""
|
|
367
368
|
return pulumi.get(self, "uuid")
|
|
368
369
|
|
pulumi_aiven/config/__init__.pyi
CHANGED
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
10
15
|
from .. import _utilities
|
|
11
16
|
|
|
12
17
|
apiToken: Optional[str]
|
pulumi_aiven/config/vars.py
CHANGED
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
10
15
|
from .. import _utilities
|
|
11
16
|
|
|
12
17
|
import types
|