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
pulumi_aiven/clickhouse.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
|
from . import outputs
|
|
12
17
|
from ._inputs import *
|
|
@@ -20,6 +25,7 @@ class ClickhouseArgs:
|
|
|
20
25
|
project: pulumi.Input[str],
|
|
21
26
|
service_name: pulumi.Input[str],
|
|
22
27
|
additional_disk_space: Optional[pulumi.Input[str]] = None,
|
|
28
|
+
clickhouse: Optional[pulumi.Input['ClickhouseClickhouseArgs']] = None,
|
|
23
29
|
clickhouse_user_config: Optional[pulumi.Input['ClickhouseClickhouseUserConfigArgs']] = None,
|
|
24
30
|
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
25
31
|
disk_space: Optional[pulumi.Input[str]] = None,
|
|
@@ -33,20 +39,21 @@ class ClickhouseArgs:
|
|
|
33
39
|
termination_protection: Optional[pulumi.Input[bool]] = None):
|
|
34
40
|
"""
|
|
35
41
|
The set of arguments for constructing a Clickhouse resource.
|
|
36
|
-
:param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be
|
|
37
|
-
:param pulumi.Input[str] project:
|
|
42
|
+
:param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
43
|
+
: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.
|
|
38
44
|
:param pulumi.Input[str] service_name: Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
|
|
39
|
-
:param pulumi.Input[str] additional_disk_space:
|
|
40
|
-
:param pulumi.Input['
|
|
45
|
+
:param pulumi.Input[str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
|
|
46
|
+
:param pulumi.Input['ClickhouseClickhouseArgs'] clickhouse: Values provided by the ClickHouse server.
|
|
47
|
+
:param pulumi.Input['ClickhouseClickhouseUserConfigArgs'] clickhouse_user_config: Clickhouse user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
41
48
|
:param pulumi.Input[str] cloud_name: Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like [here for Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
42
49
|
:param pulumi.Input[str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
43
50
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
44
51
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
45
52
|
:param pulumi.Input[str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
46
53
|
:param pulumi.Input[Sequence[pulumi.Input['ClickhouseServiceIntegrationArgs']]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
47
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips:
|
|
54
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
48
55
|
:param pulumi.Input[Sequence[pulumi.Input['ClickhouseTagArgs']]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
49
|
-
:param pulumi.Input[Sequence[pulumi.Input['ClickhouseTechEmailArgs']]] tech_emails:
|
|
56
|
+
:param pulumi.Input[Sequence[pulumi.Input['ClickhouseTechEmailArgs']]] tech_emails: The email addresses for [service contacts](https://aiven.io/docs/platform/howto/technical-emails), who will receive important alerts and updates about this service. You can also set email contacts at the project level.
|
|
50
57
|
:param pulumi.Input[bool] termination_protection: Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
|
|
51
58
|
"""
|
|
52
59
|
pulumi.set(__self__, "plan", plan)
|
|
@@ -54,6 +61,8 @@ class ClickhouseArgs:
|
|
|
54
61
|
pulumi.set(__self__, "service_name", service_name)
|
|
55
62
|
if additional_disk_space is not None:
|
|
56
63
|
pulumi.set(__self__, "additional_disk_space", additional_disk_space)
|
|
64
|
+
if clickhouse is not None:
|
|
65
|
+
pulumi.set(__self__, "clickhouse", clickhouse)
|
|
57
66
|
if clickhouse_user_config is not None:
|
|
58
67
|
pulumi.set(__self__, "clickhouse_user_config", clickhouse_user_config)
|
|
59
68
|
if cloud_name is not None:
|
|
@@ -84,7 +93,7 @@ class ClickhouseArgs:
|
|
|
84
93
|
@pulumi.getter
|
|
85
94
|
def plan(self) -> pulumi.Input[str]:
|
|
86
95
|
"""
|
|
87
|
-
Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be
|
|
96
|
+
Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
88
97
|
"""
|
|
89
98
|
return pulumi.get(self, "plan")
|
|
90
99
|
|
|
@@ -96,7 +105,7 @@ class ClickhouseArgs:
|
|
|
96
105
|
@pulumi.getter
|
|
97
106
|
def project(self) -> pulumi.Input[str]:
|
|
98
107
|
"""
|
|
99
|
-
|
|
108
|
+
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.
|
|
100
109
|
"""
|
|
101
110
|
return pulumi.get(self, "project")
|
|
102
111
|
|
|
@@ -120,7 +129,7 @@ class ClickhouseArgs:
|
|
|
120
129
|
@pulumi.getter(name="additionalDiskSpace")
|
|
121
130
|
def additional_disk_space(self) -> Optional[pulumi.Input[str]]:
|
|
122
131
|
"""
|
|
123
|
-
|
|
132
|
+
Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
|
|
124
133
|
"""
|
|
125
134
|
return pulumi.get(self, "additional_disk_space")
|
|
126
135
|
|
|
@@ -128,11 +137,23 @@ class ClickhouseArgs:
|
|
|
128
137
|
def additional_disk_space(self, value: Optional[pulumi.Input[str]]):
|
|
129
138
|
pulumi.set(self, "additional_disk_space", value)
|
|
130
139
|
|
|
140
|
+
@property
|
|
141
|
+
@pulumi.getter
|
|
142
|
+
def clickhouse(self) -> Optional[pulumi.Input['ClickhouseClickhouseArgs']]:
|
|
143
|
+
"""
|
|
144
|
+
Values provided by the ClickHouse server.
|
|
145
|
+
"""
|
|
146
|
+
return pulumi.get(self, "clickhouse")
|
|
147
|
+
|
|
148
|
+
@clickhouse.setter
|
|
149
|
+
def clickhouse(self, value: Optional[pulumi.Input['ClickhouseClickhouseArgs']]):
|
|
150
|
+
pulumi.set(self, "clickhouse", value)
|
|
151
|
+
|
|
131
152
|
@property
|
|
132
153
|
@pulumi.getter(name="clickhouseUserConfig")
|
|
133
154
|
def clickhouse_user_config(self) -> Optional[pulumi.Input['ClickhouseClickhouseUserConfigArgs']]:
|
|
134
155
|
"""
|
|
135
|
-
Clickhouse user configurable settings
|
|
156
|
+
Clickhouse user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
136
157
|
"""
|
|
137
158
|
return pulumi.get(self, "clickhouse_user_config")
|
|
138
159
|
|
|
@@ -154,13 +175,11 @@ class ClickhouseArgs:
|
|
|
154
175
|
|
|
155
176
|
@property
|
|
156
177
|
@pulumi.getter(name="diskSpace")
|
|
178
|
+
@_utilities.deprecated("""This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""")
|
|
157
179
|
def disk_space(self) -> Optional[pulumi.Input[str]]:
|
|
158
180
|
"""
|
|
159
181
|
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
160
182
|
"""
|
|
161
|
-
warnings.warn("""This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""", DeprecationWarning)
|
|
162
|
-
pulumi.log.warn("""disk_space is deprecated: This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""")
|
|
163
|
-
|
|
164
183
|
return pulumi.get(self, "disk_space")
|
|
165
184
|
|
|
166
185
|
@disk_space.setter
|
|
@@ -219,7 +238,7 @@ class ClickhouseArgs:
|
|
|
219
238
|
@pulumi.getter(name="staticIps")
|
|
220
239
|
def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
221
240
|
"""
|
|
222
|
-
|
|
241
|
+
Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
223
242
|
"""
|
|
224
243
|
return pulumi.get(self, "static_ips")
|
|
225
244
|
|
|
@@ -243,7 +262,7 @@ class ClickhouseArgs:
|
|
|
243
262
|
@pulumi.getter(name="techEmails")
|
|
244
263
|
def tech_emails(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ClickhouseTechEmailArgs']]]]:
|
|
245
264
|
"""
|
|
246
|
-
|
|
265
|
+
The email addresses for [service contacts](https://aiven.io/docs/platform/howto/technical-emails), who will receive important alerts and updates about this service. You can also set email contacts at the project level.
|
|
247
266
|
"""
|
|
248
267
|
return pulumi.get(self, "tech_emails")
|
|
249
268
|
|
|
@@ -268,8 +287,8 @@ class ClickhouseArgs:
|
|
|
268
287
|
class _ClickhouseState:
|
|
269
288
|
def __init__(__self__, *,
|
|
270
289
|
additional_disk_space: Optional[pulumi.Input[str]] = None,
|
|
290
|
+
clickhouse: Optional[pulumi.Input['ClickhouseClickhouseArgs']] = None,
|
|
271
291
|
clickhouse_user_config: Optional[pulumi.Input['ClickhouseClickhouseUserConfigArgs']] = None,
|
|
272
|
-
clickhouses: Optional[pulumi.Input[Sequence[pulumi.Input['ClickhouseClickhouseArgs']]]] = None,
|
|
273
292
|
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
274
293
|
components: Optional[pulumi.Input[Sequence[pulumi.Input['ClickhouseComponentArgs']]]] = None,
|
|
275
294
|
disk_space: Optional[pulumi.Input[str]] = None,
|
|
@@ -297,9 +316,9 @@ class _ClickhouseState:
|
|
|
297
316
|
termination_protection: Optional[pulumi.Input[bool]] = None):
|
|
298
317
|
"""
|
|
299
318
|
Input properties used for looking up and filtering Clickhouse resources.
|
|
300
|
-
:param pulumi.Input[str] additional_disk_space:
|
|
301
|
-
:param pulumi.Input['
|
|
302
|
-
:param pulumi.Input[
|
|
319
|
+
:param pulumi.Input[str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
|
|
320
|
+
:param pulumi.Input['ClickhouseClickhouseArgs'] clickhouse: Values provided by the ClickHouse server.
|
|
321
|
+
:param pulumi.Input['ClickhouseClickhouseUserConfigArgs'] clickhouse_user_config: Clickhouse user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
303
322
|
:param pulumi.Input[str] cloud_name: Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like [here for Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
304
323
|
:param pulumi.Input[Sequence[pulumi.Input['ClickhouseComponentArgs']]] components: Service component information objects
|
|
305
324
|
:param pulumi.Input[str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
@@ -309,8 +328,8 @@ class _ClickhouseState:
|
|
|
309
328
|
:param pulumi.Input[str] disk_space_used: Disk space that service is currently using
|
|
310
329
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
311
330
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
312
|
-
:param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be
|
|
313
|
-
:param pulumi.Input[str] project:
|
|
331
|
+
:param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
332
|
+
: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.
|
|
314
333
|
:param pulumi.Input[str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
315
334
|
:param pulumi.Input[str] service_host: The hostname of the service.
|
|
316
335
|
:param pulumi.Input[Sequence[pulumi.Input['ClickhouseServiceIntegrationArgs']]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
@@ -321,17 +340,17 @@ class _ClickhouseState:
|
|
|
321
340
|
:param pulumi.Input[str] service_uri: URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
322
341
|
:param pulumi.Input[str] service_username: Username used for connecting to the service, if applicable
|
|
323
342
|
:param pulumi.Input[str] state: Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
324
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips:
|
|
343
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
325
344
|
:param pulumi.Input[Sequence[pulumi.Input['ClickhouseTagArgs']]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
326
|
-
:param pulumi.Input[Sequence[pulumi.Input['ClickhouseTechEmailArgs']]] tech_emails:
|
|
345
|
+
:param pulumi.Input[Sequence[pulumi.Input['ClickhouseTechEmailArgs']]] tech_emails: The email addresses for [service contacts](https://aiven.io/docs/platform/howto/technical-emails), who will receive important alerts and updates about this service. You can also set email contacts at the project level.
|
|
327
346
|
:param pulumi.Input[bool] termination_protection: Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
|
|
328
347
|
"""
|
|
329
348
|
if additional_disk_space is not None:
|
|
330
349
|
pulumi.set(__self__, "additional_disk_space", additional_disk_space)
|
|
350
|
+
if clickhouse is not None:
|
|
351
|
+
pulumi.set(__self__, "clickhouse", clickhouse)
|
|
331
352
|
if clickhouse_user_config is not None:
|
|
332
353
|
pulumi.set(__self__, "clickhouse_user_config", clickhouse_user_config)
|
|
333
|
-
if clickhouses is not None:
|
|
334
|
-
pulumi.set(__self__, "clickhouses", clickhouses)
|
|
335
354
|
if cloud_name is not None:
|
|
336
355
|
pulumi.set(__self__, "cloud_name", cloud_name)
|
|
337
356
|
if components is not None:
|
|
@@ -347,6 +366,9 @@ class _ClickhouseState:
|
|
|
347
366
|
pulumi.set(__self__, "disk_space_default", disk_space_default)
|
|
348
367
|
if disk_space_step is not None:
|
|
349
368
|
pulumi.set(__self__, "disk_space_step", disk_space_step)
|
|
369
|
+
if disk_space_used is not None:
|
|
370
|
+
warnings.warn("""This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""", DeprecationWarning)
|
|
371
|
+
pulumi.log.warn("""disk_space_used is deprecated: This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""")
|
|
350
372
|
if disk_space_used is not None:
|
|
351
373
|
pulumi.set(__self__, "disk_space_used", disk_space_used)
|
|
352
374
|
if maintenance_window_dow is not None:
|
|
@@ -390,7 +412,7 @@ class _ClickhouseState:
|
|
|
390
412
|
@pulumi.getter(name="additionalDiskSpace")
|
|
391
413
|
def additional_disk_space(self) -> Optional[pulumi.Input[str]]:
|
|
392
414
|
"""
|
|
393
|
-
|
|
415
|
+
Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
|
|
394
416
|
"""
|
|
395
417
|
return pulumi.get(self, "additional_disk_space")
|
|
396
418
|
|
|
@@ -398,11 +420,23 @@ class _ClickhouseState:
|
|
|
398
420
|
def additional_disk_space(self, value: Optional[pulumi.Input[str]]):
|
|
399
421
|
pulumi.set(self, "additional_disk_space", value)
|
|
400
422
|
|
|
423
|
+
@property
|
|
424
|
+
@pulumi.getter
|
|
425
|
+
def clickhouse(self) -> Optional[pulumi.Input['ClickhouseClickhouseArgs']]:
|
|
426
|
+
"""
|
|
427
|
+
Values provided by the ClickHouse server.
|
|
428
|
+
"""
|
|
429
|
+
return pulumi.get(self, "clickhouse")
|
|
430
|
+
|
|
431
|
+
@clickhouse.setter
|
|
432
|
+
def clickhouse(self, value: Optional[pulumi.Input['ClickhouseClickhouseArgs']]):
|
|
433
|
+
pulumi.set(self, "clickhouse", value)
|
|
434
|
+
|
|
401
435
|
@property
|
|
402
436
|
@pulumi.getter(name="clickhouseUserConfig")
|
|
403
437
|
def clickhouse_user_config(self) -> Optional[pulumi.Input['ClickhouseClickhouseUserConfigArgs']]:
|
|
404
438
|
"""
|
|
405
|
-
Clickhouse user configurable settings
|
|
439
|
+
Clickhouse user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
406
440
|
"""
|
|
407
441
|
return pulumi.get(self, "clickhouse_user_config")
|
|
408
442
|
|
|
@@ -410,18 +444,6 @@ class _ClickhouseState:
|
|
|
410
444
|
def clickhouse_user_config(self, value: Optional[pulumi.Input['ClickhouseClickhouseUserConfigArgs']]):
|
|
411
445
|
pulumi.set(self, "clickhouse_user_config", value)
|
|
412
446
|
|
|
413
|
-
@property
|
|
414
|
-
@pulumi.getter
|
|
415
|
-
def clickhouses(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ClickhouseClickhouseArgs']]]]:
|
|
416
|
-
"""
|
|
417
|
-
Allow clients to connect to clickhouse with a DNS name that always resolves to the service's private IP addresses. Only available in certain network locations.
|
|
418
|
-
"""
|
|
419
|
-
return pulumi.get(self, "clickhouses")
|
|
420
|
-
|
|
421
|
-
@clickhouses.setter
|
|
422
|
-
def clickhouses(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ClickhouseClickhouseArgs']]]]):
|
|
423
|
-
pulumi.set(self, "clickhouses", value)
|
|
424
|
-
|
|
425
447
|
@property
|
|
426
448
|
@pulumi.getter(name="cloudName")
|
|
427
449
|
def cloud_name(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -448,13 +470,11 @@ class _ClickhouseState:
|
|
|
448
470
|
|
|
449
471
|
@property
|
|
450
472
|
@pulumi.getter(name="diskSpace")
|
|
473
|
+
@_utilities.deprecated("""This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""")
|
|
451
474
|
def disk_space(self) -> Optional[pulumi.Input[str]]:
|
|
452
475
|
"""
|
|
453
476
|
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
454
477
|
"""
|
|
455
|
-
warnings.warn("""This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""", DeprecationWarning)
|
|
456
|
-
pulumi.log.warn("""disk_space is deprecated: This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""")
|
|
457
|
-
|
|
458
478
|
return pulumi.get(self, "disk_space")
|
|
459
479
|
|
|
460
480
|
@disk_space.setter
|
|
@@ -499,6 +519,7 @@ class _ClickhouseState:
|
|
|
499
519
|
|
|
500
520
|
@property
|
|
501
521
|
@pulumi.getter(name="diskSpaceUsed")
|
|
522
|
+
@_utilities.deprecated("""This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""")
|
|
502
523
|
def disk_space_used(self) -> Optional[pulumi.Input[str]]:
|
|
503
524
|
"""
|
|
504
525
|
Disk space that service is currently using
|
|
@@ -537,7 +558,7 @@ class _ClickhouseState:
|
|
|
537
558
|
@pulumi.getter
|
|
538
559
|
def plan(self) -> Optional[pulumi.Input[str]]:
|
|
539
560
|
"""
|
|
540
|
-
Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be
|
|
561
|
+
Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
541
562
|
"""
|
|
542
563
|
return pulumi.get(self, "plan")
|
|
543
564
|
|
|
@@ -549,7 +570,7 @@ class _ClickhouseState:
|
|
|
549
570
|
@pulumi.getter
|
|
550
571
|
def project(self) -> Optional[pulumi.Input[str]]:
|
|
551
572
|
"""
|
|
552
|
-
|
|
573
|
+
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.
|
|
553
574
|
"""
|
|
554
575
|
return pulumi.get(self, "project")
|
|
555
576
|
|
|
@@ -681,7 +702,7 @@ class _ClickhouseState:
|
|
|
681
702
|
@pulumi.getter(name="staticIps")
|
|
682
703
|
def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
683
704
|
"""
|
|
684
|
-
|
|
705
|
+
Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
685
706
|
"""
|
|
686
707
|
return pulumi.get(self, "static_ips")
|
|
687
708
|
|
|
@@ -705,7 +726,7 @@ class _ClickhouseState:
|
|
|
705
726
|
@pulumi.getter(name="techEmails")
|
|
706
727
|
def tech_emails(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ClickhouseTechEmailArgs']]]]:
|
|
707
728
|
"""
|
|
708
|
-
|
|
729
|
+
The email addresses for [service contacts](https://aiven.io/docs/platform/howto/technical-emails), who will receive important alerts and updates about this service. You can also set email contacts at the project level.
|
|
709
730
|
"""
|
|
710
731
|
return pulumi.get(self, "tech_emails")
|
|
711
732
|
|
|
@@ -732,7 +753,8 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
732
753
|
resource_name: str,
|
|
733
754
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
734
755
|
additional_disk_space: Optional[pulumi.Input[str]] = None,
|
|
735
|
-
|
|
756
|
+
clickhouse: Optional[pulumi.Input[Union['ClickhouseClickhouseArgs', 'ClickhouseClickhouseArgsDict']]] = None,
|
|
757
|
+
clickhouse_user_config: Optional[pulumi.Input[Union['ClickhouseClickhouseUserConfigArgs', 'ClickhouseClickhouseUserConfigArgsDict']]] = None,
|
|
736
758
|
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
737
759
|
disk_space: Optional[pulumi.Input[str]] = None,
|
|
738
760
|
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
@@ -740,55 +762,54 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
740
762
|
plan: Optional[pulumi.Input[str]] = None,
|
|
741
763
|
project: Optional[pulumi.Input[str]] = None,
|
|
742
764
|
project_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
743
|
-
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
765
|
+
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ClickhouseServiceIntegrationArgs', 'ClickhouseServiceIntegrationArgsDict']]]]] = None,
|
|
744
766
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
745
767
|
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
746
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
747
|
-
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
768
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ClickhouseTagArgs', 'ClickhouseTagArgsDict']]]]] = None,
|
|
769
|
+
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ClickhouseTechEmailArgs', 'ClickhouseTechEmailArgsDict']]]]] = None,
|
|
748
770
|
termination_protection: Optional[pulumi.Input[bool]] = None,
|
|
749
771
|
__props__=None):
|
|
750
772
|
"""
|
|
751
|
-
|
|
773
|
+
Creates and manages an [Aiven for ClickHouse®](https://aiven.io/docs/products/clickhouse/concepts/features-overview) service.
|
|
752
774
|
|
|
753
775
|
## Example Usage
|
|
754
776
|
|
|
755
|
-
<!--Start PulumiCodeChooser -->
|
|
756
777
|
```python
|
|
757
778
|
import pulumi
|
|
758
779
|
import pulumi_aiven as aiven
|
|
759
780
|
|
|
760
|
-
|
|
761
|
-
project=
|
|
781
|
+
example_clickhouse = aiven.Clickhouse("example_clickhouse",
|
|
782
|
+
project=example_project["project"],
|
|
762
783
|
cloud_name="google-europe-west1",
|
|
763
784
|
plan="business-4",
|
|
764
|
-
service_name="
|
|
785
|
+
service_name="example-clickhouse-service",
|
|
765
786
|
maintenance_window_dow="monday",
|
|
766
787
|
maintenance_window_time="10:00:00")
|
|
767
788
|
```
|
|
768
|
-
<!--End PulumiCodeChooser -->
|
|
769
789
|
|
|
770
790
|
## Import
|
|
771
791
|
|
|
772
792
|
```sh
|
|
773
|
-
$ pulumi import aiven:index/clickhouse:Clickhouse clickhouse
|
|
793
|
+
$ pulumi import aiven:index/clickhouse:Clickhouse clickhouse PROJECT/SERVICE_NAME
|
|
774
794
|
```
|
|
775
795
|
|
|
776
796
|
:param str resource_name: The name of the resource.
|
|
777
797
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
778
|
-
:param pulumi.Input[str] additional_disk_space:
|
|
779
|
-
:param pulumi.Input[
|
|
798
|
+
:param pulumi.Input[str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
|
|
799
|
+
:param pulumi.Input[Union['ClickhouseClickhouseArgs', 'ClickhouseClickhouseArgsDict']] clickhouse: Values provided by the ClickHouse server.
|
|
800
|
+
:param pulumi.Input[Union['ClickhouseClickhouseUserConfigArgs', 'ClickhouseClickhouseUserConfigArgsDict']] clickhouse_user_config: Clickhouse user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
780
801
|
:param pulumi.Input[str] cloud_name: Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like [here for Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
781
802
|
:param pulumi.Input[str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
782
803
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
783
804
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
784
|
-
:param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be
|
|
785
|
-
:param pulumi.Input[str] project:
|
|
805
|
+
:param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
806
|
+
: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.
|
|
786
807
|
:param pulumi.Input[str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
787
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
808
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['ClickhouseServiceIntegrationArgs', 'ClickhouseServiceIntegrationArgsDict']]]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
788
809
|
:param pulumi.Input[str] service_name: Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
|
|
789
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips:
|
|
790
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
791
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
810
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
811
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['ClickhouseTagArgs', 'ClickhouseTagArgsDict']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
812
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['ClickhouseTechEmailArgs', 'ClickhouseTechEmailArgsDict']]]] tech_emails: The email addresses for [service contacts](https://aiven.io/docs/platform/howto/technical-emails), who will receive important alerts and updates about this service. You can also set email contacts at the project level.
|
|
792
813
|
:param pulumi.Input[bool] termination_protection: Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
|
|
793
814
|
"""
|
|
794
815
|
...
|
|
@@ -798,29 +819,27 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
798
819
|
args: ClickhouseArgs,
|
|
799
820
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
800
821
|
"""
|
|
801
|
-
|
|
822
|
+
Creates and manages an [Aiven for ClickHouse®](https://aiven.io/docs/products/clickhouse/concepts/features-overview) service.
|
|
802
823
|
|
|
803
824
|
## Example Usage
|
|
804
825
|
|
|
805
|
-
<!--Start PulumiCodeChooser -->
|
|
806
826
|
```python
|
|
807
827
|
import pulumi
|
|
808
828
|
import pulumi_aiven as aiven
|
|
809
829
|
|
|
810
|
-
|
|
811
|
-
project=
|
|
830
|
+
example_clickhouse = aiven.Clickhouse("example_clickhouse",
|
|
831
|
+
project=example_project["project"],
|
|
812
832
|
cloud_name="google-europe-west1",
|
|
813
833
|
plan="business-4",
|
|
814
|
-
service_name="
|
|
834
|
+
service_name="example-clickhouse-service",
|
|
815
835
|
maintenance_window_dow="monday",
|
|
816
836
|
maintenance_window_time="10:00:00")
|
|
817
837
|
```
|
|
818
|
-
<!--End PulumiCodeChooser -->
|
|
819
838
|
|
|
820
839
|
## Import
|
|
821
840
|
|
|
822
841
|
```sh
|
|
823
|
-
$ pulumi import aiven:index/clickhouse:Clickhouse clickhouse
|
|
842
|
+
$ pulumi import aiven:index/clickhouse:Clickhouse clickhouse PROJECT/SERVICE_NAME
|
|
824
843
|
```
|
|
825
844
|
|
|
826
845
|
:param str resource_name: The name of the resource.
|
|
@@ -839,7 +858,8 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
839
858
|
resource_name: str,
|
|
840
859
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
841
860
|
additional_disk_space: Optional[pulumi.Input[str]] = None,
|
|
842
|
-
|
|
861
|
+
clickhouse: Optional[pulumi.Input[Union['ClickhouseClickhouseArgs', 'ClickhouseClickhouseArgsDict']]] = None,
|
|
862
|
+
clickhouse_user_config: Optional[pulumi.Input[Union['ClickhouseClickhouseUserConfigArgs', 'ClickhouseClickhouseUserConfigArgsDict']]] = None,
|
|
843
863
|
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
844
864
|
disk_space: Optional[pulumi.Input[str]] = None,
|
|
845
865
|
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
@@ -847,11 +867,11 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
847
867
|
plan: Optional[pulumi.Input[str]] = None,
|
|
848
868
|
project: Optional[pulumi.Input[str]] = None,
|
|
849
869
|
project_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
850
|
-
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
870
|
+
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ClickhouseServiceIntegrationArgs', 'ClickhouseServiceIntegrationArgsDict']]]]] = None,
|
|
851
871
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
852
872
|
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
853
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
854
|
-
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
873
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ClickhouseTagArgs', 'ClickhouseTagArgsDict']]]]] = None,
|
|
874
|
+
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ClickhouseTechEmailArgs', 'ClickhouseTechEmailArgsDict']]]]] = None,
|
|
855
875
|
termination_protection: Optional[pulumi.Input[bool]] = None,
|
|
856
876
|
__props__=None):
|
|
857
877
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
@@ -863,6 +883,7 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
863
883
|
__props__ = ClickhouseArgs.__new__(ClickhouseArgs)
|
|
864
884
|
|
|
865
885
|
__props__.__dict__["additional_disk_space"] = additional_disk_space
|
|
886
|
+
__props__.__dict__["clickhouse"] = None if clickhouse is None else pulumi.Output.secret(clickhouse)
|
|
866
887
|
__props__.__dict__["clickhouse_user_config"] = clickhouse_user_config
|
|
867
888
|
__props__.__dict__["cloud_name"] = cloud_name
|
|
868
889
|
__props__.__dict__["disk_space"] = disk_space
|
|
@@ -883,7 +904,6 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
883
904
|
__props__.__dict__["tags"] = tags
|
|
884
905
|
__props__.__dict__["tech_emails"] = tech_emails
|
|
885
906
|
__props__.__dict__["termination_protection"] = termination_protection
|
|
886
|
-
__props__.__dict__["clickhouses"] = None
|
|
887
907
|
__props__.__dict__["components"] = None
|
|
888
908
|
__props__.__dict__["disk_space_cap"] = None
|
|
889
909
|
__props__.__dict__["disk_space_default"] = None
|
|
@@ -896,7 +916,7 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
896
916
|
__props__.__dict__["service_uri"] = None
|
|
897
917
|
__props__.__dict__["service_username"] = None
|
|
898
918
|
__props__.__dict__["state"] = None
|
|
899
|
-
secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["servicePassword", "serviceUri"])
|
|
919
|
+
secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["clickhouse", "servicePassword", "serviceUri"])
|
|
900
920
|
opts = pulumi.ResourceOptions.merge(opts, secret_opts)
|
|
901
921
|
super(Clickhouse, __self__).__init__(
|
|
902
922
|
'aiven:index/clickhouse:Clickhouse',
|
|
@@ -909,10 +929,10 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
909
929
|
id: pulumi.Input[str],
|
|
910
930
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
911
931
|
additional_disk_space: Optional[pulumi.Input[str]] = None,
|
|
912
|
-
|
|
913
|
-
|
|
932
|
+
clickhouse: Optional[pulumi.Input[Union['ClickhouseClickhouseArgs', 'ClickhouseClickhouseArgsDict']]] = None,
|
|
933
|
+
clickhouse_user_config: Optional[pulumi.Input[Union['ClickhouseClickhouseUserConfigArgs', 'ClickhouseClickhouseUserConfigArgsDict']]] = None,
|
|
914
934
|
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
915
|
-
components: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
935
|
+
components: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ClickhouseComponentArgs', 'ClickhouseComponentArgsDict']]]]] = None,
|
|
916
936
|
disk_space: Optional[pulumi.Input[str]] = None,
|
|
917
937
|
disk_space_cap: Optional[pulumi.Input[str]] = None,
|
|
918
938
|
disk_space_default: Optional[pulumi.Input[str]] = None,
|
|
@@ -924,7 +944,7 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
924
944
|
project: Optional[pulumi.Input[str]] = None,
|
|
925
945
|
project_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
926
946
|
service_host: Optional[pulumi.Input[str]] = None,
|
|
927
|
-
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
947
|
+
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ClickhouseServiceIntegrationArgs', 'ClickhouseServiceIntegrationArgsDict']]]]] = None,
|
|
928
948
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
929
949
|
service_password: Optional[pulumi.Input[str]] = None,
|
|
930
950
|
service_port: Optional[pulumi.Input[int]] = None,
|
|
@@ -933,8 +953,8 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
933
953
|
service_username: Optional[pulumi.Input[str]] = None,
|
|
934
954
|
state: Optional[pulumi.Input[str]] = None,
|
|
935
955
|
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
936
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
937
|
-
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
956
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ClickhouseTagArgs', 'ClickhouseTagArgsDict']]]]] = None,
|
|
957
|
+
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ClickhouseTechEmailArgs', 'ClickhouseTechEmailArgsDict']]]]] = None,
|
|
938
958
|
termination_protection: Optional[pulumi.Input[bool]] = None) -> 'Clickhouse':
|
|
939
959
|
"""
|
|
940
960
|
Get an existing Clickhouse resource's state with the given name, id, and optional extra
|
|
@@ -943,11 +963,11 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
943
963
|
:param str resource_name: The unique name of the resulting resource.
|
|
944
964
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
945
965
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
946
|
-
:param pulumi.Input[str] additional_disk_space:
|
|
947
|
-
:param pulumi.Input[
|
|
948
|
-
:param pulumi.Input[
|
|
966
|
+
:param pulumi.Input[str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
|
|
967
|
+
:param pulumi.Input[Union['ClickhouseClickhouseArgs', 'ClickhouseClickhouseArgsDict']] clickhouse: Values provided by the ClickHouse server.
|
|
968
|
+
:param pulumi.Input[Union['ClickhouseClickhouseUserConfigArgs', 'ClickhouseClickhouseUserConfigArgsDict']] clickhouse_user_config: Clickhouse user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
949
969
|
:param pulumi.Input[str] cloud_name: Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like [here for Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
950
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
970
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['ClickhouseComponentArgs', 'ClickhouseComponentArgsDict']]]] components: Service component information objects
|
|
951
971
|
:param pulumi.Input[str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
952
972
|
:param pulumi.Input[str] disk_space_cap: The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
953
973
|
:param pulumi.Input[str] disk_space_default: The default disk space of the service, possible values depend on the service type, the cloud provider and the project. Its also the minimum value for `disk_space`
|
|
@@ -955,11 +975,11 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
955
975
|
:param pulumi.Input[str] disk_space_used: Disk space that service is currently using
|
|
956
976
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
957
977
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
958
|
-
:param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be
|
|
959
|
-
:param pulumi.Input[str] project:
|
|
978
|
+
:param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
979
|
+
: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.
|
|
960
980
|
:param pulumi.Input[str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
961
981
|
:param pulumi.Input[str] service_host: The hostname of the service.
|
|
962
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
982
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['ClickhouseServiceIntegrationArgs', 'ClickhouseServiceIntegrationArgsDict']]]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
963
983
|
:param pulumi.Input[str] service_name: Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
|
|
964
984
|
:param pulumi.Input[str] service_password: Password used for connecting to the service, if applicable
|
|
965
985
|
:param pulumi.Input[int] service_port: The port of the service
|
|
@@ -967,9 +987,9 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
967
987
|
:param pulumi.Input[str] service_uri: URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
968
988
|
:param pulumi.Input[str] service_username: Username used for connecting to the service, if applicable
|
|
969
989
|
:param pulumi.Input[str] state: Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
970
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips:
|
|
971
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
972
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
990
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
991
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['ClickhouseTagArgs', 'ClickhouseTagArgsDict']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
992
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['ClickhouseTechEmailArgs', 'ClickhouseTechEmailArgsDict']]]] tech_emails: The email addresses for [service contacts](https://aiven.io/docs/platform/howto/technical-emails), who will receive important alerts and updates about this service. You can also set email contacts at the project level.
|
|
973
993
|
:param pulumi.Input[bool] termination_protection: Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
|
|
974
994
|
"""
|
|
975
995
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -977,8 +997,8 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
977
997
|
__props__ = _ClickhouseState.__new__(_ClickhouseState)
|
|
978
998
|
|
|
979
999
|
__props__.__dict__["additional_disk_space"] = additional_disk_space
|
|
1000
|
+
__props__.__dict__["clickhouse"] = clickhouse
|
|
980
1001
|
__props__.__dict__["clickhouse_user_config"] = clickhouse_user_config
|
|
981
|
-
__props__.__dict__["clickhouses"] = clickhouses
|
|
982
1002
|
__props__.__dict__["cloud_name"] = cloud_name
|
|
983
1003
|
__props__.__dict__["components"] = components
|
|
984
1004
|
__props__.__dict__["disk_space"] = disk_space
|
|
@@ -1008,27 +1028,27 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
1008
1028
|
|
|
1009
1029
|
@property
|
|
1010
1030
|
@pulumi.getter(name="additionalDiskSpace")
|
|
1011
|
-
def additional_disk_space(self) -> pulumi.Output[
|
|
1031
|
+
def additional_disk_space(self) -> pulumi.Output[str]:
|
|
1012
1032
|
"""
|
|
1013
|
-
|
|
1033
|
+
Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
|
|
1014
1034
|
"""
|
|
1015
1035
|
return pulumi.get(self, "additional_disk_space")
|
|
1016
1036
|
|
|
1017
1037
|
@property
|
|
1018
|
-
@pulumi.getter
|
|
1019
|
-
def
|
|
1038
|
+
@pulumi.getter
|
|
1039
|
+
def clickhouse(self) -> pulumi.Output['outputs.ClickhouseClickhouse']:
|
|
1020
1040
|
"""
|
|
1021
|
-
|
|
1041
|
+
Values provided by the ClickHouse server.
|
|
1022
1042
|
"""
|
|
1023
|
-
return pulumi.get(self, "
|
|
1043
|
+
return pulumi.get(self, "clickhouse")
|
|
1024
1044
|
|
|
1025
1045
|
@property
|
|
1026
|
-
@pulumi.getter
|
|
1027
|
-
def
|
|
1046
|
+
@pulumi.getter(name="clickhouseUserConfig")
|
|
1047
|
+
def clickhouse_user_config(self) -> pulumi.Output[Optional['outputs.ClickhouseClickhouseUserConfig']]:
|
|
1028
1048
|
"""
|
|
1029
|
-
|
|
1049
|
+
Clickhouse user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
1030
1050
|
"""
|
|
1031
|
-
return pulumi.get(self, "
|
|
1051
|
+
return pulumi.get(self, "clickhouse_user_config")
|
|
1032
1052
|
|
|
1033
1053
|
@property
|
|
1034
1054
|
@pulumi.getter(name="cloudName")
|
|
@@ -1048,13 +1068,11 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
1048
1068
|
|
|
1049
1069
|
@property
|
|
1050
1070
|
@pulumi.getter(name="diskSpace")
|
|
1071
|
+
@_utilities.deprecated("""This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""")
|
|
1051
1072
|
def disk_space(self) -> pulumi.Output[Optional[str]]:
|
|
1052
1073
|
"""
|
|
1053
1074
|
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
1054
1075
|
"""
|
|
1055
|
-
warnings.warn("""This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""", DeprecationWarning)
|
|
1056
|
-
pulumi.log.warn("""disk_space is deprecated: This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""")
|
|
1057
|
-
|
|
1058
1076
|
return pulumi.get(self, "disk_space")
|
|
1059
1077
|
|
|
1060
1078
|
@property
|
|
@@ -1083,6 +1101,7 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
1083
1101
|
|
|
1084
1102
|
@property
|
|
1085
1103
|
@pulumi.getter(name="diskSpaceUsed")
|
|
1104
|
+
@_utilities.deprecated("""This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""")
|
|
1086
1105
|
def disk_space_used(self) -> pulumi.Output[str]:
|
|
1087
1106
|
"""
|
|
1088
1107
|
Disk space that service is currently using
|
|
@@ -1109,7 +1128,7 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
1109
1128
|
@pulumi.getter
|
|
1110
1129
|
def plan(self) -> pulumi.Output[str]:
|
|
1111
1130
|
"""
|
|
1112
|
-
Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be
|
|
1131
|
+
Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
1113
1132
|
"""
|
|
1114
1133
|
return pulumi.get(self, "plan")
|
|
1115
1134
|
|
|
@@ -1117,13 +1136,13 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
1117
1136
|
@pulumi.getter
|
|
1118
1137
|
def project(self) -> pulumi.Output[str]:
|
|
1119
1138
|
"""
|
|
1120
|
-
|
|
1139
|
+
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.
|
|
1121
1140
|
"""
|
|
1122
1141
|
return pulumi.get(self, "project")
|
|
1123
1142
|
|
|
1124
1143
|
@property
|
|
1125
1144
|
@pulumi.getter(name="projectVpcId")
|
|
1126
|
-
def project_vpc_id(self) -> pulumi.Output[
|
|
1145
|
+
def project_vpc_id(self) -> pulumi.Output[str]:
|
|
1127
1146
|
"""
|
|
1128
1147
|
Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
1129
1148
|
"""
|
|
@@ -1139,7 +1158,7 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
1139
1158
|
|
|
1140
1159
|
@property
|
|
1141
1160
|
@pulumi.getter(name="serviceIntegrations")
|
|
1142
|
-
def service_integrations(self) -> pulumi.Output[
|
|
1161
|
+
def service_integrations(self) -> pulumi.Output[Sequence['outputs.ClickhouseServiceIntegration']]:
|
|
1143
1162
|
"""
|
|
1144
1163
|
Service integrations to specify when creating a service. Not applied after initial service creation
|
|
1145
1164
|
"""
|
|
@@ -1205,7 +1224,7 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
1205
1224
|
@pulumi.getter(name="staticIps")
|
|
1206
1225
|
def static_ips(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
1207
1226
|
"""
|
|
1208
|
-
|
|
1227
|
+
Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
1209
1228
|
"""
|
|
1210
1229
|
return pulumi.get(self, "static_ips")
|
|
1211
1230
|
|
|
@@ -1221,7 +1240,7 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
1221
1240
|
@pulumi.getter(name="techEmails")
|
|
1222
1241
|
def tech_emails(self) -> pulumi.Output[Optional[Sequence['outputs.ClickhouseTechEmail']]]:
|
|
1223
1242
|
"""
|
|
1224
|
-
|
|
1243
|
+
The email addresses for [service contacts](https://aiven.io/docs/platform/howto/technical-emails), who will receive important alerts and updates about this service. You can also set email contacts at the project level.
|
|
1225
1244
|
"""
|
|
1226
1245
|
return pulumi.get(self, "tech_emails")
|
|
1227
1246
|
|