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