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/influx_db.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 *
|
|
@@ -23,6 +28,7 @@ class InfluxDbArgs:
|
|
|
23
28
|
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
24
29
|
disk_space: Optional[pulumi.Input[str]] = None,
|
|
25
30
|
influxdb_user_config: Optional[pulumi.Input['InfluxDbInfluxdbUserConfigArgs']] = None,
|
|
31
|
+
influxdbs: Optional[pulumi.Input[Sequence[pulumi.Input['InfluxDbInfluxdbArgs']]]] = None,
|
|
26
32
|
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
27
33
|
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
28
34
|
project_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
@@ -38,13 +44,14 @@ class InfluxDbArgs:
|
|
|
38
44
|
store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
|
|
39
45
|
`hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also
|
|
40
46
|
other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available
|
|
41
|
-
options can be
|
|
42
|
-
:param pulumi.Input[str] project:
|
|
43
|
-
reference.
|
|
47
|
+
options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
48
|
+
: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
|
|
49
|
+
reference. Changing this property forces recreation of the resource.
|
|
44
50
|
: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
|
|
45
51
|
service so name should be picked based on intended service usage rather than current attributes.
|
|
46
|
-
:param pulumi.Input[str] additional_disk_space:
|
|
47
|
-
|
|
52
|
+
: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
|
|
53
|
+
service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the
|
|
54
|
+
service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
|
|
48
55
|
: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
|
|
49
56
|
created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud
|
|
50
57
|
provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These
|
|
@@ -53,7 +60,9 @@ class InfluxDbArgs:
|
|
|
53
60
|
AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
54
61
|
:param pulumi.Input[str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing
|
|
55
62
|
will result in the service rebalancing.
|
|
56
|
-
:param pulumi.Input['InfluxDbInfluxdbUserConfigArgs'] influxdb_user_config: Influxdb user configurable settings
|
|
63
|
+
:param pulumi.Input['InfluxDbInfluxdbUserConfigArgs'] influxdb_user_config: Influxdb user configurable settings. **Warning:** There's no way to reset advanced configuration options to default.
|
|
64
|
+
Options that you add cannot be removed later
|
|
65
|
+
:param pulumi.Input[Sequence[pulumi.Input['InfluxDbInfluxdbArgs']]] influxdbs: InfluxDB server provided values
|
|
57
66
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
58
67
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
59
68
|
: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
|
|
@@ -64,8 +73,8 @@ class InfluxDbArgs:
|
|
|
64
73
|
: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
|
|
65
74
|
static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
66
75
|
:param pulumi.Input[Sequence[pulumi.Input['InfluxDbTagArgs']]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
67
|
-
:param pulumi.Input[Sequence[pulumi.Input['InfluxDbTechEmailArgs']]] tech_emails:
|
|
68
|
-
|
|
76
|
+
:param pulumi.Input[Sequence[pulumi.Input['InfluxDbTechEmailArgs']]] tech_emails: The email addresses for [service contacts](https://aiven.io/docs/platform/howto/technical-emails), who will receive
|
|
77
|
+
important alerts and updates about this service. You can also set email contacts at the project level.
|
|
69
78
|
: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
|
|
70
79
|
unintentional service deletion. This does not shield against deleting databases or topics but for services with backups
|
|
71
80
|
much of the content can at least be restored from backup in case accidental deletion is done.
|
|
@@ -84,6 +93,8 @@ class InfluxDbArgs:
|
|
|
84
93
|
pulumi.set(__self__, "disk_space", disk_space)
|
|
85
94
|
if influxdb_user_config is not None:
|
|
86
95
|
pulumi.set(__self__, "influxdb_user_config", influxdb_user_config)
|
|
96
|
+
if influxdbs is not None:
|
|
97
|
+
pulumi.set(__self__, "influxdbs", influxdbs)
|
|
87
98
|
if maintenance_window_dow is not None:
|
|
88
99
|
pulumi.set(__self__, "maintenance_window_dow", maintenance_window_dow)
|
|
89
100
|
if maintenance_window_time is not None:
|
|
@@ -110,7 +121,7 @@ class InfluxDbArgs:
|
|
|
110
121
|
store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
|
|
111
122
|
`hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also
|
|
112
123
|
other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available
|
|
113
|
-
options can be
|
|
124
|
+
options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
114
125
|
"""
|
|
115
126
|
return pulumi.get(self, "plan")
|
|
116
127
|
|
|
@@ -122,8 +133,8 @@ class InfluxDbArgs:
|
|
|
122
133
|
@pulumi.getter
|
|
123
134
|
def project(self) -> pulumi.Input[str]:
|
|
124
135
|
"""
|
|
125
|
-
|
|
126
|
-
reference.
|
|
136
|
+
The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a
|
|
137
|
+
reference. Changing this property forces recreation of the resource.
|
|
127
138
|
"""
|
|
128
139
|
return pulumi.get(self, "project")
|
|
129
140
|
|
|
@@ -148,8 +159,9 @@ class InfluxDbArgs:
|
|
|
148
159
|
@pulumi.getter(name="additionalDiskSpace")
|
|
149
160
|
def additional_disk_space(self) -> Optional[pulumi.Input[str]]:
|
|
150
161
|
"""
|
|
151
|
-
|
|
152
|
-
|
|
162
|
+
Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your
|
|
163
|
+
service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the
|
|
164
|
+
service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
|
|
153
165
|
"""
|
|
154
166
|
return pulumi.get(self, "additional_disk_space")
|
|
155
167
|
|
|
@@ -176,14 +188,12 @@ class InfluxDbArgs:
|
|
|
176
188
|
|
|
177
189
|
@property
|
|
178
190
|
@pulumi.getter(name="diskSpace")
|
|
191
|
+
@_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.""")
|
|
179
192
|
def disk_space(self) -> Optional[pulumi.Input[str]]:
|
|
180
193
|
"""
|
|
181
194
|
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing
|
|
182
195
|
will result in the service rebalancing.
|
|
183
196
|
"""
|
|
184
|
-
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)
|
|
185
|
-
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.""")
|
|
186
|
-
|
|
187
197
|
return pulumi.get(self, "disk_space")
|
|
188
198
|
|
|
189
199
|
@disk_space.setter
|
|
@@ -194,7 +204,8 @@ class InfluxDbArgs:
|
|
|
194
204
|
@pulumi.getter(name="influxdbUserConfig")
|
|
195
205
|
def influxdb_user_config(self) -> Optional[pulumi.Input['InfluxDbInfluxdbUserConfigArgs']]:
|
|
196
206
|
"""
|
|
197
|
-
Influxdb user configurable settings
|
|
207
|
+
Influxdb user configurable settings. **Warning:** There's no way to reset advanced configuration options to default.
|
|
208
|
+
Options that you add cannot be removed later
|
|
198
209
|
"""
|
|
199
210
|
return pulumi.get(self, "influxdb_user_config")
|
|
200
211
|
|
|
@@ -202,6 +213,18 @@ class InfluxDbArgs:
|
|
|
202
213
|
def influxdb_user_config(self, value: Optional[pulumi.Input['InfluxDbInfluxdbUserConfigArgs']]):
|
|
203
214
|
pulumi.set(self, "influxdb_user_config", value)
|
|
204
215
|
|
|
216
|
+
@property
|
|
217
|
+
@pulumi.getter
|
|
218
|
+
def influxdbs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['InfluxDbInfluxdbArgs']]]]:
|
|
219
|
+
"""
|
|
220
|
+
InfluxDB server provided values
|
|
221
|
+
"""
|
|
222
|
+
return pulumi.get(self, "influxdbs")
|
|
223
|
+
|
|
224
|
+
@influxdbs.setter
|
|
225
|
+
def influxdbs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['InfluxDbInfluxdbArgs']]]]):
|
|
226
|
+
pulumi.set(self, "influxdbs", value)
|
|
227
|
+
|
|
205
228
|
@property
|
|
206
229
|
@pulumi.getter(name="maintenanceWindowDow")
|
|
207
230
|
def maintenance_window_dow(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -282,8 +305,8 @@ class InfluxDbArgs:
|
|
|
282
305
|
@pulumi.getter(name="techEmails")
|
|
283
306
|
def tech_emails(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['InfluxDbTechEmailArgs']]]]:
|
|
284
307
|
"""
|
|
285
|
-
|
|
286
|
-
|
|
308
|
+
The email addresses for [service contacts](https://aiven.io/docs/platform/howto/technical-emails), who will receive
|
|
309
|
+
important alerts and updates about this service. You can also set email contacts at the project level.
|
|
287
310
|
"""
|
|
288
311
|
return pulumi.get(self, "tech_emails")
|
|
289
312
|
|
|
@@ -339,8 +362,9 @@ class _InfluxDbState:
|
|
|
339
362
|
termination_protection: Optional[pulumi.Input[bool]] = None):
|
|
340
363
|
"""
|
|
341
364
|
Input properties used for looking up and filtering InfluxDb resources.
|
|
342
|
-
:param pulumi.Input[str] additional_disk_space:
|
|
343
|
-
|
|
365
|
+
: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
|
|
366
|
+
service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the
|
|
367
|
+
service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
|
|
344
368
|
: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
|
|
345
369
|
created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud
|
|
346
370
|
provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These
|
|
@@ -356,7 +380,8 @@ class _InfluxDbState:
|
|
|
356
380
|
:param pulumi.Input[str] disk_space_step: The default disk space step of the service, possible values depend on the service type, the cloud provider and the
|
|
357
381
|
project. `disk_space` needs to increment from `disk_space_default` by increments of this size.
|
|
358
382
|
:param pulumi.Input[str] disk_space_used: Disk space that service is currently using
|
|
359
|
-
:param pulumi.Input['InfluxDbInfluxdbUserConfigArgs'] influxdb_user_config: Influxdb user configurable settings
|
|
383
|
+
:param pulumi.Input['InfluxDbInfluxdbUserConfigArgs'] influxdb_user_config: Influxdb user configurable settings. **Warning:** There's no way to reset advanced configuration options to default.
|
|
384
|
+
Options that you add cannot be removed later
|
|
360
385
|
:param pulumi.Input[Sequence[pulumi.Input['InfluxDbInfluxdbArgs']]] influxdbs: InfluxDB server provided values
|
|
361
386
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
362
387
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
@@ -365,9 +390,9 @@ class _InfluxDbState:
|
|
|
365
390
|
store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
|
|
366
391
|
`hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also
|
|
367
392
|
other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available
|
|
368
|
-
options can be
|
|
369
|
-
:param pulumi.Input[str] project:
|
|
370
|
-
reference.
|
|
393
|
+
options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
394
|
+
: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
|
|
395
|
+
reference. Changing this property forces recreation of the resource.
|
|
371
396
|
: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
|
|
372
397
|
value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region
|
|
373
398
|
as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new
|
|
@@ -385,8 +410,8 @@ class _InfluxDbState:
|
|
|
385
410
|
: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
|
|
386
411
|
static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
387
412
|
:param pulumi.Input[Sequence[pulumi.Input['InfluxDbTagArgs']]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
388
|
-
:param pulumi.Input[Sequence[pulumi.Input['InfluxDbTechEmailArgs']]] tech_emails:
|
|
389
|
-
|
|
413
|
+
:param pulumi.Input[Sequence[pulumi.Input['InfluxDbTechEmailArgs']]] tech_emails: The email addresses for [service contacts](https://aiven.io/docs/platform/howto/technical-emails), who will receive
|
|
414
|
+
important alerts and updates about this service. You can also set email contacts at the project level.
|
|
390
415
|
: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
|
|
391
416
|
unintentional service deletion. This does not shield against deleting databases or topics but for services with backups
|
|
392
417
|
much of the content can at least be restored from backup in case accidental deletion is done.
|
|
@@ -408,6 +433,9 @@ class _InfluxDbState:
|
|
|
408
433
|
pulumi.set(__self__, "disk_space_default", disk_space_default)
|
|
409
434
|
if disk_space_step is not None:
|
|
410
435
|
pulumi.set(__self__, "disk_space_step", disk_space_step)
|
|
436
|
+
if disk_space_used is not None:
|
|
437
|
+
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)
|
|
438
|
+
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.""")
|
|
411
439
|
if disk_space_used is not None:
|
|
412
440
|
pulumi.set(__self__, "disk_space_used", disk_space_used)
|
|
413
441
|
if influxdb_user_config is not None:
|
|
@@ -455,8 +483,9 @@ class _InfluxDbState:
|
|
|
455
483
|
@pulumi.getter(name="additionalDiskSpace")
|
|
456
484
|
def additional_disk_space(self) -> Optional[pulumi.Input[str]]:
|
|
457
485
|
"""
|
|
458
|
-
|
|
459
|
-
|
|
486
|
+
Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your
|
|
487
|
+
service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the
|
|
488
|
+
service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
|
|
460
489
|
"""
|
|
461
490
|
return pulumi.get(self, "additional_disk_space")
|
|
462
491
|
|
|
@@ -495,14 +524,12 @@ class _InfluxDbState:
|
|
|
495
524
|
|
|
496
525
|
@property
|
|
497
526
|
@pulumi.getter(name="diskSpace")
|
|
527
|
+
@_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.""")
|
|
498
528
|
def disk_space(self) -> Optional[pulumi.Input[str]]:
|
|
499
529
|
"""
|
|
500
530
|
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing
|
|
501
531
|
will result in the service rebalancing.
|
|
502
532
|
"""
|
|
503
|
-
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)
|
|
504
|
-
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.""")
|
|
505
|
-
|
|
506
533
|
return pulumi.get(self, "disk_space")
|
|
507
534
|
|
|
508
535
|
@disk_space.setter
|
|
@@ -549,6 +576,7 @@ class _InfluxDbState:
|
|
|
549
576
|
|
|
550
577
|
@property
|
|
551
578
|
@pulumi.getter(name="diskSpaceUsed")
|
|
579
|
+
@_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.""")
|
|
552
580
|
def disk_space_used(self) -> Optional[pulumi.Input[str]]:
|
|
553
581
|
"""
|
|
554
582
|
Disk space that service is currently using
|
|
@@ -563,7 +591,8 @@ class _InfluxDbState:
|
|
|
563
591
|
@pulumi.getter(name="influxdbUserConfig")
|
|
564
592
|
def influxdb_user_config(self) -> Optional[pulumi.Input['InfluxDbInfluxdbUserConfigArgs']]:
|
|
565
593
|
"""
|
|
566
|
-
Influxdb user configurable settings
|
|
594
|
+
Influxdb user configurable settings. **Warning:** There's no way to reset advanced configuration options to default.
|
|
595
|
+
Options that you add cannot be removed later
|
|
567
596
|
"""
|
|
568
597
|
return pulumi.get(self, "influxdb_user_config")
|
|
569
598
|
|
|
@@ -616,7 +645,7 @@ class _InfluxDbState:
|
|
|
616
645
|
store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
|
|
617
646
|
`hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also
|
|
618
647
|
other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available
|
|
619
|
-
options can be
|
|
648
|
+
options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
620
649
|
"""
|
|
621
650
|
return pulumi.get(self, "plan")
|
|
622
651
|
|
|
@@ -628,8 +657,8 @@ class _InfluxDbState:
|
|
|
628
657
|
@pulumi.getter
|
|
629
658
|
def project(self) -> Optional[pulumi.Input[str]]:
|
|
630
659
|
"""
|
|
631
|
-
|
|
632
|
-
reference.
|
|
660
|
+
The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a
|
|
661
|
+
reference. Changing this property forces recreation of the resource.
|
|
633
662
|
"""
|
|
634
663
|
return pulumi.get(self, "project")
|
|
635
664
|
|
|
@@ -790,8 +819,8 @@ class _InfluxDbState:
|
|
|
790
819
|
@pulumi.getter(name="techEmails")
|
|
791
820
|
def tech_emails(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['InfluxDbTechEmailArgs']]]]:
|
|
792
821
|
"""
|
|
793
|
-
|
|
794
|
-
|
|
822
|
+
The email addresses for [service contacts](https://aiven.io/docs/platform/howto/technical-emails), who will receive
|
|
823
|
+
important alerts and updates about this service. You can also set email contacts at the project level.
|
|
795
824
|
"""
|
|
796
825
|
return pulumi.get(self, "tech_emails")
|
|
797
826
|
|
|
@@ -822,25 +851,27 @@ class InfluxDb(pulumi.CustomResource):
|
|
|
822
851
|
additional_disk_space: Optional[pulumi.Input[str]] = None,
|
|
823
852
|
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
824
853
|
disk_space: Optional[pulumi.Input[str]] = None,
|
|
825
|
-
influxdb_user_config: Optional[pulumi.Input[
|
|
854
|
+
influxdb_user_config: Optional[pulumi.Input[Union['InfluxDbInfluxdbUserConfigArgs', 'InfluxDbInfluxdbUserConfigArgsDict']]] = None,
|
|
855
|
+
influxdbs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InfluxDbInfluxdbArgs', 'InfluxDbInfluxdbArgsDict']]]]] = None,
|
|
826
856
|
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
827
857
|
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
828
858
|
plan: Optional[pulumi.Input[str]] = None,
|
|
829
859
|
project: Optional[pulumi.Input[str]] = None,
|
|
830
860
|
project_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
831
|
-
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
861
|
+
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InfluxDbServiceIntegrationArgs', 'InfluxDbServiceIntegrationArgsDict']]]]] = None,
|
|
832
862
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
833
863
|
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
834
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
835
|
-
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
864
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InfluxDbTagArgs', 'InfluxDbTagArgsDict']]]]] = None,
|
|
865
|
+
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InfluxDbTechEmailArgs', 'InfluxDbTechEmailArgsDict']]]]] = None,
|
|
836
866
|
termination_protection: Optional[pulumi.Input[bool]] = None,
|
|
837
867
|
__props__=None):
|
|
838
868
|
"""
|
|
839
869
|
Create a InfluxDb resource with the given unique name, props, and options.
|
|
840
870
|
:param str resource_name: The name of the resource.
|
|
841
871
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
842
|
-
:param pulumi.Input[str] additional_disk_space:
|
|
843
|
-
|
|
872
|
+
: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
|
|
873
|
+
service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the
|
|
874
|
+
service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
|
|
844
875
|
: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
|
|
845
876
|
created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud
|
|
846
877
|
provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These
|
|
@@ -849,7 +880,9 @@ class InfluxDb(pulumi.CustomResource):
|
|
|
849
880
|
AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
850
881
|
:param pulumi.Input[str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing
|
|
851
882
|
will result in the service rebalancing.
|
|
852
|
-
:param pulumi.Input[
|
|
883
|
+
:param pulumi.Input[Union['InfluxDbInfluxdbUserConfigArgs', 'InfluxDbInfluxdbUserConfigArgsDict']] influxdb_user_config: Influxdb user configurable settings. **Warning:** There's no way to reset advanced configuration options to default.
|
|
884
|
+
Options that you add cannot be removed later
|
|
885
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['InfluxDbInfluxdbArgs', 'InfluxDbInfluxdbArgsDict']]]] influxdbs: InfluxDB server provided values
|
|
853
886
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
854
887
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
855
888
|
:param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there
|
|
@@ -857,21 +890,21 @@ class InfluxDb(pulumi.CustomResource):
|
|
|
857
890
|
store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
|
|
858
891
|
`hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also
|
|
859
892
|
other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available
|
|
860
|
-
options can be
|
|
861
|
-
:param pulumi.Input[str] project:
|
|
862
|
-
reference.
|
|
893
|
+
options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
894
|
+
: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
|
|
895
|
+
reference. Changing this property forces recreation of the resource.
|
|
863
896
|
: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
|
|
864
897
|
value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region
|
|
865
898
|
as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new
|
|
866
899
|
servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
867
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
900
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['InfluxDbServiceIntegrationArgs', 'InfluxDbServiceIntegrationArgsDict']]]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
868
901
|
: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
|
|
869
902
|
service so name should be picked based on intended service usage rather than current attributes.
|
|
870
903
|
: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
|
|
871
904
|
static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
872
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
873
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
874
|
-
|
|
905
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['InfluxDbTagArgs', 'InfluxDbTagArgsDict']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
906
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['InfluxDbTechEmailArgs', 'InfluxDbTechEmailArgsDict']]]] tech_emails: The email addresses for [service contacts](https://aiven.io/docs/platform/howto/technical-emails), who will receive
|
|
907
|
+
important alerts and updates about this service. You can also set email contacts at the project level.
|
|
875
908
|
: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
|
|
876
909
|
unintentional service deletion. This does not shield against deleting databases or topics but for services with backups
|
|
877
910
|
much of the content can at least be restored from backup in case accidental deletion is done.
|
|
@@ -902,17 +935,18 @@ class InfluxDb(pulumi.CustomResource):
|
|
|
902
935
|
additional_disk_space: Optional[pulumi.Input[str]] = None,
|
|
903
936
|
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
904
937
|
disk_space: Optional[pulumi.Input[str]] = None,
|
|
905
|
-
influxdb_user_config: Optional[pulumi.Input[
|
|
938
|
+
influxdb_user_config: Optional[pulumi.Input[Union['InfluxDbInfluxdbUserConfigArgs', 'InfluxDbInfluxdbUserConfigArgsDict']]] = None,
|
|
939
|
+
influxdbs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InfluxDbInfluxdbArgs', 'InfluxDbInfluxdbArgsDict']]]]] = None,
|
|
906
940
|
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
907
941
|
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
908
942
|
plan: Optional[pulumi.Input[str]] = None,
|
|
909
943
|
project: Optional[pulumi.Input[str]] = None,
|
|
910
944
|
project_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
911
|
-
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
945
|
+
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InfluxDbServiceIntegrationArgs', 'InfluxDbServiceIntegrationArgsDict']]]]] = None,
|
|
912
946
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
913
947
|
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
914
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
915
|
-
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
948
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InfluxDbTagArgs', 'InfluxDbTagArgsDict']]]]] = None,
|
|
949
|
+
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InfluxDbTechEmailArgs', 'InfluxDbTechEmailArgsDict']]]]] = None,
|
|
916
950
|
termination_protection: Optional[pulumi.Input[bool]] = None,
|
|
917
951
|
__props__=None):
|
|
918
952
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
@@ -927,6 +961,7 @@ class InfluxDb(pulumi.CustomResource):
|
|
|
927
961
|
__props__.__dict__["cloud_name"] = cloud_name
|
|
928
962
|
__props__.__dict__["disk_space"] = disk_space
|
|
929
963
|
__props__.__dict__["influxdb_user_config"] = influxdb_user_config
|
|
964
|
+
__props__.__dict__["influxdbs"] = None if influxdbs is None else pulumi.Output.secret(influxdbs)
|
|
930
965
|
__props__.__dict__["maintenance_window_dow"] = maintenance_window_dow
|
|
931
966
|
__props__.__dict__["maintenance_window_time"] = maintenance_window_time
|
|
932
967
|
if plan is None and not opts.urn:
|
|
@@ -949,7 +984,6 @@ class InfluxDb(pulumi.CustomResource):
|
|
|
949
984
|
__props__.__dict__["disk_space_default"] = None
|
|
950
985
|
__props__.__dict__["disk_space_step"] = None
|
|
951
986
|
__props__.__dict__["disk_space_used"] = None
|
|
952
|
-
__props__.__dict__["influxdbs"] = None
|
|
953
987
|
__props__.__dict__["service_host"] = None
|
|
954
988
|
__props__.__dict__["service_password"] = None
|
|
955
989
|
__props__.__dict__["service_port"] = None
|
|
@@ -957,7 +991,7 @@ class InfluxDb(pulumi.CustomResource):
|
|
|
957
991
|
__props__.__dict__["service_uri"] = None
|
|
958
992
|
__props__.__dict__["service_username"] = None
|
|
959
993
|
__props__.__dict__["state"] = None
|
|
960
|
-
secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["servicePassword", "serviceUri"])
|
|
994
|
+
secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["influxdbs", "servicePassword", "serviceUri"])
|
|
961
995
|
opts = pulumi.ResourceOptions.merge(opts, secret_opts)
|
|
962
996
|
super(InfluxDb, __self__).__init__(
|
|
963
997
|
'aiven:index/influxDb:InfluxDb',
|
|
@@ -971,21 +1005,21 @@ class InfluxDb(pulumi.CustomResource):
|
|
|
971
1005
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
972
1006
|
additional_disk_space: Optional[pulumi.Input[str]] = None,
|
|
973
1007
|
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
974
|
-
components: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
1008
|
+
components: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InfluxDbComponentArgs', 'InfluxDbComponentArgsDict']]]]] = None,
|
|
975
1009
|
disk_space: Optional[pulumi.Input[str]] = None,
|
|
976
1010
|
disk_space_cap: Optional[pulumi.Input[str]] = None,
|
|
977
1011
|
disk_space_default: Optional[pulumi.Input[str]] = None,
|
|
978
1012
|
disk_space_step: Optional[pulumi.Input[str]] = None,
|
|
979
1013
|
disk_space_used: Optional[pulumi.Input[str]] = None,
|
|
980
|
-
influxdb_user_config: Optional[pulumi.Input[
|
|
981
|
-
influxdbs: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
1014
|
+
influxdb_user_config: Optional[pulumi.Input[Union['InfluxDbInfluxdbUserConfigArgs', 'InfluxDbInfluxdbUserConfigArgsDict']]] = None,
|
|
1015
|
+
influxdbs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InfluxDbInfluxdbArgs', 'InfluxDbInfluxdbArgsDict']]]]] = None,
|
|
982
1016
|
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
983
1017
|
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
984
1018
|
plan: Optional[pulumi.Input[str]] = None,
|
|
985
1019
|
project: Optional[pulumi.Input[str]] = None,
|
|
986
1020
|
project_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
987
1021
|
service_host: Optional[pulumi.Input[str]] = None,
|
|
988
|
-
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
1022
|
+
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InfluxDbServiceIntegrationArgs', 'InfluxDbServiceIntegrationArgsDict']]]]] = None,
|
|
989
1023
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
990
1024
|
service_password: Optional[pulumi.Input[str]] = None,
|
|
991
1025
|
service_port: Optional[pulumi.Input[int]] = None,
|
|
@@ -994,8 +1028,8 @@ class InfluxDb(pulumi.CustomResource):
|
|
|
994
1028
|
service_username: Optional[pulumi.Input[str]] = None,
|
|
995
1029
|
state: Optional[pulumi.Input[str]] = None,
|
|
996
1030
|
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
997
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
998
|
-
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
1031
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InfluxDbTagArgs', 'InfluxDbTagArgsDict']]]]] = None,
|
|
1032
|
+
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InfluxDbTechEmailArgs', 'InfluxDbTechEmailArgsDict']]]]] = None,
|
|
999
1033
|
termination_protection: Optional[pulumi.Input[bool]] = None) -> 'InfluxDb':
|
|
1000
1034
|
"""
|
|
1001
1035
|
Get an existing InfluxDb resource's state with the given name, id, and optional extra
|
|
@@ -1004,15 +1038,16 @@ class InfluxDb(pulumi.CustomResource):
|
|
|
1004
1038
|
:param str resource_name: The unique name of the resulting resource.
|
|
1005
1039
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
1006
1040
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
1007
|
-
:param pulumi.Input[str] additional_disk_space:
|
|
1008
|
-
|
|
1041
|
+
: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
|
|
1042
|
+
service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the
|
|
1043
|
+
service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
|
|
1009
1044
|
: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
|
|
1010
1045
|
created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud
|
|
1011
1046
|
provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These
|
|
1012
1047
|
are documented on each Cloud provider's own support articles, like [here for
|
|
1013
1048
|
Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for
|
|
1014
1049
|
AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
1015
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
1050
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['InfluxDbComponentArgs', 'InfluxDbComponentArgsDict']]]] components: Service component information objects
|
|
1016
1051
|
:param pulumi.Input[str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing
|
|
1017
1052
|
will result in the service rebalancing.
|
|
1018
1053
|
: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.
|
|
@@ -1021,8 +1056,9 @@ class InfluxDb(pulumi.CustomResource):
|
|
|
1021
1056
|
:param pulumi.Input[str] disk_space_step: The default disk space step of the service, possible values depend on the service type, the cloud provider and the
|
|
1022
1057
|
project. `disk_space` needs to increment from `disk_space_default` by increments of this size.
|
|
1023
1058
|
:param pulumi.Input[str] disk_space_used: Disk space that service is currently using
|
|
1024
|
-
:param pulumi.Input[
|
|
1025
|
-
|
|
1059
|
+
:param pulumi.Input[Union['InfluxDbInfluxdbUserConfigArgs', 'InfluxDbInfluxdbUserConfigArgsDict']] influxdb_user_config: Influxdb user configurable settings. **Warning:** There's no way to reset advanced configuration options to default.
|
|
1060
|
+
Options that you add cannot be removed later
|
|
1061
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['InfluxDbInfluxdbArgs', 'InfluxDbInfluxdbArgsDict']]]] influxdbs: InfluxDB server provided values
|
|
1026
1062
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
1027
1063
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
1028
1064
|
:param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there
|
|
@@ -1030,15 +1066,15 @@ class InfluxDb(pulumi.CustomResource):
|
|
|
1030
1066
|
store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
|
|
1031
1067
|
`hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also
|
|
1032
1068
|
other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available
|
|
1033
|
-
options can be
|
|
1034
|
-
:param pulumi.Input[str] project:
|
|
1035
|
-
reference.
|
|
1069
|
+
options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
1070
|
+
: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
|
|
1071
|
+
reference. Changing this property forces recreation of the resource.
|
|
1036
1072
|
: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
|
|
1037
1073
|
value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region
|
|
1038
1074
|
as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new
|
|
1039
1075
|
servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
1040
1076
|
:param pulumi.Input[str] service_host: The hostname of the service.
|
|
1041
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
1077
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['InfluxDbServiceIntegrationArgs', 'InfluxDbServiceIntegrationArgsDict']]]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
1042
1078
|
: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
|
|
1043
1079
|
service so name should be picked based on intended service usage rather than current attributes.
|
|
1044
1080
|
:param pulumi.Input[str] service_password: Password used for connecting to the service, if applicable
|
|
@@ -1049,9 +1085,9 @@ class InfluxDb(pulumi.CustomResource):
|
|
|
1049
1085
|
:param pulumi.Input[str] state: Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
1050
1086
|
: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
|
|
1051
1087
|
static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
1052
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
1053
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
1054
|
-
|
|
1088
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['InfluxDbTagArgs', 'InfluxDbTagArgsDict']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
1089
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['InfluxDbTechEmailArgs', 'InfluxDbTechEmailArgsDict']]]] tech_emails: The email addresses for [service contacts](https://aiven.io/docs/platform/howto/technical-emails), who will receive
|
|
1090
|
+
important alerts and updates about this service. You can also set email contacts at the project level.
|
|
1055
1091
|
: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
|
|
1056
1092
|
unintentional service deletion. This does not shield against deleting databases or topics but for services with backups
|
|
1057
1093
|
much of the content can at least be restored from backup in case accidental deletion is done.
|
|
@@ -1092,10 +1128,11 @@ class InfluxDb(pulumi.CustomResource):
|
|
|
1092
1128
|
|
|
1093
1129
|
@property
|
|
1094
1130
|
@pulumi.getter(name="additionalDiskSpace")
|
|
1095
|
-
def additional_disk_space(self) -> pulumi.Output[
|
|
1131
|
+
def additional_disk_space(self) -> pulumi.Output[str]:
|
|
1096
1132
|
"""
|
|
1097
|
-
|
|
1098
|
-
|
|
1133
|
+
Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your
|
|
1134
|
+
service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the
|
|
1135
|
+
service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
|
|
1099
1136
|
"""
|
|
1100
1137
|
return pulumi.get(self, "additional_disk_space")
|
|
1101
1138
|
|
|
@@ -1122,14 +1159,12 @@ class InfluxDb(pulumi.CustomResource):
|
|
|
1122
1159
|
|
|
1123
1160
|
@property
|
|
1124
1161
|
@pulumi.getter(name="diskSpace")
|
|
1162
|
+
@_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.""")
|
|
1125
1163
|
def disk_space(self) -> pulumi.Output[Optional[str]]:
|
|
1126
1164
|
"""
|
|
1127
1165
|
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing
|
|
1128
1166
|
will result in the service rebalancing.
|
|
1129
1167
|
"""
|
|
1130
|
-
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)
|
|
1131
|
-
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.""")
|
|
1132
|
-
|
|
1133
1168
|
return pulumi.get(self, "disk_space")
|
|
1134
1169
|
|
|
1135
1170
|
@property
|
|
@@ -1160,6 +1195,7 @@ class InfluxDb(pulumi.CustomResource):
|
|
|
1160
1195
|
|
|
1161
1196
|
@property
|
|
1162
1197
|
@pulumi.getter(name="diskSpaceUsed")
|
|
1198
|
+
@_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.""")
|
|
1163
1199
|
def disk_space_used(self) -> pulumi.Output[str]:
|
|
1164
1200
|
"""
|
|
1165
1201
|
Disk space that service is currently using
|
|
@@ -1170,7 +1206,8 @@ class InfluxDb(pulumi.CustomResource):
|
|
|
1170
1206
|
@pulumi.getter(name="influxdbUserConfig")
|
|
1171
1207
|
def influxdb_user_config(self) -> pulumi.Output[Optional['outputs.InfluxDbInfluxdbUserConfig']]:
|
|
1172
1208
|
"""
|
|
1173
|
-
Influxdb user configurable settings
|
|
1209
|
+
Influxdb user configurable settings. **Warning:** There's no way to reset advanced configuration options to default.
|
|
1210
|
+
Options that you add cannot be removed later
|
|
1174
1211
|
"""
|
|
1175
1212
|
return pulumi.get(self, "influxdb_user_config")
|
|
1176
1213
|
|
|
@@ -1207,7 +1244,7 @@ class InfluxDb(pulumi.CustomResource):
|
|
|
1207
1244
|
store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
|
|
1208
1245
|
`hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also
|
|
1209
1246
|
other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available
|
|
1210
|
-
options can be
|
|
1247
|
+
options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
1211
1248
|
"""
|
|
1212
1249
|
return pulumi.get(self, "plan")
|
|
1213
1250
|
|
|
@@ -1215,14 +1252,14 @@ class InfluxDb(pulumi.CustomResource):
|
|
|
1215
1252
|
@pulumi.getter
|
|
1216
1253
|
def project(self) -> pulumi.Output[str]:
|
|
1217
1254
|
"""
|
|
1218
|
-
|
|
1219
|
-
reference.
|
|
1255
|
+
The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a
|
|
1256
|
+
reference. Changing this property forces recreation of the resource.
|
|
1220
1257
|
"""
|
|
1221
1258
|
return pulumi.get(self, "project")
|
|
1222
1259
|
|
|
1223
1260
|
@property
|
|
1224
1261
|
@pulumi.getter(name="projectVpcId")
|
|
1225
|
-
def project_vpc_id(self) -> pulumi.Output[
|
|
1262
|
+
def project_vpc_id(self) -> pulumi.Output[str]:
|
|
1226
1263
|
"""
|
|
1227
1264
|
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
|
|
1228
1265
|
value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region
|
|
@@ -1241,7 +1278,7 @@ class InfluxDb(pulumi.CustomResource):
|
|
|
1241
1278
|
|
|
1242
1279
|
@property
|
|
1243
1280
|
@pulumi.getter(name="serviceIntegrations")
|
|
1244
|
-
def service_integrations(self) -> pulumi.Output[
|
|
1281
|
+
def service_integrations(self) -> pulumi.Output[Sequence['outputs.InfluxDbServiceIntegration']]:
|
|
1245
1282
|
"""
|
|
1246
1283
|
Service integrations to specify when creating a service. Not applied after initial service creation
|
|
1247
1284
|
"""
|
|
@@ -1325,8 +1362,8 @@ class InfluxDb(pulumi.CustomResource):
|
|
|
1325
1362
|
@pulumi.getter(name="techEmails")
|
|
1326
1363
|
def tech_emails(self) -> pulumi.Output[Optional[Sequence['outputs.InfluxDbTechEmail']]]:
|
|
1327
1364
|
"""
|
|
1328
|
-
|
|
1329
|
-
|
|
1365
|
+
The email addresses for [service contacts](https://aiven.io/docs/platform/howto/technical-emails), who will receive
|
|
1366
|
+
important alerts and updates about this service. You can also set email contacts at the project level.
|
|
1330
1367
|
"""
|
|
1331
1368
|
return pulumi.get(self, "tech_emails")
|
|
1332
1369
|
|