pulumi-aiven 6.41.0a1752901795__py3-none-any.whl → 6.42.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 +1 -1
- pulumi_aiven/_inputs.py +11086 -10761
- pulumi_aiven/account.py +89 -90
- pulumi_aiven/account_authentication.py +253 -254
- pulumi_aiven/account_team.py +62 -63
- pulumi_aiven/account_team_member.py +79 -80
- pulumi_aiven/account_team_project.py +72 -73
- pulumi_aiven/alloydbomni.py +319 -320
- pulumi_aiven/alloydbomni_database.py +86 -87
- pulumi_aiven/alloydbomni_user.py +113 -114
- pulumi_aiven/aws_org_vpc_peering_connection.py +113 -114
- pulumi_aiven/aws_privatelink.py +70 -71
- pulumi_aiven/aws_vpc_peering_connection.py +96 -97
- pulumi_aiven/azure_org_vpc_peering_connection.py +138 -139
- pulumi_aiven/azure_privatelink.py +88 -89
- pulumi_aiven/azure_privatelink_connection_approval.py +70 -71
- pulumi_aiven/azure_vpc_peering_connection.py +130 -131
- pulumi_aiven/billing_group.py +256 -257
- pulumi_aiven/cassandra.py +302 -303
- pulumi_aiven/cassandra_user.py +96 -97
- pulumi_aiven/clickhouse.py +304 -305
- pulumi_aiven/clickhouse_database.py +65 -66
- pulumi_aiven/clickhouse_grant.py +75 -76
- pulumi_aiven/clickhouse_role.py +52 -53
- pulumi_aiven/clickhouse_user.py +79 -80
- pulumi_aiven/config/__init__.py +1 -1
- pulumi_aiven/config/__init__.pyi +1 -2
- pulumi_aiven/config/vars.py +2 -3
- pulumi_aiven/connection_pool.py +129 -130
- pulumi_aiven/dragonfly.py +302 -303
- pulumi_aiven/flink.py +302 -303
- pulumi_aiven/flink_application.py +97 -98
- pulumi_aiven/flink_application_deployment.py +138 -139
- pulumi_aiven/flink_application_version.py +117 -118
- pulumi_aiven/flink_jar_application.py +101 -102
- pulumi_aiven/flink_jar_application_deployment.py +217 -218
- pulumi_aiven/flink_jar_application_version.py +116 -117
- pulumi_aiven/gcp_org_vpc_peering_connection.py +87 -88
- pulumi_aiven/gcp_privatelink.py +62 -63
- pulumi_aiven/gcp_privatelink_connection_approval.py +79 -80
- pulumi_aiven/gcp_vpc_peering_connection.py +79 -80
- pulumi_aiven/get_account.py +23 -24
- pulumi_aiven/get_account_authentication.py +46 -47
- pulumi_aiven/get_account_team.py +21 -22
- pulumi_aiven/get_account_team_member.py +27 -28
- pulumi_aiven/get_account_team_project.py +24 -25
- pulumi_aiven/get_alloydbomni.py +63 -64
- pulumi_aiven/get_alloydbomni_database.py +25 -26
- pulumi_aiven/get_alloydbomni_user.py +31 -32
- pulumi_aiven/get_aws_org_vpc_peering_connection.py +39 -40
- pulumi_aiven/get_aws_privatelink.py +21 -22
- pulumi_aiven/get_aws_vpc_peering_connection.py +33 -34
- pulumi_aiven/get_azure_org_vpc_peering_connection.py +41 -42
- pulumi_aiven/get_azure_privatelink.py +25 -26
- pulumi_aiven/get_azure_vpc_peering_connection.py +45 -46
- pulumi_aiven/get_billing_group.py +39 -40
- pulumi_aiven/get_cassanda.py +61 -62
- pulumi_aiven/get_cassandra.py +61 -62
- pulumi_aiven/get_cassandra_user.py +29 -30
- pulumi_aiven/get_clickhouse.py +62 -63
- pulumi_aiven/get_clickhouse_database.py +23 -24
- pulumi_aiven/get_clickhouse_user.py +27 -28
- pulumi_aiven/get_connection_pool.py +31 -32
- pulumi_aiven/get_dragonfly.py +61 -62
- pulumi_aiven/get_external_identity.py +27 -28
- pulumi_aiven/get_flink.py +61 -62
- pulumi_aiven/get_flink_application.py +31 -32
- pulumi_aiven/get_flink_application_version.py +39 -40
- pulumi_aiven/get_gcp_org_vpc_peering_connection.py +31 -32
- pulumi_aiven/get_gcp_privatelink.py +21 -22
- pulumi_aiven/get_gcp_vpc_peering_connection.py +27 -28
- pulumi_aiven/get_grafana.py +61 -62
- pulumi_aiven/get_influx_db.py +57 -58
- pulumi_aiven/get_influxdb_database.py +17 -18
- pulumi_aiven/get_influxdb_user.py +23 -24
- pulumi_aiven/get_kafka.py +66 -67
- pulumi_aiven/get_kafka_acl.py +35 -36
- pulumi_aiven/get_kafka_connect.py +60 -61
- pulumi_aiven/get_kafka_connector.py +36 -37
- pulumi_aiven/get_kafka_mirror_maker.py +60 -61
- pulumi_aiven/get_kafka_schema.py +29 -30
- pulumi_aiven/get_kafka_schema_configuration.py +25 -26
- pulumi_aiven/get_kafka_schema_registry_acl.py +35 -36
- pulumi_aiven/get_kafka_topic.py +33 -34
- pulumi_aiven/get_kafka_user.py +29 -30
- pulumi_aiven/get_m3_aggregator.py +61 -62
- pulumi_aiven/get_m3_db.py +61 -62
- pulumi_aiven/get_m3db_user.py +25 -26
- pulumi_aiven/get_mirror_maker_replication_flow.py +51 -52
- pulumi_aiven/get_my_sql.py +61 -62
- pulumi_aiven/get_mysql_database.py +23 -24
- pulumi_aiven/get_mysql_user.py +31 -32
- pulumi_aiven/get_open_search.py +61 -62
- pulumi_aiven/get_open_search_acl_config.py +19 -20
- pulumi_aiven/get_open_search_acl_rule.py +33 -34
- pulumi_aiven/get_opensearch_security_plugin_config.py +23 -24
- pulumi_aiven/get_opensearch_user.py +25 -26
- pulumi_aiven/get_organization.py +20 -21
- pulumi_aiven/get_organization_address.py +32 -33
- pulumi_aiven/get_organization_application_user.py +21 -22
- pulumi_aiven/get_organization_billing_group.py +34 -35
- pulumi_aiven/get_organization_billing_group_list.py +11 -12
- pulumi_aiven/get_organization_project.py +27 -28
- pulumi_aiven/get_organization_user.py +23 -24
- pulumi_aiven/get_organization_user_group.py +23 -24
- pulumi_aiven/get_organization_user_list.py +14 -15
- pulumi_aiven/get_organization_vpc.py +25 -26
- pulumi_aiven/get_organizational_unit.py +17 -18
- pulumi_aiven/get_pg.py +61 -62
- pulumi_aiven/get_pg_database.py +27 -28
- pulumi_aiven/get_pg_user.py +31 -32
- pulumi_aiven/get_project.py +34 -35
- pulumi_aiven/get_project_user.py +20 -21
- pulumi_aiven/get_project_vpc.py +25 -26
- pulumi_aiven/get_redis.py +61 -62
- pulumi_aiven/get_redis_user.py +33 -34
- pulumi_aiven/get_service_component.py +51 -52
- pulumi_aiven/get_service_integration.py +66 -53
- pulumi_aiven/get_service_integration_endpoint.py +38 -39
- pulumi_aiven/get_thanos.py +61 -62
- pulumi_aiven/get_transit_gateway_vpc_attachment.py +31 -32
- pulumi_aiven/get_valkey.py +61 -62
- pulumi_aiven/get_valkey_user.py +33 -34
- pulumi_aiven/governance_access.py +84 -85
- pulumi_aiven/grafana.py +302 -303
- pulumi_aiven/influx_db.py +302 -303
- pulumi_aiven/influxdb_database.py +65 -66
- pulumi_aiven/influxdb_user.py +96 -97
- pulumi_aiven/kafka.py +339 -340
- pulumi_aiven/kafka_acl.py +95 -96
- pulumi_aiven/kafka_connect.py +299 -300
- pulumi_aiven/kafka_connector.py +125 -126
- pulumi_aiven/kafka_mirror_maker.py +299 -300
- pulumi_aiven/kafka_native_acl.py +154 -155
- pulumi_aiven/kafka_quota.py +120 -121
- pulumi_aiven/kafka_schema.py +112 -113
- pulumi_aiven/kafka_schema_configuration.py +52 -53
- pulumi_aiven/kafka_schema_registry_acl.py +95 -96
- pulumi_aiven/kafka_topic.py +139 -140
- pulumi_aiven/kafka_user.py +96 -97
- pulumi_aiven/m3_aggregator.py +311 -303
- pulumi_aiven/m3_db.py +311 -303
- pulumi_aiven/m3db_user.py +78 -79
- pulumi_aiven/mirror_maker_replication_flow.py +273 -274
- pulumi_aiven/my_sql.py +302 -303
- pulumi_aiven/mysql_database.py +65 -66
- pulumi_aiven/mysql_user.py +113 -114
- pulumi_aiven/open_search.py +302 -303
- pulumi_aiven/open_search_acl_config.py +69 -70
- pulumi_aiven/open_search_acl_rule.py +86 -87
- pulumi_aiven/opensearch_security_plugin_config.py +79 -80
- pulumi_aiven/opensearch_user.py +78 -79
- pulumi_aiven/organization.py +48 -49
- pulumi_aiven/organization_address.py +150 -151
- pulumi_aiven/organization_application_user.py +77 -78
- pulumi_aiven/organization_application_user_token.py +210 -211
- pulumi_aiven/organization_billing_group.py +183 -184
- pulumi_aiven/organization_group_project.py +58 -59
- pulumi_aiven/organization_permission.py +55 -56
- pulumi_aiven/organization_project.py +118 -119
- pulumi_aiven/organization_user.py +71 -72
- pulumi_aiven/organization_user_group.py +79 -80
- pulumi_aiven/organization_user_group_member.py +64 -65
- pulumi_aiven/organization_vpc.py +88 -89
- pulumi_aiven/organizational_unit.py +62 -63
- pulumi_aiven/outputs.py +14747 -14310
- pulumi_aiven/pg.py +302 -303
- pulumi_aiven/pg_database.py +99 -100
- pulumi_aiven/pg_user.py +113 -114
- pulumi_aiven/project.py +193 -194
- pulumi_aiven/project_user.py +64 -65
- pulumi_aiven/project_vpc.py +61 -62
- pulumi_aiven/provider.py +12 -13
- pulumi_aiven/pulumi-plugin.json +1 -1
- pulumi_aiven/redis.py +302 -303
- pulumi_aiven/redis_user.py +146 -147
- pulumi_aiven/service_integration.py +235 -189
- pulumi_aiven/service_integration_endpoint.py +118 -119
- pulumi_aiven/static_ip.py +71 -72
- pulumi_aiven/thanos.py +302 -303
- pulumi_aiven/transit_gateway_vpc_attachment.py +113 -114
- pulumi_aiven/valkey.py +302 -303
- pulumi_aiven/valkey_user.py +146 -147
- {pulumi_aiven-6.41.0a1752901795.dist-info → pulumi_aiven-6.42.0.dist-info}/METADATA +1 -1
- pulumi_aiven-6.42.0.dist-info/RECORD +189 -0
- pulumi_aiven-6.41.0a1752901795.dist-info/RECORD +0 -189
- {pulumi_aiven-6.41.0a1752901795.dist-info → pulumi_aiven-6.42.0.dist-info}/WHEEL +0 -0
- {pulumi_aiven-6.41.0a1752901795.dist-info → pulumi_aiven-6.42.0.dist-info}/top_level.txt +0 -0
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -22,38 +21,38 @@ __all__ = ['KafkaMirrorMakerArgs', 'KafkaMirrorMaker']
|
|
|
22
21
|
@pulumi.input_type
|
|
23
22
|
class KafkaMirrorMakerArgs:
|
|
24
23
|
def __init__(__self__, *,
|
|
25
|
-
plan: pulumi.Input[
|
|
26
|
-
project: pulumi.Input[
|
|
27
|
-
service_name: pulumi.Input[
|
|
28
|
-
additional_disk_space: Optional[pulumi.Input[
|
|
29
|
-
cloud_name: Optional[pulumi.Input[
|
|
30
|
-
disk_space: Optional[pulumi.Input[
|
|
24
|
+
plan: pulumi.Input[_builtins.str],
|
|
25
|
+
project: pulumi.Input[_builtins.str],
|
|
26
|
+
service_name: pulumi.Input[_builtins.str],
|
|
27
|
+
additional_disk_space: Optional[pulumi.Input[_builtins.str]] = None,
|
|
28
|
+
cloud_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
29
|
+
disk_space: Optional[pulumi.Input[_builtins.str]] = None,
|
|
31
30
|
kafka_mirrormaker_user_config: Optional[pulumi.Input['KafkaMirrorMakerKafkaMirrormakerUserConfigArgs']] = None,
|
|
32
|
-
maintenance_window_dow: Optional[pulumi.Input[
|
|
33
|
-
maintenance_window_time: Optional[pulumi.Input[
|
|
34
|
-
project_vpc_id: Optional[pulumi.Input[
|
|
31
|
+
maintenance_window_dow: Optional[pulumi.Input[_builtins.str]] = None,
|
|
32
|
+
maintenance_window_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
33
|
+
project_vpc_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
35
34
|
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input['KafkaMirrorMakerServiceIntegrationArgs']]]] = None,
|
|
36
|
-
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
35
|
+
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
37
36
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input['KafkaMirrorMakerTagArgs']]]] = None,
|
|
38
37
|
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input['KafkaMirrorMakerTechEmailArgs']]]] = None,
|
|
39
|
-
termination_protection: Optional[pulumi.Input[
|
|
38
|
+
termination_protection: Optional[pulumi.Input[_builtins.bool]] = None):
|
|
40
39
|
"""
|
|
41
40
|
The set of arguments for constructing a KafkaMirrorMaker resource.
|
|
42
|
-
:param pulumi.Input[
|
|
43
|
-
:param pulumi.Input[
|
|
44
|
-
:param pulumi.Input[
|
|
45
|
-
:param pulumi.Input[
|
|
46
|
-
:param pulumi.Input[
|
|
47
|
-
:param pulumi.Input[
|
|
41
|
+
:param pulumi.Input[_builtins.str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
42
|
+
:param pulumi.Input[_builtins.str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
43
|
+
:param pulumi.Input[_builtins.str] service_name: Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
|
|
44
|
+
:param pulumi.Input[_builtins.str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart, and there might be a short downtime for services without an autoscaler integration or high availability capabilities. The field can be safely removed when autoscaler is enabled without causing any changes.
|
|
45
|
+
:param pulumi.Input[_builtins.str] cloud_name: The cloud provider and region the service is hosted in. The format is `provider-region`, for example: `google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ per project and service. Changing this value [migrates the service to another cloud provider or region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
|
|
46
|
+
:param pulumi.Input[_builtins.str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
48
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
|
|
49
|
-
:param pulumi.Input[
|
|
50
|
-
:param pulumi.Input[
|
|
51
|
-
:param pulumi.Input[
|
|
48
|
+
:param pulumi.Input[_builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
49
|
+
:param pulumi.Input[_builtins.str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
50
|
+
:param pulumi.Input[_builtins.str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set, the service runs on the Public Internet. When set, the value should be given as a reference to set up dependencies correctly, and the VPC must be in the same cloud and region as the service itself. The service can be freely moved to and from VPC after creation, but doing so triggers migration to new servers, so the operation can take a significant amount of time to complete if the service has a lot of data.
|
|
52
51
|
:param pulumi.Input[Sequence[pulumi.Input['KafkaMirrorMakerServiceIntegrationArgs']]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
53
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
52
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] static_ips: Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
54
53
|
:param pulumi.Input[Sequence[pulumi.Input['KafkaMirrorMakerTagArgs']]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
55
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.
|
|
56
|
-
:param pulumi.Input[
|
|
55
|
+
:param pulumi.Input[_builtins.bool] termination_protection: Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
|
|
57
56
|
"""
|
|
58
57
|
pulumi.set(__self__, "plan", plan)
|
|
59
58
|
pulumi.set(__self__, "project", project)
|
|
@@ -86,80 +85,80 @@ class KafkaMirrorMakerArgs:
|
|
|
86
85
|
if termination_protection is not None:
|
|
87
86
|
pulumi.set(__self__, "termination_protection", termination_protection)
|
|
88
87
|
|
|
89
|
-
@property
|
|
88
|
+
@_builtins.property
|
|
90
89
|
@pulumi.getter
|
|
91
|
-
def plan(self) -> pulumi.Input[
|
|
90
|
+
def plan(self) -> pulumi.Input[_builtins.str]:
|
|
92
91
|
"""
|
|
93
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).
|
|
94
93
|
"""
|
|
95
94
|
return pulumi.get(self, "plan")
|
|
96
95
|
|
|
97
96
|
@plan.setter
|
|
98
|
-
def plan(self, value: pulumi.Input[
|
|
97
|
+
def plan(self, value: pulumi.Input[_builtins.str]):
|
|
99
98
|
pulumi.set(self, "plan", value)
|
|
100
99
|
|
|
101
|
-
@property
|
|
100
|
+
@_builtins.property
|
|
102
101
|
@pulumi.getter
|
|
103
|
-
def project(self) -> pulumi.Input[
|
|
102
|
+
def project(self) -> pulumi.Input[_builtins.str]:
|
|
104
103
|
"""
|
|
105
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.
|
|
106
105
|
"""
|
|
107
106
|
return pulumi.get(self, "project")
|
|
108
107
|
|
|
109
108
|
@project.setter
|
|
110
|
-
def project(self, value: pulumi.Input[
|
|
109
|
+
def project(self, value: pulumi.Input[_builtins.str]):
|
|
111
110
|
pulumi.set(self, "project", value)
|
|
112
111
|
|
|
113
|
-
@property
|
|
112
|
+
@_builtins.property
|
|
114
113
|
@pulumi.getter(name="serviceName")
|
|
115
|
-
def service_name(self) -> pulumi.Input[
|
|
114
|
+
def service_name(self) -> pulumi.Input[_builtins.str]:
|
|
116
115
|
"""
|
|
117
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.
|
|
118
117
|
"""
|
|
119
118
|
return pulumi.get(self, "service_name")
|
|
120
119
|
|
|
121
120
|
@service_name.setter
|
|
122
|
-
def service_name(self, value: pulumi.Input[
|
|
121
|
+
def service_name(self, value: pulumi.Input[_builtins.str]):
|
|
123
122
|
pulumi.set(self, "service_name", value)
|
|
124
123
|
|
|
125
|
-
@property
|
|
124
|
+
@_builtins.property
|
|
126
125
|
@pulumi.getter(name="additionalDiskSpace")
|
|
127
|
-
def additional_disk_space(self) -> Optional[pulumi.Input[
|
|
126
|
+
def additional_disk_space(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
128
127
|
"""
|
|
129
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 without an autoscaler integration or high availability capabilities. The field can be safely removed when autoscaler is enabled without causing any changes.
|
|
130
129
|
"""
|
|
131
130
|
return pulumi.get(self, "additional_disk_space")
|
|
132
131
|
|
|
133
132
|
@additional_disk_space.setter
|
|
134
|
-
def additional_disk_space(self, value: Optional[pulumi.Input[
|
|
133
|
+
def additional_disk_space(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
135
134
|
pulumi.set(self, "additional_disk_space", value)
|
|
136
135
|
|
|
137
|
-
@property
|
|
136
|
+
@_builtins.property
|
|
138
137
|
@pulumi.getter(name="cloudName")
|
|
139
|
-
def cloud_name(self) -> Optional[pulumi.Input[
|
|
138
|
+
def cloud_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
140
139
|
"""
|
|
141
140
|
The cloud provider and region the service is hosted in. The format is `provider-region`, for example: `google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ per project and service. Changing this value [migrates the service to another cloud provider or region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
|
|
142
141
|
"""
|
|
143
142
|
return pulumi.get(self, "cloud_name")
|
|
144
143
|
|
|
145
144
|
@cloud_name.setter
|
|
146
|
-
def cloud_name(self, value: Optional[pulumi.Input[
|
|
145
|
+
def cloud_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
147
146
|
pulumi.set(self, "cloud_name", value)
|
|
148
147
|
|
|
149
|
-
@property
|
|
148
|
+
@_builtins.property
|
|
150
149
|
@pulumi.getter(name="diskSpace")
|
|
151
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.""")
|
|
152
|
-
def disk_space(self) -> Optional[pulumi.Input[
|
|
151
|
+
def disk_space(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
153
152
|
"""
|
|
154
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.
|
|
155
154
|
"""
|
|
156
155
|
return pulumi.get(self, "disk_space")
|
|
157
156
|
|
|
158
157
|
@disk_space.setter
|
|
159
|
-
def disk_space(self, value: Optional[pulumi.Input[
|
|
158
|
+
def disk_space(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
160
159
|
pulumi.set(self, "disk_space", value)
|
|
161
160
|
|
|
162
|
-
@property
|
|
161
|
+
@_builtins.property
|
|
163
162
|
@pulumi.getter(name="kafkaMirrormakerUserConfig")
|
|
164
163
|
def kafka_mirrormaker_user_config(self) -> Optional[pulumi.Input['KafkaMirrorMakerKafkaMirrormakerUserConfigArgs']]:
|
|
165
164
|
"""
|
|
@@ -171,43 +170,43 @@ class KafkaMirrorMakerArgs:
|
|
|
171
170
|
def kafka_mirrormaker_user_config(self, value: Optional[pulumi.Input['KafkaMirrorMakerKafkaMirrormakerUserConfigArgs']]):
|
|
172
171
|
pulumi.set(self, "kafka_mirrormaker_user_config", value)
|
|
173
172
|
|
|
174
|
-
@property
|
|
173
|
+
@_builtins.property
|
|
175
174
|
@pulumi.getter(name="maintenanceWindowDow")
|
|
176
|
-
def maintenance_window_dow(self) -> Optional[pulumi.Input[
|
|
175
|
+
def maintenance_window_dow(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
177
176
|
"""
|
|
178
177
|
Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
179
178
|
"""
|
|
180
179
|
return pulumi.get(self, "maintenance_window_dow")
|
|
181
180
|
|
|
182
181
|
@maintenance_window_dow.setter
|
|
183
|
-
def maintenance_window_dow(self, value: Optional[pulumi.Input[
|
|
182
|
+
def maintenance_window_dow(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
184
183
|
pulumi.set(self, "maintenance_window_dow", value)
|
|
185
184
|
|
|
186
|
-
@property
|
|
185
|
+
@_builtins.property
|
|
187
186
|
@pulumi.getter(name="maintenanceWindowTime")
|
|
188
|
-
def maintenance_window_time(self) -> Optional[pulumi.Input[
|
|
187
|
+
def maintenance_window_time(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
189
188
|
"""
|
|
190
189
|
Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
191
190
|
"""
|
|
192
191
|
return pulumi.get(self, "maintenance_window_time")
|
|
193
192
|
|
|
194
193
|
@maintenance_window_time.setter
|
|
195
|
-
def maintenance_window_time(self, value: Optional[pulumi.Input[
|
|
194
|
+
def maintenance_window_time(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
196
195
|
pulumi.set(self, "maintenance_window_time", value)
|
|
197
196
|
|
|
198
|
-
@property
|
|
197
|
+
@_builtins.property
|
|
199
198
|
@pulumi.getter(name="projectVpcId")
|
|
200
|
-
def project_vpc_id(self) -> Optional[pulumi.Input[
|
|
199
|
+
def project_vpc_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
201
200
|
"""
|
|
202
201
|
Specifies the VPC the service should run in. If the value is not set, the service runs on the Public Internet. When set, the value should be given as a reference to set up dependencies correctly, and the VPC must be in the same cloud and region as the service itself. The service can be freely moved to and from VPC after creation, but doing so triggers migration to new servers, so the operation can take a significant amount of time to complete if the service has a lot of data.
|
|
203
202
|
"""
|
|
204
203
|
return pulumi.get(self, "project_vpc_id")
|
|
205
204
|
|
|
206
205
|
@project_vpc_id.setter
|
|
207
|
-
def project_vpc_id(self, value: Optional[pulumi.Input[
|
|
206
|
+
def project_vpc_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
208
207
|
pulumi.set(self, "project_vpc_id", value)
|
|
209
208
|
|
|
210
|
-
@property
|
|
209
|
+
@_builtins.property
|
|
211
210
|
@pulumi.getter(name="serviceIntegrations")
|
|
212
211
|
def service_integrations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['KafkaMirrorMakerServiceIntegrationArgs']]]]:
|
|
213
212
|
"""
|
|
@@ -219,19 +218,19 @@ class KafkaMirrorMakerArgs:
|
|
|
219
218
|
def service_integrations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['KafkaMirrorMakerServiceIntegrationArgs']]]]):
|
|
220
219
|
pulumi.set(self, "service_integrations", value)
|
|
221
220
|
|
|
222
|
-
@property
|
|
221
|
+
@_builtins.property
|
|
223
222
|
@pulumi.getter(name="staticIps")
|
|
224
|
-
def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
223
|
+
def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
225
224
|
"""
|
|
226
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
|
|
227
226
|
"""
|
|
228
227
|
return pulumi.get(self, "static_ips")
|
|
229
228
|
|
|
230
229
|
@static_ips.setter
|
|
231
|
-
def static_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
230
|
+
def static_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
232
231
|
pulumi.set(self, "static_ips", value)
|
|
233
232
|
|
|
234
|
-
@property
|
|
233
|
+
@_builtins.property
|
|
235
234
|
@pulumi.getter
|
|
236
235
|
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['KafkaMirrorMakerTagArgs']]]]:
|
|
237
236
|
"""
|
|
@@ -243,7 +242,7 @@ class KafkaMirrorMakerArgs:
|
|
|
243
242
|
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['KafkaMirrorMakerTagArgs']]]]):
|
|
244
243
|
pulumi.set(self, "tags", value)
|
|
245
244
|
|
|
246
|
-
@property
|
|
245
|
+
@_builtins.property
|
|
247
246
|
@pulumi.getter(name="techEmails")
|
|
248
247
|
def tech_emails(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['KafkaMirrorMakerTechEmailArgs']]]]:
|
|
249
248
|
"""
|
|
@@ -255,77 +254,77 @@ class KafkaMirrorMakerArgs:
|
|
|
255
254
|
def tech_emails(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['KafkaMirrorMakerTechEmailArgs']]]]):
|
|
256
255
|
pulumi.set(self, "tech_emails", value)
|
|
257
256
|
|
|
258
|
-
@property
|
|
257
|
+
@_builtins.property
|
|
259
258
|
@pulumi.getter(name="terminationProtection")
|
|
260
|
-
def termination_protection(self) -> Optional[pulumi.Input[
|
|
259
|
+
def termination_protection(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
261
260
|
"""
|
|
262
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.
|
|
263
262
|
"""
|
|
264
263
|
return pulumi.get(self, "termination_protection")
|
|
265
264
|
|
|
266
265
|
@termination_protection.setter
|
|
267
|
-
def termination_protection(self, value: Optional[pulumi.Input[
|
|
266
|
+
def termination_protection(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
268
267
|
pulumi.set(self, "termination_protection", value)
|
|
269
268
|
|
|
270
269
|
|
|
271
270
|
@pulumi.input_type
|
|
272
271
|
class _KafkaMirrorMakerState:
|
|
273
272
|
def __init__(__self__, *,
|
|
274
|
-
additional_disk_space: Optional[pulumi.Input[
|
|
275
|
-
cloud_name: Optional[pulumi.Input[
|
|
273
|
+
additional_disk_space: Optional[pulumi.Input[_builtins.str]] = None,
|
|
274
|
+
cloud_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
276
275
|
components: Optional[pulumi.Input[Sequence[pulumi.Input['KafkaMirrorMakerComponentArgs']]]] = None,
|
|
277
|
-
disk_space: Optional[pulumi.Input[
|
|
278
|
-
disk_space_cap: Optional[pulumi.Input[
|
|
279
|
-
disk_space_default: Optional[pulumi.Input[
|
|
280
|
-
disk_space_step: Optional[pulumi.Input[
|
|
281
|
-
disk_space_used: Optional[pulumi.Input[
|
|
276
|
+
disk_space: Optional[pulumi.Input[_builtins.str]] = None,
|
|
277
|
+
disk_space_cap: Optional[pulumi.Input[_builtins.str]] = None,
|
|
278
|
+
disk_space_default: Optional[pulumi.Input[_builtins.str]] = None,
|
|
279
|
+
disk_space_step: Optional[pulumi.Input[_builtins.str]] = None,
|
|
280
|
+
disk_space_used: Optional[pulumi.Input[_builtins.str]] = None,
|
|
282
281
|
kafka_mirrormaker_user_config: Optional[pulumi.Input['KafkaMirrorMakerKafkaMirrormakerUserConfigArgs']] = None,
|
|
283
|
-
maintenance_window_dow: Optional[pulumi.Input[
|
|
284
|
-
maintenance_window_time: Optional[pulumi.Input[
|
|
285
|
-
plan: Optional[pulumi.Input[
|
|
286
|
-
project: Optional[pulumi.Input[
|
|
287
|
-
project_vpc_id: Optional[pulumi.Input[
|
|
288
|
-
service_host: Optional[pulumi.Input[
|
|
282
|
+
maintenance_window_dow: Optional[pulumi.Input[_builtins.str]] = None,
|
|
283
|
+
maintenance_window_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
284
|
+
plan: Optional[pulumi.Input[_builtins.str]] = None,
|
|
285
|
+
project: Optional[pulumi.Input[_builtins.str]] = None,
|
|
286
|
+
project_vpc_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
287
|
+
service_host: Optional[pulumi.Input[_builtins.str]] = None,
|
|
289
288
|
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input['KafkaMirrorMakerServiceIntegrationArgs']]]] = None,
|
|
290
|
-
service_name: Optional[pulumi.Input[
|
|
291
|
-
service_password: Optional[pulumi.Input[
|
|
292
|
-
service_port: Optional[pulumi.Input[
|
|
293
|
-
service_type: Optional[pulumi.Input[
|
|
294
|
-
service_uri: Optional[pulumi.Input[
|
|
295
|
-
service_username: Optional[pulumi.Input[
|
|
296
|
-
state: Optional[pulumi.Input[
|
|
297
|
-
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
289
|
+
service_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
290
|
+
service_password: Optional[pulumi.Input[_builtins.str]] = None,
|
|
291
|
+
service_port: Optional[pulumi.Input[_builtins.int]] = None,
|
|
292
|
+
service_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
293
|
+
service_uri: Optional[pulumi.Input[_builtins.str]] = None,
|
|
294
|
+
service_username: Optional[pulumi.Input[_builtins.str]] = None,
|
|
295
|
+
state: Optional[pulumi.Input[_builtins.str]] = None,
|
|
296
|
+
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
298
297
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input['KafkaMirrorMakerTagArgs']]]] = None,
|
|
299
298
|
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input['KafkaMirrorMakerTechEmailArgs']]]] = None,
|
|
300
|
-
termination_protection: Optional[pulumi.Input[
|
|
299
|
+
termination_protection: Optional[pulumi.Input[_builtins.bool]] = None):
|
|
301
300
|
"""
|
|
302
301
|
Input properties used for looking up and filtering KafkaMirrorMaker resources.
|
|
303
|
-
:param pulumi.Input[
|
|
304
|
-
:param pulumi.Input[
|
|
302
|
+
:param pulumi.Input[_builtins.str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart, and there might be a short downtime for services without an autoscaler integration or high availability capabilities. The field can be safely removed when autoscaler is enabled without causing any changes.
|
|
303
|
+
:param pulumi.Input[_builtins.str] cloud_name: The cloud provider and region the service is hosted in. The format is `provider-region`, for example: `google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ per project and service. Changing this value [migrates the service to another cloud provider or region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
|
|
305
304
|
:param pulumi.Input[Sequence[pulumi.Input['KafkaMirrorMakerComponentArgs']]] components: Service component information objects
|
|
306
|
-
:param pulumi.Input[
|
|
307
|
-
:param pulumi.Input[
|
|
308
|
-
:param pulumi.Input[
|
|
309
|
-
:param pulumi.Input[
|
|
310
|
-
:param pulumi.Input[
|
|
305
|
+
:param pulumi.Input[_builtins.str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
306
|
+
:param pulumi.Input[_builtins.str] disk_space_cap: The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
307
|
+
:param pulumi.Input[_builtins.str] disk_space_default: The default disk space of the service, possible values depend on the service type, the cloud provider and the project. Its also the minimum value for `disk_space`
|
|
308
|
+
:param pulumi.Input[_builtins.str] disk_space_step: The default disk space step of the service, possible values depend on the service type, the cloud provider and the project. `disk_space` needs to increment from `disk_space_default` by increments of this size.
|
|
309
|
+
:param pulumi.Input[_builtins.str] disk_space_used: Disk space that service is currently using
|
|
311
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
|
|
312
|
-
:param pulumi.Input[
|
|
313
|
-
:param pulumi.Input[
|
|
314
|
-
:param pulumi.Input[
|
|
315
|
-
:param pulumi.Input[
|
|
316
|
-
:param pulumi.Input[
|
|
317
|
-
:param pulumi.Input[
|
|
311
|
+
:param pulumi.Input[_builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
312
|
+
:param pulumi.Input[_builtins.str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
313
|
+
:param pulumi.Input[_builtins.str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
314
|
+
:param pulumi.Input[_builtins.str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
315
|
+
:param pulumi.Input[_builtins.str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set, the service runs on the Public Internet. When set, the value should be given as a reference to set up dependencies correctly, and the VPC must be in the same cloud and region as the service itself. The service can be freely moved to and from VPC after creation, but doing so triggers migration to new servers, so the operation can take a significant amount of time to complete if the service has a lot of data.
|
|
316
|
+
:param pulumi.Input[_builtins.str] service_host: The hostname of the service.
|
|
318
317
|
:param pulumi.Input[Sequence[pulumi.Input['KafkaMirrorMakerServiceIntegrationArgs']]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
319
|
-
:param pulumi.Input[
|
|
320
|
-
:param pulumi.Input[
|
|
321
|
-
:param pulumi.Input[
|
|
322
|
-
:param pulumi.Input[
|
|
323
|
-
:param pulumi.Input[
|
|
324
|
-
:param pulumi.Input[
|
|
325
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
318
|
+
:param pulumi.Input[_builtins.str] service_name: Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
|
|
319
|
+
:param pulumi.Input[_builtins.str] service_password: Password used for connecting to the service, if applicable
|
|
320
|
+
:param pulumi.Input[_builtins.int] service_port: The port of the service
|
|
321
|
+
:param pulumi.Input[_builtins.str] service_type: Aiven internal service type code
|
|
322
|
+
:param pulumi.Input[_builtins.str] service_uri: URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
323
|
+
:param pulumi.Input[_builtins.str] service_username: Username used for connecting to the service, if applicable
|
|
324
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] static_ips: Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
326
325
|
:param pulumi.Input[Sequence[pulumi.Input['KafkaMirrorMakerTagArgs']]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
327
326
|
: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[
|
|
327
|
+
:param pulumi.Input[_builtins.bool] termination_protection: Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
|
|
329
328
|
"""
|
|
330
329
|
if additional_disk_space is not None:
|
|
331
330
|
pulumi.set(__self__, "additional_disk_space", additional_disk_space)
|
|
@@ -388,31 +387,31 @@ class _KafkaMirrorMakerState:
|
|
|
388
387
|
if termination_protection is not None:
|
|
389
388
|
pulumi.set(__self__, "termination_protection", termination_protection)
|
|
390
389
|
|
|
391
|
-
@property
|
|
390
|
+
@_builtins.property
|
|
392
391
|
@pulumi.getter(name="additionalDiskSpace")
|
|
393
|
-
def additional_disk_space(self) -> Optional[pulumi.Input[
|
|
392
|
+
def additional_disk_space(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
394
393
|
"""
|
|
395
394
|
Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart, and there might be a short downtime for services without an autoscaler integration or high availability capabilities. The field can be safely removed when autoscaler is enabled without causing any changes.
|
|
396
395
|
"""
|
|
397
396
|
return pulumi.get(self, "additional_disk_space")
|
|
398
397
|
|
|
399
398
|
@additional_disk_space.setter
|
|
400
|
-
def additional_disk_space(self, value: Optional[pulumi.Input[
|
|
399
|
+
def additional_disk_space(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
401
400
|
pulumi.set(self, "additional_disk_space", value)
|
|
402
401
|
|
|
403
|
-
@property
|
|
402
|
+
@_builtins.property
|
|
404
403
|
@pulumi.getter(name="cloudName")
|
|
405
|
-
def cloud_name(self) -> Optional[pulumi.Input[
|
|
404
|
+
def cloud_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
406
405
|
"""
|
|
407
406
|
The cloud provider and region the service is hosted in. The format is `provider-region`, for example: `google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ per project and service. Changing this value [migrates the service to another cloud provider or region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
|
|
408
407
|
"""
|
|
409
408
|
return pulumi.get(self, "cloud_name")
|
|
410
409
|
|
|
411
410
|
@cloud_name.setter
|
|
412
|
-
def cloud_name(self, value: Optional[pulumi.Input[
|
|
411
|
+
def cloud_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
413
412
|
pulumi.set(self, "cloud_name", value)
|
|
414
413
|
|
|
415
|
-
@property
|
|
414
|
+
@_builtins.property
|
|
416
415
|
@pulumi.getter
|
|
417
416
|
def components(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['KafkaMirrorMakerComponentArgs']]]]:
|
|
418
417
|
"""
|
|
@@ -424,69 +423,69 @@ class _KafkaMirrorMakerState:
|
|
|
424
423
|
def components(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['KafkaMirrorMakerComponentArgs']]]]):
|
|
425
424
|
pulumi.set(self, "components", value)
|
|
426
425
|
|
|
427
|
-
@property
|
|
426
|
+
@_builtins.property
|
|
428
427
|
@pulumi.getter(name="diskSpace")
|
|
429
428
|
@_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.""")
|
|
430
|
-
def disk_space(self) -> Optional[pulumi.Input[
|
|
429
|
+
def disk_space(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
431
430
|
"""
|
|
432
431
|
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
433
432
|
"""
|
|
434
433
|
return pulumi.get(self, "disk_space")
|
|
435
434
|
|
|
436
435
|
@disk_space.setter
|
|
437
|
-
def disk_space(self, value: Optional[pulumi.Input[
|
|
436
|
+
def disk_space(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
438
437
|
pulumi.set(self, "disk_space", value)
|
|
439
438
|
|
|
440
|
-
@property
|
|
439
|
+
@_builtins.property
|
|
441
440
|
@pulumi.getter(name="diskSpaceCap")
|
|
442
|
-
def disk_space_cap(self) -> Optional[pulumi.Input[
|
|
441
|
+
def disk_space_cap(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
443
442
|
"""
|
|
444
443
|
The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
445
444
|
"""
|
|
446
445
|
return pulumi.get(self, "disk_space_cap")
|
|
447
446
|
|
|
448
447
|
@disk_space_cap.setter
|
|
449
|
-
def disk_space_cap(self, value: Optional[pulumi.Input[
|
|
448
|
+
def disk_space_cap(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
450
449
|
pulumi.set(self, "disk_space_cap", value)
|
|
451
450
|
|
|
452
|
-
@property
|
|
451
|
+
@_builtins.property
|
|
453
452
|
@pulumi.getter(name="diskSpaceDefault")
|
|
454
|
-
def disk_space_default(self) -> Optional[pulumi.Input[
|
|
453
|
+
def disk_space_default(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
455
454
|
"""
|
|
456
455
|
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`
|
|
457
456
|
"""
|
|
458
457
|
return pulumi.get(self, "disk_space_default")
|
|
459
458
|
|
|
460
459
|
@disk_space_default.setter
|
|
461
|
-
def disk_space_default(self, value: Optional[pulumi.Input[
|
|
460
|
+
def disk_space_default(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
462
461
|
pulumi.set(self, "disk_space_default", value)
|
|
463
462
|
|
|
464
|
-
@property
|
|
463
|
+
@_builtins.property
|
|
465
464
|
@pulumi.getter(name="diskSpaceStep")
|
|
466
|
-
def disk_space_step(self) -> Optional[pulumi.Input[
|
|
465
|
+
def disk_space_step(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
467
466
|
"""
|
|
468
467
|
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.
|
|
469
468
|
"""
|
|
470
469
|
return pulumi.get(self, "disk_space_step")
|
|
471
470
|
|
|
472
471
|
@disk_space_step.setter
|
|
473
|
-
def disk_space_step(self, value: Optional[pulumi.Input[
|
|
472
|
+
def disk_space_step(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
474
473
|
pulumi.set(self, "disk_space_step", value)
|
|
475
474
|
|
|
476
|
-
@property
|
|
475
|
+
@_builtins.property
|
|
477
476
|
@pulumi.getter(name="diskSpaceUsed")
|
|
478
477
|
@_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.""")
|
|
479
|
-
def disk_space_used(self) -> Optional[pulumi.Input[
|
|
478
|
+
def disk_space_used(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
480
479
|
"""
|
|
481
480
|
Disk space that service is currently using
|
|
482
481
|
"""
|
|
483
482
|
return pulumi.get(self, "disk_space_used")
|
|
484
483
|
|
|
485
484
|
@disk_space_used.setter
|
|
486
|
-
def disk_space_used(self, value: Optional[pulumi.Input[
|
|
485
|
+
def disk_space_used(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
487
486
|
pulumi.set(self, "disk_space_used", value)
|
|
488
487
|
|
|
489
|
-
@property
|
|
488
|
+
@_builtins.property
|
|
490
489
|
@pulumi.getter(name="kafkaMirrormakerUserConfig")
|
|
491
490
|
def kafka_mirrormaker_user_config(self) -> Optional[pulumi.Input['KafkaMirrorMakerKafkaMirrormakerUserConfigArgs']]:
|
|
492
491
|
"""
|
|
@@ -498,79 +497,79 @@ class _KafkaMirrorMakerState:
|
|
|
498
497
|
def kafka_mirrormaker_user_config(self, value: Optional[pulumi.Input['KafkaMirrorMakerKafkaMirrormakerUserConfigArgs']]):
|
|
499
498
|
pulumi.set(self, "kafka_mirrormaker_user_config", value)
|
|
500
499
|
|
|
501
|
-
@property
|
|
500
|
+
@_builtins.property
|
|
502
501
|
@pulumi.getter(name="maintenanceWindowDow")
|
|
503
|
-
def maintenance_window_dow(self) -> Optional[pulumi.Input[
|
|
502
|
+
def maintenance_window_dow(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
504
503
|
"""
|
|
505
504
|
Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
506
505
|
"""
|
|
507
506
|
return pulumi.get(self, "maintenance_window_dow")
|
|
508
507
|
|
|
509
508
|
@maintenance_window_dow.setter
|
|
510
|
-
def maintenance_window_dow(self, value: Optional[pulumi.Input[
|
|
509
|
+
def maintenance_window_dow(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
511
510
|
pulumi.set(self, "maintenance_window_dow", value)
|
|
512
511
|
|
|
513
|
-
@property
|
|
512
|
+
@_builtins.property
|
|
514
513
|
@pulumi.getter(name="maintenanceWindowTime")
|
|
515
|
-
def maintenance_window_time(self) -> Optional[pulumi.Input[
|
|
514
|
+
def maintenance_window_time(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
516
515
|
"""
|
|
517
516
|
Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
518
517
|
"""
|
|
519
518
|
return pulumi.get(self, "maintenance_window_time")
|
|
520
519
|
|
|
521
520
|
@maintenance_window_time.setter
|
|
522
|
-
def maintenance_window_time(self, value: Optional[pulumi.Input[
|
|
521
|
+
def maintenance_window_time(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
523
522
|
pulumi.set(self, "maintenance_window_time", value)
|
|
524
523
|
|
|
525
|
-
@property
|
|
524
|
+
@_builtins.property
|
|
526
525
|
@pulumi.getter
|
|
527
|
-
def plan(self) -> Optional[pulumi.Input[
|
|
526
|
+
def plan(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
528
527
|
"""
|
|
529
528
|
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).
|
|
530
529
|
"""
|
|
531
530
|
return pulumi.get(self, "plan")
|
|
532
531
|
|
|
533
532
|
@plan.setter
|
|
534
|
-
def plan(self, value: Optional[pulumi.Input[
|
|
533
|
+
def plan(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
535
534
|
pulumi.set(self, "plan", value)
|
|
536
535
|
|
|
537
|
-
@property
|
|
536
|
+
@_builtins.property
|
|
538
537
|
@pulumi.getter
|
|
539
|
-
def project(self) -> Optional[pulumi.Input[
|
|
538
|
+
def project(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
540
539
|
"""
|
|
541
540
|
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.
|
|
542
541
|
"""
|
|
543
542
|
return pulumi.get(self, "project")
|
|
544
543
|
|
|
545
544
|
@project.setter
|
|
546
|
-
def project(self, value: Optional[pulumi.Input[
|
|
545
|
+
def project(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
547
546
|
pulumi.set(self, "project", value)
|
|
548
547
|
|
|
549
|
-
@property
|
|
548
|
+
@_builtins.property
|
|
550
549
|
@pulumi.getter(name="projectVpcId")
|
|
551
|
-
def project_vpc_id(self) -> Optional[pulumi.Input[
|
|
550
|
+
def project_vpc_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
552
551
|
"""
|
|
553
552
|
Specifies the VPC the service should run in. If the value is not set, the service runs on the Public Internet. When set, the value should be given as a reference to set up dependencies correctly, and the VPC must be in the same cloud and region as the service itself. The service can be freely moved to and from VPC after creation, but doing so triggers migration to new servers, so the operation can take a significant amount of time to complete if the service has a lot of data.
|
|
554
553
|
"""
|
|
555
554
|
return pulumi.get(self, "project_vpc_id")
|
|
556
555
|
|
|
557
556
|
@project_vpc_id.setter
|
|
558
|
-
def project_vpc_id(self, value: Optional[pulumi.Input[
|
|
557
|
+
def project_vpc_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
559
558
|
pulumi.set(self, "project_vpc_id", value)
|
|
560
559
|
|
|
561
|
-
@property
|
|
560
|
+
@_builtins.property
|
|
562
561
|
@pulumi.getter(name="serviceHost")
|
|
563
|
-
def service_host(self) -> Optional[pulumi.Input[
|
|
562
|
+
def service_host(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
564
563
|
"""
|
|
565
564
|
The hostname of the service.
|
|
566
565
|
"""
|
|
567
566
|
return pulumi.get(self, "service_host")
|
|
568
567
|
|
|
569
568
|
@service_host.setter
|
|
570
|
-
def service_host(self, value: Optional[pulumi.Input[
|
|
569
|
+
def service_host(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
571
570
|
pulumi.set(self, "service_host", value)
|
|
572
571
|
|
|
573
|
-
@property
|
|
572
|
+
@_builtins.property
|
|
574
573
|
@pulumi.getter(name="serviceIntegrations")
|
|
575
574
|
def service_integrations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['KafkaMirrorMakerServiceIntegrationArgs']]]]:
|
|
576
575
|
"""
|
|
@@ -582,100 +581,100 @@ class _KafkaMirrorMakerState:
|
|
|
582
581
|
def service_integrations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['KafkaMirrorMakerServiceIntegrationArgs']]]]):
|
|
583
582
|
pulumi.set(self, "service_integrations", value)
|
|
584
583
|
|
|
585
|
-
@property
|
|
584
|
+
@_builtins.property
|
|
586
585
|
@pulumi.getter(name="serviceName")
|
|
587
|
-
def service_name(self) -> Optional[pulumi.Input[
|
|
586
|
+
def service_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
588
587
|
"""
|
|
589
588
|
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.
|
|
590
589
|
"""
|
|
591
590
|
return pulumi.get(self, "service_name")
|
|
592
591
|
|
|
593
592
|
@service_name.setter
|
|
594
|
-
def service_name(self, value: Optional[pulumi.Input[
|
|
593
|
+
def service_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
595
594
|
pulumi.set(self, "service_name", value)
|
|
596
595
|
|
|
597
|
-
@property
|
|
596
|
+
@_builtins.property
|
|
598
597
|
@pulumi.getter(name="servicePassword")
|
|
599
|
-
def service_password(self) -> Optional[pulumi.Input[
|
|
598
|
+
def service_password(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
600
599
|
"""
|
|
601
600
|
Password used for connecting to the service, if applicable
|
|
602
601
|
"""
|
|
603
602
|
return pulumi.get(self, "service_password")
|
|
604
603
|
|
|
605
604
|
@service_password.setter
|
|
606
|
-
def service_password(self, value: Optional[pulumi.Input[
|
|
605
|
+
def service_password(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
607
606
|
pulumi.set(self, "service_password", value)
|
|
608
607
|
|
|
609
|
-
@property
|
|
608
|
+
@_builtins.property
|
|
610
609
|
@pulumi.getter(name="servicePort")
|
|
611
|
-
def service_port(self) -> Optional[pulumi.Input[
|
|
610
|
+
def service_port(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
612
611
|
"""
|
|
613
612
|
The port of the service
|
|
614
613
|
"""
|
|
615
614
|
return pulumi.get(self, "service_port")
|
|
616
615
|
|
|
617
616
|
@service_port.setter
|
|
618
|
-
def service_port(self, value: Optional[pulumi.Input[
|
|
617
|
+
def service_port(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
619
618
|
pulumi.set(self, "service_port", value)
|
|
620
619
|
|
|
621
|
-
@property
|
|
620
|
+
@_builtins.property
|
|
622
621
|
@pulumi.getter(name="serviceType")
|
|
623
|
-
def service_type(self) -> Optional[pulumi.Input[
|
|
622
|
+
def service_type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
624
623
|
"""
|
|
625
624
|
Aiven internal service type code
|
|
626
625
|
"""
|
|
627
626
|
return pulumi.get(self, "service_type")
|
|
628
627
|
|
|
629
628
|
@service_type.setter
|
|
630
|
-
def service_type(self, value: Optional[pulumi.Input[
|
|
629
|
+
def service_type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
631
630
|
pulumi.set(self, "service_type", value)
|
|
632
631
|
|
|
633
|
-
@property
|
|
632
|
+
@_builtins.property
|
|
634
633
|
@pulumi.getter(name="serviceUri")
|
|
635
|
-
def service_uri(self) -> Optional[pulumi.Input[
|
|
634
|
+
def service_uri(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
636
635
|
"""
|
|
637
636
|
URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
638
637
|
"""
|
|
639
638
|
return pulumi.get(self, "service_uri")
|
|
640
639
|
|
|
641
640
|
@service_uri.setter
|
|
642
|
-
def service_uri(self, value: Optional[pulumi.Input[
|
|
641
|
+
def service_uri(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
643
642
|
pulumi.set(self, "service_uri", value)
|
|
644
643
|
|
|
645
|
-
@property
|
|
644
|
+
@_builtins.property
|
|
646
645
|
@pulumi.getter(name="serviceUsername")
|
|
647
|
-
def service_username(self) -> Optional[pulumi.Input[
|
|
646
|
+
def service_username(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
648
647
|
"""
|
|
649
648
|
Username used for connecting to the service, if applicable
|
|
650
649
|
"""
|
|
651
650
|
return pulumi.get(self, "service_username")
|
|
652
651
|
|
|
653
652
|
@service_username.setter
|
|
654
|
-
def service_username(self, value: Optional[pulumi.Input[
|
|
653
|
+
def service_username(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
655
654
|
pulumi.set(self, "service_username", value)
|
|
656
655
|
|
|
657
|
-
@property
|
|
656
|
+
@_builtins.property
|
|
658
657
|
@pulumi.getter
|
|
659
|
-
def state(self) -> Optional[pulumi.Input[
|
|
658
|
+
def state(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
660
659
|
return pulumi.get(self, "state")
|
|
661
660
|
|
|
662
661
|
@state.setter
|
|
663
|
-
def state(self, value: Optional[pulumi.Input[
|
|
662
|
+
def state(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
664
663
|
pulumi.set(self, "state", value)
|
|
665
664
|
|
|
666
|
-
@property
|
|
665
|
+
@_builtins.property
|
|
667
666
|
@pulumi.getter(name="staticIps")
|
|
668
|
-
def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
667
|
+
def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
669
668
|
"""
|
|
670
669
|
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
|
|
671
670
|
"""
|
|
672
671
|
return pulumi.get(self, "static_ips")
|
|
673
672
|
|
|
674
673
|
@static_ips.setter
|
|
675
|
-
def static_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
674
|
+
def static_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
676
675
|
pulumi.set(self, "static_ips", value)
|
|
677
676
|
|
|
678
|
-
@property
|
|
677
|
+
@_builtins.property
|
|
679
678
|
@pulumi.getter
|
|
680
679
|
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['KafkaMirrorMakerTagArgs']]]]:
|
|
681
680
|
"""
|
|
@@ -687,7 +686,7 @@ class _KafkaMirrorMakerState:
|
|
|
687
686
|
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['KafkaMirrorMakerTagArgs']]]]):
|
|
688
687
|
pulumi.set(self, "tags", value)
|
|
689
688
|
|
|
690
|
-
@property
|
|
689
|
+
@_builtins.property
|
|
691
690
|
@pulumi.getter(name="techEmails")
|
|
692
691
|
def tech_emails(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['KafkaMirrorMakerTechEmailArgs']]]]:
|
|
693
692
|
"""
|
|
@@ -699,16 +698,16 @@ class _KafkaMirrorMakerState:
|
|
|
699
698
|
def tech_emails(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['KafkaMirrorMakerTechEmailArgs']]]]):
|
|
700
699
|
pulumi.set(self, "tech_emails", value)
|
|
701
700
|
|
|
702
|
-
@property
|
|
701
|
+
@_builtins.property
|
|
703
702
|
@pulumi.getter(name="terminationProtection")
|
|
704
|
-
def termination_protection(self) -> Optional[pulumi.Input[
|
|
703
|
+
def termination_protection(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
705
704
|
"""
|
|
706
705
|
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.
|
|
707
706
|
"""
|
|
708
707
|
return pulumi.get(self, "termination_protection")
|
|
709
708
|
|
|
710
709
|
@termination_protection.setter
|
|
711
|
-
def termination_protection(self, value: Optional[pulumi.Input[
|
|
710
|
+
def termination_protection(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
712
711
|
pulumi.set(self, "termination_protection", value)
|
|
713
712
|
|
|
714
713
|
|
|
@@ -718,21 +717,21 @@ class KafkaMirrorMaker(pulumi.CustomResource):
|
|
|
718
717
|
def __init__(__self__,
|
|
719
718
|
resource_name: str,
|
|
720
719
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
721
|
-
additional_disk_space: Optional[pulumi.Input[
|
|
722
|
-
cloud_name: Optional[pulumi.Input[
|
|
723
|
-
disk_space: Optional[pulumi.Input[
|
|
720
|
+
additional_disk_space: Optional[pulumi.Input[_builtins.str]] = None,
|
|
721
|
+
cloud_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
722
|
+
disk_space: Optional[pulumi.Input[_builtins.str]] = None,
|
|
724
723
|
kafka_mirrormaker_user_config: Optional[pulumi.Input[Union['KafkaMirrorMakerKafkaMirrormakerUserConfigArgs', 'KafkaMirrorMakerKafkaMirrormakerUserConfigArgsDict']]] = None,
|
|
725
|
-
maintenance_window_dow: Optional[pulumi.Input[
|
|
726
|
-
maintenance_window_time: Optional[pulumi.Input[
|
|
727
|
-
plan: Optional[pulumi.Input[
|
|
728
|
-
project: Optional[pulumi.Input[
|
|
729
|
-
project_vpc_id: Optional[pulumi.Input[
|
|
724
|
+
maintenance_window_dow: Optional[pulumi.Input[_builtins.str]] = None,
|
|
725
|
+
maintenance_window_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
726
|
+
plan: Optional[pulumi.Input[_builtins.str]] = None,
|
|
727
|
+
project: Optional[pulumi.Input[_builtins.str]] = None,
|
|
728
|
+
project_vpc_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
730
729
|
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['KafkaMirrorMakerServiceIntegrationArgs', 'KafkaMirrorMakerServiceIntegrationArgsDict']]]]] = None,
|
|
731
|
-
service_name: Optional[pulumi.Input[
|
|
732
|
-
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
730
|
+
service_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
731
|
+
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
733
732
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['KafkaMirrorMakerTagArgs', 'KafkaMirrorMakerTagArgsDict']]]]] = None,
|
|
734
733
|
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['KafkaMirrorMakerTechEmailArgs', 'KafkaMirrorMakerTechEmailArgsDict']]]]] = None,
|
|
735
|
-
termination_protection: Optional[pulumi.Input[
|
|
734
|
+
termination_protection: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
736
735
|
__props__=None):
|
|
737
736
|
"""
|
|
738
737
|
Creates and manages an [Aiven for Apache Kafka® MirrorMaker 2](https://aiven.io/docs/products/kafka/kafka-mirrormaker) service.
|
|
@@ -766,21 +765,21 @@ class KafkaMirrorMaker(pulumi.CustomResource):
|
|
|
766
765
|
|
|
767
766
|
:param str resource_name: The name of the resource.
|
|
768
767
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
769
|
-
:param pulumi.Input[
|
|
770
|
-
:param pulumi.Input[
|
|
771
|
-
:param pulumi.Input[
|
|
768
|
+
:param pulumi.Input[_builtins.str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart, and there might be a short downtime for services without an autoscaler integration or high availability capabilities. The field can be safely removed when autoscaler is enabled without causing any changes.
|
|
769
|
+
:param pulumi.Input[_builtins.str] cloud_name: The cloud provider and region the service is hosted in. The format is `provider-region`, for example: `google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ per project and service. Changing this value [migrates the service to another cloud provider or region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
|
|
770
|
+
:param pulumi.Input[_builtins.str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
772
771
|
: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
|
|
773
|
-
:param pulumi.Input[
|
|
774
|
-
:param pulumi.Input[
|
|
775
|
-
:param pulumi.Input[
|
|
776
|
-
:param pulumi.Input[
|
|
777
|
-
:param pulumi.Input[
|
|
772
|
+
:param pulumi.Input[_builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
773
|
+
:param pulumi.Input[_builtins.str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
774
|
+
:param pulumi.Input[_builtins.str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
775
|
+
:param pulumi.Input[_builtins.str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
776
|
+
:param pulumi.Input[_builtins.str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set, the service runs on the Public Internet. When set, the value should be given as a reference to set up dependencies correctly, and the VPC must be in the same cloud and region as the service itself. The service can be freely moved to and from VPC after creation, but doing so triggers migration to new servers, so the operation can take a significant amount of time to complete if the service has a lot of data.
|
|
778
777
|
: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
|
|
779
|
-
:param pulumi.Input[
|
|
780
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
778
|
+
:param pulumi.Input[_builtins.str] service_name: Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
|
|
779
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] static_ips: Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
781
780
|
:param pulumi.Input[Sequence[pulumi.Input[Union['KafkaMirrorMakerTagArgs', 'KafkaMirrorMakerTagArgsDict']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
782
781
|
: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.
|
|
783
|
-
:param pulumi.Input[
|
|
782
|
+
:param pulumi.Input[_builtins.bool] termination_protection: Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
|
|
784
783
|
"""
|
|
785
784
|
...
|
|
786
785
|
@overload
|
|
@@ -833,21 +832,21 @@ class KafkaMirrorMaker(pulumi.CustomResource):
|
|
|
833
832
|
def _internal_init(__self__,
|
|
834
833
|
resource_name: str,
|
|
835
834
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
836
|
-
additional_disk_space: Optional[pulumi.Input[
|
|
837
|
-
cloud_name: Optional[pulumi.Input[
|
|
838
|
-
disk_space: Optional[pulumi.Input[
|
|
835
|
+
additional_disk_space: Optional[pulumi.Input[_builtins.str]] = None,
|
|
836
|
+
cloud_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
837
|
+
disk_space: Optional[pulumi.Input[_builtins.str]] = None,
|
|
839
838
|
kafka_mirrormaker_user_config: Optional[pulumi.Input[Union['KafkaMirrorMakerKafkaMirrormakerUserConfigArgs', 'KafkaMirrorMakerKafkaMirrormakerUserConfigArgsDict']]] = None,
|
|
840
|
-
maintenance_window_dow: Optional[pulumi.Input[
|
|
841
|
-
maintenance_window_time: Optional[pulumi.Input[
|
|
842
|
-
plan: Optional[pulumi.Input[
|
|
843
|
-
project: Optional[pulumi.Input[
|
|
844
|
-
project_vpc_id: Optional[pulumi.Input[
|
|
839
|
+
maintenance_window_dow: Optional[pulumi.Input[_builtins.str]] = None,
|
|
840
|
+
maintenance_window_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
841
|
+
plan: Optional[pulumi.Input[_builtins.str]] = None,
|
|
842
|
+
project: Optional[pulumi.Input[_builtins.str]] = None,
|
|
843
|
+
project_vpc_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
845
844
|
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['KafkaMirrorMakerServiceIntegrationArgs', 'KafkaMirrorMakerServiceIntegrationArgsDict']]]]] = None,
|
|
846
|
-
service_name: Optional[pulumi.Input[
|
|
847
|
-
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
845
|
+
service_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
846
|
+
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
848
847
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['KafkaMirrorMakerTagArgs', 'KafkaMirrorMakerTagArgsDict']]]]] = None,
|
|
849
848
|
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['KafkaMirrorMakerTechEmailArgs', 'KafkaMirrorMakerTechEmailArgsDict']]]]] = None,
|
|
850
|
-
termination_protection: Optional[pulumi.Input[
|
|
849
|
+
termination_protection: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
851
850
|
__props__=None):
|
|
852
851
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
853
852
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -902,33 +901,33 @@ class KafkaMirrorMaker(pulumi.CustomResource):
|
|
|
902
901
|
def get(resource_name: str,
|
|
903
902
|
id: pulumi.Input[str],
|
|
904
903
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
905
|
-
additional_disk_space: Optional[pulumi.Input[
|
|
906
|
-
cloud_name: Optional[pulumi.Input[
|
|
904
|
+
additional_disk_space: Optional[pulumi.Input[_builtins.str]] = None,
|
|
905
|
+
cloud_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
907
906
|
components: Optional[pulumi.Input[Sequence[pulumi.Input[Union['KafkaMirrorMakerComponentArgs', 'KafkaMirrorMakerComponentArgsDict']]]]] = None,
|
|
908
|
-
disk_space: Optional[pulumi.Input[
|
|
909
|
-
disk_space_cap: Optional[pulumi.Input[
|
|
910
|
-
disk_space_default: Optional[pulumi.Input[
|
|
911
|
-
disk_space_step: Optional[pulumi.Input[
|
|
912
|
-
disk_space_used: Optional[pulumi.Input[
|
|
907
|
+
disk_space: Optional[pulumi.Input[_builtins.str]] = None,
|
|
908
|
+
disk_space_cap: Optional[pulumi.Input[_builtins.str]] = None,
|
|
909
|
+
disk_space_default: Optional[pulumi.Input[_builtins.str]] = None,
|
|
910
|
+
disk_space_step: Optional[pulumi.Input[_builtins.str]] = None,
|
|
911
|
+
disk_space_used: Optional[pulumi.Input[_builtins.str]] = None,
|
|
913
912
|
kafka_mirrormaker_user_config: Optional[pulumi.Input[Union['KafkaMirrorMakerKafkaMirrormakerUserConfigArgs', 'KafkaMirrorMakerKafkaMirrormakerUserConfigArgsDict']]] = None,
|
|
914
|
-
maintenance_window_dow: Optional[pulumi.Input[
|
|
915
|
-
maintenance_window_time: Optional[pulumi.Input[
|
|
916
|
-
plan: Optional[pulumi.Input[
|
|
917
|
-
project: Optional[pulumi.Input[
|
|
918
|
-
project_vpc_id: Optional[pulumi.Input[
|
|
919
|
-
service_host: Optional[pulumi.Input[
|
|
913
|
+
maintenance_window_dow: Optional[pulumi.Input[_builtins.str]] = None,
|
|
914
|
+
maintenance_window_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
915
|
+
plan: Optional[pulumi.Input[_builtins.str]] = None,
|
|
916
|
+
project: Optional[pulumi.Input[_builtins.str]] = None,
|
|
917
|
+
project_vpc_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
918
|
+
service_host: Optional[pulumi.Input[_builtins.str]] = None,
|
|
920
919
|
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['KafkaMirrorMakerServiceIntegrationArgs', 'KafkaMirrorMakerServiceIntegrationArgsDict']]]]] = None,
|
|
921
|
-
service_name: Optional[pulumi.Input[
|
|
922
|
-
service_password: Optional[pulumi.Input[
|
|
923
|
-
service_port: Optional[pulumi.Input[
|
|
924
|
-
service_type: Optional[pulumi.Input[
|
|
925
|
-
service_uri: Optional[pulumi.Input[
|
|
926
|
-
service_username: Optional[pulumi.Input[
|
|
927
|
-
state: Optional[pulumi.Input[
|
|
928
|
-
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
920
|
+
service_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
921
|
+
service_password: Optional[pulumi.Input[_builtins.str]] = None,
|
|
922
|
+
service_port: Optional[pulumi.Input[_builtins.int]] = None,
|
|
923
|
+
service_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
924
|
+
service_uri: Optional[pulumi.Input[_builtins.str]] = None,
|
|
925
|
+
service_username: Optional[pulumi.Input[_builtins.str]] = None,
|
|
926
|
+
state: Optional[pulumi.Input[_builtins.str]] = None,
|
|
927
|
+
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
929
928
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['KafkaMirrorMakerTagArgs', 'KafkaMirrorMakerTagArgsDict']]]]] = None,
|
|
930
929
|
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['KafkaMirrorMakerTechEmailArgs', 'KafkaMirrorMakerTechEmailArgsDict']]]]] = None,
|
|
931
|
-
termination_protection: Optional[pulumi.Input[
|
|
930
|
+
termination_protection: Optional[pulumi.Input[_builtins.bool]] = None) -> 'KafkaMirrorMaker':
|
|
932
931
|
"""
|
|
933
932
|
Get an existing KafkaMirrorMaker resource's state with the given name, id, and optional extra
|
|
934
933
|
properties used to qualify the lookup.
|
|
@@ -936,32 +935,32 @@ class KafkaMirrorMaker(pulumi.CustomResource):
|
|
|
936
935
|
:param str resource_name: The unique name of the resulting resource.
|
|
937
936
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
938
937
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
939
|
-
:param pulumi.Input[
|
|
940
|
-
:param pulumi.Input[
|
|
938
|
+
:param pulumi.Input[_builtins.str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart, and there might be a short downtime for services without an autoscaler integration or high availability capabilities. The field can be safely removed when autoscaler is enabled without causing any changes.
|
|
939
|
+
:param pulumi.Input[_builtins.str] cloud_name: The cloud provider and region the service is hosted in. The format is `provider-region`, for example: `google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ per project and service. Changing this value [migrates the service to another cloud provider or region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
|
|
941
940
|
:param pulumi.Input[Sequence[pulumi.Input[Union['KafkaMirrorMakerComponentArgs', 'KafkaMirrorMakerComponentArgsDict']]]] components: Service component information objects
|
|
942
|
-
:param pulumi.Input[
|
|
943
|
-
:param pulumi.Input[
|
|
944
|
-
:param pulumi.Input[
|
|
945
|
-
:param pulumi.Input[
|
|
946
|
-
:param pulumi.Input[
|
|
941
|
+
:param pulumi.Input[_builtins.str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
942
|
+
:param pulumi.Input[_builtins.str] disk_space_cap: The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
943
|
+
:param pulumi.Input[_builtins.str] disk_space_default: The default disk space of the service, possible values depend on the service type, the cloud provider and the project. Its also the minimum value for `disk_space`
|
|
944
|
+
:param pulumi.Input[_builtins.str] disk_space_step: The default disk space step of the service, possible values depend on the service type, the cloud provider and the project. `disk_space` needs to increment from `disk_space_default` by increments of this size.
|
|
945
|
+
:param pulumi.Input[_builtins.str] disk_space_used: Disk space that service is currently using
|
|
947
946
|
: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
|
|
948
|
-
:param pulumi.Input[
|
|
949
|
-
:param pulumi.Input[
|
|
950
|
-
:param pulumi.Input[
|
|
951
|
-
:param pulumi.Input[
|
|
952
|
-
:param pulumi.Input[
|
|
953
|
-
:param pulumi.Input[
|
|
947
|
+
:param pulumi.Input[_builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
948
|
+
:param pulumi.Input[_builtins.str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
949
|
+
:param pulumi.Input[_builtins.str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
950
|
+
:param pulumi.Input[_builtins.str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
951
|
+
:param pulumi.Input[_builtins.str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set, the service runs on the Public Internet. When set, the value should be given as a reference to set up dependencies correctly, and the VPC must be in the same cloud and region as the service itself. The service can be freely moved to and from VPC after creation, but doing so triggers migration to new servers, so the operation can take a significant amount of time to complete if the service has a lot of data.
|
|
952
|
+
:param pulumi.Input[_builtins.str] service_host: The hostname of the service.
|
|
954
953
|
: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
|
|
955
|
-
:param pulumi.Input[
|
|
956
|
-
:param pulumi.Input[
|
|
957
|
-
:param pulumi.Input[
|
|
958
|
-
:param pulumi.Input[
|
|
959
|
-
:param pulumi.Input[
|
|
960
|
-
:param pulumi.Input[
|
|
961
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
954
|
+
:param pulumi.Input[_builtins.str] service_name: Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
|
|
955
|
+
:param pulumi.Input[_builtins.str] service_password: Password used for connecting to the service, if applicable
|
|
956
|
+
:param pulumi.Input[_builtins.int] service_port: The port of the service
|
|
957
|
+
:param pulumi.Input[_builtins.str] service_type: Aiven internal service type code
|
|
958
|
+
:param pulumi.Input[_builtins.str] service_uri: URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
959
|
+
:param pulumi.Input[_builtins.str] service_username: Username used for connecting to the service, if applicable
|
|
960
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] static_ips: Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
962
961
|
:param pulumi.Input[Sequence[pulumi.Input[Union['KafkaMirrorMakerTagArgs', 'KafkaMirrorMakerTagArgsDict']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
963
962
|
: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.
|
|
964
|
-
:param pulumi.Input[
|
|
963
|
+
:param pulumi.Input[_builtins.bool] termination_protection: Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
|
|
965
964
|
"""
|
|
966
965
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
967
966
|
|
|
@@ -996,23 +995,23 @@ class KafkaMirrorMaker(pulumi.CustomResource):
|
|
|
996
995
|
__props__.__dict__["termination_protection"] = termination_protection
|
|
997
996
|
return KafkaMirrorMaker(resource_name, opts=opts, __props__=__props__)
|
|
998
997
|
|
|
999
|
-
@property
|
|
998
|
+
@_builtins.property
|
|
1000
999
|
@pulumi.getter(name="additionalDiskSpace")
|
|
1001
|
-
def additional_disk_space(self) -> pulumi.Output[
|
|
1000
|
+
def additional_disk_space(self) -> pulumi.Output[_builtins.str]:
|
|
1002
1001
|
"""
|
|
1003
1002
|
Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart, and there might be a short downtime for services without an autoscaler integration or high availability capabilities. The field can be safely removed when autoscaler is enabled without causing any changes.
|
|
1004
1003
|
"""
|
|
1005
1004
|
return pulumi.get(self, "additional_disk_space")
|
|
1006
1005
|
|
|
1007
|
-
@property
|
|
1006
|
+
@_builtins.property
|
|
1008
1007
|
@pulumi.getter(name="cloudName")
|
|
1009
|
-
def cloud_name(self) -> pulumi.Output[Optional[
|
|
1008
|
+
def cloud_name(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
1010
1009
|
"""
|
|
1011
1010
|
The cloud provider and region the service is hosted in. The format is `provider-region`, for example: `google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ per project and service. Changing this value [migrates the service to another cloud provider or region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
|
|
1012
1011
|
"""
|
|
1013
1012
|
return pulumi.get(self, "cloud_name")
|
|
1014
1013
|
|
|
1015
|
-
@property
|
|
1014
|
+
@_builtins.property
|
|
1016
1015
|
@pulumi.getter
|
|
1017
1016
|
def components(self) -> pulumi.Output[Sequence['outputs.KafkaMirrorMakerComponent']]:
|
|
1018
1017
|
"""
|
|
@@ -1020,49 +1019,49 @@ class KafkaMirrorMaker(pulumi.CustomResource):
|
|
|
1020
1019
|
"""
|
|
1021
1020
|
return pulumi.get(self, "components")
|
|
1022
1021
|
|
|
1023
|
-
@property
|
|
1022
|
+
@_builtins.property
|
|
1024
1023
|
@pulumi.getter(name="diskSpace")
|
|
1025
1024
|
@_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.""")
|
|
1026
|
-
def disk_space(self) -> pulumi.Output[Optional[
|
|
1025
|
+
def disk_space(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
1027
1026
|
"""
|
|
1028
1027
|
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
1029
1028
|
"""
|
|
1030
1029
|
return pulumi.get(self, "disk_space")
|
|
1031
1030
|
|
|
1032
|
-
@property
|
|
1031
|
+
@_builtins.property
|
|
1033
1032
|
@pulumi.getter(name="diskSpaceCap")
|
|
1034
|
-
def disk_space_cap(self) -> pulumi.Output[
|
|
1033
|
+
def disk_space_cap(self) -> pulumi.Output[_builtins.str]:
|
|
1035
1034
|
"""
|
|
1036
1035
|
The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
1037
1036
|
"""
|
|
1038
1037
|
return pulumi.get(self, "disk_space_cap")
|
|
1039
1038
|
|
|
1040
|
-
@property
|
|
1039
|
+
@_builtins.property
|
|
1041
1040
|
@pulumi.getter(name="diskSpaceDefault")
|
|
1042
|
-
def disk_space_default(self) -> pulumi.Output[
|
|
1041
|
+
def disk_space_default(self) -> pulumi.Output[_builtins.str]:
|
|
1043
1042
|
"""
|
|
1044
1043
|
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`
|
|
1045
1044
|
"""
|
|
1046
1045
|
return pulumi.get(self, "disk_space_default")
|
|
1047
1046
|
|
|
1048
|
-
@property
|
|
1047
|
+
@_builtins.property
|
|
1049
1048
|
@pulumi.getter(name="diskSpaceStep")
|
|
1050
|
-
def disk_space_step(self) -> pulumi.Output[
|
|
1049
|
+
def disk_space_step(self) -> pulumi.Output[_builtins.str]:
|
|
1051
1050
|
"""
|
|
1052
1051
|
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.
|
|
1053
1052
|
"""
|
|
1054
1053
|
return pulumi.get(self, "disk_space_step")
|
|
1055
1054
|
|
|
1056
|
-
@property
|
|
1055
|
+
@_builtins.property
|
|
1057
1056
|
@pulumi.getter(name="diskSpaceUsed")
|
|
1058
1057
|
@_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.""")
|
|
1059
|
-
def disk_space_used(self) -> pulumi.Output[
|
|
1058
|
+
def disk_space_used(self) -> pulumi.Output[_builtins.str]:
|
|
1060
1059
|
"""
|
|
1061
1060
|
Disk space that service is currently using
|
|
1062
1061
|
"""
|
|
1063
1062
|
return pulumi.get(self, "disk_space_used")
|
|
1064
1063
|
|
|
1065
|
-
@property
|
|
1064
|
+
@_builtins.property
|
|
1066
1065
|
@pulumi.getter(name="kafkaMirrormakerUserConfig")
|
|
1067
1066
|
def kafka_mirrormaker_user_config(self) -> pulumi.Output[Optional['outputs.KafkaMirrorMakerKafkaMirrormakerUserConfig']]:
|
|
1068
1067
|
"""
|
|
@@ -1070,55 +1069,55 @@ class KafkaMirrorMaker(pulumi.CustomResource):
|
|
|
1070
1069
|
"""
|
|
1071
1070
|
return pulumi.get(self, "kafka_mirrormaker_user_config")
|
|
1072
1071
|
|
|
1073
|
-
@property
|
|
1072
|
+
@_builtins.property
|
|
1074
1073
|
@pulumi.getter(name="maintenanceWindowDow")
|
|
1075
|
-
def maintenance_window_dow(self) -> pulumi.Output[Optional[
|
|
1074
|
+
def maintenance_window_dow(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
1076
1075
|
"""
|
|
1077
1076
|
Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
1078
1077
|
"""
|
|
1079
1078
|
return pulumi.get(self, "maintenance_window_dow")
|
|
1080
1079
|
|
|
1081
|
-
@property
|
|
1080
|
+
@_builtins.property
|
|
1082
1081
|
@pulumi.getter(name="maintenanceWindowTime")
|
|
1083
|
-
def maintenance_window_time(self) -> pulumi.Output[Optional[
|
|
1082
|
+
def maintenance_window_time(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
1084
1083
|
"""
|
|
1085
1084
|
Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
1086
1085
|
"""
|
|
1087
1086
|
return pulumi.get(self, "maintenance_window_time")
|
|
1088
1087
|
|
|
1089
|
-
@property
|
|
1088
|
+
@_builtins.property
|
|
1090
1089
|
@pulumi.getter
|
|
1091
|
-
def plan(self) -> pulumi.Output[
|
|
1090
|
+
def plan(self) -> pulumi.Output[_builtins.str]:
|
|
1092
1091
|
"""
|
|
1093
1092
|
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).
|
|
1094
1093
|
"""
|
|
1095
1094
|
return pulumi.get(self, "plan")
|
|
1096
1095
|
|
|
1097
|
-
@property
|
|
1096
|
+
@_builtins.property
|
|
1098
1097
|
@pulumi.getter
|
|
1099
|
-
def project(self) -> pulumi.Output[
|
|
1098
|
+
def project(self) -> pulumi.Output[_builtins.str]:
|
|
1100
1099
|
"""
|
|
1101
1100
|
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.
|
|
1102
1101
|
"""
|
|
1103
1102
|
return pulumi.get(self, "project")
|
|
1104
1103
|
|
|
1105
|
-
@property
|
|
1104
|
+
@_builtins.property
|
|
1106
1105
|
@pulumi.getter(name="projectVpcId")
|
|
1107
|
-
def project_vpc_id(self) -> pulumi.Output[Optional[
|
|
1106
|
+
def project_vpc_id(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
1108
1107
|
"""
|
|
1109
1108
|
Specifies the VPC the service should run in. If the value is not set, the service runs on the Public Internet. When set, the value should be given as a reference to set up dependencies correctly, and the VPC must be in the same cloud and region as the service itself. The service can be freely moved to and from VPC after creation, but doing so triggers migration to new servers, so the operation can take a significant amount of time to complete if the service has a lot of data.
|
|
1110
1109
|
"""
|
|
1111
1110
|
return pulumi.get(self, "project_vpc_id")
|
|
1112
1111
|
|
|
1113
|
-
@property
|
|
1112
|
+
@_builtins.property
|
|
1114
1113
|
@pulumi.getter(name="serviceHost")
|
|
1115
|
-
def service_host(self) -> pulumi.Output[
|
|
1114
|
+
def service_host(self) -> pulumi.Output[_builtins.str]:
|
|
1116
1115
|
"""
|
|
1117
1116
|
The hostname of the service.
|
|
1118
1117
|
"""
|
|
1119
1118
|
return pulumi.get(self, "service_host")
|
|
1120
1119
|
|
|
1121
|
-
@property
|
|
1120
|
+
@_builtins.property
|
|
1122
1121
|
@pulumi.getter(name="serviceIntegrations")
|
|
1123
1122
|
def service_integrations(self) -> pulumi.Output[Sequence['outputs.KafkaMirrorMakerServiceIntegration']]:
|
|
1124
1123
|
"""
|
|
@@ -1126,68 +1125,68 @@ class KafkaMirrorMaker(pulumi.CustomResource):
|
|
|
1126
1125
|
"""
|
|
1127
1126
|
return pulumi.get(self, "service_integrations")
|
|
1128
1127
|
|
|
1129
|
-
@property
|
|
1128
|
+
@_builtins.property
|
|
1130
1129
|
@pulumi.getter(name="serviceName")
|
|
1131
|
-
def service_name(self) -> pulumi.Output[
|
|
1130
|
+
def service_name(self) -> pulumi.Output[_builtins.str]:
|
|
1132
1131
|
"""
|
|
1133
1132
|
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.
|
|
1134
1133
|
"""
|
|
1135
1134
|
return pulumi.get(self, "service_name")
|
|
1136
1135
|
|
|
1137
|
-
@property
|
|
1136
|
+
@_builtins.property
|
|
1138
1137
|
@pulumi.getter(name="servicePassword")
|
|
1139
|
-
def service_password(self) -> pulumi.Output[
|
|
1138
|
+
def service_password(self) -> pulumi.Output[_builtins.str]:
|
|
1140
1139
|
"""
|
|
1141
1140
|
Password used for connecting to the service, if applicable
|
|
1142
1141
|
"""
|
|
1143
1142
|
return pulumi.get(self, "service_password")
|
|
1144
1143
|
|
|
1145
|
-
@property
|
|
1144
|
+
@_builtins.property
|
|
1146
1145
|
@pulumi.getter(name="servicePort")
|
|
1147
|
-
def service_port(self) -> pulumi.Output[
|
|
1146
|
+
def service_port(self) -> pulumi.Output[_builtins.int]:
|
|
1148
1147
|
"""
|
|
1149
1148
|
The port of the service
|
|
1150
1149
|
"""
|
|
1151
1150
|
return pulumi.get(self, "service_port")
|
|
1152
1151
|
|
|
1153
|
-
@property
|
|
1152
|
+
@_builtins.property
|
|
1154
1153
|
@pulumi.getter(name="serviceType")
|
|
1155
|
-
def service_type(self) -> pulumi.Output[
|
|
1154
|
+
def service_type(self) -> pulumi.Output[_builtins.str]:
|
|
1156
1155
|
"""
|
|
1157
1156
|
Aiven internal service type code
|
|
1158
1157
|
"""
|
|
1159
1158
|
return pulumi.get(self, "service_type")
|
|
1160
1159
|
|
|
1161
|
-
@property
|
|
1160
|
+
@_builtins.property
|
|
1162
1161
|
@pulumi.getter(name="serviceUri")
|
|
1163
|
-
def service_uri(self) -> pulumi.Output[
|
|
1162
|
+
def service_uri(self) -> pulumi.Output[_builtins.str]:
|
|
1164
1163
|
"""
|
|
1165
1164
|
URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
1166
1165
|
"""
|
|
1167
1166
|
return pulumi.get(self, "service_uri")
|
|
1168
1167
|
|
|
1169
|
-
@property
|
|
1168
|
+
@_builtins.property
|
|
1170
1169
|
@pulumi.getter(name="serviceUsername")
|
|
1171
|
-
def service_username(self) -> pulumi.Output[
|
|
1170
|
+
def service_username(self) -> pulumi.Output[_builtins.str]:
|
|
1172
1171
|
"""
|
|
1173
1172
|
Username used for connecting to the service, if applicable
|
|
1174
1173
|
"""
|
|
1175
1174
|
return pulumi.get(self, "service_username")
|
|
1176
1175
|
|
|
1177
|
-
@property
|
|
1176
|
+
@_builtins.property
|
|
1178
1177
|
@pulumi.getter
|
|
1179
|
-
def state(self) -> pulumi.Output[
|
|
1178
|
+
def state(self) -> pulumi.Output[_builtins.str]:
|
|
1180
1179
|
return pulumi.get(self, "state")
|
|
1181
1180
|
|
|
1182
|
-
@property
|
|
1181
|
+
@_builtins.property
|
|
1183
1182
|
@pulumi.getter(name="staticIps")
|
|
1184
|
-
def static_ips(self) -> pulumi.Output[Optional[Sequence[
|
|
1183
|
+
def static_ips(self) -> pulumi.Output[Optional[Sequence[_builtins.str]]]:
|
|
1185
1184
|
"""
|
|
1186
1185
|
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
|
|
1187
1186
|
"""
|
|
1188
1187
|
return pulumi.get(self, "static_ips")
|
|
1189
1188
|
|
|
1190
|
-
@property
|
|
1189
|
+
@_builtins.property
|
|
1191
1190
|
@pulumi.getter
|
|
1192
1191
|
def tags(self) -> pulumi.Output[Optional[Sequence['outputs.KafkaMirrorMakerTag']]]:
|
|
1193
1192
|
"""
|
|
@@ -1195,7 +1194,7 @@ class KafkaMirrorMaker(pulumi.CustomResource):
|
|
|
1195
1194
|
"""
|
|
1196
1195
|
return pulumi.get(self, "tags")
|
|
1197
1196
|
|
|
1198
|
-
@property
|
|
1197
|
+
@_builtins.property
|
|
1199
1198
|
@pulumi.getter(name="techEmails")
|
|
1200
1199
|
def tech_emails(self) -> pulumi.Output[Optional[Sequence['outputs.KafkaMirrorMakerTechEmail']]]:
|
|
1201
1200
|
"""
|
|
@@ -1203,9 +1202,9 @@ class KafkaMirrorMaker(pulumi.CustomResource):
|
|
|
1203
1202
|
"""
|
|
1204
1203
|
return pulumi.get(self, "tech_emails")
|
|
1205
1204
|
|
|
1206
|
-
@property
|
|
1205
|
+
@_builtins.property
|
|
1207
1206
|
@pulumi.getter(name="terminationProtection")
|
|
1208
|
-
def termination_protection(self) -> pulumi.Output[Optional[
|
|
1207
|
+
def termination_protection(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
|
1209
1208
|
"""
|
|
1210
1209
|
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.
|
|
1211
1210
|
"""
|