pulumi-aiven 6.13.0a1710156545__py3-none-any.whl → 6.31.0a1736849214__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 +32615 -13711
- pulumi_aiven/_utilities.py +41 -5
- pulumi_aiven/account.py +32 -45
- pulumi_aiven/account_authentication.py +24 -9
- pulumi_aiven/account_team.py +35 -14
- pulumi_aiven/account_team_member.py +48 -39
- pulumi_aiven/account_team_project.py +40 -27
- 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 -43
- pulumi_aiven/aws_vpc_peering_connection.py +72 -61
- pulumi_aiven/azure_privatelink.py +54 -53
- pulumi_aiven/azure_privatelink_connection_approval.py +136 -33
- pulumi_aiven/azure_vpc_peering_connection.py +86 -77
- pulumi_aiven/billing_group.py +33 -34
- pulumi_aiven/cassandra.py +145 -126
- pulumi_aiven/cassandra_user.py +59 -58
- pulumi_aiven/clickhouse.py +133 -114
- pulumi_aiven/clickhouse_database.py +58 -62
- pulumi_aiven/clickhouse_grant.py +135 -134
- pulumi_aiven/clickhouse_role.py +36 -49
- pulumi_aiven/clickhouse_user.py +50 -49
- pulumi_aiven/config/__init__.pyi +5 -0
- pulumi_aiven/config/vars.py +5 -0
- pulumi_aiven/connection_pool.py +67 -66
- pulumi_aiven/dragonfly.py +1256 -0
- pulumi_aiven/flink.py +104 -104
- pulumi_aiven/flink_application.py +58 -55
- 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 -48
- pulumi_aiven/get_account.py +20 -9
- 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 -24
- pulumi_aiven/get_aws_vpc_peering_connection.py +56 -33
- pulumi_aiven/get_azure_privatelink.py +37 -26
- pulumi_aiven/get_azure_vpc_peering_connection.py +77 -28
- pulumi_aiven/get_billing_group.py +31 -8
- pulumi_aiven/get_cassanda.py +55 -23
- pulumi_aiven/get_cassandra.py +55 -23
- pulumi_aiven/get_cassandra_user.py +42 -30
- pulumi_aiven/get_clickhouse.py +55 -23
- pulumi_aiven/get_clickhouse_database.py +35 -26
- pulumi_aiven/get_clickhouse_user.py +40 -29
- pulumi_aiven/get_connection_pool.py +43 -30
- pulumi_aiven/get_dragonfly.py +499 -0
- pulumi_aiven/get_external_identity.py +160 -0
- pulumi_aiven/get_flink.py +55 -23
- pulumi_aiven/get_flink_application.py +44 -31
- pulumi_aiven/get_flink_application_version.py +55 -37
- pulumi_aiven/get_gcp_privatelink.py +63 -7
- pulumi_aiven/get_gcp_vpc_peering_connection.py +39 -28
- pulumi_aiven/get_grafana.py +55 -23
- 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 -25
- pulumi_aiven/get_kafka_acl.py +50 -37
- pulumi_aiven/get_kafka_connect.py +54 -36
- pulumi_aiven/get_kafka_connector.py +44 -28
- pulumi_aiven/get_kafka_mirror_maker.py +50 -32
- pulumi_aiven/get_kafka_schema.py +35 -23
- pulumi_aiven/get_kafka_schema_configuration.py +32 -21
- pulumi_aiven/get_kafka_schema_registry_acl.py +37 -20
- pulumi_aiven/get_kafka_topic.py +70 -29
- pulumi_aiven/get_kafka_user.py +42 -30
- pulumi_aiven/get_m3_aggregator.py +51 -19
- pulumi_aiven/get_m3_db.py +55 -23
- pulumi_aiven/get_m3db_user.py +38 -28
- pulumi_aiven/get_mirror_maker_replication_flow.py +86 -25
- pulumi_aiven/get_my_sql.py +50 -18
- pulumi_aiven/get_mysql_database.py +31 -22
- pulumi_aiven/get_mysql_user.py +36 -23
- pulumi_aiven/get_open_search.py +50 -18
- pulumi_aiven/get_open_search_acl_config.py +27 -19
- pulumi_aiven/get_open_search_acl_rule.py +37 -25
- pulumi_aiven/get_opensearch_security_plugin_config.py +29 -19
- pulumi_aiven/get_opensearch_user.py +32 -22
- pulumi_aiven/get_organization.py +25 -17
- 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 -23
- pulumi_aiven/get_pg_database.py +39 -28
- pulumi_aiven/get_pg_user.py +44 -31
- pulumi_aiven/get_project.py +43 -26
- pulumi_aiven/get_project_user.py +27 -19
- pulumi_aiven/get_project_vpc.py +31 -23
- pulumi_aiven/get_redis.py +50 -18
- pulumi_aiven/get_redis_user.py +40 -26
- pulumi_aiven/get_service_component.py +40 -22
- pulumi_aiven/get_service_integration.py +163 -53
- pulumi_aiven/get_service_integration_endpoint.py +128 -37
- pulumi_aiven/get_thanos.py +499 -0
- pulumi_aiven/get_transit_gateway_vpc_attachment.py +35 -22
- pulumi_aiven/get_valkey.py +499 -0
- pulumi_aiven/get_valkey_user.py +218 -0
- pulumi_aiven/grafana.py +188 -322
- 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 -144
- pulumi_aiven/kafka_acl.py +64 -57
- pulumi_aiven/kafka_connect.py +201 -332
- pulumi_aiven/kafka_connector.py +67 -60
- pulumi_aiven/kafka_mirror_maker.py +137 -320
- pulumi_aiven/kafka_native_acl.py +588 -0
- pulumi_aiven/kafka_schema.py +63 -58
- pulumi_aiven/kafka_schema_configuration.py +25 -24
- pulumi_aiven/kafka_schema_registry_acl.py +80 -35
- pulumi_aiven/kafka_topic.py +184 -65
- pulumi_aiven/kafka_user.py +59 -58
- pulumi_aiven/m3_aggregator.py +174 -310
- pulumi_aiven/m3_db.py +190 -326
- pulumi_aiven/m3db_user.py +51 -50
- pulumi_aiven/mirror_maker_replication_flow.py +215 -55
- pulumi_aiven/my_sql.py +188 -324
- pulumi_aiven/mysql_database.py +32 -51
- pulumi_aiven/mysql_user.py +37 -36
- pulumi_aiven/open_search.py +126 -107
- pulumi_aiven/open_search_acl_config.py +33 -36
- pulumi_aiven/open_search_acl_rule.py +55 -54
- pulumi_aiven/opensearch_security_plugin_config.py +69 -16
- pulumi_aiven/opensearch_user.py +30 -29
- pulumi_aiven/organization.py +18 -17
- 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 -36
- pulumi_aiven/outputs.py +38355 -21458
- pulumi_aiven/pg.py +92 -88
- pulumi_aiven/pg_database.py +52 -71
- pulumi_aiven/pg_user.py +80 -65
- pulumi_aiven/project.py +111 -102
- pulumi_aiven/project_user.py +44 -35
- pulumi_aiven/project_vpc.py +58 -29
- pulumi_aiven/provider.py +5 -0
- pulumi_aiven/pulumi-plugin.json +2 -1
- pulumi_aiven/redis.py +161 -297
- pulumi_aiven/redis_user.py +58 -57
- pulumi_aiven/service_integration.py +511 -165
- 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 -58
- pulumi_aiven/valkey.py +1256 -0
- pulumi_aiven/valkey_user.py +606 -0
- {pulumi_aiven-6.13.0a1710156545.dist-info → pulumi_aiven-6.31.0a1736849214.dist-info}/METADATA +7 -6
- pulumi_aiven-6.31.0a1736849214.dist-info/RECORD +169 -0
- {pulumi_aiven-6.13.0a1710156545.dist-info → pulumi_aiven-6.31.0a1736849214.dist-info}/WHEEL +1 -1
- pulumi_aiven-6.13.0a1710156545.dist-info/RECORD +0 -146
- {pulumi_aiven-6.13.0a1710156545.dist-info → pulumi_aiven-6.31.0a1736849214.dist-info}/top_level.txt +0 -0
pulumi_aiven/kafka_connect.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 *
|
|
@@ -33,42 +38,21 @@ class KafkaConnectArgs:
|
|
|
33
38
|
termination_protection: Optional[pulumi.Input[bool]] = None):
|
|
34
39
|
"""
|
|
35
40
|
The set of arguments for constructing a KafkaConnect resource.
|
|
36
|
-
:param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
:param pulumi.Input[
|
|
43
|
-
reference. This property cannot be changed, doing so forces recreation of the resource.
|
|
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
|
|
45
|
-
service so name should be picked based on intended service usage rather than current attributes.
|
|
46
|
-
:param pulumi.Input[str] additional_disk_space: Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore,
|
|
47
|
-
reducing will result in the service rebalancing.
|
|
48
|
-
:param pulumi.Input[str] cloud_name: Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is
|
|
49
|
-
created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud
|
|
50
|
-
provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These
|
|
51
|
-
are documented on each Cloud provider's own support articles, like [here for
|
|
52
|
-
Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for
|
|
53
|
-
AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
54
|
-
:param pulumi.Input[str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing
|
|
55
|
-
will result in the service rebalancing.
|
|
56
|
-
:param pulumi.Input['KafkaConnectKafkaConnectUserConfigArgs'] kafka_connect_user_config: KafkaConnect user configurable settings
|
|
41
|
+
: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).
|
|
42
|
+
: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.
|
|
43
|
+
: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.
|
|
44
|
+
: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.
|
|
45
|
+
: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).
|
|
46
|
+
: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.
|
|
47
|
+
:param pulumi.Input['KafkaConnectKafkaConnectUserConfigArgs'] kafka_connect_user_config: KafkaConnect user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
57
48
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
58
49
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
59
|
-
: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
|
|
60
|
-
value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region
|
|
61
|
-
as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new
|
|
62
|
-
servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
50
|
+
: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.
|
|
63
51
|
:param pulumi.Input[Sequence[pulumi.Input['KafkaConnectServiceIntegrationArgs']]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
64
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a
|
|
65
|
-
static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
52
|
+
: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
|
|
66
53
|
:param pulumi.Input[Sequence[pulumi.Input['KafkaConnectTagArgs']]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
67
|
-
:param pulumi.Input[Sequence[pulumi.Input['KafkaConnectTechEmailArgs']]] tech_emails:
|
|
68
|
-
|
|
69
|
-
:param pulumi.Input[bool] termination_protection: Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent
|
|
70
|
-
unintentional service deletion. This does not shield against deleting databases or topics but for services with backups
|
|
71
|
-
much of the content can at least be restored from backup in case accidental deletion is done.
|
|
54
|
+
:param pulumi.Input[Sequence[pulumi.Input['KafkaConnectTechEmailArgs']]] 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.
|
|
55
|
+
: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.
|
|
72
56
|
"""
|
|
73
57
|
pulumi.set(__self__, "plan", plan)
|
|
74
58
|
pulumi.set(__self__, "project", project)
|
|
@@ -105,12 +89,7 @@ class KafkaConnectArgs:
|
|
|
105
89
|
@pulumi.getter
|
|
106
90
|
def plan(self) -> pulumi.Input[str]:
|
|
107
91
|
"""
|
|
108
|
-
Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there
|
|
109
|
-
are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to
|
|
110
|
-
store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
|
|
111
|
-
`hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also
|
|
112
|
-
other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available
|
|
113
|
-
options can be seem from the [Aiven pricing page](https://aiven.io/pricing).
|
|
92
|
+
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).
|
|
114
93
|
"""
|
|
115
94
|
return pulumi.get(self, "plan")
|
|
116
95
|
|
|
@@ -122,8 +101,7 @@ class KafkaConnectArgs:
|
|
|
122
101
|
@pulumi.getter
|
|
123
102
|
def project(self) -> pulumi.Input[str]:
|
|
124
103
|
"""
|
|
125
|
-
|
|
126
|
-
reference. This property cannot be changed, doing so forces recreation of the resource.
|
|
104
|
+
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.
|
|
127
105
|
"""
|
|
128
106
|
return pulumi.get(self, "project")
|
|
129
107
|
|
|
@@ -135,8 +113,7 @@ class KafkaConnectArgs:
|
|
|
135
113
|
@pulumi.getter(name="serviceName")
|
|
136
114
|
def service_name(self) -> pulumi.Input[str]:
|
|
137
115
|
"""
|
|
138
|
-
Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the
|
|
139
|
-
service so name should be picked based on intended service usage rather than current attributes.
|
|
116
|
+
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.
|
|
140
117
|
"""
|
|
141
118
|
return pulumi.get(self, "service_name")
|
|
142
119
|
|
|
@@ -148,8 +125,7 @@ class KafkaConnectArgs:
|
|
|
148
125
|
@pulumi.getter(name="additionalDiskSpace")
|
|
149
126
|
def additional_disk_space(self) -> Optional[pulumi.Input[str]]:
|
|
150
127
|
"""
|
|
151
|
-
|
|
152
|
-
reducing will result in the service rebalancing.
|
|
128
|
+
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.
|
|
153
129
|
"""
|
|
154
130
|
return pulumi.get(self, "additional_disk_space")
|
|
155
131
|
|
|
@@ -161,12 +137,7 @@ class KafkaConnectArgs:
|
|
|
161
137
|
@pulumi.getter(name="cloudName")
|
|
162
138
|
def cloud_name(self) -> Optional[pulumi.Input[str]]:
|
|
163
139
|
"""
|
|
164
|
-
Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is
|
|
165
|
-
created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud
|
|
166
|
-
provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These
|
|
167
|
-
are documented on each Cloud provider's own support articles, like [here for
|
|
168
|
-
Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for
|
|
169
|
-
AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
140
|
+
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).
|
|
170
141
|
"""
|
|
171
142
|
return pulumi.get(self, "cloud_name")
|
|
172
143
|
|
|
@@ -176,14 +147,11 @@ class KafkaConnectArgs:
|
|
|
176
147
|
|
|
177
148
|
@property
|
|
178
149
|
@pulumi.getter(name="diskSpace")
|
|
150
|
+
@_utilities.deprecated("""This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""")
|
|
179
151
|
def disk_space(self) -> Optional[pulumi.Input[str]]:
|
|
180
152
|
"""
|
|
181
|
-
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing
|
|
182
|
-
will result in the service rebalancing.
|
|
153
|
+
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
183
154
|
"""
|
|
184
|
-
warnings.warn("""This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""", DeprecationWarning)
|
|
185
|
-
pulumi.log.warn("""disk_space is deprecated: This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""")
|
|
186
|
-
|
|
187
155
|
return pulumi.get(self, "disk_space")
|
|
188
156
|
|
|
189
157
|
@disk_space.setter
|
|
@@ -194,7 +162,7 @@ class KafkaConnectArgs:
|
|
|
194
162
|
@pulumi.getter(name="kafkaConnectUserConfig")
|
|
195
163
|
def kafka_connect_user_config(self) -> Optional[pulumi.Input['KafkaConnectKafkaConnectUserConfigArgs']]:
|
|
196
164
|
"""
|
|
197
|
-
KafkaConnect user configurable settings
|
|
165
|
+
KafkaConnect user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
198
166
|
"""
|
|
199
167
|
return pulumi.get(self, "kafka_connect_user_config")
|
|
200
168
|
|
|
@@ -230,10 +198,7 @@ class KafkaConnectArgs:
|
|
|
230
198
|
@pulumi.getter(name="projectVpcId")
|
|
231
199
|
def project_vpc_id(self) -> Optional[pulumi.Input[str]]:
|
|
232
200
|
"""
|
|
233
|
-
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
|
|
234
|
-
value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region
|
|
235
|
-
as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new
|
|
236
|
-
servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
201
|
+
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.
|
|
237
202
|
"""
|
|
238
203
|
return pulumi.get(self, "project_vpc_id")
|
|
239
204
|
|
|
@@ -257,8 +222,7 @@ class KafkaConnectArgs:
|
|
|
257
222
|
@pulumi.getter(name="staticIps")
|
|
258
223
|
def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
259
224
|
"""
|
|
260
|
-
Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a
|
|
261
|
-
static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
225
|
+
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
|
|
262
226
|
"""
|
|
263
227
|
return pulumi.get(self, "static_ips")
|
|
264
228
|
|
|
@@ -282,8 +246,7 @@ class KafkaConnectArgs:
|
|
|
282
246
|
@pulumi.getter(name="techEmails")
|
|
283
247
|
def tech_emails(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['KafkaConnectTechEmailArgs']]]]:
|
|
284
248
|
"""
|
|
285
|
-
|
|
286
|
-
instability.
|
|
249
|
+
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.
|
|
287
250
|
"""
|
|
288
251
|
return pulumi.get(self, "tech_emails")
|
|
289
252
|
|
|
@@ -295,9 +258,7 @@ class KafkaConnectArgs:
|
|
|
295
258
|
@pulumi.getter(name="terminationProtection")
|
|
296
259
|
def termination_protection(self) -> Optional[pulumi.Input[bool]]:
|
|
297
260
|
"""
|
|
298
|
-
Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent
|
|
299
|
-
unintentional service deletion. This does not shield against deleting databases or topics but for services with backups
|
|
300
|
-
much of the content can at least be restored from backup in case accidental deletion is done.
|
|
261
|
+
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.
|
|
301
262
|
"""
|
|
302
263
|
return pulumi.get(self, "termination_protection")
|
|
303
264
|
|
|
@@ -318,7 +279,6 @@ class _KafkaConnectState:
|
|
|
318
279
|
disk_space_step: Optional[pulumi.Input[str]] = None,
|
|
319
280
|
disk_space_used: Optional[pulumi.Input[str]] = None,
|
|
320
281
|
kafka_connect_user_config: Optional[pulumi.Input['KafkaConnectKafkaConnectUserConfigArgs']] = None,
|
|
321
|
-
kafka_connects: Optional[pulumi.Input[Sequence[pulumi.Input['KafkaConnectKafkaConnectArgs']]]] = None,
|
|
322
282
|
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
323
283
|
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
324
284
|
plan: Optional[pulumi.Input[str]] = None,
|
|
@@ -339,57 +299,33 @@ class _KafkaConnectState:
|
|
|
339
299
|
termination_protection: Optional[pulumi.Input[bool]] = None):
|
|
340
300
|
"""
|
|
341
301
|
Input properties used for looking up and filtering KafkaConnect resources.
|
|
342
|
-
:param pulumi.Input[str] additional_disk_space:
|
|
343
|
-
|
|
344
|
-
:param pulumi.Input[str] cloud_name: Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is
|
|
345
|
-
created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud
|
|
346
|
-
provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These
|
|
347
|
-
are documented on each Cloud provider's own support articles, like [here for
|
|
348
|
-
Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for
|
|
349
|
-
AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
302
|
+
: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.
|
|
303
|
+
: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).
|
|
350
304
|
:param pulumi.Input[Sequence[pulumi.Input['KafkaConnectComponentArgs']]] components: Service component information objects
|
|
351
|
-
:param pulumi.Input[str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing
|
|
352
|
-
will result in the service rebalancing.
|
|
305
|
+
: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.
|
|
353
306
|
: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.
|
|
354
|
-
: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.
|
|
355
|
-
|
|
356
|
-
:param pulumi.Input[str] disk_space_step: The default disk space step of the service, possible values depend on the service type, the cloud provider and the
|
|
357
|
-
project. `disk_space` needs to increment from `disk_space_default` by increments of this size.
|
|
307
|
+
: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`
|
|
308
|
+
: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.
|
|
358
309
|
:param pulumi.Input[str] disk_space_used: Disk space that service is currently using
|
|
359
|
-
:param pulumi.Input['KafkaConnectKafkaConnectUserConfigArgs'] kafka_connect_user_config: KafkaConnect user configurable settings
|
|
360
|
-
:param pulumi.Input[Sequence[pulumi.Input['KafkaConnectKafkaConnectArgs']]] kafka_connects: Kafka Connect server provided values
|
|
310
|
+
:param pulumi.Input['KafkaConnectKafkaConnectUserConfigArgs'] kafka_connect_user_config: KafkaConnect user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
361
311
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
362
312
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
363
|
-
:param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
`hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also
|
|
367
|
-
other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available
|
|
368
|
-
options can be seem from the [Aiven pricing page](https://aiven.io/pricing).
|
|
369
|
-
:param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a
|
|
370
|
-
reference. This property cannot be changed, doing so forces recreation of the resource.
|
|
371
|
-
:param pulumi.Input[str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the
|
|
372
|
-
value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region
|
|
373
|
-
as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new
|
|
374
|
-
servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
313
|
+
: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).
|
|
314
|
+
: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.
|
|
315
|
+
: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.
|
|
375
316
|
:param pulumi.Input[str] service_host: The hostname of the service.
|
|
376
317
|
:param pulumi.Input[Sequence[pulumi.Input['KafkaConnectServiceIntegrationArgs']]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
377
|
-
: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
|
|
378
|
-
service so name should be picked based on intended service usage rather than current attributes.
|
|
318
|
+
: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.
|
|
379
319
|
:param pulumi.Input[str] service_password: Password used for connecting to the service, if applicable
|
|
380
320
|
:param pulumi.Input[int] service_port: The port of the service
|
|
381
321
|
:param pulumi.Input[str] service_type: Aiven internal service type code
|
|
382
322
|
:param pulumi.Input[str] service_uri: URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
383
323
|
:param pulumi.Input[str] service_username: Username used for connecting to the service, if applicable
|
|
384
324
|
:param pulumi.Input[str] state: Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
385
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a
|
|
386
|
-
static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
325
|
+
: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
|
|
387
326
|
:param pulumi.Input[Sequence[pulumi.Input['KafkaConnectTagArgs']]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
388
|
-
:param pulumi.Input[Sequence[pulumi.Input['KafkaConnectTechEmailArgs']]] tech_emails:
|
|
389
|
-
|
|
390
|
-
:param pulumi.Input[bool] termination_protection: Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent
|
|
391
|
-
unintentional service deletion. This does not shield against deleting databases or topics but for services with backups
|
|
392
|
-
much of the content can at least be restored from backup in case accidental deletion is done.
|
|
327
|
+
:param pulumi.Input[Sequence[pulumi.Input['KafkaConnectTechEmailArgs']]] 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.
|
|
328
|
+
: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.
|
|
393
329
|
"""
|
|
394
330
|
if additional_disk_space is not None:
|
|
395
331
|
pulumi.set(__self__, "additional_disk_space", additional_disk_space)
|
|
@@ -408,12 +344,13 @@ class _KafkaConnectState:
|
|
|
408
344
|
pulumi.set(__self__, "disk_space_default", disk_space_default)
|
|
409
345
|
if disk_space_step is not None:
|
|
410
346
|
pulumi.set(__self__, "disk_space_step", disk_space_step)
|
|
347
|
+
if disk_space_used is not None:
|
|
348
|
+
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)
|
|
349
|
+
pulumi.log.warn("""disk_space_used is deprecated: This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""")
|
|
411
350
|
if disk_space_used is not None:
|
|
412
351
|
pulumi.set(__self__, "disk_space_used", disk_space_used)
|
|
413
352
|
if kafka_connect_user_config is not None:
|
|
414
353
|
pulumi.set(__self__, "kafka_connect_user_config", kafka_connect_user_config)
|
|
415
|
-
if kafka_connects is not None:
|
|
416
|
-
pulumi.set(__self__, "kafka_connects", kafka_connects)
|
|
417
354
|
if maintenance_window_dow is not None:
|
|
418
355
|
pulumi.set(__self__, "maintenance_window_dow", maintenance_window_dow)
|
|
419
356
|
if maintenance_window_time is not None:
|
|
@@ -455,8 +392,7 @@ class _KafkaConnectState:
|
|
|
455
392
|
@pulumi.getter(name="additionalDiskSpace")
|
|
456
393
|
def additional_disk_space(self) -> Optional[pulumi.Input[str]]:
|
|
457
394
|
"""
|
|
458
|
-
|
|
459
|
-
reducing will result in the service rebalancing.
|
|
395
|
+
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.
|
|
460
396
|
"""
|
|
461
397
|
return pulumi.get(self, "additional_disk_space")
|
|
462
398
|
|
|
@@ -468,12 +404,7 @@ class _KafkaConnectState:
|
|
|
468
404
|
@pulumi.getter(name="cloudName")
|
|
469
405
|
def cloud_name(self) -> Optional[pulumi.Input[str]]:
|
|
470
406
|
"""
|
|
471
|
-
Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is
|
|
472
|
-
created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud
|
|
473
|
-
provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These
|
|
474
|
-
are documented on each Cloud provider's own support articles, like [here for
|
|
475
|
-
Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for
|
|
476
|
-
AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
407
|
+
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).
|
|
477
408
|
"""
|
|
478
409
|
return pulumi.get(self, "cloud_name")
|
|
479
410
|
|
|
@@ -495,14 +426,11 @@ class _KafkaConnectState:
|
|
|
495
426
|
|
|
496
427
|
@property
|
|
497
428
|
@pulumi.getter(name="diskSpace")
|
|
429
|
+
@_utilities.deprecated("""This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""")
|
|
498
430
|
def disk_space(self) -> Optional[pulumi.Input[str]]:
|
|
499
431
|
"""
|
|
500
|
-
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing
|
|
501
|
-
will result in the service rebalancing.
|
|
432
|
+
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
502
433
|
"""
|
|
503
|
-
warnings.warn("""This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""", DeprecationWarning)
|
|
504
|
-
pulumi.log.warn("""disk_space is deprecated: This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""")
|
|
505
|
-
|
|
506
434
|
return pulumi.get(self, "disk_space")
|
|
507
435
|
|
|
508
436
|
@disk_space.setter
|
|
@@ -525,8 +453,7 @@ class _KafkaConnectState:
|
|
|
525
453
|
@pulumi.getter(name="diskSpaceDefault")
|
|
526
454
|
def disk_space_default(self) -> Optional[pulumi.Input[str]]:
|
|
527
455
|
"""
|
|
528
|
-
The default disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
529
|
-
Its also the minimum value for `disk_space`
|
|
456
|
+
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`
|
|
530
457
|
"""
|
|
531
458
|
return pulumi.get(self, "disk_space_default")
|
|
532
459
|
|
|
@@ -538,8 +465,7 @@ class _KafkaConnectState:
|
|
|
538
465
|
@pulumi.getter(name="diskSpaceStep")
|
|
539
466
|
def disk_space_step(self) -> Optional[pulumi.Input[str]]:
|
|
540
467
|
"""
|
|
541
|
-
The default disk space step of the service, possible values depend on the service type, the cloud provider and the
|
|
542
|
-
project. `disk_space` needs to increment from `disk_space_default` by increments of this size.
|
|
468
|
+
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.
|
|
543
469
|
"""
|
|
544
470
|
return pulumi.get(self, "disk_space_step")
|
|
545
471
|
|
|
@@ -549,6 +475,7 @@ class _KafkaConnectState:
|
|
|
549
475
|
|
|
550
476
|
@property
|
|
551
477
|
@pulumi.getter(name="diskSpaceUsed")
|
|
478
|
+
@_utilities.deprecated("""This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""")
|
|
552
479
|
def disk_space_used(self) -> Optional[pulumi.Input[str]]:
|
|
553
480
|
"""
|
|
554
481
|
Disk space that service is currently using
|
|
@@ -563,7 +490,7 @@ class _KafkaConnectState:
|
|
|
563
490
|
@pulumi.getter(name="kafkaConnectUserConfig")
|
|
564
491
|
def kafka_connect_user_config(self) -> Optional[pulumi.Input['KafkaConnectKafkaConnectUserConfigArgs']]:
|
|
565
492
|
"""
|
|
566
|
-
KafkaConnect user configurable settings
|
|
493
|
+
KafkaConnect user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
567
494
|
"""
|
|
568
495
|
return pulumi.get(self, "kafka_connect_user_config")
|
|
569
496
|
|
|
@@ -571,18 +498,6 @@ class _KafkaConnectState:
|
|
|
571
498
|
def kafka_connect_user_config(self, value: Optional[pulumi.Input['KafkaConnectKafkaConnectUserConfigArgs']]):
|
|
572
499
|
pulumi.set(self, "kafka_connect_user_config", value)
|
|
573
500
|
|
|
574
|
-
@property
|
|
575
|
-
@pulumi.getter(name="kafkaConnects")
|
|
576
|
-
def kafka_connects(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['KafkaConnectKafkaConnectArgs']]]]:
|
|
577
|
-
"""
|
|
578
|
-
Kafka Connect server provided values
|
|
579
|
-
"""
|
|
580
|
-
return pulumi.get(self, "kafka_connects")
|
|
581
|
-
|
|
582
|
-
@kafka_connects.setter
|
|
583
|
-
def kafka_connects(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['KafkaConnectKafkaConnectArgs']]]]):
|
|
584
|
-
pulumi.set(self, "kafka_connects", value)
|
|
585
|
-
|
|
586
501
|
@property
|
|
587
502
|
@pulumi.getter(name="maintenanceWindowDow")
|
|
588
503
|
def maintenance_window_dow(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -611,12 +526,7 @@ class _KafkaConnectState:
|
|
|
611
526
|
@pulumi.getter
|
|
612
527
|
def plan(self) -> Optional[pulumi.Input[str]]:
|
|
613
528
|
"""
|
|
614
|
-
Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there
|
|
615
|
-
are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to
|
|
616
|
-
store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
|
|
617
|
-
`hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also
|
|
618
|
-
other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available
|
|
619
|
-
options can be seem from the [Aiven pricing page](https://aiven.io/pricing).
|
|
529
|
+
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).
|
|
620
530
|
"""
|
|
621
531
|
return pulumi.get(self, "plan")
|
|
622
532
|
|
|
@@ -628,8 +538,7 @@ class _KafkaConnectState:
|
|
|
628
538
|
@pulumi.getter
|
|
629
539
|
def project(self) -> Optional[pulumi.Input[str]]:
|
|
630
540
|
"""
|
|
631
|
-
|
|
632
|
-
reference. This property cannot be changed, doing so forces recreation of the resource.
|
|
541
|
+
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.
|
|
633
542
|
"""
|
|
634
543
|
return pulumi.get(self, "project")
|
|
635
544
|
|
|
@@ -641,10 +550,7 @@ class _KafkaConnectState:
|
|
|
641
550
|
@pulumi.getter(name="projectVpcId")
|
|
642
551
|
def project_vpc_id(self) -> Optional[pulumi.Input[str]]:
|
|
643
552
|
"""
|
|
644
|
-
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
|
|
645
|
-
value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region
|
|
646
|
-
as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new
|
|
647
|
-
servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
553
|
+
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.
|
|
648
554
|
"""
|
|
649
555
|
return pulumi.get(self, "project_vpc_id")
|
|
650
556
|
|
|
@@ -680,8 +586,7 @@ class _KafkaConnectState:
|
|
|
680
586
|
@pulumi.getter(name="serviceName")
|
|
681
587
|
def service_name(self) -> Optional[pulumi.Input[str]]:
|
|
682
588
|
"""
|
|
683
|
-
Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the
|
|
684
|
-
service so name should be picked based on intended service usage rather than current attributes.
|
|
589
|
+
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.
|
|
685
590
|
"""
|
|
686
591
|
return pulumi.get(self, "service_name")
|
|
687
592
|
|
|
@@ -765,8 +670,7 @@ class _KafkaConnectState:
|
|
|
765
670
|
@pulumi.getter(name="staticIps")
|
|
766
671
|
def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
767
672
|
"""
|
|
768
|
-
Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a
|
|
769
|
-
static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
673
|
+
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
|
|
770
674
|
"""
|
|
771
675
|
return pulumi.get(self, "static_ips")
|
|
772
676
|
|
|
@@ -790,8 +694,7 @@ class _KafkaConnectState:
|
|
|
790
694
|
@pulumi.getter(name="techEmails")
|
|
791
695
|
def tech_emails(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['KafkaConnectTechEmailArgs']]]]:
|
|
792
696
|
"""
|
|
793
|
-
|
|
794
|
-
instability.
|
|
697
|
+
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.
|
|
795
698
|
"""
|
|
796
699
|
return pulumi.get(self, "tech_emails")
|
|
797
700
|
|
|
@@ -803,9 +706,7 @@ class _KafkaConnectState:
|
|
|
803
706
|
@pulumi.getter(name="terminationProtection")
|
|
804
707
|
def termination_protection(self) -> Optional[pulumi.Input[bool]]:
|
|
805
708
|
"""
|
|
806
|
-
Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent
|
|
807
|
-
unintentional service deletion. This does not shield against deleting databases or topics but for services with backups
|
|
808
|
-
much of the content can at least be restored from backup in case accidental deletion is done.
|
|
709
|
+
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.
|
|
809
710
|
"""
|
|
810
711
|
return pulumi.get(self, "termination_protection")
|
|
811
712
|
|
|
@@ -822,91 +723,94 @@ class KafkaConnect(pulumi.CustomResource):
|
|
|
822
723
|
additional_disk_space: Optional[pulumi.Input[str]] = None,
|
|
823
724
|
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
824
725
|
disk_space: Optional[pulumi.Input[str]] = None,
|
|
825
|
-
kafka_connect_user_config: Optional[pulumi.Input[
|
|
726
|
+
kafka_connect_user_config: Optional[pulumi.Input[Union['KafkaConnectKafkaConnectUserConfigArgs', 'KafkaConnectKafkaConnectUserConfigArgsDict']]] = None,
|
|
826
727
|
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
827
728
|
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
828
729
|
plan: Optional[pulumi.Input[str]] = None,
|
|
829
730
|
project: Optional[pulumi.Input[str]] = None,
|
|
830
731
|
project_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
831
|
-
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
732
|
+
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['KafkaConnectServiceIntegrationArgs', 'KafkaConnectServiceIntegrationArgsDict']]]]] = None,
|
|
832
733
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
833
734
|
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
834
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
835
|
-
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
735
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['KafkaConnectTagArgs', 'KafkaConnectTagArgsDict']]]]] = None,
|
|
736
|
+
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['KafkaConnectTechEmailArgs', 'KafkaConnectTechEmailArgsDict']]]]] = None,
|
|
836
737
|
termination_protection: Optional[pulumi.Input[bool]] = None,
|
|
837
738
|
__props__=None):
|
|
838
739
|
"""
|
|
839
|
-
|
|
740
|
+
Creates and manages an [Aiven for Apache Kafka® Connect](https://aiven.io/docs/products/kafka/kafka-connect) service.
|
|
741
|
+
Kafka Connect lets you integrate an Aiven for Apache Kafka® service with external data sources using connectors.
|
|
742
|
+
|
|
743
|
+
To set up and integrate Kafka Connect:
|
|
744
|
+
1. Create a Kafka service in the same Aiven project using the `Kafka` resource.
|
|
745
|
+
2. Create topics for importing and exporting data using `KafkaTopic`.
|
|
746
|
+
3. Create the Kafka Connect service.
|
|
747
|
+
4. Use the `ServiceIntegration` resource to integrate the Kafka and Kafka Connect services.
|
|
748
|
+
5. Add source and sink connectors using `KafkaConnector` resource.
|
|
840
749
|
|
|
841
750
|
## Example Usage
|
|
842
751
|
|
|
843
|
-
<!--Start PulumiCodeChooser -->
|
|
844
752
|
```python
|
|
845
753
|
import pulumi
|
|
846
754
|
import pulumi_aiven as aiven
|
|
847
755
|
|
|
848
|
-
|
|
849
|
-
|
|
756
|
+
# Create a Kafka service.
|
|
757
|
+
example_kafka = aiven.Kafka("example_kafka",
|
|
758
|
+
project=example_project["project"],
|
|
759
|
+
service_name="example-kafka-service",
|
|
760
|
+
cloud_name="google-europe-west1",
|
|
761
|
+
plan="startup-2")
|
|
762
|
+
# Create a Kafka Connect service.
|
|
763
|
+
example_kafka_connect = aiven.KafkaConnect("example_kafka_connect",
|
|
764
|
+
project=example_project["project"],
|
|
850
765
|
cloud_name="google-europe-west1",
|
|
851
766
|
plan="startup-4",
|
|
852
|
-
service_name="
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
767
|
+
service_name="example-connect-service",
|
|
768
|
+
kafka_connect_user_config={
|
|
769
|
+
"kafka_connect": {
|
|
770
|
+
"consumer_isolation_level": "read_committed",
|
|
771
|
+
},
|
|
772
|
+
"public_access": {
|
|
773
|
+
"kafka_connect": True,
|
|
774
|
+
},
|
|
775
|
+
})
|
|
776
|
+
# Integrate the Kafka and Kafka Connect services.
|
|
777
|
+
kafka_connect_integration = aiven.ServiceIntegration("kafka_connect_integration",
|
|
778
|
+
project=example_project["project"],
|
|
779
|
+
integration_type="kafka_connect",
|
|
780
|
+
source_service_name=example_kafka.service_name,
|
|
781
|
+
destination_service_name=example_kafka_connect.service_name,
|
|
782
|
+
kafka_connect_user_config={
|
|
783
|
+
"kafka_connect": {
|
|
784
|
+
"group_id": "connect",
|
|
785
|
+
"status_storage_topic": "__connect_status",
|
|
786
|
+
"offset_storage_topic": "__connect_offsets",
|
|
787
|
+
},
|
|
788
|
+
})
|
|
863
789
|
```
|
|
864
|
-
<!--End PulumiCodeChooser -->
|
|
865
790
|
|
|
866
791
|
## Import
|
|
867
792
|
|
|
868
793
|
```sh
|
|
869
|
-
$ pulumi import aiven:index/kafkaConnect:KafkaConnect
|
|
794
|
+
$ pulumi import aiven:index/kafkaConnect:KafkaConnect example_kafka_connect PROJECT/SERVICE_NAME
|
|
870
795
|
```
|
|
871
796
|
|
|
872
797
|
:param str resource_name: The name of the resource.
|
|
873
798
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
874
|
-
:param pulumi.Input[str] additional_disk_space:
|
|
875
|
-
|
|
876
|
-
:param pulumi.Input[str]
|
|
877
|
-
|
|
878
|
-
provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These
|
|
879
|
-
are documented on each Cloud provider's own support articles, like [here for
|
|
880
|
-
Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for
|
|
881
|
-
AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
882
|
-
:param pulumi.Input[str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing
|
|
883
|
-
will result in the service rebalancing.
|
|
884
|
-
:param pulumi.Input[pulumi.InputType['KafkaConnectKafkaConnectUserConfigArgs']] kafka_connect_user_config: KafkaConnect user configurable settings
|
|
799
|
+
: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.
|
|
800
|
+
: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).
|
|
801
|
+
: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.
|
|
802
|
+
:param pulumi.Input[Union['KafkaConnectKafkaConnectUserConfigArgs', 'KafkaConnectKafkaConnectUserConfigArgsDict']] kafka_connect_user_config: KafkaConnect user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
885
803
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
886
804
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
887
|
-
:param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
:param pulumi.Input[
|
|
894
|
-
|
|
895
|
-
:param pulumi.Input[
|
|
896
|
-
value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region
|
|
897
|
-
as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new
|
|
898
|
-
servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
899
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KafkaConnectServiceIntegrationArgs']]]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
900
|
-
: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
|
|
901
|
-
service so name should be picked based on intended service usage rather than current attributes.
|
|
902
|
-
: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
|
|
903
|
-
static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
904
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KafkaConnectTagArgs']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
905
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KafkaConnectTechEmailArgs']]]] tech_emails: Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service
|
|
906
|
-
instability.
|
|
907
|
-
: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
|
|
908
|
-
unintentional service deletion. This does not shield against deleting databases or topics but for services with backups
|
|
909
|
-
much of the content can at least be restored from backup in case accidental deletion is done.
|
|
805
|
+
: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).
|
|
806
|
+
: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.
|
|
807
|
+
: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.
|
|
808
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['KafkaConnectServiceIntegrationArgs', 'KafkaConnectServiceIntegrationArgsDict']]]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
809
|
+
: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.
|
|
810
|
+
: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
|
|
811
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['KafkaConnectTagArgs', 'KafkaConnectTagArgsDict']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
812
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['KafkaConnectTechEmailArgs', 'KafkaConnectTechEmailArgsDict']]]] 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.
|
|
813
|
+
: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.
|
|
910
814
|
"""
|
|
911
815
|
...
|
|
912
816
|
@overload
|
|
@@ -915,37 +819,61 @@ class KafkaConnect(pulumi.CustomResource):
|
|
|
915
819
|
args: KafkaConnectArgs,
|
|
916
820
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
917
821
|
"""
|
|
918
|
-
|
|
822
|
+
Creates and manages an [Aiven for Apache Kafka® Connect](https://aiven.io/docs/products/kafka/kafka-connect) service.
|
|
823
|
+
Kafka Connect lets you integrate an Aiven for Apache Kafka® service with external data sources using connectors.
|
|
824
|
+
|
|
825
|
+
To set up and integrate Kafka Connect:
|
|
826
|
+
1. Create a Kafka service in the same Aiven project using the `Kafka` resource.
|
|
827
|
+
2. Create topics for importing and exporting data using `KafkaTopic`.
|
|
828
|
+
3. Create the Kafka Connect service.
|
|
829
|
+
4. Use the `ServiceIntegration` resource to integrate the Kafka and Kafka Connect services.
|
|
830
|
+
5. Add source and sink connectors using `KafkaConnector` resource.
|
|
919
831
|
|
|
920
832
|
## Example Usage
|
|
921
833
|
|
|
922
|
-
<!--Start PulumiCodeChooser -->
|
|
923
834
|
```python
|
|
924
835
|
import pulumi
|
|
925
836
|
import pulumi_aiven as aiven
|
|
926
837
|
|
|
927
|
-
|
|
928
|
-
|
|
838
|
+
# Create a Kafka service.
|
|
839
|
+
example_kafka = aiven.Kafka("example_kafka",
|
|
840
|
+
project=example_project["project"],
|
|
841
|
+
service_name="example-kafka-service",
|
|
842
|
+
cloud_name="google-europe-west1",
|
|
843
|
+
plan="startup-2")
|
|
844
|
+
# Create a Kafka Connect service.
|
|
845
|
+
example_kafka_connect = aiven.KafkaConnect("example_kafka_connect",
|
|
846
|
+
project=example_project["project"],
|
|
929
847
|
cloud_name="google-europe-west1",
|
|
930
848
|
plan="startup-4",
|
|
931
|
-
service_name="
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
849
|
+
service_name="example-connect-service",
|
|
850
|
+
kafka_connect_user_config={
|
|
851
|
+
"kafka_connect": {
|
|
852
|
+
"consumer_isolation_level": "read_committed",
|
|
853
|
+
},
|
|
854
|
+
"public_access": {
|
|
855
|
+
"kafka_connect": True,
|
|
856
|
+
},
|
|
857
|
+
})
|
|
858
|
+
# Integrate the Kafka and Kafka Connect services.
|
|
859
|
+
kafka_connect_integration = aiven.ServiceIntegration("kafka_connect_integration",
|
|
860
|
+
project=example_project["project"],
|
|
861
|
+
integration_type="kafka_connect",
|
|
862
|
+
source_service_name=example_kafka.service_name,
|
|
863
|
+
destination_service_name=example_kafka_connect.service_name,
|
|
864
|
+
kafka_connect_user_config={
|
|
865
|
+
"kafka_connect": {
|
|
866
|
+
"group_id": "connect",
|
|
867
|
+
"status_storage_topic": "__connect_status",
|
|
868
|
+
"offset_storage_topic": "__connect_offsets",
|
|
869
|
+
},
|
|
870
|
+
})
|
|
942
871
|
```
|
|
943
|
-
<!--End PulumiCodeChooser -->
|
|
944
872
|
|
|
945
873
|
## Import
|
|
946
874
|
|
|
947
875
|
```sh
|
|
948
|
-
$ pulumi import aiven:index/kafkaConnect:KafkaConnect
|
|
876
|
+
$ pulumi import aiven:index/kafkaConnect:KafkaConnect example_kafka_connect PROJECT/SERVICE_NAME
|
|
949
877
|
```
|
|
950
878
|
|
|
951
879
|
:param str resource_name: The name of the resource.
|
|
@@ -966,17 +894,17 @@ class KafkaConnect(pulumi.CustomResource):
|
|
|
966
894
|
additional_disk_space: Optional[pulumi.Input[str]] = None,
|
|
967
895
|
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
968
896
|
disk_space: Optional[pulumi.Input[str]] = None,
|
|
969
|
-
kafka_connect_user_config: Optional[pulumi.Input[
|
|
897
|
+
kafka_connect_user_config: Optional[pulumi.Input[Union['KafkaConnectKafkaConnectUserConfigArgs', 'KafkaConnectKafkaConnectUserConfigArgsDict']]] = None,
|
|
970
898
|
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
971
899
|
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
972
900
|
plan: Optional[pulumi.Input[str]] = None,
|
|
973
901
|
project: Optional[pulumi.Input[str]] = None,
|
|
974
902
|
project_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
975
|
-
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
903
|
+
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['KafkaConnectServiceIntegrationArgs', 'KafkaConnectServiceIntegrationArgsDict']]]]] = None,
|
|
976
904
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
977
905
|
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
978
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
979
|
-
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
906
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['KafkaConnectTagArgs', 'KafkaConnectTagArgsDict']]]]] = None,
|
|
907
|
+
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['KafkaConnectTechEmailArgs', 'KafkaConnectTechEmailArgsDict']]]]] = None,
|
|
980
908
|
termination_protection: Optional[pulumi.Input[bool]] = None,
|
|
981
909
|
__props__=None):
|
|
982
910
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
@@ -1013,7 +941,6 @@ class KafkaConnect(pulumi.CustomResource):
|
|
|
1013
941
|
__props__.__dict__["disk_space_default"] = None
|
|
1014
942
|
__props__.__dict__["disk_space_step"] = None
|
|
1015
943
|
__props__.__dict__["disk_space_used"] = None
|
|
1016
|
-
__props__.__dict__["kafka_connects"] = None
|
|
1017
944
|
__props__.__dict__["service_host"] = None
|
|
1018
945
|
__props__.__dict__["service_password"] = None
|
|
1019
946
|
__props__.__dict__["service_port"] = None
|
|
@@ -1035,21 +962,20 @@ class KafkaConnect(pulumi.CustomResource):
|
|
|
1035
962
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
1036
963
|
additional_disk_space: Optional[pulumi.Input[str]] = None,
|
|
1037
964
|
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
1038
|
-
components: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
965
|
+
components: Optional[pulumi.Input[Sequence[pulumi.Input[Union['KafkaConnectComponentArgs', 'KafkaConnectComponentArgsDict']]]]] = None,
|
|
1039
966
|
disk_space: Optional[pulumi.Input[str]] = None,
|
|
1040
967
|
disk_space_cap: Optional[pulumi.Input[str]] = None,
|
|
1041
968
|
disk_space_default: Optional[pulumi.Input[str]] = None,
|
|
1042
969
|
disk_space_step: Optional[pulumi.Input[str]] = None,
|
|
1043
970
|
disk_space_used: Optional[pulumi.Input[str]] = None,
|
|
1044
|
-
kafka_connect_user_config: Optional[pulumi.Input[
|
|
1045
|
-
kafka_connects: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KafkaConnectKafkaConnectArgs']]]]] = None,
|
|
971
|
+
kafka_connect_user_config: Optional[pulumi.Input[Union['KafkaConnectKafkaConnectUserConfigArgs', 'KafkaConnectKafkaConnectUserConfigArgsDict']]] = None,
|
|
1046
972
|
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
1047
973
|
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
1048
974
|
plan: Optional[pulumi.Input[str]] = None,
|
|
1049
975
|
project: Optional[pulumi.Input[str]] = None,
|
|
1050
976
|
project_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
1051
977
|
service_host: Optional[pulumi.Input[str]] = None,
|
|
1052
|
-
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
978
|
+
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['KafkaConnectServiceIntegrationArgs', 'KafkaConnectServiceIntegrationArgsDict']]]]] = None,
|
|
1053
979
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
1054
980
|
service_password: Optional[pulumi.Input[str]] = None,
|
|
1055
981
|
service_port: Optional[pulumi.Input[int]] = None,
|
|
@@ -1058,8 +984,8 @@ class KafkaConnect(pulumi.CustomResource):
|
|
|
1058
984
|
service_username: Optional[pulumi.Input[str]] = None,
|
|
1059
985
|
state: Optional[pulumi.Input[str]] = None,
|
|
1060
986
|
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1061
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
1062
|
-
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
987
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['KafkaConnectTagArgs', 'KafkaConnectTagArgsDict']]]]] = None,
|
|
988
|
+
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['KafkaConnectTechEmailArgs', 'KafkaConnectTechEmailArgsDict']]]]] = None,
|
|
1063
989
|
termination_protection: Optional[pulumi.Input[bool]] = None) -> 'KafkaConnect':
|
|
1064
990
|
"""
|
|
1065
991
|
Get an existing KafkaConnect resource's state with the given name, id, and optional extra
|
|
@@ -1068,57 +994,33 @@ class KafkaConnect(pulumi.CustomResource):
|
|
|
1068
994
|
:param str resource_name: The unique name of the resulting resource.
|
|
1069
995
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
1070
996
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
1071
|
-
:param pulumi.Input[str] additional_disk_space:
|
|
1072
|
-
|
|
1073
|
-
:param pulumi.Input[
|
|
1074
|
-
|
|
1075
|
-
provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These
|
|
1076
|
-
are documented on each Cloud provider's own support articles, like [here for
|
|
1077
|
-
Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for
|
|
1078
|
-
AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
1079
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KafkaConnectComponentArgs']]]] components: Service component information objects
|
|
1080
|
-
:param pulumi.Input[str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing
|
|
1081
|
-
will result in the service rebalancing.
|
|
997
|
+
: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.
|
|
998
|
+
: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).
|
|
999
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['KafkaConnectComponentArgs', 'KafkaConnectComponentArgsDict']]]] components: Service component information objects
|
|
1000
|
+
: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.
|
|
1082
1001
|
: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.
|
|
1083
|
-
: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.
|
|
1084
|
-
|
|
1085
|
-
: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
|
|
1086
|
-
project. `disk_space` needs to increment from `disk_space_default` by increments of this size.
|
|
1002
|
+
: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`
|
|
1003
|
+
: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.
|
|
1087
1004
|
:param pulumi.Input[str] disk_space_used: Disk space that service is currently using
|
|
1088
|
-
:param pulumi.Input[
|
|
1089
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KafkaConnectKafkaConnectArgs']]]] kafka_connects: Kafka Connect server provided values
|
|
1005
|
+
:param pulumi.Input[Union['KafkaConnectKafkaConnectUserConfigArgs', 'KafkaConnectKafkaConnectUserConfigArgsDict']] kafka_connect_user_config: KafkaConnect user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
1090
1006
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
1091
1007
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
1092
|
-
:param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
`hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also
|
|
1096
|
-
other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available
|
|
1097
|
-
options can be seem from the [Aiven pricing page](https://aiven.io/pricing).
|
|
1098
|
-
:param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a
|
|
1099
|
-
reference. This property cannot be changed, doing so forces recreation of the resource.
|
|
1100
|
-
: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
|
|
1101
|
-
value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region
|
|
1102
|
-
as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new
|
|
1103
|
-
servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
1008
|
+
: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).
|
|
1009
|
+
: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.
|
|
1010
|
+
: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.
|
|
1104
1011
|
:param pulumi.Input[str] service_host: The hostname of the service.
|
|
1105
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
1106
|
-
: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
|
|
1107
|
-
service so name should be picked based on intended service usage rather than current attributes.
|
|
1012
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['KafkaConnectServiceIntegrationArgs', 'KafkaConnectServiceIntegrationArgsDict']]]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
1013
|
+
: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.
|
|
1108
1014
|
:param pulumi.Input[str] service_password: Password used for connecting to the service, if applicable
|
|
1109
1015
|
:param pulumi.Input[int] service_port: The port of the service
|
|
1110
1016
|
:param pulumi.Input[str] service_type: Aiven internal service type code
|
|
1111
1017
|
:param pulumi.Input[str] service_uri: URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
1112
1018
|
:param pulumi.Input[str] service_username: Username used for connecting to the service, if applicable
|
|
1113
1019
|
:param pulumi.Input[str] state: Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
1114
|
-
: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
|
|
1115
|
-
|
|
1116
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
1117
|
-
:param pulumi.Input[
|
|
1118
|
-
instability.
|
|
1119
|
-
: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
|
|
1120
|
-
unintentional service deletion. This does not shield against deleting databases or topics but for services with backups
|
|
1121
|
-
much of the content can at least be restored from backup in case accidental deletion is done.
|
|
1020
|
+
: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
|
|
1021
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['KafkaConnectTagArgs', 'KafkaConnectTagArgsDict']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
1022
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['KafkaConnectTechEmailArgs', 'KafkaConnectTechEmailArgsDict']]]] 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.
|
|
1023
|
+
: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.
|
|
1122
1024
|
"""
|
|
1123
1025
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
1124
1026
|
|
|
@@ -1133,7 +1035,6 @@ class KafkaConnect(pulumi.CustomResource):
|
|
|
1133
1035
|
__props__.__dict__["disk_space_step"] = disk_space_step
|
|
1134
1036
|
__props__.__dict__["disk_space_used"] = disk_space_used
|
|
1135
1037
|
__props__.__dict__["kafka_connect_user_config"] = kafka_connect_user_config
|
|
1136
|
-
__props__.__dict__["kafka_connects"] = kafka_connects
|
|
1137
1038
|
__props__.__dict__["maintenance_window_dow"] = maintenance_window_dow
|
|
1138
1039
|
__props__.__dict__["maintenance_window_time"] = maintenance_window_time
|
|
1139
1040
|
__props__.__dict__["plan"] = plan
|
|
@@ -1156,10 +1057,9 @@ class KafkaConnect(pulumi.CustomResource):
|
|
|
1156
1057
|
|
|
1157
1058
|
@property
|
|
1158
1059
|
@pulumi.getter(name="additionalDiskSpace")
|
|
1159
|
-
def additional_disk_space(self) -> pulumi.Output[
|
|
1060
|
+
def additional_disk_space(self) -> pulumi.Output[str]:
|
|
1160
1061
|
"""
|
|
1161
|
-
|
|
1162
|
-
reducing will result in the service rebalancing.
|
|
1062
|
+
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.
|
|
1163
1063
|
"""
|
|
1164
1064
|
return pulumi.get(self, "additional_disk_space")
|
|
1165
1065
|
|
|
@@ -1167,12 +1067,7 @@ class KafkaConnect(pulumi.CustomResource):
|
|
|
1167
1067
|
@pulumi.getter(name="cloudName")
|
|
1168
1068
|
def cloud_name(self) -> pulumi.Output[Optional[str]]:
|
|
1169
1069
|
"""
|
|
1170
|
-
Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is
|
|
1171
|
-
created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud
|
|
1172
|
-
provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These
|
|
1173
|
-
are documented on each Cloud provider's own support articles, like [here for
|
|
1174
|
-
Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for
|
|
1175
|
-
AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
1070
|
+
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).
|
|
1176
1071
|
"""
|
|
1177
1072
|
return pulumi.get(self, "cloud_name")
|
|
1178
1073
|
|
|
@@ -1186,14 +1081,11 @@ class KafkaConnect(pulumi.CustomResource):
|
|
|
1186
1081
|
|
|
1187
1082
|
@property
|
|
1188
1083
|
@pulumi.getter(name="diskSpace")
|
|
1084
|
+
@_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.""")
|
|
1189
1085
|
def disk_space(self) -> pulumi.Output[Optional[str]]:
|
|
1190
1086
|
"""
|
|
1191
|
-
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing
|
|
1192
|
-
will result in the service rebalancing.
|
|
1087
|
+
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
1193
1088
|
"""
|
|
1194
|
-
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)
|
|
1195
|
-
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.""")
|
|
1196
|
-
|
|
1197
1089
|
return pulumi.get(self, "disk_space")
|
|
1198
1090
|
|
|
1199
1091
|
@property
|
|
@@ -1208,8 +1100,7 @@ class KafkaConnect(pulumi.CustomResource):
|
|
|
1208
1100
|
@pulumi.getter(name="diskSpaceDefault")
|
|
1209
1101
|
def disk_space_default(self) -> pulumi.Output[str]:
|
|
1210
1102
|
"""
|
|
1211
|
-
The default disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
1212
|
-
Its also the minimum value for `disk_space`
|
|
1103
|
+
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`
|
|
1213
1104
|
"""
|
|
1214
1105
|
return pulumi.get(self, "disk_space_default")
|
|
1215
1106
|
|
|
@@ -1217,13 +1108,13 @@ class KafkaConnect(pulumi.CustomResource):
|
|
|
1217
1108
|
@pulumi.getter(name="diskSpaceStep")
|
|
1218
1109
|
def disk_space_step(self) -> pulumi.Output[str]:
|
|
1219
1110
|
"""
|
|
1220
|
-
The default disk space step of the service, possible values depend on the service type, the cloud provider and the
|
|
1221
|
-
project. `disk_space` needs to increment from `disk_space_default` by increments of this size.
|
|
1111
|
+
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.
|
|
1222
1112
|
"""
|
|
1223
1113
|
return pulumi.get(self, "disk_space_step")
|
|
1224
1114
|
|
|
1225
1115
|
@property
|
|
1226
1116
|
@pulumi.getter(name="diskSpaceUsed")
|
|
1117
|
+
@_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.""")
|
|
1227
1118
|
def disk_space_used(self) -> pulumi.Output[str]:
|
|
1228
1119
|
"""
|
|
1229
1120
|
Disk space that service is currently using
|
|
@@ -1234,18 +1125,10 @@ class KafkaConnect(pulumi.CustomResource):
|
|
|
1234
1125
|
@pulumi.getter(name="kafkaConnectUserConfig")
|
|
1235
1126
|
def kafka_connect_user_config(self) -> pulumi.Output[Optional['outputs.KafkaConnectKafkaConnectUserConfig']]:
|
|
1236
1127
|
"""
|
|
1237
|
-
KafkaConnect user configurable settings
|
|
1128
|
+
KafkaConnect user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
1238
1129
|
"""
|
|
1239
1130
|
return pulumi.get(self, "kafka_connect_user_config")
|
|
1240
1131
|
|
|
1241
|
-
@property
|
|
1242
|
-
@pulumi.getter(name="kafkaConnects")
|
|
1243
|
-
def kafka_connects(self) -> pulumi.Output[Sequence['outputs.KafkaConnectKafkaConnect']]:
|
|
1244
|
-
"""
|
|
1245
|
-
Kafka Connect server provided values
|
|
1246
|
-
"""
|
|
1247
|
-
return pulumi.get(self, "kafka_connects")
|
|
1248
|
-
|
|
1249
1132
|
@property
|
|
1250
1133
|
@pulumi.getter(name="maintenanceWindowDow")
|
|
1251
1134
|
def maintenance_window_dow(self) -> pulumi.Output[Optional[str]]:
|
|
@@ -1266,12 +1149,7 @@ class KafkaConnect(pulumi.CustomResource):
|
|
|
1266
1149
|
@pulumi.getter
|
|
1267
1150
|
def plan(self) -> pulumi.Output[str]:
|
|
1268
1151
|
"""
|
|
1269
|
-
Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there
|
|
1270
|
-
are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to
|
|
1271
|
-
store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
|
|
1272
|
-
`hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also
|
|
1273
|
-
other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available
|
|
1274
|
-
options can be seem from the [Aiven pricing page](https://aiven.io/pricing).
|
|
1152
|
+
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).
|
|
1275
1153
|
"""
|
|
1276
1154
|
return pulumi.get(self, "plan")
|
|
1277
1155
|
|
|
@@ -1279,19 +1157,15 @@ class KafkaConnect(pulumi.CustomResource):
|
|
|
1279
1157
|
@pulumi.getter
|
|
1280
1158
|
def project(self) -> pulumi.Output[str]:
|
|
1281
1159
|
"""
|
|
1282
|
-
|
|
1283
|
-
reference. This property cannot be changed, doing so forces recreation of the resource.
|
|
1160
|
+
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.
|
|
1284
1161
|
"""
|
|
1285
1162
|
return pulumi.get(self, "project")
|
|
1286
1163
|
|
|
1287
1164
|
@property
|
|
1288
1165
|
@pulumi.getter(name="projectVpcId")
|
|
1289
|
-
def project_vpc_id(self) -> pulumi.Output[
|
|
1166
|
+
def project_vpc_id(self) -> pulumi.Output[str]:
|
|
1290
1167
|
"""
|
|
1291
|
-
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
|
|
1292
|
-
value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region
|
|
1293
|
-
as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new
|
|
1294
|
-
servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
1168
|
+
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.
|
|
1295
1169
|
"""
|
|
1296
1170
|
return pulumi.get(self, "project_vpc_id")
|
|
1297
1171
|
|
|
@@ -1305,7 +1179,7 @@ class KafkaConnect(pulumi.CustomResource):
|
|
|
1305
1179
|
|
|
1306
1180
|
@property
|
|
1307
1181
|
@pulumi.getter(name="serviceIntegrations")
|
|
1308
|
-
def service_integrations(self) -> pulumi.Output[
|
|
1182
|
+
def service_integrations(self) -> pulumi.Output[Sequence['outputs.KafkaConnectServiceIntegration']]:
|
|
1309
1183
|
"""
|
|
1310
1184
|
Service integrations to specify when creating a service. Not applied after initial service creation
|
|
1311
1185
|
"""
|
|
@@ -1315,8 +1189,7 @@ class KafkaConnect(pulumi.CustomResource):
|
|
|
1315
1189
|
@pulumi.getter(name="serviceName")
|
|
1316
1190
|
def service_name(self) -> pulumi.Output[str]:
|
|
1317
1191
|
"""
|
|
1318
|
-
Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the
|
|
1319
|
-
service so name should be picked based on intended service usage rather than current attributes.
|
|
1192
|
+
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.
|
|
1320
1193
|
"""
|
|
1321
1194
|
return pulumi.get(self, "service_name")
|
|
1322
1195
|
|
|
@@ -1372,8 +1245,7 @@ class KafkaConnect(pulumi.CustomResource):
|
|
|
1372
1245
|
@pulumi.getter(name="staticIps")
|
|
1373
1246
|
def static_ips(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
1374
1247
|
"""
|
|
1375
|
-
Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a
|
|
1376
|
-
static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
1248
|
+
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
|
|
1377
1249
|
"""
|
|
1378
1250
|
return pulumi.get(self, "static_ips")
|
|
1379
1251
|
|
|
@@ -1389,8 +1261,7 @@ class KafkaConnect(pulumi.CustomResource):
|
|
|
1389
1261
|
@pulumi.getter(name="techEmails")
|
|
1390
1262
|
def tech_emails(self) -> pulumi.Output[Optional[Sequence['outputs.KafkaConnectTechEmail']]]:
|
|
1391
1263
|
"""
|
|
1392
|
-
|
|
1393
|
-
instability.
|
|
1264
|
+
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.
|
|
1394
1265
|
"""
|
|
1395
1266
|
return pulumi.get(self, "tech_emails")
|
|
1396
1267
|
|
|
@@ -1398,9 +1269,7 @@ class KafkaConnect(pulumi.CustomResource):
|
|
|
1398
1269
|
@pulumi.getter(name="terminationProtection")
|
|
1399
1270
|
def termination_protection(self) -> pulumi.Output[Optional[bool]]:
|
|
1400
1271
|
"""
|
|
1401
|
-
Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent
|
|
1402
|
-
unintentional service deletion. This does not shield against deleting databases or topics but for services with backups
|
|
1403
|
-
much of the content can at least be restored from backup in case accidental deletion is done.
|
|
1272
|
+
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.
|
|
1404
1273
|
"""
|
|
1405
1274
|
return pulumi.get(self, "termination_protection")
|
|
1406
1275
|
|