pulumi-aiven 6.41.0a1753242343__py3-none-any.whl → 6.42.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-aiven might be problematic. Click here for more details.
- pulumi_aiven/__init__.py +1 -1
- pulumi_aiven/_inputs.py +10923 -10764
- pulumi_aiven/account.py +89 -90
- pulumi_aiven/account_authentication.py +253 -254
- pulumi_aiven/account_team.py +62 -63
- pulumi_aiven/account_team_member.py +79 -80
- pulumi_aiven/account_team_project.py +69 -70
- pulumi_aiven/alloydbomni.py +319 -320
- pulumi_aiven/alloydbomni_database.py +86 -87
- pulumi_aiven/alloydbomni_user.py +113 -114
- pulumi_aiven/aws_org_vpc_peering_connection.py +113 -114
- pulumi_aiven/aws_privatelink.py +70 -71
- pulumi_aiven/aws_vpc_peering_connection.py +96 -97
- pulumi_aiven/azure_org_vpc_peering_connection.py +138 -139
- pulumi_aiven/azure_privatelink.py +88 -89
- pulumi_aiven/azure_privatelink_connection_approval.py +70 -71
- pulumi_aiven/azure_vpc_peering_connection.py +130 -131
- pulumi_aiven/billing_group.py +256 -257
- pulumi_aiven/cassandra.py +302 -303
- pulumi_aiven/cassandra_user.py +96 -97
- pulumi_aiven/clickhouse.py +302 -303
- pulumi_aiven/clickhouse_database.py +65 -66
- pulumi_aiven/clickhouse_grant.py +75 -76
- pulumi_aiven/clickhouse_role.py +52 -53
- pulumi_aiven/clickhouse_user.py +79 -80
- pulumi_aiven/config/__init__.py +1 -1
- pulumi_aiven/config/__init__.pyi +1 -2
- pulumi_aiven/config/vars.py +2 -3
- pulumi_aiven/connection_pool.py +129 -130
- pulumi_aiven/dragonfly.py +302 -303
- pulumi_aiven/flink.py +302 -303
- pulumi_aiven/flink_application.py +97 -98
- pulumi_aiven/flink_application_deployment.py +138 -139
- pulumi_aiven/flink_application_version.py +117 -118
- pulumi_aiven/flink_jar_application.py +101 -102
- pulumi_aiven/flink_jar_application_deployment.py +217 -218
- pulumi_aiven/flink_jar_application_version.py +116 -117
- pulumi_aiven/gcp_org_vpc_peering_connection.py +87 -88
- pulumi_aiven/gcp_privatelink.py +62 -63
- pulumi_aiven/gcp_privatelink_connection_approval.py +79 -80
- pulumi_aiven/gcp_vpc_peering_connection.py +79 -80
- pulumi_aiven/get_account.py +23 -24
- pulumi_aiven/get_account_authentication.py +46 -47
- pulumi_aiven/get_account_team.py +21 -22
- pulumi_aiven/get_account_team_member.py +27 -28
- pulumi_aiven/get_account_team_project.py +23 -24
- pulumi_aiven/get_alloydbomni.py +63 -64
- pulumi_aiven/get_alloydbomni_database.py +25 -26
- pulumi_aiven/get_alloydbomni_user.py +31 -32
- pulumi_aiven/get_aws_org_vpc_peering_connection.py +39 -40
- pulumi_aiven/get_aws_privatelink.py +21 -22
- pulumi_aiven/get_aws_vpc_peering_connection.py +33 -34
- pulumi_aiven/get_azure_org_vpc_peering_connection.py +41 -42
- pulumi_aiven/get_azure_privatelink.py +25 -26
- pulumi_aiven/get_azure_vpc_peering_connection.py +45 -46
- pulumi_aiven/get_billing_group.py +39 -40
- pulumi_aiven/get_cassanda.py +61 -62
- pulumi_aiven/get_cassandra.py +61 -62
- pulumi_aiven/get_cassandra_user.py +29 -30
- pulumi_aiven/get_clickhouse.py +61 -62
- pulumi_aiven/get_clickhouse_database.py +23 -24
- pulumi_aiven/get_clickhouse_user.py +27 -28
- pulumi_aiven/get_connection_pool.py +31 -32
- pulumi_aiven/get_dragonfly.py +61 -62
- pulumi_aiven/get_external_identity.py +27 -28
- pulumi_aiven/get_flink.py +61 -62
- pulumi_aiven/get_flink_application.py +31 -32
- pulumi_aiven/get_flink_application_version.py +39 -40
- pulumi_aiven/get_gcp_org_vpc_peering_connection.py +31 -32
- pulumi_aiven/get_gcp_privatelink.py +21 -22
- pulumi_aiven/get_gcp_vpc_peering_connection.py +27 -28
- pulumi_aiven/get_grafana.py +61 -62
- pulumi_aiven/get_influx_db.py +57 -58
- pulumi_aiven/get_influxdb_database.py +17 -18
- pulumi_aiven/get_influxdb_user.py +23 -24
- pulumi_aiven/get_kafka.py +65 -66
- pulumi_aiven/get_kafka_acl.py +35 -36
- pulumi_aiven/get_kafka_connect.py +60 -61
- pulumi_aiven/get_kafka_connector.py +36 -37
- pulumi_aiven/get_kafka_mirror_maker.py +60 -61
- pulumi_aiven/get_kafka_schema.py +29 -30
- pulumi_aiven/get_kafka_schema_configuration.py +25 -26
- pulumi_aiven/get_kafka_schema_registry_acl.py +35 -36
- pulumi_aiven/get_kafka_topic.py +33 -34
- pulumi_aiven/get_kafka_user.py +29 -30
- pulumi_aiven/get_m3_aggregator.py +61 -62
- pulumi_aiven/get_m3_db.py +61 -62
- pulumi_aiven/get_m3db_user.py +25 -26
- pulumi_aiven/get_mirror_maker_replication_flow.py +51 -52
- pulumi_aiven/get_my_sql.py +61 -62
- pulumi_aiven/get_mysql_database.py +23 -24
- pulumi_aiven/get_mysql_user.py +31 -32
- pulumi_aiven/get_open_search.py +61 -62
- pulumi_aiven/get_open_search_acl_config.py +19 -20
- pulumi_aiven/get_open_search_acl_rule.py +33 -34
- pulumi_aiven/get_opensearch_security_plugin_config.py +23 -24
- pulumi_aiven/get_opensearch_user.py +25 -26
- pulumi_aiven/get_organization.py +20 -21
- pulumi_aiven/get_organization_address.py +32 -33
- pulumi_aiven/get_organization_application_user.py +21 -22
- pulumi_aiven/get_organization_billing_group.py +34 -35
- pulumi_aiven/get_organization_billing_group_list.py +11 -12
- pulumi_aiven/get_organization_project.py +27 -28
- pulumi_aiven/get_organization_user.py +23 -24
- pulumi_aiven/get_organization_user_group.py +23 -24
- pulumi_aiven/get_organization_user_list.py +14 -15
- pulumi_aiven/get_organization_vpc.py +25 -26
- pulumi_aiven/get_organizational_unit.py +17 -18
- pulumi_aiven/get_pg.py +61 -62
- pulumi_aiven/get_pg_database.py +27 -28
- pulumi_aiven/get_pg_user.py +31 -32
- pulumi_aiven/get_project.py +34 -35
- pulumi_aiven/get_project_user.py +19 -20
- pulumi_aiven/get_project_vpc.py +25 -26
- pulumi_aiven/get_redis.py +61 -62
- pulumi_aiven/get_redis_user.py +33 -34
- pulumi_aiven/get_service_component.py +51 -52
- pulumi_aiven/get_service_integration.py +52 -53
- pulumi_aiven/get_service_integration_endpoint.py +38 -39
- pulumi_aiven/get_thanos.py +61 -62
- pulumi_aiven/get_transit_gateway_vpc_attachment.py +31 -32
- pulumi_aiven/get_valkey.py +61 -62
- pulumi_aiven/get_valkey_user.py +33 -34
- pulumi_aiven/governance_access.py +84 -85
- pulumi_aiven/grafana.py +302 -303
- pulumi_aiven/influx_db.py +302 -303
- pulumi_aiven/influxdb_database.py +65 -66
- pulumi_aiven/influxdb_user.py +96 -97
- pulumi_aiven/kafka.py +336 -337
- pulumi_aiven/kafka_acl.py +95 -96
- pulumi_aiven/kafka_connect.py +299 -300
- pulumi_aiven/kafka_connector.py +125 -126
- pulumi_aiven/kafka_mirror_maker.py +299 -300
- pulumi_aiven/kafka_native_acl.py +154 -155
- pulumi_aiven/kafka_quota.py +120 -121
- pulumi_aiven/kafka_schema.py +112 -113
- pulumi_aiven/kafka_schema_configuration.py +52 -53
- pulumi_aiven/kafka_schema_registry_acl.py +95 -96
- pulumi_aiven/kafka_topic.py +139 -140
- pulumi_aiven/kafka_user.py +96 -97
- pulumi_aiven/m3_aggregator.py +311 -303
- pulumi_aiven/m3_db.py +311 -303
- pulumi_aiven/m3db_user.py +78 -79
- pulumi_aiven/mirror_maker_replication_flow.py +273 -274
- pulumi_aiven/my_sql.py +302 -303
- pulumi_aiven/mysql_database.py +65 -66
- pulumi_aiven/mysql_user.py +113 -114
- pulumi_aiven/open_search.py +302 -303
- pulumi_aiven/open_search_acl_config.py +69 -70
- pulumi_aiven/open_search_acl_rule.py +86 -87
- pulumi_aiven/opensearch_security_plugin_config.py +79 -80
- pulumi_aiven/opensearch_user.py +78 -79
- pulumi_aiven/organization.py +48 -49
- pulumi_aiven/organization_address.py +150 -151
- pulumi_aiven/organization_application_user.py +70 -71
- pulumi_aiven/organization_application_user_token.py +210 -211
- pulumi_aiven/organization_billing_group.py +183 -184
- pulumi_aiven/organization_group_project.py +55 -56
- pulumi_aiven/organization_permission.py +55 -56
- pulumi_aiven/organization_project.py +118 -119
- pulumi_aiven/organization_user.py +71 -72
- pulumi_aiven/organization_user_group.py +79 -80
- pulumi_aiven/organization_user_group_member.py +64 -65
- pulumi_aiven/organization_vpc.py +88 -89
- pulumi_aiven/organizational_unit.py +62 -63
- pulumi_aiven/outputs.py +14499 -14292
- pulumi_aiven/pg.py +302 -303
- pulumi_aiven/pg_database.py +99 -100
- pulumi_aiven/pg_user.py +113 -114
- pulumi_aiven/project.py +193 -194
- pulumi_aiven/project_user.py +61 -62
- pulumi_aiven/project_vpc.py +61 -62
- pulumi_aiven/provider.py +12 -13
- pulumi_aiven/pulumi-plugin.json +1 -1
- pulumi_aiven/redis.py +302 -303
- pulumi_aiven/redis_user.py +146 -147
- pulumi_aiven/service_integration.py +191 -192
- pulumi_aiven/service_integration_endpoint.py +118 -119
- pulumi_aiven/static_ip.py +71 -72
- pulumi_aiven/thanos.py +302 -303
- pulumi_aiven/transit_gateway_vpc_attachment.py +113 -114
- pulumi_aiven/valkey.py +302 -303
- pulumi_aiven/valkey_user.py +146 -147
- {pulumi_aiven-6.41.0a1753242343.dist-info → pulumi_aiven-6.42.0.dist-info}/METADATA +1 -1
- pulumi_aiven-6.42.0.dist-info/RECORD +189 -0
- pulumi_aiven-6.41.0a1753242343.dist-info/RECORD +0 -189
- {pulumi_aiven-6.41.0a1753242343.dist-info → pulumi_aiven-6.42.0.dist-info}/WHEEL +0 -0
- {pulumi_aiven-6.41.0a1753242343.dist-info → pulumi_aiven-6.42.0.dist-info}/top_level.txt +0 -0
pulumi_aiven/influx_db.py
CHANGED
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -22,64 +21,64 @@ __all__ = ['InfluxDbArgs', 'InfluxDb']
|
|
|
22
21
|
@pulumi.input_type
|
|
23
22
|
class InfluxDbArgs:
|
|
24
23
|
def __init__(__self__, *,
|
|
25
|
-
plan: pulumi.Input[
|
|
26
|
-
project: pulumi.Input[
|
|
27
|
-
service_name: pulumi.Input[
|
|
28
|
-
additional_disk_space: Optional[pulumi.Input[
|
|
29
|
-
cloud_name: Optional[pulumi.Input[
|
|
30
|
-
disk_space: Optional[pulumi.Input[
|
|
24
|
+
plan: pulumi.Input[_builtins.str],
|
|
25
|
+
project: pulumi.Input[_builtins.str],
|
|
26
|
+
service_name: pulumi.Input[_builtins.str],
|
|
27
|
+
additional_disk_space: Optional[pulumi.Input[_builtins.str]] = None,
|
|
28
|
+
cloud_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
29
|
+
disk_space: Optional[pulumi.Input[_builtins.str]] = None,
|
|
31
30
|
influxdb_user_config: Optional[pulumi.Input['InfluxDbInfluxdbUserConfigArgs']] = None,
|
|
32
31
|
influxdbs: Optional[pulumi.Input[Sequence[pulumi.Input['InfluxDbInfluxdbArgs']]]] = None,
|
|
33
|
-
maintenance_window_dow: Optional[pulumi.Input[
|
|
34
|
-
maintenance_window_time: Optional[pulumi.Input[
|
|
35
|
-
project_vpc_id: Optional[pulumi.Input[
|
|
32
|
+
maintenance_window_dow: Optional[pulumi.Input[_builtins.str]] = None,
|
|
33
|
+
maintenance_window_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
34
|
+
project_vpc_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
36
35
|
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input['InfluxDbServiceIntegrationArgs']]]] = None,
|
|
37
|
-
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
36
|
+
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
38
37
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input['InfluxDbTagArgs']]]] = None,
|
|
39
38
|
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input['InfluxDbTechEmailArgs']]]] = None,
|
|
40
|
-
termination_protection: Optional[pulumi.Input[
|
|
39
|
+
termination_protection: Optional[pulumi.Input[_builtins.bool]] = None):
|
|
41
40
|
"""
|
|
42
41
|
The set of arguments for constructing a InfluxDb resource.
|
|
43
|
-
:param pulumi.Input[
|
|
42
|
+
:param pulumi.Input[_builtins.str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there
|
|
44
43
|
are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to
|
|
45
44
|
store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
|
|
46
45
|
`hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also
|
|
47
46
|
other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available
|
|
48
47
|
options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
49
|
-
:param pulumi.Input[
|
|
48
|
+
:param pulumi.Input[_builtins.str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a
|
|
50
49
|
reference. Changing this property forces recreation of the resource.
|
|
51
|
-
:param pulumi.Input[
|
|
50
|
+
:param pulumi.Input[_builtins.str] service_name: Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the
|
|
52
51
|
service so name should be picked based on intended service usage rather than current attributes.
|
|
53
|
-
:param pulumi.Input[
|
|
52
|
+
:param pulumi.Input[_builtins.str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your
|
|
54
53
|
service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the
|
|
55
54
|
service nodes to go through a rolling restart, and there might be a short downtime for services without an autoscaler
|
|
56
55
|
integration or high availability capabilities. The field can be safely removed when autoscaler is enabled without
|
|
57
56
|
causing any changes.
|
|
58
|
-
:param pulumi.Input[
|
|
57
|
+
:param pulumi.Input[_builtins.str] cloud_name: The cloud provider and region the service is hosted in. The format is `provider-region`, for example:
|
|
59
58
|
`google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ
|
|
60
59
|
per project and service. Changing this value [migrates the service to another cloud provider or
|
|
61
60
|
region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and
|
|
62
61
|
includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases
|
|
63
62
|
may have a brief interruption during DNS propagation.
|
|
64
|
-
:param pulumi.Input[
|
|
63
|
+
:param pulumi.Input[_builtins.str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing
|
|
65
64
|
will result in the service rebalancing.
|
|
66
65
|
:param pulumi.Input['InfluxDbInfluxdbUserConfigArgs'] influxdb_user_config: Influxdb user configurable settings. **Warning:** There's no way to reset advanced configuration options to default.
|
|
67
66
|
Options that you add cannot be removed later
|
|
68
67
|
:param pulumi.Input[Sequence[pulumi.Input['InfluxDbInfluxdbArgs']]] influxdbs: InfluxDB server provided values
|
|
69
|
-
:param pulumi.Input[
|
|
70
|
-
:param pulumi.Input[
|
|
71
|
-
:param pulumi.Input[
|
|
68
|
+
:param pulumi.Input[_builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
69
|
+
:param pulumi.Input[_builtins.str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
70
|
+
:param pulumi.Input[_builtins.str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set, the service runs on the Public Internet. When set,
|
|
72
71
|
the value should be given as a reference to set up dependencies correctly, and the VPC must be in the same cloud and
|
|
73
72
|
region as the service itself. The service can be freely moved to and from VPC after creation, but doing so triggers
|
|
74
73
|
migration to new servers, so the operation can take a significant amount of time to complete if the service has a lot of
|
|
75
74
|
data.
|
|
76
75
|
:param pulumi.Input[Sequence[pulumi.Input['InfluxDbServiceIntegrationArgs']]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
77
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
76
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] static_ips: Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a
|
|
78
77
|
static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
79
78
|
:param pulumi.Input[Sequence[pulumi.Input['InfluxDbTagArgs']]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
80
79
|
: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
|
|
81
80
|
important alerts and updates about this service. You can also set email contacts at the project level.
|
|
82
|
-
:param pulumi.Input[
|
|
81
|
+
:param pulumi.Input[_builtins.bool] termination_protection: Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent
|
|
83
82
|
unintentional service deletion. This does not shield against deleting databases or topics but for services with backups
|
|
84
83
|
much of the content can at least be restored from backup in case accidental deletion is done.
|
|
85
84
|
"""
|
|
@@ -116,9 +115,9 @@ class InfluxDbArgs:
|
|
|
116
115
|
if termination_protection is not None:
|
|
117
116
|
pulumi.set(__self__, "termination_protection", termination_protection)
|
|
118
117
|
|
|
119
|
-
@property
|
|
118
|
+
@_builtins.property
|
|
120
119
|
@pulumi.getter
|
|
121
|
-
def plan(self) -> pulumi.Input[
|
|
120
|
+
def plan(self) -> pulumi.Input[_builtins.str]:
|
|
122
121
|
"""
|
|
123
122
|
Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there
|
|
124
123
|
are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to
|
|
@@ -130,12 +129,12 @@ class InfluxDbArgs:
|
|
|
130
129
|
return pulumi.get(self, "plan")
|
|
131
130
|
|
|
132
131
|
@plan.setter
|
|
133
|
-
def plan(self, value: pulumi.Input[
|
|
132
|
+
def plan(self, value: pulumi.Input[_builtins.str]):
|
|
134
133
|
pulumi.set(self, "plan", value)
|
|
135
134
|
|
|
136
|
-
@property
|
|
135
|
+
@_builtins.property
|
|
137
136
|
@pulumi.getter
|
|
138
|
-
def project(self) -> pulumi.Input[
|
|
137
|
+
def project(self) -> pulumi.Input[_builtins.str]:
|
|
139
138
|
"""
|
|
140
139
|
The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a
|
|
141
140
|
reference. Changing this property forces recreation of the resource.
|
|
@@ -143,12 +142,12 @@ class InfluxDbArgs:
|
|
|
143
142
|
return pulumi.get(self, "project")
|
|
144
143
|
|
|
145
144
|
@project.setter
|
|
146
|
-
def project(self, value: pulumi.Input[
|
|
145
|
+
def project(self, value: pulumi.Input[_builtins.str]):
|
|
147
146
|
pulumi.set(self, "project", value)
|
|
148
147
|
|
|
149
|
-
@property
|
|
148
|
+
@_builtins.property
|
|
150
149
|
@pulumi.getter(name="serviceName")
|
|
151
|
-
def service_name(self) -> pulumi.Input[
|
|
150
|
+
def service_name(self) -> pulumi.Input[_builtins.str]:
|
|
152
151
|
"""
|
|
153
152
|
Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the
|
|
154
153
|
service so name should be picked based on intended service usage rather than current attributes.
|
|
@@ -156,12 +155,12 @@ class InfluxDbArgs:
|
|
|
156
155
|
return pulumi.get(self, "service_name")
|
|
157
156
|
|
|
158
157
|
@service_name.setter
|
|
159
|
-
def service_name(self, value: pulumi.Input[
|
|
158
|
+
def service_name(self, value: pulumi.Input[_builtins.str]):
|
|
160
159
|
pulumi.set(self, "service_name", value)
|
|
161
160
|
|
|
162
|
-
@property
|
|
161
|
+
@_builtins.property
|
|
163
162
|
@pulumi.getter(name="additionalDiskSpace")
|
|
164
|
-
def additional_disk_space(self) -> Optional[pulumi.Input[
|
|
163
|
+
def additional_disk_space(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
165
164
|
"""
|
|
166
165
|
Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your
|
|
167
166
|
service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the
|
|
@@ -172,12 +171,12 @@ class InfluxDbArgs:
|
|
|
172
171
|
return pulumi.get(self, "additional_disk_space")
|
|
173
172
|
|
|
174
173
|
@additional_disk_space.setter
|
|
175
|
-
def additional_disk_space(self, value: Optional[pulumi.Input[
|
|
174
|
+
def additional_disk_space(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
176
175
|
pulumi.set(self, "additional_disk_space", value)
|
|
177
176
|
|
|
178
|
-
@property
|
|
177
|
+
@_builtins.property
|
|
179
178
|
@pulumi.getter(name="cloudName")
|
|
180
|
-
def cloud_name(self) -> Optional[pulumi.Input[
|
|
179
|
+
def cloud_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
181
180
|
"""
|
|
182
181
|
The cloud provider and region the service is hosted in. The format is `provider-region`, for example:
|
|
183
182
|
`google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ
|
|
@@ -189,13 +188,13 @@ class InfluxDbArgs:
|
|
|
189
188
|
return pulumi.get(self, "cloud_name")
|
|
190
189
|
|
|
191
190
|
@cloud_name.setter
|
|
192
|
-
def cloud_name(self, value: Optional[pulumi.Input[
|
|
191
|
+
def cloud_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
193
192
|
pulumi.set(self, "cloud_name", value)
|
|
194
193
|
|
|
195
|
-
@property
|
|
194
|
+
@_builtins.property
|
|
196
195
|
@pulumi.getter(name="diskSpace")
|
|
197
196
|
@_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.""")
|
|
198
|
-
def disk_space(self) -> Optional[pulumi.Input[
|
|
197
|
+
def disk_space(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
199
198
|
"""
|
|
200
199
|
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing
|
|
201
200
|
will result in the service rebalancing.
|
|
@@ -203,10 +202,10 @@ class InfluxDbArgs:
|
|
|
203
202
|
return pulumi.get(self, "disk_space")
|
|
204
203
|
|
|
205
204
|
@disk_space.setter
|
|
206
|
-
def disk_space(self, value: Optional[pulumi.Input[
|
|
205
|
+
def disk_space(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
207
206
|
pulumi.set(self, "disk_space", value)
|
|
208
207
|
|
|
209
|
-
@property
|
|
208
|
+
@_builtins.property
|
|
210
209
|
@pulumi.getter(name="influxdbUserConfig")
|
|
211
210
|
def influxdb_user_config(self) -> Optional[pulumi.Input['InfluxDbInfluxdbUserConfigArgs']]:
|
|
212
211
|
"""
|
|
@@ -219,7 +218,7 @@ class InfluxDbArgs:
|
|
|
219
218
|
def influxdb_user_config(self, value: Optional[pulumi.Input['InfluxDbInfluxdbUserConfigArgs']]):
|
|
220
219
|
pulumi.set(self, "influxdb_user_config", value)
|
|
221
220
|
|
|
222
|
-
@property
|
|
221
|
+
@_builtins.property
|
|
223
222
|
@pulumi.getter
|
|
224
223
|
def influxdbs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['InfluxDbInfluxdbArgs']]]]:
|
|
225
224
|
"""
|
|
@@ -231,33 +230,33 @@ class InfluxDbArgs:
|
|
|
231
230
|
def influxdbs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['InfluxDbInfluxdbArgs']]]]):
|
|
232
231
|
pulumi.set(self, "influxdbs", value)
|
|
233
232
|
|
|
234
|
-
@property
|
|
233
|
+
@_builtins.property
|
|
235
234
|
@pulumi.getter(name="maintenanceWindowDow")
|
|
236
|
-
def maintenance_window_dow(self) -> Optional[pulumi.Input[
|
|
235
|
+
def maintenance_window_dow(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
237
236
|
"""
|
|
238
237
|
Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
239
238
|
"""
|
|
240
239
|
return pulumi.get(self, "maintenance_window_dow")
|
|
241
240
|
|
|
242
241
|
@maintenance_window_dow.setter
|
|
243
|
-
def maintenance_window_dow(self, value: Optional[pulumi.Input[
|
|
242
|
+
def maintenance_window_dow(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
244
243
|
pulumi.set(self, "maintenance_window_dow", value)
|
|
245
244
|
|
|
246
|
-
@property
|
|
245
|
+
@_builtins.property
|
|
247
246
|
@pulumi.getter(name="maintenanceWindowTime")
|
|
248
|
-
def maintenance_window_time(self) -> Optional[pulumi.Input[
|
|
247
|
+
def maintenance_window_time(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
249
248
|
"""
|
|
250
249
|
Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
251
250
|
"""
|
|
252
251
|
return pulumi.get(self, "maintenance_window_time")
|
|
253
252
|
|
|
254
253
|
@maintenance_window_time.setter
|
|
255
|
-
def maintenance_window_time(self, value: Optional[pulumi.Input[
|
|
254
|
+
def maintenance_window_time(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
256
255
|
pulumi.set(self, "maintenance_window_time", value)
|
|
257
256
|
|
|
258
|
-
@property
|
|
257
|
+
@_builtins.property
|
|
259
258
|
@pulumi.getter(name="projectVpcId")
|
|
260
|
-
def project_vpc_id(self) -> Optional[pulumi.Input[
|
|
259
|
+
def project_vpc_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
261
260
|
"""
|
|
262
261
|
Specifies the VPC the service should run in. If the value is not set, the service runs on the Public Internet. When set,
|
|
263
262
|
the value should be given as a reference to set up dependencies correctly, and the VPC must be in the same cloud and
|
|
@@ -268,10 +267,10 @@ class InfluxDbArgs:
|
|
|
268
267
|
return pulumi.get(self, "project_vpc_id")
|
|
269
268
|
|
|
270
269
|
@project_vpc_id.setter
|
|
271
|
-
def project_vpc_id(self, value: Optional[pulumi.Input[
|
|
270
|
+
def project_vpc_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
272
271
|
pulumi.set(self, "project_vpc_id", value)
|
|
273
272
|
|
|
274
|
-
@property
|
|
273
|
+
@_builtins.property
|
|
275
274
|
@pulumi.getter(name="serviceIntegrations")
|
|
276
275
|
def service_integrations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['InfluxDbServiceIntegrationArgs']]]]:
|
|
277
276
|
"""
|
|
@@ -283,9 +282,9 @@ class InfluxDbArgs:
|
|
|
283
282
|
def service_integrations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['InfluxDbServiceIntegrationArgs']]]]):
|
|
284
283
|
pulumi.set(self, "service_integrations", value)
|
|
285
284
|
|
|
286
|
-
@property
|
|
285
|
+
@_builtins.property
|
|
287
286
|
@pulumi.getter(name="staticIps")
|
|
288
|
-
def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
287
|
+
def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
289
288
|
"""
|
|
290
289
|
Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a
|
|
291
290
|
static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
@@ -293,10 +292,10 @@ class InfluxDbArgs:
|
|
|
293
292
|
return pulumi.get(self, "static_ips")
|
|
294
293
|
|
|
295
294
|
@static_ips.setter
|
|
296
|
-
def static_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
295
|
+
def static_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
297
296
|
pulumi.set(self, "static_ips", value)
|
|
298
297
|
|
|
299
|
-
@property
|
|
298
|
+
@_builtins.property
|
|
300
299
|
@pulumi.getter
|
|
301
300
|
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['InfluxDbTagArgs']]]]:
|
|
302
301
|
"""
|
|
@@ -308,7 +307,7 @@ class InfluxDbArgs:
|
|
|
308
307
|
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['InfluxDbTagArgs']]]]):
|
|
309
308
|
pulumi.set(self, "tags", value)
|
|
310
309
|
|
|
311
|
-
@property
|
|
310
|
+
@_builtins.property
|
|
312
311
|
@pulumi.getter(name="techEmails")
|
|
313
312
|
def tech_emails(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['InfluxDbTechEmailArgs']]]]:
|
|
314
313
|
"""
|
|
@@ -321,9 +320,9 @@ class InfluxDbArgs:
|
|
|
321
320
|
def tech_emails(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['InfluxDbTechEmailArgs']]]]):
|
|
322
321
|
pulumi.set(self, "tech_emails", value)
|
|
323
322
|
|
|
324
|
-
@property
|
|
323
|
+
@_builtins.property
|
|
325
324
|
@pulumi.getter(name="terminationProtection")
|
|
326
|
-
def termination_protection(self) -> Optional[pulumi.Input[
|
|
325
|
+
def termination_protection(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
327
326
|
"""
|
|
328
327
|
Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent
|
|
329
328
|
unintentional service deletion. This does not shield against deleting databases or topics but for services with backups
|
|
@@ -332,96 +331,96 @@ class InfluxDbArgs:
|
|
|
332
331
|
return pulumi.get(self, "termination_protection")
|
|
333
332
|
|
|
334
333
|
@termination_protection.setter
|
|
335
|
-
def termination_protection(self, value: Optional[pulumi.Input[
|
|
334
|
+
def termination_protection(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
336
335
|
pulumi.set(self, "termination_protection", value)
|
|
337
336
|
|
|
338
337
|
|
|
339
338
|
@pulumi.input_type
|
|
340
339
|
class _InfluxDbState:
|
|
341
340
|
def __init__(__self__, *,
|
|
342
|
-
additional_disk_space: Optional[pulumi.Input[
|
|
343
|
-
cloud_name: Optional[pulumi.Input[
|
|
341
|
+
additional_disk_space: Optional[pulumi.Input[_builtins.str]] = None,
|
|
342
|
+
cloud_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
344
343
|
components: Optional[pulumi.Input[Sequence[pulumi.Input['InfluxDbComponentArgs']]]] = None,
|
|
345
|
-
disk_space: Optional[pulumi.Input[
|
|
346
|
-
disk_space_cap: Optional[pulumi.Input[
|
|
347
|
-
disk_space_default: Optional[pulumi.Input[
|
|
348
|
-
disk_space_step: Optional[pulumi.Input[
|
|
349
|
-
disk_space_used: Optional[pulumi.Input[
|
|
344
|
+
disk_space: Optional[pulumi.Input[_builtins.str]] = None,
|
|
345
|
+
disk_space_cap: Optional[pulumi.Input[_builtins.str]] = None,
|
|
346
|
+
disk_space_default: Optional[pulumi.Input[_builtins.str]] = None,
|
|
347
|
+
disk_space_step: Optional[pulumi.Input[_builtins.str]] = None,
|
|
348
|
+
disk_space_used: Optional[pulumi.Input[_builtins.str]] = None,
|
|
350
349
|
influxdb_user_config: Optional[pulumi.Input['InfluxDbInfluxdbUserConfigArgs']] = None,
|
|
351
350
|
influxdbs: Optional[pulumi.Input[Sequence[pulumi.Input['InfluxDbInfluxdbArgs']]]] = None,
|
|
352
|
-
maintenance_window_dow: Optional[pulumi.Input[
|
|
353
|
-
maintenance_window_time: Optional[pulumi.Input[
|
|
354
|
-
plan: Optional[pulumi.Input[
|
|
355
|
-
project: Optional[pulumi.Input[
|
|
356
|
-
project_vpc_id: Optional[pulumi.Input[
|
|
357
|
-
service_host: Optional[pulumi.Input[
|
|
351
|
+
maintenance_window_dow: Optional[pulumi.Input[_builtins.str]] = None,
|
|
352
|
+
maintenance_window_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
353
|
+
plan: Optional[pulumi.Input[_builtins.str]] = None,
|
|
354
|
+
project: Optional[pulumi.Input[_builtins.str]] = None,
|
|
355
|
+
project_vpc_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
356
|
+
service_host: Optional[pulumi.Input[_builtins.str]] = None,
|
|
358
357
|
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input['InfluxDbServiceIntegrationArgs']]]] = None,
|
|
359
|
-
service_name: Optional[pulumi.Input[
|
|
360
|
-
service_password: Optional[pulumi.Input[
|
|
361
|
-
service_port: Optional[pulumi.Input[
|
|
362
|
-
service_type: Optional[pulumi.Input[
|
|
363
|
-
service_uri: Optional[pulumi.Input[
|
|
364
|
-
service_username: Optional[pulumi.Input[
|
|
365
|
-
state: Optional[pulumi.Input[
|
|
366
|
-
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
358
|
+
service_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
359
|
+
service_password: Optional[pulumi.Input[_builtins.str]] = None,
|
|
360
|
+
service_port: Optional[pulumi.Input[_builtins.int]] = None,
|
|
361
|
+
service_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
362
|
+
service_uri: Optional[pulumi.Input[_builtins.str]] = None,
|
|
363
|
+
service_username: Optional[pulumi.Input[_builtins.str]] = None,
|
|
364
|
+
state: Optional[pulumi.Input[_builtins.str]] = None,
|
|
365
|
+
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
367
366
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input['InfluxDbTagArgs']]]] = None,
|
|
368
367
|
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input['InfluxDbTechEmailArgs']]]] = None,
|
|
369
|
-
termination_protection: Optional[pulumi.Input[
|
|
368
|
+
termination_protection: Optional[pulumi.Input[_builtins.bool]] = None):
|
|
370
369
|
"""
|
|
371
370
|
Input properties used for looking up and filtering InfluxDb resources.
|
|
372
|
-
:param pulumi.Input[
|
|
371
|
+
:param pulumi.Input[_builtins.str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your
|
|
373
372
|
service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the
|
|
374
373
|
service nodes to go through a rolling restart, and there might be a short downtime for services without an autoscaler
|
|
375
374
|
integration or high availability capabilities. The field can be safely removed when autoscaler is enabled without
|
|
376
375
|
causing any changes.
|
|
377
|
-
:param pulumi.Input[
|
|
376
|
+
:param pulumi.Input[_builtins.str] cloud_name: The cloud provider and region the service is hosted in. The format is `provider-region`, for example:
|
|
378
377
|
`google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ
|
|
379
378
|
per project and service. Changing this value [migrates the service to another cloud provider or
|
|
380
379
|
region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and
|
|
381
380
|
includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases
|
|
382
381
|
may have a brief interruption during DNS propagation.
|
|
383
382
|
:param pulumi.Input[Sequence[pulumi.Input['InfluxDbComponentArgs']]] components: Service component information objects
|
|
384
|
-
:param pulumi.Input[
|
|
383
|
+
:param pulumi.Input[_builtins.str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing
|
|
385
384
|
will result in the service rebalancing.
|
|
386
|
-
:param pulumi.Input[
|
|
387
|
-
:param pulumi.Input[
|
|
385
|
+
:param pulumi.Input[_builtins.str] disk_space_cap: The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
386
|
+
:param pulumi.Input[_builtins.str] disk_space_default: The default disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
388
387
|
Its also the minimum value for `disk_space`
|
|
389
|
-
:param pulumi.Input[
|
|
388
|
+
:param pulumi.Input[_builtins.str] disk_space_step: The default disk space step of the service, possible values depend on the service type, the cloud provider and the
|
|
390
389
|
project. `disk_space` needs to increment from `disk_space_default` by increments of this size.
|
|
391
|
-
:param pulumi.Input[
|
|
390
|
+
:param pulumi.Input[_builtins.str] disk_space_used: Disk space that service is currently using
|
|
392
391
|
:param pulumi.Input['InfluxDbInfluxdbUserConfigArgs'] influxdb_user_config: Influxdb user configurable settings. **Warning:** There's no way to reset advanced configuration options to default.
|
|
393
392
|
Options that you add cannot be removed later
|
|
394
393
|
:param pulumi.Input[Sequence[pulumi.Input['InfluxDbInfluxdbArgs']]] influxdbs: InfluxDB server provided values
|
|
395
|
-
:param pulumi.Input[
|
|
396
|
-
:param pulumi.Input[
|
|
397
|
-
:param pulumi.Input[
|
|
394
|
+
:param pulumi.Input[_builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
395
|
+
:param pulumi.Input[_builtins.str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
396
|
+
:param pulumi.Input[_builtins.str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there
|
|
398
397
|
are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to
|
|
399
398
|
store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
|
|
400
399
|
`hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also
|
|
401
400
|
other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available
|
|
402
401
|
options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
403
|
-
:param pulumi.Input[
|
|
402
|
+
:param pulumi.Input[_builtins.str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a
|
|
404
403
|
reference. Changing this property forces recreation of the resource.
|
|
405
|
-
:param pulumi.Input[
|
|
404
|
+
:param pulumi.Input[_builtins.str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set, the service runs on the Public Internet. When set,
|
|
406
405
|
the value should be given as a reference to set up dependencies correctly, and the VPC must be in the same cloud and
|
|
407
406
|
region as the service itself. The service can be freely moved to and from VPC after creation, but doing so triggers
|
|
408
407
|
migration to new servers, so the operation can take a significant amount of time to complete if the service has a lot of
|
|
409
408
|
data.
|
|
410
|
-
:param pulumi.Input[
|
|
409
|
+
:param pulumi.Input[_builtins.str] service_host: The hostname of the service.
|
|
411
410
|
:param pulumi.Input[Sequence[pulumi.Input['InfluxDbServiceIntegrationArgs']]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
412
|
-
:param pulumi.Input[
|
|
411
|
+
:param pulumi.Input[_builtins.str] service_name: Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the
|
|
413
412
|
service so name should be picked based on intended service usage rather than current attributes.
|
|
414
|
-
:param pulumi.Input[
|
|
415
|
-
:param pulumi.Input[
|
|
416
|
-
:param pulumi.Input[
|
|
417
|
-
:param pulumi.Input[
|
|
418
|
-
:param pulumi.Input[
|
|
419
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
413
|
+
:param pulumi.Input[_builtins.str] service_password: Password used for connecting to the service, if applicable
|
|
414
|
+
:param pulumi.Input[_builtins.int] service_port: The port of the service
|
|
415
|
+
:param pulumi.Input[_builtins.str] service_type: Aiven internal service type code
|
|
416
|
+
:param pulumi.Input[_builtins.str] service_uri: URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
417
|
+
:param pulumi.Input[_builtins.str] service_username: Username used for connecting to the service, if applicable
|
|
418
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] static_ips: Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a
|
|
420
419
|
static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
421
420
|
:param pulumi.Input[Sequence[pulumi.Input['InfluxDbTagArgs']]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
422
421
|
: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
|
|
423
422
|
important alerts and updates about this service. You can also set email contacts at the project level.
|
|
424
|
-
:param pulumi.Input[
|
|
423
|
+
:param pulumi.Input[_builtins.bool] termination_protection: Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent
|
|
425
424
|
unintentional service deletion. This does not shield against deleting databases or topics but for services with backups
|
|
426
425
|
much of the content can at least be restored from backup in case accidental deletion is done.
|
|
427
426
|
"""
|
|
@@ -488,9 +487,9 @@ class _InfluxDbState:
|
|
|
488
487
|
if termination_protection is not None:
|
|
489
488
|
pulumi.set(__self__, "termination_protection", termination_protection)
|
|
490
489
|
|
|
491
|
-
@property
|
|
490
|
+
@_builtins.property
|
|
492
491
|
@pulumi.getter(name="additionalDiskSpace")
|
|
493
|
-
def additional_disk_space(self) -> Optional[pulumi.Input[
|
|
492
|
+
def additional_disk_space(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
494
493
|
"""
|
|
495
494
|
Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your
|
|
496
495
|
service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the
|
|
@@ -501,12 +500,12 @@ class _InfluxDbState:
|
|
|
501
500
|
return pulumi.get(self, "additional_disk_space")
|
|
502
501
|
|
|
503
502
|
@additional_disk_space.setter
|
|
504
|
-
def additional_disk_space(self, value: Optional[pulumi.Input[
|
|
503
|
+
def additional_disk_space(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
505
504
|
pulumi.set(self, "additional_disk_space", value)
|
|
506
505
|
|
|
507
|
-
@property
|
|
506
|
+
@_builtins.property
|
|
508
507
|
@pulumi.getter(name="cloudName")
|
|
509
|
-
def cloud_name(self) -> Optional[pulumi.Input[
|
|
508
|
+
def cloud_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
510
509
|
"""
|
|
511
510
|
The cloud provider and region the service is hosted in. The format is `provider-region`, for example:
|
|
512
511
|
`google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ
|
|
@@ -518,10 +517,10 @@ class _InfluxDbState:
|
|
|
518
517
|
return pulumi.get(self, "cloud_name")
|
|
519
518
|
|
|
520
519
|
@cloud_name.setter
|
|
521
|
-
def cloud_name(self, value: Optional[pulumi.Input[
|
|
520
|
+
def cloud_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
522
521
|
pulumi.set(self, "cloud_name", value)
|
|
523
522
|
|
|
524
|
-
@property
|
|
523
|
+
@_builtins.property
|
|
525
524
|
@pulumi.getter
|
|
526
525
|
def components(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['InfluxDbComponentArgs']]]]:
|
|
527
526
|
"""
|
|
@@ -533,10 +532,10 @@ class _InfluxDbState:
|
|
|
533
532
|
def components(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['InfluxDbComponentArgs']]]]):
|
|
534
533
|
pulumi.set(self, "components", value)
|
|
535
534
|
|
|
536
|
-
@property
|
|
535
|
+
@_builtins.property
|
|
537
536
|
@pulumi.getter(name="diskSpace")
|
|
538
537
|
@_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.""")
|
|
539
|
-
def disk_space(self) -> Optional[pulumi.Input[
|
|
538
|
+
def disk_space(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
540
539
|
"""
|
|
541
540
|
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing
|
|
542
541
|
will result in the service rebalancing.
|
|
@@ -544,24 +543,24 @@ class _InfluxDbState:
|
|
|
544
543
|
return pulumi.get(self, "disk_space")
|
|
545
544
|
|
|
546
545
|
@disk_space.setter
|
|
547
|
-
def disk_space(self, value: Optional[pulumi.Input[
|
|
546
|
+
def disk_space(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
548
547
|
pulumi.set(self, "disk_space", value)
|
|
549
548
|
|
|
550
|
-
@property
|
|
549
|
+
@_builtins.property
|
|
551
550
|
@pulumi.getter(name="diskSpaceCap")
|
|
552
|
-
def disk_space_cap(self) -> Optional[pulumi.Input[
|
|
551
|
+
def disk_space_cap(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
553
552
|
"""
|
|
554
553
|
The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
555
554
|
"""
|
|
556
555
|
return pulumi.get(self, "disk_space_cap")
|
|
557
556
|
|
|
558
557
|
@disk_space_cap.setter
|
|
559
|
-
def disk_space_cap(self, value: Optional[pulumi.Input[
|
|
558
|
+
def disk_space_cap(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
560
559
|
pulumi.set(self, "disk_space_cap", value)
|
|
561
560
|
|
|
562
|
-
@property
|
|
561
|
+
@_builtins.property
|
|
563
562
|
@pulumi.getter(name="diskSpaceDefault")
|
|
564
|
-
def disk_space_default(self) -> Optional[pulumi.Input[
|
|
563
|
+
def disk_space_default(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
565
564
|
"""
|
|
566
565
|
The default disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
567
566
|
Its also the minimum value for `disk_space`
|
|
@@ -569,12 +568,12 @@ class _InfluxDbState:
|
|
|
569
568
|
return pulumi.get(self, "disk_space_default")
|
|
570
569
|
|
|
571
570
|
@disk_space_default.setter
|
|
572
|
-
def disk_space_default(self, value: Optional[pulumi.Input[
|
|
571
|
+
def disk_space_default(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
573
572
|
pulumi.set(self, "disk_space_default", value)
|
|
574
573
|
|
|
575
|
-
@property
|
|
574
|
+
@_builtins.property
|
|
576
575
|
@pulumi.getter(name="diskSpaceStep")
|
|
577
|
-
def disk_space_step(self) -> Optional[pulumi.Input[
|
|
576
|
+
def disk_space_step(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
578
577
|
"""
|
|
579
578
|
The default disk space step of the service, possible values depend on the service type, the cloud provider and the
|
|
580
579
|
project. `disk_space` needs to increment from `disk_space_default` by increments of this size.
|
|
@@ -582,23 +581,23 @@ class _InfluxDbState:
|
|
|
582
581
|
return pulumi.get(self, "disk_space_step")
|
|
583
582
|
|
|
584
583
|
@disk_space_step.setter
|
|
585
|
-
def disk_space_step(self, value: Optional[pulumi.Input[
|
|
584
|
+
def disk_space_step(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
586
585
|
pulumi.set(self, "disk_space_step", value)
|
|
587
586
|
|
|
588
|
-
@property
|
|
587
|
+
@_builtins.property
|
|
589
588
|
@pulumi.getter(name="diskSpaceUsed")
|
|
590
589
|
@_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.""")
|
|
591
|
-
def disk_space_used(self) -> Optional[pulumi.Input[
|
|
590
|
+
def disk_space_used(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
592
591
|
"""
|
|
593
592
|
Disk space that service is currently using
|
|
594
593
|
"""
|
|
595
594
|
return pulumi.get(self, "disk_space_used")
|
|
596
595
|
|
|
597
596
|
@disk_space_used.setter
|
|
598
|
-
def disk_space_used(self, value: Optional[pulumi.Input[
|
|
597
|
+
def disk_space_used(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
599
598
|
pulumi.set(self, "disk_space_used", value)
|
|
600
599
|
|
|
601
|
-
@property
|
|
600
|
+
@_builtins.property
|
|
602
601
|
@pulumi.getter(name="influxdbUserConfig")
|
|
603
602
|
def influxdb_user_config(self) -> Optional[pulumi.Input['InfluxDbInfluxdbUserConfigArgs']]:
|
|
604
603
|
"""
|
|
@@ -611,7 +610,7 @@ class _InfluxDbState:
|
|
|
611
610
|
def influxdb_user_config(self, value: Optional[pulumi.Input['InfluxDbInfluxdbUserConfigArgs']]):
|
|
612
611
|
pulumi.set(self, "influxdb_user_config", value)
|
|
613
612
|
|
|
614
|
-
@property
|
|
613
|
+
@_builtins.property
|
|
615
614
|
@pulumi.getter
|
|
616
615
|
def influxdbs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['InfluxDbInfluxdbArgs']]]]:
|
|
617
616
|
"""
|
|
@@ -623,33 +622,33 @@ class _InfluxDbState:
|
|
|
623
622
|
def influxdbs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['InfluxDbInfluxdbArgs']]]]):
|
|
624
623
|
pulumi.set(self, "influxdbs", value)
|
|
625
624
|
|
|
626
|
-
@property
|
|
625
|
+
@_builtins.property
|
|
627
626
|
@pulumi.getter(name="maintenanceWindowDow")
|
|
628
|
-
def maintenance_window_dow(self) -> Optional[pulumi.Input[
|
|
627
|
+
def maintenance_window_dow(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
629
628
|
"""
|
|
630
629
|
Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
631
630
|
"""
|
|
632
631
|
return pulumi.get(self, "maintenance_window_dow")
|
|
633
632
|
|
|
634
633
|
@maintenance_window_dow.setter
|
|
635
|
-
def maintenance_window_dow(self, value: Optional[pulumi.Input[
|
|
634
|
+
def maintenance_window_dow(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
636
635
|
pulumi.set(self, "maintenance_window_dow", value)
|
|
637
636
|
|
|
638
|
-
@property
|
|
637
|
+
@_builtins.property
|
|
639
638
|
@pulumi.getter(name="maintenanceWindowTime")
|
|
640
|
-
def maintenance_window_time(self) -> Optional[pulumi.Input[
|
|
639
|
+
def maintenance_window_time(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
641
640
|
"""
|
|
642
641
|
Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
643
642
|
"""
|
|
644
643
|
return pulumi.get(self, "maintenance_window_time")
|
|
645
644
|
|
|
646
645
|
@maintenance_window_time.setter
|
|
647
|
-
def maintenance_window_time(self, value: Optional[pulumi.Input[
|
|
646
|
+
def maintenance_window_time(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
648
647
|
pulumi.set(self, "maintenance_window_time", value)
|
|
649
648
|
|
|
650
|
-
@property
|
|
649
|
+
@_builtins.property
|
|
651
650
|
@pulumi.getter
|
|
652
|
-
def plan(self) -> Optional[pulumi.Input[
|
|
651
|
+
def plan(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
653
652
|
"""
|
|
654
653
|
Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there
|
|
655
654
|
are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to
|
|
@@ -661,12 +660,12 @@ class _InfluxDbState:
|
|
|
661
660
|
return pulumi.get(self, "plan")
|
|
662
661
|
|
|
663
662
|
@plan.setter
|
|
664
|
-
def plan(self, value: Optional[pulumi.Input[
|
|
663
|
+
def plan(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
665
664
|
pulumi.set(self, "plan", value)
|
|
666
665
|
|
|
667
|
-
@property
|
|
666
|
+
@_builtins.property
|
|
668
667
|
@pulumi.getter
|
|
669
|
-
def project(self) -> Optional[pulumi.Input[
|
|
668
|
+
def project(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
670
669
|
"""
|
|
671
670
|
The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a
|
|
672
671
|
reference. Changing this property forces recreation of the resource.
|
|
@@ -674,12 +673,12 @@ class _InfluxDbState:
|
|
|
674
673
|
return pulumi.get(self, "project")
|
|
675
674
|
|
|
676
675
|
@project.setter
|
|
677
|
-
def project(self, value: Optional[pulumi.Input[
|
|
676
|
+
def project(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
678
677
|
pulumi.set(self, "project", value)
|
|
679
678
|
|
|
680
|
-
@property
|
|
679
|
+
@_builtins.property
|
|
681
680
|
@pulumi.getter(name="projectVpcId")
|
|
682
|
-
def project_vpc_id(self) -> Optional[pulumi.Input[
|
|
681
|
+
def project_vpc_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
683
682
|
"""
|
|
684
683
|
Specifies the VPC the service should run in. If the value is not set, the service runs on the Public Internet. When set,
|
|
685
684
|
the value should be given as a reference to set up dependencies correctly, and the VPC must be in the same cloud and
|
|
@@ -690,22 +689,22 @@ class _InfluxDbState:
|
|
|
690
689
|
return pulumi.get(self, "project_vpc_id")
|
|
691
690
|
|
|
692
691
|
@project_vpc_id.setter
|
|
693
|
-
def project_vpc_id(self, value: Optional[pulumi.Input[
|
|
692
|
+
def project_vpc_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
694
693
|
pulumi.set(self, "project_vpc_id", value)
|
|
695
694
|
|
|
696
|
-
@property
|
|
695
|
+
@_builtins.property
|
|
697
696
|
@pulumi.getter(name="serviceHost")
|
|
698
|
-
def service_host(self) -> Optional[pulumi.Input[
|
|
697
|
+
def service_host(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
699
698
|
"""
|
|
700
699
|
The hostname of the service.
|
|
701
700
|
"""
|
|
702
701
|
return pulumi.get(self, "service_host")
|
|
703
702
|
|
|
704
703
|
@service_host.setter
|
|
705
|
-
def service_host(self, value: Optional[pulumi.Input[
|
|
704
|
+
def service_host(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
706
705
|
pulumi.set(self, "service_host", value)
|
|
707
706
|
|
|
708
|
-
@property
|
|
707
|
+
@_builtins.property
|
|
709
708
|
@pulumi.getter(name="serviceIntegrations")
|
|
710
709
|
def service_integrations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['InfluxDbServiceIntegrationArgs']]]]:
|
|
711
710
|
"""
|
|
@@ -717,9 +716,9 @@ class _InfluxDbState:
|
|
|
717
716
|
def service_integrations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['InfluxDbServiceIntegrationArgs']]]]):
|
|
718
717
|
pulumi.set(self, "service_integrations", value)
|
|
719
718
|
|
|
720
|
-
@property
|
|
719
|
+
@_builtins.property
|
|
721
720
|
@pulumi.getter(name="serviceName")
|
|
722
|
-
def service_name(self) -> Optional[pulumi.Input[
|
|
721
|
+
def service_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
723
722
|
"""
|
|
724
723
|
Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the
|
|
725
724
|
service so name should be picked based on intended service usage rather than current attributes.
|
|
@@ -727,81 +726,81 @@ class _InfluxDbState:
|
|
|
727
726
|
return pulumi.get(self, "service_name")
|
|
728
727
|
|
|
729
728
|
@service_name.setter
|
|
730
|
-
def service_name(self, value: Optional[pulumi.Input[
|
|
729
|
+
def service_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
731
730
|
pulumi.set(self, "service_name", value)
|
|
732
731
|
|
|
733
|
-
@property
|
|
732
|
+
@_builtins.property
|
|
734
733
|
@pulumi.getter(name="servicePassword")
|
|
735
|
-
def service_password(self) -> Optional[pulumi.Input[
|
|
734
|
+
def service_password(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
736
735
|
"""
|
|
737
736
|
Password used for connecting to the service, if applicable
|
|
738
737
|
"""
|
|
739
738
|
return pulumi.get(self, "service_password")
|
|
740
739
|
|
|
741
740
|
@service_password.setter
|
|
742
|
-
def service_password(self, value: Optional[pulumi.Input[
|
|
741
|
+
def service_password(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
743
742
|
pulumi.set(self, "service_password", value)
|
|
744
743
|
|
|
745
|
-
@property
|
|
744
|
+
@_builtins.property
|
|
746
745
|
@pulumi.getter(name="servicePort")
|
|
747
|
-
def service_port(self) -> Optional[pulumi.Input[
|
|
746
|
+
def service_port(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
748
747
|
"""
|
|
749
748
|
The port of the service
|
|
750
749
|
"""
|
|
751
750
|
return pulumi.get(self, "service_port")
|
|
752
751
|
|
|
753
752
|
@service_port.setter
|
|
754
|
-
def service_port(self, value: Optional[pulumi.Input[
|
|
753
|
+
def service_port(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
755
754
|
pulumi.set(self, "service_port", value)
|
|
756
755
|
|
|
757
|
-
@property
|
|
756
|
+
@_builtins.property
|
|
758
757
|
@pulumi.getter(name="serviceType")
|
|
759
|
-
def service_type(self) -> Optional[pulumi.Input[
|
|
758
|
+
def service_type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
760
759
|
"""
|
|
761
760
|
Aiven internal service type code
|
|
762
761
|
"""
|
|
763
762
|
return pulumi.get(self, "service_type")
|
|
764
763
|
|
|
765
764
|
@service_type.setter
|
|
766
|
-
def service_type(self, value: Optional[pulumi.Input[
|
|
765
|
+
def service_type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
767
766
|
pulumi.set(self, "service_type", value)
|
|
768
767
|
|
|
769
|
-
@property
|
|
768
|
+
@_builtins.property
|
|
770
769
|
@pulumi.getter(name="serviceUri")
|
|
771
|
-
def service_uri(self) -> Optional[pulumi.Input[
|
|
770
|
+
def service_uri(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
772
771
|
"""
|
|
773
772
|
URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
774
773
|
"""
|
|
775
774
|
return pulumi.get(self, "service_uri")
|
|
776
775
|
|
|
777
776
|
@service_uri.setter
|
|
778
|
-
def service_uri(self, value: Optional[pulumi.Input[
|
|
777
|
+
def service_uri(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
779
778
|
pulumi.set(self, "service_uri", value)
|
|
780
779
|
|
|
781
|
-
@property
|
|
780
|
+
@_builtins.property
|
|
782
781
|
@pulumi.getter(name="serviceUsername")
|
|
783
|
-
def service_username(self) -> Optional[pulumi.Input[
|
|
782
|
+
def service_username(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
784
783
|
"""
|
|
785
784
|
Username used for connecting to the service, if applicable
|
|
786
785
|
"""
|
|
787
786
|
return pulumi.get(self, "service_username")
|
|
788
787
|
|
|
789
788
|
@service_username.setter
|
|
790
|
-
def service_username(self, value: Optional[pulumi.Input[
|
|
789
|
+
def service_username(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
791
790
|
pulumi.set(self, "service_username", value)
|
|
792
791
|
|
|
793
|
-
@property
|
|
792
|
+
@_builtins.property
|
|
794
793
|
@pulumi.getter
|
|
795
|
-
def state(self) -> Optional[pulumi.Input[
|
|
794
|
+
def state(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
796
795
|
return pulumi.get(self, "state")
|
|
797
796
|
|
|
798
797
|
@state.setter
|
|
799
|
-
def state(self, value: Optional[pulumi.Input[
|
|
798
|
+
def state(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
800
799
|
pulumi.set(self, "state", value)
|
|
801
800
|
|
|
802
|
-
@property
|
|
801
|
+
@_builtins.property
|
|
803
802
|
@pulumi.getter(name="staticIps")
|
|
804
|
-
def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
803
|
+
def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
805
804
|
"""
|
|
806
805
|
Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a
|
|
807
806
|
static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
@@ -809,10 +808,10 @@ class _InfluxDbState:
|
|
|
809
808
|
return pulumi.get(self, "static_ips")
|
|
810
809
|
|
|
811
810
|
@static_ips.setter
|
|
812
|
-
def static_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
811
|
+
def static_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
813
812
|
pulumi.set(self, "static_ips", value)
|
|
814
813
|
|
|
815
|
-
@property
|
|
814
|
+
@_builtins.property
|
|
816
815
|
@pulumi.getter
|
|
817
816
|
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['InfluxDbTagArgs']]]]:
|
|
818
817
|
"""
|
|
@@ -824,7 +823,7 @@ class _InfluxDbState:
|
|
|
824
823
|
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['InfluxDbTagArgs']]]]):
|
|
825
824
|
pulumi.set(self, "tags", value)
|
|
826
825
|
|
|
827
|
-
@property
|
|
826
|
+
@_builtins.property
|
|
828
827
|
@pulumi.getter(name="techEmails")
|
|
829
828
|
def tech_emails(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['InfluxDbTechEmailArgs']]]]:
|
|
830
829
|
"""
|
|
@@ -837,9 +836,9 @@ class _InfluxDbState:
|
|
|
837
836
|
def tech_emails(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['InfluxDbTechEmailArgs']]]]):
|
|
838
837
|
pulumi.set(self, "tech_emails", value)
|
|
839
838
|
|
|
840
|
-
@property
|
|
839
|
+
@_builtins.property
|
|
841
840
|
@pulumi.getter(name="terminationProtection")
|
|
842
|
-
def termination_protection(self) -> Optional[pulumi.Input[
|
|
841
|
+
def termination_protection(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
843
842
|
"""
|
|
844
843
|
Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent
|
|
845
844
|
unintentional service deletion. This does not shield against deleting databases or topics but for services with backups
|
|
@@ -848,7 +847,7 @@ class _InfluxDbState:
|
|
|
848
847
|
return pulumi.get(self, "termination_protection")
|
|
849
848
|
|
|
850
849
|
@termination_protection.setter
|
|
851
|
-
def termination_protection(self, value: Optional[pulumi.Input[
|
|
850
|
+
def termination_protection(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
852
851
|
pulumi.set(self, "termination_protection", value)
|
|
853
852
|
|
|
854
853
|
|
|
@@ -858,67 +857,67 @@ class InfluxDb(pulumi.CustomResource):
|
|
|
858
857
|
def __init__(__self__,
|
|
859
858
|
resource_name: str,
|
|
860
859
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
861
|
-
additional_disk_space: Optional[pulumi.Input[
|
|
862
|
-
cloud_name: Optional[pulumi.Input[
|
|
863
|
-
disk_space: Optional[pulumi.Input[
|
|
860
|
+
additional_disk_space: Optional[pulumi.Input[_builtins.str]] = None,
|
|
861
|
+
cloud_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
862
|
+
disk_space: Optional[pulumi.Input[_builtins.str]] = None,
|
|
864
863
|
influxdb_user_config: Optional[pulumi.Input[Union['InfluxDbInfluxdbUserConfigArgs', 'InfluxDbInfluxdbUserConfigArgsDict']]] = None,
|
|
865
864
|
influxdbs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InfluxDbInfluxdbArgs', 'InfluxDbInfluxdbArgsDict']]]]] = None,
|
|
866
|
-
maintenance_window_dow: Optional[pulumi.Input[
|
|
867
|
-
maintenance_window_time: Optional[pulumi.Input[
|
|
868
|
-
plan: Optional[pulumi.Input[
|
|
869
|
-
project: Optional[pulumi.Input[
|
|
870
|
-
project_vpc_id: Optional[pulumi.Input[
|
|
865
|
+
maintenance_window_dow: Optional[pulumi.Input[_builtins.str]] = None,
|
|
866
|
+
maintenance_window_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
867
|
+
plan: Optional[pulumi.Input[_builtins.str]] = None,
|
|
868
|
+
project: Optional[pulumi.Input[_builtins.str]] = None,
|
|
869
|
+
project_vpc_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
871
870
|
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InfluxDbServiceIntegrationArgs', 'InfluxDbServiceIntegrationArgsDict']]]]] = None,
|
|
872
|
-
service_name: Optional[pulumi.Input[
|
|
873
|
-
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
871
|
+
service_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
872
|
+
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
874
873
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InfluxDbTagArgs', 'InfluxDbTagArgsDict']]]]] = None,
|
|
875
874
|
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InfluxDbTechEmailArgs', 'InfluxDbTechEmailArgsDict']]]]] = None,
|
|
876
|
-
termination_protection: Optional[pulumi.Input[
|
|
875
|
+
termination_protection: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
877
876
|
__props__=None):
|
|
878
877
|
"""
|
|
879
878
|
Create a InfluxDb resource with the given unique name, props, and options.
|
|
880
879
|
:param str resource_name: The name of the resource.
|
|
881
880
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
882
|
-
:param pulumi.Input[
|
|
881
|
+
:param pulumi.Input[_builtins.str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your
|
|
883
882
|
service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the
|
|
884
883
|
service nodes to go through a rolling restart, and there might be a short downtime for services without an autoscaler
|
|
885
884
|
integration or high availability capabilities. The field can be safely removed when autoscaler is enabled without
|
|
886
885
|
causing any changes.
|
|
887
|
-
:param pulumi.Input[
|
|
886
|
+
:param pulumi.Input[_builtins.str] cloud_name: The cloud provider and region the service is hosted in. The format is `provider-region`, for example:
|
|
888
887
|
`google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ
|
|
889
888
|
per project and service. Changing this value [migrates the service to another cloud provider or
|
|
890
889
|
region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and
|
|
891
890
|
includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases
|
|
892
891
|
may have a brief interruption during DNS propagation.
|
|
893
|
-
:param pulumi.Input[
|
|
892
|
+
:param pulumi.Input[_builtins.str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing
|
|
894
893
|
will result in the service rebalancing.
|
|
895
894
|
: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.
|
|
896
895
|
Options that you add cannot be removed later
|
|
897
896
|
:param pulumi.Input[Sequence[pulumi.Input[Union['InfluxDbInfluxdbArgs', 'InfluxDbInfluxdbArgsDict']]]] influxdbs: InfluxDB server provided values
|
|
898
|
-
:param pulumi.Input[
|
|
899
|
-
:param pulumi.Input[
|
|
900
|
-
:param pulumi.Input[
|
|
897
|
+
:param pulumi.Input[_builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
898
|
+
:param pulumi.Input[_builtins.str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
899
|
+
:param pulumi.Input[_builtins.str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there
|
|
901
900
|
are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to
|
|
902
901
|
store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
|
|
903
902
|
`hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also
|
|
904
903
|
other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available
|
|
905
904
|
options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
906
|
-
:param pulumi.Input[
|
|
905
|
+
:param pulumi.Input[_builtins.str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a
|
|
907
906
|
reference. Changing this property forces recreation of the resource.
|
|
908
|
-
:param pulumi.Input[
|
|
907
|
+
:param pulumi.Input[_builtins.str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set, the service runs on the Public Internet. When set,
|
|
909
908
|
the value should be given as a reference to set up dependencies correctly, and the VPC must be in the same cloud and
|
|
910
909
|
region as the service itself. The service can be freely moved to and from VPC after creation, but doing so triggers
|
|
911
910
|
migration to new servers, so the operation can take a significant amount of time to complete if the service has a lot of
|
|
912
911
|
data.
|
|
913
912
|
: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
|
|
914
|
-
:param pulumi.Input[
|
|
913
|
+
:param pulumi.Input[_builtins.str] service_name: Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the
|
|
915
914
|
service so name should be picked based on intended service usage rather than current attributes.
|
|
916
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
915
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] static_ips: Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a
|
|
917
916
|
static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
918
917
|
:param pulumi.Input[Sequence[pulumi.Input[Union['InfluxDbTagArgs', 'InfluxDbTagArgsDict']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
919
918
|
: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
|
|
920
919
|
important alerts and updates about this service. You can also set email contacts at the project level.
|
|
921
|
-
:param pulumi.Input[
|
|
920
|
+
:param pulumi.Input[_builtins.bool] termination_protection: Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent
|
|
922
921
|
unintentional service deletion. This does not shield against deleting databases or topics but for services with backups
|
|
923
922
|
much of the content can at least be restored from backup in case accidental deletion is done.
|
|
924
923
|
"""
|
|
@@ -945,22 +944,22 @@ class InfluxDb(pulumi.CustomResource):
|
|
|
945
944
|
def _internal_init(__self__,
|
|
946
945
|
resource_name: str,
|
|
947
946
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
948
|
-
additional_disk_space: Optional[pulumi.Input[
|
|
949
|
-
cloud_name: Optional[pulumi.Input[
|
|
950
|
-
disk_space: Optional[pulumi.Input[
|
|
947
|
+
additional_disk_space: Optional[pulumi.Input[_builtins.str]] = None,
|
|
948
|
+
cloud_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
949
|
+
disk_space: Optional[pulumi.Input[_builtins.str]] = None,
|
|
951
950
|
influxdb_user_config: Optional[pulumi.Input[Union['InfluxDbInfluxdbUserConfigArgs', 'InfluxDbInfluxdbUserConfigArgsDict']]] = None,
|
|
952
951
|
influxdbs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InfluxDbInfluxdbArgs', 'InfluxDbInfluxdbArgsDict']]]]] = None,
|
|
953
|
-
maintenance_window_dow: Optional[pulumi.Input[
|
|
954
|
-
maintenance_window_time: Optional[pulumi.Input[
|
|
955
|
-
plan: Optional[pulumi.Input[
|
|
956
|
-
project: Optional[pulumi.Input[
|
|
957
|
-
project_vpc_id: Optional[pulumi.Input[
|
|
952
|
+
maintenance_window_dow: Optional[pulumi.Input[_builtins.str]] = None,
|
|
953
|
+
maintenance_window_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
954
|
+
plan: Optional[pulumi.Input[_builtins.str]] = None,
|
|
955
|
+
project: Optional[pulumi.Input[_builtins.str]] = None,
|
|
956
|
+
project_vpc_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
958
957
|
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InfluxDbServiceIntegrationArgs', 'InfluxDbServiceIntegrationArgsDict']]]]] = None,
|
|
959
|
-
service_name: Optional[pulumi.Input[
|
|
960
|
-
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
958
|
+
service_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
959
|
+
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
961
960
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InfluxDbTagArgs', 'InfluxDbTagArgsDict']]]]] = None,
|
|
962
961
|
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InfluxDbTechEmailArgs', 'InfluxDbTechEmailArgsDict']]]]] = None,
|
|
963
|
-
termination_protection: Optional[pulumi.Input[
|
|
962
|
+
termination_protection: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
964
963
|
__props__=None):
|
|
965
964
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
966
965
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -1016,34 +1015,34 @@ class InfluxDb(pulumi.CustomResource):
|
|
|
1016
1015
|
def get(resource_name: str,
|
|
1017
1016
|
id: pulumi.Input[str],
|
|
1018
1017
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
1019
|
-
additional_disk_space: Optional[pulumi.Input[
|
|
1020
|
-
cloud_name: Optional[pulumi.Input[
|
|
1018
|
+
additional_disk_space: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1019
|
+
cloud_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1021
1020
|
components: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InfluxDbComponentArgs', 'InfluxDbComponentArgsDict']]]]] = None,
|
|
1022
|
-
disk_space: Optional[pulumi.Input[
|
|
1023
|
-
disk_space_cap: Optional[pulumi.Input[
|
|
1024
|
-
disk_space_default: Optional[pulumi.Input[
|
|
1025
|
-
disk_space_step: Optional[pulumi.Input[
|
|
1026
|
-
disk_space_used: Optional[pulumi.Input[
|
|
1021
|
+
disk_space: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1022
|
+
disk_space_cap: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1023
|
+
disk_space_default: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1024
|
+
disk_space_step: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1025
|
+
disk_space_used: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1027
1026
|
influxdb_user_config: Optional[pulumi.Input[Union['InfluxDbInfluxdbUserConfigArgs', 'InfluxDbInfluxdbUserConfigArgsDict']]] = None,
|
|
1028
1027
|
influxdbs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InfluxDbInfluxdbArgs', 'InfluxDbInfluxdbArgsDict']]]]] = None,
|
|
1029
|
-
maintenance_window_dow: Optional[pulumi.Input[
|
|
1030
|
-
maintenance_window_time: Optional[pulumi.Input[
|
|
1031
|
-
plan: Optional[pulumi.Input[
|
|
1032
|
-
project: Optional[pulumi.Input[
|
|
1033
|
-
project_vpc_id: Optional[pulumi.Input[
|
|
1034
|
-
service_host: Optional[pulumi.Input[
|
|
1028
|
+
maintenance_window_dow: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1029
|
+
maintenance_window_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1030
|
+
plan: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1031
|
+
project: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1032
|
+
project_vpc_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1033
|
+
service_host: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1035
1034
|
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InfluxDbServiceIntegrationArgs', 'InfluxDbServiceIntegrationArgsDict']]]]] = None,
|
|
1036
|
-
service_name: Optional[pulumi.Input[
|
|
1037
|
-
service_password: Optional[pulumi.Input[
|
|
1038
|
-
service_port: Optional[pulumi.Input[
|
|
1039
|
-
service_type: Optional[pulumi.Input[
|
|
1040
|
-
service_uri: Optional[pulumi.Input[
|
|
1041
|
-
service_username: Optional[pulumi.Input[
|
|
1042
|
-
state: Optional[pulumi.Input[
|
|
1043
|
-
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
1035
|
+
service_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1036
|
+
service_password: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1037
|
+
service_port: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1038
|
+
service_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1039
|
+
service_uri: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1040
|
+
service_username: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1041
|
+
state: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1042
|
+
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
1044
1043
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InfluxDbTagArgs', 'InfluxDbTagArgsDict']]]]] = None,
|
|
1045
1044
|
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InfluxDbTechEmailArgs', 'InfluxDbTechEmailArgsDict']]]]] = None,
|
|
1046
|
-
termination_protection: Optional[pulumi.Input[
|
|
1045
|
+
termination_protection: Optional[pulumi.Input[_builtins.bool]] = None) -> 'InfluxDb':
|
|
1047
1046
|
"""
|
|
1048
1047
|
Get an existing InfluxDb resource's state with the given name, id, and optional extra
|
|
1049
1048
|
properties used to qualify the lookup.
|
|
@@ -1051,59 +1050,59 @@ class InfluxDb(pulumi.CustomResource):
|
|
|
1051
1050
|
:param str resource_name: The unique name of the resulting resource.
|
|
1052
1051
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
1053
1052
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
1054
|
-
:param pulumi.Input[
|
|
1053
|
+
:param pulumi.Input[_builtins.str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your
|
|
1055
1054
|
service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the
|
|
1056
1055
|
service nodes to go through a rolling restart, and there might be a short downtime for services without an autoscaler
|
|
1057
1056
|
integration or high availability capabilities. The field can be safely removed when autoscaler is enabled without
|
|
1058
1057
|
causing any changes.
|
|
1059
|
-
:param pulumi.Input[
|
|
1058
|
+
:param pulumi.Input[_builtins.str] cloud_name: The cloud provider and region the service is hosted in. The format is `provider-region`, for example:
|
|
1060
1059
|
`google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ
|
|
1061
1060
|
per project and service. Changing this value [migrates the service to another cloud provider or
|
|
1062
1061
|
region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and
|
|
1063
1062
|
includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases
|
|
1064
1063
|
may have a brief interruption during DNS propagation.
|
|
1065
1064
|
:param pulumi.Input[Sequence[pulumi.Input[Union['InfluxDbComponentArgs', 'InfluxDbComponentArgsDict']]]] components: Service component information objects
|
|
1066
|
-
:param pulumi.Input[
|
|
1065
|
+
:param pulumi.Input[_builtins.str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing
|
|
1067
1066
|
will result in the service rebalancing.
|
|
1068
|
-
:param pulumi.Input[
|
|
1069
|
-
:param pulumi.Input[
|
|
1067
|
+
:param pulumi.Input[_builtins.str] disk_space_cap: The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
1068
|
+
:param pulumi.Input[_builtins.str] disk_space_default: The default disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
1070
1069
|
Its also the minimum value for `disk_space`
|
|
1071
|
-
:param pulumi.Input[
|
|
1070
|
+
:param pulumi.Input[_builtins.str] disk_space_step: The default disk space step of the service, possible values depend on the service type, the cloud provider and the
|
|
1072
1071
|
project. `disk_space` needs to increment from `disk_space_default` by increments of this size.
|
|
1073
|
-
:param pulumi.Input[
|
|
1072
|
+
:param pulumi.Input[_builtins.str] disk_space_used: Disk space that service is currently using
|
|
1074
1073
|
: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.
|
|
1075
1074
|
Options that you add cannot be removed later
|
|
1076
1075
|
:param pulumi.Input[Sequence[pulumi.Input[Union['InfluxDbInfluxdbArgs', 'InfluxDbInfluxdbArgsDict']]]] influxdbs: InfluxDB server provided values
|
|
1077
|
-
:param pulumi.Input[
|
|
1078
|
-
:param pulumi.Input[
|
|
1079
|
-
:param pulumi.Input[
|
|
1076
|
+
:param pulumi.Input[_builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
1077
|
+
:param pulumi.Input[_builtins.str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
1078
|
+
:param pulumi.Input[_builtins.str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there
|
|
1080
1079
|
are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to
|
|
1081
1080
|
store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
|
|
1082
1081
|
`hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also
|
|
1083
1082
|
other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available
|
|
1084
1083
|
options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
1085
|
-
:param pulumi.Input[
|
|
1084
|
+
:param pulumi.Input[_builtins.str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a
|
|
1086
1085
|
reference. Changing this property forces recreation of the resource.
|
|
1087
|
-
:param pulumi.Input[
|
|
1086
|
+
:param pulumi.Input[_builtins.str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set, the service runs on the Public Internet. When set,
|
|
1088
1087
|
the value should be given as a reference to set up dependencies correctly, and the VPC must be in the same cloud and
|
|
1089
1088
|
region as the service itself. The service can be freely moved to and from VPC after creation, but doing so triggers
|
|
1090
1089
|
migration to new servers, so the operation can take a significant amount of time to complete if the service has a lot of
|
|
1091
1090
|
data.
|
|
1092
|
-
:param pulumi.Input[
|
|
1091
|
+
:param pulumi.Input[_builtins.str] service_host: The hostname of the service.
|
|
1093
1092
|
: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
|
|
1094
|
-
:param pulumi.Input[
|
|
1093
|
+
:param pulumi.Input[_builtins.str] service_name: Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the
|
|
1095
1094
|
service so name should be picked based on intended service usage rather than current attributes.
|
|
1096
|
-
:param pulumi.Input[
|
|
1097
|
-
:param pulumi.Input[
|
|
1098
|
-
:param pulumi.Input[
|
|
1099
|
-
:param pulumi.Input[
|
|
1100
|
-
:param pulumi.Input[
|
|
1101
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
1095
|
+
:param pulumi.Input[_builtins.str] service_password: Password used for connecting to the service, if applicable
|
|
1096
|
+
:param pulumi.Input[_builtins.int] service_port: The port of the service
|
|
1097
|
+
:param pulumi.Input[_builtins.str] service_type: Aiven internal service type code
|
|
1098
|
+
:param pulumi.Input[_builtins.str] service_uri: URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
1099
|
+
:param pulumi.Input[_builtins.str] service_username: Username used for connecting to the service, if applicable
|
|
1100
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] static_ips: Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a
|
|
1102
1101
|
static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
1103
1102
|
:param pulumi.Input[Sequence[pulumi.Input[Union['InfluxDbTagArgs', 'InfluxDbTagArgsDict']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
1104
1103
|
: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
|
|
1105
1104
|
important alerts and updates about this service. You can also set email contacts at the project level.
|
|
1106
|
-
:param pulumi.Input[
|
|
1105
|
+
:param pulumi.Input[_builtins.bool] termination_protection: Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent
|
|
1107
1106
|
unintentional service deletion. This does not shield against deleting databases or topics but for services with backups
|
|
1108
1107
|
much of the content can at least be restored from backup in case accidental deletion is done.
|
|
1109
1108
|
"""
|
|
@@ -1141,9 +1140,9 @@ class InfluxDb(pulumi.CustomResource):
|
|
|
1141
1140
|
__props__.__dict__["termination_protection"] = termination_protection
|
|
1142
1141
|
return InfluxDb(resource_name, opts=opts, __props__=__props__)
|
|
1143
1142
|
|
|
1144
|
-
@property
|
|
1143
|
+
@_builtins.property
|
|
1145
1144
|
@pulumi.getter(name="additionalDiskSpace")
|
|
1146
|
-
def additional_disk_space(self) -> pulumi.Output[
|
|
1145
|
+
def additional_disk_space(self) -> pulumi.Output[_builtins.str]:
|
|
1147
1146
|
"""
|
|
1148
1147
|
Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your
|
|
1149
1148
|
service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the
|
|
@@ -1153,9 +1152,9 @@ class InfluxDb(pulumi.CustomResource):
|
|
|
1153
1152
|
"""
|
|
1154
1153
|
return pulumi.get(self, "additional_disk_space")
|
|
1155
1154
|
|
|
1156
|
-
@property
|
|
1155
|
+
@_builtins.property
|
|
1157
1156
|
@pulumi.getter(name="cloudName")
|
|
1158
|
-
def cloud_name(self) -> pulumi.Output[Optional[
|
|
1157
|
+
def cloud_name(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
1159
1158
|
"""
|
|
1160
1159
|
The cloud provider and region the service is hosted in. The format is `provider-region`, for example:
|
|
1161
1160
|
`google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ
|
|
@@ -1166,7 +1165,7 @@ class InfluxDb(pulumi.CustomResource):
|
|
|
1166
1165
|
"""
|
|
1167
1166
|
return pulumi.get(self, "cloud_name")
|
|
1168
1167
|
|
|
1169
|
-
@property
|
|
1168
|
+
@_builtins.property
|
|
1170
1169
|
@pulumi.getter
|
|
1171
1170
|
def components(self) -> pulumi.Output[Sequence['outputs.InfluxDbComponent']]:
|
|
1172
1171
|
"""
|
|
@@ -1174,52 +1173,52 @@ class InfluxDb(pulumi.CustomResource):
|
|
|
1174
1173
|
"""
|
|
1175
1174
|
return pulumi.get(self, "components")
|
|
1176
1175
|
|
|
1177
|
-
@property
|
|
1176
|
+
@_builtins.property
|
|
1178
1177
|
@pulumi.getter(name="diskSpace")
|
|
1179
1178
|
@_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.""")
|
|
1180
|
-
def disk_space(self) -> pulumi.Output[Optional[
|
|
1179
|
+
def disk_space(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
1181
1180
|
"""
|
|
1182
1181
|
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing
|
|
1183
1182
|
will result in the service rebalancing.
|
|
1184
1183
|
"""
|
|
1185
1184
|
return pulumi.get(self, "disk_space")
|
|
1186
1185
|
|
|
1187
|
-
@property
|
|
1186
|
+
@_builtins.property
|
|
1188
1187
|
@pulumi.getter(name="diskSpaceCap")
|
|
1189
|
-
def disk_space_cap(self) -> pulumi.Output[
|
|
1188
|
+
def disk_space_cap(self) -> pulumi.Output[_builtins.str]:
|
|
1190
1189
|
"""
|
|
1191
1190
|
The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
1192
1191
|
"""
|
|
1193
1192
|
return pulumi.get(self, "disk_space_cap")
|
|
1194
1193
|
|
|
1195
|
-
@property
|
|
1194
|
+
@_builtins.property
|
|
1196
1195
|
@pulumi.getter(name="diskSpaceDefault")
|
|
1197
|
-
def disk_space_default(self) -> pulumi.Output[
|
|
1196
|
+
def disk_space_default(self) -> pulumi.Output[_builtins.str]:
|
|
1198
1197
|
"""
|
|
1199
1198
|
The default disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
1200
1199
|
Its also the minimum value for `disk_space`
|
|
1201
1200
|
"""
|
|
1202
1201
|
return pulumi.get(self, "disk_space_default")
|
|
1203
1202
|
|
|
1204
|
-
@property
|
|
1203
|
+
@_builtins.property
|
|
1205
1204
|
@pulumi.getter(name="diskSpaceStep")
|
|
1206
|
-
def disk_space_step(self) -> pulumi.Output[
|
|
1205
|
+
def disk_space_step(self) -> pulumi.Output[_builtins.str]:
|
|
1207
1206
|
"""
|
|
1208
1207
|
The default disk space step of the service, possible values depend on the service type, the cloud provider and the
|
|
1209
1208
|
project. `disk_space` needs to increment from `disk_space_default` by increments of this size.
|
|
1210
1209
|
"""
|
|
1211
1210
|
return pulumi.get(self, "disk_space_step")
|
|
1212
1211
|
|
|
1213
|
-
@property
|
|
1212
|
+
@_builtins.property
|
|
1214
1213
|
@pulumi.getter(name="diskSpaceUsed")
|
|
1215
1214
|
@_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.""")
|
|
1216
|
-
def disk_space_used(self) -> pulumi.Output[
|
|
1215
|
+
def disk_space_used(self) -> pulumi.Output[_builtins.str]:
|
|
1217
1216
|
"""
|
|
1218
1217
|
Disk space that service is currently using
|
|
1219
1218
|
"""
|
|
1220
1219
|
return pulumi.get(self, "disk_space_used")
|
|
1221
1220
|
|
|
1222
|
-
@property
|
|
1221
|
+
@_builtins.property
|
|
1223
1222
|
@pulumi.getter(name="influxdbUserConfig")
|
|
1224
1223
|
def influxdb_user_config(self) -> pulumi.Output[Optional['outputs.InfluxDbInfluxdbUserConfig']]:
|
|
1225
1224
|
"""
|
|
@@ -1228,7 +1227,7 @@ class InfluxDb(pulumi.CustomResource):
|
|
|
1228
1227
|
"""
|
|
1229
1228
|
return pulumi.get(self, "influxdb_user_config")
|
|
1230
1229
|
|
|
1231
|
-
@property
|
|
1230
|
+
@_builtins.property
|
|
1232
1231
|
@pulumi.getter
|
|
1233
1232
|
def influxdbs(self) -> pulumi.Output[Sequence['outputs.InfluxDbInfluxdb']]:
|
|
1234
1233
|
"""
|
|
@@ -1236,25 +1235,25 @@ class InfluxDb(pulumi.CustomResource):
|
|
|
1236
1235
|
"""
|
|
1237
1236
|
return pulumi.get(self, "influxdbs")
|
|
1238
1237
|
|
|
1239
|
-
@property
|
|
1238
|
+
@_builtins.property
|
|
1240
1239
|
@pulumi.getter(name="maintenanceWindowDow")
|
|
1241
|
-
def maintenance_window_dow(self) -> pulumi.Output[Optional[
|
|
1240
|
+
def maintenance_window_dow(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
1242
1241
|
"""
|
|
1243
1242
|
Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
1244
1243
|
"""
|
|
1245
1244
|
return pulumi.get(self, "maintenance_window_dow")
|
|
1246
1245
|
|
|
1247
|
-
@property
|
|
1246
|
+
@_builtins.property
|
|
1248
1247
|
@pulumi.getter(name="maintenanceWindowTime")
|
|
1249
|
-
def maintenance_window_time(self) -> pulumi.Output[Optional[
|
|
1248
|
+
def maintenance_window_time(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
1250
1249
|
"""
|
|
1251
1250
|
Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
1252
1251
|
"""
|
|
1253
1252
|
return pulumi.get(self, "maintenance_window_time")
|
|
1254
1253
|
|
|
1255
|
-
@property
|
|
1254
|
+
@_builtins.property
|
|
1256
1255
|
@pulumi.getter
|
|
1257
|
-
def plan(self) -> pulumi.Output[
|
|
1256
|
+
def plan(self) -> pulumi.Output[_builtins.str]:
|
|
1258
1257
|
"""
|
|
1259
1258
|
Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there
|
|
1260
1259
|
are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to
|
|
@@ -1265,18 +1264,18 @@ class InfluxDb(pulumi.CustomResource):
|
|
|
1265
1264
|
"""
|
|
1266
1265
|
return pulumi.get(self, "plan")
|
|
1267
1266
|
|
|
1268
|
-
@property
|
|
1267
|
+
@_builtins.property
|
|
1269
1268
|
@pulumi.getter
|
|
1270
|
-
def project(self) -> pulumi.Output[
|
|
1269
|
+
def project(self) -> pulumi.Output[_builtins.str]:
|
|
1271
1270
|
"""
|
|
1272
1271
|
The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a
|
|
1273
1272
|
reference. Changing this property forces recreation of the resource.
|
|
1274
1273
|
"""
|
|
1275
1274
|
return pulumi.get(self, "project")
|
|
1276
1275
|
|
|
1277
|
-
@property
|
|
1276
|
+
@_builtins.property
|
|
1278
1277
|
@pulumi.getter(name="projectVpcId")
|
|
1279
|
-
def project_vpc_id(self) -> pulumi.Output[Optional[
|
|
1278
|
+
def project_vpc_id(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
1280
1279
|
"""
|
|
1281
1280
|
Specifies the VPC the service should run in. If the value is not set, the service runs on the Public Internet. When set,
|
|
1282
1281
|
the value should be given as a reference to set up dependencies correctly, and the VPC must be in the same cloud and
|
|
@@ -1286,15 +1285,15 @@ class InfluxDb(pulumi.CustomResource):
|
|
|
1286
1285
|
"""
|
|
1287
1286
|
return pulumi.get(self, "project_vpc_id")
|
|
1288
1287
|
|
|
1289
|
-
@property
|
|
1288
|
+
@_builtins.property
|
|
1290
1289
|
@pulumi.getter(name="serviceHost")
|
|
1291
|
-
def service_host(self) -> pulumi.Output[
|
|
1290
|
+
def service_host(self) -> pulumi.Output[_builtins.str]:
|
|
1292
1291
|
"""
|
|
1293
1292
|
The hostname of the service.
|
|
1294
1293
|
"""
|
|
1295
1294
|
return pulumi.get(self, "service_host")
|
|
1296
1295
|
|
|
1297
|
-
@property
|
|
1296
|
+
@_builtins.property
|
|
1298
1297
|
@pulumi.getter(name="serviceIntegrations")
|
|
1299
1298
|
def service_integrations(self) -> pulumi.Output[Sequence['outputs.InfluxDbServiceIntegration']]:
|
|
1300
1299
|
"""
|
|
@@ -1302,70 +1301,70 @@ class InfluxDb(pulumi.CustomResource):
|
|
|
1302
1301
|
"""
|
|
1303
1302
|
return pulumi.get(self, "service_integrations")
|
|
1304
1303
|
|
|
1305
|
-
@property
|
|
1304
|
+
@_builtins.property
|
|
1306
1305
|
@pulumi.getter(name="serviceName")
|
|
1307
|
-
def service_name(self) -> pulumi.Output[
|
|
1306
|
+
def service_name(self) -> pulumi.Output[_builtins.str]:
|
|
1308
1307
|
"""
|
|
1309
1308
|
Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the
|
|
1310
1309
|
service so name should be picked based on intended service usage rather than current attributes.
|
|
1311
1310
|
"""
|
|
1312
1311
|
return pulumi.get(self, "service_name")
|
|
1313
1312
|
|
|
1314
|
-
@property
|
|
1313
|
+
@_builtins.property
|
|
1315
1314
|
@pulumi.getter(name="servicePassword")
|
|
1316
|
-
def service_password(self) -> pulumi.Output[
|
|
1315
|
+
def service_password(self) -> pulumi.Output[_builtins.str]:
|
|
1317
1316
|
"""
|
|
1318
1317
|
Password used for connecting to the service, if applicable
|
|
1319
1318
|
"""
|
|
1320
1319
|
return pulumi.get(self, "service_password")
|
|
1321
1320
|
|
|
1322
|
-
@property
|
|
1321
|
+
@_builtins.property
|
|
1323
1322
|
@pulumi.getter(name="servicePort")
|
|
1324
|
-
def service_port(self) -> pulumi.Output[
|
|
1323
|
+
def service_port(self) -> pulumi.Output[_builtins.int]:
|
|
1325
1324
|
"""
|
|
1326
1325
|
The port of the service
|
|
1327
1326
|
"""
|
|
1328
1327
|
return pulumi.get(self, "service_port")
|
|
1329
1328
|
|
|
1330
|
-
@property
|
|
1329
|
+
@_builtins.property
|
|
1331
1330
|
@pulumi.getter(name="serviceType")
|
|
1332
|
-
def service_type(self) -> pulumi.Output[
|
|
1331
|
+
def service_type(self) -> pulumi.Output[_builtins.str]:
|
|
1333
1332
|
"""
|
|
1334
1333
|
Aiven internal service type code
|
|
1335
1334
|
"""
|
|
1336
1335
|
return pulumi.get(self, "service_type")
|
|
1337
1336
|
|
|
1338
|
-
@property
|
|
1337
|
+
@_builtins.property
|
|
1339
1338
|
@pulumi.getter(name="serviceUri")
|
|
1340
|
-
def service_uri(self) -> pulumi.Output[
|
|
1339
|
+
def service_uri(self) -> pulumi.Output[_builtins.str]:
|
|
1341
1340
|
"""
|
|
1342
1341
|
URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
1343
1342
|
"""
|
|
1344
1343
|
return pulumi.get(self, "service_uri")
|
|
1345
1344
|
|
|
1346
|
-
@property
|
|
1345
|
+
@_builtins.property
|
|
1347
1346
|
@pulumi.getter(name="serviceUsername")
|
|
1348
|
-
def service_username(self) -> pulumi.Output[
|
|
1347
|
+
def service_username(self) -> pulumi.Output[_builtins.str]:
|
|
1349
1348
|
"""
|
|
1350
1349
|
Username used for connecting to the service, if applicable
|
|
1351
1350
|
"""
|
|
1352
1351
|
return pulumi.get(self, "service_username")
|
|
1353
1352
|
|
|
1354
|
-
@property
|
|
1353
|
+
@_builtins.property
|
|
1355
1354
|
@pulumi.getter
|
|
1356
|
-
def state(self) -> pulumi.Output[
|
|
1355
|
+
def state(self) -> pulumi.Output[_builtins.str]:
|
|
1357
1356
|
return pulumi.get(self, "state")
|
|
1358
1357
|
|
|
1359
|
-
@property
|
|
1358
|
+
@_builtins.property
|
|
1360
1359
|
@pulumi.getter(name="staticIps")
|
|
1361
|
-
def static_ips(self) -> pulumi.Output[Optional[Sequence[
|
|
1360
|
+
def static_ips(self) -> pulumi.Output[Optional[Sequence[_builtins.str]]]:
|
|
1362
1361
|
"""
|
|
1363
1362
|
Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a
|
|
1364
1363
|
static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
1365
1364
|
"""
|
|
1366
1365
|
return pulumi.get(self, "static_ips")
|
|
1367
1366
|
|
|
1368
|
-
@property
|
|
1367
|
+
@_builtins.property
|
|
1369
1368
|
@pulumi.getter
|
|
1370
1369
|
def tags(self) -> pulumi.Output[Optional[Sequence['outputs.InfluxDbTag']]]:
|
|
1371
1370
|
"""
|
|
@@ -1373,7 +1372,7 @@ class InfluxDb(pulumi.CustomResource):
|
|
|
1373
1372
|
"""
|
|
1374
1373
|
return pulumi.get(self, "tags")
|
|
1375
1374
|
|
|
1376
|
-
@property
|
|
1375
|
+
@_builtins.property
|
|
1377
1376
|
@pulumi.getter(name="techEmails")
|
|
1378
1377
|
def tech_emails(self) -> pulumi.Output[Optional[Sequence['outputs.InfluxDbTechEmail']]]:
|
|
1379
1378
|
"""
|
|
@@ -1382,9 +1381,9 @@ class InfluxDb(pulumi.CustomResource):
|
|
|
1382
1381
|
"""
|
|
1383
1382
|
return pulumi.get(self, "tech_emails")
|
|
1384
1383
|
|
|
1385
|
-
@property
|
|
1384
|
+
@_builtins.property
|
|
1386
1385
|
@pulumi.getter(name="terminationProtection")
|
|
1387
|
-
def termination_protection(self) -> pulumi.Output[Optional[
|
|
1386
|
+
def termination_protection(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
|
1388
1387
|
"""
|
|
1389
1388
|
Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent
|
|
1390
1389
|
unintentional service deletion. This does not shield against deleting databases or topics but for services with backups
|