pulumi-aiven 6.13.0a1709702245__py3-none-any.whl → 6.31.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 +136 -0
- pulumi_aiven/_inputs.py +32960 -13922
- pulumi_aiven/_utilities.py +41 -5
- pulumi_aiven/account.py +34 -43
- pulumi_aiven/account_authentication.py +24 -9
- pulumi_aiven/account_team.py +37 -12
- pulumi_aiven/account_team_member.py +48 -35
- pulumi_aiven/account_team_project.py +42 -25
- 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 -39
- pulumi_aiven/aws_vpc_peering_connection.py +72 -57
- pulumi_aiven/azure_privatelink.py +54 -49
- pulumi_aiven/azure_privatelink_connection_approval.py +136 -33
- pulumi_aiven/azure_vpc_peering_connection.py +86 -73
- pulumi_aiven/billing_group.py +33 -30
- pulumi_aiven/cassandra.py +145 -122
- pulumi_aiven/cassandra_user.py +59 -54
- pulumi_aiven/clickhouse.py +133 -110
- pulumi_aiven/clickhouse_database.py +58 -58
- pulumi_aiven/clickhouse_grant.py +135 -130
- pulumi_aiven/clickhouse_role.py +36 -45
- pulumi_aiven/clickhouse_user.py +50 -45
- pulumi_aiven/config/__init__.pyi +5 -0
- pulumi_aiven/config/vars.py +5 -0
- pulumi_aiven/connection_pool.py +67 -62
- pulumi_aiven/dragonfly.py +1256 -0
- pulumi_aiven/flink.py +104 -100
- pulumi_aiven/flink_application.py +58 -51
- 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 -44
- pulumi_aiven/get_account.py +20 -5
- 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 -20
- pulumi_aiven/get_aws_vpc_peering_connection.py +56 -29
- pulumi_aiven/get_azure_privatelink.py +37 -22
- pulumi_aiven/get_azure_vpc_peering_connection.py +77 -28
- pulumi_aiven/get_billing_group.py +31 -8
- pulumi_aiven/get_cassanda.py +55 -19
- pulumi_aiven/get_cassandra.py +55 -19
- pulumi_aiven/get_cassandra_user.py +42 -26
- pulumi_aiven/get_clickhouse.py +55 -19
- pulumi_aiven/get_clickhouse_database.py +35 -22
- pulumi_aiven/get_clickhouse_user.py +40 -25
- pulumi_aiven/get_connection_pool.py +43 -26
- pulumi_aiven/get_dragonfly.py +499 -0
- pulumi_aiven/get_external_identity.py +160 -0
- pulumi_aiven/get_flink.py +55 -19
- pulumi_aiven/get_flink_application.py +44 -27
- pulumi_aiven/get_flink_application_version.py +55 -33
- pulumi_aiven/get_gcp_privatelink.py +63 -7
- pulumi_aiven/get_gcp_vpc_peering_connection.py +39 -24
- pulumi_aiven/get_grafana.py +55 -19
- 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 -21
- pulumi_aiven/get_kafka_acl.py +50 -33
- pulumi_aiven/get_kafka_connect.py +54 -32
- pulumi_aiven/get_kafka_connector.py +44 -24
- pulumi_aiven/get_kafka_mirror_maker.py +50 -28
- pulumi_aiven/get_kafka_schema.py +35 -19
- pulumi_aiven/get_kafka_schema_configuration.py +32 -17
- pulumi_aiven/get_kafka_schema_registry_acl.py +37 -20
- pulumi_aiven/get_kafka_topic.py +70 -25
- pulumi_aiven/get_kafka_user.py +42 -26
- pulumi_aiven/get_m3_aggregator.py +51 -15
- pulumi_aiven/get_m3_db.py +55 -19
- pulumi_aiven/get_m3db_user.py +38 -24
- pulumi_aiven/get_mirror_maker_replication_flow.py +86 -21
- pulumi_aiven/get_my_sql.py +50 -14
- pulumi_aiven/get_mysql_database.py +31 -18
- pulumi_aiven/get_mysql_user.py +36 -19
- pulumi_aiven/get_open_search.py +50 -14
- pulumi_aiven/get_open_search_acl_config.py +27 -15
- pulumi_aiven/get_open_search_acl_rule.py +37 -21
- pulumi_aiven/get_opensearch_security_plugin_config.py +29 -15
- pulumi_aiven/get_opensearch_user.py +32 -18
- pulumi_aiven/get_organization.py +25 -13
- 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 -19
- pulumi_aiven/get_pg_database.py +39 -24
- pulumi_aiven/get_pg_user.py +44 -27
- pulumi_aiven/get_project.py +43 -22
- pulumi_aiven/get_project_user.py +27 -15
- pulumi_aiven/get_project_vpc.py +31 -19
- pulumi_aiven/get_redis.py +50 -14
- pulumi_aiven/get_redis_user.py +40 -22
- pulumi_aiven/get_service_component.py +40 -18
- pulumi_aiven/get_service_integration.py +163 -49
- pulumi_aiven/get_service_integration_endpoint.py +128 -33
- pulumi_aiven/get_thanos.py +499 -0
- pulumi_aiven/get_transit_gateway_vpc_attachment.py +35 -18
- pulumi_aiven/get_valkey.py +499 -0
- pulumi_aiven/get_valkey_user.py +218 -0
- pulumi_aiven/grafana.py +188 -318
- 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 -140
- pulumi_aiven/kafka_acl.py +64 -53
- pulumi_aiven/kafka_connect.py +201 -328
- pulumi_aiven/kafka_connector.py +67 -56
- pulumi_aiven/kafka_mirror_maker.py +139 -318
- pulumi_aiven/kafka_native_acl.py +588 -0
- pulumi_aiven/kafka_quota.py +604 -0
- pulumi_aiven/kafka_schema.py +65 -56
- pulumi_aiven/kafka_schema_configuration.py +25 -20
- pulumi_aiven/kafka_schema_registry_acl.py +80 -35
- pulumi_aiven/kafka_topic.py +184 -65
- pulumi_aiven/kafka_user.py +59 -54
- pulumi_aiven/m3_aggregator.py +176 -308
- pulumi_aiven/m3_db.py +190 -322
- pulumi_aiven/m3db_user.py +51 -46
- pulumi_aiven/mirror_maker_replication_flow.py +217 -53
- pulumi_aiven/my_sql.py +190 -322
- pulumi_aiven/mysql_database.py +32 -47
- pulumi_aiven/mysql_user.py +37 -32
- pulumi_aiven/open_search.py +128 -105
- pulumi_aiven/open_search_acl_config.py +33 -32
- pulumi_aiven/open_search_acl_rule.py +55 -50
- pulumi_aiven/opensearch_security_plugin_config.py +69 -16
- pulumi_aiven/opensearch_user.py +30 -25
- pulumi_aiven/organization.py +18 -13
- 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 -32
- pulumi_aiven/outputs.py +38714 -21632
- pulumi_aiven/pg.py +92 -88
- pulumi_aiven/pg_database.py +52 -67
- pulumi_aiven/pg_user.py +80 -61
- pulumi_aiven/project.py +111 -102
- pulumi_aiven/project_user.py +44 -31
- pulumi_aiven/project_vpc.py +58 -29
- pulumi_aiven/provider.py +5 -0
- pulumi_aiven/pulumi-plugin.json +2 -1
- pulumi_aiven/redis.py +163 -295
- pulumi_aiven/redis_user.py +58 -53
- pulumi_aiven/service_integration.py +511 -161
- 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 -54
- pulumi_aiven/valkey.py +1256 -0
- pulumi_aiven/valkey_user.py +606 -0
- {pulumi_aiven-6.13.0a1709702245.dist-info → pulumi_aiven-6.31.0.dist-info}/METADATA +7 -6
- pulumi_aiven-6.31.0.dist-info/RECORD +170 -0
- {pulumi_aiven-6.13.0a1709702245.dist-info → pulumi_aiven-6.31.0.dist-info}/WHEEL +1 -1
- pulumi_aiven-6.13.0a1709702245.dist-info/RECORD +0 -146
- {pulumi_aiven-6.13.0a1709702245.dist-info → pulumi_aiven-6.31.0.dist-info}/top_level.txt +0 -0
|
@@ -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__ = ['ClickhouseDatabaseArgs', 'ClickhouseDatabase']
|
|
@@ -20,12 +25,9 @@ class ClickhouseDatabaseArgs:
|
|
|
20
25
|
termination_protection: Optional[pulumi.Input[bool]] = None):
|
|
21
26
|
"""
|
|
22
27
|
The set of arguments for constructing a ClickhouseDatabase resource.
|
|
23
|
-
:param pulumi.Input[str] project:
|
|
24
|
-
:param pulumi.Input[str] service_name:
|
|
25
|
-
:param pulumi.Input[str] name: The name of the
|
|
26
|
-
:param pulumi.Input[bool] termination_protection: It is a Terraform client-side deletion protections, which prevents the Clickhouse database from being deleted by
|
|
27
|
-
Terraform. It is recommended to enable this for any production Clickhouse databases containing critical data. The
|
|
28
|
-
default value is `false`.
|
|
28
|
+
: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.
|
|
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.
|
|
30
|
+
:param pulumi.Input[str] name: The name of the ClickHouse database. Changing this property forces recreation of the resource.
|
|
29
31
|
"""
|
|
30
32
|
pulumi.set(__self__, "project", project)
|
|
31
33
|
pulumi.set(__self__, "service_name", service_name)
|
|
@@ -38,7 +40,7 @@ class ClickhouseDatabaseArgs:
|
|
|
38
40
|
@pulumi.getter
|
|
39
41
|
def project(self) -> pulumi.Input[str]:
|
|
40
42
|
"""
|
|
41
|
-
|
|
43
|
+
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.
|
|
42
44
|
"""
|
|
43
45
|
return pulumi.get(self, "project")
|
|
44
46
|
|
|
@@ -50,7 +52,7 @@ class ClickhouseDatabaseArgs:
|
|
|
50
52
|
@pulumi.getter(name="serviceName")
|
|
51
53
|
def service_name(self) -> pulumi.Input[str]:
|
|
52
54
|
"""
|
|
53
|
-
|
|
55
|
+
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.
|
|
54
56
|
"""
|
|
55
57
|
return pulumi.get(self, "service_name")
|
|
56
58
|
|
|
@@ -62,7 +64,7 @@ class ClickhouseDatabaseArgs:
|
|
|
62
64
|
@pulumi.getter
|
|
63
65
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
64
66
|
"""
|
|
65
|
-
The name of the
|
|
67
|
+
The name of the ClickHouse database. Changing this property forces recreation of the resource.
|
|
66
68
|
"""
|
|
67
69
|
return pulumi.get(self, "name")
|
|
68
70
|
|
|
@@ -73,11 +75,6 @@ class ClickhouseDatabaseArgs:
|
|
|
73
75
|
@property
|
|
74
76
|
@pulumi.getter(name="terminationProtection")
|
|
75
77
|
def termination_protection(self) -> Optional[pulumi.Input[bool]]:
|
|
76
|
-
"""
|
|
77
|
-
It is a Terraform client-side deletion protections, which prevents the Clickhouse database from being deleted by
|
|
78
|
-
Terraform. It is recommended to enable this for any production Clickhouse databases containing critical data. The
|
|
79
|
-
default value is `false`.
|
|
80
|
-
"""
|
|
81
78
|
return pulumi.get(self, "termination_protection")
|
|
82
79
|
|
|
83
80
|
@termination_protection.setter
|
|
@@ -94,12 +91,9 @@ class _ClickhouseDatabaseState:
|
|
|
94
91
|
termination_protection: Optional[pulumi.Input[bool]] = None):
|
|
95
92
|
"""
|
|
96
93
|
Input properties used for looking up and filtering ClickhouseDatabase resources.
|
|
97
|
-
:param pulumi.Input[str] name: The name of the
|
|
98
|
-
:param pulumi.Input[str] project:
|
|
99
|
-
:param pulumi.Input[str] service_name:
|
|
100
|
-
:param pulumi.Input[bool] termination_protection: It is a Terraform client-side deletion protections, which prevents the Clickhouse database from being deleted by
|
|
101
|
-
Terraform. It is recommended to enable this for any production Clickhouse databases containing critical data. The
|
|
102
|
-
default value is `false`.
|
|
94
|
+
:param pulumi.Input[str] name: The name of the ClickHouse database. Changing this property forces recreation of the resource.
|
|
95
|
+
: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.
|
|
96
|
+
: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.
|
|
103
97
|
"""
|
|
104
98
|
if name is not None:
|
|
105
99
|
pulumi.set(__self__, "name", name)
|
|
@@ -114,7 +108,7 @@ class _ClickhouseDatabaseState:
|
|
|
114
108
|
@pulumi.getter
|
|
115
109
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
116
110
|
"""
|
|
117
|
-
The name of the
|
|
111
|
+
The name of the ClickHouse database. Changing this property forces recreation of the resource.
|
|
118
112
|
"""
|
|
119
113
|
return pulumi.get(self, "name")
|
|
120
114
|
|
|
@@ -126,7 +120,7 @@ class _ClickhouseDatabaseState:
|
|
|
126
120
|
@pulumi.getter
|
|
127
121
|
def project(self) -> Optional[pulumi.Input[str]]:
|
|
128
122
|
"""
|
|
129
|
-
|
|
123
|
+
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.
|
|
130
124
|
"""
|
|
131
125
|
return pulumi.get(self, "project")
|
|
132
126
|
|
|
@@ -138,7 +132,7 @@ class _ClickhouseDatabaseState:
|
|
|
138
132
|
@pulumi.getter(name="serviceName")
|
|
139
133
|
def service_name(self) -> Optional[pulumi.Input[str]]:
|
|
140
134
|
"""
|
|
141
|
-
|
|
135
|
+
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.
|
|
142
136
|
"""
|
|
143
137
|
return pulumi.get(self, "service_name")
|
|
144
138
|
|
|
@@ -149,11 +143,6 @@ class _ClickhouseDatabaseState:
|
|
|
149
143
|
@property
|
|
150
144
|
@pulumi.getter(name="terminationProtection")
|
|
151
145
|
def termination_protection(self) -> Optional[pulumi.Input[bool]]:
|
|
152
|
-
"""
|
|
153
|
-
It is a Terraform client-side deletion protections, which prevents the Clickhouse database from being deleted by
|
|
154
|
-
Terraform. It is recommended to enable this for any production Clickhouse databases containing critical data. The
|
|
155
|
-
default value is `false`.
|
|
156
|
-
"""
|
|
157
146
|
return pulumi.get(self, "termination_protection")
|
|
158
147
|
|
|
159
148
|
@termination_protection.setter
|
|
@@ -172,7 +161,10 @@ class ClickhouseDatabase(pulumi.CustomResource):
|
|
|
172
161
|
termination_protection: Optional[pulumi.Input[bool]] = None,
|
|
173
162
|
__props__=None):
|
|
174
163
|
"""
|
|
175
|
-
|
|
164
|
+
Creates and manages an Aiven for ClickHouse® database.
|
|
165
|
+
|
|
166
|
+
> Tables cannot be created using Aiven Operator. To create a table,
|
|
167
|
+
use the [Aiven Console or CLI](https://aiven.io/docs/products/clickhouse/howto/manage-databases-tables#create-a-table).
|
|
176
168
|
|
|
177
169
|
## Example Usage
|
|
178
170
|
|
|
@@ -180,25 +172,30 @@ class ClickhouseDatabase(pulumi.CustomResource):
|
|
|
180
172
|
import pulumi
|
|
181
173
|
import pulumi_aiven as aiven
|
|
182
174
|
|
|
183
|
-
|
|
184
|
-
project=
|
|
185
|
-
|
|
175
|
+
example_clickhouse = aiven.Clickhouse("example_clickhouse",
|
|
176
|
+
project=example_project["project"],
|
|
177
|
+
cloud_name="google-europe-west1",
|
|
178
|
+
plan="business-4",
|
|
179
|
+
service_name="example-clickhouse-service",
|
|
180
|
+
maintenance_window_dow="monday",
|
|
181
|
+
maintenance_window_time="10:00:00")
|
|
182
|
+
example_db = aiven.ClickhouseDatabase("example_db",
|
|
183
|
+
project=example_project["project"],
|
|
184
|
+
service_name=example_clickhouse.service_name,
|
|
185
|
+
name="example-database")
|
|
186
186
|
```
|
|
187
187
|
|
|
188
188
|
## Import
|
|
189
189
|
|
|
190
190
|
```sh
|
|
191
|
-
|
|
191
|
+
$ pulumi import aiven:index/clickhouseDatabase:ClickhouseDatabase example_db PROJECT/SERVICE_NAME/DATABASE_NAME
|
|
192
192
|
```
|
|
193
193
|
|
|
194
194
|
:param str resource_name: The name of the resource.
|
|
195
195
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
196
|
-
:param pulumi.Input[str] name: The name of the
|
|
197
|
-
:param pulumi.Input[str] project:
|
|
198
|
-
:param pulumi.Input[str] service_name:
|
|
199
|
-
:param pulumi.Input[bool] termination_protection: It is a Terraform client-side deletion protections, which prevents the Clickhouse database from being deleted by
|
|
200
|
-
Terraform. It is recommended to enable this for any production Clickhouse databases containing critical data. The
|
|
201
|
-
default value is `false`.
|
|
196
|
+
:param pulumi.Input[str] name: The name of the ClickHouse database. Changing this property forces recreation of the resource.
|
|
197
|
+
: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.
|
|
198
|
+
: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.
|
|
202
199
|
"""
|
|
203
200
|
...
|
|
204
201
|
@overload
|
|
@@ -207,7 +204,10 @@ class ClickhouseDatabase(pulumi.CustomResource):
|
|
|
207
204
|
args: ClickhouseDatabaseArgs,
|
|
208
205
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
209
206
|
"""
|
|
210
|
-
|
|
207
|
+
Creates and manages an Aiven for ClickHouse® database.
|
|
208
|
+
|
|
209
|
+
> Tables cannot be created using Aiven Operator. To create a table,
|
|
210
|
+
use the [Aiven Console or CLI](https://aiven.io/docs/products/clickhouse/howto/manage-databases-tables#create-a-table).
|
|
211
211
|
|
|
212
212
|
## Example Usage
|
|
213
213
|
|
|
@@ -215,15 +215,23 @@ class ClickhouseDatabase(pulumi.CustomResource):
|
|
|
215
215
|
import pulumi
|
|
216
216
|
import pulumi_aiven as aiven
|
|
217
217
|
|
|
218
|
-
|
|
219
|
-
project=
|
|
220
|
-
|
|
218
|
+
example_clickhouse = aiven.Clickhouse("example_clickhouse",
|
|
219
|
+
project=example_project["project"],
|
|
220
|
+
cloud_name="google-europe-west1",
|
|
221
|
+
plan="business-4",
|
|
222
|
+
service_name="example-clickhouse-service",
|
|
223
|
+
maintenance_window_dow="monday",
|
|
224
|
+
maintenance_window_time="10:00:00")
|
|
225
|
+
example_db = aiven.ClickhouseDatabase("example_db",
|
|
226
|
+
project=example_project["project"],
|
|
227
|
+
service_name=example_clickhouse.service_name,
|
|
228
|
+
name="example-database")
|
|
221
229
|
```
|
|
222
230
|
|
|
223
231
|
## Import
|
|
224
232
|
|
|
225
233
|
```sh
|
|
226
|
-
|
|
234
|
+
$ pulumi import aiven:index/clickhouseDatabase:ClickhouseDatabase example_db PROJECT/SERVICE_NAME/DATABASE_NAME
|
|
227
235
|
```
|
|
228
236
|
|
|
229
237
|
:param str resource_name: The name of the resource.
|
|
@@ -283,12 +291,9 @@ class ClickhouseDatabase(pulumi.CustomResource):
|
|
|
283
291
|
:param str resource_name: The unique name of the resulting resource.
|
|
284
292
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
285
293
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
286
|
-
:param pulumi.Input[str] name: The name of the
|
|
287
|
-
:param pulumi.Input[str] project:
|
|
288
|
-
:param pulumi.Input[str] service_name:
|
|
289
|
-
:param pulumi.Input[bool] termination_protection: It is a Terraform client-side deletion protections, which prevents the Clickhouse database from being deleted by
|
|
290
|
-
Terraform. It is recommended to enable this for any production Clickhouse databases containing critical data. The
|
|
291
|
-
default value is `false`.
|
|
294
|
+
:param pulumi.Input[str] name: The name of the ClickHouse database. Changing this property forces recreation of the resource.
|
|
295
|
+
: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.
|
|
296
|
+
: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.
|
|
292
297
|
"""
|
|
293
298
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
294
299
|
|
|
@@ -304,7 +309,7 @@ class ClickhouseDatabase(pulumi.CustomResource):
|
|
|
304
309
|
@pulumi.getter
|
|
305
310
|
def name(self) -> pulumi.Output[str]:
|
|
306
311
|
"""
|
|
307
|
-
The name of the
|
|
312
|
+
The name of the ClickHouse database. Changing this property forces recreation of the resource.
|
|
308
313
|
"""
|
|
309
314
|
return pulumi.get(self, "name")
|
|
310
315
|
|
|
@@ -312,7 +317,7 @@ class ClickhouseDatabase(pulumi.CustomResource):
|
|
|
312
317
|
@pulumi.getter
|
|
313
318
|
def project(self) -> pulumi.Output[str]:
|
|
314
319
|
"""
|
|
315
|
-
|
|
320
|
+
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.
|
|
316
321
|
"""
|
|
317
322
|
return pulumi.get(self, "project")
|
|
318
323
|
|
|
@@ -320,17 +325,12 @@ class ClickhouseDatabase(pulumi.CustomResource):
|
|
|
320
325
|
@pulumi.getter(name="serviceName")
|
|
321
326
|
def service_name(self) -> pulumi.Output[str]:
|
|
322
327
|
"""
|
|
323
|
-
|
|
328
|
+
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.
|
|
324
329
|
"""
|
|
325
330
|
return pulumi.get(self, "service_name")
|
|
326
331
|
|
|
327
332
|
@property
|
|
328
333
|
@pulumi.getter(name="terminationProtection")
|
|
329
334
|
def termination_protection(self) -> pulumi.Output[Optional[bool]]:
|
|
330
|
-
"""
|
|
331
|
-
It is a Terraform client-side deletion protections, which prevents the Clickhouse database from being deleted by
|
|
332
|
-
Terraform. It is recommended to enable this for any production Clickhouse databases containing critical data. The
|
|
333
|
-
default value is `false`.
|
|
334
|
-
"""
|
|
335
335
|
return pulumi.get(self, "termination_protection")
|
|
336
336
|
|