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