pulumi-aiven 6.13.0a1709702245__py3-none-any.whl → 6.31.0a1736831339__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-aiven might be problematic. Click here for more details.
- pulumi_aiven/__init__.py +127 -0
- pulumi_aiven/_inputs.py +32826 -13922
- pulumi_aiven/_utilities.py +41 -5
- pulumi_aiven/account.py +34 -43
- pulumi_aiven/account_authentication.py +24 -9
- pulumi_aiven/account_team.py +37 -12
- pulumi_aiven/account_team_member.py +48 -35
- pulumi_aiven/account_team_project.py +42 -25
- pulumi_aiven/alloydbomni.py +1335 -0
- pulumi_aiven/alloydbomni_database.py +347 -0
- pulumi_aiven/alloydbomni_user.py +433 -0
- pulumi_aiven/aws_privatelink.py +44 -39
- pulumi_aiven/aws_vpc_peering_connection.py +72 -57
- pulumi_aiven/azure_privatelink.py +54 -49
- pulumi_aiven/azure_privatelink_connection_approval.py +136 -33
- pulumi_aiven/azure_vpc_peering_connection.py +86 -73
- pulumi_aiven/billing_group.py +33 -30
- pulumi_aiven/cassandra.py +145 -122
- pulumi_aiven/cassandra_user.py +59 -54
- pulumi_aiven/clickhouse.py +133 -110
- pulumi_aiven/clickhouse_database.py +58 -58
- pulumi_aiven/clickhouse_grant.py +135 -130
- pulumi_aiven/clickhouse_role.py +36 -45
- pulumi_aiven/clickhouse_user.py +50 -45
- pulumi_aiven/config/__init__.pyi +5 -0
- pulumi_aiven/config/vars.py +5 -0
- pulumi_aiven/connection_pool.py +67 -62
- pulumi_aiven/dragonfly.py +1256 -0
- pulumi_aiven/flink.py +104 -100
- pulumi_aiven/flink_application.py +58 -51
- pulumi_aiven/flink_application_deployment.py +178 -73
- pulumi_aiven/flink_application_version.py +179 -96
- pulumi_aiven/gcp_privatelink.py +69 -42
- pulumi_aiven/gcp_privatelink_connection_approval.py +78 -49
- pulumi_aiven/gcp_vpc_peering_connection.py +49 -44
- pulumi_aiven/get_account.py +20 -5
- pulumi_aiven/get_account_authentication.py +31 -5
- pulumi_aiven/get_account_team.py +18 -5
- pulumi_aiven/get_account_team_member.py +29 -14
- pulumi_aiven/get_account_team_project.py +19 -6
- pulumi_aiven/get_alloydbomni.py +499 -0
- pulumi_aiven/get_alloydbomni_database.py +168 -0
- pulumi_aiven/get_alloydbomni_user.py +210 -0
- pulumi_aiven/get_aws_privatelink.py +33 -20
- pulumi_aiven/get_aws_vpc_peering_connection.py +56 -29
- pulumi_aiven/get_azure_privatelink.py +37 -22
- pulumi_aiven/get_azure_vpc_peering_connection.py +77 -28
- pulumi_aiven/get_billing_group.py +31 -8
- pulumi_aiven/get_cassanda.py +55 -19
- pulumi_aiven/get_cassandra.py +55 -19
- pulumi_aiven/get_cassandra_user.py +42 -26
- pulumi_aiven/get_clickhouse.py +55 -19
- pulumi_aiven/get_clickhouse_database.py +35 -22
- pulumi_aiven/get_clickhouse_user.py +40 -25
- pulumi_aiven/get_connection_pool.py +43 -26
- pulumi_aiven/get_dragonfly.py +499 -0
- pulumi_aiven/get_external_identity.py +160 -0
- pulumi_aiven/get_flink.py +55 -19
- pulumi_aiven/get_flink_application.py +44 -27
- pulumi_aiven/get_flink_application_version.py +55 -33
- pulumi_aiven/get_gcp_privatelink.py +63 -7
- pulumi_aiven/get_gcp_vpc_peering_connection.py +39 -24
- pulumi_aiven/get_grafana.py +55 -19
- pulumi_aiven/get_influx_db.py +41 -5
- pulumi_aiven/get_influxdb_database.py +18 -5
- pulumi_aiven/get_influxdb_user.py +21 -5
- pulumi_aiven/get_kafka.py +59 -21
- pulumi_aiven/get_kafka_acl.py +50 -33
- pulumi_aiven/get_kafka_connect.py +54 -32
- pulumi_aiven/get_kafka_connector.py +44 -24
- pulumi_aiven/get_kafka_mirror_maker.py +50 -28
- pulumi_aiven/get_kafka_schema.py +35 -19
- pulumi_aiven/get_kafka_schema_configuration.py +32 -17
- pulumi_aiven/get_kafka_schema_registry_acl.py +37 -20
- pulumi_aiven/get_kafka_topic.py +70 -25
- pulumi_aiven/get_kafka_user.py +42 -26
- pulumi_aiven/get_m3_aggregator.py +51 -15
- pulumi_aiven/get_m3_db.py +55 -19
- pulumi_aiven/get_m3db_user.py +38 -24
- pulumi_aiven/get_mirror_maker_replication_flow.py +86 -21
- pulumi_aiven/get_my_sql.py +50 -14
- pulumi_aiven/get_mysql_database.py +31 -18
- pulumi_aiven/get_mysql_user.py +36 -19
- pulumi_aiven/get_open_search.py +50 -14
- pulumi_aiven/get_open_search_acl_config.py +27 -15
- pulumi_aiven/get_open_search_acl_rule.py +37 -21
- pulumi_aiven/get_opensearch_security_plugin_config.py +29 -15
- pulumi_aiven/get_opensearch_user.py +32 -18
- pulumi_aiven/get_organization.py +25 -13
- pulumi_aiven/get_organization_application_user.py +176 -0
- pulumi_aiven/get_organization_user.py +18 -5
- pulumi_aiven/get_organization_user_group.py +48 -14
- pulumi_aiven/get_organization_user_list.py +121 -0
- pulumi_aiven/get_organizational_unit.py +26 -14
- pulumi_aiven/get_pg.py +55 -19
- pulumi_aiven/get_pg_database.py +39 -24
- pulumi_aiven/get_pg_user.py +44 -27
- pulumi_aiven/get_project.py +43 -22
- pulumi_aiven/get_project_user.py +27 -15
- pulumi_aiven/get_project_vpc.py +31 -19
- pulumi_aiven/get_redis.py +50 -14
- pulumi_aiven/get_redis_user.py +40 -22
- pulumi_aiven/get_service_component.py +40 -18
- pulumi_aiven/get_service_integration.py +163 -49
- pulumi_aiven/get_service_integration_endpoint.py +128 -33
- pulumi_aiven/get_thanos.py +499 -0
- pulumi_aiven/get_transit_gateway_vpc_attachment.py +35 -18
- pulumi_aiven/get_valkey.py +499 -0
- pulumi_aiven/get_valkey_user.py +218 -0
- pulumi_aiven/grafana.py +188 -318
- pulumi_aiven/influx_db.py +127 -90
- pulumi_aiven/influxdb_database.py +40 -55
- pulumi_aiven/influxdb_user.py +47 -42
- pulumi_aiven/kafka.py +157 -140
- pulumi_aiven/kafka_acl.py +64 -53
- pulumi_aiven/kafka_connect.py +201 -328
- pulumi_aiven/kafka_connector.py +67 -56
- pulumi_aiven/kafka_mirror_maker.py +139 -318
- pulumi_aiven/kafka_native_acl.py +588 -0
- pulumi_aiven/kafka_schema.py +65 -56
- pulumi_aiven/kafka_schema_configuration.py +25 -20
- pulumi_aiven/kafka_schema_registry_acl.py +80 -35
- pulumi_aiven/kafka_topic.py +184 -65
- pulumi_aiven/kafka_user.py +59 -54
- pulumi_aiven/m3_aggregator.py +176 -308
- pulumi_aiven/m3_db.py +190 -322
- pulumi_aiven/m3db_user.py +51 -46
- pulumi_aiven/mirror_maker_replication_flow.py +217 -53
- pulumi_aiven/my_sql.py +190 -322
- pulumi_aiven/mysql_database.py +32 -47
- pulumi_aiven/mysql_user.py +37 -32
- pulumi_aiven/open_search.py +128 -105
- pulumi_aiven/open_search_acl_config.py +33 -32
- pulumi_aiven/open_search_acl_rule.py +55 -50
- pulumi_aiven/opensearch_security_plugin_config.py +69 -16
- pulumi_aiven/opensearch_user.py +30 -25
- pulumi_aiven/organization.py +18 -13
- pulumi_aiven/organization_application_user.py +345 -0
- pulumi_aiven/organization_application_user_token.py +711 -0
- pulumi_aiven/organization_group_project.py +349 -0
- pulumi_aiven/organization_permission.py +421 -0
- pulumi_aiven/organization_user.py +25 -46
- pulumi_aiven/organization_user_group.py +64 -23
- pulumi_aiven/organization_user_group_member.py +359 -0
- pulumi_aiven/organizational_unit.py +41 -32
- pulumi_aiven/outputs.py +38509 -21612
- pulumi_aiven/pg.py +92 -88
- pulumi_aiven/pg_database.py +52 -67
- pulumi_aiven/pg_user.py +80 -61
- pulumi_aiven/project.py +111 -102
- pulumi_aiven/project_user.py +44 -31
- pulumi_aiven/project_vpc.py +58 -29
- pulumi_aiven/provider.py +5 -0
- pulumi_aiven/pulumi-plugin.json +2 -1
- pulumi_aiven/redis.py +163 -295
- pulumi_aiven/redis_user.py +58 -53
- pulumi_aiven/service_integration.py +511 -161
- pulumi_aiven/service_integration_endpoint.py +466 -158
- pulumi_aiven/static_ip.py +21 -16
- pulumi_aiven/thanos.py +1262 -0
- pulumi_aiven/transit_gateway_vpc_attachment.py +44 -54
- pulumi_aiven/valkey.py +1256 -0
- pulumi_aiven/valkey_user.py +606 -0
- {pulumi_aiven-6.13.0a1709702245.dist-info → pulumi_aiven-6.31.0a1736831339.dist-info}/METADATA +7 -6
- pulumi_aiven-6.31.0a1736831339.dist-info/RECORD +169 -0
- {pulumi_aiven-6.13.0a1709702245.dist-info → pulumi_aiven-6.31.0a1736831339.dist-info}/WHEEL +1 -1
- pulumi_aiven-6.13.0a1709702245.dist-info/RECORD +0 -146
- {pulumi_aiven-6.13.0a1709702245.dist-info → pulumi_aiven-6.31.0a1736831339.dist-info}/top_level.txt +0 -0
pulumi_aiven/flink.py
CHANGED
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
10
15
|
from . import _utilities
|
|
11
16
|
from . import outputs
|
|
12
17
|
from ._inputs import *
|
|
@@ -34,21 +39,21 @@ class FlinkArgs:
|
|
|
34
39
|
termination_protection: Optional[pulumi.Input[bool]] = None):
|
|
35
40
|
"""
|
|
36
41
|
The set of arguments for constructing a Flink resource.
|
|
37
|
-
:param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be
|
|
38
|
-
:param pulumi.Input[str] project:
|
|
42
|
+
:param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
43
|
+
:param pulumi.Input[str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
39
44
|
:param pulumi.Input[str] service_name: Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
|
|
40
|
-
:param pulumi.Input[str] additional_disk_space:
|
|
45
|
+
:param pulumi.Input[str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
|
|
41
46
|
:param pulumi.Input[str] cloud_name: Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like [here for Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
42
47
|
:param pulumi.Input[str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
43
|
-
:param pulumi.Input['FlinkFlinkArgs'] flink:
|
|
44
|
-
:param pulumi.Input['FlinkFlinkUserConfigArgs'] flink_user_config: Flink user configurable settings
|
|
48
|
+
:param pulumi.Input['FlinkFlinkArgs'] flink: Values provided by the Flink server.
|
|
49
|
+
:param pulumi.Input['FlinkFlinkUserConfigArgs'] flink_user_config: Flink user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
45
50
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
46
51
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
47
52
|
:param pulumi.Input[str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
48
53
|
:param pulumi.Input[Sequence[pulumi.Input['FlinkServiceIntegrationArgs']]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
49
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips:
|
|
54
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
50
55
|
:param pulumi.Input[Sequence[pulumi.Input['FlinkTagArgs']]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
51
|
-
:param pulumi.Input[Sequence[pulumi.Input['FlinkTechEmailArgs']]] tech_emails:
|
|
56
|
+
:param pulumi.Input[Sequence[pulumi.Input['FlinkTechEmailArgs']]] 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.
|
|
52
57
|
:param pulumi.Input[bool] termination_protection: Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
|
|
53
58
|
"""
|
|
54
59
|
pulumi.set(__self__, "plan", plan)
|
|
@@ -88,7 +93,7 @@ class FlinkArgs:
|
|
|
88
93
|
@pulumi.getter
|
|
89
94
|
def plan(self) -> pulumi.Input[str]:
|
|
90
95
|
"""
|
|
91
|
-
Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be
|
|
96
|
+
Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
92
97
|
"""
|
|
93
98
|
return pulumi.get(self, "plan")
|
|
94
99
|
|
|
@@ -100,7 +105,7 @@ class FlinkArgs:
|
|
|
100
105
|
@pulumi.getter
|
|
101
106
|
def project(self) -> pulumi.Input[str]:
|
|
102
107
|
"""
|
|
103
|
-
|
|
108
|
+
The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
104
109
|
"""
|
|
105
110
|
return pulumi.get(self, "project")
|
|
106
111
|
|
|
@@ -124,7 +129,7 @@ class FlinkArgs:
|
|
|
124
129
|
@pulumi.getter(name="additionalDiskSpace")
|
|
125
130
|
def additional_disk_space(self) -> Optional[pulumi.Input[str]]:
|
|
126
131
|
"""
|
|
127
|
-
|
|
132
|
+
Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
|
|
128
133
|
"""
|
|
129
134
|
return pulumi.get(self, "additional_disk_space")
|
|
130
135
|
|
|
@@ -146,13 +151,11 @@ class FlinkArgs:
|
|
|
146
151
|
|
|
147
152
|
@property
|
|
148
153
|
@pulumi.getter(name="diskSpace")
|
|
154
|
+
@_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.""")
|
|
149
155
|
def disk_space(self) -> Optional[pulumi.Input[str]]:
|
|
150
156
|
"""
|
|
151
157
|
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
152
158
|
"""
|
|
153
|
-
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)
|
|
154
|
-
pulumi.log.warn("""disk_space is deprecated: This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""")
|
|
155
|
-
|
|
156
159
|
return pulumi.get(self, "disk_space")
|
|
157
160
|
|
|
158
161
|
@disk_space.setter
|
|
@@ -163,7 +166,7 @@ class FlinkArgs:
|
|
|
163
166
|
@pulumi.getter
|
|
164
167
|
def flink(self) -> Optional[pulumi.Input['FlinkFlinkArgs']]:
|
|
165
168
|
"""
|
|
166
|
-
|
|
169
|
+
Values provided by the Flink server.
|
|
167
170
|
"""
|
|
168
171
|
return pulumi.get(self, "flink")
|
|
169
172
|
|
|
@@ -175,7 +178,7 @@ class FlinkArgs:
|
|
|
175
178
|
@pulumi.getter(name="flinkUserConfig")
|
|
176
179
|
def flink_user_config(self) -> Optional[pulumi.Input['FlinkFlinkUserConfigArgs']]:
|
|
177
180
|
"""
|
|
178
|
-
Flink user configurable settings
|
|
181
|
+
Flink user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
179
182
|
"""
|
|
180
183
|
return pulumi.get(self, "flink_user_config")
|
|
181
184
|
|
|
@@ -235,7 +238,7 @@ class FlinkArgs:
|
|
|
235
238
|
@pulumi.getter(name="staticIps")
|
|
236
239
|
def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
237
240
|
"""
|
|
238
|
-
|
|
241
|
+
Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
239
242
|
"""
|
|
240
243
|
return pulumi.get(self, "static_ips")
|
|
241
244
|
|
|
@@ -259,7 +262,7 @@ class FlinkArgs:
|
|
|
259
262
|
@pulumi.getter(name="techEmails")
|
|
260
263
|
def tech_emails(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['FlinkTechEmailArgs']]]]:
|
|
261
264
|
"""
|
|
262
|
-
|
|
265
|
+
The email addresses for [service contacts](https://aiven.io/docs/platform/howto/technical-emails), who will receive important alerts and updates about this service. You can also set email contacts at the project level.
|
|
263
266
|
"""
|
|
264
267
|
return pulumi.get(self, "tech_emails")
|
|
265
268
|
|
|
@@ -313,7 +316,7 @@ class _FlinkState:
|
|
|
313
316
|
termination_protection: Optional[pulumi.Input[bool]] = None):
|
|
314
317
|
"""
|
|
315
318
|
Input properties used for looking up and filtering Flink resources.
|
|
316
|
-
:param pulumi.Input[str] additional_disk_space:
|
|
319
|
+
:param pulumi.Input[str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
|
|
317
320
|
:param pulumi.Input[str] cloud_name: Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like [here for Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
318
321
|
:param pulumi.Input[Sequence[pulumi.Input['FlinkComponentArgs']]] components: Service component information objects
|
|
319
322
|
:param pulumi.Input[str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
@@ -321,12 +324,12 @@ class _FlinkState:
|
|
|
321
324
|
:param pulumi.Input[str] disk_space_default: The default disk space of the service, possible values depend on the service type, the cloud provider and the project. Its also the minimum value for `disk_space`
|
|
322
325
|
:param pulumi.Input[str] disk_space_step: The default disk space step of the service, possible values depend on the service type, the cloud provider and the project. `disk_space` needs to increment from `disk_space_default` by increments of this size.
|
|
323
326
|
:param pulumi.Input[str] disk_space_used: Disk space that service is currently using
|
|
324
|
-
:param pulumi.Input['FlinkFlinkArgs'] flink:
|
|
325
|
-
:param pulumi.Input['FlinkFlinkUserConfigArgs'] flink_user_config: Flink user configurable settings
|
|
327
|
+
:param pulumi.Input['FlinkFlinkArgs'] flink: Values provided by the Flink server.
|
|
328
|
+
:param pulumi.Input['FlinkFlinkUserConfigArgs'] flink_user_config: Flink user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
326
329
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
327
330
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
328
|
-
:param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be
|
|
329
|
-
:param pulumi.Input[str] project:
|
|
331
|
+
:param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
332
|
+
:param pulumi.Input[str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
330
333
|
:param pulumi.Input[str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
331
334
|
:param pulumi.Input[str] service_host: The hostname of the service.
|
|
332
335
|
:param pulumi.Input[Sequence[pulumi.Input['FlinkServiceIntegrationArgs']]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
@@ -337,9 +340,9 @@ class _FlinkState:
|
|
|
337
340
|
:param pulumi.Input[str] service_uri: URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
338
341
|
:param pulumi.Input[str] service_username: Username used for connecting to the service, if applicable
|
|
339
342
|
:param pulumi.Input[str] state: Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
340
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips:
|
|
343
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
341
344
|
:param pulumi.Input[Sequence[pulumi.Input['FlinkTagArgs']]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
342
|
-
:param pulumi.Input[Sequence[pulumi.Input['FlinkTechEmailArgs']]] tech_emails:
|
|
345
|
+
:param pulumi.Input[Sequence[pulumi.Input['FlinkTechEmailArgs']]] 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.
|
|
343
346
|
:param pulumi.Input[bool] termination_protection: Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
|
|
344
347
|
"""
|
|
345
348
|
if additional_disk_space is not None:
|
|
@@ -359,6 +362,9 @@ class _FlinkState:
|
|
|
359
362
|
pulumi.set(__self__, "disk_space_default", disk_space_default)
|
|
360
363
|
if disk_space_step is not None:
|
|
361
364
|
pulumi.set(__self__, "disk_space_step", disk_space_step)
|
|
365
|
+
if disk_space_used is not None:
|
|
366
|
+
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)
|
|
367
|
+
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.""")
|
|
362
368
|
if disk_space_used is not None:
|
|
363
369
|
pulumi.set(__self__, "disk_space_used", disk_space_used)
|
|
364
370
|
if flink is not None:
|
|
@@ -406,7 +412,7 @@ class _FlinkState:
|
|
|
406
412
|
@pulumi.getter(name="additionalDiskSpace")
|
|
407
413
|
def additional_disk_space(self) -> Optional[pulumi.Input[str]]:
|
|
408
414
|
"""
|
|
409
|
-
|
|
415
|
+
Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
|
|
410
416
|
"""
|
|
411
417
|
return pulumi.get(self, "additional_disk_space")
|
|
412
418
|
|
|
@@ -440,13 +446,11 @@ class _FlinkState:
|
|
|
440
446
|
|
|
441
447
|
@property
|
|
442
448
|
@pulumi.getter(name="diskSpace")
|
|
449
|
+
@_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.""")
|
|
443
450
|
def disk_space(self) -> Optional[pulumi.Input[str]]:
|
|
444
451
|
"""
|
|
445
452
|
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
446
453
|
"""
|
|
447
|
-
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)
|
|
448
|
-
pulumi.log.warn("""disk_space is deprecated: This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""")
|
|
449
|
-
|
|
450
454
|
return pulumi.get(self, "disk_space")
|
|
451
455
|
|
|
452
456
|
@disk_space.setter
|
|
@@ -491,6 +495,7 @@ class _FlinkState:
|
|
|
491
495
|
|
|
492
496
|
@property
|
|
493
497
|
@pulumi.getter(name="diskSpaceUsed")
|
|
498
|
+
@_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.""")
|
|
494
499
|
def disk_space_used(self) -> Optional[pulumi.Input[str]]:
|
|
495
500
|
"""
|
|
496
501
|
Disk space that service is currently using
|
|
@@ -505,7 +510,7 @@ class _FlinkState:
|
|
|
505
510
|
@pulumi.getter
|
|
506
511
|
def flink(self) -> Optional[pulumi.Input['FlinkFlinkArgs']]:
|
|
507
512
|
"""
|
|
508
|
-
|
|
513
|
+
Values provided by the Flink server.
|
|
509
514
|
"""
|
|
510
515
|
return pulumi.get(self, "flink")
|
|
511
516
|
|
|
@@ -517,7 +522,7 @@ class _FlinkState:
|
|
|
517
522
|
@pulumi.getter(name="flinkUserConfig")
|
|
518
523
|
def flink_user_config(self) -> Optional[pulumi.Input['FlinkFlinkUserConfigArgs']]:
|
|
519
524
|
"""
|
|
520
|
-
Flink user configurable settings
|
|
525
|
+
Flink user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
521
526
|
"""
|
|
522
527
|
return pulumi.get(self, "flink_user_config")
|
|
523
528
|
|
|
@@ -553,7 +558,7 @@ class _FlinkState:
|
|
|
553
558
|
@pulumi.getter
|
|
554
559
|
def plan(self) -> Optional[pulumi.Input[str]]:
|
|
555
560
|
"""
|
|
556
|
-
Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be
|
|
561
|
+
Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
557
562
|
"""
|
|
558
563
|
return pulumi.get(self, "plan")
|
|
559
564
|
|
|
@@ -565,7 +570,7 @@ class _FlinkState:
|
|
|
565
570
|
@pulumi.getter
|
|
566
571
|
def project(self) -> Optional[pulumi.Input[str]]:
|
|
567
572
|
"""
|
|
568
|
-
|
|
573
|
+
The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
569
574
|
"""
|
|
570
575
|
return pulumi.get(self, "project")
|
|
571
576
|
|
|
@@ -697,7 +702,7 @@ class _FlinkState:
|
|
|
697
702
|
@pulumi.getter(name="staticIps")
|
|
698
703
|
def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
699
704
|
"""
|
|
700
|
-
|
|
705
|
+
Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
701
706
|
"""
|
|
702
707
|
return pulumi.get(self, "static_ips")
|
|
703
708
|
|
|
@@ -721,7 +726,7 @@ class _FlinkState:
|
|
|
721
726
|
@pulumi.getter(name="techEmails")
|
|
722
727
|
def tech_emails(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['FlinkTechEmailArgs']]]]:
|
|
723
728
|
"""
|
|
724
|
-
|
|
729
|
+
The email addresses for [service contacts](https://aiven.io/docs/platform/howto/technical-emails), who will receive important alerts and updates about this service. You can also set email contacts at the project level.
|
|
725
730
|
"""
|
|
726
731
|
return pulumi.get(self, "tech_emails")
|
|
727
732
|
|
|
@@ -750,22 +755,22 @@ class Flink(pulumi.CustomResource):
|
|
|
750
755
|
additional_disk_space: Optional[pulumi.Input[str]] = None,
|
|
751
756
|
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
752
757
|
disk_space: Optional[pulumi.Input[str]] = None,
|
|
753
|
-
flink: Optional[pulumi.Input[
|
|
754
|
-
flink_user_config: Optional[pulumi.Input[
|
|
758
|
+
flink: Optional[pulumi.Input[Union['FlinkFlinkArgs', 'FlinkFlinkArgsDict']]] = None,
|
|
759
|
+
flink_user_config: Optional[pulumi.Input[Union['FlinkFlinkUserConfigArgs', 'FlinkFlinkUserConfigArgsDict']]] = None,
|
|
755
760
|
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
756
761
|
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
757
762
|
plan: Optional[pulumi.Input[str]] = None,
|
|
758
763
|
project: Optional[pulumi.Input[str]] = None,
|
|
759
764
|
project_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
760
|
-
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
765
|
+
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['FlinkServiceIntegrationArgs', 'FlinkServiceIntegrationArgsDict']]]]] = None,
|
|
761
766
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
762
767
|
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
763
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
764
|
-
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
768
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['FlinkTagArgs', 'FlinkTagArgsDict']]]]] = None,
|
|
769
|
+
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['FlinkTechEmailArgs', 'FlinkTechEmailArgsDict']]]]] = None,
|
|
765
770
|
termination_protection: Optional[pulumi.Input[bool]] = None,
|
|
766
771
|
__props__=None):
|
|
767
772
|
"""
|
|
768
|
-
|
|
773
|
+
Creates and manages an [Aiven for Apache Flink® service](https://aiven.io/docs/products/flink/concepts/flink-features).
|
|
769
774
|
|
|
770
775
|
## Example Usage
|
|
771
776
|
|
|
@@ -773,41 +778,41 @@ class Flink(pulumi.CustomResource):
|
|
|
773
778
|
import pulumi
|
|
774
779
|
import pulumi_aiven as aiven
|
|
775
780
|
|
|
776
|
-
|
|
777
|
-
project=
|
|
781
|
+
example_flink = aiven.Flink("example_flink",
|
|
782
|
+
project=example_project["project"],
|
|
778
783
|
cloud_name="google-europe-west1",
|
|
779
784
|
plan="business-4",
|
|
780
|
-
service_name="
|
|
785
|
+
service_name="example-flink-service",
|
|
781
786
|
maintenance_window_dow="monday",
|
|
782
787
|
maintenance_window_time="10:00:00",
|
|
783
|
-
flink_user_config=
|
|
784
|
-
flink_version
|
|
785
|
-
)
|
|
788
|
+
flink_user_config={
|
|
789
|
+
"flink_version": "1.19",
|
|
790
|
+
})
|
|
786
791
|
```
|
|
787
792
|
|
|
788
793
|
## Import
|
|
789
794
|
|
|
790
795
|
```sh
|
|
791
|
-
|
|
796
|
+
$ pulumi import aiven:index/flink:Flink example_flink PROJECT/SERVICE_NAME
|
|
792
797
|
```
|
|
793
798
|
|
|
794
799
|
:param str resource_name: The name of the resource.
|
|
795
800
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
796
|
-
:param pulumi.Input[str] additional_disk_space:
|
|
801
|
+
:param pulumi.Input[str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
|
|
797
802
|
:param pulumi.Input[str] cloud_name: Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like [here for Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
798
803
|
:param pulumi.Input[str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
799
|
-
:param pulumi.Input[
|
|
800
|
-
:param pulumi.Input[
|
|
804
|
+
:param pulumi.Input[Union['FlinkFlinkArgs', 'FlinkFlinkArgsDict']] flink: Values provided by the Flink server.
|
|
805
|
+
:param pulumi.Input[Union['FlinkFlinkUserConfigArgs', 'FlinkFlinkUserConfigArgsDict']] flink_user_config: Flink user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
801
806
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
802
807
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
803
|
-
:param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be
|
|
804
|
-
:param pulumi.Input[str] project:
|
|
808
|
+
:param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
809
|
+
:param pulumi.Input[str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
805
810
|
:param pulumi.Input[str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
806
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
811
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['FlinkServiceIntegrationArgs', 'FlinkServiceIntegrationArgsDict']]]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
807
812
|
:param pulumi.Input[str] service_name: Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
|
|
808
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips:
|
|
809
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
810
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
813
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
814
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['FlinkTagArgs', 'FlinkTagArgsDict']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
815
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['FlinkTechEmailArgs', 'FlinkTechEmailArgsDict']]]] 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.
|
|
811
816
|
:param pulumi.Input[bool] termination_protection: Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
|
|
812
817
|
"""
|
|
813
818
|
...
|
|
@@ -817,7 +822,7 @@ class Flink(pulumi.CustomResource):
|
|
|
817
822
|
args: FlinkArgs,
|
|
818
823
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
819
824
|
"""
|
|
820
|
-
|
|
825
|
+
Creates and manages an [Aiven for Apache Flink® service](https://aiven.io/docs/products/flink/concepts/flink-features).
|
|
821
826
|
|
|
822
827
|
## Example Usage
|
|
823
828
|
|
|
@@ -825,22 +830,22 @@ class Flink(pulumi.CustomResource):
|
|
|
825
830
|
import pulumi
|
|
826
831
|
import pulumi_aiven as aiven
|
|
827
832
|
|
|
828
|
-
|
|
829
|
-
project=
|
|
833
|
+
example_flink = aiven.Flink("example_flink",
|
|
834
|
+
project=example_project["project"],
|
|
830
835
|
cloud_name="google-europe-west1",
|
|
831
836
|
plan="business-4",
|
|
832
|
-
service_name="
|
|
837
|
+
service_name="example-flink-service",
|
|
833
838
|
maintenance_window_dow="monday",
|
|
834
839
|
maintenance_window_time="10:00:00",
|
|
835
|
-
flink_user_config=
|
|
836
|
-
flink_version
|
|
837
|
-
)
|
|
840
|
+
flink_user_config={
|
|
841
|
+
"flink_version": "1.19",
|
|
842
|
+
})
|
|
838
843
|
```
|
|
839
844
|
|
|
840
845
|
## Import
|
|
841
846
|
|
|
842
847
|
```sh
|
|
843
|
-
|
|
848
|
+
$ pulumi import aiven:index/flink:Flink example_flink PROJECT/SERVICE_NAME
|
|
844
849
|
```
|
|
845
850
|
|
|
846
851
|
:param str resource_name: The name of the resource.
|
|
@@ -861,18 +866,18 @@ class Flink(pulumi.CustomResource):
|
|
|
861
866
|
additional_disk_space: Optional[pulumi.Input[str]] = None,
|
|
862
867
|
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
863
868
|
disk_space: Optional[pulumi.Input[str]] = None,
|
|
864
|
-
flink: Optional[pulumi.Input[
|
|
865
|
-
flink_user_config: Optional[pulumi.Input[
|
|
869
|
+
flink: Optional[pulumi.Input[Union['FlinkFlinkArgs', 'FlinkFlinkArgsDict']]] = None,
|
|
870
|
+
flink_user_config: Optional[pulumi.Input[Union['FlinkFlinkUserConfigArgs', 'FlinkFlinkUserConfigArgsDict']]] = None,
|
|
866
871
|
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
867
872
|
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
868
873
|
plan: Optional[pulumi.Input[str]] = None,
|
|
869
874
|
project: Optional[pulumi.Input[str]] = None,
|
|
870
875
|
project_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
871
|
-
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
876
|
+
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['FlinkServiceIntegrationArgs', 'FlinkServiceIntegrationArgsDict']]]]] = None,
|
|
872
877
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
873
878
|
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
874
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
875
|
-
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
879
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['FlinkTagArgs', 'FlinkTagArgsDict']]]]] = None,
|
|
880
|
+
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['FlinkTechEmailArgs', 'FlinkTechEmailArgsDict']]]]] = None,
|
|
876
881
|
termination_protection: Optional[pulumi.Input[bool]] = None,
|
|
877
882
|
__props__=None):
|
|
878
883
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
@@ -886,7 +891,7 @@ class Flink(pulumi.CustomResource):
|
|
|
886
891
|
__props__.__dict__["additional_disk_space"] = additional_disk_space
|
|
887
892
|
__props__.__dict__["cloud_name"] = cloud_name
|
|
888
893
|
__props__.__dict__["disk_space"] = disk_space
|
|
889
|
-
__props__.__dict__["flink"] = flink
|
|
894
|
+
__props__.__dict__["flink"] = None if flink is None else pulumi.Output.secret(flink)
|
|
890
895
|
__props__.__dict__["flink_user_config"] = flink_user_config
|
|
891
896
|
__props__.__dict__["maintenance_window_dow"] = maintenance_window_dow
|
|
892
897
|
__props__.__dict__["maintenance_window_time"] = maintenance_window_time
|
|
@@ -917,7 +922,7 @@ class Flink(pulumi.CustomResource):
|
|
|
917
922
|
__props__.__dict__["service_uri"] = None
|
|
918
923
|
__props__.__dict__["service_username"] = None
|
|
919
924
|
__props__.__dict__["state"] = None
|
|
920
|
-
secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["servicePassword", "serviceUri"])
|
|
925
|
+
secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["flink", "servicePassword", "serviceUri"])
|
|
921
926
|
opts = pulumi.ResourceOptions.merge(opts, secret_opts)
|
|
922
927
|
super(Flink, __self__).__init__(
|
|
923
928
|
'aiven:index/flink:Flink',
|
|
@@ -931,21 +936,21 @@ class Flink(pulumi.CustomResource):
|
|
|
931
936
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
932
937
|
additional_disk_space: Optional[pulumi.Input[str]] = None,
|
|
933
938
|
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
934
|
-
components: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
939
|
+
components: Optional[pulumi.Input[Sequence[pulumi.Input[Union['FlinkComponentArgs', 'FlinkComponentArgsDict']]]]] = None,
|
|
935
940
|
disk_space: Optional[pulumi.Input[str]] = None,
|
|
936
941
|
disk_space_cap: Optional[pulumi.Input[str]] = None,
|
|
937
942
|
disk_space_default: Optional[pulumi.Input[str]] = None,
|
|
938
943
|
disk_space_step: Optional[pulumi.Input[str]] = None,
|
|
939
944
|
disk_space_used: Optional[pulumi.Input[str]] = None,
|
|
940
|
-
flink: Optional[pulumi.Input[
|
|
941
|
-
flink_user_config: Optional[pulumi.Input[
|
|
945
|
+
flink: Optional[pulumi.Input[Union['FlinkFlinkArgs', 'FlinkFlinkArgsDict']]] = None,
|
|
946
|
+
flink_user_config: Optional[pulumi.Input[Union['FlinkFlinkUserConfigArgs', 'FlinkFlinkUserConfigArgsDict']]] = None,
|
|
942
947
|
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
943
948
|
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
944
949
|
plan: Optional[pulumi.Input[str]] = None,
|
|
945
950
|
project: Optional[pulumi.Input[str]] = None,
|
|
946
951
|
project_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
947
952
|
service_host: Optional[pulumi.Input[str]] = None,
|
|
948
|
-
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
953
|
+
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['FlinkServiceIntegrationArgs', 'FlinkServiceIntegrationArgsDict']]]]] = None,
|
|
949
954
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
950
955
|
service_password: Optional[pulumi.Input[str]] = None,
|
|
951
956
|
service_port: Optional[pulumi.Input[int]] = None,
|
|
@@ -954,8 +959,8 @@ class Flink(pulumi.CustomResource):
|
|
|
954
959
|
service_username: Optional[pulumi.Input[str]] = None,
|
|
955
960
|
state: Optional[pulumi.Input[str]] = None,
|
|
956
961
|
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
957
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
958
|
-
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
962
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['FlinkTagArgs', 'FlinkTagArgsDict']]]]] = None,
|
|
963
|
+
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['FlinkTechEmailArgs', 'FlinkTechEmailArgsDict']]]]] = None,
|
|
959
964
|
termination_protection: Optional[pulumi.Input[bool]] = None) -> 'Flink':
|
|
960
965
|
"""
|
|
961
966
|
Get an existing Flink resource's state with the given name, id, and optional extra
|
|
@@ -964,23 +969,23 @@ class Flink(pulumi.CustomResource):
|
|
|
964
969
|
:param str resource_name: The unique name of the resulting resource.
|
|
965
970
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
966
971
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
967
|
-
:param pulumi.Input[str] additional_disk_space:
|
|
972
|
+
:param pulumi.Input[str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
|
|
968
973
|
:param pulumi.Input[str] cloud_name: Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like [here for Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
969
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
974
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['FlinkComponentArgs', 'FlinkComponentArgsDict']]]] components: Service component information objects
|
|
970
975
|
:param pulumi.Input[str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
971
976
|
:param pulumi.Input[str] disk_space_cap: The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
972
977
|
:param pulumi.Input[str] disk_space_default: The default disk space of the service, possible values depend on the service type, the cloud provider and the project. Its also the minimum value for `disk_space`
|
|
973
978
|
:param pulumi.Input[str] disk_space_step: The default disk space step of the service, possible values depend on the service type, the cloud provider and the project. `disk_space` needs to increment from `disk_space_default` by increments of this size.
|
|
974
979
|
:param pulumi.Input[str] disk_space_used: Disk space that service is currently using
|
|
975
|
-
:param pulumi.Input[
|
|
976
|
-
:param pulumi.Input[
|
|
980
|
+
:param pulumi.Input[Union['FlinkFlinkArgs', 'FlinkFlinkArgsDict']] flink: Values provided by the Flink server.
|
|
981
|
+
:param pulumi.Input[Union['FlinkFlinkUserConfigArgs', 'FlinkFlinkUserConfigArgsDict']] flink_user_config: Flink user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
977
982
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
978
983
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
979
|
-
:param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be
|
|
980
|
-
:param pulumi.Input[str] project:
|
|
984
|
+
:param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
985
|
+
:param pulumi.Input[str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
981
986
|
:param pulumi.Input[str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
982
987
|
:param pulumi.Input[str] service_host: The hostname of the service.
|
|
983
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
988
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['FlinkServiceIntegrationArgs', 'FlinkServiceIntegrationArgsDict']]]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
984
989
|
:param pulumi.Input[str] service_name: Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
|
|
985
990
|
:param pulumi.Input[str] service_password: Password used for connecting to the service, if applicable
|
|
986
991
|
:param pulumi.Input[int] service_port: The port of the service
|
|
@@ -988,9 +993,9 @@ class Flink(pulumi.CustomResource):
|
|
|
988
993
|
:param pulumi.Input[str] service_uri: URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
989
994
|
:param pulumi.Input[str] service_username: Username used for connecting to the service, if applicable
|
|
990
995
|
:param pulumi.Input[str] state: Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
991
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips:
|
|
992
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
993
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
996
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
997
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['FlinkTagArgs', 'FlinkTagArgsDict']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
998
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['FlinkTechEmailArgs', 'FlinkTechEmailArgsDict']]]] 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.
|
|
994
999
|
:param pulumi.Input[bool] termination_protection: Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
|
|
995
1000
|
"""
|
|
996
1001
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -1029,9 +1034,9 @@ class Flink(pulumi.CustomResource):
|
|
|
1029
1034
|
|
|
1030
1035
|
@property
|
|
1031
1036
|
@pulumi.getter(name="additionalDiskSpace")
|
|
1032
|
-
def additional_disk_space(self) -> pulumi.Output[
|
|
1037
|
+
def additional_disk_space(self) -> pulumi.Output[str]:
|
|
1033
1038
|
"""
|
|
1034
|
-
|
|
1039
|
+
Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
|
|
1035
1040
|
"""
|
|
1036
1041
|
return pulumi.get(self, "additional_disk_space")
|
|
1037
1042
|
|
|
@@ -1053,13 +1058,11 @@ class Flink(pulumi.CustomResource):
|
|
|
1053
1058
|
|
|
1054
1059
|
@property
|
|
1055
1060
|
@pulumi.getter(name="diskSpace")
|
|
1061
|
+
@_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.""")
|
|
1056
1062
|
def disk_space(self) -> pulumi.Output[Optional[str]]:
|
|
1057
1063
|
"""
|
|
1058
1064
|
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
1059
1065
|
"""
|
|
1060
|
-
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)
|
|
1061
|
-
pulumi.log.warn("""disk_space is deprecated: This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""")
|
|
1062
|
-
|
|
1063
1066
|
return pulumi.get(self, "disk_space")
|
|
1064
1067
|
|
|
1065
1068
|
@property
|
|
@@ -1088,6 +1091,7 @@ class Flink(pulumi.CustomResource):
|
|
|
1088
1091
|
|
|
1089
1092
|
@property
|
|
1090
1093
|
@pulumi.getter(name="diskSpaceUsed")
|
|
1094
|
+
@_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.""")
|
|
1091
1095
|
def disk_space_used(self) -> pulumi.Output[str]:
|
|
1092
1096
|
"""
|
|
1093
1097
|
Disk space that service is currently using
|
|
@@ -1098,7 +1102,7 @@ class Flink(pulumi.CustomResource):
|
|
|
1098
1102
|
@pulumi.getter
|
|
1099
1103
|
def flink(self) -> pulumi.Output['outputs.FlinkFlink']:
|
|
1100
1104
|
"""
|
|
1101
|
-
|
|
1105
|
+
Values provided by the Flink server.
|
|
1102
1106
|
"""
|
|
1103
1107
|
return pulumi.get(self, "flink")
|
|
1104
1108
|
|
|
@@ -1106,7 +1110,7 @@ class Flink(pulumi.CustomResource):
|
|
|
1106
1110
|
@pulumi.getter(name="flinkUserConfig")
|
|
1107
1111
|
def flink_user_config(self) -> pulumi.Output[Optional['outputs.FlinkFlinkUserConfig']]:
|
|
1108
1112
|
"""
|
|
1109
|
-
Flink user configurable settings
|
|
1113
|
+
Flink user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
1110
1114
|
"""
|
|
1111
1115
|
return pulumi.get(self, "flink_user_config")
|
|
1112
1116
|
|
|
@@ -1130,7 +1134,7 @@ class Flink(pulumi.CustomResource):
|
|
|
1130
1134
|
@pulumi.getter
|
|
1131
1135
|
def plan(self) -> pulumi.Output[str]:
|
|
1132
1136
|
"""
|
|
1133
|
-
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
|
|
1137
|
+
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).
|
|
1134
1138
|
"""
|
|
1135
1139
|
return pulumi.get(self, "plan")
|
|
1136
1140
|
|
|
@@ -1138,13 +1142,13 @@ class Flink(pulumi.CustomResource):
|
|
|
1138
1142
|
@pulumi.getter
|
|
1139
1143
|
def project(self) -> pulumi.Output[str]:
|
|
1140
1144
|
"""
|
|
1141
|
-
|
|
1145
|
+
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.
|
|
1142
1146
|
"""
|
|
1143
1147
|
return pulumi.get(self, "project")
|
|
1144
1148
|
|
|
1145
1149
|
@property
|
|
1146
1150
|
@pulumi.getter(name="projectVpcId")
|
|
1147
|
-
def project_vpc_id(self) -> pulumi.Output[
|
|
1151
|
+
def project_vpc_id(self) -> pulumi.Output[str]:
|
|
1148
1152
|
"""
|
|
1149
1153
|
Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
1150
1154
|
"""
|
|
@@ -1160,7 +1164,7 @@ class Flink(pulumi.CustomResource):
|
|
|
1160
1164
|
|
|
1161
1165
|
@property
|
|
1162
1166
|
@pulumi.getter(name="serviceIntegrations")
|
|
1163
|
-
def service_integrations(self) -> pulumi.Output[
|
|
1167
|
+
def service_integrations(self) -> pulumi.Output[Sequence['outputs.FlinkServiceIntegration']]:
|
|
1164
1168
|
"""
|
|
1165
1169
|
Service integrations to specify when creating a service. Not applied after initial service creation
|
|
1166
1170
|
"""
|
|
@@ -1226,7 +1230,7 @@ class Flink(pulumi.CustomResource):
|
|
|
1226
1230
|
@pulumi.getter(name="staticIps")
|
|
1227
1231
|
def static_ips(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
1228
1232
|
"""
|
|
1229
|
-
|
|
1233
|
+
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
|
|
1230
1234
|
"""
|
|
1231
1235
|
return pulumi.get(self, "static_ips")
|
|
1232
1236
|
|
|
@@ -1242,7 +1246,7 @@ class Flink(pulumi.CustomResource):
|
|
|
1242
1246
|
@pulumi.getter(name="techEmails")
|
|
1243
1247
|
def tech_emails(self) -> pulumi.Output[Optional[Sequence['outputs.FlinkTechEmail']]]:
|
|
1244
1248
|
"""
|
|
1245
|
-
|
|
1249
|
+
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.
|
|
1246
1250
|
"""
|
|
1247
1251
|
return pulumi.get(self, "tech_emails")
|
|
1248
1252
|
|