pulumi-aiven 6.43.0a1756184863__py3-none-any.whl → 6.47.0a1767071446__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.
- pulumi_aiven/__init__.py +4 -0
- pulumi_aiven/_inputs.py +3087 -602
- pulumi_aiven/account_team.py +6 -12
- pulumi_aiven/account_team_member.py +6 -12
- pulumi_aiven/account_team_project.py +6 -12
- pulumi_aiven/alloydbomni.py +72 -23
- pulumi_aiven/alloydbomni_database.py +26 -0
- pulumi_aiven/alloydbomni_user.py +135 -8
- pulumi_aiven/billing_group.py +225 -114
- pulumi_aiven/cassandra.py +46 -23
- pulumi_aiven/cassandra_user.py +110 -9
- pulumi_aiven/clickhouse.py +46 -23
- pulumi_aiven/clickhouse_user.py +127 -7
- pulumi_aiven/dragonfly.py +46 -23
- pulumi_aiven/flink.py +46 -23
- pulumi_aiven/get_account_team.py +6 -12
- pulumi_aiven/get_account_team_member.py +6 -12
- pulumi_aiven/get_account_team_project.py +6 -12
- pulumi_aiven/get_alloydbomni.py +43 -3
- pulumi_aiven/get_alloydbomni_database.py +26 -0
- pulumi_aiven/get_alloydbomni_user.py +27 -1
- pulumi_aiven/get_billing_group.py +47 -15
- pulumi_aiven/get_cassanda.py +17 -3
- pulumi_aiven/get_cassandra.py +17 -3
- pulumi_aiven/get_cassandra_user.py +1 -1
- pulumi_aiven/get_clickhouse.py +17 -3
- pulumi_aiven/get_clickhouse_user.py +1 -1
- pulumi_aiven/get_dragonfly.py +17 -3
- pulumi_aiven/get_flink.py +17 -3
- pulumi_aiven/get_grafana.py +17 -3
- pulumi_aiven/get_influx_db.py +12 -1
- pulumi_aiven/get_kafka.py +17 -3
- pulumi_aiven/get_kafka_connect.py +17 -3
- pulumi_aiven/get_kafka_mirror_maker.py +17 -3
- pulumi_aiven/get_kafka_user.py +1 -1
- pulumi_aiven/get_m3_aggregator.py +14 -112
- pulumi_aiven/get_m3_db.py +14 -124
- pulumi_aiven/get_m3db_user.py +2 -61
- pulumi_aiven/get_my_sql.py +17 -3
- pulumi_aiven/get_mysql_user.py +1 -1
- pulumi_aiven/get_open_search.py +17 -3
- pulumi_aiven/get_opensearch_user.py +1 -1
- pulumi_aiven/get_organization.py +1 -1
- pulumi_aiven/get_organization_address.py +1 -1
- pulumi_aiven/get_organization_application_user.py +29 -11
- pulumi_aiven/get_organization_billing_group.py +3 -3
- pulumi_aiven/get_organization_project.py +2 -8
- pulumi_aiven/get_organization_user_group_list.py +131 -0
- pulumi_aiven/get_organization_user_group_member_list.py +171 -0
- pulumi_aiven/get_organization_user_list.py +33 -11
- pulumi_aiven/get_organizational_unit.py +4 -0
- pulumi_aiven/get_pg.py +17 -3
- pulumi_aiven/get_pg_user.py +1 -1
- pulumi_aiven/get_redis.py +14 -128
- pulumi_aiven/get_redis_user.py +2 -77
- pulumi_aiven/get_service_component.py +3 -3
- pulumi_aiven/get_service_plan.py +309 -0
- pulumi_aiven/get_service_plan_list.py +151 -0
- pulumi_aiven/get_thanos.py +17 -3
- pulumi_aiven/get_valkey.py +17 -3
- pulumi_aiven/get_valkey_user.py +4 -4
- pulumi_aiven/governance_access.py +12 -0
- pulumi_aiven/grafana.py +46 -23
- pulumi_aiven/influx_db.py +133 -291
- pulumi_aiven/influxdb_database.py +14 -28
- pulumi_aiven/influxdb_user.py +21 -42
- pulumi_aiven/kafka.py +46 -23
- pulumi_aiven/kafka_connect.py +48 -25
- pulumi_aiven/kafka_mirror_maker.py +46 -23
- pulumi_aiven/kafka_schema.py +20 -20
- pulumi_aiven/kafka_user.py +110 -9
- pulumi_aiven/m3_aggregator.py +48 -75
- pulumi_aiven/m3_db.py +48 -95
- pulumi_aiven/m3db_user.py +2 -54
- pulumi_aiven/my_sql.py +46 -23
- pulumi_aiven/mysql_user.py +110 -9
- pulumi_aiven/open_search.py +46 -23
- pulumi_aiven/opensearch_user.py +110 -9
- pulumi_aiven/organization.py +6 -6
- pulumi_aiven/organization_address.py +12 -0
- pulumi_aiven/organization_application_user.py +76 -48
- pulumi_aiven/organization_application_user_token.py +127 -91
- pulumi_aiven/organization_billing_group.py +33 -21
- pulumi_aiven/organization_permission.py +82 -49
- pulumi_aiven/organization_project.py +9 -15
- pulumi_aiven/organization_user.py +8 -8
- pulumi_aiven/organization_user_group_member.py +29 -35
- pulumi_aiven/outputs.py +2042 -326
- pulumi_aiven/pg.py +112 -23
- pulumi_aiven/pg_user.py +109 -8
- pulumi_aiven/project.py +2 -24
- pulumi_aiven/pulumi-plugin.json +1 -1
- pulumi_aiven/redis.py +57 -97
- pulumi_aiven/redis_user.py +23 -79
- pulumi_aiven/thanos.py +46 -23
- pulumi_aiven/valkey.py +46 -23
- pulumi_aiven/valkey_user.py +130 -29
- {pulumi_aiven-6.43.0a1756184863.dist-info → pulumi_aiven-6.47.0a1767071446.dist-info}/METADATA +1 -1
- pulumi_aiven-6.47.0a1767071446.dist-info/RECORD +193 -0
- pulumi_aiven-6.43.0a1756184863.dist-info/RECORD +0 -189
- {pulumi_aiven-6.43.0a1756184863.dist-info → pulumi_aiven-6.47.0a1767071446.dist-info}/WHEEL +0 -0
- {pulumi_aiven-6.43.0a1756184863.dist-info → pulumi_aiven-6.47.0a1767071446.dist-info}/top_level.txt +0 -0
pulumi_aiven/influx_db.py
CHANGED
|
@@ -39,48 +39,22 @@ class InfluxDbArgs:
|
|
|
39
39
|
termination_protection: Optional[pulumi.Input[_builtins.bool]] = None):
|
|
40
40
|
"""
|
|
41
41
|
The set of arguments for constructing a InfluxDb resource.
|
|
42
|
-
:param pulumi.Input[_builtins.str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
:param pulumi.Input[
|
|
49
|
-
reference. Changing this property forces recreation of the resource.
|
|
50
|
-
:param pulumi.Input[_builtins.str] service_name: Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the
|
|
51
|
-
service so name should be picked based on intended service usage rather than current attributes.
|
|
52
|
-
:param pulumi.Input[_builtins.str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your
|
|
53
|
-
service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the
|
|
54
|
-
service nodes to go through a rolling restart, and there might be a short downtime for services without an autoscaler
|
|
55
|
-
integration or high availability capabilities. The field can be safely removed when autoscaler is enabled without
|
|
56
|
-
causing any changes.
|
|
57
|
-
:param pulumi.Input[_builtins.str] cloud_name: The cloud provider and region the service is hosted in. The format is `provider-region`, for example:
|
|
58
|
-
`google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ
|
|
59
|
-
per project and service. Changing this value [migrates the service to another cloud provider or
|
|
60
|
-
region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and
|
|
61
|
-
includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases
|
|
62
|
-
may have a brief interruption during DNS propagation.
|
|
63
|
-
:param pulumi.Input[_builtins.str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing
|
|
64
|
-
will result in the service rebalancing.
|
|
65
|
-
:param pulumi.Input['InfluxDbInfluxdbUserConfigArgs'] influxdb_user_config: Influxdb user configurable settings. **Warning:** There's no way to reset advanced configuration options to default.
|
|
66
|
-
Options that you add cannot be removed later
|
|
42
|
+
:param pulumi.Input[_builtins.str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
43
|
+
:param pulumi.Input[_builtins.str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
44
|
+
: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 service so name should be picked based on intended service usage rather than current attributes.
|
|
45
|
+
: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 service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart, and there might be a short downtime for services without an autoscaler integration or high availability capabilities. The field can be safely removed when autoscaler is enabled without causing any changes.
|
|
46
|
+
:param pulumi.Input[_builtins.str] cloud_name: The cloud provider and region the service is hosted in. The format is `provider-region`, for example: `google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ per project and service. Changing this value [migrates the service to another cloud provider or region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
|
|
47
|
+
: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 will result in the service rebalancing. Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.
|
|
48
|
+
:param pulumi.Input['InfluxDbInfluxdbUserConfigArgs'] influxdb_user_config: Influxdb user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
67
49
|
:param pulumi.Input[Sequence[pulumi.Input['InfluxDbInfluxdbArgs']]] influxdbs: InfluxDB server provided values
|
|
68
50
|
:param pulumi.Input[_builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
69
51
|
:param pulumi.Input[_builtins.str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
70
|
-
:param pulumi.Input[_builtins.str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set, the service runs on the Public Internet. When set,
|
|
71
|
-
the value should be given as a reference to set up dependencies correctly, and the VPC must be in the same cloud and
|
|
72
|
-
region as the service itself. The service can be freely moved to and from VPC after creation, but doing so triggers
|
|
73
|
-
migration to new servers, so the operation can take a significant amount of time to complete if the service has a lot of
|
|
74
|
-
data.
|
|
52
|
+
:param pulumi.Input[_builtins.str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set, the service runs on the Public Internet. When set, the value should be given as a reference to set up dependencies correctly, and the VPC must be in the same cloud and region as the service itself. The service can be freely moved to and from VPC after creation, but doing so triggers migration to new servers, so the operation can take a significant amount of time to complete if the service has a lot of data.
|
|
75
53
|
:param pulumi.Input[Sequence[pulumi.Input['InfluxDbServiceIntegrationArgs']]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
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
|
|
77
|
-
static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
54
|
+
: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 static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
78
55
|
:param pulumi.Input[Sequence[pulumi.Input['InfluxDbTagArgs']]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
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
|
|
80
|
-
|
|
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
|
|
82
|
-
unintentional service deletion. This does not shield against deleting databases or topics but for services with backups
|
|
83
|
-
much of the content can at least be restored from backup in case accidental deletion is done.
|
|
56
|
+
: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 important alerts and updates about this service. You can also set email contacts at the project level.
|
|
57
|
+
: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 unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
|
|
84
58
|
"""
|
|
85
59
|
pulumi.set(__self__, "plan", plan)
|
|
86
60
|
pulumi.set(__self__, "project", project)
|
|
@@ -90,10 +64,13 @@ class InfluxDbArgs:
|
|
|
90
64
|
if cloud_name is not None:
|
|
91
65
|
pulumi.set(__self__, "cloud_name", cloud_name)
|
|
92
66
|
if disk_space is not None:
|
|
93
|
-
warnings.warn("""
|
|
94
|
-
pulumi.log.warn("""disk_space is deprecated:
|
|
67
|
+
warnings.warn("""Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.""", DeprecationWarning)
|
|
68
|
+
pulumi.log.warn("""disk_space is deprecated: Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.""")
|
|
95
69
|
if disk_space is not None:
|
|
96
70
|
pulumi.set(__self__, "disk_space", disk_space)
|
|
71
|
+
if influxdb_user_config is not None:
|
|
72
|
+
warnings.warn("""This property is deprecated.""", DeprecationWarning)
|
|
73
|
+
pulumi.log.warn("""influxdb_user_config is deprecated: This property is deprecated.""")
|
|
97
74
|
if influxdb_user_config is not None:
|
|
98
75
|
pulumi.set(__self__, "influxdb_user_config", influxdb_user_config)
|
|
99
76
|
if influxdbs is not None:
|
|
@@ -119,12 +96,7 @@ class InfluxDbArgs:
|
|
|
119
96
|
@pulumi.getter
|
|
120
97
|
def plan(self) -> pulumi.Input[_builtins.str]:
|
|
121
98
|
"""
|
|
122
|
-
Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there
|
|
123
|
-
are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to
|
|
124
|
-
store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
|
|
125
|
-
`hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also
|
|
126
|
-
other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available
|
|
127
|
-
options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
99
|
+
Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
128
100
|
"""
|
|
129
101
|
return pulumi.get(self, "plan")
|
|
130
102
|
|
|
@@ -136,8 +108,7 @@ class InfluxDbArgs:
|
|
|
136
108
|
@pulumi.getter
|
|
137
109
|
def project(self) -> pulumi.Input[_builtins.str]:
|
|
138
110
|
"""
|
|
139
|
-
The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a
|
|
140
|
-
reference. Changing this property forces recreation of the resource.
|
|
111
|
+
The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
141
112
|
"""
|
|
142
113
|
return pulumi.get(self, "project")
|
|
143
114
|
|
|
@@ -149,8 +120,7 @@ class InfluxDbArgs:
|
|
|
149
120
|
@pulumi.getter(name="serviceName")
|
|
150
121
|
def service_name(self) -> pulumi.Input[_builtins.str]:
|
|
151
122
|
"""
|
|
152
|
-
Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the
|
|
153
|
-
service so name should be picked based on intended service usage rather than current attributes.
|
|
123
|
+
Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
|
|
154
124
|
"""
|
|
155
125
|
return pulumi.get(self, "service_name")
|
|
156
126
|
|
|
@@ -162,11 +132,7 @@ class InfluxDbArgs:
|
|
|
162
132
|
@pulumi.getter(name="additionalDiskSpace")
|
|
163
133
|
def additional_disk_space(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
164
134
|
"""
|
|
165
|
-
Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30
|
|
166
|
-
service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the
|
|
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.
|
|
135
|
+
Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart, and there might be a short downtime for services without an autoscaler integration or high availability capabilities. The field can be safely removed when autoscaler is enabled without causing any changes.
|
|
170
136
|
"""
|
|
171
137
|
return pulumi.get(self, "additional_disk_space")
|
|
172
138
|
|
|
@@ -178,12 +144,7 @@ class InfluxDbArgs:
|
|
|
178
144
|
@pulumi.getter(name="cloudName")
|
|
179
145
|
def cloud_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
180
146
|
"""
|
|
181
|
-
The cloud provider and region the service is hosted in. The format is `provider-region`, for example:
|
|
182
|
-
`google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ
|
|
183
|
-
per project and service. Changing this value [migrates the service to another cloud provider or
|
|
184
|
-
region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and
|
|
185
|
-
includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases
|
|
186
|
-
may have a brief interruption during DNS propagation.
|
|
147
|
+
The cloud provider and region the service is hosted in. The format is `provider-region`, for example: `google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ per project and service. Changing this value [migrates the service to another cloud provider or region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
|
|
187
148
|
"""
|
|
188
149
|
return pulumi.get(self, "cloud_name")
|
|
189
150
|
|
|
@@ -193,11 +154,10 @@ class InfluxDbArgs:
|
|
|
193
154
|
|
|
194
155
|
@_builtins.property
|
|
195
156
|
@pulumi.getter(name="diskSpace")
|
|
196
|
-
@_utilities.deprecated("""
|
|
157
|
+
@_utilities.deprecated("""Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.""")
|
|
197
158
|
def disk_space(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
198
159
|
"""
|
|
199
|
-
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing
|
|
200
|
-
will result in the service rebalancing.
|
|
160
|
+
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing. Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.
|
|
201
161
|
"""
|
|
202
162
|
return pulumi.get(self, "disk_space")
|
|
203
163
|
|
|
@@ -207,10 +167,10 @@ class InfluxDbArgs:
|
|
|
207
167
|
|
|
208
168
|
@_builtins.property
|
|
209
169
|
@pulumi.getter(name="influxdbUserConfig")
|
|
170
|
+
@_utilities.deprecated("""This property is deprecated.""")
|
|
210
171
|
def influxdb_user_config(self) -> Optional[pulumi.Input['InfluxDbInfluxdbUserConfigArgs']]:
|
|
211
172
|
"""
|
|
212
|
-
Influxdb user configurable settings. **Warning:** There's no way to reset advanced configuration options to default.
|
|
213
|
-
Options that you add cannot be removed later
|
|
173
|
+
Influxdb user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
214
174
|
"""
|
|
215
175
|
return pulumi.get(self, "influxdb_user_config")
|
|
216
176
|
|
|
@@ -258,11 +218,7 @@ class InfluxDbArgs:
|
|
|
258
218
|
@pulumi.getter(name="projectVpcId")
|
|
259
219
|
def project_vpc_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
260
220
|
"""
|
|
261
|
-
Specifies the VPC the service should run in. If the value is not set, the service runs on the Public Internet. When set,
|
|
262
|
-
the value should be given as a reference to set up dependencies correctly, and the VPC must be in the same cloud and
|
|
263
|
-
region as the service itself. The service can be freely moved to and from VPC after creation, but doing so triggers
|
|
264
|
-
migration to new servers, so the operation can take a significant amount of time to complete if the service has a lot of
|
|
265
|
-
data.
|
|
221
|
+
Specifies the VPC the service should run in. If the value is not set, the service runs on the Public Internet. When set, the value should be given as a reference to set up dependencies correctly, and the VPC must be in the same cloud and region as the service itself. The service can be freely moved to and from VPC after creation, but doing so triggers migration to new servers, so the operation can take a significant amount of time to complete if the service has a lot of data.
|
|
266
222
|
"""
|
|
267
223
|
return pulumi.get(self, "project_vpc_id")
|
|
268
224
|
|
|
@@ -286,8 +242,7 @@ class InfluxDbArgs:
|
|
|
286
242
|
@pulumi.getter(name="staticIps")
|
|
287
243
|
def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
288
244
|
"""
|
|
289
|
-
Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a
|
|
290
|
-
static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
245
|
+
Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
291
246
|
"""
|
|
292
247
|
return pulumi.get(self, "static_ips")
|
|
293
248
|
|
|
@@ -311,8 +266,7 @@ class InfluxDbArgs:
|
|
|
311
266
|
@pulumi.getter(name="techEmails")
|
|
312
267
|
def tech_emails(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['InfluxDbTechEmailArgs']]]]:
|
|
313
268
|
"""
|
|
314
|
-
The email addresses for [service contacts](https://aiven.io/docs/platform/howto/technical-emails), who will receive
|
|
315
|
-
important alerts and updates about this service. You can also set email contacts at the project level.
|
|
269
|
+
The email addresses for [service contacts](https://aiven.io/docs/platform/howto/technical-emails), who will receive important alerts and updates about this service. You can also set email contacts at the project level.
|
|
316
270
|
"""
|
|
317
271
|
return pulumi.get(self, "tech_emails")
|
|
318
272
|
|
|
@@ -324,9 +278,7 @@ class InfluxDbArgs:
|
|
|
324
278
|
@pulumi.getter(name="terminationProtection")
|
|
325
279
|
def termination_protection(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
326
280
|
"""
|
|
327
|
-
Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent
|
|
328
|
-
unintentional service deletion. This does not shield against deleting databases or topics but for services with backups
|
|
329
|
-
much of the content can at least be restored from backup in case accidental deletion is done.
|
|
281
|
+
Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
|
|
330
282
|
"""
|
|
331
283
|
return pulumi.get(self, "termination_protection")
|
|
332
284
|
|
|
@@ -349,6 +301,7 @@ class _InfluxDbState:
|
|
|
349
301
|
influxdb_user_config: Optional[pulumi.Input['InfluxDbInfluxdbUserConfigArgs']] = None,
|
|
350
302
|
influxdbs: Optional[pulumi.Input[Sequence[pulumi.Input['InfluxDbInfluxdbArgs']]]] = None,
|
|
351
303
|
maintenance_window_dow: Optional[pulumi.Input[_builtins.str]] = None,
|
|
304
|
+
maintenance_window_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
352
305
|
maintenance_window_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
353
306
|
plan: Optional[pulumi.Input[_builtins.str]] = None,
|
|
354
307
|
project: Optional[pulumi.Input[_builtins.str]] = None,
|
|
@@ -368,61 +321,34 @@ class _InfluxDbState:
|
|
|
368
321
|
termination_protection: Optional[pulumi.Input[_builtins.bool]] = None):
|
|
369
322
|
"""
|
|
370
323
|
Input properties used for looking up and filtering InfluxDb resources.
|
|
371
|
-
:param pulumi.Input[_builtins.str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30
|
|
372
|
-
|
|
373
|
-
service nodes to go through a rolling restart, and there might be a short downtime for services without an autoscaler
|
|
374
|
-
integration or high availability capabilities. The field can be safely removed when autoscaler is enabled without
|
|
375
|
-
causing any changes.
|
|
376
|
-
:param pulumi.Input[_builtins.str] cloud_name: The cloud provider and region the service is hosted in. The format is `provider-region`, for example:
|
|
377
|
-
`google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ
|
|
378
|
-
per project and service. Changing this value [migrates the service to another cloud provider or
|
|
379
|
-
region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and
|
|
380
|
-
includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases
|
|
381
|
-
may have a brief interruption during DNS propagation.
|
|
324
|
+
: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 service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart, and there might be a short downtime for services without an autoscaler integration or high availability capabilities. The field can be safely removed when autoscaler is enabled without causing any changes.
|
|
325
|
+
:param pulumi.Input[_builtins.str] cloud_name: The cloud provider and region the service is hosted in. The format is `provider-region`, for example: `google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ per project and service. Changing this value [migrates the service to another cloud provider or region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
|
|
382
326
|
:param pulumi.Input[Sequence[pulumi.Input['InfluxDbComponentArgs']]] components: Service component information objects
|
|
383
|
-
:param pulumi.Input[_builtins.str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing
|
|
384
|
-
will result in the service rebalancing.
|
|
327
|
+
: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 will result in the service rebalancing. Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.
|
|
385
328
|
:param pulumi.Input[_builtins.str] disk_space_cap: The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
386
|
-
:param pulumi.Input[_builtins.str] disk_space_default: The default disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
387
|
-
|
|
388
|
-
:param pulumi.Input[_builtins.str]
|
|
389
|
-
|
|
390
|
-
:param pulumi.Input[_builtins.str] disk_space_used: Disk space that service is currently using
|
|
391
|
-
:param pulumi.Input['InfluxDbInfluxdbUserConfigArgs'] influxdb_user_config: Influxdb user configurable settings. **Warning:** There's no way to reset advanced configuration options to default.
|
|
392
|
-
Options that you add cannot be removed later
|
|
329
|
+
: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. Its also the minimum value for `disk_space`
|
|
330
|
+
: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 project. `disk_space` needs to increment from `disk_space_default` by increments of this size.
|
|
331
|
+
:param pulumi.Input[_builtins.str] disk_space_used: The disk space that the service is currently using. This is the sum of `disk_space` and `additional_disk_space` in human-readable format (for example: `90GiB`).
|
|
332
|
+
:param pulumi.Input['InfluxDbInfluxdbUserConfigArgs'] influxdb_user_config: Influxdb user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
393
333
|
:param pulumi.Input[Sequence[pulumi.Input['InfluxDbInfluxdbArgs']]] influxdbs: InfluxDB server provided values
|
|
394
334
|
:param pulumi.Input[_builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
335
|
+
:param pulumi.Input[_builtins.bool] maintenance_window_enabled: Indicates whether the maintenance window is currently enabled for this service.
|
|
395
336
|
:param pulumi.Input[_builtins.str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
396
|
-
:param pulumi.Input[_builtins.str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
`hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also
|
|
400
|
-
other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available
|
|
401
|
-
options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
402
|
-
:param pulumi.Input[_builtins.str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a
|
|
403
|
-
reference. Changing this property forces recreation of the resource.
|
|
404
|
-
:param pulumi.Input[_builtins.str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set, the service runs on the Public Internet. When set,
|
|
405
|
-
the value should be given as a reference to set up dependencies correctly, and the VPC must be in the same cloud and
|
|
406
|
-
region as the service itself. The service can be freely moved to and from VPC after creation, but doing so triggers
|
|
407
|
-
migration to new servers, so the operation can take a significant amount of time to complete if the service has a lot of
|
|
408
|
-
data.
|
|
337
|
+
: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 are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
338
|
+
: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 reference. Changing this property forces recreation of the resource.
|
|
339
|
+
:param pulumi.Input[_builtins.str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set, the service runs on the Public Internet. When set, the value should be given as a reference to set up dependencies correctly, and the VPC must be in the same cloud and region as the service itself. The service can be freely moved to and from VPC after creation, but doing so triggers migration to new servers, so the operation can take a significant amount of time to complete if the service has a lot of data.
|
|
409
340
|
:param pulumi.Input[_builtins.str] service_host: The hostname of the service.
|
|
410
341
|
:param pulumi.Input[Sequence[pulumi.Input['InfluxDbServiceIntegrationArgs']]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
411
|
-
:param pulumi.Input[_builtins.str] service_name: Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the
|
|
412
|
-
service so name should be picked based on intended service usage rather than current attributes.
|
|
342
|
+
: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 service so name should be picked based on intended service usage rather than current attributes.
|
|
413
343
|
:param pulumi.Input[_builtins.str] service_password: Password used for connecting to the service, if applicable
|
|
414
344
|
:param pulumi.Input[_builtins.int] service_port: The port of the service
|
|
415
345
|
:param pulumi.Input[_builtins.str] service_type: Aiven internal service type code
|
|
416
346
|
:param pulumi.Input[_builtins.str] service_uri: URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
417
347
|
:param pulumi.Input[_builtins.str] service_username: Username used for connecting to the service, if applicable
|
|
418
|
-
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] static_ips: Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a
|
|
419
|
-
static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
348
|
+
: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 static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
420
349
|
:param pulumi.Input[Sequence[pulumi.Input['InfluxDbTagArgs']]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
421
|
-
:param pulumi.Input[Sequence[pulumi.Input['InfluxDbTechEmailArgs']]] tech_emails: The email addresses for [service contacts](https://aiven.io/docs/platform/howto/technical-emails), who will receive
|
|
422
|
-
|
|
423
|
-
:param pulumi.Input[_builtins.bool] termination_protection: Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent
|
|
424
|
-
unintentional service deletion. This does not shield against deleting databases or topics but for services with backups
|
|
425
|
-
much of the content can at least be restored from backup in case accidental deletion is done.
|
|
350
|
+
: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 important alerts and updates about this service. You can also set email contacts at the project level.
|
|
351
|
+
: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 unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
|
|
426
352
|
"""
|
|
427
353
|
if additional_disk_space is not None:
|
|
428
354
|
pulumi.set(__self__, "additional_disk_space", additional_disk_space)
|
|
@@ -431,8 +357,8 @@ class _InfluxDbState:
|
|
|
431
357
|
if components is not None:
|
|
432
358
|
pulumi.set(__self__, "components", components)
|
|
433
359
|
if disk_space is not None:
|
|
434
|
-
warnings.warn("""
|
|
435
|
-
pulumi.log.warn("""disk_space is deprecated:
|
|
360
|
+
warnings.warn("""Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.""", DeprecationWarning)
|
|
361
|
+
pulumi.log.warn("""disk_space is deprecated: Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.""")
|
|
436
362
|
if disk_space is not None:
|
|
437
363
|
pulumi.set(__self__, "disk_space", disk_space)
|
|
438
364
|
if disk_space_cap is not None:
|
|
@@ -441,17 +367,19 @@ class _InfluxDbState:
|
|
|
441
367
|
pulumi.set(__self__, "disk_space_default", disk_space_default)
|
|
442
368
|
if disk_space_step is not None:
|
|
443
369
|
pulumi.set(__self__, "disk_space_step", disk_space_step)
|
|
444
|
-
if disk_space_used is not None:
|
|
445
|
-
warnings.warn("""This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""", DeprecationWarning)
|
|
446
|
-
pulumi.log.warn("""disk_space_used is deprecated: This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""")
|
|
447
370
|
if disk_space_used is not None:
|
|
448
371
|
pulumi.set(__self__, "disk_space_used", disk_space_used)
|
|
372
|
+
if influxdb_user_config is not None:
|
|
373
|
+
warnings.warn("""This property is deprecated.""", DeprecationWarning)
|
|
374
|
+
pulumi.log.warn("""influxdb_user_config is deprecated: This property is deprecated.""")
|
|
449
375
|
if influxdb_user_config is not None:
|
|
450
376
|
pulumi.set(__self__, "influxdb_user_config", influxdb_user_config)
|
|
451
377
|
if influxdbs is not None:
|
|
452
378
|
pulumi.set(__self__, "influxdbs", influxdbs)
|
|
453
379
|
if maintenance_window_dow is not None:
|
|
454
380
|
pulumi.set(__self__, "maintenance_window_dow", maintenance_window_dow)
|
|
381
|
+
if maintenance_window_enabled is not None:
|
|
382
|
+
pulumi.set(__self__, "maintenance_window_enabled", maintenance_window_enabled)
|
|
455
383
|
if maintenance_window_time is not None:
|
|
456
384
|
pulumi.set(__self__, "maintenance_window_time", maintenance_window_time)
|
|
457
385
|
if plan is not None:
|
|
@@ -491,11 +419,7 @@ class _InfluxDbState:
|
|
|
491
419
|
@pulumi.getter(name="additionalDiskSpace")
|
|
492
420
|
def additional_disk_space(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
493
421
|
"""
|
|
494
|
-
Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30
|
|
495
|
-
service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the
|
|
496
|
-
service nodes to go through a rolling restart, and there might be a short downtime for services without an autoscaler
|
|
497
|
-
integration or high availability capabilities. The field can be safely removed when autoscaler is enabled without
|
|
498
|
-
causing any changes.
|
|
422
|
+
Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart, and there might be a short downtime for services without an autoscaler integration or high availability capabilities. The field can be safely removed when autoscaler is enabled without causing any changes.
|
|
499
423
|
"""
|
|
500
424
|
return pulumi.get(self, "additional_disk_space")
|
|
501
425
|
|
|
@@ -507,12 +431,7 @@ class _InfluxDbState:
|
|
|
507
431
|
@pulumi.getter(name="cloudName")
|
|
508
432
|
def cloud_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
509
433
|
"""
|
|
510
|
-
The cloud provider and region the service is hosted in. The format is `provider-region`, for example:
|
|
511
|
-
`google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ
|
|
512
|
-
per project and service. Changing this value [migrates the service to another cloud provider or
|
|
513
|
-
region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and
|
|
514
|
-
includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases
|
|
515
|
-
may have a brief interruption during DNS propagation.
|
|
434
|
+
The cloud provider and region the service is hosted in. The format is `provider-region`, for example: `google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ per project and service. Changing this value [migrates the service to another cloud provider or region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
|
|
516
435
|
"""
|
|
517
436
|
return pulumi.get(self, "cloud_name")
|
|
518
437
|
|
|
@@ -534,11 +453,10 @@ class _InfluxDbState:
|
|
|
534
453
|
|
|
535
454
|
@_builtins.property
|
|
536
455
|
@pulumi.getter(name="diskSpace")
|
|
537
|
-
@_utilities.deprecated("""
|
|
456
|
+
@_utilities.deprecated("""Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.""")
|
|
538
457
|
def disk_space(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
539
458
|
"""
|
|
540
|
-
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing
|
|
541
|
-
will result in the service rebalancing.
|
|
459
|
+
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing. Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.
|
|
542
460
|
"""
|
|
543
461
|
return pulumi.get(self, "disk_space")
|
|
544
462
|
|
|
@@ -562,8 +480,7 @@ class _InfluxDbState:
|
|
|
562
480
|
@pulumi.getter(name="diskSpaceDefault")
|
|
563
481
|
def disk_space_default(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
564
482
|
"""
|
|
565
|
-
The default disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
566
|
-
Its also the minimum value for `disk_space`
|
|
483
|
+
The default disk space of the service, possible values depend on the service type, the cloud provider and the project. Its also the minimum value for `disk_space`
|
|
567
484
|
"""
|
|
568
485
|
return pulumi.get(self, "disk_space_default")
|
|
569
486
|
|
|
@@ -575,8 +492,7 @@ class _InfluxDbState:
|
|
|
575
492
|
@pulumi.getter(name="diskSpaceStep")
|
|
576
493
|
def disk_space_step(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
577
494
|
"""
|
|
578
|
-
The default disk space step of the service, possible values depend on the service type, the cloud provider and the
|
|
579
|
-
project. `disk_space` needs to increment from `disk_space_default` by increments of this size.
|
|
495
|
+
The default disk space step of the service, possible values depend on the service type, the cloud provider and the project. `disk_space` needs to increment from `disk_space_default` by increments of this size.
|
|
580
496
|
"""
|
|
581
497
|
return pulumi.get(self, "disk_space_step")
|
|
582
498
|
|
|
@@ -586,10 +502,9 @@ class _InfluxDbState:
|
|
|
586
502
|
|
|
587
503
|
@_builtins.property
|
|
588
504
|
@pulumi.getter(name="diskSpaceUsed")
|
|
589
|
-
@_utilities.deprecated("""This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""")
|
|
590
505
|
def disk_space_used(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
591
506
|
"""
|
|
592
|
-
|
|
507
|
+
The disk space that the service is currently using. This is the sum of `disk_space` and `additional_disk_space` in human-readable format (for example: `90GiB`).
|
|
593
508
|
"""
|
|
594
509
|
return pulumi.get(self, "disk_space_used")
|
|
595
510
|
|
|
@@ -599,10 +514,10 @@ class _InfluxDbState:
|
|
|
599
514
|
|
|
600
515
|
@_builtins.property
|
|
601
516
|
@pulumi.getter(name="influxdbUserConfig")
|
|
517
|
+
@_utilities.deprecated("""This property is deprecated.""")
|
|
602
518
|
def influxdb_user_config(self) -> Optional[pulumi.Input['InfluxDbInfluxdbUserConfigArgs']]:
|
|
603
519
|
"""
|
|
604
|
-
Influxdb user configurable settings. **Warning:** There's no way to reset advanced configuration options to default.
|
|
605
|
-
Options that you add cannot be removed later
|
|
520
|
+
Influxdb user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
606
521
|
"""
|
|
607
522
|
return pulumi.get(self, "influxdb_user_config")
|
|
608
523
|
|
|
@@ -634,6 +549,18 @@ class _InfluxDbState:
|
|
|
634
549
|
def maintenance_window_dow(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
635
550
|
pulumi.set(self, "maintenance_window_dow", value)
|
|
636
551
|
|
|
552
|
+
@_builtins.property
|
|
553
|
+
@pulumi.getter(name="maintenanceWindowEnabled")
|
|
554
|
+
def maintenance_window_enabled(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
555
|
+
"""
|
|
556
|
+
Indicates whether the maintenance window is currently enabled for this service.
|
|
557
|
+
"""
|
|
558
|
+
return pulumi.get(self, "maintenance_window_enabled")
|
|
559
|
+
|
|
560
|
+
@maintenance_window_enabled.setter
|
|
561
|
+
def maintenance_window_enabled(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
562
|
+
pulumi.set(self, "maintenance_window_enabled", value)
|
|
563
|
+
|
|
637
564
|
@_builtins.property
|
|
638
565
|
@pulumi.getter(name="maintenanceWindowTime")
|
|
639
566
|
def maintenance_window_time(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
@@ -650,12 +577,7 @@ class _InfluxDbState:
|
|
|
650
577
|
@pulumi.getter
|
|
651
578
|
def plan(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
652
579
|
"""
|
|
653
|
-
Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there
|
|
654
|
-
are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to
|
|
655
|
-
store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
|
|
656
|
-
`hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also
|
|
657
|
-
other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available
|
|
658
|
-
options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
580
|
+
Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
659
581
|
"""
|
|
660
582
|
return pulumi.get(self, "plan")
|
|
661
583
|
|
|
@@ -667,8 +589,7 @@ class _InfluxDbState:
|
|
|
667
589
|
@pulumi.getter
|
|
668
590
|
def project(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
669
591
|
"""
|
|
670
|
-
The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a
|
|
671
|
-
reference. Changing this property forces recreation of the resource.
|
|
592
|
+
The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
672
593
|
"""
|
|
673
594
|
return pulumi.get(self, "project")
|
|
674
595
|
|
|
@@ -680,11 +601,7 @@ class _InfluxDbState:
|
|
|
680
601
|
@pulumi.getter(name="projectVpcId")
|
|
681
602
|
def project_vpc_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
682
603
|
"""
|
|
683
|
-
Specifies the VPC the service should run in. If the value is not set, the service runs on the Public Internet. When set,
|
|
684
|
-
the value should be given as a reference to set up dependencies correctly, and the VPC must be in the same cloud and
|
|
685
|
-
region as the service itself. The service can be freely moved to and from VPC after creation, but doing so triggers
|
|
686
|
-
migration to new servers, so the operation can take a significant amount of time to complete if the service has a lot of
|
|
687
|
-
data.
|
|
604
|
+
Specifies the VPC the service should run in. If the value is not set, the service runs on the Public Internet. When set, the value should be given as a reference to set up dependencies correctly, and the VPC must be in the same cloud and region as the service itself. The service can be freely moved to and from VPC after creation, but doing so triggers migration to new servers, so the operation can take a significant amount of time to complete if the service has a lot of data.
|
|
688
605
|
"""
|
|
689
606
|
return pulumi.get(self, "project_vpc_id")
|
|
690
607
|
|
|
@@ -720,8 +637,7 @@ class _InfluxDbState:
|
|
|
720
637
|
@pulumi.getter(name="serviceName")
|
|
721
638
|
def service_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
722
639
|
"""
|
|
723
|
-
Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the
|
|
724
|
-
service so name should be picked based on intended service usage rather than current attributes.
|
|
640
|
+
Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
|
|
725
641
|
"""
|
|
726
642
|
return pulumi.get(self, "service_name")
|
|
727
643
|
|
|
@@ -802,8 +718,7 @@ class _InfluxDbState:
|
|
|
802
718
|
@pulumi.getter(name="staticIps")
|
|
803
719
|
def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
804
720
|
"""
|
|
805
|
-
Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a
|
|
806
|
-
static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
721
|
+
Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
807
722
|
"""
|
|
808
723
|
return pulumi.get(self, "static_ips")
|
|
809
724
|
|
|
@@ -827,8 +742,7 @@ class _InfluxDbState:
|
|
|
827
742
|
@pulumi.getter(name="techEmails")
|
|
828
743
|
def tech_emails(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['InfluxDbTechEmailArgs']]]]:
|
|
829
744
|
"""
|
|
830
|
-
The email addresses for [service contacts](https://aiven.io/docs/platform/howto/technical-emails), who will receive
|
|
831
|
-
important alerts and updates about this service. You can also set email contacts at the project level.
|
|
745
|
+
The email addresses for [service contacts](https://aiven.io/docs/platform/howto/technical-emails), who will receive important alerts and updates about this service. You can also set email contacts at the project level.
|
|
832
746
|
"""
|
|
833
747
|
return pulumi.get(self, "tech_emails")
|
|
834
748
|
|
|
@@ -840,9 +754,7 @@ class _InfluxDbState:
|
|
|
840
754
|
@pulumi.getter(name="terminationProtection")
|
|
841
755
|
def termination_protection(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
842
756
|
"""
|
|
843
|
-
Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent
|
|
844
|
-
unintentional service deletion. This does not shield against deleting databases or topics but for services with backups
|
|
845
|
-
much of the content can at least be restored from backup in case accidental deletion is done.
|
|
757
|
+
Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
|
|
846
758
|
"""
|
|
847
759
|
return pulumi.get(self, "termination_protection")
|
|
848
760
|
|
|
@@ -878,48 +790,22 @@ class InfluxDb(pulumi.CustomResource):
|
|
|
878
790
|
Create a InfluxDb resource with the given unique name, props, and options.
|
|
879
791
|
:param str resource_name: The name of the resource.
|
|
880
792
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
881
|
-
:param pulumi.Input[_builtins.str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
causing any changes.
|
|
886
|
-
:param pulumi.Input[_builtins.str] cloud_name: The cloud provider and region the service is hosted in. The format is `provider-region`, for example:
|
|
887
|
-
`google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ
|
|
888
|
-
per project and service. Changing this value [migrates the service to another cloud provider or
|
|
889
|
-
region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and
|
|
890
|
-
includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases
|
|
891
|
-
may have a brief interruption during DNS propagation.
|
|
892
|
-
:param pulumi.Input[_builtins.str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing
|
|
893
|
-
will result in the service rebalancing.
|
|
894
|
-
:param pulumi.Input[Union['InfluxDbInfluxdbUserConfigArgs', 'InfluxDbInfluxdbUserConfigArgsDict']] influxdb_user_config: Influxdb user configurable settings. **Warning:** There's no way to reset advanced configuration options to default.
|
|
895
|
-
Options that you add cannot be removed later
|
|
793
|
+
: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 service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart, and there might be a short downtime for services without an autoscaler integration or high availability capabilities. The field can be safely removed when autoscaler is enabled without causing any changes.
|
|
794
|
+
:param pulumi.Input[_builtins.str] cloud_name: The cloud provider and region the service is hosted in. The format is `provider-region`, for example: `google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ per project and service. Changing this value [migrates the service to another cloud provider or region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
|
|
795
|
+
: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 will result in the service rebalancing. Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.
|
|
796
|
+
: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. Options that you add cannot be removed later
|
|
896
797
|
:param pulumi.Input[Sequence[pulumi.Input[Union['InfluxDbInfluxdbArgs', 'InfluxDbInfluxdbArgsDict']]]] influxdbs: InfluxDB server provided values
|
|
897
798
|
:param pulumi.Input[_builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
898
799
|
:param pulumi.Input[_builtins.str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
899
|
-
:param pulumi.Input[_builtins.str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
`hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also
|
|
903
|
-
other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available
|
|
904
|
-
options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
905
|
-
:param pulumi.Input[_builtins.str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a
|
|
906
|
-
reference. Changing this property forces recreation of the resource.
|
|
907
|
-
:param pulumi.Input[_builtins.str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set, the service runs on the Public Internet. When set,
|
|
908
|
-
the value should be given as a reference to set up dependencies correctly, and the VPC must be in the same cloud and
|
|
909
|
-
region as the service itself. The service can be freely moved to and from VPC after creation, but doing so triggers
|
|
910
|
-
migration to new servers, so the operation can take a significant amount of time to complete if the service has a lot of
|
|
911
|
-
data.
|
|
800
|
+
: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 are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
801
|
+
: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 reference. Changing this property forces recreation of the resource.
|
|
802
|
+
:param pulumi.Input[_builtins.str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set, the service runs on the Public Internet. When set, the value should be given as a reference to set up dependencies correctly, and the VPC must be in the same cloud and region as the service itself. The service can be freely moved to and from VPC after creation, but doing so triggers migration to new servers, so the operation can take a significant amount of time to complete if the service has a lot of data.
|
|
912
803
|
: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
|
|
913
|
-
:param pulumi.Input[_builtins.str] service_name: Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the
|
|
914
|
-
|
|
915
|
-
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] static_ips: Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a
|
|
916
|
-
static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
804
|
+
: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 service so name should be picked based on intended service usage rather than current attributes.
|
|
805
|
+
: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 static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
917
806
|
:param pulumi.Input[Sequence[pulumi.Input[Union['InfluxDbTagArgs', 'InfluxDbTagArgsDict']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
918
|
-
:param pulumi.Input[Sequence[pulumi.Input[Union['InfluxDbTechEmailArgs', 'InfluxDbTechEmailArgsDict']]]] tech_emails: The email addresses for [service contacts](https://aiven.io/docs/platform/howto/technical-emails), who will receive
|
|
919
|
-
|
|
920
|
-
:param pulumi.Input[_builtins.bool] termination_protection: Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent
|
|
921
|
-
unintentional service deletion. This does not shield against deleting databases or topics but for services with backups
|
|
922
|
-
much of the content can at least be restored from backup in case accidental deletion is done.
|
|
807
|
+
: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 important alerts and updates about this service. You can also set email contacts at the project level.
|
|
808
|
+
: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 unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
|
|
923
809
|
"""
|
|
924
810
|
...
|
|
925
811
|
@overload
|
|
@@ -996,6 +882,7 @@ class InfluxDb(pulumi.CustomResource):
|
|
|
996
882
|
__props__.__dict__["disk_space_default"] = None
|
|
997
883
|
__props__.__dict__["disk_space_step"] = None
|
|
998
884
|
__props__.__dict__["disk_space_used"] = None
|
|
885
|
+
__props__.__dict__["maintenance_window_enabled"] = None
|
|
999
886
|
__props__.__dict__["service_host"] = None
|
|
1000
887
|
__props__.__dict__["service_password"] = None
|
|
1001
888
|
__props__.__dict__["service_port"] = None
|
|
@@ -1026,6 +913,7 @@ class InfluxDb(pulumi.CustomResource):
|
|
|
1026
913
|
influxdb_user_config: Optional[pulumi.Input[Union['InfluxDbInfluxdbUserConfigArgs', 'InfluxDbInfluxdbUserConfigArgsDict']]] = None,
|
|
1027
914
|
influxdbs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InfluxDbInfluxdbArgs', 'InfluxDbInfluxdbArgsDict']]]]] = None,
|
|
1028
915
|
maintenance_window_dow: Optional[pulumi.Input[_builtins.str]] = None,
|
|
916
|
+
maintenance_window_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1029
917
|
maintenance_window_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1030
918
|
plan: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1031
919
|
project: Optional[pulumi.Input[_builtins.str]] = None,
|
|
@@ -1050,61 +938,34 @@ class InfluxDb(pulumi.CustomResource):
|
|
|
1050
938
|
:param str resource_name: The unique name of the resulting resource.
|
|
1051
939
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
1052
940
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
1053
|
-
:param pulumi.Input[_builtins.str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30
|
|
1054
|
-
|
|
1055
|
-
service nodes to go through a rolling restart, and there might be a short downtime for services without an autoscaler
|
|
1056
|
-
integration or high availability capabilities. The field can be safely removed when autoscaler is enabled without
|
|
1057
|
-
causing any changes.
|
|
1058
|
-
:param pulumi.Input[_builtins.str] cloud_name: The cloud provider and region the service is hosted in. The format is `provider-region`, for example:
|
|
1059
|
-
`google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ
|
|
1060
|
-
per project and service. Changing this value [migrates the service to another cloud provider or
|
|
1061
|
-
region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and
|
|
1062
|
-
includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases
|
|
1063
|
-
may have a brief interruption during DNS propagation.
|
|
941
|
+
: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 service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart, and there might be a short downtime for services without an autoscaler integration or high availability capabilities. The field can be safely removed when autoscaler is enabled without causing any changes.
|
|
942
|
+
:param pulumi.Input[_builtins.str] cloud_name: The cloud provider and region the service is hosted in. The format is `provider-region`, for example: `google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ per project and service. Changing this value [migrates the service to another cloud provider or region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
|
|
1064
943
|
:param pulumi.Input[Sequence[pulumi.Input[Union['InfluxDbComponentArgs', 'InfluxDbComponentArgsDict']]]] components: Service component information objects
|
|
1065
|
-
:param pulumi.Input[_builtins.str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing
|
|
1066
|
-
will result in the service rebalancing.
|
|
944
|
+
: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 will result in the service rebalancing. Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.
|
|
1067
945
|
:param pulumi.Input[_builtins.str] disk_space_cap: The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
1068
|
-
:param pulumi.Input[_builtins.str] disk_space_default: The default disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
1069
|
-
|
|
1070
|
-
:param pulumi.Input[_builtins.str]
|
|
1071
|
-
|
|
1072
|
-
:param pulumi.Input[_builtins.str] disk_space_used: Disk space that service is currently using
|
|
1073
|
-
:param pulumi.Input[Union['InfluxDbInfluxdbUserConfigArgs', 'InfluxDbInfluxdbUserConfigArgsDict']] influxdb_user_config: Influxdb user configurable settings. **Warning:** There's no way to reset advanced configuration options to default.
|
|
1074
|
-
Options that you add cannot be removed later
|
|
946
|
+
: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. Its also the minimum value for `disk_space`
|
|
947
|
+
: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 project. `disk_space` needs to increment from `disk_space_default` by increments of this size.
|
|
948
|
+
:param pulumi.Input[_builtins.str] disk_space_used: The disk space that the service is currently using. This is the sum of `disk_space` and `additional_disk_space` in human-readable format (for example: `90GiB`).
|
|
949
|
+
: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. Options that you add cannot be removed later
|
|
1075
950
|
:param pulumi.Input[Sequence[pulumi.Input[Union['InfluxDbInfluxdbArgs', 'InfluxDbInfluxdbArgsDict']]]] influxdbs: InfluxDB server provided values
|
|
1076
951
|
:param pulumi.Input[_builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
952
|
+
:param pulumi.Input[_builtins.bool] maintenance_window_enabled: Indicates whether the maintenance window is currently enabled for this service.
|
|
1077
953
|
:param pulumi.Input[_builtins.str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
1078
|
-
:param pulumi.Input[_builtins.str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
`hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also
|
|
1082
|
-
other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available
|
|
1083
|
-
options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
1084
|
-
:param pulumi.Input[_builtins.str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a
|
|
1085
|
-
reference. Changing this property forces recreation of the resource.
|
|
1086
|
-
:param pulumi.Input[_builtins.str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set, the service runs on the Public Internet. When set,
|
|
1087
|
-
the value should be given as a reference to set up dependencies correctly, and the VPC must be in the same cloud and
|
|
1088
|
-
region as the service itself. The service can be freely moved to and from VPC after creation, but doing so triggers
|
|
1089
|
-
migration to new servers, so the operation can take a significant amount of time to complete if the service has a lot of
|
|
1090
|
-
data.
|
|
954
|
+
: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 are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
955
|
+
: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 reference. Changing this property forces recreation of the resource.
|
|
956
|
+
:param pulumi.Input[_builtins.str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set, the service runs on the Public Internet. When set, the value should be given as a reference to set up dependencies correctly, and the VPC must be in the same cloud and region as the service itself. The service can be freely moved to and from VPC after creation, but doing so triggers migration to new servers, so the operation can take a significant amount of time to complete if the service has a lot of data.
|
|
1091
957
|
:param pulumi.Input[_builtins.str] service_host: The hostname of the service.
|
|
1092
958
|
: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
|
|
1093
|
-
:param pulumi.Input[_builtins.str] service_name: Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the
|
|
1094
|
-
service so name should be picked based on intended service usage rather than current attributes.
|
|
959
|
+
: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 service so name should be picked based on intended service usage rather than current attributes.
|
|
1095
960
|
:param pulumi.Input[_builtins.str] service_password: Password used for connecting to the service, if applicable
|
|
1096
961
|
:param pulumi.Input[_builtins.int] service_port: The port of the service
|
|
1097
962
|
:param pulumi.Input[_builtins.str] service_type: Aiven internal service type code
|
|
1098
963
|
:param pulumi.Input[_builtins.str] service_uri: URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
1099
964
|
:param pulumi.Input[_builtins.str] service_username: Username used for connecting to the service, if applicable
|
|
1100
|
-
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] static_ips: Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a
|
|
1101
|
-
static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
965
|
+
: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 static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
1102
966
|
:param pulumi.Input[Sequence[pulumi.Input[Union['InfluxDbTagArgs', 'InfluxDbTagArgsDict']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
1103
|
-
:param pulumi.Input[Sequence[pulumi.Input[Union['InfluxDbTechEmailArgs', 'InfluxDbTechEmailArgsDict']]]] tech_emails: The email addresses for [service contacts](https://aiven.io/docs/platform/howto/technical-emails), who will receive
|
|
1104
|
-
|
|
1105
|
-
:param pulumi.Input[_builtins.bool] termination_protection: Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent
|
|
1106
|
-
unintentional service deletion. This does not shield against deleting databases or topics but for services with backups
|
|
1107
|
-
much of the content can at least be restored from backup in case accidental deletion is done.
|
|
967
|
+
: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 important alerts and updates about this service. You can also set email contacts at the project level.
|
|
968
|
+
: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 unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
|
|
1108
969
|
"""
|
|
1109
970
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
1110
971
|
|
|
@@ -1121,6 +982,7 @@ class InfluxDb(pulumi.CustomResource):
|
|
|
1121
982
|
__props__.__dict__["influxdb_user_config"] = influxdb_user_config
|
|
1122
983
|
__props__.__dict__["influxdbs"] = influxdbs
|
|
1123
984
|
__props__.__dict__["maintenance_window_dow"] = maintenance_window_dow
|
|
985
|
+
__props__.__dict__["maintenance_window_enabled"] = maintenance_window_enabled
|
|
1124
986
|
__props__.__dict__["maintenance_window_time"] = maintenance_window_time
|
|
1125
987
|
__props__.__dict__["plan"] = plan
|
|
1126
988
|
__props__.__dict__["project"] = project
|
|
@@ -1144,11 +1006,7 @@ class InfluxDb(pulumi.CustomResource):
|
|
|
1144
1006
|
@pulumi.getter(name="additionalDiskSpace")
|
|
1145
1007
|
def additional_disk_space(self) -> pulumi.Output[_builtins.str]:
|
|
1146
1008
|
"""
|
|
1147
|
-
Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30
|
|
1148
|
-
service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the
|
|
1149
|
-
service nodes to go through a rolling restart, and there might be a short downtime for services without an autoscaler
|
|
1150
|
-
integration or high availability capabilities. The field can be safely removed when autoscaler is enabled without
|
|
1151
|
-
causing any changes.
|
|
1009
|
+
Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart, and there might be a short downtime for services without an autoscaler integration or high availability capabilities. The field can be safely removed when autoscaler is enabled without causing any changes.
|
|
1152
1010
|
"""
|
|
1153
1011
|
return pulumi.get(self, "additional_disk_space")
|
|
1154
1012
|
|
|
@@ -1156,12 +1014,7 @@ class InfluxDb(pulumi.CustomResource):
|
|
|
1156
1014
|
@pulumi.getter(name="cloudName")
|
|
1157
1015
|
def cloud_name(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
1158
1016
|
"""
|
|
1159
|
-
The cloud provider and region the service is hosted in. The format is `provider-region`, for example:
|
|
1160
|
-
`google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ
|
|
1161
|
-
per project and service. Changing this value [migrates the service to another cloud provider or
|
|
1162
|
-
region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and
|
|
1163
|
-
includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases
|
|
1164
|
-
may have a brief interruption during DNS propagation.
|
|
1017
|
+
The cloud provider and region the service is hosted in. The format is `provider-region`, for example: `google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ per project and service. Changing this value [migrates the service to another cloud provider or region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
|
|
1165
1018
|
"""
|
|
1166
1019
|
return pulumi.get(self, "cloud_name")
|
|
1167
1020
|
|
|
@@ -1175,11 +1028,10 @@ class InfluxDb(pulumi.CustomResource):
|
|
|
1175
1028
|
|
|
1176
1029
|
@_builtins.property
|
|
1177
1030
|
@pulumi.getter(name="diskSpace")
|
|
1178
|
-
@_utilities.deprecated("""
|
|
1031
|
+
@_utilities.deprecated("""Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.""")
|
|
1179
1032
|
def disk_space(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
1180
1033
|
"""
|
|
1181
|
-
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing
|
|
1182
|
-
will result in the service rebalancing.
|
|
1034
|
+
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing. Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.
|
|
1183
1035
|
"""
|
|
1184
1036
|
return pulumi.get(self, "disk_space")
|
|
1185
1037
|
|
|
@@ -1195,8 +1047,7 @@ class InfluxDb(pulumi.CustomResource):
|
|
|
1195
1047
|
@pulumi.getter(name="diskSpaceDefault")
|
|
1196
1048
|
def disk_space_default(self) -> pulumi.Output[_builtins.str]:
|
|
1197
1049
|
"""
|
|
1198
|
-
The default disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
1199
|
-
Its also the minimum value for `disk_space`
|
|
1050
|
+
The default disk space of the service, possible values depend on the service type, the cloud provider and the project. Its also the minimum value for `disk_space`
|
|
1200
1051
|
"""
|
|
1201
1052
|
return pulumi.get(self, "disk_space_default")
|
|
1202
1053
|
|
|
@@ -1204,26 +1055,24 @@ class InfluxDb(pulumi.CustomResource):
|
|
|
1204
1055
|
@pulumi.getter(name="diskSpaceStep")
|
|
1205
1056
|
def disk_space_step(self) -> pulumi.Output[_builtins.str]:
|
|
1206
1057
|
"""
|
|
1207
|
-
The default disk space step of the service, possible values depend on the service type, the cloud provider and the
|
|
1208
|
-
project. `disk_space` needs to increment from `disk_space_default` by increments of this size.
|
|
1058
|
+
The default disk space step of the service, possible values depend on the service type, the cloud provider and the project. `disk_space` needs to increment from `disk_space_default` by increments of this size.
|
|
1209
1059
|
"""
|
|
1210
1060
|
return pulumi.get(self, "disk_space_step")
|
|
1211
1061
|
|
|
1212
1062
|
@_builtins.property
|
|
1213
1063
|
@pulumi.getter(name="diskSpaceUsed")
|
|
1214
|
-
@_utilities.deprecated("""This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""")
|
|
1215
1064
|
def disk_space_used(self) -> pulumi.Output[_builtins.str]:
|
|
1216
1065
|
"""
|
|
1217
|
-
|
|
1066
|
+
The disk space that the service is currently using. This is the sum of `disk_space` and `additional_disk_space` in human-readable format (for example: `90GiB`).
|
|
1218
1067
|
"""
|
|
1219
1068
|
return pulumi.get(self, "disk_space_used")
|
|
1220
1069
|
|
|
1221
1070
|
@_builtins.property
|
|
1222
1071
|
@pulumi.getter(name="influxdbUserConfig")
|
|
1072
|
+
@_utilities.deprecated("""This property is deprecated.""")
|
|
1223
1073
|
def influxdb_user_config(self) -> pulumi.Output[Optional['outputs.InfluxDbInfluxdbUserConfig']]:
|
|
1224
1074
|
"""
|
|
1225
|
-
Influxdb user configurable settings. **Warning:** There's no way to reset advanced configuration options to default.
|
|
1226
|
-
Options that you add cannot be removed later
|
|
1075
|
+
Influxdb user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
1227
1076
|
"""
|
|
1228
1077
|
return pulumi.get(self, "influxdb_user_config")
|
|
1229
1078
|
|
|
@@ -1243,6 +1092,14 @@ class InfluxDb(pulumi.CustomResource):
|
|
|
1243
1092
|
"""
|
|
1244
1093
|
return pulumi.get(self, "maintenance_window_dow")
|
|
1245
1094
|
|
|
1095
|
+
@_builtins.property
|
|
1096
|
+
@pulumi.getter(name="maintenanceWindowEnabled")
|
|
1097
|
+
def maintenance_window_enabled(self) -> pulumi.Output[_builtins.bool]:
|
|
1098
|
+
"""
|
|
1099
|
+
Indicates whether the maintenance window is currently enabled for this service.
|
|
1100
|
+
"""
|
|
1101
|
+
return pulumi.get(self, "maintenance_window_enabled")
|
|
1102
|
+
|
|
1246
1103
|
@_builtins.property
|
|
1247
1104
|
@pulumi.getter(name="maintenanceWindowTime")
|
|
1248
1105
|
def maintenance_window_time(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
@@ -1255,12 +1112,7 @@ class InfluxDb(pulumi.CustomResource):
|
|
|
1255
1112
|
@pulumi.getter
|
|
1256
1113
|
def plan(self) -> pulumi.Output[_builtins.str]:
|
|
1257
1114
|
"""
|
|
1258
|
-
Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there
|
|
1259
|
-
are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to
|
|
1260
|
-
store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
|
|
1261
|
-
`hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also
|
|
1262
|
-
other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available
|
|
1263
|
-
options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
1115
|
+
Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
1264
1116
|
"""
|
|
1265
1117
|
return pulumi.get(self, "plan")
|
|
1266
1118
|
|
|
@@ -1268,8 +1120,7 @@ class InfluxDb(pulumi.CustomResource):
|
|
|
1268
1120
|
@pulumi.getter
|
|
1269
1121
|
def project(self) -> pulumi.Output[_builtins.str]:
|
|
1270
1122
|
"""
|
|
1271
|
-
The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a
|
|
1272
|
-
reference. Changing this property forces recreation of the resource.
|
|
1123
|
+
The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
1273
1124
|
"""
|
|
1274
1125
|
return pulumi.get(self, "project")
|
|
1275
1126
|
|
|
@@ -1277,11 +1128,7 @@ class InfluxDb(pulumi.CustomResource):
|
|
|
1277
1128
|
@pulumi.getter(name="projectVpcId")
|
|
1278
1129
|
def project_vpc_id(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
1279
1130
|
"""
|
|
1280
|
-
Specifies the VPC the service should run in. If the value is not set, the service runs on the Public Internet. When set,
|
|
1281
|
-
the value should be given as a reference to set up dependencies correctly, and the VPC must be in the same cloud and
|
|
1282
|
-
region as the service itself. The service can be freely moved to and from VPC after creation, but doing so triggers
|
|
1283
|
-
migration to new servers, so the operation can take a significant amount of time to complete if the service has a lot of
|
|
1284
|
-
data.
|
|
1131
|
+
Specifies the VPC the service should run in. If the value is not set, the service runs on the Public Internet. When set, the value should be given as a reference to set up dependencies correctly, and the VPC must be in the same cloud and region as the service itself. The service can be freely moved to and from VPC after creation, but doing so triggers migration to new servers, so the operation can take a significant amount of time to complete if the service has a lot of data.
|
|
1285
1132
|
"""
|
|
1286
1133
|
return pulumi.get(self, "project_vpc_id")
|
|
1287
1134
|
|
|
@@ -1305,8 +1152,7 @@ class InfluxDb(pulumi.CustomResource):
|
|
|
1305
1152
|
@pulumi.getter(name="serviceName")
|
|
1306
1153
|
def service_name(self) -> pulumi.Output[_builtins.str]:
|
|
1307
1154
|
"""
|
|
1308
|
-
Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the
|
|
1309
|
-
service so name should be picked based on intended service usage rather than current attributes.
|
|
1155
|
+
Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
|
|
1310
1156
|
"""
|
|
1311
1157
|
return pulumi.get(self, "service_name")
|
|
1312
1158
|
|
|
@@ -1359,8 +1205,7 @@ class InfluxDb(pulumi.CustomResource):
|
|
|
1359
1205
|
@pulumi.getter(name="staticIps")
|
|
1360
1206
|
def static_ips(self) -> pulumi.Output[Optional[Sequence[_builtins.str]]]:
|
|
1361
1207
|
"""
|
|
1362
|
-
Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a
|
|
1363
|
-
static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
1208
|
+
Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
1364
1209
|
"""
|
|
1365
1210
|
return pulumi.get(self, "static_ips")
|
|
1366
1211
|
|
|
@@ -1376,8 +1221,7 @@ class InfluxDb(pulumi.CustomResource):
|
|
|
1376
1221
|
@pulumi.getter(name="techEmails")
|
|
1377
1222
|
def tech_emails(self) -> pulumi.Output[Optional[Sequence['outputs.InfluxDbTechEmail']]]:
|
|
1378
1223
|
"""
|
|
1379
|
-
The email addresses for [service contacts](https://aiven.io/docs/platform/howto/technical-emails), who will receive
|
|
1380
|
-
important alerts and updates about this service. You can also set email contacts at the project level.
|
|
1224
|
+
The email addresses for [service contacts](https://aiven.io/docs/platform/howto/technical-emails), who will receive important alerts and updates about this service. You can also set email contacts at the project level.
|
|
1381
1225
|
"""
|
|
1382
1226
|
return pulumi.get(self, "tech_emails")
|
|
1383
1227
|
|
|
@@ -1385,9 +1229,7 @@ class InfluxDb(pulumi.CustomResource):
|
|
|
1385
1229
|
@pulumi.getter(name="terminationProtection")
|
|
1386
1230
|
def termination_protection(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
|
1387
1231
|
"""
|
|
1388
|
-
Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent
|
|
1389
|
-
unintentional service deletion. This does not shield against deleting databases or topics but for services with backups
|
|
1390
|
-
much of the content can at least be restored from backup in case accidental deletion is done.
|
|
1232
|
+
Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
|
|
1391
1233
|
"""
|
|
1392
1234
|
return pulumi.get(self, "termination_protection")
|
|
1393
1235
|
|