pulumi-aiven 6.37.0a1743570488__py3-none-any.whl → 6.37.0a1744255932__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 +22 -0
- pulumi_aiven/_inputs.py +8877 -8288
- pulumi_aiven/account.py +71 -70
- pulumi_aiven/account_authentication.py +204 -203
- pulumi_aiven/account_team.py +50 -49
- pulumi_aiven/account_team_member.py +64 -63
- pulumi_aiven/account_team_project.py +57 -56
- pulumi_aiven/alloydbomni.py +247 -254
- pulumi_aiven/alloydbomni_database.py +71 -70
- pulumi_aiven/alloydbomni_user.py +92 -91
- pulumi_aiven/aws_org_vpc_peering_connection.py +92 -91
- pulumi_aiven/aws_privatelink.py +57 -56
- pulumi_aiven/aws_vpc_peering_connection.py +78 -77
- pulumi_aiven/azure_org_vpc_peering_connection.py +113 -112
- pulumi_aiven/azure_privatelink.py +71 -70
- pulumi_aiven/azure_privatelink_connection_approval.py +57 -56
- pulumi_aiven/azure_vpc_peering_connection.py +106 -105
- pulumi_aiven/billing_group.py +211 -210
- pulumi_aiven/cassandra.py +233 -240
- pulumi_aiven/cassandra_user.py +78 -77
- pulumi_aiven/clickhouse.py +233 -240
- pulumi_aiven/clickhouse_database.py +53 -52
- pulumi_aiven/clickhouse_grant.py +57 -56
- pulumi_aiven/clickhouse_role.py +43 -42
- pulumi_aiven/clickhouse_user.py +64 -63
- pulumi_aiven/config/__init__.py +1 -0
- pulumi_aiven/config/__init__.pyi +1 -0
- pulumi_aiven/config/vars.py +1 -0
- pulumi_aiven/connection_pool.py +106 -105
- pulumi_aiven/dragonfly.py +233 -240
- pulumi_aiven/flink.py +233 -240
- pulumi_aiven/flink_application.py +78 -77
- pulumi_aiven/flink_application_deployment.py +113 -112
- pulumi_aiven/flink_application_version.py +85 -84
- pulumi_aiven/flink_jar_application.py +78 -77
- pulumi_aiven/flink_jar_application_deployment.py +176 -175
- pulumi_aiven/flink_jar_application_version.py +92 -91
- pulumi_aiven/gcp_org_vpc_peering_connection.py +71 -70
- pulumi_aiven/gcp_privatelink.py +50 -49
- pulumi_aiven/gcp_privatelink_connection_approval.py +64 -63
- pulumi_aiven/gcp_vpc_peering_connection.py +64 -63
- pulumi_aiven/get_account.py +14 -13
- pulumi_aiven/get_account_authentication.py +27 -26
- pulumi_aiven/get_account_team.py +15 -14
- pulumi_aiven/get_account_team_member.py +20 -19
- pulumi_aiven/get_account_team_project.py +18 -17
- pulumi_aiven/get_alloydbomni.py +34 -36
- pulumi_aiven/get_alloydbomni_database.py +19 -18
- pulumi_aiven/get_alloydbomni_user.py +22 -21
- pulumi_aiven/get_aws_org_vpc_peering_connection.py +30 -29
- pulumi_aiven/get_aws_privatelink.py +15 -14
- pulumi_aiven/get_aws_vpc_peering_connection.py +25 -24
- pulumi_aiven/get_azure_org_vpc_peering_connection.py +31 -30
- pulumi_aiven/get_azure_privatelink.py +17 -16
- pulumi_aiven/get_azure_vpc_peering_connection.py +35 -34
- pulumi_aiven/get_billing_group.py +22 -21
- pulumi_aiven/get_cassanda.py +33 -35
- pulumi_aiven/get_cassandra.py +33 -35
- pulumi_aiven/get_cassandra_user.py +21 -20
- pulumi_aiven/get_clickhouse.py +33 -35
- pulumi_aiven/get_clickhouse_database.py +18 -17
- pulumi_aiven/get_clickhouse_user.py +20 -19
- pulumi_aiven/get_connection_pool.py +22 -21
- pulumi_aiven/get_dragonfly.py +33 -35
- pulumi_aiven/get_external_identity.py +22 -21
- pulumi_aiven/get_flink.py +33 -35
- pulumi_aiven/get_flink_application.py +22 -21
- pulumi_aiven/get_flink_application_version.py +26 -25
- pulumi_aiven/get_gcp_org_vpc_peering_connection.py +24 -23
- pulumi_aiven/get_gcp_privatelink.py +15 -14
- pulumi_aiven/get_gcp_vpc_peering_connection.py +20 -19
- pulumi_aiven/get_grafana.py +33 -35
- pulumi_aiven/get_influx_db.py +28 -27
- pulumi_aiven/get_influxdb_database.py +12 -11
- pulumi_aiven/get_influxdb_user.py +15 -14
- pulumi_aiven/get_kafka.py +35 -37
- pulumi_aiven/get_kafka_acl.py +28 -27
- pulumi_aiven/get_kafka_connect.py +33 -35
- pulumi_aiven/get_kafka_connector.py +24 -23
- pulumi_aiven/get_kafka_mirror_maker.py +33 -35
- pulumi_aiven/get_kafka_schema.py +21 -20
- pulumi_aiven/get_kafka_schema_configuration.py +17 -16
- pulumi_aiven/get_kafka_schema_registry_acl.py +28 -27
- pulumi_aiven/get_kafka_topic.py +22 -21
- pulumi_aiven/get_kafka_user.py +21 -20
- pulumi_aiven/get_m3_aggregator.py +33 -35
- pulumi_aiven/get_m3_db.py +33 -35
- pulumi_aiven/get_m3db_user.py +19 -18
- pulumi_aiven/get_mirror_maker_replication_flow.py +34 -33
- pulumi_aiven/get_my_sql.py +33 -35
- pulumi_aiven/get_mysql_database.py +18 -17
- pulumi_aiven/get_mysql_user.py +22 -21
- pulumi_aiven/get_open_search.py +33 -35
- pulumi_aiven/get_open_search_acl_config.py +14 -13
- pulumi_aiven/get_open_search_acl_rule.py +27 -26
- pulumi_aiven/get_opensearch_security_plugin_config.py +16 -15
- pulumi_aiven/get_opensearch_user.py +19 -18
- pulumi_aiven/get_organization.py +14 -13
- pulumi_aiven/get_organization_address.py +227 -0
- pulumi_aiven/get_organization_application_user.py +15 -34
- pulumi_aiven/get_organization_billing_group.py +241 -0
- pulumi_aiven/get_organization_billing_group_list.py +110 -0
- pulumi_aiven/get_organization_project.py +30 -15
- pulumi_aiven/get_organization_user.py +18 -17
- pulumi_aiven/get_organization_user_group.py +16 -15
- pulumi_aiven/get_organization_user_list.py +32 -19
- pulumi_aiven/get_organization_vpc.py +17 -16
- pulumi_aiven/get_organizational_unit.py +11 -10
- pulumi_aiven/get_pg.py +33 -35
- pulumi_aiven/get_pg_database.py +20 -19
- pulumi_aiven/get_pg_user.py +22 -21
- pulumi_aiven/get_project.py +19 -18
- pulumi_aiven/get_project_user.py +14 -13
- pulumi_aiven/get_project_vpc.py +19 -18
- pulumi_aiven/get_redis.py +33 -35
- pulumi_aiven/get_redis_user.py +23 -22
- pulumi_aiven/get_service_component.py +54 -39
- pulumi_aiven/get_service_integration.py +29 -28
- pulumi_aiven/get_service_integration_endpoint.py +14 -13
- pulumi_aiven/get_thanos.py +33 -35
- pulumi_aiven/get_transit_gateway_vpc_attachment.py +22 -21
- pulumi_aiven/get_valkey.py +33 -35
- pulumi_aiven/get_valkey_user.py +23 -22
- pulumi_aiven/grafana.py +233 -240
- pulumi_aiven/influx_db.py +251 -244
- pulumi_aiven/influxdb_database.py +53 -52
- pulumi_aiven/influxdb_user.py +78 -77
- pulumi_aiven/kafka.py +261 -268
- pulumi_aiven/kafka_acl.py +78 -77
- pulumi_aiven/kafka_connect.py +233 -240
- pulumi_aiven/kafka_connector.py +99 -98
- pulumi_aiven/kafka_mirror_maker.py +233 -240
- pulumi_aiven/kafka_native_acl.py +127 -126
- pulumi_aiven/kafka_quota.py +99 -98
- pulumi_aiven/kafka_schema.py +92 -91
- pulumi_aiven/kafka_schema_configuration.py +43 -42
- pulumi_aiven/kafka_schema_registry_acl.py +78 -77
- pulumi_aiven/kafka_topic.py +109 -108
- pulumi_aiven/kafka_user.py +78 -77
- pulumi_aiven/m3_aggregator.py +233 -240
- pulumi_aiven/m3_db.py +233 -240
- pulumi_aiven/m3db_user.py +64 -63
- pulumi_aiven/mirror_maker_replication_flow.py +225 -224
- pulumi_aiven/my_sql.py +233 -240
- pulumi_aiven/mysql_database.py +53 -52
- pulumi_aiven/mysql_user.py +92 -91
- pulumi_aiven/open_search.py +233 -240
- pulumi_aiven/open_search_acl_config.py +57 -56
- pulumi_aiven/open_search_acl_rule.py +75 -74
- pulumi_aiven/opensearch_security_plugin_config.py +64 -63
- pulumi_aiven/opensearch_user.py +64 -63
- pulumi_aiven/organization.py +38 -37
- pulumi_aiven/organization_address.py +557 -0
- pulumi_aiven/organization_application_user.py +61 -60
- pulumi_aiven/organization_application_user_token.py +169 -168
- pulumi_aiven/organization_billing_group.py +645 -0
- pulumi_aiven/organization_group_project.py +43 -42
- pulumi_aiven/organization_permission.py +45 -44
- pulumi_aiven/organization_project.py +114 -82
- pulumi_aiven/organization_user.py +57 -56
- pulumi_aiven/organization_user_group.py +64 -63
- pulumi_aiven/organization_user_group_member.py +50 -81
- pulumi_aiven/organization_vpc.py +71 -70
- pulumi_aiven/organizational_unit.py +50 -49
- pulumi_aiven/outputs.py +10770 -10004
- pulumi_aiven/pg.py +233 -240
- pulumi_aiven/pg_database.py +81 -80
- pulumi_aiven/pg_user.py +92 -91
- pulumi_aiven/project.py +155 -154
- pulumi_aiven/project_user.py +50 -49
- pulumi_aiven/project_vpc.py +50 -49
- pulumi_aiven/provider.py +9 -8
- pulumi_aiven/pulumi-plugin.json +1 -1
- pulumi_aiven/redis.py +233 -240
- pulumi_aiven/redis_user.py +120 -119
- pulumi_aiven/service_integration.py +124 -123
- pulumi_aiven/service_integration_endpoint.py +50 -49
- pulumi_aiven/static_ip.py +57 -56
- pulumi_aiven/thanos.py +233 -240
- pulumi_aiven/transit_gateway_vpc_attachment.py +92 -91
- pulumi_aiven/valkey.py +233 -240
- pulumi_aiven/valkey_user.py +120 -119
- {pulumi_aiven-6.37.0a1743570488.dist-info → pulumi_aiven-6.37.0a1744255932.dist-info}/METADATA +1 -1
- pulumi_aiven-6.37.0a1744255932.dist-info/RECORD +188 -0
- pulumi_aiven-6.37.0a1743570488.dist-info/RECORD +0 -183
- {pulumi_aiven-6.37.0a1743570488.dist-info → pulumi_aiven-6.37.0a1744255932.dist-info}/WHEEL +0 -0
- {pulumi_aiven-6.37.0a1743570488.dist-info → pulumi_aiven-6.37.0a1744255932.dist-info}/top_level.txt +0 -0
pulumi_aiven/kafka.py
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
+
import builtins
|
|
5
6
|
import copy
|
|
6
7
|
import warnings
|
|
7
8
|
import sys
|
|
@@ -21,44 +22,44 @@ __all__ = ['KafkaArgs', 'Kafka']
|
|
|
21
22
|
@pulumi.input_type
|
|
22
23
|
class KafkaArgs:
|
|
23
24
|
def __init__(__self__, *,
|
|
24
|
-
plan: pulumi.Input[str],
|
|
25
|
-
project: pulumi.Input[str],
|
|
26
|
-
service_name: pulumi.Input[str],
|
|
27
|
-
additional_disk_space: Optional[pulumi.Input[str]] = None,
|
|
28
|
-
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
29
|
-
default_acl: Optional[pulumi.Input[bool]] = None,
|
|
30
|
-
disk_space: Optional[pulumi.Input[str]] = None,
|
|
25
|
+
plan: pulumi.Input[builtins.str],
|
|
26
|
+
project: pulumi.Input[builtins.str],
|
|
27
|
+
service_name: pulumi.Input[builtins.str],
|
|
28
|
+
additional_disk_space: Optional[pulumi.Input[builtins.str]] = None,
|
|
29
|
+
cloud_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
30
|
+
default_acl: Optional[pulumi.Input[builtins.bool]] = None,
|
|
31
|
+
disk_space: Optional[pulumi.Input[builtins.str]] = None,
|
|
31
32
|
kafka_user_config: Optional[pulumi.Input['KafkaKafkaUserConfigArgs']] = None,
|
|
32
33
|
kafkas: Optional[pulumi.Input[Sequence[pulumi.Input['KafkaKafkaArgs']]]] = None,
|
|
33
|
-
karapace: Optional[pulumi.Input[bool]] = None,
|
|
34
|
-
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
35
|
-
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
36
|
-
project_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
34
|
+
karapace: Optional[pulumi.Input[builtins.bool]] = None,
|
|
35
|
+
maintenance_window_dow: Optional[pulumi.Input[builtins.str]] = None,
|
|
36
|
+
maintenance_window_time: Optional[pulumi.Input[builtins.str]] = None,
|
|
37
|
+
project_vpc_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
37
38
|
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input['KafkaServiceIntegrationArgs']]]] = None,
|
|
38
|
-
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
39
|
+
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
39
40
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input['KafkaTagArgs']]]] = None,
|
|
40
41
|
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input['KafkaTechEmailArgs']]]] = None,
|
|
41
|
-
termination_protection: Optional[pulumi.Input[bool]] = None):
|
|
42
|
+
termination_protection: Optional[pulumi.Input[builtins.bool]] = None):
|
|
42
43
|
"""
|
|
43
44
|
The set of arguments for constructing a Kafka resource.
|
|
44
|
-
:param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
45
|
-
:param pulumi.Input[str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
46
|
-
:param pulumi.Input[str] service_name: Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
|
|
47
|
-
:param pulumi.Input[str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services
|
|
48
|
-
:param pulumi.Input[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.
|
|
49
|
-
:param pulumi.Input[bool] default_acl: Create a default wildcard Kafka ACL.
|
|
50
|
-
:param pulumi.Input[str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
45
|
+
: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).
|
|
46
|
+
: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.
|
|
47
|
+
: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.
|
|
48
|
+
: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.
|
|
49
|
+
: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.
|
|
50
|
+
:param pulumi.Input[builtins.bool] default_acl: Create a default wildcard Kafka ACL.
|
|
51
|
+
: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.
|
|
51
52
|
:param pulumi.Input['KafkaKafkaUserConfigArgs'] kafka_user_config: Kafka user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
52
53
|
:param pulumi.Input[Sequence[pulumi.Input['KafkaKafkaArgs']]] kafkas: Kafka server connection details.
|
|
53
|
-
:param pulumi.Input[bool] karapace: Switch the service to use [Karapace](https://aiven.io/docs/products/kafka/karapace) for schema registry and REST proxy.
|
|
54
|
-
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
55
|
-
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
56
|
-
:param pulumi.Input[str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
54
|
+
:param pulumi.Input[builtins.bool] karapace: Switch the service to use [Karapace](https://aiven.io/docs/products/kafka/karapace) for schema registry and REST proxy.
|
|
55
|
+
:param pulumi.Input[builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
56
|
+
:param pulumi.Input[builtins.str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
57
|
+
:param pulumi.Input[builtins.str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
57
58
|
:param pulumi.Input[Sequence[pulumi.Input['KafkaServiceIntegrationArgs']]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
58
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
59
|
+
: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
|
|
59
60
|
:param pulumi.Input[Sequence[pulumi.Input['KafkaTagArgs']]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
60
61
|
:param pulumi.Input[Sequence[pulumi.Input['KafkaTechEmailArgs']]] 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.
|
|
61
|
-
:param pulumi.Input[bool] termination_protection: Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
|
|
62
|
+
: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.
|
|
62
63
|
"""
|
|
63
64
|
pulumi.set(__self__, "plan", plan)
|
|
64
65
|
pulumi.set(__self__, "project", project)
|
|
@@ -102,87 +103,87 @@ class KafkaArgs:
|
|
|
102
103
|
|
|
103
104
|
@property
|
|
104
105
|
@pulumi.getter
|
|
105
|
-
def plan(self) -> pulumi.Input[str]:
|
|
106
|
+
def plan(self) -> pulumi.Input[builtins.str]:
|
|
106
107
|
"""
|
|
107
108
|
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).
|
|
108
109
|
"""
|
|
109
110
|
return pulumi.get(self, "plan")
|
|
110
111
|
|
|
111
112
|
@plan.setter
|
|
112
|
-
def plan(self, value: pulumi.Input[str]):
|
|
113
|
+
def plan(self, value: pulumi.Input[builtins.str]):
|
|
113
114
|
pulumi.set(self, "plan", value)
|
|
114
115
|
|
|
115
116
|
@property
|
|
116
117
|
@pulumi.getter
|
|
117
|
-
def project(self) -> pulumi.Input[str]:
|
|
118
|
+
def project(self) -> pulumi.Input[builtins.str]:
|
|
118
119
|
"""
|
|
119
120
|
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.
|
|
120
121
|
"""
|
|
121
122
|
return pulumi.get(self, "project")
|
|
122
123
|
|
|
123
124
|
@project.setter
|
|
124
|
-
def project(self, value: pulumi.Input[str]):
|
|
125
|
+
def project(self, value: pulumi.Input[builtins.str]):
|
|
125
126
|
pulumi.set(self, "project", value)
|
|
126
127
|
|
|
127
128
|
@property
|
|
128
129
|
@pulumi.getter(name="serviceName")
|
|
129
|
-
def service_name(self) -> pulumi.Input[str]:
|
|
130
|
+
def service_name(self) -> pulumi.Input[builtins.str]:
|
|
130
131
|
"""
|
|
131
132
|
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.
|
|
132
133
|
"""
|
|
133
134
|
return pulumi.get(self, "service_name")
|
|
134
135
|
|
|
135
136
|
@service_name.setter
|
|
136
|
-
def service_name(self, value: pulumi.Input[str]):
|
|
137
|
+
def service_name(self, value: pulumi.Input[builtins.str]):
|
|
137
138
|
pulumi.set(self, "service_name", value)
|
|
138
139
|
|
|
139
140
|
@property
|
|
140
141
|
@pulumi.getter(name="additionalDiskSpace")
|
|
141
|
-
def additional_disk_space(self) -> Optional[pulumi.Input[str]]:
|
|
142
|
+
def additional_disk_space(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
142
143
|
"""
|
|
143
|
-
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
|
|
144
|
+
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.
|
|
144
145
|
"""
|
|
145
146
|
return pulumi.get(self, "additional_disk_space")
|
|
146
147
|
|
|
147
148
|
@additional_disk_space.setter
|
|
148
|
-
def additional_disk_space(self, value: Optional[pulumi.Input[str]]):
|
|
149
|
+
def additional_disk_space(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
149
150
|
pulumi.set(self, "additional_disk_space", value)
|
|
150
151
|
|
|
151
152
|
@property
|
|
152
153
|
@pulumi.getter(name="cloudName")
|
|
153
|
-
def cloud_name(self) -> Optional[pulumi.Input[str]]:
|
|
154
|
+
def cloud_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
154
155
|
"""
|
|
155
156
|
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.
|
|
156
157
|
"""
|
|
157
158
|
return pulumi.get(self, "cloud_name")
|
|
158
159
|
|
|
159
160
|
@cloud_name.setter
|
|
160
|
-
def cloud_name(self, value: Optional[pulumi.Input[str]]):
|
|
161
|
+
def cloud_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
161
162
|
pulumi.set(self, "cloud_name", value)
|
|
162
163
|
|
|
163
164
|
@property
|
|
164
165
|
@pulumi.getter(name="defaultAcl")
|
|
165
|
-
def default_acl(self) -> Optional[pulumi.Input[bool]]:
|
|
166
|
+
def default_acl(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
166
167
|
"""
|
|
167
168
|
Create a default wildcard Kafka ACL.
|
|
168
169
|
"""
|
|
169
170
|
return pulumi.get(self, "default_acl")
|
|
170
171
|
|
|
171
172
|
@default_acl.setter
|
|
172
|
-
def default_acl(self, value: Optional[pulumi.Input[bool]]):
|
|
173
|
+
def default_acl(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
173
174
|
pulumi.set(self, "default_acl", value)
|
|
174
175
|
|
|
175
176
|
@property
|
|
176
177
|
@pulumi.getter(name="diskSpace")
|
|
177
178
|
@_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.""")
|
|
178
|
-
def disk_space(self) -> Optional[pulumi.Input[str]]:
|
|
179
|
+
def disk_space(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
179
180
|
"""
|
|
180
181
|
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
181
182
|
"""
|
|
182
183
|
return pulumi.get(self, "disk_space")
|
|
183
184
|
|
|
184
185
|
@disk_space.setter
|
|
185
|
-
def disk_space(self, value: Optional[pulumi.Input[str]]):
|
|
186
|
+
def disk_space(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
186
187
|
pulumi.set(self, "disk_space", value)
|
|
187
188
|
|
|
188
189
|
@property
|
|
@@ -212,50 +213,50 @@ class KafkaArgs:
|
|
|
212
213
|
@property
|
|
213
214
|
@pulumi.getter
|
|
214
215
|
@_utilities.deprecated("""Usage of this field is discouraged.""")
|
|
215
|
-
def karapace(self) -> Optional[pulumi.Input[bool]]:
|
|
216
|
+
def karapace(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
216
217
|
"""
|
|
217
218
|
Switch the service to use [Karapace](https://aiven.io/docs/products/kafka/karapace) for schema registry and REST proxy.
|
|
218
219
|
"""
|
|
219
220
|
return pulumi.get(self, "karapace")
|
|
220
221
|
|
|
221
222
|
@karapace.setter
|
|
222
|
-
def karapace(self, value: Optional[pulumi.Input[bool]]):
|
|
223
|
+
def karapace(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
223
224
|
pulumi.set(self, "karapace", value)
|
|
224
225
|
|
|
225
226
|
@property
|
|
226
227
|
@pulumi.getter(name="maintenanceWindowDow")
|
|
227
|
-
def maintenance_window_dow(self) -> Optional[pulumi.Input[str]]:
|
|
228
|
+
def maintenance_window_dow(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
228
229
|
"""
|
|
229
230
|
Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
230
231
|
"""
|
|
231
232
|
return pulumi.get(self, "maintenance_window_dow")
|
|
232
233
|
|
|
233
234
|
@maintenance_window_dow.setter
|
|
234
|
-
def maintenance_window_dow(self, value: Optional[pulumi.Input[str]]):
|
|
235
|
+
def maintenance_window_dow(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
235
236
|
pulumi.set(self, "maintenance_window_dow", value)
|
|
236
237
|
|
|
237
238
|
@property
|
|
238
239
|
@pulumi.getter(name="maintenanceWindowTime")
|
|
239
|
-
def maintenance_window_time(self) -> Optional[pulumi.Input[str]]:
|
|
240
|
+
def maintenance_window_time(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
240
241
|
"""
|
|
241
242
|
Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
242
243
|
"""
|
|
243
244
|
return pulumi.get(self, "maintenance_window_time")
|
|
244
245
|
|
|
245
246
|
@maintenance_window_time.setter
|
|
246
|
-
def maintenance_window_time(self, value: Optional[pulumi.Input[str]]):
|
|
247
|
+
def maintenance_window_time(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
247
248
|
pulumi.set(self, "maintenance_window_time", value)
|
|
248
249
|
|
|
249
250
|
@property
|
|
250
251
|
@pulumi.getter(name="projectVpcId")
|
|
251
|
-
def project_vpc_id(self) -> Optional[pulumi.Input[str]]:
|
|
252
|
+
def project_vpc_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
252
253
|
"""
|
|
253
254
|
Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
254
255
|
"""
|
|
255
256
|
return pulumi.get(self, "project_vpc_id")
|
|
256
257
|
|
|
257
258
|
@project_vpc_id.setter
|
|
258
|
-
def project_vpc_id(self, value: Optional[pulumi.Input[str]]):
|
|
259
|
+
def project_vpc_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
259
260
|
pulumi.set(self, "project_vpc_id", value)
|
|
260
261
|
|
|
261
262
|
@property
|
|
@@ -272,14 +273,14 @@ class KafkaArgs:
|
|
|
272
273
|
|
|
273
274
|
@property
|
|
274
275
|
@pulumi.getter(name="staticIps")
|
|
275
|
-
def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
276
|
+
def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
276
277
|
"""
|
|
277
278
|
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
|
|
278
279
|
"""
|
|
279
280
|
return pulumi.get(self, "static_ips")
|
|
280
281
|
|
|
281
282
|
@static_ips.setter
|
|
282
|
-
def static_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
283
|
+
def static_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
283
284
|
pulumi.set(self, "static_ips", value)
|
|
284
285
|
|
|
285
286
|
@property
|
|
@@ -308,82 +309,81 @@ class KafkaArgs:
|
|
|
308
309
|
|
|
309
310
|
@property
|
|
310
311
|
@pulumi.getter(name="terminationProtection")
|
|
311
|
-
def termination_protection(self) -> Optional[pulumi.Input[bool]]:
|
|
312
|
+
def termination_protection(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
312
313
|
"""
|
|
313
314
|
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.
|
|
314
315
|
"""
|
|
315
316
|
return pulumi.get(self, "termination_protection")
|
|
316
317
|
|
|
317
318
|
@termination_protection.setter
|
|
318
|
-
def termination_protection(self, value: Optional[pulumi.Input[bool]]):
|
|
319
|
+
def termination_protection(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
319
320
|
pulumi.set(self, "termination_protection", value)
|
|
320
321
|
|
|
321
322
|
|
|
322
323
|
@pulumi.input_type
|
|
323
324
|
class _KafkaState:
|
|
324
325
|
def __init__(__self__, *,
|
|
325
|
-
additional_disk_space: Optional[pulumi.Input[str]] = None,
|
|
326
|
-
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
326
|
+
additional_disk_space: Optional[pulumi.Input[builtins.str]] = None,
|
|
327
|
+
cloud_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
327
328
|
components: Optional[pulumi.Input[Sequence[pulumi.Input['KafkaComponentArgs']]]] = None,
|
|
328
|
-
default_acl: Optional[pulumi.Input[bool]] = None,
|
|
329
|
-
disk_space: Optional[pulumi.Input[str]] = None,
|
|
330
|
-
disk_space_cap: Optional[pulumi.Input[str]] = None,
|
|
331
|
-
disk_space_default: Optional[pulumi.Input[str]] = None,
|
|
332
|
-
disk_space_step: Optional[pulumi.Input[str]] = None,
|
|
333
|
-
disk_space_used: Optional[pulumi.Input[str]] = None,
|
|
329
|
+
default_acl: Optional[pulumi.Input[builtins.bool]] = None,
|
|
330
|
+
disk_space: Optional[pulumi.Input[builtins.str]] = None,
|
|
331
|
+
disk_space_cap: Optional[pulumi.Input[builtins.str]] = None,
|
|
332
|
+
disk_space_default: Optional[pulumi.Input[builtins.str]] = None,
|
|
333
|
+
disk_space_step: Optional[pulumi.Input[builtins.str]] = None,
|
|
334
|
+
disk_space_used: Optional[pulumi.Input[builtins.str]] = None,
|
|
334
335
|
kafka_user_config: Optional[pulumi.Input['KafkaKafkaUserConfigArgs']] = None,
|
|
335
336
|
kafkas: Optional[pulumi.Input[Sequence[pulumi.Input['KafkaKafkaArgs']]]] = None,
|
|
336
|
-
karapace: Optional[pulumi.Input[bool]] = None,
|
|
337
|
-
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
338
|
-
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
339
|
-
plan: Optional[pulumi.Input[str]] = None,
|
|
340
|
-
project: Optional[pulumi.Input[str]] = None,
|
|
341
|
-
project_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
342
|
-
service_host: Optional[pulumi.Input[str]] = None,
|
|
337
|
+
karapace: Optional[pulumi.Input[builtins.bool]] = None,
|
|
338
|
+
maintenance_window_dow: Optional[pulumi.Input[builtins.str]] = None,
|
|
339
|
+
maintenance_window_time: Optional[pulumi.Input[builtins.str]] = None,
|
|
340
|
+
plan: Optional[pulumi.Input[builtins.str]] = None,
|
|
341
|
+
project: Optional[pulumi.Input[builtins.str]] = None,
|
|
342
|
+
project_vpc_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
343
|
+
service_host: Optional[pulumi.Input[builtins.str]] = None,
|
|
343
344
|
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input['KafkaServiceIntegrationArgs']]]] = None,
|
|
344
|
-
service_name: Optional[pulumi.Input[str]] = None,
|
|
345
|
-
service_password: Optional[pulumi.Input[str]] = None,
|
|
346
|
-
service_port: Optional[pulumi.Input[int]] = None,
|
|
347
|
-
service_type: Optional[pulumi.Input[str]] = None,
|
|
348
|
-
service_uri: Optional[pulumi.Input[str]] = None,
|
|
349
|
-
service_username: Optional[pulumi.Input[str]] = None,
|
|
350
|
-
state: Optional[pulumi.Input[str]] = None,
|
|
351
|
-
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
345
|
+
service_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
346
|
+
service_password: Optional[pulumi.Input[builtins.str]] = None,
|
|
347
|
+
service_port: Optional[pulumi.Input[builtins.int]] = None,
|
|
348
|
+
service_type: Optional[pulumi.Input[builtins.str]] = None,
|
|
349
|
+
service_uri: Optional[pulumi.Input[builtins.str]] = None,
|
|
350
|
+
service_username: Optional[pulumi.Input[builtins.str]] = None,
|
|
351
|
+
state: Optional[pulumi.Input[builtins.str]] = None,
|
|
352
|
+
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
352
353
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input['KafkaTagArgs']]]] = None,
|
|
353
354
|
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input['KafkaTechEmailArgs']]]] = None,
|
|
354
|
-
termination_protection: Optional[pulumi.Input[bool]] = None):
|
|
355
|
+
termination_protection: Optional[pulumi.Input[builtins.bool]] = None):
|
|
355
356
|
"""
|
|
356
357
|
Input properties used for looking up and filtering Kafka resources.
|
|
357
|
-
:param pulumi.Input[str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services
|
|
358
|
-
:param pulumi.Input[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.
|
|
358
|
+
: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.
|
|
359
|
+
: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.
|
|
359
360
|
:param pulumi.Input[Sequence[pulumi.Input['KafkaComponentArgs']]] components: Service component information objects
|
|
360
|
-
:param pulumi.Input[bool] default_acl: Create a default wildcard Kafka ACL.
|
|
361
|
-
:param pulumi.Input[str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
362
|
-
:param pulumi.Input[str] disk_space_cap: The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
363
|
-
:param pulumi.Input[str] disk_space_default: The default disk space of the service, possible values depend on the service type, the cloud provider and the project. Its also the minimum value for `disk_space`
|
|
364
|
-
:param pulumi.Input[str] disk_space_step: The default disk space step of the service, possible values depend on the service type, the cloud provider and the project. `disk_space` needs to increment from `disk_space_default` by increments of this size.
|
|
365
|
-
:param pulumi.Input[str] disk_space_used: Disk space that service is currently using
|
|
361
|
+
:param pulumi.Input[builtins.bool] default_acl: Create a default wildcard Kafka ACL.
|
|
362
|
+
: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.
|
|
363
|
+
: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.
|
|
364
|
+
: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`
|
|
365
|
+
: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.
|
|
366
|
+
:param pulumi.Input[builtins.str] disk_space_used: Disk space that service is currently using
|
|
366
367
|
:param pulumi.Input['KafkaKafkaUserConfigArgs'] kafka_user_config: Kafka user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
367
368
|
:param pulumi.Input[Sequence[pulumi.Input['KafkaKafkaArgs']]] kafkas: Kafka server connection details.
|
|
368
|
-
:param pulumi.Input[bool] karapace: Switch the service to use [Karapace](https://aiven.io/docs/products/kafka/karapace) for schema registry and REST proxy.
|
|
369
|
-
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
370
|
-
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
371
|
-
:param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
372
|
-
:param pulumi.Input[str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
373
|
-
:param pulumi.Input[str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
374
|
-
:param pulumi.Input[str] service_host: The hostname of the service.
|
|
369
|
+
:param pulumi.Input[builtins.bool] karapace: Switch the service to use [Karapace](https://aiven.io/docs/products/kafka/karapace) for schema registry and REST proxy.
|
|
370
|
+
:param pulumi.Input[builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
371
|
+
:param pulumi.Input[builtins.str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
372
|
+
: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).
|
|
373
|
+
: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.
|
|
374
|
+
:param pulumi.Input[builtins.str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
375
|
+
:param pulumi.Input[builtins.str] service_host: The hostname of the service.
|
|
375
376
|
:param pulumi.Input[Sequence[pulumi.Input['KafkaServiceIntegrationArgs']]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
376
|
-
:param pulumi.Input[str] service_name: Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
|
|
377
|
-
:param pulumi.Input[str] service_password: Password used for connecting to the service, if applicable
|
|
378
|
-
:param pulumi.Input[int] service_port: The port of the service
|
|
379
|
-
:param pulumi.Input[str] service_type: Aiven internal service type code
|
|
380
|
-
:param pulumi.Input[str] service_uri: URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
381
|
-
:param pulumi.Input[str] service_username: Username used for connecting to the service, if applicable
|
|
382
|
-
:param pulumi.Input[str]
|
|
383
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
377
|
+
: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.
|
|
378
|
+
:param pulumi.Input[builtins.str] service_password: Password used for connecting to the service, if applicable
|
|
379
|
+
:param pulumi.Input[builtins.int] service_port: The port of the service
|
|
380
|
+
:param pulumi.Input[builtins.str] service_type: Aiven internal service type code
|
|
381
|
+
:param pulumi.Input[builtins.str] service_uri: URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
382
|
+
:param pulumi.Input[builtins.str] service_username: Username used for connecting to the service, if applicable
|
|
383
|
+
: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
|
|
384
384
|
:param pulumi.Input[Sequence[pulumi.Input['KafkaTagArgs']]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
385
385
|
:param pulumi.Input[Sequence[pulumi.Input['KafkaTechEmailArgs']]] 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.
|
|
386
|
-
:param pulumi.Input[bool] termination_protection: Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
|
|
386
|
+
: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.
|
|
387
387
|
"""
|
|
388
388
|
if additional_disk_space is not None:
|
|
389
389
|
pulumi.set(__self__, "additional_disk_space", additional_disk_space)
|
|
@@ -457,26 +457,26 @@ class _KafkaState:
|
|
|
457
457
|
|
|
458
458
|
@property
|
|
459
459
|
@pulumi.getter(name="additionalDiskSpace")
|
|
460
|
-
def additional_disk_space(self) -> Optional[pulumi.Input[str]]:
|
|
460
|
+
def additional_disk_space(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
461
461
|
"""
|
|
462
|
-
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
|
|
462
|
+
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.
|
|
463
463
|
"""
|
|
464
464
|
return pulumi.get(self, "additional_disk_space")
|
|
465
465
|
|
|
466
466
|
@additional_disk_space.setter
|
|
467
|
-
def additional_disk_space(self, value: Optional[pulumi.Input[str]]):
|
|
467
|
+
def additional_disk_space(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
468
468
|
pulumi.set(self, "additional_disk_space", value)
|
|
469
469
|
|
|
470
470
|
@property
|
|
471
471
|
@pulumi.getter(name="cloudName")
|
|
472
|
-
def cloud_name(self) -> Optional[pulumi.Input[str]]:
|
|
472
|
+
def cloud_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
473
473
|
"""
|
|
474
474
|
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.
|
|
475
475
|
"""
|
|
476
476
|
return pulumi.get(self, "cloud_name")
|
|
477
477
|
|
|
478
478
|
@cloud_name.setter
|
|
479
|
-
def cloud_name(self, value: Optional[pulumi.Input[str]]):
|
|
479
|
+
def cloud_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
480
480
|
pulumi.set(self, "cloud_name", value)
|
|
481
481
|
|
|
482
482
|
@property
|
|
@@ -493,76 +493,76 @@ class _KafkaState:
|
|
|
493
493
|
|
|
494
494
|
@property
|
|
495
495
|
@pulumi.getter(name="defaultAcl")
|
|
496
|
-
def default_acl(self) -> Optional[pulumi.Input[bool]]:
|
|
496
|
+
def default_acl(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
497
497
|
"""
|
|
498
498
|
Create a default wildcard Kafka ACL.
|
|
499
499
|
"""
|
|
500
500
|
return pulumi.get(self, "default_acl")
|
|
501
501
|
|
|
502
502
|
@default_acl.setter
|
|
503
|
-
def default_acl(self, value: Optional[pulumi.Input[bool]]):
|
|
503
|
+
def default_acl(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
504
504
|
pulumi.set(self, "default_acl", value)
|
|
505
505
|
|
|
506
506
|
@property
|
|
507
507
|
@pulumi.getter(name="diskSpace")
|
|
508
508
|
@_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.""")
|
|
509
|
-
def disk_space(self) -> Optional[pulumi.Input[str]]:
|
|
509
|
+
def disk_space(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
510
510
|
"""
|
|
511
511
|
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
512
512
|
"""
|
|
513
513
|
return pulumi.get(self, "disk_space")
|
|
514
514
|
|
|
515
515
|
@disk_space.setter
|
|
516
|
-
def disk_space(self, value: Optional[pulumi.Input[str]]):
|
|
516
|
+
def disk_space(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
517
517
|
pulumi.set(self, "disk_space", value)
|
|
518
518
|
|
|
519
519
|
@property
|
|
520
520
|
@pulumi.getter(name="diskSpaceCap")
|
|
521
|
-
def disk_space_cap(self) -> Optional[pulumi.Input[str]]:
|
|
521
|
+
def disk_space_cap(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
522
522
|
"""
|
|
523
523
|
The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
524
524
|
"""
|
|
525
525
|
return pulumi.get(self, "disk_space_cap")
|
|
526
526
|
|
|
527
527
|
@disk_space_cap.setter
|
|
528
|
-
def disk_space_cap(self, value: Optional[pulumi.Input[str]]):
|
|
528
|
+
def disk_space_cap(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
529
529
|
pulumi.set(self, "disk_space_cap", value)
|
|
530
530
|
|
|
531
531
|
@property
|
|
532
532
|
@pulumi.getter(name="diskSpaceDefault")
|
|
533
|
-
def disk_space_default(self) -> Optional[pulumi.Input[str]]:
|
|
533
|
+
def disk_space_default(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
534
534
|
"""
|
|
535
535
|
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`
|
|
536
536
|
"""
|
|
537
537
|
return pulumi.get(self, "disk_space_default")
|
|
538
538
|
|
|
539
539
|
@disk_space_default.setter
|
|
540
|
-
def disk_space_default(self, value: Optional[pulumi.Input[str]]):
|
|
540
|
+
def disk_space_default(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
541
541
|
pulumi.set(self, "disk_space_default", value)
|
|
542
542
|
|
|
543
543
|
@property
|
|
544
544
|
@pulumi.getter(name="diskSpaceStep")
|
|
545
|
-
def disk_space_step(self) -> Optional[pulumi.Input[str]]:
|
|
545
|
+
def disk_space_step(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
546
546
|
"""
|
|
547
547
|
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.
|
|
548
548
|
"""
|
|
549
549
|
return pulumi.get(self, "disk_space_step")
|
|
550
550
|
|
|
551
551
|
@disk_space_step.setter
|
|
552
|
-
def disk_space_step(self, value: Optional[pulumi.Input[str]]):
|
|
552
|
+
def disk_space_step(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
553
553
|
pulumi.set(self, "disk_space_step", value)
|
|
554
554
|
|
|
555
555
|
@property
|
|
556
556
|
@pulumi.getter(name="diskSpaceUsed")
|
|
557
557
|
@_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.""")
|
|
558
|
-
def disk_space_used(self) -> Optional[pulumi.Input[str]]:
|
|
558
|
+
def disk_space_used(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
559
559
|
"""
|
|
560
560
|
Disk space that service is currently using
|
|
561
561
|
"""
|
|
562
562
|
return pulumi.get(self, "disk_space_used")
|
|
563
563
|
|
|
564
564
|
@disk_space_used.setter
|
|
565
|
-
def disk_space_used(self, value: Optional[pulumi.Input[str]]):
|
|
565
|
+
def disk_space_used(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
566
566
|
pulumi.set(self, "disk_space_used", value)
|
|
567
567
|
|
|
568
568
|
@property
|
|
@@ -592,86 +592,86 @@ class _KafkaState:
|
|
|
592
592
|
@property
|
|
593
593
|
@pulumi.getter
|
|
594
594
|
@_utilities.deprecated("""Usage of this field is discouraged.""")
|
|
595
|
-
def karapace(self) -> Optional[pulumi.Input[bool]]:
|
|
595
|
+
def karapace(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
596
596
|
"""
|
|
597
597
|
Switch the service to use [Karapace](https://aiven.io/docs/products/kafka/karapace) for schema registry and REST proxy.
|
|
598
598
|
"""
|
|
599
599
|
return pulumi.get(self, "karapace")
|
|
600
600
|
|
|
601
601
|
@karapace.setter
|
|
602
|
-
def karapace(self, value: Optional[pulumi.Input[bool]]):
|
|
602
|
+
def karapace(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
603
603
|
pulumi.set(self, "karapace", value)
|
|
604
604
|
|
|
605
605
|
@property
|
|
606
606
|
@pulumi.getter(name="maintenanceWindowDow")
|
|
607
|
-
def maintenance_window_dow(self) -> Optional[pulumi.Input[str]]:
|
|
607
|
+
def maintenance_window_dow(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
608
608
|
"""
|
|
609
609
|
Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
610
610
|
"""
|
|
611
611
|
return pulumi.get(self, "maintenance_window_dow")
|
|
612
612
|
|
|
613
613
|
@maintenance_window_dow.setter
|
|
614
|
-
def maintenance_window_dow(self, value: Optional[pulumi.Input[str]]):
|
|
614
|
+
def maintenance_window_dow(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
615
615
|
pulumi.set(self, "maintenance_window_dow", value)
|
|
616
616
|
|
|
617
617
|
@property
|
|
618
618
|
@pulumi.getter(name="maintenanceWindowTime")
|
|
619
|
-
def maintenance_window_time(self) -> Optional[pulumi.Input[str]]:
|
|
619
|
+
def maintenance_window_time(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
620
620
|
"""
|
|
621
621
|
Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
622
622
|
"""
|
|
623
623
|
return pulumi.get(self, "maintenance_window_time")
|
|
624
624
|
|
|
625
625
|
@maintenance_window_time.setter
|
|
626
|
-
def maintenance_window_time(self, value: Optional[pulumi.Input[str]]):
|
|
626
|
+
def maintenance_window_time(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
627
627
|
pulumi.set(self, "maintenance_window_time", value)
|
|
628
628
|
|
|
629
629
|
@property
|
|
630
630
|
@pulumi.getter
|
|
631
|
-
def plan(self) -> Optional[pulumi.Input[str]]:
|
|
631
|
+
def plan(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
632
632
|
"""
|
|
633
633
|
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).
|
|
634
634
|
"""
|
|
635
635
|
return pulumi.get(self, "plan")
|
|
636
636
|
|
|
637
637
|
@plan.setter
|
|
638
|
-
def plan(self, value: Optional[pulumi.Input[str]]):
|
|
638
|
+
def plan(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
639
639
|
pulumi.set(self, "plan", value)
|
|
640
640
|
|
|
641
641
|
@property
|
|
642
642
|
@pulumi.getter
|
|
643
|
-
def project(self) -> Optional[pulumi.Input[str]]:
|
|
643
|
+
def project(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
644
644
|
"""
|
|
645
645
|
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.
|
|
646
646
|
"""
|
|
647
647
|
return pulumi.get(self, "project")
|
|
648
648
|
|
|
649
649
|
@project.setter
|
|
650
|
-
def project(self, value: Optional[pulumi.Input[str]]):
|
|
650
|
+
def project(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
651
651
|
pulumi.set(self, "project", value)
|
|
652
652
|
|
|
653
653
|
@property
|
|
654
654
|
@pulumi.getter(name="projectVpcId")
|
|
655
|
-
def project_vpc_id(self) -> Optional[pulumi.Input[str]]:
|
|
655
|
+
def project_vpc_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
656
656
|
"""
|
|
657
657
|
Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
658
658
|
"""
|
|
659
659
|
return pulumi.get(self, "project_vpc_id")
|
|
660
660
|
|
|
661
661
|
@project_vpc_id.setter
|
|
662
|
-
def project_vpc_id(self, value: Optional[pulumi.Input[str]]):
|
|
662
|
+
def project_vpc_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
663
663
|
pulumi.set(self, "project_vpc_id", value)
|
|
664
664
|
|
|
665
665
|
@property
|
|
666
666
|
@pulumi.getter(name="serviceHost")
|
|
667
|
-
def service_host(self) -> Optional[pulumi.Input[str]]:
|
|
667
|
+
def service_host(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
668
668
|
"""
|
|
669
669
|
The hostname of the service.
|
|
670
670
|
"""
|
|
671
671
|
return pulumi.get(self, "service_host")
|
|
672
672
|
|
|
673
673
|
@service_host.setter
|
|
674
|
-
def service_host(self, value: Optional[pulumi.Input[str]]):
|
|
674
|
+
def service_host(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
675
675
|
pulumi.set(self, "service_host", value)
|
|
676
676
|
|
|
677
677
|
@property
|
|
@@ -688,98 +688,95 @@ class _KafkaState:
|
|
|
688
688
|
|
|
689
689
|
@property
|
|
690
690
|
@pulumi.getter(name="serviceName")
|
|
691
|
-
def service_name(self) -> Optional[pulumi.Input[str]]:
|
|
691
|
+
def service_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
692
692
|
"""
|
|
693
693
|
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.
|
|
694
694
|
"""
|
|
695
695
|
return pulumi.get(self, "service_name")
|
|
696
696
|
|
|
697
697
|
@service_name.setter
|
|
698
|
-
def service_name(self, value: Optional[pulumi.Input[str]]):
|
|
698
|
+
def service_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
699
699
|
pulumi.set(self, "service_name", value)
|
|
700
700
|
|
|
701
701
|
@property
|
|
702
702
|
@pulumi.getter(name="servicePassword")
|
|
703
|
-
def service_password(self) -> Optional[pulumi.Input[str]]:
|
|
703
|
+
def service_password(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
704
704
|
"""
|
|
705
705
|
Password used for connecting to the service, if applicable
|
|
706
706
|
"""
|
|
707
707
|
return pulumi.get(self, "service_password")
|
|
708
708
|
|
|
709
709
|
@service_password.setter
|
|
710
|
-
def service_password(self, value: Optional[pulumi.Input[str]]):
|
|
710
|
+
def service_password(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
711
711
|
pulumi.set(self, "service_password", value)
|
|
712
712
|
|
|
713
713
|
@property
|
|
714
714
|
@pulumi.getter(name="servicePort")
|
|
715
|
-
def service_port(self) -> Optional[pulumi.Input[int]]:
|
|
715
|
+
def service_port(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
716
716
|
"""
|
|
717
717
|
The port of the service
|
|
718
718
|
"""
|
|
719
719
|
return pulumi.get(self, "service_port")
|
|
720
720
|
|
|
721
721
|
@service_port.setter
|
|
722
|
-
def service_port(self, value: Optional[pulumi.Input[int]]):
|
|
722
|
+
def service_port(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
723
723
|
pulumi.set(self, "service_port", value)
|
|
724
724
|
|
|
725
725
|
@property
|
|
726
726
|
@pulumi.getter(name="serviceType")
|
|
727
|
-
def service_type(self) -> Optional[pulumi.Input[str]]:
|
|
727
|
+
def service_type(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
728
728
|
"""
|
|
729
729
|
Aiven internal service type code
|
|
730
730
|
"""
|
|
731
731
|
return pulumi.get(self, "service_type")
|
|
732
732
|
|
|
733
733
|
@service_type.setter
|
|
734
|
-
def service_type(self, value: Optional[pulumi.Input[str]]):
|
|
734
|
+
def service_type(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
735
735
|
pulumi.set(self, "service_type", value)
|
|
736
736
|
|
|
737
737
|
@property
|
|
738
738
|
@pulumi.getter(name="serviceUri")
|
|
739
|
-
def service_uri(self) -> Optional[pulumi.Input[str]]:
|
|
739
|
+
def service_uri(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
740
740
|
"""
|
|
741
741
|
URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
742
742
|
"""
|
|
743
743
|
return pulumi.get(self, "service_uri")
|
|
744
744
|
|
|
745
745
|
@service_uri.setter
|
|
746
|
-
def service_uri(self, value: Optional[pulumi.Input[str]]):
|
|
746
|
+
def service_uri(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
747
747
|
pulumi.set(self, "service_uri", value)
|
|
748
748
|
|
|
749
749
|
@property
|
|
750
750
|
@pulumi.getter(name="serviceUsername")
|
|
751
|
-
def service_username(self) -> Optional[pulumi.Input[str]]:
|
|
751
|
+
def service_username(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
752
752
|
"""
|
|
753
753
|
Username used for connecting to the service, if applicable
|
|
754
754
|
"""
|
|
755
755
|
return pulumi.get(self, "service_username")
|
|
756
756
|
|
|
757
757
|
@service_username.setter
|
|
758
|
-
def service_username(self, value: Optional[pulumi.Input[str]]):
|
|
758
|
+
def service_username(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
759
759
|
pulumi.set(self, "service_username", value)
|
|
760
760
|
|
|
761
761
|
@property
|
|
762
762
|
@pulumi.getter
|
|
763
|
-
def state(self) -> Optional[pulumi.Input[str]]:
|
|
764
|
-
"""
|
|
765
|
-
Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
766
|
-
"""
|
|
763
|
+
def state(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
767
764
|
return pulumi.get(self, "state")
|
|
768
765
|
|
|
769
766
|
@state.setter
|
|
770
|
-
def state(self, value: Optional[pulumi.Input[str]]):
|
|
767
|
+
def state(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
771
768
|
pulumi.set(self, "state", value)
|
|
772
769
|
|
|
773
770
|
@property
|
|
774
771
|
@pulumi.getter(name="staticIps")
|
|
775
|
-
def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
772
|
+
def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
776
773
|
"""
|
|
777
774
|
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
|
|
778
775
|
"""
|
|
779
776
|
return pulumi.get(self, "static_ips")
|
|
780
777
|
|
|
781
778
|
@static_ips.setter
|
|
782
|
-
def static_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
779
|
+
def static_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
783
780
|
pulumi.set(self, "static_ips", value)
|
|
784
781
|
|
|
785
782
|
@property
|
|
@@ -808,14 +805,14 @@ class _KafkaState:
|
|
|
808
805
|
|
|
809
806
|
@property
|
|
810
807
|
@pulumi.getter(name="terminationProtection")
|
|
811
|
-
def termination_protection(self) -> Optional[pulumi.Input[bool]]:
|
|
808
|
+
def termination_protection(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
812
809
|
"""
|
|
813
810
|
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.
|
|
814
811
|
"""
|
|
815
812
|
return pulumi.get(self, "termination_protection")
|
|
816
813
|
|
|
817
814
|
@termination_protection.setter
|
|
818
|
-
def termination_protection(self, value: Optional[pulumi.Input[bool]]):
|
|
815
|
+
def termination_protection(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
819
816
|
pulumi.set(self, "termination_protection", value)
|
|
820
817
|
|
|
821
818
|
|
|
@@ -824,24 +821,24 @@ class Kafka(pulumi.CustomResource):
|
|
|
824
821
|
def __init__(__self__,
|
|
825
822
|
resource_name: str,
|
|
826
823
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
827
|
-
additional_disk_space: Optional[pulumi.Input[str]] = None,
|
|
828
|
-
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
829
|
-
default_acl: Optional[pulumi.Input[bool]] = None,
|
|
830
|
-
disk_space: Optional[pulumi.Input[str]] = None,
|
|
824
|
+
additional_disk_space: Optional[pulumi.Input[builtins.str]] = None,
|
|
825
|
+
cloud_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
826
|
+
default_acl: Optional[pulumi.Input[builtins.bool]] = None,
|
|
827
|
+
disk_space: Optional[pulumi.Input[builtins.str]] = None,
|
|
831
828
|
kafka_user_config: Optional[pulumi.Input[Union['KafkaKafkaUserConfigArgs', 'KafkaKafkaUserConfigArgsDict']]] = None,
|
|
832
829
|
kafkas: Optional[pulumi.Input[Sequence[pulumi.Input[Union['KafkaKafkaArgs', 'KafkaKafkaArgsDict']]]]] = None,
|
|
833
|
-
karapace: Optional[pulumi.Input[bool]] = None,
|
|
834
|
-
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
835
|
-
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
836
|
-
plan: Optional[pulumi.Input[str]] = None,
|
|
837
|
-
project: Optional[pulumi.Input[str]] = None,
|
|
838
|
-
project_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
830
|
+
karapace: Optional[pulumi.Input[builtins.bool]] = None,
|
|
831
|
+
maintenance_window_dow: Optional[pulumi.Input[builtins.str]] = None,
|
|
832
|
+
maintenance_window_time: Optional[pulumi.Input[builtins.str]] = None,
|
|
833
|
+
plan: Optional[pulumi.Input[builtins.str]] = None,
|
|
834
|
+
project: Optional[pulumi.Input[builtins.str]] = None,
|
|
835
|
+
project_vpc_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
839
836
|
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['KafkaServiceIntegrationArgs', 'KafkaServiceIntegrationArgsDict']]]]] = None,
|
|
840
|
-
service_name: Optional[pulumi.Input[str]] = None,
|
|
841
|
-
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
837
|
+
service_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
838
|
+
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
842
839
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['KafkaTagArgs', 'KafkaTagArgsDict']]]]] = None,
|
|
843
840
|
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['KafkaTechEmailArgs', 'KafkaTechEmailArgsDict']]]]] = None,
|
|
844
|
-
termination_protection: Optional[pulumi.Input[bool]] = None,
|
|
841
|
+
termination_protection: Optional[pulumi.Input[builtins.bool]] = None,
|
|
845
842
|
__props__=None):
|
|
846
843
|
"""
|
|
847
844
|
Creates and manages an [Aiven for Apache Kafka®](https://aiven.io/docs/products/kafka) service.
|
|
@@ -883,24 +880,24 @@ class Kafka(pulumi.CustomResource):
|
|
|
883
880
|
|
|
884
881
|
:param str resource_name: The name of the resource.
|
|
885
882
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
886
|
-
:param pulumi.Input[str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services
|
|
887
|
-
:param pulumi.Input[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.
|
|
888
|
-
:param pulumi.Input[bool] default_acl: Create a default wildcard Kafka ACL.
|
|
889
|
-
:param pulumi.Input[str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
883
|
+
: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.
|
|
884
|
+
: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.
|
|
885
|
+
:param pulumi.Input[builtins.bool] default_acl: Create a default wildcard Kafka ACL.
|
|
886
|
+
: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.
|
|
890
887
|
:param pulumi.Input[Union['KafkaKafkaUserConfigArgs', 'KafkaKafkaUserConfigArgsDict']] kafka_user_config: Kafka user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
891
888
|
:param pulumi.Input[Sequence[pulumi.Input[Union['KafkaKafkaArgs', 'KafkaKafkaArgsDict']]]] kafkas: Kafka server connection details.
|
|
892
|
-
:param pulumi.Input[bool] karapace: Switch the service to use [Karapace](https://aiven.io/docs/products/kafka/karapace) for schema registry and REST proxy.
|
|
893
|
-
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
894
|
-
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
895
|
-
:param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
896
|
-
:param pulumi.Input[str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
897
|
-
:param pulumi.Input[str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
889
|
+
:param pulumi.Input[builtins.bool] karapace: Switch the service to use [Karapace](https://aiven.io/docs/products/kafka/karapace) for schema registry and REST proxy.
|
|
890
|
+
:param pulumi.Input[builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
891
|
+
:param pulumi.Input[builtins.str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
892
|
+
: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).
|
|
893
|
+
: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.
|
|
894
|
+
:param pulumi.Input[builtins.str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
898
895
|
:param pulumi.Input[Sequence[pulumi.Input[Union['KafkaServiceIntegrationArgs', 'KafkaServiceIntegrationArgsDict']]]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
899
|
-
:param pulumi.Input[str] service_name: Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
|
|
900
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
896
|
+
: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.
|
|
897
|
+
: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
|
|
901
898
|
:param pulumi.Input[Sequence[pulumi.Input[Union['KafkaTagArgs', 'KafkaTagArgsDict']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
902
899
|
:param pulumi.Input[Sequence[pulumi.Input[Union['KafkaTechEmailArgs', 'KafkaTechEmailArgsDict']]]] 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.
|
|
903
|
-
:param pulumi.Input[bool] termination_protection: Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
|
|
900
|
+
: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.
|
|
904
901
|
"""
|
|
905
902
|
...
|
|
906
903
|
@overload
|
|
@@ -961,24 +958,24 @@ class Kafka(pulumi.CustomResource):
|
|
|
961
958
|
def _internal_init(__self__,
|
|
962
959
|
resource_name: str,
|
|
963
960
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
964
|
-
additional_disk_space: Optional[pulumi.Input[str]] = None,
|
|
965
|
-
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
966
|
-
default_acl: Optional[pulumi.Input[bool]] = None,
|
|
967
|
-
disk_space: Optional[pulumi.Input[str]] = None,
|
|
961
|
+
additional_disk_space: Optional[pulumi.Input[builtins.str]] = None,
|
|
962
|
+
cloud_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
963
|
+
default_acl: Optional[pulumi.Input[builtins.bool]] = None,
|
|
964
|
+
disk_space: Optional[pulumi.Input[builtins.str]] = None,
|
|
968
965
|
kafka_user_config: Optional[pulumi.Input[Union['KafkaKafkaUserConfigArgs', 'KafkaKafkaUserConfigArgsDict']]] = None,
|
|
969
966
|
kafkas: Optional[pulumi.Input[Sequence[pulumi.Input[Union['KafkaKafkaArgs', 'KafkaKafkaArgsDict']]]]] = None,
|
|
970
|
-
karapace: Optional[pulumi.Input[bool]] = None,
|
|
971
|
-
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
972
|
-
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
973
|
-
plan: Optional[pulumi.Input[str]] = None,
|
|
974
|
-
project: Optional[pulumi.Input[str]] = None,
|
|
975
|
-
project_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
967
|
+
karapace: Optional[pulumi.Input[builtins.bool]] = None,
|
|
968
|
+
maintenance_window_dow: Optional[pulumi.Input[builtins.str]] = None,
|
|
969
|
+
maintenance_window_time: Optional[pulumi.Input[builtins.str]] = None,
|
|
970
|
+
plan: Optional[pulumi.Input[builtins.str]] = None,
|
|
971
|
+
project: Optional[pulumi.Input[builtins.str]] = None,
|
|
972
|
+
project_vpc_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
976
973
|
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['KafkaServiceIntegrationArgs', 'KafkaServiceIntegrationArgsDict']]]]] = None,
|
|
977
|
-
service_name: Optional[pulumi.Input[str]] = None,
|
|
978
|
-
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
974
|
+
service_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
975
|
+
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
979
976
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['KafkaTagArgs', 'KafkaTagArgsDict']]]]] = None,
|
|
980
977
|
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['KafkaTechEmailArgs', 'KafkaTechEmailArgsDict']]]]] = None,
|
|
981
|
-
termination_protection: Optional[pulumi.Input[bool]] = None,
|
|
978
|
+
termination_protection: Optional[pulumi.Input[builtins.bool]] = None,
|
|
982
979
|
__props__=None):
|
|
983
980
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
984
981
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -1036,36 +1033,36 @@ class Kafka(pulumi.CustomResource):
|
|
|
1036
1033
|
def get(resource_name: str,
|
|
1037
1034
|
id: pulumi.Input[str],
|
|
1038
1035
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
1039
|
-
additional_disk_space: Optional[pulumi.Input[str]] = None,
|
|
1040
|
-
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
1036
|
+
additional_disk_space: Optional[pulumi.Input[builtins.str]] = None,
|
|
1037
|
+
cloud_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
1041
1038
|
components: Optional[pulumi.Input[Sequence[pulumi.Input[Union['KafkaComponentArgs', 'KafkaComponentArgsDict']]]]] = None,
|
|
1042
|
-
default_acl: Optional[pulumi.Input[bool]] = None,
|
|
1043
|
-
disk_space: Optional[pulumi.Input[str]] = None,
|
|
1044
|
-
disk_space_cap: Optional[pulumi.Input[str]] = None,
|
|
1045
|
-
disk_space_default: Optional[pulumi.Input[str]] = None,
|
|
1046
|
-
disk_space_step: Optional[pulumi.Input[str]] = None,
|
|
1047
|
-
disk_space_used: Optional[pulumi.Input[str]] = None,
|
|
1039
|
+
default_acl: Optional[pulumi.Input[builtins.bool]] = None,
|
|
1040
|
+
disk_space: Optional[pulumi.Input[builtins.str]] = None,
|
|
1041
|
+
disk_space_cap: Optional[pulumi.Input[builtins.str]] = None,
|
|
1042
|
+
disk_space_default: Optional[pulumi.Input[builtins.str]] = None,
|
|
1043
|
+
disk_space_step: Optional[pulumi.Input[builtins.str]] = None,
|
|
1044
|
+
disk_space_used: Optional[pulumi.Input[builtins.str]] = None,
|
|
1048
1045
|
kafka_user_config: Optional[pulumi.Input[Union['KafkaKafkaUserConfigArgs', 'KafkaKafkaUserConfigArgsDict']]] = None,
|
|
1049
1046
|
kafkas: Optional[pulumi.Input[Sequence[pulumi.Input[Union['KafkaKafkaArgs', 'KafkaKafkaArgsDict']]]]] = None,
|
|
1050
|
-
karapace: Optional[pulumi.Input[bool]] = None,
|
|
1051
|
-
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
1052
|
-
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
1053
|
-
plan: Optional[pulumi.Input[str]] = None,
|
|
1054
|
-
project: Optional[pulumi.Input[str]] = None,
|
|
1055
|
-
project_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
1056
|
-
service_host: Optional[pulumi.Input[str]] = None,
|
|
1047
|
+
karapace: Optional[pulumi.Input[builtins.bool]] = None,
|
|
1048
|
+
maintenance_window_dow: Optional[pulumi.Input[builtins.str]] = None,
|
|
1049
|
+
maintenance_window_time: Optional[pulumi.Input[builtins.str]] = None,
|
|
1050
|
+
plan: Optional[pulumi.Input[builtins.str]] = None,
|
|
1051
|
+
project: Optional[pulumi.Input[builtins.str]] = None,
|
|
1052
|
+
project_vpc_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
1053
|
+
service_host: Optional[pulumi.Input[builtins.str]] = None,
|
|
1057
1054
|
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['KafkaServiceIntegrationArgs', 'KafkaServiceIntegrationArgsDict']]]]] = None,
|
|
1058
|
-
service_name: Optional[pulumi.Input[str]] = None,
|
|
1059
|
-
service_password: Optional[pulumi.Input[str]] = None,
|
|
1060
|
-
service_port: Optional[pulumi.Input[int]] = None,
|
|
1061
|
-
service_type: Optional[pulumi.Input[str]] = None,
|
|
1062
|
-
service_uri: Optional[pulumi.Input[str]] = None,
|
|
1063
|
-
service_username: Optional[pulumi.Input[str]] = None,
|
|
1064
|
-
state: Optional[pulumi.Input[str]] = None,
|
|
1065
|
-
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1055
|
+
service_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
1056
|
+
service_password: Optional[pulumi.Input[builtins.str]] = None,
|
|
1057
|
+
service_port: Optional[pulumi.Input[builtins.int]] = None,
|
|
1058
|
+
service_type: Optional[pulumi.Input[builtins.str]] = None,
|
|
1059
|
+
service_uri: Optional[pulumi.Input[builtins.str]] = None,
|
|
1060
|
+
service_username: Optional[pulumi.Input[builtins.str]] = None,
|
|
1061
|
+
state: Optional[pulumi.Input[builtins.str]] = None,
|
|
1062
|
+
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
1066
1063
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['KafkaTagArgs', 'KafkaTagArgsDict']]]]] = None,
|
|
1067
1064
|
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['KafkaTechEmailArgs', 'KafkaTechEmailArgsDict']]]]] = None,
|
|
1068
|
-
termination_protection: Optional[pulumi.Input[bool]] = None) -> 'Kafka':
|
|
1065
|
+
termination_protection: Optional[pulumi.Input[builtins.bool]] = None) -> 'Kafka':
|
|
1069
1066
|
"""
|
|
1070
1067
|
Get an existing Kafka resource's state with the given name, id, and optional extra
|
|
1071
1068
|
properties used to qualify the lookup.
|
|
@@ -1073,36 +1070,35 @@ class Kafka(pulumi.CustomResource):
|
|
|
1073
1070
|
:param str resource_name: The unique name of the resulting resource.
|
|
1074
1071
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
1075
1072
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
1076
|
-
:param pulumi.Input[str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services
|
|
1077
|
-
:param pulumi.Input[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.
|
|
1073
|
+
: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.
|
|
1074
|
+
: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.
|
|
1078
1075
|
:param pulumi.Input[Sequence[pulumi.Input[Union['KafkaComponentArgs', 'KafkaComponentArgsDict']]]] components: Service component information objects
|
|
1079
|
-
:param pulumi.Input[bool] default_acl: Create a default wildcard Kafka ACL.
|
|
1080
|
-
:param pulumi.Input[str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
1081
|
-
:param pulumi.Input[str] disk_space_cap: The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
1082
|
-
:param pulumi.Input[str] disk_space_default: The default disk space of the service, possible values depend on the service type, the cloud provider and the project. Its also the minimum value for `disk_space`
|
|
1083
|
-
:param pulumi.Input[str] disk_space_step: The default disk space step of the service, possible values depend on the service type, the cloud provider and the project. `disk_space` needs to increment from `disk_space_default` by increments of this size.
|
|
1084
|
-
:param pulumi.Input[str] disk_space_used: Disk space that service is currently using
|
|
1076
|
+
:param pulumi.Input[builtins.bool] default_acl: Create a default wildcard Kafka ACL.
|
|
1077
|
+
: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.
|
|
1078
|
+
: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.
|
|
1079
|
+
: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`
|
|
1080
|
+
: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.
|
|
1081
|
+
:param pulumi.Input[builtins.str] disk_space_used: Disk space that service is currently using
|
|
1085
1082
|
:param pulumi.Input[Union['KafkaKafkaUserConfigArgs', 'KafkaKafkaUserConfigArgsDict']] kafka_user_config: Kafka user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
1086
1083
|
:param pulumi.Input[Sequence[pulumi.Input[Union['KafkaKafkaArgs', 'KafkaKafkaArgsDict']]]] kafkas: Kafka server connection details.
|
|
1087
|
-
:param pulumi.Input[bool] karapace: Switch the service to use [Karapace](https://aiven.io/docs/products/kafka/karapace) for schema registry and REST proxy.
|
|
1088
|
-
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
1089
|
-
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
1090
|
-
:param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
1091
|
-
:param pulumi.Input[str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
1092
|
-
:param pulumi.Input[str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
1093
|
-
:param pulumi.Input[str] service_host: The hostname of the service.
|
|
1084
|
+
:param pulumi.Input[builtins.bool] karapace: Switch the service to use [Karapace](https://aiven.io/docs/products/kafka/karapace) for schema registry and REST proxy.
|
|
1085
|
+
:param pulumi.Input[builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
1086
|
+
:param pulumi.Input[builtins.str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
1087
|
+
: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).
|
|
1088
|
+
: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.
|
|
1089
|
+
:param pulumi.Input[builtins.str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
1090
|
+
:param pulumi.Input[builtins.str] service_host: The hostname of the service.
|
|
1094
1091
|
:param pulumi.Input[Sequence[pulumi.Input[Union['KafkaServiceIntegrationArgs', 'KafkaServiceIntegrationArgsDict']]]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
1095
|
-
:param pulumi.Input[str] service_name: Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
|
|
1096
|
-
:param pulumi.Input[str] service_password: Password used for connecting to the service, if applicable
|
|
1097
|
-
:param pulumi.Input[int] service_port: The port of the service
|
|
1098
|
-
:param pulumi.Input[str] service_type: Aiven internal service type code
|
|
1099
|
-
:param pulumi.Input[str] service_uri: URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
1100
|
-
:param pulumi.Input[str] service_username: Username used for connecting to the service, if applicable
|
|
1101
|
-
:param pulumi.Input[str]
|
|
1102
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
1092
|
+
: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.
|
|
1093
|
+
:param pulumi.Input[builtins.str] service_password: Password used for connecting to the service, if applicable
|
|
1094
|
+
:param pulumi.Input[builtins.int] service_port: The port of the service
|
|
1095
|
+
:param pulumi.Input[builtins.str] service_type: Aiven internal service type code
|
|
1096
|
+
:param pulumi.Input[builtins.str] service_uri: URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
1097
|
+
:param pulumi.Input[builtins.str] service_username: Username used for connecting to the service, if applicable
|
|
1098
|
+
: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
|
|
1103
1099
|
:param pulumi.Input[Sequence[pulumi.Input[Union['KafkaTagArgs', 'KafkaTagArgsDict']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
1104
1100
|
:param pulumi.Input[Sequence[pulumi.Input[Union['KafkaTechEmailArgs', 'KafkaTechEmailArgsDict']]]] 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.
|
|
1105
|
-
:param pulumi.Input[bool] termination_protection: Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
|
|
1101
|
+
: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.
|
|
1106
1102
|
"""
|
|
1107
1103
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
1108
1104
|
|
|
@@ -1142,15 +1138,15 @@ class Kafka(pulumi.CustomResource):
|
|
|
1142
1138
|
|
|
1143
1139
|
@property
|
|
1144
1140
|
@pulumi.getter(name="additionalDiskSpace")
|
|
1145
|
-
def additional_disk_space(self) -> pulumi.Output[str]:
|
|
1141
|
+
def additional_disk_space(self) -> pulumi.Output[builtins.str]:
|
|
1146
1142
|
"""
|
|
1147
|
-
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
|
|
1143
|
+
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.
|
|
1148
1144
|
"""
|
|
1149
1145
|
return pulumi.get(self, "additional_disk_space")
|
|
1150
1146
|
|
|
1151
1147
|
@property
|
|
1152
1148
|
@pulumi.getter(name="cloudName")
|
|
1153
|
-
def cloud_name(self) -> pulumi.Output[Optional[str]]:
|
|
1149
|
+
def cloud_name(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
1154
1150
|
"""
|
|
1155
1151
|
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.
|
|
1156
1152
|
"""
|
|
@@ -1166,7 +1162,7 @@ class Kafka(pulumi.CustomResource):
|
|
|
1166
1162
|
|
|
1167
1163
|
@property
|
|
1168
1164
|
@pulumi.getter(name="defaultAcl")
|
|
1169
|
-
def default_acl(self) -> pulumi.Output[Optional[bool]]:
|
|
1165
|
+
def default_acl(self) -> pulumi.Output[Optional[builtins.bool]]:
|
|
1170
1166
|
"""
|
|
1171
1167
|
Create a default wildcard Kafka ACL.
|
|
1172
1168
|
"""
|
|
@@ -1175,7 +1171,7 @@ class Kafka(pulumi.CustomResource):
|
|
|
1175
1171
|
@property
|
|
1176
1172
|
@pulumi.getter(name="diskSpace")
|
|
1177
1173
|
@_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.""")
|
|
1178
|
-
def disk_space(self) -> pulumi.Output[Optional[str]]:
|
|
1174
|
+
def disk_space(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
1179
1175
|
"""
|
|
1180
1176
|
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
1181
1177
|
"""
|
|
@@ -1183,7 +1179,7 @@ class Kafka(pulumi.CustomResource):
|
|
|
1183
1179
|
|
|
1184
1180
|
@property
|
|
1185
1181
|
@pulumi.getter(name="diskSpaceCap")
|
|
1186
|
-
def disk_space_cap(self) -> pulumi.Output[str]:
|
|
1182
|
+
def disk_space_cap(self) -> pulumi.Output[builtins.str]:
|
|
1187
1183
|
"""
|
|
1188
1184
|
The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
1189
1185
|
"""
|
|
@@ -1191,7 +1187,7 @@ class Kafka(pulumi.CustomResource):
|
|
|
1191
1187
|
|
|
1192
1188
|
@property
|
|
1193
1189
|
@pulumi.getter(name="diskSpaceDefault")
|
|
1194
|
-
def disk_space_default(self) -> pulumi.Output[str]:
|
|
1190
|
+
def disk_space_default(self) -> pulumi.Output[builtins.str]:
|
|
1195
1191
|
"""
|
|
1196
1192
|
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`
|
|
1197
1193
|
"""
|
|
@@ -1199,7 +1195,7 @@ class Kafka(pulumi.CustomResource):
|
|
|
1199
1195
|
|
|
1200
1196
|
@property
|
|
1201
1197
|
@pulumi.getter(name="diskSpaceStep")
|
|
1202
|
-
def disk_space_step(self) -> pulumi.Output[str]:
|
|
1198
|
+
def disk_space_step(self) -> pulumi.Output[builtins.str]:
|
|
1203
1199
|
"""
|
|
1204
1200
|
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.
|
|
1205
1201
|
"""
|
|
@@ -1208,7 +1204,7 @@ class Kafka(pulumi.CustomResource):
|
|
|
1208
1204
|
@property
|
|
1209
1205
|
@pulumi.getter(name="diskSpaceUsed")
|
|
1210
1206
|
@_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.""")
|
|
1211
|
-
def disk_space_used(self) -> pulumi.Output[str]:
|
|
1207
|
+
def disk_space_used(self) -> pulumi.Output[builtins.str]:
|
|
1212
1208
|
"""
|
|
1213
1209
|
Disk space that service is currently using
|
|
1214
1210
|
"""
|
|
@@ -1233,7 +1229,7 @@ class Kafka(pulumi.CustomResource):
|
|
|
1233
1229
|
@property
|
|
1234
1230
|
@pulumi.getter
|
|
1235
1231
|
@_utilities.deprecated("""Usage of this field is discouraged.""")
|
|
1236
|
-
def karapace(self) -> pulumi.Output[Optional[bool]]:
|
|
1232
|
+
def karapace(self) -> pulumi.Output[Optional[builtins.bool]]:
|
|
1237
1233
|
"""
|
|
1238
1234
|
Switch the service to use [Karapace](https://aiven.io/docs/products/kafka/karapace) for schema registry and REST proxy.
|
|
1239
1235
|
"""
|
|
@@ -1241,7 +1237,7 @@ class Kafka(pulumi.CustomResource):
|
|
|
1241
1237
|
|
|
1242
1238
|
@property
|
|
1243
1239
|
@pulumi.getter(name="maintenanceWindowDow")
|
|
1244
|
-
def maintenance_window_dow(self) -> pulumi.Output[Optional[str]]:
|
|
1240
|
+
def maintenance_window_dow(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
1245
1241
|
"""
|
|
1246
1242
|
Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
1247
1243
|
"""
|
|
@@ -1249,7 +1245,7 @@ class Kafka(pulumi.CustomResource):
|
|
|
1249
1245
|
|
|
1250
1246
|
@property
|
|
1251
1247
|
@pulumi.getter(name="maintenanceWindowTime")
|
|
1252
|
-
def maintenance_window_time(self) -> pulumi.Output[Optional[str]]:
|
|
1248
|
+
def maintenance_window_time(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
1253
1249
|
"""
|
|
1254
1250
|
Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
1255
1251
|
"""
|
|
@@ -1257,7 +1253,7 @@ class Kafka(pulumi.CustomResource):
|
|
|
1257
1253
|
|
|
1258
1254
|
@property
|
|
1259
1255
|
@pulumi.getter
|
|
1260
|
-
def plan(self) -> pulumi.Output[str]:
|
|
1256
|
+
def plan(self) -> pulumi.Output[builtins.str]:
|
|
1261
1257
|
"""
|
|
1262
1258
|
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).
|
|
1263
1259
|
"""
|
|
@@ -1265,7 +1261,7 @@ class Kafka(pulumi.CustomResource):
|
|
|
1265
1261
|
|
|
1266
1262
|
@property
|
|
1267
1263
|
@pulumi.getter
|
|
1268
|
-
def project(self) -> pulumi.Output[str]:
|
|
1264
|
+
def project(self) -> pulumi.Output[builtins.str]:
|
|
1269
1265
|
"""
|
|
1270
1266
|
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.
|
|
1271
1267
|
"""
|
|
@@ -1273,7 +1269,7 @@ class Kafka(pulumi.CustomResource):
|
|
|
1273
1269
|
|
|
1274
1270
|
@property
|
|
1275
1271
|
@pulumi.getter(name="projectVpcId")
|
|
1276
|
-
def project_vpc_id(self) -> pulumi.Output[str]:
|
|
1272
|
+
def project_vpc_id(self) -> pulumi.Output[builtins.str]:
|
|
1277
1273
|
"""
|
|
1278
1274
|
Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
1279
1275
|
"""
|
|
@@ -1281,7 +1277,7 @@ class Kafka(pulumi.CustomResource):
|
|
|
1281
1277
|
|
|
1282
1278
|
@property
|
|
1283
1279
|
@pulumi.getter(name="serviceHost")
|
|
1284
|
-
def service_host(self) -> pulumi.Output[str]:
|
|
1280
|
+
def service_host(self) -> pulumi.Output[builtins.str]:
|
|
1285
1281
|
"""
|
|
1286
1282
|
The hostname of the service.
|
|
1287
1283
|
"""
|
|
@@ -1297,7 +1293,7 @@ class Kafka(pulumi.CustomResource):
|
|
|
1297
1293
|
|
|
1298
1294
|
@property
|
|
1299
1295
|
@pulumi.getter(name="serviceName")
|
|
1300
|
-
def service_name(self) -> pulumi.Output[str]:
|
|
1296
|
+
def service_name(self) -> pulumi.Output[builtins.str]:
|
|
1301
1297
|
"""
|
|
1302
1298
|
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.
|
|
1303
1299
|
"""
|
|
@@ -1305,7 +1301,7 @@ class Kafka(pulumi.CustomResource):
|
|
|
1305
1301
|
|
|
1306
1302
|
@property
|
|
1307
1303
|
@pulumi.getter(name="servicePassword")
|
|
1308
|
-
def service_password(self) -> pulumi.Output[str]:
|
|
1304
|
+
def service_password(self) -> pulumi.Output[builtins.str]:
|
|
1309
1305
|
"""
|
|
1310
1306
|
Password used for connecting to the service, if applicable
|
|
1311
1307
|
"""
|
|
@@ -1313,7 +1309,7 @@ class Kafka(pulumi.CustomResource):
|
|
|
1313
1309
|
|
|
1314
1310
|
@property
|
|
1315
1311
|
@pulumi.getter(name="servicePort")
|
|
1316
|
-
def service_port(self) -> pulumi.Output[int]:
|
|
1312
|
+
def service_port(self) -> pulumi.Output[builtins.int]:
|
|
1317
1313
|
"""
|
|
1318
1314
|
The port of the service
|
|
1319
1315
|
"""
|
|
@@ -1321,7 +1317,7 @@ class Kafka(pulumi.CustomResource):
|
|
|
1321
1317
|
|
|
1322
1318
|
@property
|
|
1323
1319
|
@pulumi.getter(name="serviceType")
|
|
1324
|
-
def service_type(self) -> pulumi.Output[str]:
|
|
1320
|
+
def service_type(self) -> pulumi.Output[builtins.str]:
|
|
1325
1321
|
"""
|
|
1326
1322
|
Aiven internal service type code
|
|
1327
1323
|
"""
|
|
@@ -1329,7 +1325,7 @@ class Kafka(pulumi.CustomResource):
|
|
|
1329
1325
|
|
|
1330
1326
|
@property
|
|
1331
1327
|
@pulumi.getter(name="serviceUri")
|
|
1332
|
-
def service_uri(self) -> pulumi.Output[str]:
|
|
1328
|
+
def service_uri(self) -> pulumi.Output[builtins.str]:
|
|
1333
1329
|
"""
|
|
1334
1330
|
URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
1335
1331
|
"""
|
|
@@ -1337,7 +1333,7 @@ class Kafka(pulumi.CustomResource):
|
|
|
1337
1333
|
|
|
1338
1334
|
@property
|
|
1339
1335
|
@pulumi.getter(name="serviceUsername")
|
|
1340
|
-
def service_username(self) -> pulumi.Output[str]:
|
|
1336
|
+
def service_username(self) -> pulumi.Output[builtins.str]:
|
|
1341
1337
|
"""
|
|
1342
1338
|
Username used for connecting to the service, if applicable
|
|
1343
1339
|
"""
|
|
@@ -1345,15 +1341,12 @@ class Kafka(pulumi.CustomResource):
|
|
|
1345
1341
|
|
|
1346
1342
|
@property
|
|
1347
1343
|
@pulumi.getter
|
|
1348
|
-
def state(self) -> pulumi.Output[str]:
|
|
1349
|
-
"""
|
|
1350
|
-
Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
1351
|
-
"""
|
|
1344
|
+
def state(self) -> pulumi.Output[builtins.str]:
|
|
1352
1345
|
return pulumi.get(self, "state")
|
|
1353
1346
|
|
|
1354
1347
|
@property
|
|
1355
1348
|
@pulumi.getter(name="staticIps")
|
|
1356
|
-
def static_ips(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
1349
|
+
def static_ips(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
|
|
1357
1350
|
"""
|
|
1358
1351
|
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
|
|
1359
1352
|
"""
|
|
@@ -1377,7 +1370,7 @@ class Kafka(pulumi.CustomResource):
|
|
|
1377
1370
|
|
|
1378
1371
|
@property
|
|
1379
1372
|
@pulumi.getter(name="terminationProtection")
|
|
1380
|
-
def termination_protection(self) -> pulumi.Output[Optional[bool]]:
|
|
1373
|
+
def termination_protection(self) -> pulumi.Output[Optional[builtins.bool]]:
|
|
1381
1374
|
"""
|
|
1382
1375
|
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.
|
|
1383
1376
|
"""
|