pulumi-aiven 6.13.0a1710156545__py3-none-any.whl → 6.31.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-aiven might be problematic. Click here for more details.
- pulumi_aiven/__init__.py +136 -0
- pulumi_aiven/_inputs.py +32749 -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_quota.py +604 -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 +38976 -21894
- 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.0.dist-info}/METADATA +7 -6
- pulumi_aiven-6.31.0.dist-info/RECORD +170 -0
- {pulumi_aiven-6.13.0a1710156545.dist-info → pulumi_aiven-6.31.0.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.0.dist-info}/top_level.txt +0 -0
|
@@ -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 KafkaMirrorMakerArgs:
|
|
|
33
38
|
termination_protection: Optional[pulumi.Input[bool]] = None):
|
|
34
39
|
"""
|
|
35
40
|
The set of arguments for constructing a KafkaMirrorMaker 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['KafkaMirrorMakerKafkaMirrormakerUserConfigArgs'] kafka_mirrormaker_user_config: KafkaMirrormaker 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['KafkaMirrorMakerKafkaMirrormakerUserConfigArgs'] kafka_mirrormaker_user_config: KafkaMirrormaker 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['KafkaMirrorMakerServiceIntegrationArgs']]] 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['KafkaMirrorMakerTagArgs']]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
67
|
-
:param pulumi.Input[Sequence[pulumi.Input['KafkaMirrorMakerTechEmailArgs']]] 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['KafkaMirrorMakerTechEmailArgs']]] 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 KafkaMirrorMakerArgs:
|
|
|
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 KafkaMirrorMakerArgs:
|
|
|
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 KafkaMirrorMakerArgs:
|
|
|
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 KafkaMirrorMakerArgs:
|
|
|
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 KafkaMirrorMakerArgs:
|
|
|
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 KafkaMirrorMakerArgs:
|
|
|
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 KafkaMirrorMakerArgs:
|
|
|
194
162
|
@pulumi.getter(name="kafkaMirrormakerUserConfig")
|
|
195
163
|
def kafka_mirrormaker_user_config(self) -> Optional[pulumi.Input['KafkaMirrorMakerKafkaMirrormakerUserConfigArgs']]:
|
|
196
164
|
"""
|
|
197
|
-
KafkaMirrormaker user configurable settings
|
|
165
|
+
KafkaMirrormaker 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_mirrormaker_user_config")
|
|
200
168
|
|
|
@@ -230,10 +198,7 @@ class KafkaMirrorMakerArgs:
|
|
|
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 KafkaMirrorMakerArgs:
|
|
|
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 KafkaMirrorMakerArgs:
|
|
|
282
246
|
@pulumi.getter(name="techEmails")
|
|
283
247
|
def tech_emails(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['KafkaMirrorMakerTechEmailArgs']]]]:
|
|
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 KafkaMirrorMakerArgs:
|
|
|
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 _KafkaMirrorMakerState:
|
|
|
318
279
|
disk_space_step: Optional[pulumi.Input[str]] = None,
|
|
319
280
|
disk_space_used: Optional[pulumi.Input[str]] = None,
|
|
320
281
|
kafka_mirrormaker_user_config: Optional[pulumi.Input['KafkaMirrorMakerKafkaMirrormakerUserConfigArgs']] = None,
|
|
321
|
-
kafka_mirrormakers: Optional[pulumi.Input[Sequence[pulumi.Input['KafkaMirrorMakerKafkaMirrormakerArgs']]]] = 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 _KafkaMirrorMakerState:
|
|
|
339
299
|
termination_protection: Optional[pulumi.Input[bool]] = None):
|
|
340
300
|
"""
|
|
341
301
|
Input properties used for looking up and filtering KafkaMirrorMaker 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['KafkaMirrorMakerComponentArgs']]] 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['KafkaMirrorMakerKafkaMirrormakerUserConfigArgs'] kafka_mirrormaker_user_config: KafkaMirrormaker user configurable settings
|
|
360
|
-
:param pulumi.Input[Sequence[pulumi.Input['KafkaMirrorMakerKafkaMirrormakerArgs']]] kafka_mirrormakers: Kafka MirrorMaker 2 server provided values
|
|
310
|
+
:param pulumi.Input['KafkaMirrorMakerKafkaMirrormakerUserConfigArgs'] kafka_mirrormaker_user_config: KafkaMirrormaker 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['KafkaMirrorMakerServiceIntegrationArgs']]] 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['KafkaMirrorMakerTagArgs']]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
388
|
-
:param pulumi.Input[Sequence[pulumi.Input['KafkaMirrorMakerTechEmailArgs']]] 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['KafkaMirrorMakerTechEmailArgs']]] 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 _KafkaMirrorMakerState:
|
|
|
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_mirrormaker_user_config is not None:
|
|
414
353
|
pulumi.set(__self__, "kafka_mirrormaker_user_config", kafka_mirrormaker_user_config)
|
|
415
|
-
if kafka_mirrormakers is not None:
|
|
416
|
-
pulumi.set(__self__, "kafka_mirrormakers", kafka_mirrormakers)
|
|
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 _KafkaMirrorMakerState:
|
|
|
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 _KafkaMirrorMakerState:
|
|
|
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 _KafkaMirrorMakerState:
|
|
|
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 _KafkaMirrorMakerState:
|
|
|
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 _KafkaMirrorMakerState:
|
|
|
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 _KafkaMirrorMakerState:
|
|
|
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 _KafkaMirrorMakerState:
|
|
|
563
490
|
@pulumi.getter(name="kafkaMirrormakerUserConfig")
|
|
564
491
|
def kafka_mirrormaker_user_config(self) -> Optional[pulumi.Input['KafkaMirrorMakerKafkaMirrormakerUserConfigArgs']]:
|
|
565
492
|
"""
|
|
566
|
-
KafkaMirrormaker user configurable settings
|
|
493
|
+
KafkaMirrormaker 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_mirrormaker_user_config")
|
|
569
496
|
|
|
@@ -571,18 +498,6 @@ class _KafkaMirrorMakerState:
|
|
|
571
498
|
def kafka_mirrormaker_user_config(self, value: Optional[pulumi.Input['KafkaMirrorMakerKafkaMirrormakerUserConfigArgs']]):
|
|
572
499
|
pulumi.set(self, "kafka_mirrormaker_user_config", value)
|
|
573
500
|
|
|
574
|
-
@property
|
|
575
|
-
@pulumi.getter(name="kafkaMirrormakers")
|
|
576
|
-
def kafka_mirrormakers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['KafkaMirrorMakerKafkaMirrormakerArgs']]]]:
|
|
577
|
-
"""
|
|
578
|
-
Kafka MirrorMaker 2 server provided values
|
|
579
|
-
"""
|
|
580
|
-
return pulumi.get(self, "kafka_mirrormakers")
|
|
581
|
-
|
|
582
|
-
@kafka_mirrormakers.setter
|
|
583
|
-
def kafka_mirrormakers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['KafkaMirrorMakerKafkaMirrormakerArgs']]]]):
|
|
584
|
-
pulumi.set(self, "kafka_mirrormakers", 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 _KafkaMirrorMakerState:
|
|
|
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 _KafkaMirrorMakerState:
|
|
|
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 _KafkaMirrorMakerState:
|
|
|
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 _KafkaMirrorMakerState:
|
|
|
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 _KafkaMirrorMakerState:
|
|
|
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 _KafkaMirrorMakerState:
|
|
|
790
694
|
@pulumi.getter(name="techEmails")
|
|
791
695
|
def tech_emails(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['KafkaMirrorMakerTechEmailArgs']]]]:
|
|
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 _KafkaMirrorMakerState:
|
|
|
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,17 +723,17 @@ class KafkaMirrorMaker(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_mirrormaker_user_config: Optional[pulumi.Input[
|
|
726
|
+
kafka_mirrormaker_user_config: Optional[pulumi.Input[Union['KafkaMirrorMakerKafkaMirrormakerUserConfigArgs', 'KafkaMirrorMakerKafkaMirrormakerUserConfigArgsDict']]] = 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['KafkaMirrorMakerServiceIntegrationArgs', 'KafkaMirrorMakerServiceIntegrationArgsDict']]]]] = 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['KafkaMirrorMakerTagArgs', 'KafkaMirrorMakerTagArgsDict']]]]] = None,
|
|
736
|
+
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['KafkaMirrorMakerTechEmailArgs', 'KafkaMirrorMakerTechEmailArgsDict']]]]] = None,
|
|
836
737
|
termination_protection: Optional[pulumi.Input[bool]] = None,
|
|
837
738
|
__props__=None):
|
|
838
739
|
"""
|
|
@@ -840,26 +741,24 @@ class KafkaMirrorMaker(pulumi.CustomResource):
|
|
|
840
741
|
|
|
841
742
|
## Example Usage
|
|
842
743
|
|
|
843
|
-
<!--Start PulumiCodeChooser -->
|
|
844
744
|
```python
|
|
845
745
|
import pulumi
|
|
846
746
|
import pulumi_aiven as aiven
|
|
847
747
|
|
|
848
748
|
mm1 = aiven.KafkaMirrorMaker("mm1",
|
|
849
|
-
project=
|
|
749
|
+
project=pr1["project"],
|
|
850
750
|
cloud_name="google-europe-west1",
|
|
851
751
|
plan="startup-4",
|
|
852
752
|
service_name="my-mm1",
|
|
853
|
-
kafka_mirrormaker_user_config=
|
|
854
|
-
ip_filters
|
|
855
|
-
kafka_mirrormaker
|
|
856
|
-
refresh_groups_interval_seconds
|
|
857
|
-
refresh_topics_enabled
|
|
858
|
-
refresh_topics_interval_seconds
|
|
859
|
-
|
|
860
|
-
)
|
|
753
|
+
kafka_mirrormaker_user_config={
|
|
754
|
+
"ip_filters": ["0.0.0.0/0"],
|
|
755
|
+
"kafka_mirrormaker": {
|
|
756
|
+
"refresh_groups_interval_seconds": 600,
|
|
757
|
+
"refresh_topics_enabled": True,
|
|
758
|
+
"refresh_topics_interval_seconds": 600,
|
|
759
|
+
},
|
|
760
|
+
})
|
|
861
761
|
```
|
|
862
|
-
<!--End PulumiCodeChooser -->
|
|
863
762
|
|
|
864
763
|
## Import
|
|
865
764
|
|
|
@@ -869,42 +768,21 @@ class KafkaMirrorMaker(pulumi.CustomResource):
|
|
|
869
768
|
|
|
870
769
|
:param str resource_name: The name of the resource.
|
|
871
770
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
872
|
-
:param pulumi.Input[str] additional_disk_space:
|
|
873
|
-
|
|
874
|
-
:param pulumi.Input[str]
|
|
875
|
-
|
|
876
|
-
provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These
|
|
877
|
-
are documented on each Cloud provider's own support articles, like [here for
|
|
878
|
-
Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for
|
|
879
|
-
AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
880
|
-
:param pulumi.Input[str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing
|
|
881
|
-
will result in the service rebalancing.
|
|
882
|
-
:param pulumi.Input[pulumi.InputType['KafkaMirrorMakerKafkaMirrormakerUserConfigArgs']] kafka_mirrormaker_user_config: KafkaMirrormaker user configurable settings
|
|
771
|
+
: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.
|
|
772
|
+
: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).
|
|
773
|
+
: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.
|
|
774
|
+
:param pulumi.Input[Union['KafkaMirrorMakerKafkaMirrormakerUserConfigArgs', 'KafkaMirrorMakerKafkaMirrormakerUserConfigArgsDict']] kafka_mirrormaker_user_config: KafkaMirrormaker user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
883
775
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
884
776
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
885
|
-
:param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
:param pulumi.Input[
|
|
892
|
-
|
|
893
|
-
:param pulumi.Input[
|
|
894
|
-
value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region
|
|
895
|
-
as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new
|
|
896
|
-
servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
897
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KafkaMirrorMakerServiceIntegrationArgs']]]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
898
|
-
: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
|
|
899
|
-
service so name should be picked based on intended service usage rather than current attributes.
|
|
900
|
-
: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
|
|
901
|
-
static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
902
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KafkaMirrorMakerTagArgs']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
903
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KafkaMirrorMakerTechEmailArgs']]]] tech_emails: Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service
|
|
904
|
-
instability.
|
|
905
|
-
: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
|
|
906
|
-
unintentional service deletion. This does not shield against deleting databases or topics but for services with backups
|
|
907
|
-
much of the content can at least be restored from backup in case accidental deletion is done.
|
|
777
|
+
: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).
|
|
778
|
+
: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.
|
|
779
|
+
: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.
|
|
780
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['KafkaMirrorMakerServiceIntegrationArgs', 'KafkaMirrorMakerServiceIntegrationArgsDict']]]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
781
|
+
: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.
|
|
782
|
+
: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
|
|
783
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['KafkaMirrorMakerTagArgs', 'KafkaMirrorMakerTagArgsDict']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
784
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['KafkaMirrorMakerTechEmailArgs', 'KafkaMirrorMakerTechEmailArgsDict']]]] 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.
|
|
785
|
+
: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.
|
|
908
786
|
"""
|
|
909
787
|
...
|
|
910
788
|
@overload
|
|
@@ -917,26 +795,24 @@ class KafkaMirrorMaker(pulumi.CustomResource):
|
|
|
917
795
|
|
|
918
796
|
## Example Usage
|
|
919
797
|
|
|
920
|
-
<!--Start PulumiCodeChooser -->
|
|
921
798
|
```python
|
|
922
799
|
import pulumi
|
|
923
800
|
import pulumi_aiven as aiven
|
|
924
801
|
|
|
925
802
|
mm1 = aiven.KafkaMirrorMaker("mm1",
|
|
926
|
-
project=
|
|
803
|
+
project=pr1["project"],
|
|
927
804
|
cloud_name="google-europe-west1",
|
|
928
805
|
plan="startup-4",
|
|
929
806
|
service_name="my-mm1",
|
|
930
|
-
kafka_mirrormaker_user_config=
|
|
931
|
-
ip_filters
|
|
932
|
-
kafka_mirrormaker
|
|
933
|
-
refresh_groups_interval_seconds
|
|
934
|
-
refresh_topics_enabled
|
|
935
|
-
refresh_topics_interval_seconds
|
|
936
|
-
|
|
937
|
-
)
|
|
807
|
+
kafka_mirrormaker_user_config={
|
|
808
|
+
"ip_filters": ["0.0.0.0/0"],
|
|
809
|
+
"kafka_mirrormaker": {
|
|
810
|
+
"refresh_groups_interval_seconds": 600,
|
|
811
|
+
"refresh_topics_enabled": True,
|
|
812
|
+
"refresh_topics_interval_seconds": 600,
|
|
813
|
+
},
|
|
814
|
+
})
|
|
938
815
|
```
|
|
939
|
-
<!--End PulumiCodeChooser -->
|
|
940
816
|
|
|
941
817
|
## Import
|
|
942
818
|
|
|
@@ -962,17 +838,17 @@ class KafkaMirrorMaker(pulumi.CustomResource):
|
|
|
962
838
|
additional_disk_space: Optional[pulumi.Input[str]] = None,
|
|
963
839
|
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
964
840
|
disk_space: Optional[pulumi.Input[str]] = None,
|
|
965
|
-
kafka_mirrormaker_user_config: Optional[pulumi.Input[
|
|
841
|
+
kafka_mirrormaker_user_config: Optional[pulumi.Input[Union['KafkaMirrorMakerKafkaMirrormakerUserConfigArgs', 'KafkaMirrorMakerKafkaMirrormakerUserConfigArgsDict']]] = None,
|
|
966
842
|
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
967
843
|
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
968
844
|
plan: Optional[pulumi.Input[str]] = None,
|
|
969
845
|
project: Optional[pulumi.Input[str]] = None,
|
|
970
846
|
project_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
971
|
-
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
847
|
+
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['KafkaMirrorMakerServiceIntegrationArgs', 'KafkaMirrorMakerServiceIntegrationArgsDict']]]]] = None,
|
|
972
848
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
973
849
|
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
974
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
975
|
-
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
850
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['KafkaMirrorMakerTagArgs', 'KafkaMirrorMakerTagArgsDict']]]]] = None,
|
|
851
|
+
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['KafkaMirrorMakerTechEmailArgs', 'KafkaMirrorMakerTechEmailArgsDict']]]]] = None,
|
|
976
852
|
termination_protection: Optional[pulumi.Input[bool]] = None,
|
|
977
853
|
__props__=None):
|
|
978
854
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
@@ -1009,7 +885,6 @@ class KafkaMirrorMaker(pulumi.CustomResource):
|
|
|
1009
885
|
__props__.__dict__["disk_space_default"] = None
|
|
1010
886
|
__props__.__dict__["disk_space_step"] = None
|
|
1011
887
|
__props__.__dict__["disk_space_used"] = None
|
|
1012
|
-
__props__.__dict__["kafka_mirrormakers"] = None
|
|
1013
888
|
__props__.__dict__["service_host"] = None
|
|
1014
889
|
__props__.__dict__["service_password"] = None
|
|
1015
890
|
__props__.__dict__["service_port"] = None
|
|
@@ -1031,21 +906,20 @@ class KafkaMirrorMaker(pulumi.CustomResource):
|
|
|
1031
906
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
1032
907
|
additional_disk_space: Optional[pulumi.Input[str]] = None,
|
|
1033
908
|
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
1034
|
-
components: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
909
|
+
components: Optional[pulumi.Input[Sequence[pulumi.Input[Union['KafkaMirrorMakerComponentArgs', 'KafkaMirrorMakerComponentArgsDict']]]]] = None,
|
|
1035
910
|
disk_space: Optional[pulumi.Input[str]] = None,
|
|
1036
911
|
disk_space_cap: Optional[pulumi.Input[str]] = None,
|
|
1037
912
|
disk_space_default: Optional[pulumi.Input[str]] = None,
|
|
1038
913
|
disk_space_step: Optional[pulumi.Input[str]] = None,
|
|
1039
914
|
disk_space_used: Optional[pulumi.Input[str]] = None,
|
|
1040
|
-
kafka_mirrormaker_user_config: Optional[pulumi.Input[
|
|
1041
|
-
kafka_mirrormakers: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KafkaMirrorMakerKafkaMirrormakerArgs']]]]] = None,
|
|
915
|
+
kafka_mirrormaker_user_config: Optional[pulumi.Input[Union['KafkaMirrorMakerKafkaMirrormakerUserConfigArgs', 'KafkaMirrorMakerKafkaMirrormakerUserConfigArgsDict']]] = None,
|
|
1042
916
|
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
1043
917
|
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
1044
918
|
plan: Optional[pulumi.Input[str]] = None,
|
|
1045
919
|
project: Optional[pulumi.Input[str]] = None,
|
|
1046
920
|
project_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
1047
921
|
service_host: Optional[pulumi.Input[str]] = None,
|
|
1048
|
-
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
922
|
+
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['KafkaMirrorMakerServiceIntegrationArgs', 'KafkaMirrorMakerServiceIntegrationArgsDict']]]]] = None,
|
|
1049
923
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
1050
924
|
service_password: Optional[pulumi.Input[str]] = None,
|
|
1051
925
|
service_port: Optional[pulumi.Input[int]] = None,
|
|
@@ -1054,8 +928,8 @@ class KafkaMirrorMaker(pulumi.CustomResource):
|
|
|
1054
928
|
service_username: Optional[pulumi.Input[str]] = None,
|
|
1055
929
|
state: Optional[pulumi.Input[str]] = None,
|
|
1056
930
|
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1057
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
1058
|
-
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
931
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['KafkaMirrorMakerTagArgs', 'KafkaMirrorMakerTagArgsDict']]]]] = None,
|
|
932
|
+
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['KafkaMirrorMakerTechEmailArgs', 'KafkaMirrorMakerTechEmailArgsDict']]]]] = None,
|
|
1059
933
|
termination_protection: Optional[pulumi.Input[bool]] = None) -> 'KafkaMirrorMaker':
|
|
1060
934
|
"""
|
|
1061
935
|
Get an existing KafkaMirrorMaker resource's state with the given name, id, and optional extra
|
|
@@ -1064,57 +938,33 @@ class KafkaMirrorMaker(pulumi.CustomResource):
|
|
|
1064
938
|
:param str resource_name: The unique name of the resulting resource.
|
|
1065
939
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
1066
940
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
1067
|
-
:param pulumi.Input[str] additional_disk_space:
|
|
1068
|
-
|
|
1069
|
-
:param pulumi.Input[
|
|
1070
|
-
|
|
1071
|
-
provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These
|
|
1072
|
-
are documented on each Cloud provider's own support articles, like [here for
|
|
1073
|
-
Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for
|
|
1074
|
-
AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
1075
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KafkaMirrorMakerComponentArgs']]]] components: Service component information objects
|
|
1076
|
-
:param pulumi.Input[str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing
|
|
1077
|
-
will result in the service rebalancing.
|
|
941
|
+
: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.
|
|
942
|
+
: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).
|
|
943
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['KafkaMirrorMakerComponentArgs', 'KafkaMirrorMakerComponentArgsDict']]]] components: Service component information objects
|
|
944
|
+
: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.
|
|
1078
945
|
: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.
|
|
1079
|
-
: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.
|
|
1080
|
-
|
|
1081
|
-
: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
|
|
1082
|
-
project. `disk_space` needs to increment from `disk_space_default` by increments of this size.
|
|
946
|
+
: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`
|
|
947
|
+
: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.
|
|
1083
948
|
:param pulumi.Input[str] disk_space_used: Disk space that service is currently using
|
|
1084
|
-
:param pulumi.Input[
|
|
1085
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KafkaMirrorMakerKafkaMirrormakerArgs']]]] kafka_mirrormakers: Kafka MirrorMaker 2 server provided values
|
|
949
|
+
:param pulumi.Input[Union['KafkaMirrorMakerKafkaMirrormakerUserConfigArgs', 'KafkaMirrorMakerKafkaMirrormakerUserConfigArgsDict']] kafka_mirrormaker_user_config: KafkaMirrormaker user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
1086
950
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
1087
951
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
1088
|
-
:param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
`hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also
|
|
1092
|
-
other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available
|
|
1093
|
-
options can be seem from the [Aiven pricing page](https://aiven.io/pricing).
|
|
1094
|
-
:param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a
|
|
1095
|
-
reference. This property cannot be changed, doing so forces recreation of the resource.
|
|
1096
|
-
: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
|
|
1097
|
-
value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region
|
|
1098
|
-
as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new
|
|
1099
|
-
servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
952
|
+
: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).
|
|
953
|
+
: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.
|
|
954
|
+
: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.
|
|
1100
955
|
:param pulumi.Input[str] service_host: The hostname of the service.
|
|
1101
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
1102
|
-
: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
|
|
1103
|
-
service so name should be picked based on intended service usage rather than current attributes.
|
|
956
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['KafkaMirrorMakerServiceIntegrationArgs', 'KafkaMirrorMakerServiceIntegrationArgsDict']]]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
957
|
+
: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.
|
|
1104
958
|
:param pulumi.Input[str] service_password: Password used for connecting to the service, if applicable
|
|
1105
959
|
:param pulumi.Input[int] service_port: The port of the service
|
|
1106
960
|
:param pulumi.Input[str] service_type: Aiven internal service type code
|
|
1107
961
|
:param pulumi.Input[str] service_uri: URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
1108
962
|
:param pulumi.Input[str] service_username: Username used for connecting to the service, if applicable
|
|
1109
963
|
:param pulumi.Input[str] state: Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
1110
|
-
: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
|
|
1111
|
-
|
|
1112
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
1113
|
-
:param pulumi.Input[
|
|
1114
|
-
instability.
|
|
1115
|
-
: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
|
|
1116
|
-
unintentional service deletion. This does not shield against deleting databases or topics but for services with backups
|
|
1117
|
-
much of the content can at least be restored from backup in case accidental deletion is done.
|
|
964
|
+
: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
|
|
965
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['KafkaMirrorMakerTagArgs', 'KafkaMirrorMakerTagArgsDict']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
966
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['KafkaMirrorMakerTechEmailArgs', 'KafkaMirrorMakerTechEmailArgsDict']]]] 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.
|
|
967
|
+
: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.
|
|
1118
968
|
"""
|
|
1119
969
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
1120
970
|
|
|
@@ -1129,7 +979,6 @@ class KafkaMirrorMaker(pulumi.CustomResource):
|
|
|
1129
979
|
__props__.__dict__["disk_space_step"] = disk_space_step
|
|
1130
980
|
__props__.__dict__["disk_space_used"] = disk_space_used
|
|
1131
981
|
__props__.__dict__["kafka_mirrormaker_user_config"] = kafka_mirrormaker_user_config
|
|
1132
|
-
__props__.__dict__["kafka_mirrormakers"] = kafka_mirrormakers
|
|
1133
982
|
__props__.__dict__["maintenance_window_dow"] = maintenance_window_dow
|
|
1134
983
|
__props__.__dict__["maintenance_window_time"] = maintenance_window_time
|
|
1135
984
|
__props__.__dict__["plan"] = plan
|
|
@@ -1152,10 +1001,9 @@ class KafkaMirrorMaker(pulumi.CustomResource):
|
|
|
1152
1001
|
|
|
1153
1002
|
@property
|
|
1154
1003
|
@pulumi.getter(name="additionalDiskSpace")
|
|
1155
|
-
def additional_disk_space(self) -> pulumi.Output[
|
|
1004
|
+
def additional_disk_space(self) -> pulumi.Output[str]:
|
|
1156
1005
|
"""
|
|
1157
|
-
|
|
1158
|
-
reducing will result in the service rebalancing.
|
|
1006
|
+
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.
|
|
1159
1007
|
"""
|
|
1160
1008
|
return pulumi.get(self, "additional_disk_space")
|
|
1161
1009
|
|
|
@@ -1163,12 +1011,7 @@ class KafkaMirrorMaker(pulumi.CustomResource):
|
|
|
1163
1011
|
@pulumi.getter(name="cloudName")
|
|
1164
1012
|
def cloud_name(self) -> pulumi.Output[Optional[str]]:
|
|
1165
1013
|
"""
|
|
1166
|
-
Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is
|
|
1167
|
-
created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud
|
|
1168
|
-
provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These
|
|
1169
|
-
are documented on each Cloud provider's own support articles, like [here for
|
|
1170
|
-
Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for
|
|
1171
|
-
AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
1014
|
+
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).
|
|
1172
1015
|
"""
|
|
1173
1016
|
return pulumi.get(self, "cloud_name")
|
|
1174
1017
|
|
|
@@ -1182,14 +1025,11 @@ class KafkaMirrorMaker(pulumi.CustomResource):
|
|
|
1182
1025
|
|
|
1183
1026
|
@property
|
|
1184
1027
|
@pulumi.getter(name="diskSpace")
|
|
1028
|
+
@_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.""")
|
|
1185
1029
|
def disk_space(self) -> pulumi.Output[Optional[str]]:
|
|
1186
1030
|
"""
|
|
1187
|
-
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing
|
|
1188
|
-
will result in the service rebalancing.
|
|
1031
|
+
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
1189
1032
|
"""
|
|
1190
|
-
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)
|
|
1191
|
-
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.""")
|
|
1192
|
-
|
|
1193
1033
|
return pulumi.get(self, "disk_space")
|
|
1194
1034
|
|
|
1195
1035
|
@property
|
|
@@ -1204,8 +1044,7 @@ class KafkaMirrorMaker(pulumi.CustomResource):
|
|
|
1204
1044
|
@pulumi.getter(name="diskSpaceDefault")
|
|
1205
1045
|
def disk_space_default(self) -> pulumi.Output[str]:
|
|
1206
1046
|
"""
|
|
1207
|
-
The default disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
1208
|
-
Its also the minimum value for `disk_space`
|
|
1047
|
+
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`
|
|
1209
1048
|
"""
|
|
1210
1049
|
return pulumi.get(self, "disk_space_default")
|
|
1211
1050
|
|
|
@@ -1213,13 +1052,13 @@ class KafkaMirrorMaker(pulumi.CustomResource):
|
|
|
1213
1052
|
@pulumi.getter(name="diskSpaceStep")
|
|
1214
1053
|
def disk_space_step(self) -> pulumi.Output[str]:
|
|
1215
1054
|
"""
|
|
1216
|
-
The default disk space step of the service, possible values depend on the service type, the cloud provider and the
|
|
1217
|
-
project. `disk_space` needs to increment from `disk_space_default` by increments of this size.
|
|
1055
|
+
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.
|
|
1218
1056
|
"""
|
|
1219
1057
|
return pulumi.get(self, "disk_space_step")
|
|
1220
1058
|
|
|
1221
1059
|
@property
|
|
1222
1060
|
@pulumi.getter(name="diskSpaceUsed")
|
|
1061
|
+
@_utilities.deprecated("""This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""")
|
|
1223
1062
|
def disk_space_used(self) -> pulumi.Output[str]:
|
|
1224
1063
|
"""
|
|
1225
1064
|
Disk space that service is currently using
|
|
@@ -1230,18 +1069,10 @@ class KafkaMirrorMaker(pulumi.CustomResource):
|
|
|
1230
1069
|
@pulumi.getter(name="kafkaMirrormakerUserConfig")
|
|
1231
1070
|
def kafka_mirrormaker_user_config(self) -> pulumi.Output[Optional['outputs.KafkaMirrorMakerKafkaMirrormakerUserConfig']]:
|
|
1232
1071
|
"""
|
|
1233
|
-
KafkaMirrormaker user configurable settings
|
|
1072
|
+
KafkaMirrormaker user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
1234
1073
|
"""
|
|
1235
1074
|
return pulumi.get(self, "kafka_mirrormaker_user_config")
|
|
1236
1075
|
|
|
1237
|
-
@property
|
|
1238
|
-
@pulumi.getter(name="kafkaMirrormakers")
|
|
1239
|
-
def kafka_mirrormakers(self) -> pulumi.Output[Sequence['outputs.KafkaMirrorMakerKafkaMirrormaker']]:
|
|
1240
|
-
"""
|
|
1241
|
-
Kafka MirrorMaker 2 server provided values
|
|
1242
|
-
"""
|
|
1243
|
-
return pulumi.get(self, "kafka_mirrormakers")
|
|
1244
|
-
|
|
1245
1076
|
@property
|
|
1246
1077
|
@pulumi.getter(name="maintenanceWindowDow")
|
|
1247
1078
|
def maintenance_window_dow(self) -> pulumi.Output[Optional[str]]:
|
|
@@ -1262,12 +1093,7 @@ class KafkaMirrorMaker(pulumi.CustomResource):
|
|
|
1262
1093
|
@pulumi.getter
|
|
1263
1094
|
def plan(self) -> pulumi.Output[str]:
|
|
1264
1095
|
"""
|
|
1265
|
-
Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there
|
|
1266
|
-
are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to
|
|
1267
|
-
store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
|
|
1268
|
-
`hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also
|
|
1269
|
-
other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available
|
|
1270
|
-
options can be seem from the [Aiven pricing page](https://aiven.io/pricing).
|
|
1096
|
+
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).
|
|
1271
1097
|
"""
|
|
1272
1098
|
return pulumi.get(self, "plan")
|
|
1273
1099
|
|
|
@@ -1275,19 +1101,15 @@ class KafkaMirrorMaker(pulumi.CustomResource):
|
|
|
1275
1101
|
@pulumi.getter
|
|
1276
1102
|
def project(self) -> pulumi.Output[str]:
|
|
1277
1103
|
"""
|
|
1278
|
-
|
|
1279
|
-
reference. This property cannot be changed, doing so forces recreation of the resource.
|
|
1104
|
+
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.
|
|
1280
1105
|
"""
|
|
1281
1106
|
return pulumi.get(self, "project")
|
|
1282
1107
|
|
|
1283
1108
|
@property
|
|
1284
1109
|
@pulumi.getter(name="projectVpcId")
|
|
1285
|
-
def project_vpc_id(self) -> pulumi.Output[
|
|
1110
|
+
def project_vpc_id(self) -> pulumi.Output[str]:
|
|
1286
1111
|
"""
|
|
1287
|
-
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
|
|
1288
|
-
value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region
|
|
1289
|
-
as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new
|
|
1290
|
-
servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
1112
|
+
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.
|
|
1291
1113
|
"""
|
|
1292
1114
|
return pulumi.get(self, "project_vpc_id")
|
|
1293
1115
|
|
|
@@ -1301,7 +1123,7 @@ class KafkaMirrorMaker(pulumi.CustomResource):
|
|
|
1301
1123
|
|
|
1302
1124
|
@property
|
|
1303
1125
|
@pulumi.getter(name="serviceIntegrations")
|
|
1304
|
-
def service_integrations(self) -> pulumi.Output[
|
|
1126
|
+
def service_integrations(self) -> pulumi.Output[Sequence['outputs.KafkaMirrorMakerServiceIntegration']]:
|
|
1305
1127
|
"""
|
|
1306
1128
|
Service integrations to specify when creating a service. Not applied after initial service creation
|
|
1307
1129
|
"""
|
|
@@ -1311,8 +1133,7 @@ class KafkaMirrorMaker(pulumi.CustomResource):
|
|
|
1311
1133
|
@pulumi.getter(name="serviceName")
|
|
1312
1134
|
def service_name(self) -> pulumi.Output[str]:
|
|
1313
1135
|
"""
|
|
1314
|
-
Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the
|
|
1315
|
-
service so name should be picked based on intended service usage rather than current attributes.
|
|
1136
|
+
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.
|
|
1316
1137
|
"""
|
|
1317
1138
|
return pulumi.get(self, "service_name")
|
|
1318
1139
|
|
|
@@ -1368,8 +1189,7 @@ class KafkaMirrorMaker(pulumi.CustomResource):
|
|
|
1368
1189
|
@pulumi.getter(name="staticIps")
|
|
1369
1190
|
def static_ips(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
1370
1191
|
"""
|
|
1371
|
-
Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a
|
|
1372
|
-
static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
1192
|
+
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
|
|
1373
1193
|
"""
|
|
1374
1194
|
return pulumi.get(self, "static_ips")
|
|
1375
1195
|
|
|
@@ -1385,8 +1205,7 @@ class KafkaMirrorMaker(pulumi.CustomResource):
|
|
|
1385
1205
|
@pulumi.getter(name="techEmails")
|
|
1386
1206
|
def tech_emails(self) -> pulumi.Output[Optional[Sequence['outputs.KafkaMirrorMakerTechEmail']]]:
|
|
1387
1207
|
"""
|
|
1388
|
-
|
|
1389
|
-
instability.
|
|
1208
|
+
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.
|
|
1390
1209
|
"""
|
|
1391
1210
|
return pulumi.get(self, "tech_emails")
|
|
1392
1211
|
|
|
@@ -1394,9 +1213,7 @@ class KafkaMirrorMaker(pulumi.CustomResource):
|
|
|
1394
1213
|
@pulumi.getter(name="terminationProtection")
|
|
1395
1214
|
def termination_protection(self) -> pulumi.Output[Optional[bool]]:
|
|
1396
1215
|
"""
|
|
1397
|
-
Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent
|
|
1398
|
-
unintentional service deletion. This does not shield against deleting databases or topics but for services with backups
|
|
1399
|
-
much of the content can at least be restored from backup in case accidental deletion is done.
|
|
1216
|
+
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.
|
|
1400
1217
|
"""
|
|
1401
1218
|
return pulumi.get(self, "termination_protection")
|
|
1402
1219
|
|