pulumi-aiven 6.13.0a1709702245__py3-none-any.whl → 6.31.0a1736831339__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-aiven might be problematic. Click here for more details.
- pulumi_aiven/__init__.py +127 -0
- pulumi_aiven/_inputs.py +32826 -13922
- pulumi_aiven/_utilities.py +41 -5
- pulumi_aiven/account.py +34 -43
- pulumi_aiven/account_authentication.py +24 -9
- pulumi_aiven/account_team.py +37 -12
- pulumi_aiven/account_team_member.py +48 -35
- pulumi_aiven/account_team_project.py +42 -25
- pulumi_aiven/alloydbomni.py +1335 -0
- pulumi_aiven/alloydbomni_database.py +347 -0
- pulumi_aiven/alloydbomni_user.py +433 -0
- pulumi_aiven/aws_privatelink.py +44 -39
- pulumi_aiven/aws_vpc_peering_connection.py +72 -57
- pulumi_aiven/azure_privatelink.py +54 -49
- pulumi_aiven/azure_privatelink_connection_approval.py +136 -33
- pulumi_aiven/azure_vpc_peering_connection.py +86 -73
- pulumi_aiven/billing_group.py +33 -30
- pulumi_aiven/cassandra.py +145 -122
- pulumi_aiven/cassandra_user.py +59 -54
- pulumi_aiven/clickhouse.py +133 -110
- pulumi_aiven/clickhouse_database.py +58 -58
- pulumi_aiven/clickhouse_grant.py +135 -130
- pulumi_aiven/clickhouse_role.py +36 -45
- pulumi_aiven/clickhouse_user.py +50 -45
- pulumi_aiven/config/__init__.pyi +5 -0
- pulumi_aiven/config/vars.py +5 -0
- pulumi_aiven/connection_pool.py +67 -62
- pulumi_aiven/dragonfly.py +1256 -0
- pulumi_aiven/flink.py +104 -100
- pulumi_aiven/flink_application.py +58 -51
- pulumi_aiven/flink_application_deployment.py +178 -73
- pulumi_aiven/flink_application_version.py +179 -96
- pulumi_aiven/gcp_privatelink.py +69 -42
- pulumi_aiven/gcp_privatelink_connection_approval.py +78 -49
- pulumi_aiven/gcp_vpc_peering_connection.py +49 -44
- pulumi_aiven/get_account.py +20 -5
- pulumi_aiven/get_account_authentication.py +31 -5
- pulumi_aiven/get_account_team.py +18 -5
- pulumi_aiven/get_account_team_member.py +29 -14
- pulumi_aiven/get_account_team_project.py +19 -6
- pulumi_aiven/get_alloydbomni.py +499 -0
- pulumi_aiven/get_alloydbomni_database.py +168 -0
- pulumi_aiven/get_alloydbomni_user.py +210 -0
- pulumi_aiven/get_aws_privatelink.py +33 -20
- pulumi_aiven/get_aws_vpc_peering_connection.py +56 -29
- pulumi_aiven/get_azure_privatelink.py +37 -22
- pulumi_aiven/get_azure_vpc_peering_connection.py +77 -28
- pulumi_aiven/get_billing_group.py +31 -8
- pulumi_aiven/get_cassanda.py +55 -19
- pulumi_aiven/get_cassandra.py +55 -19
- pulumi_aiven/get_cassandra_user.py +42 -26
- pulumi_aiven/get_clickhouse.py +55 -19
- pulumi_aiven/get_clickhouse_database.py +35 -22
- pulumi_aiven/get_clickhouse_user.py +40 -25
- pulumi_aiven/get_connection_pool.py +43 -26
- pulumi_aiven/get_dragonfly.py +499 -0
- pulumi_aiven/get_external_identity.py +160 -0
- pulumi_aiven/get_flink.py +55 -19
- pulumi_aiven/get_flink_application.py +44 -27
- pulumi_aiven/get_flink_application_version.py +55 -33
- pulumi_aiven/get_gcp_privatelink.py +63 -7
- pulumi_aiven/get_gcp_vpc_peering_connection.py +39 -24
- pulumi_aiven/get_grafana.py +55 -19
- pulumi_aiven/get_influx_db.py +41 -5
- pulumi_aiven/get_influxdb_database.py +18 -5
- pulumi_aiven/get_influxdb_user.py +21 -5
- pulumi_aiven/get_kafka.py +59 -21
- pulumi_aiven/get_kafka_acl.py +50 -33
- pulumi_aiven/get_kafka_connect.py +54 -32
- pulumi_aiven/get_kafka_connector.py +44 -24
- pulumi_aiven/get_kafka_mirror_maker.py +50 -28
- pulumi_aiven/get_kafka_schema.py +35 -19
- pulumi_aiven/get_kafka_schema_configuration.py +32 -17
- pulumi_aiven/get_kafka_schema_registry_acl.py +37 -20
- pulumi_aiven/get_kafka_topic.py +70 -25
- pulumi_aiven/get_kafka_user.py +42 -26
- pulumi_aiven/get_m3_aggregator.py +51 -15
- pulumi_aiven/get_m3_db.py +55 -19
- pulumi_aiven/get_m3db_user.py +38 -24
- pulumi_aiven/get_mirror_maker_replication_flow.py +86 -21
- pulumi_aiven/get_my_sql.py +50 -14
- pulumi_aiven/get_mysql_database.py +31 -18
- pulumi_aiven/get_mysql_user.py +36 -19
- pulumi_aiven/get_open_search.py +50 -14
- pulumi_aiven/get_open_search_acl_config.py +27 -15
- pulumi_aiven/get_open_search_acl_rule.py +37 -21
- pulumi_aiven/get_opensearch_security_plugin_config.py +29 -15
- pulumi_aiven/get_opensearch_user.py +32 -18
- pulumi_aiven/get_organization.py +25 -13
- pulumi_aiven/get_organization_application_user.py +176 -0
- pulumi_aiven/get_organization_user.py +18 -5
- pulumi_aiven/get_organization_user_group.py +48 -14
- pulumi_aiven/get_organization_user_list.py +121 -0
- pulumi_aiven/get_organizational_unit.py +26 -14
- pulumi_aiven/get_pg.py +55 -19
- pulumi_aiven/get_pg_database.py +39 -24
- pulumi_aiven/get_pg_user.py +44 -27
- pulumi_aiven/get_project.py +43 -22
- pulumi_aiven/get_project_user.py +27 -15
- pulumi_aiven/get_project_vpc.py +31 -19
- pulumi_aiven/get_redis.py +50 -14
- pulumi_aiven/get_redis_user.py +40 -22
- pulumi_aiven/get_service_component.py +40 -18
- pulumi_aiven/get_service_integration.py +163 -49
- pulumi_aiven/get_service_integration_endpoint.py +128 -33
- pulumi_aiven/get_thanos.py +499 -0
- pulumi_aiven/get_transit_gateway_vpc_attachment.py +35 -18
- pulumi_aiven/get_valkey.py +499 -0
- pulumi_aiven/get_valkey_user.py +218 -0
- pulumi_aiven/grafana.py +188 -318
- pulumi_aiven/influx_db.py +127 -90
- pulumi_aiven/influxdb_database.py +40 -55
- pulumi_aiven/influxdb_user.py +47 -42
- pulumi_aiven/kafka.py +157 -140
- pulumi_aiven/kafka_acl.py +64 -53
- pulumi_aiven/kafka_connect.py +201 -328
- pulumi_aiven/kafka_connector.py +67 -56
- pulumi_aiven/kafka_mirror_maker.py +139 -318
- pulumi_aiven/kafka_native_acl.py +588 -0
- pulumi_aiven/kafka_schema.py +65 -56
- pulumi_aiven/kafka_schema_configuration.py +25 -20
- pulumi_aiven/kafka_schema_registry_acl.py +80 -35
- pulumi_aiven/kafka_topic.py +184 -65
- pulumi_aiven/kafka_user.py +59 -54
- pulumi_aiven/m3_aggregator.py +176 -308
- pulumi_aiven/m3_db.py +190 -322
- pulumi_aiven/m3db_user.py +51 -46
- pulumi_aiven/mirror_maker_replication_flow.py +217 -53
- pulumi_aiven/my_sql.py +190 -322
- pulumi_aiven/mysql_database.py +32 -47
- pulumi_aiven/mysql_user.py +37 -32
- pulumi_aiven/open_search.py +128 -105
- pulumi_aiven/open_search_acl_config.py +33 -32
- pulumi_aiven/open_search_acl_rule.py +55 -50
- pulumi_aiven/opensearch_security_plugin_config.py +69 -16
- pulumi_aiven/opensearch_user.py +30 -25
- pulumi_aiven/organization.py +18 -13
- pulumi_aiven/organization_application_user.py +345 -0
- pulumi_aiven/organization_application_user_token.py +711 -0
- pulumi_aiven/organization_group_project.py +349 -0
- pulumi_aiven/organization_permission.py +421 -0
- pulumi_aiven/organization_user.py +25 -46
- pulumi_aiven/organization_user_group.py +64 -23
- pulumi_aiven/organization_user_group_member.py +359 -0
- pulumi_aiven/organizational_unit.py +41 -32
- pulumi_aiven/outputs.py +38509 -21612
- pulumi_aiven/pg.py +92 -88
- pulumi_aiven/pg_database.py +52 -67
- pulumi_aiven/pg_user.py +80 -61
- pulumi_aiven/project.py +111 -102
- pulumi_aiven/project_user.py +44 -31
- pulumi_aiven/project_vpc.py +58 -29
- pulumi_aiven/provider.py +5 -0
- pulumi_aiven/pulumi-plugin.json +2 -1
- pulumi_aiven/redis.py +163 -295
- pulumi_aiven/redis_user.py +58 -53
- pulumi_aiven/service_integration.py +511 -161
- pulumi_aiven/service_integration_endpoint.py +466 -158
- pulumi_aiven/static_ip.py +21 -16
- pulumi_aiven/thanos.py +1262 -0
- pulumi_aiven/transit_gateway_vpc_attachment.py +44 -54
- pulumi_aiven/valkey.py +1256 -0
- pulumi_aiven/valkey_user.py +606 -0
- {pulumi_aiven-6.13.0a1709702245.dist-info → pulumi_aiven-6.31.0a1736831339.dist-info}/METADATA +7 -6
- pulumi_aiven-6.31.0a1736831339.dist-info/RECORD +169 -0
- {pulumi_aiven-6.13.0a1709702245.dist-info → pulumi_aiven-6.31.0a1736831339.dist-info}/WHEEL +1 -1
- pulumi_aiven-6.13.0a1709702245.dist-info/RECORD +0 -146
- {pulumi_aiven-6.13.0a1709702245.dist-info → pulumi_aiven-6.31.0a1736831339.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,15 +762,15 @@ 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
|
|
|
@@ -756,11 +778,11 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
756
778
|
import pulumi
|
|
757
779
|
import pulumi_aiven as aiven
|
|
758
780
|
|
|
759
|
-
|
|
760
|
-
project=
|
|
781
|
+
example_clickhouse = aiven.Clickhouse("example_clickhouse",
|
|
782
|
+
project=example_project["project"],
|
|
761
783
|
cloud_name="google-europe-west1",
|
|
762
784
|
plan="business-4",
|
|
763
|
-
service_name="
|
|
785
|
+
service_name="example-clickhouse-service",
|
|
764
786
|
maintenance_window_dow="monday",
|
|
765
787
|
maintenance_window_time="10:00:00")
|
|
766
788
|
```
|
|
@@ -768,25 +790,26 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
768
790
|
## Import
|
|
769
791
|
|
|
770
792
|
```sh
|
|
771
|
-
|
|
793
|
+
$ pulumi import aiven:index/clickhouse:Clickhouse clickhouse PROJECT/SERVICE_NAME
|
|
772
794
|
```
|
|
773
795
|
|
|
774
796
|
:param str resource_name: The name of the resource.
|
|
775
797
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
776
|
-
:param pulumi.Input[str] additional_disk_space:
|
|
777
|
-
: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
|
|
778
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).
|
|
779
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.
|
|
780
803
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
781
804
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
782
|
-
: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
|
|
783
|
-
: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.
|
|
784
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.
|
|
785
|
-
: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
|
|
786
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.
|
|
787
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips:
|
|
788
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
789
|
-
: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.
|
|
790
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.
|
|
791
814
|
"""
|
|
792
815
|
...
|
|
@@ -796,7 +819,7 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
796
819
|
args: ClickhouseArgs,
|
|
797
820
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
798
821
|
"""
|
|
799
|
-
|
|
822
|
+
Creates and manages an [Aiven for ClickHouse®](https://aiven.io/docs/products/clickhouse/concepts/features-overview) service.
|
|
800
823
|
|
|
801
824
|
## Example Usage
|
|
802
825
|
|
|
@@ -804,11 +827,11 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
804
827
|
import pulumi
|
|
805
828
|
import pulumi_aiven as aiven
|
|
806
829
|
|
|
807
|
-
|
|
808
|
-
project=
|
|
830
|
+
example_clickhouse = aiven.Clickhouse("example_clickhouse",
|
|
831
|
+
project=example_project["project"],
|
|
809
832
|
cloud_name="google-europe-west1",
|
|
810
833
|
plan="business-4",
|
|
811
|
-
service_name="
|
|
834
|
+
service_name="example-clickhouse-service",
|
|
812
835
|
maintenance_window_dow="monday",
|
|
813
836
|
maintenance_window_time="10:00:00")
|
|
814
837
|
```
|
|
@@ -816,7 +839,7 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
816
839
|
## Import
|
|
817
840
|
|
|
818
841
|
```sh
|
|
819
|
-
|
|
842
|
+
$ pulumi import aiven:index/clickhouse:Clickhouse clickhouse PROJECT/SERVICE_NAME
|
|
820
843
|
```
|
|
821
844
|
|
|
822
845
|
:param str resource_name: The name of the resource.
|
|
@@ -835,7 +858,8 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
835
858
|
resource_name: str,
|
|
836
859
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
837
860
|
additional_disk_space: Optional[pulumi.Input[str]] = None,
|
|
838
|
-
|
|
861
|
+
clickhouse: Optional[pulumi.Input[Union['ClickhouseClickhouseArgs', 'ClickhouseClickhouseArgsDict']]] = None,
|
|
862
|
+
clickhouse_user_config: Optional[pulumi.Input[Union['ClickhouseClickhouseUserConfigArgs', 'ClickhouseClickhouseUserConfigArgsDict']]] = None,
|
|
839
863
|
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
840
864
|
disk_space: Optional[pulumi.Input[str]] = None,
|
|
841
865
|
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
@@ -843,11 +867,11 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
843
867
|
plan: Optional[pulumi.Input[str]] = None,
|
|
844
868
|
project: Optional[pulumi.Input[str]] = None,
|
|
845
869
|
project_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
846
|
-
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
870
|
+
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ClickhouseServiceIntegrationArgs', 'ClickhouseServiceIntegrationArgsDict']]]]] = None,
|
|
847
871
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
848
872
|
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
849
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
850
|
-
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,
|
|
851
875
|
termination_protection: Optional[pulumi.Input[bool]] = None,
|
|
852
876
|
__props__=None):
|
|
853
877
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
@@ -859,6 +883,7 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
859
883
|
__props__ = ClickhouseArgs.__new__(ClickhouseArgs)
|
|
860
884
|
|
|
861
885
|
__props__.__dict__["additional_disk_space"] = additional_disk_space
|
|
886
|
+
__props__.__dict__["clickhouse"] = None if clickhouse is None else pulumi.Output.secret(clickhouse)
|
|
862
887
|
__props__.__dict__["clickhouse_user_config"] = clickhouse_user_config
|
|
863
888
|
__props__.__dict__["cloud_name"] = cloud_name
|
|
864
889
|
__props__.__dict__["disk_space"] = disk_space
|
|
@@ -879,7 +904,6 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
879
904
|
__props__.__dict__["tags"] = tags
|
|
880
905
|
__props__.__dict__["tech_emails"] = tech_emails
|
|
881
906
|
__props__.__dict__["termination_protection"] = termination_protection
|
|
882
|
-
__props__.__dict__["clickhouses"] = None
|
|
883
907
|
__props__.__dict__["components"] = None
|
|
884
908
|
__props__.__dict__["disk_space_cap"] = None
|
|
885
909
|
__props__.__dict__["disk_space_default"] = None
|
|
@@ -892,7 +916,7 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
892
916
|
__props__.__dict__["service_uri"] = None
|
|
893
917
|
__props__.__dict__["service_username"] = None
|
|
894
918
|
__props__.__dict__["state"] = None
|
|
895
|
-
secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["servicePassword", "serviceUri"])
|
|
919
|
+
secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["clickhouse", "servicePassword", "serviceUri"])
|
|
896
920
|
opts = pulumi.ResourceOptions.merge(opts, secret_opts)
|
|
897
921
|
super(Clickhouse, __self__).__init__(
|
|
898
922
|
'aiven:index/clickhouse:Clickhouse',
|
|
@@ -905,10 +929,10 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
905
929
|
id: pulumi.Input[str],
|
|
906
930
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
907
931
|
additional_disk_space: Optional[pulumi.Input[str]] = None,
|
|
908
|
-
|
|
909
|
-
|
|
932
|
+
clickhouse: Optional[pulumi.Input[Union['ClickhouseClickhouseArgs', 'ClickhouseClickhouseArgsDict']]] = None,
|
|
933
|
+
clickhouse_user_config: Optional[pulumi.Input[Union['ClickhouseClickhouseUserConfigArgs', 'ClickhouseClickhouseUserConfigArgsDict']]] = None,
|
|
910
934
|
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
911
|
-
components: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
935
|
+
components: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ClickhouseComponentArgs', 'ClickhouseComponentArgsDict']]]]] = None,
|
|
912
936
|
disk_space: Optional[pulumi.Input[str]] = None,
|
|
913
937
|
disk_space_cap: Optional[pulumi.Input[str]] = None,
|
|
914
938
|
disk_space_default: Optional[pulumi.Input[str]] = None,
|
|
@@ -920,7 +944,7 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
920
944
|
project: Optional[pulumi.Input[str]] = None,
|
|
921
945
|
project_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
922
946
|
service_host: Optional[pulumi.Input[str]] = None,
|
|
923
|
-
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
947
|
+
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ClickhouseServiceIntegrationArgs', 'ClickhouseServiceIntegrationArgsDict']]]]] = None,
|
|
924
948
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
925
949
|
service_password: Optional[pulumi.Input[str]] = None,
|
|
926
950
|
service_port: Optional[pulumi.Input[int]] = None,
|
|
@@ -929,8 +953,8 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
929
953
|
service_username: Optional[pulumi.Input[str]] = None,
|
|
930
954
|
state: Optional[pulumi.Input[str]] = None,
|
|
931
955
|
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
932
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
933
|
-
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,
|
|
934
958
|
termination_protection: Optional[pulumi.Input[bool]] = None) -> 'Clickhouse':
|
|
935
959
|
"""
|
|
936
960
|
Get an existing Clickhouse resource's state with the given name, id, and optional extra
|
|
@@ -939,11 +963,11 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
939
963
|
:param str resource_name: The unique name of the resulting resource.
|
|
940
964
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
941
965
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
942
|
-
:param pulumi.Input[str] additional_disk_space:
|
|
943
|
-
:param pulumi.Input[
|
|
944
|
-
: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
|
|
945
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).
|
|
946
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
970
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['ClickhouseComponentArgs', 'ClickhouseComponentArgsDict']]]] components: Service component information objects
|
|
947
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.
|
|
948
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.
|
|
949
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`
|
|
@@ -951,11 +975,11 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
951
975
|
:param pulumi.Input[str] disk_space_used: Disk space that service is currently using
|
|
952
976
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
953
977
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
954
|
-
: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
|
|
955
|
-
: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.
|
|
956
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.
|
|
957
981
|
:param pulumi.Input[str] service_host: The hostname of the service.
|
|
958
|
-
: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
|
|
959
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.
|
|
960
984
|
:param pulumi.Input[str] service_password: Password used for connecting to the service, if applicable
|
|
961
985
|
:param pulumi.Input[int] service_port: The port of the service
|
|
@@ -963,9 +987,9 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
963
987
|
:param pulumi.Input[str] service_uri: URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
964
988
|
:param pulumi.Input[str] service_username: Username used for connecting to the service, if applicable
|
|
965
989
|
:param pulumi.Input[str] state: Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
966
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips:
|
|
967
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
968
|
-
: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.
|
|
969
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.
|
|
970
994
|
"""
|
|
971
995
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -973,8 +997,8 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
973
997
|
__props__ = _ClickhouseState.__new__(_ClickhouseState)
|
|
974
998
|
|
|
975
999
|
__props__.__dict__["additional_disk_space"] = additional_disk_space
|
|
1000
|
+
__props__.__dict__["clickhouse"] = clickhouse
|
|
976
1001
|
__props__.__dict__["clickhouse_user_config"] = clickhouse_user_config
|
|
977
|
-
__props__.__dict__["clickhouses"] = clickhouses
|
|
978
1002
|
__props__.__dict__["cloud_name"] = cloud_name
|
|
979
1003
|
__props__.__dict__["components"] = components
|
|
980
1004
|
__props__.__dict__["disk_space"] = disk_space
|
|
@@ -1004,27 +1028,27 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
1004
1028
|
|
|
1005
1029
|
@property
|
|
1006
1030
|
@pulumi.getter(name="additionalDiskSpace")
|
|
1007
|
-
def additional_disk_space(self) -> pulumi.Output[
|
|
1031
|
+
def additional_disk_space(self) -> pulumi.Output[str]:
|
|
1008
1032
|
"""
|
|
1009
|
-
|
|
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.
|
|
1010
1034
|
"""
|
|
1011
1035
|
return pulumi.get(self, "additional_disk_space")
|
|
1012
1036
|
|
|
1013
1037
|
@property
|
|
1014
|
-
@pulumi.getter
|
|
1015
|
-
def
|
|
1038
|
+
@pulumi.getter
|
|
1039
|
+
def clickhouse(self) -> pulumi.Output['outputs.ClickhouseClickhouse']:
|
|
1016
1040
|
"""
|
|
1017
|
-
|
|
1041
|
+
Values provided by the ClickHouse server.
|
|
1018
1042
|
"""
|
|
1019
|
-
return pulumi.get(self, "
|
|
1043
|
+
return pulumi.get(self, "clickhouse")
|
|
1020
1044
|
|
|
1021
1045
|
@property
|
|
1022
|
-
@pulumi.getter
|
|
1023
|
-
def
|
|
1046
|
+
@pulumi.getter(name="clickhouseUserConfig")
|
|
1047
|
+
def clickhouse_user_config(self) -> pulumi.Output[Optional['outputs.ClickhouseClickhouseUserConfig']]:
|
|
1024
1048
|
"""
|
|
1025
|
-
|
|
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
|
|
1026
1050
|
"""
|
|
1027
|
-
return pulumi.get(self, "
|
|
1051
|
+
return pulumi.get(self, "clickhouse_user_config")
|
|
1028
1052
|
|
|
1029
1053
|
@property
|
|
1030
1054
|
@pulumi.getter(name="cloudName")
|
|
@@ -1044,13 +1068,11 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
1044
1068
|
|
|
1045
1069
|
@property
|
|
1046
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.""")
|
|
1047
1072
|
def disk_space(self) -> pulumi.Output[Optional[str]]:
|
|
1048
1073
|
"""
|
|
1049
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.
|
|
1050
1075
|
"""
|
|
1051
|
-
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)
|
|
1052
|
-
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.""")
|
|
1053
|
-
|
|
1054
1076
|
return pulumi.get(self, "disk_space")
|
|
1055
1077
|
|
|
1056
1078
|
@property
|
|
@@ -1079,6 +1101,7 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
1079
1101
|
|
|
1080
1102
|
@property
|
|
1081
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.""")
|
|
1082
1105
|
def disk_space_used(self) -> pulumi.Output[str]:
|
|
1083
1106
|
"""
|
|
1084
1107
|
Disk space that service is currently using
|
|
@@ -1105,7 +1128,7 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
1105
1128
|
@pulumi.getter
|
|
1106
1129
|
def plan(self) -> pulumi.Output[str]:
|
|
1107
1130
|
"""
|
|
1108
|
-
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).
|
|
1109
1132
|
"""
|
|
1110
1133
|
return pulumi.get(self, "plan")
|
|
1111
1134
|
|
|
@@ -1113,13 +1136,13 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
1113
1136
|
@pulumi.getter
|
|
1114
1137
|
def project(self) -> pulumi.Output[str]:
|
|
1115
1138
|
"""
|
|
1116
|
-
|
|
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.
|
|
1117
1140
|
"""
|
|
1118
1141
|
return pulumi.get(self, "project")
|
|
1119
1142
|
|
|
1120
1143
|
@property
|
|
1121
1144
|
@pulumi.getter(name="projectVpcId")
|
|
1122
|
-
def project_vpc_id(self) -> pulumi.Output[
|
|
1145
|
+
def project_vpc_id(self) -> pulumi.Output[str]:
|
|
1123
1146
|
"""
|
|
1124
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.
|
|
1125
1148
|
"""
|
|
@@ -1135,7 +1158,7 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
1135
1158
|
|
|
1136
1159
|
@property
|
|
1137
1160
|
@pulumi.getter(name="serviceIntegrations")
|
|
1138
|
-
def service_integrations(self) -> pulumi.Output[
|
|
1161
|
+
def service_integrations(self) -> pulumi.Output[Sequence['outputs.ClickhouseServiceIntegration']]:
|
|
1139
1162
|
"""
|
|
1140
1163
|
Service integrations to specify when creating a service. Not applied after initial service creation
|
|
1141
1164
|
"""
|
|
@@ -1201,7 +1224,7 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
1201
1224
|
@pulumi.getter(name="staticIps")
|
|
1202
1225
|
def static_ips(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
1203
1226
|
"""
|
|
1204
|
-
|
|
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
|
|
1205
1228
|
"""
|
|
1206
1229
|
return pulumi.get(self, "static_ips")
|
|
1207
1230
|
|
|
@@ -1217,7 +1240,7 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
1217
1240
|
@pulumi.getter(name="techEmails")
|
|
1218
1241
|
def tech_emails(self) -> pulumi.Output[Optional[Sequence['outputs.ClickhouseTechEmail']]]:
|
|
1219
1242
|
"""
|
|
1220
|
-
|
|
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.
|
|
1221
1244
|
"""
|
|
1222
1245
|
return pulumi.get(self, "tech_emails")
|
|
1223
1246
|
|