pulumi-aiven 6.37.0a1743570488__py3-none-any.whl → 6.37.0a1744182902__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-aiven might be problematic. Click here for more details.
- pulumi_aiven/__init__.py +1 -0
- pulumi_aiven/_inputs.py +8278 -8277
- 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 +246 -245
- 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 +232 -231
- pulumi_aiven/cassandra_user.py +78 -77
- pulumi_aiven/clickhouse.py +232 -231
- 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 +232 -231
- pulumi_aiven/flink.py +232 -231
- 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 +33 -32
- 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 +32 -31
- pulumi_aiven/get_cassandra.py +32 -31
- pulumi_aiven/get_cassandra_user.py +21 -20
- pulumi_aiven/get_clickhouse.py +32 -31
- 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 +32 -31
- pulumi_aiven/get_external_identity.py +22 -21
- pulumi_aiven/get_flink.py +32 -31
- 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 +32 -31
- 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 +34 -33
- pulumi_aiven/get_kafka_acl.py +28 -27
- pulumi_aiven/get_kafka_connect.py +32 -31
- pulumi_aiven/get_kafka_connector.py +24 -23
- pulumi_aiven/get_kafka_mirror_maker.py +32 -31
- 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 +32 -31
- pulumi_aiven/get_m3_db.py +32 -31
- pulumi_aiven/get_m3db_user.py +19 -18
- pulumi_aiven/get_mirror_maker_replication_flow.py +34 -33
- pulumi_aiven/get_my_sql.py +32 -31
- pulumi_aiven/get_mysql_database.py +18 -17
- pulumi_aiven/get_mysql_user.py +22 -21
- pulumi_aiven/get_open_search.py +32 -31
- 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_application_user.py +15 -14
- pulumi_aiven/get_organization_project.py +15 -14
- pulumi_aiven/get_organization_user.py +18 -17
- pulumi_aiven/get_organization_user_group.py +16 -15
- pulumi_aiven/get_organization_user_list.py +11 -10
- pulumi_aiven/get_organization_vpc.py +17 -16
- pulumi_aiven/get_organizational_unit.py +11 -10
- pulumi_aiven/get_pg.py +32 -31
- 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 +32 -31
- pulumi_aiven/get_redis_user.py +23 -22
- pulumi_aiven/get_service_component.py +39 -38
- pulumi_aiven/get_service_integration.py +27 -26
- pulumi_aiven/get_service_integration_endpoint.py +14 -13
- pulumi_aiven/get_thanos.py +32 -31
- pulumi_aiven/get_transit_gateway_vpc_attachment.py +22 -21
- pulumi_aiven/get_valkey.py +32 -31
- pulumi_aiven/get_valkey_user.py +23 -22
- pulumi_aiven/grafana.py +232 -231
- pulumi_aiven/influx_db.py +232 -231
- pulumi_aiven/influxdb_database.py +53 -52
- pulumi_aiven/influxdb_user.py +78 -77
- pulumi_aiven/kafka.py +260 -259
- pulumi_aiven/kafka_acl.py +78 -77
- pulumi_aiven/kafka_connect.py +232 -231
- pulumi_aiven/kafka_connector.py +99 -98
- pulumi_aiven/kafka_mirror_maker.py +232 -231
- 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 +232 -231
- pulumi_aiven/m3_db.py +232 -231
- pulumi_aiven/m3db_user.py +64 -63
- pulumi_aiven/mirror_maker_replication_flow.py +225 -224
- pulumi_aiven/my_sql.py +232 -231
- pulumi_aiven/mysql_database.py +53 -52
- pulumi_aiven/mysql_user.py +92 -91
- pulumi_aiven/open_search.py +232 -231
- 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 +36 -35
- pulumi_aiven/organization_application_user.py +57 -56
- pulumi_aiven/organization_application_user_token.py +169 -168
- pulumi_aiven/organization_group_project.py +43 -42
- pulumi_aiven/organization_permission.py +43 -42
- pulumi_aiven/organization_project.py +71 -70
- pulumi_aiven/organization_user.py +57 -56
- pulumi_aiven/organization_user_group.py +64 -63
- pulumi_aiven/organization_user_group_member.py +50 -49
- pulumi_aiven/organization_vpc.py +71 -70
- pulumi_aiven/organizational_unit.py +50 -49
- pulumi_aiven/outputs.py +9982 -9981
- pulumi_aiven/pg.py +232 -231
- 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 +232 -231
- pulumi_aiven/redis_user.py +120 -119
- pulumi_aiven/service_integration.py +120 -119
- pulumi_aiven/service_integration_endpoint.py +50 -49
- pulumi_aiven/static_ip.py +57 -56
- pulumi_aiven/thanos.py +232 -231
- pulumi_aiven/transit_gateway_vpc_attachment.py +92 -91
- pulumi_aiven/valkey.py +232 -231
- pulumi_aiven/valkey_user.py +120 -119
- {pulumi_aiven-6.37.0a1743570488.dist-info → pulumi_aiven-6.37.0a1744182902.dist-info}/METADATA +1 -1
- pulumi_aiven-6.37.0a1744182902.dist-info/RECORD +183 -0
- pulumi_aiven-6.37.0a1743570488.dist-info/RECORD +0 -183
- {pulumi_aiven-6.37.0a1743570488.dist-info → pulumi_aiven-6.37.0a1744182902.dist-info}/WHEEL +0 -0
- {pulumi_aiven-6.37.0a1743570488.dist-info → pulumi_aiven-6.37.0a1744182902.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 with no HA capabilities.
|
|
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 with no HA capabilities.
|
|
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
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 with no HA capabilities.
|
|
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,82 @@ 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 with no HA capabilities.
|
|
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 with no HA capabilities.
|
|
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] state: Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
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[builtins.str] state: Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
384
|
+
: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
385
|
:param pulumi.Input[Sequence[pulumi.Input['KafkaTagArgs']]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
385
386
|
: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.
|
|
387
|
+
: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
388
|
"""
|
|
388
389
|
if additional_disk_space is not None:
|
|
389
390
|
pulumi.set(__self__, "additional_disk_space", additional_disk_space)
|
|
@@ -457,26 +458,26 @@ class _KafkaState:
|
|
|
457
458
|
|
|
458
459
|
@property
|
|
459
460
|
@pulumi.getter(name="additionalDiskSpace")
|
|
460
|
-
def additional_disk_space(self) -> Optional[pulumi.Input[str]]:
|
|
461
|
+
def additional_disk_space(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
461
462
|
"""
|
|
462
463
|
Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
|
|
463
464
|
"""
|
|
464
465
|
return pulumi.get(self, "additional_disk_space")
|
|
465
466
|
|
|
466
467
|
@additional_disk_space.setter
|
|
467
|
-
def additional_disk_space(self, value: Optional[pulumi.Input[str]]):
|
|
468
|
+
def additional_disk_space(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
468
469
|
pulumi.set(self, "additional_disk_space", value)
|
|
469
470
|
|
|
470
471
|
@property
|
|
471
472
|
@pulumi.getter(name="cloudName")
|
|
472
|
-
def cloud_name(self) -> Optional[pulumi.Input[str]]:
|
|
473
|
+
def cloud_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
473
474
|
"""
|
|
474
475
|
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
476
|
"""
|
|
476
477
|
return pulumi.get(self, "cloud_name")
|
|
477
478
|
|
|
478
479
|
@cloud_name.setter
|
|
479
|
-
def cloud_name(self, value: Optional[pulumi.Input[str]]):
|
|
480
|
+
def cloud_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
480
481
|
pulumi.set(self, "cloud_name", value)
|
|
481
482
|
|
|
482
483
|
@property
|
|
@@ -493,76 +494,76 @@ class _KafkaState:
|
|
|
493
494
|
|
|
494
495
|
@property
|
|
495
496
|
@pulumi.getter(name="defaultAcl")
|
|
496
|
-
def default_acl(self) -> Optional[pulumi.Input[bool]]:
|
|
497
|
+
def default_acl(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
497
498
|
"""
|
|
498
499
|
Create a default wildcard Kafka ACL.
|
|
499
500
|
"""
|
|
500
501
|
return pulumi.get(self, "default_acl")
|
|
501
502
|
|
|
502
503
|
@default_acl.setter
|
|
503
|
-
def default_acl(self, value: Optional[pulumi.Input[bool]]):
|
|
504
|
+
def default_acl(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
504
505
|
pulumi.set(self, "default_acl", value)
|
|
505
506
|
|
|
506
507
|
@property
|
|
507
508
|
@pulumi.getter(name="diskSpace")
|
|
508
509
|
@_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]]:
|
|
510
|
+
def disk_space(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
510
511
|
"""
|
|
511
512
|
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
513
|
"""
|
|
513
514
|
return pulumi.get(self, "disk_space")
|
|
514
515
|
|
|
515
516
|
@disk_space.setter
|
|
516
|
-
def disk_space(self, value: Optional[pulumi.Input[str]]):
|
|
517
|
+
def disk_space(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
517
518
|
pulumi.set(self, "disk_space", value)
|
|
518
519
|
|
|
519
520
|
@property
|
|
520
521
|
@pulumi.getter(name="diskSpaceCap")
|
|
521
|
-
def disk_space_cap(self) -> Optional[pulumi.Input[str]]:
|
|
522
|
+
def disk_space_cap(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
522
523
|
"""
|
|
523
524
|
The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
524
525
|
"""
|
|
525
526
|
return pulumi.get(self, "disk_space_cap")
|
|
526
527
|
|
|
527
528
|
@disk_space_cap.setter
|
|
528
|
-
def disk_space_cap(self, value: Optional[pulumi.Input[str]]):
|
|
529
|
+
def disk_space_cap(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
529
530
|
pulumi.set(self, "disk_space_cap", value)
|
|
530
531
|
|
|
531
532
|
@property
|
|
532
533
|
@pulumi.getter(name="diskSpaceDefault")
|
|
533
|
-
def disk_space_default(self) -> Optional[pulumi.Input[str]]:
|
|
534
|
+
def disk_space_default(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
534
535
|
"""
|
|
535
536
|
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
537
|
"""
|
|
537
538
|
return pulumi.get(self, "disk_space_default")
|
|
538
539
|
|
|
539
540
|
@disk_space_default.setter
|
|
540
|
-
def disk_space_default(self, value: Optional[pulumi.Input[str]]):
|
|
541
|
+
def disk_space_default(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
541
542
|
pulumi.set(self, "disk_space_default", value)
|
|
542
543
|
|
|
543
544
|
@property
|
|
544
545
|
@pulumi.getter(name="diskSpaceStep")
|
|
545
|
-
def disk_space_step(self) -> Optional[pulumi.Input[str]]:
|
|
546
|
+
def disk_space_step(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
546
547
|
"""
|
|
547
548
|
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
549
|
"""
|
|
549
550
|
return pulumi.get(self, "disk_space_step")
|
|
550
551
|
|
|
551
552
|
@disk_space_step.setter
|
|
552
|
-
def disk_space_step(self, value: Optional[pulumi.Input[str]]):
|
|
553
|
+
def disk_space_step(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
553
554
|
pulumi.set(self, "disk_space_step", value)
|
|
554
555
|
|
|
555
556
|
@property
|
|
556
557
|
@pulumi.getter(name="diskSpaceUsed")
|
|
557
558
|
@_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]]:
|
|
559
|
+
def disk_space_used(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
559
560
|
"""
|
|
560
561
|
Disk space that service is currently using
|
|
561
562
|
"""
|
|
562
563
|
return pulumi.get(self, "disk_space_used")
|
|
563
564
|
|
|
564
565
|
@disk_space_used.setter
|
|
565
|
-
def disk_space_used(self, value: Optional[pulumi.Input[str]]):
|
|
566
|
+
def disk_space_used(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
566
567
|
pulumi.set(self, "disk_space_used", value)
|
|
567
568
|
|
|
568
569
|
@property
|
|
@@ -592,86 +593,86 @@ class _KafkaState:
|
|
|
592
593
|
@property
|
|
593
594
|
@pulumi.getter
|
|
594
595
|
@_utilities.deprecated("""Usage of this field is discouraged.""")
|
|
595
|
-
def karapace(self) -> Optional[pulumi.Input[bool]]:
|
|
596
|
+
def karapace(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
596
597
|
"""
|
|
597
598
|
Switch the service to use [Karapace](https://aiven.io/docs/products/kafka/karapace) for schema registry and REST proxy.
|
|
598
599
|
"""
|
|
599
600
|
return pulumi.get(self, "karapace")
|
|
600
601
|
|
|
601
602
|
@karapace.setter
|
|
602
|
-
def karapace(self, value: Optional[pulumi.Input[bool]]):
|
|
603
|
+
def karapace(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
603
604
|
pulumi.set(self, "karapace", value)
|
|
604
605
|
|
|
605
606
|
@property
|
|
606
607
|
@pulumi.getter(name="maintenanceWindowDow")
|
|
607
|
-
def maintenance_window_dow(self) -> Optional[pulumi.Input[str]]:
|
|
608
|
+
def maintenance_window_dow(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
608
609
|
"""
|
|
609
610
|
Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
610
611
|
"""
|
|
611
612
|
return pulumi.get(self, "maintenance_window_dow")
|
|
612
613
|
|
|
613
614
|
@maintenance_window_dow.setter
|
|
614
|
-
def maintenance_window_dow(self, value: Optional[pulumi.Input[str]]):
|
|
615
|
+
def maintenance_window_dow(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
615
616
|
pulumi.set(self, "maintenance_window_dow", value)
|
|
616
617
|
|
|
617
618
|
@property
|
|
618
619
|
@pulumi.getter(name="maintenanceWindowTime")
|
|
619
|
-
def maintenance_window_time(self) -> Optional[pulumi.Input[str]]:
|
|
620
|
+
def maintenance_window_time(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
620
621
|
"""
|
|
621
622
|
Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
622
623
|
"""
|
|
623
624
|
return pulumi.get(self, "maintenance_window_time")
|
|
624
625
|
|
|
625
626
|
@maintenance_window_time.setter
|
|
626
|
-
def maintenance_window_time(self, value: Optional[pulumi.Input[str]]):
|
|
627
|
+
def maintenance_window_time(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
627
628
|
pulumi.set(self, "maintenance_window_time", value)
|
|
628
629
|
|
|
629
630
|
@property
|
|
630
631
|
@pulumi.getter
|
|
631
|
-
def plan(self) -> Optional[pulumi.Input[str]]:
|
|
632
|
+
def plan(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
632
633
|
"""
|
|
633
634
|
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
635
|
"""
|
|
635
636
|
return pulumi.get(self, "plan")
|
|
636
637
|
|
|
637
638
|
@plan.setter
|
|
638
|
-
def plan(self, value: Optional[pulumi.Input[str]]):
|
|
639
|
+
def plan(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
639
640
|
pulumi.set(self, "plan", value)
|
|
640
641
|
|
|
641
642
|
@property
|
|
642
643
|
@pulumi.getter
|
|
643
|
-
def project(self) -> Optional[pulumi.Input[str]]:
|
|
644
|
+
def project(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
644
645
|
"""
|
|
645
646
|
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
647
|
"""
|
|
647
648
|
return pulumi.get(self, "project")
|
|
648
649
|
|
|
649
650
|
@project.setter
|
|
650
|
-
def project(self, value: Optional[pulumi.Input[str]]):
|
|
651
|
+
def project(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
651
652
|
pulumi.set(self, "project", value)
|
|
652
653
|
|
|
653
654
|
@property
|
|
654
655
|
@pulumi.getter(name="projectVpcId")
|
|
655
|
-
def project_vpc_id(self) -> Optional[pulumi.Input[str]]:
|
|
656
|
+
def project_vpc_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
656
657
|
"""
|
|
657
658
|
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
659
|
"""
|
|
659
660
|
return pulumi.get(self, "project_vpc_id")
|
|
660
661
|
|
|
661
662
|
@project_vpc_id.setter
|
|
662
|
-
def project_vpc_id(self, value: Optional[pulumi.Input[str]]):
|
|
663
|
+
def project_vpc_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
663
664
|
pulumi.set(self, "project_vpc_id", value)
|
|
664
665
|
|
|
665
666
|
@property
|
|
666
667
|
@pulumi.getter(name="serviceHost")
|
|
667
|
-
def service_host(self) -> Optional[pulumi.Input[str]]:
|
|
668
|
+
def service_host(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
668
669
|
"""
|
|
669
670
|
The hostname of the service.
|
|
670
671
|
"""
|
|
671
672
|
return pulumi.get(self, "service_host")
|
|
672
673
|
|
|
673
674
|
@service_host.setter
|
|
674
|
-
def service_host(self, value: Optional[pulumi.Input[str]]):
|
|
675
|
+
def service_host(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
675
676
|
pulumi.set(self, "service_host", value)
|
|
676
677
|
|
|
677
678
|
@property
|
|
@@ -688,98 +689,98 @@ class _KafkaState:
|
|
|
688
689
|
|
|
689
690
|
@property
|
|
690
691
|
@pulumi.getter(name="serviceName")
|
|
691
|
-
def service_name(self) -> Optional[pulumi.Input[str]]:
|
|
692
|
+
def service_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
692
693
|
"""
|
|
693
694
|
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
695
|
"""
|
|
695
696
|
return pulumi.get(self, "service_name")
|
|
696
697
|
|
|
697
698
|
@service_name.setter
|
|
698
|
-
def service_name(self, value: Optional[pulumi.Input[str]]):
|
|
699
|
+
def service_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
699
700
|
pulumi.set(self, "service_name", value)
|
|
700
701
|
|
|
701
702
|
@property
|
|
702
703
|
@pulumi.getter(name="servicePassword")
|
|
703
|
-
def service_password(self) -> Optional[pulumi.Input[str]]:
|
|
704
|
+
def service_password(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
704
705
|
"""
|
|
705
706
|
Password used for connecting to the service, if applicable
|
|
706
707
|
"""
|
|
707
708
|
return pulumi.get(self, "service_password")
|
|
708
709
|
|
|
709
710
|
@service_password.setter
|
|
710
|
-
def service_password(self, value: Optional[pulumi.Input[str]]):
|
|
711
|
+
def service_password(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
711
712
|
pulumi.set(self, "service_password", value)
|
|
712
713
|
|
|
713
714
|
@property
|
|
714
715
|
@pulumi.getter(name="servicePort")
|
|
715
|
-
def service_port(self) -> Optional[pulumi.Input[int]]:
|
|
716
|
+
def service_port(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
716
717
|
"""
|
|
717
718
|
The port of the service
|
|
718
719
|
"""
|
|
719
720
|
return pulumi.get(self, "service_port")
|
|
720
721
|
|
|
721
722
|
@service_port.setter
|
|
722
|
-
def service_port(self, value: Optional[pulumi.Input[int]]):
|
|
723
|
+
def service_port(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
723
724
|
pulumi.set(self, "service_port", value)
|
|
724
725
|
|
|
725
726
|
@property
|
|
726
727
|
@pulumi.getter(name="serviceType")
|
|
727
|
-
def service_type(self) -> Optional[pulumi.Input[str]]:
|
|
728
|
+
def service_type(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
728
729
|
"""
|
|
729
730
|
Aiven internal service type code
|
|
730
731
|
"""
|
|
731
732
|
return pulumi.get(self, "service_type")
|
|
732
733
|
|
|
733
734
|
@service_type.setter
|
|
734
|
-
def service_type(self, value: Optional[pulumi.Input[str]]):
|
|
735
|
+
def service_type(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
735
736
|
pulumi.set(self, "service_type", value)
|
|
736
737
|
|
|
737
738
|
@property
|
|
738
739
|
@pulumi.getter(name="serviceUri")
|
|
739
|
-
def service_uri(self) -> Optional[pulumi.Input[str]]:
|
|
740
|
+
def service_uri(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
740
741
|
"""
|
|
741
742
|
URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
742
743
|
"""
|
|
743
744
|
return pulumi.get(self, "service_uri")
|
|
744
745
|
|
|
745
746
|
@service_uri.setter
|
|
746
|
-
def service_uri(self, value: Optional[pulumi.Input[str]]):
|
|
747
|
+
def service_uri(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
747
748
|
pulumi.set(self, "service_uri", value)
|
|
748
749
|
|
|
749
750
|
@property
|
|
750
751
|
@pulumi.getter(name="serviceUsername")
|
|
751
|
-
def service_username(self) -> Optional[pulumi.Input[str]]:
|
|
752
|
+
def service_username(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
752
753
|
"""
|
|
753
754
|
Username used for connecting to the service, if applicable
|
|
754
755
|
"""
|
|
755
756
|
return pulumi.get(self, "service_username")
|
|
756
757
|
|
|
757
758
|
@service_username.setter
|
|
758
|
-
def service_username(self, value: Optional[pulumi.Input[str]]):
|
|
759
|
+
def service_username(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
759
760
|
pulumi.set(self, "service_username", value)
|
|
760
761
|
|
|
761
762
|
@property
|
|
762
763
|
@pulumi.getter
|
|
763
|
-
def state(self) -> Optional[pulumi.Input[str]]:
|
|
764
|
+
def state(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
764
765
|
"""
|
|
765
766
|
Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
766
767
|
"""
|
|
767
768
|
return pulumi.get(self, "state")
|
|
768
769
|
|
|
769
770
|
@state.setter
|
|
770
|
-
def state(self, value: Optional[pulumi.Input[str]]):
|
|
771
|
+
def state(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
771
772
|
pulumi.set(self, "state", value)
|
|
772
773
|
|
|
773
774
|
@property
|
|
774
775
|
@pulumi.getter(name="staticIps")
|
|
775
|
-
def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
776
|
+
def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
776
777
|
"""
|
|
777
778
|
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
779
|
"""
|
|
779
780
|
return pulumi.get(self, "static_ips")
|
|
780
781
|
|
|
781
782
|
@static_ips.setter
|
|
782
|
-
def static_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
783
|
+
def static_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
783
784
|
pulumi.set(self, "static_ips", value)
|
|
784
785
|
|
|
785
786
|
@property
|
|
@@ -808,14 +809,14 @@ class _KafkaState:
|
|
|
808
809
|
|
|
809
810
|
@property
|
|
810
811
|
@pulumi.getter(name="terminationProtection")
|
|
811
|
-
def termination_protection(self) -> Optional[pulumi.Input[bool]]:
|
|
812
|
+
def termination_protection(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
812
813
|
"""
|
|
813
814
|
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
815
|
"""
|
|
815
816
|
return pulumi.get(self, "termination_protection")
|
|
816
817
|
|
|
817
818
|
@termination_protection.setter
|
|
818
|
-
def termination_protection(self, value: Optional[pulumi.Input[bool]]):
|
|
819
|
+
def termination_protection(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
819
820
|
pulumi.set(self, "termination_protection", value)
|
|
820
821
|
|
|
821
822
|
|
|
@@ -824,24 +825,24 @@ class Kafka(pulumi.CustomResource):
|
|
|
824
825
|
def __init__(__self__,
|
|
825
826
|
resource_name: str,
|
|
826
827
|
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,
|
|
828
|
+
additional_disk_space: Optional[pulumi.Input[builtins.str]] = None,
|
|
829
|
+
cloud_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
830
|
+
default_acl: Optional[pulumi.Input[builtins.bool]] = None,
|
|
831
|
+
disk_space: Optional[pulumi.Input[builtins.str]] = None,
|
|
831
832
|
kafka_user_config: Optional[pulumi.Input[Union['KafkaKafkaUserConfigArgs', 'KafkaKafkaUserConfigArgsDict']]] = None,
|
|
832
833
|
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,
|
|
834
|
+
karapace: Optional[pulumi.Input[builtins.bool]] = None,
|
|
835
|
+
maintenance_window_dow: Optional[pulumi.Input[builtins.str]] = None,
|
|
836
|
+
maintenance_window_time: Optional[pulumi.Input[builtins.str]] = None,
|
|
837
|
+
plan: Optional[pulumi.Input[builtins.str]] = None,
|
|
838
|
+
project: Optional[pulumi.Input[builtins.str]] = None,
|
|
839
|
+
project_vpc_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
839
840
|
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,
|
|
841
|
+
service_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
842
|
+
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
842
843
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['KafkaTagArgs', 'KafkaTagArgsDict']]]]] = None,
|
|
843
844
|
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['KafkaTechEmailArgs', 'KafkaTechEmailArgsDict']]]]] = None,
|
|
844
|
-
termination_protection: Optional[pulumi.Input[bool]] = None,
|
|
845
|
+
termination_protection: Optional[pulumi.Input[builtins.bool]] = None,
|
|
845
846
|
__props__=None):
|
|
846
847
|
"""
|
|
847
848
|
Creates and manages an [Aiven for Apache Kafka®](https://aiven.io/docs/products/kafka) service.
|
|
@@ -883,24 +884,24 @@ class Kafka(pulumi.CustomResource):
|
|
|
883
884
|
|
|
884
885
|
:param str resource_name: The name of the resource.
|
|
885
886
|
: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 with no HA capabilities.
|
|
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.
|
|
887
|
+
: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 with no HA capabilities.
|
|
888
|
+
: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.
|
|
889
|
+
:param pulumi.Input[builtins.bool] default_acl: Create a default wildcard Kafka ACL.
|
|
890
|
+
: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
891
|
: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
892
|
: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.
|
|
893
|
+
: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.
|
|
894
|
+
:param pulumi.Input[builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
895
|
+
:param pulumi.Input[builtins.str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
896
|
+
: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).
|
|
897
|
+
: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.
|
|
898
|
+
: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
899
|
: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
|
|
900
|
+
: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.
|
|
901
|
+
: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
902
|
:param pulumi.Input[Sequence[pulumi.Input[Union['KafkaTagArgs', 'KafkaTagArgsDict']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
902
903
|
: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.
|
|
904
|
+
: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
905
|
"""
|
|
905
906
|
...
|
|
906
907
|
@overload
|
|
@@ -961,24 +962,24 @@ class Kafka(pulumi.CustomResource):
|
|
|
961
962
|
def _internal_init(__self__,
|
|
962
963
|
resource_name: str,
|
|
963
964
|
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,
|
|
965
|
+
additional_disk_space: Optional[pulumi.Input[builtins.str]] = None,
|
|
966
|
+
cloud_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
967
|
+
default_acl: Optional[pulumi.Input[builtins.bool]] = None,
|
|
968
|
+
disk_space: Optional[pulumi.Input[builtins.str]] = None,
|
|
968
969
|
kafka_user_config: Optional[pulumi.Input[Union['KafkaKafkaUserConfigArgs', 'KafkaKafkaUserConfigArgsDict']]] = None,
|
|
969
970
|
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,
|
|
971
|
+
karapace: Optional[pulumi.Input[builtins.bool]] = None,
|
|
972
|
+
maintenance_window_dow: Optional[pulumi.Input[builtins.str]] = None,
|
|
973
|
+
maintenance_window_time: Optional[pulumi.Input[builtins.str]] = None,
|
|
974
|
+
plan: Optional[pulumi.Input[builtins.str]] = None,
|
|
975
|
+
project: Optional[pulumi.Input[builtins.str]] = None,
|
|
976
|
+
project_vpc_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
976
977
|
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,
|
|
978
|
+
service_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
979
|
+
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
979
980
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['KafkaTagArgs', 'KafkaTagArgsDict']]]]] = None,
|
|
980
981
|
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['KafkaTechEmailArgs', 'KafkaTechEmailArgsDict']]]]] = None,
|
|
981
|
-
termination_protection: Optional[pulumi.Input[bool]] = None,
|
|
982
|
+
termination_protection: Optional[pulumi.Input[builtins.bool]] = None,
|
|
982
983
|
__props__=None):
|
|
983
984
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
984
985
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -1036,36 +1037,36 @@ class Kafka(pulumi.CustomResource):
|
|
|
1036
1037
|
def get(resource_name: str,
|
|
1037
1038
|
id: pulumi.Input[str],
|
|
1038
1039
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
1039
|
-
additional_disk_space: Optional[pulumi.Input[str]] = None,
|
|
1040
|
-
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
1040
|
+
additional_disk_space: Optional[pulumi.Input[builtins.str]] = None,
|
|
1041
|
+
cloud_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
1041
1042
|
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,
|
|
1043
|
+
default_acl: Optional[pulumi.Input[builtins.bool]] = None,
|
|
1044
|
+
disk_space: Optional[pulumi.Input[builtins.str]] = None,
|
|
1045
|
+
disk_space_cap: Optional[pulumi.Input[builtins.str]] = None,
|
|
1046
|
+
disk_space_default: Optional[pulumi.Input[builtins.str]] = None,
|
|
1047
|
+
disk_space_step: Optional[pulumi.Input[builtins.str]] = None,
|
|
1048
|
+
disk_space_used: Optional[pulumi.Input[builtins.str]] = None,
|
|
1048
1049
|
kafka_user_config: Optional[pulumi.Input[Union['KafkaKafkaUserConfigArgs', 'KafkaKafkaUserConfigArgsDict']]] = None,
|
|
1049
1050
|
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,
|
|
1051
|
+
karapace: Optional[pulumi.Input[builtins.bool]] = None,
|
|
1052
|
+
maintenance_window_dow: Optional[pulumi.Input[builtins.str]] = None,
|
|
1053
|
+
maintenance_window_time: Optional[pulumi.Input[builtins.str]] = None,
|
|
1054
|
+
plan: Optional[pulumi.Input[builtins.str]] = None,
|
|
1055
|
+
project: Optional[pulumi.Input[builtins.str]] = None,
|
|
1056
|
+
project_vpc_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
1057
|
+
service_host: Optional[pulumi.Input[builtins.str]] = None,
|
|
1057
1058
|
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,
|
|
1059
|
+
service_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
1060
|
+
service_password: Optional[pulumi.Input[builtins.str]] = None,
|
|
1061
|
+
service_port: Optional[pulumi.Input[builtins.int]] = None,
|
|
1062
|
+
service_type: Optional[pulumi.Input[builtins.str]] = None,
|
|
1063
|
+
service_uri: Optional[pulumi.Input[builtins.str]] = None,
|
|
1064
|
+
service_username: Optional[pulumi.Input[builtins.str]] = None,
|
|
1065
|
+
state: Optional[pulumi.Input[builtins.str]] = None,
|
|
1066
|
+
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
1066
1067
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['KafkaTagArgs', 'KafkaTagArgsDict']]]]] = None,
|
|
1067
1068
|
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['KafkaTechEmailArgs', 'KafkaTechEmailArgsDict']]]]] = None,
|
|
1068
|
-
termination_protection: Optional[pulumi.Input[bool]] = None) -> 'Kafka':
|
|
1069
|
+
termination_protection: Optional[pulumi.Input[builtins.bool]] = None) -> 'Kafka':
|
|
1069
1070
|
"""
|
|
1070
1071
|
Get an existing Kafka resource's state with the given name, id, and optional extra
|
|
1071
1072
|
properties used to qualify the lookup.
|
|
@@ -1073,36 +1074,36 @@ class Kafka(pulumi.CustomResource):
|
|
|
1073
1074
|
:param str resource_name: The unique name of the resulting resource.
|
|
1074
1075
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
1075
1076
|
: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 with no HA capabilities.
|
|
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.
|
|
1077
|
+
: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 with no HA capabilities.
|
|
1078
|
+
: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
1079
|
: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
|
|
1080
|
+
:param pulumi.Input[builtins.bool] default_acl: Create a default wildcard Kafka ACL.
|
|
1081
|
+
: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.
|
|
1082
|
+
: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.
|
|
1083
|
+
: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`
|
|
1084
|
+
: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.
|
|
1085
|
+
:param pulumi.Input[builtins.str] disk_space_used: Disk space that service is currently using
|
|
1085
1086
|
: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
1087
|
: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.
|
|
1088
|
+
: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.
|
|
1089
|
+
:param pulumi.Input[builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
1090
|
+
:param pulumi.Input[builtins.str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
1091
|
+
: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).
|
|
1092
|
+
: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.
|
|
1093
|
+
: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.
|
|
1094
|
+
:param pulumi.Input[builtins.str] service_host: The hostname of the service.
|
|
1094
1095
|
: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] state: Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
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
|
|
1096
|
+
: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.
|
|
1097
|
+
:param pulumi.Input[builtins.str] service_password: Password used for connecting to the service, if applicable
|
|
1098
|
+
:param pulumi.Input[builtins.int] service_port: The port of the service
|
|
1099
|
+
:param pulumi.Input[builtins.str] service_type: Aiven internal service type code
|
|
1100
|
+
:param pulumi.Input[builtins.str] service_uri: URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
1101
|
+
:param pulumi.Input[builtins.str] service_username: Username used for connecting to the service, if applicable
|
|
1102
|
+
:param pulumi.Input[builtins.str] state: Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
1103
|
+
: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
1104
|
:param pulumi.Input[Sequence[pulumi.Input[Union['KafkaTagArgs', 'KafkaTagArgsDict']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
1104
1105
|
: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.
|
|
1106
|
+
: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
1107
|
"""
|
|
1107
1108
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
1108
1109
|
|
|
@@ -1142,7 +1143,7 @@ class Kafka(pulumi.CustomResource):
|
|
|
1142
1143
|
|
|
1143
1144
|
@property
|
|
1144
1145
|
@pulumi.getter(name="additionalDiskSpace")
|
|
1145
|
-
def additional_disk_space(self) -> pulumi.Output[str]:
|
|
1146
|
+
def additional_disk_space(self) -> pulumi.Output[builtins.str]:
|
|
1146
1147
|
"""
|
|
1147
1148
|
Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
|
|
1148
1149
|
"""
|
|
@@ -1150,7 +1151,7 @@ class Kafka(pulumi.CustomResource):
|
|
|
1150
1151
|
|
|
1151
1152
|
@property
|
|
1152
1153
|
@pulumi.getter(name="cloudName")
|
|
1153
|
-
def cloud_name(self) -> pulumi.Output[Optional[str]]:
|
|
1154
|
+
def cloud_name(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
1154
1155
|
"""
|
|
1155
1156
|
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
1157
|
"""
|
|
@@ -1166,7 +1167,7 @@ class Kafka(pulumi.CustomResource):
|
|
|
1166
1167
|
|
|
1167
1168
|
@property
|
|
1168
1169
|
@pulumi.getter(name="defaultAcl")
|
|
1169
|
-
def default_acl(self) -> pulumi.Output[Optional[bool]]:
|
|
1170
|
+
def default_acl(self) -> pulumi.Output[Optional[builtins.bool]]:
|
|
1170
1171
|
"""
|
|
1171
1172
|
Create a default wildcard Kafka ACL.
|
|
1172
1173
|
"""
|
|
@@ -1175,7 +1176,7 @@ class Kafka(pulumi.CustomResource):
|
|
|
1175
1176
|
@property
|
|
1176
1177
|
@pulumi.getter(name="diskSpace")
|
|
1177
1178
|
@_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]]:
|
|
1179
|
+
def disk_space(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
1179
1180
|
"""
|
|
1180
1181
|
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
1182
|
"""
|
|
@@ -1183,7 +1184,7 @@ class Kafka(pulumi.CustomResource):
|
|
|
1183
1184
|
|
|
1184
1185
|
@property
|
|
1185
1186
|
@pulumi.getter(name="diskSpaceCap")
|
|
1186
|
-
def disk_space_cap(self) -> pulumi.Output[str]:
|
|
1187
|
+
def disk_space_cap(self) -> pulumi.Output[builtins.str]:
|
|
1187
1188
|
"""
|
|
1188
1189
|
The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
1189
1190
|
"""
|
|
@@ -1191,7 +1192,7 @@ class Kafka(pulumi.CustomResource):
|
|
|
1191
1192
|
|
|
1192
1193
|
@property
|
|
1193
1194
|
@pulumi.getter(name="diskSpaceDefault")
|
|
1194
|
-
def disk_space_default(self) -> pulumi.Output[str]:
|
|
1195
|
+
def disk_space_default(self) -> pulumi.Output[builtins.str]:
|
|
1195
1196
|
"""
|
|
1196
1197
|
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
1198
|
"""
|
|
@@ -1199,7 +1200,7 @@ class Kafka(pulumi.CustomResource):
|
|
|
1199
1200
|
|
|
1200
1201
|
@property
|
|
1201
1202
|
@pulumi.getter(name="diskSpaceStep")
|
|
1202
|
-
def disk_space_step(self) -> pulumi.Output[str]:
|
|
1203
|
+
def disk_space_step(self) -> pulumi.Output[builtins.str]:
|
|
1203
1204
|
"""
|
|
1204
1205
|
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
1206
|
"""
|
|
@@ -1208,7 +1209,7 @@ class Kafka(pulumi.CustomResource):
|
|
|
1208
1209
|
@property
|
|
1209
1210
|
@pulumi.getter(name="diskSpaceUsed")
|
|
1210
1211
|
@_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]:
|
|
1212
|
+
def disk_space_used(self) -> pulumi.Output[builtins.str]:
|
|
1212
1213
|
"""
|
|
1213
1214
|
Disk space that service is currently using
|
|
1214
1215
|
"""
|
|
@@ -1233,7 +1234,7 @@ class Kafka(pulumi.CustomResource):
|
|
|
1233
1234
|
@property
|
|
1234
1235
|
@pulumi.getter
|
|
1235
1236
|
@_utilities.deprecated("""Usage of this field is discouraged.""")
|
|
1236
|
-
def karapace(self) -> pulumi.Output[Optional[bool]]:
|
|
1237
|
+
def karapace(self) -> pulumi.Output[Optional[builtins.bool]]:
|
|
1237
1238
|
"""
|
|
1238
1239
|
Switch the service to use [Karapace](https://aiven.io/docs/products/kafka/karapace) for schema registry and REST proxy.
|
|
1239
1240
|
"""
|
|
@@ -1241,7 +1242,7 @@ class Kafka(pulumi.CustomResource):
|
|
|
1241
1242
|
|
|
1242
1243
|
@property
|
|
1243
1244
|
@pulumi.getter(name="maintenanceWindowDow")
|
|
1244
|
-
def maintenance_window_dow(self) -> pulumi.Output[Optional[str]]:
|
|
1245
|
+
def maintenance_window_dow(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
1245
1246
|
"""
|
|
1246
1247
|
Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
1247
1248
|
"""
|
|
@@ -1249,7 +1250,7 @@ class Kafka(pulumi.CustomResource):
|
|
|
1249
1250
|
|
|
1250
1251
|
@property
|
|
1251
1252
|
@pulumi.getter(name="maintenanceWindowTime")
|
|
1252
|
-
def maintenance_window_time(self) -> pulumi.Output[Optional[str]]:
|
|
1253
|
+
def maintenance_window_time(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
1253
1254
|
"""
|
|
1254
1255
|
Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
1255
1256
|
"""
|
|
@@ -1257,7 +1258,7 @@ class Kafka(pulumi.CustomResource):
|
|
|
1257
1258
|
|
|
1258
1259
|
@property
|
|
1259
1260
|
@pulumi.getter
|
|
1260
|
-
def plan(self) -> pulumi.Output[str]:
|
|
1261
|
+
def plan(self) -> pulumi.Output[builtins.str]:
|
|
1261
1262
|
"""
|
|
1262
1263
|
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
1264
|
"""
|
|
@@ -1265,7 +1266,7 @@ class Kafka(pulumi.CustomResource):
|
|
|
1265
1266
|
|
|
1266
1267
|
@property
|
|
1267
1268
|
@pulumi.getter
|
|
1268
|
-
def project(self) -> pulumi.Output[str]:
|
|
1269
|
+
def project(self) -> pulumi.Output[builtins.str]:
|
|
1269
1270
|
"""
|
|
1270
1271
|
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
1272
|
"""
|
|
@@ -1273,7 +1274,7 @@ class Kafka(pulumi.CustomResource):
|
|
|
1273
1274
|
|
|
1274
1275
|
@property
|
|
1275
1276
|
@pulumi.getter(name="projectVpcId")
|
|
1276
|
-
def project_vpc_id(self) -> pulumi.Output[str]:
|
|
1277
|
+
def project_vpc_id(self) -> pulumi.Output[builtins.str]:
|
|
1277
1278
|
"""
|
|
1278
1279
|
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
1280
|
"""
|
|
@@ -1281,7 +1282,7 @@ class Kafka(pulumi.CustomResource):
|
|
|
1281
1282
|
|
|
1282
1283
|
@property
|
|
1283
1284
|
@pulumi.getter(name="serviceHost")
|
|
1284
|
-
def service_host(self) -> pulumi.Output[str]:
|
|
1285
|
+
def service_host(self) -> pulumi.Output[builtins.str]:
|
|
1285
1286
|
"""
|
|
1286
1287
|
The hostname of the service.
|
|
1287
1288
|
"""
|
|
@@ -1297,7 +1298,7 @@ class Kafka(pulumi.CustomResource):
|
|
|
1297
1298
|
|
|
1298
1299
|
@property
|
|
1299
1300
|
@pulumi.getter(name="serviceName")
|
|
1300
|
-
def service_name(self) -> pulumi.Output[str]:
|
|
1301
|
+
def service_name(self) -> pulumi.Output[builtins.str]:
|
|
1301
1302
|
"""
|
|
1302
1303
|
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
1304
|
"""
|
|
@@ -1305,7 +1306,7 @@ class Kafka(pulumi.CustomResource):
|
|
|
1305
1306
|
|
|
1306
1307
|
@property
|
|
1307
1308
|
@pulumi.getter(name="servicePassword")
|
|
1308
|
-
def service_password(self) -> pulumi.Output[str]:
|
|
1309
|
+
def service_password(self) -> pulumi.Output[builtins.str]:
|
|
1309
1310
|
"""
|
|
1310
1311
|
Password used for connecting to the service, if applicable
|
|
1311
1312
|
"""
|
|
@@ -1313,7 +1314,7 @@ class Kafka(pulumi.CustomResource):
|
|
|
1313
1314
|
|
|
1314
1315
|
@property
|
|
1315
1316
|
@pulumi.getter(name="servicePort")
|
|
1316
|
-
def service_port(self) -> pulumi.Output[int]:
|
|
1317
|
+
def service_port(self) -> pulumi.Output[builtins.int]:
|
|
1317
1318
|
"""
|
|
1318
1319
|
The port of the service
|
|
1319
1320
|
"""
|
|
@@ -1321,7 +1322,7 @@ class Kafka(pulumi.CustomResource):
|
|
|
1321
1322
|
|
|
1322
1323
|
@property
|
|
1323
1324
|
@pulumi.getter(name="serviceType")
|
|
1324
|
-
def service_type(self) -> pulumi.Output[str]:
|
|
1325
|
+
def service_type(self) -> pulumi.Output[builtins.str]:
|
|
1325
1326
|
"""
|
|
1326
1327
|
Aiven internal service type code
|
|
1327
1328
|
"""
|
|
@@ -1329,7 +1330,7 @@ class Kafka(pulumi.CustomResource):
|
|
|
1329
1330
|
|
|
1330
1331
|
@property
|
|
1331
1332
|
@pulumi.getter(name="serviceUri")
|
|
1332
|
-
def service_uri(self) -> pulumi.Output[str]:
|
|
1333
|
+
def service_uri(self) -> pulumi.Output[builtins.str]:
|
|
1333
1334
|
"""
|
|
1334
1335
|
URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
1335
1336
|
"""
|
|
@@ -1337,7 +1338,7 @@ class Kafka(pulumi.CustomResource):
|
|
|
1337
1338
|
|
|
1338
1339
|
@property
|
|
1339
1340
|
@pulumi.getter(name="serviceUsername")
|
|
1340
|
-
def service_username(self) -> pulumi.Output[str]:
|
|
1341
|
+
def service_username(self) -> pulumi.Output[builtins.str]:
|
|
1341
1342
|
"""
|
|
1342
1343
|
Username used for connecting to the service, if applicable
|
|
1343
1344
|
"""
|
|
@@ -1345,7 +1346,7 @@ class Kafka(pulumi.CustomResource):
|
|
|
1345
1346
|
|
|
1346
1347
|
@property
|
|
1347
1348
|
@pulumi.getter
|
|
1348
|
-
def state(self) -> pulumi.Output[str]:
|
|
1349
|
+
def state(self) -> pulumi.Output[builtins.str]:
|
|
1349
1350
|
"""
|
|
1350
1351
|
Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
1351
1352
|
"""
|
|
@@ -1353,7 +1354,7 @@ class Kafka(pulumi.CustomResource):
|
|
|
1353
1354
|
|
|
1354
1355
|
@property
|
|
1355
1356
|
@pulumi.getter(name="staticIps")
|
|
1356
|
-
def static_ips(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
1357
|
+
def static_ips(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
|
|
1357
1358
|
"""
|
|
1358
1359
|
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
1360
|
"""
|
|
@@ -1377,7 +1378,7 @@ class Kafka(pulumi.CustomResource):
|
|
|
1377
1378
|
|
|
1378
1379
|
@property
|
|
1379
1380
|
@pulumi.getter(name="terminationProtection")
|
|
1380
|
-
def termination_protection(self) -> pulumi.Output[Optional[bool]]:
|
|
1381
|
+
def termination_protection(self) -> pulumi.Output[Optional[builtins.bool]]:
|
|
1381
1382
|
"""
|
|
1382
1383
|
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
1384
|
"""
|