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/cassandra.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,40 +21,40 @@ __all__ = ['CassandraArgs', 'Cassandra']
|
|
|
22
21
|
@pulumi.input_type
|
|
23
22
|
class CassandraArgs:
|
|
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[
|
|
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,
|
|
29
28
|
cassandra: Optional[pulumi.Input['CassandraCassandraArgs']] = None,
|
|
30
29
|
cassandra_user_config: Optional[pulumi.Input['CassandraCassandraUserConfigArgs']] = None,
|
|
31
|
-
cloud_name: Optional[pulumi.Input[
|
|
32
|
-
disk_space: Optional[pulumi.Input[
|
|
33
|
-
maintenance_window_dow: Optional[pulumi.Input[
|
|
34
|
-
maintenance_window_time: Optional[pulumi.Input[
|
|
35
|
-
project_vpc_id: Optional[pulumi.Input[
|
|
30
|
+
cloud_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
31
|
+
disk_space: Optional[pulumi.Input[_builtins.str]] = None,
|
|
32
|
+
maintenance_window_dow: Optional[pulumi.Input[_builtins.str]] = None,
|
|
33
|
+
maintenance_window_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
34
|
+
project_vpc_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
36
35
|
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input['CassandraServiceIntegrationArgs']]]] = None,
|
|
37
|
-
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
36
|
+
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
38
37
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input['CassandraTagArgs']]]] = None,
|
|
39
38
|
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input['CassandraTechEmailArgs']]]] = None,
|
|
40
|
-
termination_protection: Optional[pulumi.Input[
|
|
39
|
+
termination_protection: Optional[pulumi.Input[_builtins.bool]] = None):
|
|
41
40
|
"""
|
|
42
41
|
The set of arguments for constructing a Cassandra resource.
|
|
43
|
-
:param pulumi.Input[
|
|
44
|
-
:param pulumi.Input[
|
|
45
|
-
:param pulumi.Input[
|
|
46
|
-
:param pulumi.Input[
|
|
42
|
+
: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).
|
|
43
|
+
: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.
|
|
44
|
+
: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.
|
|
45
|
+
: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.
|
|
47
46
|
:param pulumi.Input['CassandraCassandraArgs'] cassandra: Values provided by the Cassandra server.
|
|
48
47
|
:param pulumi.Input['CassandraCassandraUserConfigArgs'] cassandra_user_config: Cassandra user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
49
|
-
:param pulumi.Input[
|
|
50
|
-
:param pulumi.Input[
|
|
51
|
-
:param pulumi.Input[
|
|
52
|
-
:param pulumi.Input[
|
|
53
|
-
:param pulumi.Input[
|
|
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.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.
|
|
50
|
+
:param pulumi.Input[_builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
51
|
+
:param pulumi.Input[_builtins.str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
52
|
+
: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.
|
|
54
53
|
:param pulumi.Input[Sequence[pulumi.Input['CassandraServiceIntegrationArgs']]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
55
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
54
|
+
: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
|
|
56
55
|
:param pulumi.Input[Sequence[pulumi.Input['CassandraTagArgs']]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
57
56
|
:param pulumi.Input[Sequence[pulumi.Input['CassandraTechEmailArgs']]] 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.
|
|
58
|
-
:param pulumi.Input[
|
|
57
|
+
: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.
|
|
59
58
|
"""
|
|
60
59
|
pulumi.set(__self__, "plan", plan)
|
|
61
60
|
pulumi.set(__self__, "project", project)
|
|
@@ -90,55 +89,55 @@ class CassandraArgs:
|
|
|
90
89
|
if termination_protection is not None:
|
|
91
90
|
pulumi.set(__self__, "termination_protection", termination_protection)
|
|
92
91
|
|
|
93
|
-
@property
|
|
92
|
+
@_builtins.property
|
|
94
93
|
@pulumi.getter
|
|
95
|
-
def plan(self) -> pulumi.Input[
|
|
94
|
+
def plan(self) -> pulumi.Input[_builtins.str]:
|
|
96
95
|
"""
|
|
97
96
|
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).
|
|
98
97
|
"""
|
|
99
98
|
return pulumi.get(self, "plan")
|
|
100
99
|
|
|
101
100
|
@plan.setter
|
|
102
|
-
def plan(self, value: pulumi.Input[
|
|
101
|
+
def plan(self, value: pulumi.Input[_builtins.str]):
|
|
103
102
|
pulumi.set(self, "plan", value)
|
|
104
103
|
|
|
105
|
-
@property
|
|
104
|
+
@_builtins.property
|
|
106
105
|
@pulumi.getter
|
|
107
|
-
def project(self) -> pulumi.Input[
|
|
106
|
+
def project(self) -> pulumi.Input[_builtins.str]:
|
|
108
107
|
"""
|
|
109
108
|
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.
|
|
110
109
|
"""
|
|
111
110
|
return pulumi.get(self, "project")
|
|
112
111
|
|
|
113
112
|
@project.setter
|
|
114
|
-
def project(self, value: pulumi.Input[
|
|
113
|
+
def project(self, value: pulumi.Input[_builtins.str]):
|
|
115
114
|
pulumi.set(self, "project", value)
|
|
116
115
|
|
|
117
|
-
@property
|
|
116
|
+
@_builtins.property
|
|
118
117
|
@pulumi.getter(name="serviceName")
|
|
119
|
-
def service_name(self) -> pulumi.Input[
|
|
118
|
+
def service_name(self) -> pulumi.Input[_builtins.str]:
|
|
120
119
|
"""
|
|
121
120
|
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.
|
|
122
121
|
"""
|
|
123
122
|
return pulumi.get(self, "service_name")
|
|
124
123
|
|
|
125
124
|
@service_name.setter
|
|
126
|
-
def service_name(self, value: pulumi.Input[
|
|
125
|
+
def service_name(self, value: pulumi.Input[_builtins.str]):
|
|
127
126
|
pulumi.set(self, "service_name", value)
|
|
128
127
|
|
|
129
|
-
@property
|
|
128
|
+
@_builtins.property
|
|
130
129
|
@pulumi.getter(name="additionalDiskSpace")
|
|
131
|
-
def additional_disk_space(self) -> Optional[pulumi.Input[
|
|
130
|
+
def additional_disk_space(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
132
131
|
"""
|
|
133
132
|
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.
|
|
134
133
|
"""
|
|
135
134
|
return pulumi.get(self, "additional_disk_space")
|
|
136
135
|
|
|
137
136
|
@additional_disk_space.setter
|
|
138
|
-
def additional_disk_space(self, value: Optional[pulumi.Input[
|
|
137
|
+
def additional_disk_space(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
139
138
|
pulumi.set(self, "additional_disk_space", value)
|
|
140
139
|
|
|
141
|
-
@property
|
|
140
|
+
@_builtins.property
|
|
142
141
|
@pulumi.getter
|
|
143
142
|
def cassandra(self) -> Optional[pulumi.Input['CassandraCassandraArgs']]:
|
|
144
143
|
"""
|
|
@@ -150,7 +149,7 @@ class CassandraArgs:
|
|
|
150
149
|
def cassandra(self, value: Optional[pulumi.Input['CassandraCassandraArgs']]):
|
|
151
150
|
pulumi.set(self, "cassandra", value)
|
|
152
151
|
|
|
153
|
-
@property
|
|
152
|
+
@_builtins.property
|
|
154
153
|
@pulumi.getter(name="cassandraUserConfig")
|
|
155
154
|
def cassandra_user_config(self) -> Optional[pulumi.Input['CassandraCassandraUserConfigArgs']]:
|
|
156
155
|
"""
|
|
@@ -162,68 +161,68 @@ class CassandraArgs:
|
|
|
162
161
|
def cassandra_user_config(self, value: Optional[pulumi.Input['CassandraCassandraUserConfigArgs']]):
|
|
163
162
|
pulumi.set(self, "cassandra_user_config", value)
|
|
164
163
|
|
|
165
|
-
@property
|
|
164
|
+
@_builtins.property
|
|
166
165
|
@pulumi.getter(name="cloudName")
|
|
167
|
-
def cloud_name(self) -> Optional[pulumi.Input[
|
|
166
|
+
def cloud_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
168
167
|
"""
|
|
169
168
|
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.
|
|
170
169
|
"""
|
|
171
170
|
return pulumi.get(self, "cloud_name")
|
|
172
171
|
|
|
173
172
|
@cloud_name.setter
|
|
174
|
-
def cloud_name(self, value: Optional[pulumi.Input[
|
|
173
|
+
def cloud_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
175
174
|
pulumi.set(self, "cloud_name", value)
|
|
176
175
|
|
|
177
|
-
@property
|
|
176
|
+
@_builtins.property
|
|
178
177
|
@pulumi.getter(name="diskSpace")
|
|
179
178
|
@_utilities.deprecated("""This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""")
|
|
180
|
-
def disk_space(self) -> Optional[pulumi.Input[
|
|
179
|
+
def disk_space(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
181
180
|
"""
|
|
182
181
|
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
183
182
|
"""
|
|
184
183
|
return pulumi.get(self, "disk_space")
|
|
185
184
|
|
|
186
185
|
@disk_space.setter
|
|
187
|
-
def disk_space(self, value: Optional[pulumi.Input[
|
|
186
|
+
def disk_space(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
188
187
|
pulumi.set(self, "disk_space", value)
|
|
189
188
|
|
|
190
|
-
@property
|
|
189
|
+
@_builtins.property
|
|
191
190
|
@pulumi.getter(name="maintenanceWindowDow")
|
|
192
|
-
def maintenance_window_dow(self) -> Optional[pulumi.Input[
|
|
191
|
+
def maintenance_window_dow(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
193
192
|
"""
|
|
194
193
|
Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
195
194
|
"""
|
|
196
195
|
return pulumi.get(self, "maintenance_window_dow")
|
|
197
196
|
|
|
198
197
|
@maintenance_window_dow.setter
|
|
199
|
-
def maintenance_window_dow(self, value: Optional[pulumi.Input[
|
|
198
|
+
def maintenance_window_dow(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
200
199
|
pulumi.set(self, "maintenance_window_dow", value)
|
|
201
200
|
|
|
202
|
-
@property
|
|
201
|
+
@_builtins.property
|
|
203
202
|
@pulumi.getter(name="maintenanceWindowTime")
|
|
204
|
-
def maintenance_window_time(self) -> Optional[pulumi.Input[
|
|
203
|
+
def maintenance_window_time(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
205
204
|
"""
|
|
206
205
|
Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
207
206
|
"""
|
|
208
207
|
return pulumi.get(self, "maintenance_window_time")
|
|
209
208
|
|
|
210
209
|
@maintenance_window_time.setter
|
|
211
|
-
def maintenance_window_time(self, value: Optional[pulumi.Input[
|
|
210
|
+
def maintenance_window_time(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
212
211
|
pulumi.set(self, "maintenance_window_time", value)
|
|
213
212
|
|
|
214
|
-
@property
|
|
213
|
+
@_builtins.property
|
|
215
214
|
@pulumi.getter(name="projectVpcId")
|
|
216
|
-
def project_vpc_id(self) -> Optional[pulumi.Input[
|
|
215
|
+
def project_vpc_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
217
216
|
"""
|
|
218
217
|
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.
|
|
219
218
|
"""
|
|
220
219
|
return pulumi.get(self, "project_vpc_id")
|
|
221
220
|
|
|
222
221
|
@project_vpc_id.setter
|
|
223
|
-
def project_vpc_id(self, value: Optional[pulumi.Input[
|
|
222
|
+
def project_vpc_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
224
223
|
pulumi.set(self, "project_vpc_id", value)
|
|
225
224
|
|
|
226
|
-
@property
|
|
225
|
+
@_builtins.property
|
|
227
226
|
@pulumi.getter(name="serviceIntegrations")
|
|
228
227
|
def service_integrations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['CassandraServiceIntegrationArgs']]]]:
|
|
229
228
|
"""
|
|
@@ -235,19 +234,19 @@ class CassandraArgs:
|
|
|
235
234
|
def service_integrations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['CassandraServiceIntegrationArgs']]]]):
|
|
236
235
|
pulumi.set(self, "service_integrations", value)
|
|
237
236
|
|
|
238
|
-
@property
|
|
237
|
+
@_builtins.property
|
|
239
238
|
@pulumi.getter(name="staticIps")
|
|
240
|
-
def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
239
|
+
def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
241
240
|
"""
|
|
242
241
|
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
|
|
243
242
|
"""
|
|
244
243
|
return pulumi.get(self, "static_ips")
|
|
245
244
|
|
|
246
245
|
@static_ips.setter
|
|
247
|
-
def static_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
246
|
+
def static_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
248
247
|
pulumi.set(self, "static_ips", value)
|
|
249
248
|
|
|
250
|
-
@property
|
|
249
|
+
@_builtins.property
|
|
251
250
|
@pulumi.getter
|
|
252
251
|
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['CassandraTagArgs']]]]:
|
|
253
252
|
"""
|
|
@@ -259,7 +258,7 @@ class CassandraArgs:
|
|
|
259
258
|
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['CassandraTagArgs']]]]):
|
|
260
259
|
pulumi.set(self, "tags", value)
|
|
261
260
|
|
|
262
|
-
@property
|
|
261
|
+
@_builtins.property
|
|
263
262
|
@pulumi.getter(name="techEmails")
|
|
264
263
|
def tech_emails(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['CassandraTechEmailArgs']]]]:
|
|
265
264
|
"""
|
|
@@ -271,79 +270,79 @@ class CassandraArgs:
|
|
|
271
270
|
def tech_emails(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['CassandraTechEmailArgs']]]]):
|
|
272
271
|
pulumi.set(self, "tech_emails", value)
|
|
273
272
|
|
|
274
|
-
@property
|
|
273
|
+
@_builtins.property
|
|
275
274
|
@pulumi.getter(name="terminationProtection")
|
|
276
|
-
def termination_protection(self) -> Optional[pulumi.Input[
|
|
275
|
+
def termination_protection(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
277
276
|
"""
|
|
278
277
|
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.
|
|
279
278
|
"""
|
|
280
279
|
return pulumi.get(self, "termination_protection")
|
|
281
280
|
|
|
282
281
|
@termination_protection.setter
|
|
283
|
-
def termination_protection(self, value: Optional[pulumi.Input[
|
|
282
|
+
def termination_protection(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
284
283
|
pulumi.set(self, "termination_protection", value)
|
|
285
284
|
|
|
286
285
|
|
|
287
286
|
@pulumi.input_type
|
|
288
287
|
class _CassandraState:
|
|
289
288
|
def __init__(__self__, *,
|
|
290
|
-
additional_disk_space: Optional[pulumi.Input[
|
|
289
|
+
additional_disk_space: Optional[pulumi.Input[_builtins.str]] = None,
|
|
291
290
|
cassandra: Optional[pulumi.Input['CassandraCassandraArgs']] = None,
|
|
292
291
|
cassandra_user_config: Optional[pulumi.Input['CassandraCassandraUserConfigArgs']] = None,
|
|
293
|
-
cloud_name: Optional[pulumi.Input[
|
|
292
|
+
cloud_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
294
293
|
components: Optional[pulumi.Input[Sequence[pulumi.Input['CassandraComponentArgs']]]] = None,
|
|
295
|
-
disk_space: Optional[pulumi.Input[
|
|
296
|
-
disk_space_cap: Optional[pulumi.Input[
|
|
297
|
-
disk_space_default: Optional[pulumi.Input[
|
|
298
|
-
disk_space_step: Optional[pulumi.Input[
|
|
299
|
-
disk_space_used: Optional[pulumi.Input[
|
|
300
|
-
maintenance_window_dow: Optional[pulumi.Input[
|
|
301
|
-
maintenance_window_time: Optional[pulumi.Input[
|
|
302
|
-
plan: Optional[pulumi.Input[
|
|
303
|
-
project: Optional[pulumi.Input[
|
|
304
|
-
project_vpc_id: Optional[pulumi.Input[
|
|
305
|
-
service_host: Optional[pulumi.Input[
|
|
294
|
+
disk_space: Optional[pulumi.Input[_builtins.str]] = None,
|
|
295
|
+
disk_space_cap: Optional[pulumi.Input[_builtins.str]] = None,
|
|
296
|
+
disk_space_default: Optional[pulumi.Input[_builtins.str]] = None,
|
|
297
|
+
disk_space_step: Optional[pulumi.Input[_builtins.str]] = None,
|
|
298
|
+
disk_space_used: Optional[pulumi.Input[_builtins.str]] = None,
|
|
299
|
+
maintenance_window_dow: Optional[pulumi.Input[_builtins.str]] = None,
|
|
300
|
+
maintenance_window_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
301
|
+
plan: Optional[pulumi.Input[_builtins.str]] = None,
|
|
302
|
+
project: Optional[pulumi.Input[_builtins.str]] = None,
|
|
303
|
+
project_vpc_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
304
|
+
service_host: Optional[pulumi.Input[_builtins.str]] = None,
|
|
306
305
|
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input['CassandraServiceIntegrationArgs']]]] = None,
|
|
307
|
-
service_name: Optional[pulumi.Input[
|
|
308
|
-
service_password: Optional[pulumi.Input[
|
|
309
|
-
service_port: Optional[pulumi.Input[
|
|
310
|
-
service_type: Optional[pulumi.Input[
|
|
311
|
-
service_uri: Optional[pulumi.Input[
|
|
312
|
-
service_username: Optional[pulumi.Input[
|
|
313
|
-
state: Optional[pulumi.Input[
|
|
314
|
-
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
306
|
+
service_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
307
|
+
service_password: Optional[pulumi.Input[_builtins.str]] = None,
|
|
308
|
+
service_port: Optional[pulumi.Input[_builtins.int]] = None,
|
|
309
|
+
service_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
310
|
+
service_uri: Optional[pulumi.Input[_builtins.str]] = None,
|
|
311
|
+
service_username: Optional[pulumi.Input[_builtins.str]] = None,
|
|
312
|
+
state: Optional[pulumi.Input[_builtins.str]] = None,
|
|
313
|
+
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
315
314
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input['CassandraTagArgs']]]] = None,
|
|
316
315
|
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input['CassandraTechEmailArgs']]]] = None,
|
|
317
|
-
termination_protection: Optional[pulumi.Input[
|
|
316
|
+
termination_protection: Optional[pulumi.Input[_builtins.bool]] = None):
|
|
318
317
|
"""
|
|
319
318
|
Input properties used for looking up and filtering Cassandra resources.
|
|
320
|
-
:param pulumi.Input[
|
|
319
|
+
: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.
|
|
321
320
|
:param pulumi.Input['CassandraCassandraArgs'] cassandra: Values provided by the Cassandra server.
|
|
322
321
|
:param pulumi.Input['CassandraCassandraUserConfigArgs'] cassandra_user_config: Cassandra user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
323
|
-
:param pulumi.Input[
|
|
322
|
+
: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.
|
|
324
323
|
:param pulumi.Input[Sequence[pulumi.Input['CassandraComponentArgs']]] components: Service component information objects
|
|
325
|
-
:param pulumi.Input[
|
|
326
|
-
:param pulumi.Input[
|
|
327
|
-
:param pulumi.Input[
|
|
328
|
-
:param pulumi.Input[
|
|
329
|
-
:param pulumi.Input[
|
|
330
|
-
:param pulumi.Input[
|
|
331
|
-
:param pulumi.Input[
|
|
332
|
-
:param pulumi.Input[
|
|
333
|
-
:param pulumi.Input[
|
|
334
|
-
:param pulumi.Input[
|
|
335
|
-
:param pulumi.Input[
|
|
324
|
+
: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.
|
|
325
|
+
: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.
|
|
326
|
+
: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`
|
|
327
|
+
: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.
|
|
328
|
+
:param pulumi.Input[_builtins.str] disk_space_used: Disk space that service is currently using
|
|
329
|
+
:param pulumi.Input[_builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
330
|
+
:param pulumi.Input[_builtins.str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
331
|
+
: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).
|
|
332
|
+
: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.
|
|
333
|
+
: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.
|
|
334
|
+
:param pulumi.Input[_builtins.str] service_host: The hostname of the service.
|
|
336
335
|
:param pulumi.Input[Sequence[pulumi.Input['CassandraServiceIntegrationArgs']]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
337
|
-
:param pulumi.Input[
|
|
338
|
-
:param pulumi.Input[
|
|
339
|
-
:param pulumi.Input[
|
|
340
|
-
:param pulumi.Input[
|
|
341
|
-
:param pulumi.Input[
|
|
342
|
-
:param pulumi.Input[
|
|
343
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
336
|
+
: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.
|
|
337
|
+
:param pulumi.Input[_builtins.str] service_password: Password used for connecting to the service, if applicable
|
|
338
|
+
:param pulumi.Input[_builtins.int] service_port: The port of the service
|
|
339
|
+
:param pulumi.Input[_builtins.str] service_type: Aiven internal service type code
|
|
340
|
+
:param pulumi.Input[_builtins.str] service_uri: URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
341
|
+
:param pulumi.Input[_builtins.str] service_username: Username used for connecting to the service, if applicable
|
|
342
|
+
: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
|
|
344
343
|
:param pulumi.Input[Sequence[pulumi.Input['CassandraTagArgs']]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
345
344
|
:param pulumi.Input[Sequence[pulumi.Input['CassandraTechEmailArgs']]] 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.
|
|
346
|
-
:param pulumi.Input[
|
|
345
|
+
: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.
|
|
347
346
|
"""
|
|
348
347
|
if additional_disk_space is not None:
|
|
349
348
|
pulumi.set(__self__, "additional_disk_space", additional_disk_space)
|
|
@@ -408,19 +407,19 @@ class _CassandraState:
|
|
|
408
407
|
if termination_protection is not None:
|
|
409
408
|
pulumi.set(__self__, "termination_protection", termination_protection)
|
|
410
409
|
|
|
411
|
-
@property
|
|
410
|
+
@_builtins.property
|
|
412
411
|
@pulumi.getter(name="additionalDiskSpace")
|
|
413
|
-
def additional_disk_space(self) -> Optional[pulumi.Input[
|
|
412
|
+
def additional_disk_space(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
414
413
|
"""
|
|
415
414
|
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.
|
|
416
415
|
"""
|
|
417
416
|
return pulumi.get(self, "additional_disk_space")
|
|
418
417
|
|
|
419
418
|
@additional_disk_space.setter
|
|
420
|
-
def additional_disk_space(self, value: Optional[pulumi.Input[
|
|
419
|
+
def additional_disk_space(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
421
420
|
pulumi.set(self, "additional_disk_space", value)
|
|
422
421
|
|
|
423
|
-
@property
|
|
422
|
+
@_builtins.property
|
|
424
423
|
@pulumi.getter
|
|
425
424
|
def cassandra(self) -> Optional[pulumi.Input['CassandraCassandraArgs']]:
|
|
426
425
|
"""
|
|
@@ -432,7 +431,7 @@ class _CassandraState:
|
|
|
432
431
|
def cassandra(self, value: Optional[pulumi.Input['CassandraCassandraArgs']]):
|
|
433
432
|
pulumi.set(self, "cassandra", value)
|
|
434
433
|
|
|
435
|
-
@property
|
|
434
|
+
@_builtins.property
|
|
436
435
|
@pulumi.getter(name="cassandraUserConfig")
|
|
437
436
|
def cassandra_user_config(self) -> Optional[pulumi.Input['CassandraCassandraUserConfigArgs']]:
|
|
438
437
|
"""
|
|
@@ -444,19 +443,19 @@ class _CassandraState:
|
|
|
444
443
|
def cassandra_user_config(self, value: Optional[pulumi.Input['CassandraCassandraUserConfigArgs']]):
|
|
445
444
|
pulumi.set(self, "cassandra_user_config", value)
|
|
446
445
|
|
|
447
|
-
@property
|
|
446
|
+
@_builtins.property
|
|
448
447
|
@pulumi.getter(name="cloudName")
|
|
449
|
-
def cloud_name(self) -> Optional[pulumi.Input[
|
|
448
|
+
def cloud_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
450
449
|
"""
|
|
451
450
|
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.
|
|
452
451
|
"""
|
|
453
452
|
return pulumi.get(self, "cloud_name")
|
|
454
453
|
|
|
455
454
|
@cloud_name.setter
|
|
456
|
-
def cloud_name(self, value: Optional[pulumi.Input[
|
|
455
|
+
def cloud_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
457
456
|
pulumi.set(self, "cloud_name", value)
|
|
458
457
|
|
|
459
|
-
@property
|
|
458
|
+
@_builtins.property
|
|
460
459
|
@pulumi.getter
|
|
461
460
|
def components(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['CassandraComponentArgs']]]]:
|
|
462
461
|
"""
|
|
@@ -468,141 +467,141 @@ class _CassandraState:
|
|
|
468
467
|
def components(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['CassandraComponentArgs']]]]):
|
|
469
468
|
pulumi.set(self, "components", value)
|
|
470
469
|
|
|
471
|
-
@property
|
|
470
|
+
@_builtins.property
|
|
472
471
|
@pulumi.getter(name="diskSpace")
|
|
473
472
|
@_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.""")
|
|
474
|
-
def disk_space(self) -> Optional[pulumi.Input[
|
|
473
|
+
def disk_space(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
475
474
|
"""
|
|
476
475
|
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
477
476
|
"""
|
|
478
477
|
return pulumi.get(self, "disk_space")
|
|
479
478
|
|
|
480
479
|
@disk_space.setter
|
|
481
|
-
def disk_space(self, value: Optional[pulumi.Input[
|
|
480
|
+
def disk_space(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
482
481
|
pulumi.set(self, "disk_space", value)
|
|
483
482
|
|
|
484
|
-
@property
|
|
483
|
+
@_builtins.property
|
|
485
484
|
@pulumi.getter(name="diskSpaceCap")
|
|
486
|
-
def disk_space_cap(self) -> Optional[pulumi.Input[
|
|
485
|
+
def disk_space_cap(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
487
486
|
"""
|
|
488
487
|
The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
489
488
|
"""
|
|
490
489
|
return pulumi.get(self, "disk_space_cap")
|
|
491
490
|
|
|
492
491
|
@disk_space_cap.setter
|
|
493
|
-
def disk_space_cap(self, value: Optional[pulumi.Input[
|
|
492
|
+
def disk_space_cap(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
494
493
|
pulumi.set(self, "disk_space_cap", value)
|
|
495
494
|
|
|
496
|
-
@property
|
|
495
|
+
@_builtins.property
|
|
497
496
|
@pulumi.getter(name="diskSpaceDefault")
|
|
498
|
-
def disk_space_default(self) -> Optional[pulumi.Input[
|
|
497
|
+
def disk_space_default(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
499
498
|
"""
|
|
500
499
|
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`
|
|
501
500
|
"""
|
|
502
501
|
return pulumi.get(self, "disk_space_default")
|
|
503
502
|
|
|
504
503
|
@disk_space_default.setter
|
|
505
|
-
def disk_space_default(self, value: Optional[pulumi.Input[
|
|
504
|
+
def disk_space_default(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
506
505
|
pulumi.set(self, "disk_space_default", value)
|
|
507
506
|
|
|
508
|
-
@property
|
|
507
|
+
@_builtins.property
|
|
509
508
|
@pulumi.getter(name="diskSpaceStep")
|
|
510
|
-
def disk_space_step(self) -> Optional[pulumi.Input[
|
|
509
|
+
def disk_space_step(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
511
510
|
"""
|
|
512
511
|
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.
|
|
513
512
|
"""
|
|
514
513
|
return pulumi.get(self, "disk_space_step")
|
|
515
514
|
|
|
516
515
|
@disk_space_step.setter
|
|
517
|
-
def disk_space_step(self, value: Optional[pulumi.Input[
|
|
516
|
+
def disk_space_step(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
518
517
|
pulumi.set(self, "disk_space_step", value)
|
|
519
518
|
|
|
520
|
-
@property
|
|
519
|
+
@_builtins.property
|
|
521
520
|
@pulumi.getter(name="diskSpaceUsed")
|
|
522
521
|
@_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.""")
|
|
523
|
-
def disk_space_used(self) -> Optional[pulumi.Input[
|
|
522
|
+
def disk_space_used(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
524
523
|
"""
|
|
525
524
|
Disk space that service is currently using
|
|
526
525
|
"""
|
|
527
526
|
return pulumi.get(self, "disk_space_used")
|
|
528
527
|
|
|
529
528
|
@disk_space_used.setter
|
|
530
|
-
def disk_space_used(self, value: Optional[pulumi.Input[
|
|
529
|
+
def disk_space_used(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
531
530
|
pulumi.set(self, "disk_space_used", value)
|
|
532
531
|
|
|
533
|
-
@property
|
|
532
|
+
@_builtins.property
|
|
534
533
|
@pulumi.getter(name="maintenanceWindowDow")
|
|
535
|
-
def maintenance_window_dow(self) -> Optional[pulumi.Input[
|
|
534
|
+
def maintenance_window_dow(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
536
535
|
"""
|
|
537
536
|
Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
538
537
|
"""
|
|
539
538
|
return pulumi.get(self, "maintenance_window_dow")
|
|
540
539
|
|
|
541
540
|
@maintenance_window_dow.setter
|
|
542
|
-
def maintenance_window_dow(self, value: Optional[pulumi.Input[
|
|
541
|
+
def maintenance_window_dow(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
543
542
|
pulumi.set(self, "maintenance_window_dow", value)
|
|
544
543
|
|
|
545
|
-
@property
|
|
544
|
+
@_builtins.property
|
|
546
545
|
@pulumi.getter(name="maintenanceWindowTime")
|
|
547
|
-
def maintenance_window_time(self) -> Optional[pulumi.Input[
|
|
546
|
+
def maintenance_window_time(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
548
547
|
"""
|
|
549
548
|
Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
550
549
|
"""
|
|
551
550
|
return pulumi.get(self, "maintenance_window_time")
|
|
552
551
|
|
|
553
552
|
@maintenance_window_time.setter
|
|
554
|
-
def maintenance_window_time(self, value: Optional[pulumi.Input[
|
|
553
|
+
def maintenance_window_time(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
555
554
|
pulumi.set(self, "maintenance_window_time", value)
|
|
556
555
|
|
|
557
|
-
@property
|
|
556
|
+
@_builtins.property
|
|
558
557
|
@pulumi.getter
|
|
559
|
-
def plan(self) -> Optional[pulumi.Input[
|
|
558
|
+
def plan(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
560
559
|
"""
|
|
561
560
|
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).
|
|
562
561
|
"""
|
|
563
562
|
return pulumi.get(self, "plan")
|
|
564
563
|
|
|
565
564
|
@plan.setter
|
|
566
|
-
def plan(self, value: Optional[pulumi.Input[
|
|
565
|
+
def plan(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
567
566
|
pulumi.set(self, "plan", value)
|
|
568
567
|
|
|
569
|
-
@property
|
|
568
|
+
@_builtins.property
|
|
570
569
|
@pulumi.getter
|
|
571
|
-
def project(self) -> Optional[pulumi.Input[
|
|
570
|
+
def project(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
572
571
|
"""
|
|
573
572
|
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.
|
|
574
573
|
"""
|
|
575
574
|
return pulumi.get(self, "project")
|
|
576
575
|
|
|
577
576
|
@project.setter
|
|
578
|
-
def project(self, value: Optional[pulumi.Input[
|
|
577
|
+
def project(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
579
578
|
pulumi.set(self, "project", value)
|
|
580
579
|
|
|
581
|
-
@property
|
|
580
|
+
@_builtins.property
|
|
582
581
|
@pulumi.getter(name="projectVpcId")
|
|
583
|
-
def project_vpc_id(self) -> Optional[pulumi.Input[
|
|
582
|
+
def project_vpc_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
584
583
|
"""
|
|
585
584
|
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.
|
|
586
585
|
"""
|
|
587
586
|
return pulumi.get(self, "project_vpc_id")
|
|
588
587
|
|
|
589
588
|
@project_vpc_id.setter
|
|
590
|
-
def project_vpc_id(self, value: Optional[pulumi.Input[
|
|
589
|
+
def project_vpc_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
591
590
|
pulumi.set(self, "project_vpc_id", value)
|
|
592
591
|
|
|
593
|
-
@property
|
|
592
|
+
@_builtins.property
|
|
594
593
|
@pulumi.getter(name="serviceHost")
|
|
595
|
-
def service_host(self) -> Optional[pulumi.Input[
|
|
594
|
+
def service_host(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
596
595
|
"""
|
|
597
596
|
The hostname of the service.
|
|
598
597
|
"""
|
|
599
598
|
return pulumi.get(self, "service_host")
|
|
600
599
|
|
|
601
600
|
@service_host.setter
|
|
602
|
-
def service_host(self, value: Optional[pulumi.Input[
|
|
601
|
+
def service_host(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
603
602
|
pulumi.set(self, "service_host", value)
|
|
604
603
|
|
|
605
|
-
@property
|
|
604
|
+
@_builtins.property
|
|
606
605
|
@pulumi.getter(name="serviceIntegrations")
|
|
607
606
|
def service_integrations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['CassandraServiceIntegrationArgs']]]]:
|
|
608
607
|
"""
|
|
@@ -614,100 +613,100 @@ class _CassandraState:
|
|
|
614
613
|
def service_integrations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['CassandraServiceIntegrationArgs']]]]):
|
|
615
614
|
pulumi.set(self, "service_integrations", value)
|
|
616
615
|
|
|
617
|
-
@property
|
|
616
|
+
@_builtins.property
|
|
618
617
|
@pulumi.getter(name="serviceName")
|
|
619
|
-
def service_name(self) -> Optional[pulumi.Input[
|
|
618
|
+
def service_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
620
619
|
"""
|
|
621
620
|
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.
|
|
622
621
|
"""
|
|
623
622
|
return pulumi.get(self, "service_name")
|
|
624
623
|
|
|
625
624
|
@service_name.setter
|
|
626
|
-
def service_name(self, value: Optional[pulumi.Input[
|
|
625
|
+
def service_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
627
626
|
pulumi.set(self, "service_name", value)
|
|
628
627
|
|
|
629
|
-
@property
|
|
628
|
+
@_builtins.property
|
|
630
629
|
@pulumi.getter(name="servicePassword")
|
|
631
|
-
def service_password(self) -> Optional[pulumi.Input[
|
|
630
|
+
def service_password(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
632
631
|
"""
|
|
633
632
|
Password used for connecting to the service, if applicable
|
|
634
633
|
"""
|
|
635
634
|
return pulumi.get(self, "service_password")
|
|
636
635
|
|
|
637
636
|
@service_password.setter
|
|
638
|
-
def service_password(self, value: Optional[pulumi.Input[
|
|
637
|
+
def service_password(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
639
638
|
pulumi.set(self, "service_password", value)
|
|
640
639
|
|
|
641
|
-
@property
|
|
640
|
+
@_builtins.property
|
|
642
641
|
@pulumi.getter(name="servicePort")
|
|
643
|
-
def service_port(self) -> Optional[pulumi.Input[
|
|
642
|
+
def service_port(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
644
643
|
"""
|
|
645
644
|
The port of the service
|
|
646
645
|
"""
|
|
647
646
|
return pulumi.get(self, "service_port")
|
|
648
647
|
|
|
649
648
|
@service_port.setter
|
|
650
|
-
def service_port(self, value: Optional[pulumi.Input[
|
|
649
|
+
def service_port(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
651
650
|
pulumi.set(self, "service_port", value)
|
|
652
651
|
|
|
653
|
-
@property
|
|
652
|
+
@_builtins.property
|
|
654
653
|
@pulumi.getter(name="serviceType")
|
|
655
|
-
def service_type(self) -> Optional[pulumi.Input[
|
|
654
|
+
def service_type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
656
655
|
"""
|
|
657
656
|
Aiven internal service type code
|
|
658
657
|
"""
|
|
659
658
|
return pulumi.get(self, "service_type")
|
|
660
659
|
|
|
661
660
|
@service_type.setter
|
|
662
|
-
def service_type(self, value: Optional[pulumi.Input[
|
|
661
|
+
def service_type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
663
662
|
pulumi.set(self, "service_type", value)
|
|
664
663
|
|
|
665
|
-
@property
|
|
664
|
+
@_builtins.property
|
|
666
665
|
@pulumi.getter(name="serviceUri")
|
|
667
|
-
def service_uri(self) -> Optional[pulumi.Input[
|
|
666
|
+
def service_uri(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
668
667
|
"""
|
|
669
668
|
URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
670
669
|
"""
|
|
671
670
|
return pulumi.get(self, "service_uri")
|
|
672
671
|
|
|
673
672
|
@service_uri.setter
|
|
674
|
-
def service_uri(self, value: Optional[pulumi.Input[
|
|
673
|
+
def service_uri(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
675
674
|
pulumi.set(self, "service_uri", value)
|
|
676
675
|
|
|
677
|
-
@property
|
|
676
|
+
@_builtins.property
|
|
678
677
|
@pulumi.getter(name="serviceUsername")
|
|
679
|
-
def service_username(self) -> Optional[pulumi.Input[
|
|
678
|
+
def service_username(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
680
679
|
"""
|
|
681
680
|
Username used for connecting to the service, if applicable
|
|
682
681
|
"""
|
|
683
682
|
return pulumi.get(self, "service_username")
|
|
684
683
|
|
|
685
684
|
@service_username.setter
|
|
686
|
-
def service_username(self, value: Optional[pulumi.Input[
|
|
685
|
+
def service_username(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
687
686
|
pulumi.set(self, "service_username", value)
|
|
688
687
|
|
|
689
|
-
@property
|
|
688
|
+
@_builtins.property
|
|
690
689
|
@pulumi.getter
|
|
691
|
-
def state(self) -> Optional[pulumi.Input[
|
|
690
|
+
def state(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
692
691
|
return pulumi.get(self, "state")
|
|
693
692
|
|
|
694
693
|
@state.setter
|
|
695
|
-
def state(self, value: Optional[pulumi.Input[
|
|
694
|
+
def state(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
696
695
|
pulumi.set(self, "state", value)
|
|
697
696
|
|
|
698
|
-
@property
|
|
697
|
+
@_builtins.property
|
|
699
698
|
@pulumi.getter(name="staticIps")
|
|
700
|
-
def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
699
|
+
def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
701
700
|
"""
|
|
702
701
|
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
|
|
703
702
|
"""
|
|
704
703
|
return pulumi.get(self, "static_ips")
|
|
705
704
|
|
|
706
705
|
@static_ips.setter
|
|
707
|
-
def static_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
706
|
+
def static_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
708
707
|
pulumi.set(self, "static_ips", value)
|
|
709
708
|
|
|
710
|
-
@property
|
|
709
|
+
@_builtins.property
|
|
711
710
|
@pulumi.getter
|
|
712
711
|
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['CassandraTagArgs']]]]:
|
|
713
712
|
"""
|
|
@@ -719,7 +718,7 @@ class _CassandraState:
|
|
|
719
718
|
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['CassandraTagArgs']]]]):
|
|
720
719
|
pulumi.set(self, "tags", value)
|
|
721
720
|
|
|
722
|
-
@property
|
|
721
|
+
@_builtins.property
|
|
723
722
|
@pulumi.getter(name="techEmails")
|
|
724
723
|
def tech_emails(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['CassandraTechEmailArgs']]]]:
|
|
725
724
|
"""
|
|
@@ -731,16 +730,16 @@ class _CassandraState:
|
|
|
731
730
|
def tech_emails(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['CassandraTechEmailArgs']]]]):
|
|
732
731
|
pulumi.set(self, "tech_emails", value)
|
|
733
732
|
|
|
734
|
-
@property
|
|
733
|
+
@_builtins.property
|
|
735
734
|
@pulumi.getter(name="terminationProtection")
|
|
736
|
-
def termination_protection(self) -> Optional[pulumi.Input[
|
|
735
|
+
def termination_protection(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
737
736
|
"""
|
|
738
737
|
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.
|
|
739
738
|
"""
|
|
740
739
|
return pulumi.get(self, "termination_protection")
|
|
741
740
|
|
|
742
741
|
@termination_protection.setter
|
|
743
|
-
def termination_protection(self, value: Optional[pulumi.Input[
|
|
742
|
+
def termination_protection(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
744
743
|
pulumi.set(self, "termination_protection", value)
|
|
745
744
|
|
|
746
745
|
|
|
@@ -750,22 +749,22 @@ class Cassandra(pulumi.CustomResource):
|
|
|
750
749
|
def __init__(__self__,
|
|
751
750
|
resource_name: str,
|
|
752
751
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
753
|
-
additional_disk_space: Optional[pulumi.Input[
|
|
752
|
+
additional_disk_space: Optional[pulumi.Input[_builtins.str]] = None,
|
|
754
753
|
cassandra: Optional[pulumi.Input[Union['CassandraCassandraArgs', 'CassandraCassandraArgsDict']]] = None,
|
|
755
754
|
cassandra_user_config: Optional[pulumi.Input[Union['CassandraCassandraUserConfigArgs', 'CassandraCassandraUserConfigArgsDict']]] = None,
|
|
756
|
-
cloud_name: Optional[pulumi.Input[
|
|
757
|
-
disk_space: Optional[pulumi.Input[
|
|
758
|
-
maintenance_window_dow: Optional[pulumi.Input[
|
|
759
|
-
maintenance_window_time: Optional[pulumi.Input[
|
|
760
|
-
plan: Optional[pulumi.Input[
|
|
761
|
-
project: Optional[pulumi.Input[
|
|
762
|
-
project_vpc_id: Optional[pulumi.Input[
|
|
755
|
+
cloud_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
756
|
+
disk_space: Optional[pulumi.Input[_builtins.str]] = None,
|
|
757
|
+
maintenance_window_dow: Optional[pulumi.Input[_builtins.str]] = None,
|
|
758
|
+
maintenance_window_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
759
|
+
plan: Optional[pulumi.Input[_builtins.str]] = None,
|
|
760
|
+
project: Optional[pulumi.Input[_builtins.str]] = None,
|
|
761
|
+
project_vpc_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
763
762
|
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['CassandraServiceIntegrationArgs', 'CassandraServiceIntegrationArgsDict']]]]] = None,
|
|
764
|
-
service_name: Optional[pulumi.Input[
|
|
765
|
-
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
763
|
+
service_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
764
|
+
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
766
765
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['CassandraTagArgs', 'CassandraTagArgsDict']]]]] = None,
|
|
767
766
|
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['CassandraTechEmailArgs', 'CassandraTechEmailArgsDict']]]]] = None,
|
|
768
|
-
termination_protection: Optional[pulumi.Input[
|
|
767
|
+
termination_protection: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
769
768
|
__props__=None):
|
|
770
769
|
"""
|
|
771
770
|
Creates and manages an [Aiven for Apache Cassandra®](https://aiven.io/docs/products/cassandra) service.
|
|
@@ -806,22 +805,22 @@ class Cassandra(pulumi.CustomResource):
|
|
|
806
805
|
|
|
807
806
|
:param str resource_name: The name of the resource.
|
|
808
807
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
809
|
-
:param pulumi.Input[
|
|
808
|
+
: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.
|
|
810
809
|
:param pulumi.Input[Union['CassandraCassandraArgs', 'CassandraCassandraArgsDict']] cassandra: Values provided by the Cassandra server.
|
|
811
810
|
:param pulumi.Input[Union['CassandraCassandraUserConfigArgs', 'CassandraCassandraUserConfigArgsDict']] cassandra_user_config: Cassandra user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
812
|
-
:param pulumi.Input[
|
|
813
|
-
:param pulumi.Input[
|
|
814
|
-
:param pulumi.Input[
|
|
815
|
-
:param pulumi.Input[
|
|
816
|
-
:param pulumi.Input[
|
|
817
|
-
:param pulumi.Input[
|
|
818
|
-
:param pulumi.Input[
|
|
811
|
+
: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.
|
|
812
|
+
: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.
|
|
813
|
+
:param pulumi.Input[_builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
814
|
+
:param pulumi.Input[_builtins.str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
815
|
+
: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).
|
|
816
|
+
: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.
|
|
817
|
+
: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.
|
|
819
818
|
:param pulumi.Input[Sequence[pulumi.Input[Union['CassandraServiceIntegrationArgs', 'CassandraServiceIntegrationArgsDict']]]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
820
|
-
:param pulumi.Input[
|
|
821
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
819
|
+
: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.
|
|
820
|
+
: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
|
|
822
821
|
:param pulumi.Input[Sequence[pulumi.Input[Union['CassandraTagArgs', 'CassandraTagArgsDict']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
823
822
|
:param pulumi.Input[Sequence[pulumi.Input[Union['CassandraTechEmailArgs', 'CassandraTechEmailArgsDict']]]] 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.
|
|
824
|
-
:param pulumi.Input[
|
|
823
|
+
: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.
|
|
825
824
|
"""
|
|
826
825
|
...
|
|
827
826
|
@overload
|
|
@@ -881,22 +880,22 @@ class Cassandra(pulumi.CustomResource):
|
|
|
881
880
|
def _internal_init(__self__,
|
|
882
881
|
resource_name: str,
|
|
883
882
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
884
|
-
additional_disk_space: Optional[pulumi.Input[
|
|
883
|
+
additional_disk_space: Optional[pulumi.Input[_builtins.str]] = None,
|
|
885
884
|
cassandra: Optional[pulumi.Input[Union['CassandraCassandraArgs', 'CassandraCassandraArgsDict']]] = None,
|
|
886
885
|
cassandra_user_config: Optional[pulumi.Input[Union['CassandraCassandraUserConfigArgs', 'CassandraCassandraUserConfigArgsDict']]] = None,
|
|
887
|
-
cloud_name: Optional[pulumi.Input[
|
|
888
|
-
disk_space: Optional[pulumi.Input[
|
|
889
|
-
maintenance_window_dow: Optional[pulumi.Input[
|
|
890
|
-
maintenance_window_time: Optional[pulumi.Input[
|
|
891
|
-
plan: Optional[pulumi.Input[
|
|
892
|
-
project: Optional[pulumi.Input[
|
|
893
|
-
project_vpc_id: Optional[pulumi.Input[
|
|
886
|
+
cloud_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
887
|
+
disk_space: Optional[pulumi.Input[_builtins.str]] = None,
|
|
888
|
+
maintenance_window_dow: Optional[pulumi.Input[_builtins.str]] = None,
|
|
889
|
+
maintenance_window_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
890
|
+
plan: Optional[pulumi.Input[_builtins.str]] = None,
|
|
891
|
+
project: Optional[pulumi.Input[_builtins.str]] = None,
|
|
892
|
+
project_vpc_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
894
893
|
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['CassandraServiceIntegrationArgs', 'CassandraServiceIntegrationArgsDict']]]]] = None,
|
|
895
|
-
service_name: Optional[pulumi.Input[
|
|
896
|
-
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
894
|
+
service_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
895
|
+
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
897
896
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['CassandraTagArgs', 'CassandraTagArgsDict']]]]] = None,
|
|
898
897
|
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['CassandraTechEmailArgs', 'CassandraTechEmailArgsDict']]]]] = None,
|
|
899
|
-
termination_protection: Optional[pulumi.Input[
|
|
898
|
+
termination_protection: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
900
899
|
__props__=None):
|
|
901
900
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
902
901
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -952,34 +951,34 @@ class Cassandra(pulumi.CustomResource):
|
|
|
952
951
|
def get(resource_name: str,
|
|
953
952
|
id: pulumi.Input[str],
|
|
954
953
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
955
|
-
additional_disk_space: Optional[pulumi.Input[
|
|
954
|
+
additional_disk_space: Optional[pulumi.Input[_builtins.str]] = None,
|
|
956
955
|
cassandra: Optional[pulumi.Input[Union['CassandraCassandraArgs', 'CassandraCassandraArgsDict']]] = None,
|
|
957
956
|
cassandra_user_config: Optional[pulumi.Input[Union['CassandraCassandraUserConfigArgs', 'CassandraCassandraUserConfigArgsDict']]] = None,
|
|
958
|
-
cloud_name: Optional[pulumi.Input[
|
|
957
|
+
cloud_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
959
958
|
components: Optional[pulumi.Input[Sequence[pulumi.Input[Union['CassandraComponentArgs', 'CassandraComponentArgsDict']]]]] = None,
|
|
960
|
-
disk_space: Optional[pulumi.Input[
|
|
961
|
-
disk_space_cap: Optional[pulumi.Input[
|
|
962
|
-
disk_space_default: Optional[pulumi.Input[
|
|
963
|
-
disk_space_step: Optional[pulumi.Input[
|
|
964
|
-
disk_space_used: Optional[pulumi.Input[
|
|
965
|
-
maintenance_window_dow: Optional[pulumi.Input[
|
|
966
|
-
maintenance_window_time: Optional[pulumi.Input[
|
|
967
|
-
plan: Optional[pulumi.Input[
|
|
968
|
-
project: Optional[pulumi.Input[
|
|
969
|
-
project_vpc_id: Optional[pulumi.Input[
|
|
970
|
-
service_host: Optional[pulumi.Input[
|
|
959
|
+
disk_space: Optional[pulumi.Input[_builtins.str]] = None,
|
|
960
|
+
disk_space_cap: Optional[pulumi.Input[_builtins.str]] = None,
|
|
961
|
+
disk_space_default: Optional[pulumi.Input[_builtins.str]] = None,
|
|
962
|
+
disk_space_step: Optional[pulumi.Input[_builtins.str]] = None,
|
|
963
|
+
disk_space_used: Optional[pulumi.Input[_builtins.str]] = None,
|
|
964
|
+
maintenance_window_dow: Optional[pulumi.Input[_builtins.str]] = None,
|
|
965
|
+
maintenance_window_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
966
|
+
plan: Optional[pulumi.Input[_builtins.str]] = None,
|
|
967
|
+
project: Optional[pulumi.Input[_builtins.str]] = None,
|
|
968
|
+
project_vpc_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
969
|
+
service_host: Optional[pulumi.Input[_builtins.str]] = None,
|
|
971
970
|
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['CassandraServiceIntegrationArgs', 'CassandraServiceIntegrationArgsDict']]]]] = None,
|
|
972
|
-
service_name: Optional[pulumi.Input[
|
|
973
|
-
service_password: Optional[pulumi.Input[
|
|
974
|
-
service_port: Optional[pulumi.Input[
|
|
975
|
-
service_type: Optional[pulumi.Input[
|
|
976
|
-
service_uri: Optional[pulumi.Input[
|
|
977
|
-
service_username: Optional[pulumi.Input[
|
|
978
|
-
state: Optional[pulumi.Input[
|
|
979
|
-
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
971
|
+
service_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
972
|
+
service_password: Optional[pulumi.Input[_builtins.str]] = None,
|
|
973
|
+
service_port: Optional[pulumi.Input[_builtins.int]] = None,
|
|
974
|
+
service_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
975
|
+
service_uri: Optional[pulumi.Input[_builtins.str]] = None,
|
|
976
|
+
service_username: Optional[pulumi.Input[_builtins.str]] = None,
|
|
977
|
+
state: Optional[pulumi.Input[_builtins.str]] = None,
|
|
978
|
+
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
980
979
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['CassandraTagArgs', 'CassandraTagArgsDict']]]]] = None,
|
|
981
980
|
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['CassandraTechEmailArgs', 'CassandraTechEmailArgsDict']]]]] = None,
|
|
982
|
-
termination_protection: Optional[pulumi.Input[
|
|
981
|
+
termination_protection: Optional[pulumi.Input[_builtins.bool]] = None) -> 'Cassandra':
|
|
983
982
|
"""
|
|
984
983
|
Get an existing Cassandra resource's state with the given name, id, and optional extra
|
|
985
984
|
properties used to qualify the lookup.
|
|
@@ -987,33 +986,33 @@ class Cassandra(pulumi.CustomResource):
|
|
|
987
986
|
:param str resource_name: The unique name of the resulting resource.
|
|
988
987
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
989
988
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
990
|
-
:param pulumi.Input[
|
|
989
|
+
: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.
|
|
991
990
|
:param pulumi.Input[Union['CassandraCassandraArgs', 'CassandraCassandraArgsDict']] cassandra: Values provided by the Cassandra server.
|
|
992
991
|
:param pulumi.Input[Union['CassandraCassandraUserConfigArgs', 'CassandraCassandraUserConfigArgsDict']] cassandra_user_config: Cassandra user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
993
|
-
:param pulumi.Input[
|
|
992
|
+
: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.
|
|
994
993
|
:param pulumi.Input[Sequence[pulumi.Input[Union['CassandraComponentArgs', 'CassandraComponentArgsDict']]]] components: Service component information objects
|
|
995
|
-
:param pulumi.Input[
|
|
996
|
-
:param pulumi.Input[
|
|
997
|
-
:param pulumi.Input[
|
|
998
|
-
:param pulumi.Input[
|
|
999
|
-
:param pulumi.Input[
|
|
1000
|
-
:param pulumi.Input[
|
|
1001
|
-
:param pulumi.Input[
|
|
1002
|
-
:param pulumi.Input[
|
|
1003
|
-
:param pulumi.Input[
|
|
1004
|
-
:param pulumi.Input[
|
|
1005
|
-
:param pulumi.Input[
|
|
994
|
+
: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.
|
|
995
|
+
: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.
|
|
996
|
+
: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`
|
|
997
|
+
: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.
|
|
998
|
+
:param pulumi.Input[_builtins.str] disk_space_used: Disk space that service is currently using
|
|
999
|
+
:param pulumi.Input[_builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
1000
|
+
:param pulumi.Input[_builtins.str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
1001
|
+
: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).
|
|
1002
|
+
: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.
|
|
1003
|
+
: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.
|
|
1004
|
+
:param pulumi.Input[_builtins.str] service_host: The hostname of the service.
|
|
1006
1005
|
:param pulumi.Input[Sequence[pulumi.Input[Union['CassandraServiceIntegrationArgs', 'CassandraServiceIntegrationArgsDict']]]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
1007
|
-
:param pulumi.Input[
|
|
1008
|
-
:param pulumi.Input[
|
|
1009
|
-
:param pulumi.Input[
|
|
1010
|
-
:param pulumi.Input[
|
|
1011
|
-
:param pulumi.Input[
|
|
1012
|
-
:param pulumi.Input[
|
|
1013
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
1006
|
+
: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.
|
|
1007
|
+
:param pulumi.Input[_builtins.str] service_password: Password used for connecting to the service, if applicable
|
|
1008
|
+
:param pulumi.Input[_builtins.int] service_port: The port of the service
|
|
1009
|
+
:param pulumi.Input[_builtins.str] service_type: Aiven internal service type code
|
|
1010
|
+
:param pulumi.Input[_builtins.str] service_uri: URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
1011
|
+
:param pulumi.Input[_builtins.str] service_username: Username used for connecting to the service, if applicable
|
|
1012
|
+
: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
|
|
1014
1013
|
:param pulumi.Input[Sequence[pulumi.Input[Union['CassandraTagArgs', 'CassandraTagArgsDict']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
1015
1014
|
:param pulumi.Input[Sequence[pulumi.Input[Union['CassandraTechEmailArgs', 'CassandraTechEmailArgsDict']]]] 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.
|
|
1016
|
-
:param pulumi.Input[
|
|
1015
|
+
: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.
|
|
1017
1016
|
"""
|
|
1018
1017
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
1019
1018
|
|
|
@@ -1049,15 +1048,15 @@ class Cassandra(pulumi.CustomResource):
|
|
|
1049
1048
|
__props__.__dict__["termination_protection"] = termination_protection
|
|
1050
1049
|
return Cassandra(resource_name, opts=opts, __props__=__props__)
|
|
1051
1050
|
|
|
1052
|
-
@property
|
|
1051
|
+
@_builtins.property
|
|
1053
1052
|
@pulumi.getter(name="additionalDiskSpace")
|
|
1054
|
-
def additional_disk_space(self) -> pulumi.Output[
|
|
1053
|
+
def additional_disk_space(self) -> pulumi.Output[_builtins.str]:
|
|
1055
1054
|
"""
|
|
1056
1055
|
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.
|
|
1057
1056
|
"""
|
|
1058
1057
|
return pulumi.get(self, "additional_disk_space")
|
|
1059
1058
|
|
|
1060
|
-
@property
|
|
1059
|
+
@_builtins.property
|
|
1061
1060
|
@pulumi.getter
|
|
1062
1061
|
def cassandra(self) -> pulumi.Output['outputs.CassandraCassandra']:
|
|
1063
1062
|
"""
|
|
@@ -1065,7 +1064,7 @@ class Cassandra(pulumi.CustomResource):
|
|
|
1065
1064
|
"""
|
|
1066
1065
|
return pulumi.get(self, "cassandra")
|
|
1067
1066
|
|
|
1068
|
-
@property
|
|
1067
|
+
@_builtins.property
|
|
1069
1068
|
@pulumi.getter(name="cassandraUserConfig")
|
|
1070
1069
|
def cassandra_user_config(self) -> pulumi.Output[Optional['outputs.CassandraCassandraUserConfig']]:
|
|
1071
1070
|
"""
|
|
@@ -1073,15 +1072,15 @@ class Cassandra(pulumi.CustomResource):
|
|
|
1073
1072
|
"""
|
|
1074
1073
|
return pulumi.get(self, "cassandra_user_config")
|
|
1075
1074
|
|
|
1076
|
-
@property
|
|
1075
|
+
@_builtins.property
|
|
1077
1076
|
@pulumi.getter(name="cloudName")
|
|
1078
|
-
def cloud_name(self) -> pulumi.Output[Optional[
|
|
1077
|
+
def cloud_name(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
1079
1078
|
"""
|
|
1080
1079
|
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.
|
|
1081
1080
|
"""
|
|
1082
1081
|
return pulumi.get(self, "cloud_name")
|
|
1083
1082
|
|
|
1084
|
-
@property
|
|
1083
|
+
@_builtins.property
|
|
1085
1084
|
@pulumi.getter
|
|
1086
1085
|
def components(self) -> pulumi.Output[Sequence['outputs.CassandraComponent']]:
|
|
1087
1086
|
"""
|
|
@@ -1089,97 +1088,97 @@ class Cassandra(pulumi.CustomResource):
|
|
|
1089
1088
|
"""
|
|
1090
1089
|
return pulumi.get(self, "components")
|
|
1091
1090
|
|
|
1092
|
-
@property
|
|
1091
|
+
@_builtins.property
|
|
1093
1092
|
@pulumi.getter(name="diskSpace")
|
|
1094
1093
|
@_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.""")
|
|
1095
|
-
def disk_space(self) -> pulumi.Output[Optional[
|
|
1094
|
+
def disk_space(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
1096
1095
|
"""
|
|
1097
1096
|
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
1098
1097
|
"""
|
|
1099
1098
|
return pulumi.get(self, "disk_space")
|
|
1100
1099
|
|
|
1101
|
-
@property
|
|
1100
|
+
@_builtins.property
|
|
1102
1101
|
@pulumi.getter(name="diskSpaceCap")
|
|
1103
|
-
def disk_space_cap(self) -> pulumi.Output[
|
|
1102
|
+
def disk_space_cap(self) -> pulumi.Output[_builtins.str]:
|
|
1104
1103
|
"""
|
|
1105
1104
|
The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
1106
1105
|
"""
|
|
1107
1106
|
return pulumi.get(self, "disk_space_cap")
|
|
1108
1107
|
|
|
1109
|
-
@property
|
|
1108
|
+
@_builtins.property
|
|
1110
1109
|
@pulumi.getter(name="diskSpaceDefault")
|
|
1111
|
-
def disk_space_default(self) -> pulumi.Output[
|
|
1110
|
+
def disk_space_default(self) -> pulumi.Output[_builtins.str]:
|
|
1112
1111
|
"""
|
|
1113
1112
|
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`
|
|
1114
1113
|
"""
|
|
1115
1114
|
return pulumi.get(self, "disk_space_default")
|
|
1116
1115
|
|
|
1117
|
-
@property
|
|
1116
|
+
@_builtins.property
|
|
1118
1117
|
@pulumi.getter(name="diskSpaceStep")
|
|
1119
|
-
def disk_space_step(self) -> pulumi.Output[
|
|
1118
|
+
def disk_space_step(self) -> pulumi.Output[_builtins.str]:
|
|
1120
1119
|
"""
|
|
1121
1120
|
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.
|
|
1122
1121
|
"""
|
|
1123
1122
|
return pulumi.get(self, "disk_space_step")
|
|
1124
1123
|
|
|
1125
|
-
@property
|
|
1124
|
+
@_builtins.property
|
|
1126
1125
|
@pulumi.getter(name="diskSpaceUsed")
|
|
1127
1126
|
@_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.""")
|
|
1128
|
-
def disk_space_used(self) -> pulumi.Output[
|
|
1127
|
+
def disk_space_used(self) -> pulumi.Output[_builtins.str]:
|
|
1129
1128
|
"""
|
|
1130
1129
|
Disk space that service is currently using
|
|
1131
1130
|
"""
|
|
1132
1131
|
return pulumi.get(self, "disk_space_used")
|
|
1133
1132
|
|
|
1134
|
-
@property
|
|
1133
|
+
@_builtins.property
|
|
1135
1134
|
@pulumi.getter(name="maintenanceWindowDow")
|
|
1136
|
-
def maintenance_window_dow(self) -> pulumi.Output[Optional[
|
|
1135
|
+
def maintenance_window_dow(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
1137
1136
|
"""
|
|
1138
1137
|
Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
1139
1138
|
"""
|
|
1140
1139
|
return pulumi.get(self, "maintenance_window_dow")
|
|
1141
1140
|
|
|
1142
|
-
@property
|
|
1141
|
+
@_builtins.property
|
|
1143
1142
|
@pulumi.getter(name="maintenanceWindowTime")
|
|
1144
|
-
def maintenance_window_time(self) -> pulumi.Output[Optional[
|
|
1143
|
+
def maintenance_window_time(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
1145
1144
|
"""
|
|
1146
1145
|
Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
1147
1146
|
"""
|
|
1148
1147
|
return pulumi.get(self, "maintenance_window_time")
|
|
1149
1148
|
|
|
1150
|
-
@property
|
|
1149
|
+
@_builtins.property
|
|
1151
1150
|
@pulumi.getter
|
|
1152
|
-
def plan(self) -> pulumi.Output[
|
|
1151
|
+
def plan(self) -> pulumi.Output[_builtins.str]:
|
|
1153
1152
|
"""
|
|
1154
1153
|
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).
|
|
1155
1154
|
"""
|
|
1156
1155
|
return pulumi.get(self, "plan")
|
|
1157
1156
|
|
|
1158
|
-
@property
|
|
1157
|
+
@_builtins.property
|
|
1159
1158
|
@pulumi.getter
|
|
1160
|
-
def project(self) -> pulumi.Output[
|
|
1159
|
+
def project(self) -> pulumi.Output[_builtins.str]:
|
|
1161
1160
|
"""
|
|
1162
1161
|
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.
|
|
1163
1162
|
"""
|
|
1164
1163
|
return pulumi.get(self, "project")
|
|
1165
1164
|
|
|
1166
|
-
@property
|
|
1165
|
+
@_builtins.property
|
|
1167
1166
|
@pulumi.getter(name="projectVpcId")
|
|
1168
|
-
def project_vpc_id(self) -> pulumi.Output[Optional[
|
|
1167
|
+
def project_vpc_id(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
1169
1168
|
"""
|
|
1170
1169
|
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.
|
|
1171
1170
|
"""
|
|
1172
1171
|
return pulumi.get(self, "project_vpc_id")
|
|
1173
1172
|
|
|
1174
|
-
@property
|
|
1173
|
+
@_builtins.property
|
|
1175
1174
|
@pulumi.getter(name="serviceHost")
|
|
1176
|
-
def service_host(self) -> pulumi.Output[
|
|
1175
|
+
def service_host(self) -> pulumi.Output[_builtins.str]:
|
|
1177
1176
|
"""
|
|
1178
1177
|
The hostname of the service.
|
|
1179
1178
|
"""
|
|
1180
1179
|
return pulumi.get(self, "service_host")
|
|
1181
1180
|
|
|
1182
|
-
@property
|
|
1181
|
+
@_builtins.property
|
|
1183
1182
|
@pulumi.getter(name="serviceIntegrations")
|
|
1184
1183
|
def service_integrations(self) -> pulumi.Output[Sequence['outputs.CassandraServiceIntegration']]:
|
|
1185
1184
|
"""
|
|
@@ -1187,68 +1186,68 @@ class Cassandra(pulumi.CustomResource):
|
|
|
1187
1186
|
"""
|
|
1188
1187
|
return pulumi.get(self, "service_integrations")
|
|
1189
1188
|
|
|
1190
|
-
@property
|
|
1189
|
+
@_builtins.property
|
|
1191
1190
|
@pulumi.getter(name="serviceName")
|
|
1192
|
-
def service_name(self) -> pulumi.Output[
|
|
1191
|
+
def service_name(self) -> pulumi.Output[_builtins.str]:
|
|
1193
1192
|
"""
|
|
1194
1193
|
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.
|
|
1195
1194
|
"""
|
|
1196
1195
|
return pulumi.get(self, "service_name")
|
|
1197
1196
|
|
|
1198
|
-
@property
|
|
1197
|
+
@_builtins.property
|
|
1199
1198
|
@pulumi.getter(name="servicePassword")
|
|
1200
|
-
def service_password(self) -> pulumi.Output[
|
|
1199
|
+
def service_password(self) -> pulumi.Output[_builtins.str]:
|
|
1201
1200
|
"""
|
|
1202
1201
|
Password used for connecting to the service, if applicable
|
|
1203
1202
|
"""
|
|
1204
1203
|
return pulumi.get(self, "service_password")
|
|
1205
1204
|
|
|
1206
|
-
@property
|
|
1205
|
+
@_builtins.property
|
|
1207
1206
|
@pulumi.getter(name="servicePort")
|
|
1208
|
-
def service_port(self) -> pulumi.Output[
|
|
1207
|
+
def service_port(self) -> pulumi.Output[_builtins.int]:
|
|
1209
1208
|
"""
|
|
1210
1209
|
The port of the service
|
|
1211
1210
|
"""
|
|
1212
1211
|
return pulumi.get(self, "service_port")
|
|
1213
1212
|
|
|
1214
|
-
@property
|
|
1213
|
+
@_builtins.property
|
|
1215
1214
|
@pulumi.getter(name="serviceType")
|
|
1216
|
-
def service_type(self) -> pulumi.Output[
|
|
1215
|
+
def service_type(self) -> pulumi.Output[_builtins.str]:
|
|
1217
1216
|
"""
|
|
1218
1217
|
Aiven internal service type code
|
|
1219
1218
|
"""
|
|
1220
1219
|
return pulumi.get(self, "service_type")
|
|
1221
1220
|
|
|
1222
|
-
@property
|
|
1221
|
+
@_builtins.property
|
|
1223
1222
|
@pulumi.getter(name="serviceUri")
|
|
1224
|
-
def service_uri(self) -> pulumi.Output[
|
|
1223
|
+
def service_uri(self) -> pulumi.Output[_builtins.str]:
|
|
1225
1224
|
"""
|
|
1226
1225
|
URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
1227
1226
|
"""
|
|
1228
1227
|
return pulumi.get(self, "service_uri")
|
|
1229
1228
|
|
|
1230
|
-
@property
|
|
1229
|
+
@_builtins.property
|
|
1231
1230
|
@pulumi.getter(name="serviceUsername")
|
|
1232
|
-
def service_username(self) -> pulumi.Output[
|
|
1231
|
+
def service_username(self) -> pulumi.Output[_builtins.str]:
|
|
1233
1232
|
"""
|
|
1234
1233
|
Username used for connecting to the service, if applicable
|
|
1235
1234
|
"""
|
|
1236
1235
|
return pulumi.get(self, "service_username")
|
|
1237
1236
|
|
|
1238
|
-
@property
|
|
1237
|
+
@_builtins.property
|
|
1239
1238
|
@pulumi.getter
|
|
1240
|
-
def state(self) -> pulumi.Output[
|
|
1239
|
+
def state(self) -> pulumi.Output[_builtins.str]:
|
|
1241
1240
|
return pulumi.get(self, "state")
|
|
1242
1241
|
|
|
1243
|
-
@property
|
|
1242
|
+
@_builtins.property
|
|
1244
1243
|
@pulumi.getter(name="staticIps")
|
|
1245
|
-
def static_ips(self) -> pulumi.Output[Optional[Sequence[
|
|
1244
|
+
def static_ips(self) -> pulumi.Output[Optional[Sequence[_builtins.str]]]:
|
|
1246
1245
|
"""
|
|
1247
1246
|
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
|
|
1248
1247
|
"""
|
|
1249
1248
|
return pulumi.get(self, "static_ips")
|
|
1250
1249
|
|
|
1251
|
-
@property
|
|
1250
|
+
@_builtins.property
|
|
1252
1251
|
@pulumi.getter
|
|
1253
1252
|
def tags(self) -> pulumi.Output[Optional[Sequence['outputs.CassandraTag']]]:
|
|
1254
1253
|
"""
|
|
@@ -1256,7 +1255,7 @@ class Cassandra(pulumi.CustomResource):
|
|
|
1256
1255
|
"""
|
|
1257
1256
|
return pulumi.get(self, "tags")
|
|
1258
1257
|
|
|
1259
|
-
@property
|
|
1258
|
+
@_builtins.property
|
|
1260
1259
|
@pulumi.getter(name="techEmails")
|
|
1261
1260
|
def tech_emails(self) -> pulumi.Output[Optional[Sequence['outputs.CassandraTechEmail']]]:
|
|
1262
1261
|
"""
|
|
@@ -1264,9 +1263,9 @@ class Cassandra(pulumi.CustomResource):
|
|
|
1264
1263
|
"""
|
|
1265
1264
|
return pulumi.get(self, "tech_emails")
|
|
1266
1265
|
|
|
1267
|
-
@property
|
|
1266
|
+
@_builtins.property
|
|
1268
1267
|
@pulumi.getter(name="terminationProtection")
|
|
1269
|
-
def termination_protection(self) -> pulumi.Output[Optional[
|
|
1268
|
+
def termination_protection(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
|
1270
1269
|
"""
|
|
1271
1270
|
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.
|
|
1272
1271
|
"""
|