pulumi-aiven 6.13.0a1710156545__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 +32749 -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_quota.py +604 -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 +38976 -21894
- 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.0.dist-info}/METADATA +7 -6
- pulumi_aiven-6.31.0.dist-info/RECORD +170 -0
- {pulumi_aiven-6.13.0a1710156545.dist-info → pulumi_aiven-6.31.0.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.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,35 +161,41 @@ 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
|
|
|
179
|
-
<!--Start PulumiCodeChooser -->
|
|
180
171
|
```python
|
|
181
172
|
import pulumi
|
|
182
173
|
import pulumi_aiven as aiven
|
|
183
174
|
|
|
184
|
-
|
|
185
|
-
project=
|
|
186
|
-
|
|
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")
|
|
187
186
|
```
|
|
188
|
-
<!--End PulumiCodeChooser -->
|
|
189
187
|
|
|
190
188
|
## Import
|
|
191
189
|
|
|
192
190
|
```sh
|
|
193
|
-
$ pulumi import aiven:index/clickhouseDatabase:ClickhouseDatabase
|
|
191
|
+
$ pulumi import aiven:index/clickhouseDatabase:ClickhouseDatabase example_db PROJECT/SERVICE_NAME/DATABASE_NAME
|
|
194
192
|
```
|
|
195
193
|
|
|
196
194
|
:param str resource_name: The name of the resource.
|
|
197
195
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
198
|
-
:param pulumi.Input[str] name: The name of the
|
|
199
|
-
:param pulumi.Input[str] project:
|
|
200
|
-
:param pulumi.Input[str] service_name:
|
|
201
|
-
:param pulumi.Input[bool] termination_protection: It is a Terraform client-side deletion protections, which prevents the Clickhouse database from being deleted by
|
|
202
|
-
Terraform. It is recommended to enable this for any production Clickhouse databases containing critical data. The
|
|
203
|
-
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.
|
|
204
199
|
"""
|
|
205
200
|
...
|
|
206
201
|
@overload
|
|
@@ -209,25 +204,34 @@ class ClickhouseDatabase(pulumi.CustomResource):
|
|
|
209
204
|
args: ClickhouseDatabaseArgs,
|
|
210
205
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
211
206
|
"""
|
|
212
|
-
|
|
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).
|
|
213
211
|
|
|
214
212
|
## Example Usage
|
|
215
213
|
|
|
216
|
-
<!--Start PulumiCodeChooser -->
|
|
217
214
|
```python
|
|
218
215
|
import pulumi
|
|
219
216
|
import pulumi_aiven as aiven
|
|
220
217
|
|
|
221
|
-
|
|
222
|
-
project=
|
|
223
|
-
|
|
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")
|
|
224
229
|
```
|
|
225
|
-
<!--End PulumiCodeChooser -->
|
|
226
230
|
|
|
227
231
|
## Import
|
|
228
232
|
|
|
229
233
|
```sh
|
|
230
|
-
$ pulumi import aiven:index/clickhouseDatabase:ClickhouseDatabase
|
|
234
|
+
$ pulumi import aiven:index/clickhouseDatabase:ClickhouseDatabase example_db PROJECT/SERVICE_NAME/DATABASE_NAME
|
|
231
235
|
```
|
|
232
236
|
|
|
233
237
|
:param str resource_name: The name of the resource.
|
|
@@ -287,12 +291,9 @@ class ClickhouseDatabase(pulumi.CustomResource):
|
|
|
287
291
|
:param str resource_name: The unique name of the resulting resource.
|
|
288
292
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
289
293
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
290
|
-
:param pulumi.Input[str] name: The name of the
|
|
291
|
-
:param pulumi.Input[str] project:
|
|
292
|
-
:param pulumi.Input[str] service_name:
|
|
293
|
-
:param pulumi.Input[bool] termination_protection: It is a Terraform client-side deletion protections, which prevents the Clickhouse database from being deleted by
|
|
294
|
-
Terraform. It is recommended to enable this for any production Clickhouse databases containing critical data. The
|
|
295
|
-
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.
|
|
296
297
|
"""
|
|
297
298
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
298
299
|
|
|
@@ -308,7 +309,7 @@ class ClickhouseDatabase(pulumi.CustomResource):
|
|
|
308
309
|
@pulumi.getter
|
|
309
310
|
def name(self) -> pulumi.Output[str]:
|
|
310
311
|
"""
|
|
311
|
-
The name of the
|
|
312
|
+
The name of the ClickHouse database. Changing this property forces recreation of the resource.
|
|
312
313
|
"""
|
|
313
314
|
return pulumi.get(self, "name")
|
|
314
315
|
|
|
@@ -316,7 +317,7 @@ class ClickhouseDatabase(pulumi.CustomResource):
|
|
|
316
317
|
@pulumi.getter
|
|
317
318
|
def project(self) -> pulumi.Output[str]:
|
|
318
319
|
"""
|
|
319
|
-
|
|
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.
|
|
320
321
|
"""
|
|
321
322
|
return pulumi.get(self, "project")
|
|
322
323
|
|
|
@@ -324,17 +325,12 @@ class ClickhouseDatabase(pulumi.CustomResource):
|
|
|
324
325
|
@pulumi.getter(name="serviceName")
|
|
325
326
|
def service_name(self) -> pulumi.Output[str]:
|
|
326
327
|
"""
|
|
327
|
-
|
|
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.
|
|
328
329
|
"""
|
|
329
330
|
return pulumi.get(self, "service_name")
|
|
330
331
|
|
|
331
332
|
@property
|
|
332
333
|
@pulumi.getter(name="terminationProtection")
|
|
333
334
|
def termination_protection(self) -> pulumi.Output[Optional[bool]]:
|
|
334
|
-
"""
|
|
335
|
-
It is a Terraform client-side deletion protections, which prevents the Clickhouse database from being deleted by
|
|
336
|
-
Terraform. It is recommended to enable this for any production Clickhouse databases containing critical data. The
|
|
337
|
-
default value is `false`.
|
|
338
|
-
"""
|
|
339
335
|
return pulumi.get(self, "termination_protection")
|
|
340
336
|
|