pulumi-aiven 6.37.0a1743570488__py3-none-any.whl → 6.37.0a1744182902__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-aiven might be problematic. Click here for more details.
- pulumi_aiven/__init__.py +1 -0
- pulumi_aiven/_inputs.py +8278 -8277
- pulumi_aiven/account.py +71 -70
- pulumi_aiven/account_authentication.py +204 -203
- pulumi_aiven/account_team.py +50 -49
- pulumi_aiven/account_team_member.py +64 -63
- pulumi_aiven/account_team_project.py +57 -56
- pulumi_aiven/alloydbomni.py +246 -245
- pulumi_aiven/alloydbomni_database.py +71 -70
- pulumi_aiven/alloydbomni_user.py +92 -91
- pulumi_aiven/aws_org_vpc_peering_connection.py +92 -91
- pulumi_aiven/aws_privatelink.py +57 -56
- pulumi_aiven/aws_vpc_peering_connection.py +78 -77
- pulumi_aiven/azure_org_vpc_peering_connection.py +113 -112
- pulumi_aiven/azure_privatelink.py +71 -70
- pulumi_aiven/azure_privatelink_connection_approval.py +57 -56
- pulumi_aiven/azure_vpc_peering_connection.py +106 -105
- pulumi_aiven/billing_group.py +211 -210
- pulumi_aiven/cassandra.py +232 -231
- pulumi_aiven/cassandra_user.py +78 -77
- pulumi_aiven/clickhouse.py +232 -231
- pulumi_aiven/clickhouse_database.py +53 -52
- pulumi_aiven/clickhouse_grant.py +57 -56
- pulumi_aiven/clickhouse_role.py +43 -42
- pulumi_aiven/clickhouse_user.py +64 -63
- pulumi_aiven/config/__init__.py +1 -0
- pulumi_aiven/config/__init__.pyi +1 -0
- pulumi_aiven/config/vars.py +1 -0
- pulumi_aiven/connection_pool.py +106 -105
- pulumi_aiven/dragonfly.py +232 -231
- pulumi_aiven/flink.py +232 -231
- pulumi_aiven/flink_application.py +78 -77
- pulumi_aiven/flink_application_deployment.py +113 -112
- pulumi_aiven/flink_application_version.py +85 -84
- pulumi_aiven/flink_jar_application.py +78 -77
- pulumi_aiven/flink_jar_application_deployment.py +176 -175
- pulumi_aiven/flink_jar_application_version.py +92 -91
- pulumi_aiven/gcp_org_vpc_peering_connection.py +71 -70
- pulumi_aiven/gcp_privatelink.py +50 -49
- pulumi_aiven/gcp_privatelink_connection_approval.py +64 -63
- pulumi_aiven/gcp_vpc_peering_connection.py +64 -63
- pulumi_aiven/get_account.py +14 -13
- pulumi_aiven/get_account_authentication.py +27 -26
- pulumi_aiven/get_account_team.py +15 -14
- pulumi_aiven/get_account_team_member.py +20 -19
- pulumi_aiven/get_account_team_project.py +18 -17
- pulumi_aiven/get_alloydbomni.py +33 -32
- pulumi_aiven/get_alloydbomni_database.py +19 -18
- pulumi_aiven/get_alloydbomni_user.py +22 -21
- pulumi_aiven/get_aws_org_vpc_peering_connection.py +30 -29
- pulumi_aiven/get_aws_privatelink.py +15 -14
- pulumi_aiven/get_aws_vpc_peering_connection.py +25 -24
- pulumi_aiven/get_azure_org_vpc_peering_connection.py +31 -30
- pulumi_aiven/get_azure_privatelink.py +17 -16
- pulumi_aiven/get_azure_vpc_peering_connection.py +35 -34
- pulumi_aiven/get_billing_group.py +22 -21
- pulumi_aiven/get_cassanda.py +32 -31
- pulumi_aiven/get_cassandra.py +32 -31
- pulumi_aiven/get_cassandra_user.py +21 -20
- pulumi_aiven/get_clickhouse.py +32 -31
- pulumi_aiven/get_clickhouse_database.py +18 -17
- pulumi_aiven/get_clickhouse_user.py +20 -19
- pulumi_aiven/get_connection_pool.py +22 -21
- pulumi_aiven/get_dragonfly.py +32 -31
- pulumi_aiven/get_external_identity.py +22 -21
- pulumi_aiven/get_flink.py +32 -31
- pulumi_aiven/get_flink_application.py +22 -21
- pulumi_aiven/get_flink_application_version.py +26 -25
- pulumi_aiven/get_gcp_org_vpc_peering_connection.py +24 -23
- pulumi_aiven/get_gcp_privatelink.py +15 -14
- pulumi_aiven/get_gcp_vpc_peering_connection.py +20 -19
- pulumi_aiven/get_grafana.py +32 -31
- pulumi_aiven/get_influx_db.py +28 -27
- pulumi_aiven/get_influxdb_database.py +12 -11
- pulumi_aiven/get_influxdb_user.py +15 -14
- pulumi_aiven/get_kafka.py +34 -33
- pulumi_aiven/get_kafka_acl.py +28 -27
- pulumi_aiven/get_kafka_connect.py +32 -31
- pulumi_aiven/get_kafka_connector.py +24 -23
- pulumi_aiven/get_kafka_mirror_maker.py +32 -31
- pulumi_aiven/get_kafka_schema.py +21 -20
- pulumi_aiven/get_kafka_schema_configuration.py +17 -16
- pulumi_aiven/get_kafka_schema_registry_acl.py +28 -27
- pulumi_aiven/get_kafka_topic.py +22 -21
- pulumi_aiven/get_kafka_user.py +21 -20
- pulumi_aiven/get_m3_aggregator.py +32 -31
- pulumi_aiven/get_m3_db.py +32 -31
- pulumi_aiven/get_m3db_user.py +19 -18
- pulumi_aiven/get_mirror_maker_replication_flow.py +34 -33
- pulumi_aiven/get_my_sql.py +32 -31
- pulumi_aiven/get_mysql_database.py +18 -17
- pulumi_aiven/get_mysql_user.py +22 -21
- pulumi_aiven/get_open_search.py +32 -31
- pulumi_aiven/get_open_search_acl_config.py +14 -13
- pulumi_aiven/get_open_search_acl_rule.py +27 -26
- pulumi_aiven/get_opensearch_security_plugin_config.py +16 -15
- pulumi_aiven/get_opensearch_user.py +19 -18
- pulumi_aiven/get_organization.py +14 -13
- pulumi_aiven/get_organization_application_user.py +15 -14
- pulumi_aiven/get_organization_project.py +15 -14
- pulumi_aiven/get_organization_user.py +18 -17
- pulumi_aiven/get_organization_user_group.py +16 -15
- pulumi_aiven/get_organization_user_list.py +11 -10
- pulumi_aiven/get_organization_vpc.py +17 -16
- pulumi_aiven/get_organizational_unit.py +11 -10
- pulumi_aiven/get_pg.py +32 -31
- pulumi_aiven/get_pg_database.py +20 -19
- pulumi_aiven/get_pg_user.py +22 -21
- pulumi_aiven/get_project.py +19 -18
- pulumi_aiven/get_project_user.py +14 -13
- pulumi_aiven/get_project_vpc.py +19 -18
- pulumi_aiven/get_redis.py +32 -31
- pulumi_aiven/get_redis_user.py +23 -22
- pulumi_aiven/get_service_component.py +39 -38
- pulumi_aiven/get_service_integration.py +27 -26
- pulumi_aiven/get_service_integration_endpoint.py +14 -13
- pulumi_aiven/get_thanos.py +32 -31
- pulumi_aiven/get_transit_gateway_vpc_attachment.py +22 -21
- pulumi_aiven/get_valkey.py +32 -31
- pulumi_aiven/get_valkey_user.py +23 -22
- pulumi_aiven/grafana.py +232 -231
- pulumi_aiven/influx_db.py +232 -231
- pulumi_aiven/influxdb_database.py +53 -52
- pulumi_aiven/influxdb_user.py +78 -77
- pulumi_aiven/kafka.py +260 -259
- pulumi_aiven/kafka_acl.py +78 -77
- pulumi_aiven/kafka_connect.py +232 -231
- pulumi_aiven/kafka_connector.py +99 -98
- pulumi_aiven/kafka_mirror_maker.py +232 -231
- pulumi_aiven/kafka_native_acl.py +127 -126
- pulumi_aiven/kafka_quota.py +99 -98
- pulumi_aiven/kafka_schema.py +92 -91
- pulumi_aiven/kafka_schema_configuration.py +43 -42
- pulumi_aiven/kafka_schema_registry_acl.py +78 -77
- pulumi_aiven/kafka_topic.py +109 -108
- pulumi_aiven/kafka_user.py +78 -77
- pulumi_aiven/m3_aggregator.py +232 -231
- pulumi_aiven/m3_db.py +232 -231
- pulumi_aiven/m3db_user.py +64 -63
- pulumi_aiven/mirror_maker_replication_flow.py +225 -224
- pulumi_aiven/my_sql.py +232 -231
- pulumi_aiven/mysql_database.py +53 -52
- pulumi_aiven/mysql_user.py +92 -91
- pulumi_aiven/open_search.py +232 -231
- pulumi_aiven/open_search_acl_config.py +57 -56
- pulumi_aiven/open_search_acl_rule.py +75 -74
- pulumi_aiven/opensearch_security_plugin_config.py +64 -63
- pulumi_aiven/opensearch_user.py +64 -63
- pulumi_aiven/organization.py +36 -35
- pulumi_aiven/organization_application_user.py +57 -56
- pulumi_aiven/organization_application_user_token.py +169 -168
- pulumi_aiven/organization_group_project.py +43 -42
- pulumi_aiven/organization_permission.py +43 -42
- pulumi_aiven/organization_project.py +71 -70
- pulumi_aiven/organization_user.py +57 -56
- pulumi_aiven/organization_user_group.py +64 -63
- pulumi_aiven/organization_user_group_member.py +50 -49
- pulumi_aiven/organization_vpc.py +71 -70
- pulumi_aiven/organizational_unit.py +50 -49
- pulumi_aiven/outputs.py +9982 -9981
- pulumi_aiven/pg.py +232 -231
- pulumi_aiven/pg_database.py +81 -80
- pulumi_aiven/pg_user.py +92 -91
- pulumi_aiven/project.py +155 -154
- pulumi_aiven/project_user.py +50 -49
- pulumi_aiven/project_vpc.py +50 -49
- pulumi_aiven/provider.py +9 -8
- pulumi_aiven/pulumi-plugin.json +1 -1
- pulumi_aiven/redis.py +232 -231
- pulumi_aiven/redis_user.py +120 -119
- pulumi_aiven/service_integration.py +120 -119
- pulumi_aiven/service_integration_endpoint.py +50 -49
- pulumi_aiven/static_ip.py +57 -56
- pulumi_aiven/thanos.py +232 -231
- pulumi_aiven/transit_gateway_vpc_attachment.py +92 -91
- pulumi_aiven/valkey.py +232 -231
- pulumi_aiven/valkey_user.py +120 -119
- {pulumi_aiven-6.37.0a1743570488.dist-info → pulumi_aiven-6.37.0a1744182902.dist-info}/METADATA +1 -1
- pulumi_aiven-6.37.0a1744182902.dist-info/RECORD +183 -0
- pulumi_aiven-6.37.0a1743570488.dist-info/RECORD +0 -183
- {pulumi_aiven-6.37.0a1743570488.dist-info → pulumi_aiven-6.37.0a1744182902.dist-info}/WHEEL +0 -0
- {pulumi_aiven-6.37.0a1743570488.dist-info → pulumi_aiven-6.37.0a1744182902.dist-info}/top_level.txt +0 -0
pulumi_aiven/cassandra.py
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
+
import builtins
|
|
5
6
|
import copy
|
|
6
7
|
import warnings
|
|
7
8
|
import sys
|
|
@@ -21,40 +22,40 @@ __all__ = ['CassandraArgs', 'Cassandra']
|
|
|
21
22
|
@pulumi.input_type
|
|
22
23
|
class CassandraArgs:
|
|
23
24
|
def __init__(__self__, *,
|
|
24
|
-
plan: pulumi.Input[str],
|
|
25
|
-
project: pulumi.Input[str],
|
|
26
|
-
service_name: pulumi.Input[str],
|
|
27
|
-
additional_disk_space: Optional[pulumi.Input[str]] = None,
|
|
25
|
+
plan: pulumi.Input[builtins.str],
|
|
26
|
+
project: pulumi.Input[builtins.str],
|
|
27
|
+
service_name: pulumi.Input[builtins.str],
|
|
28
|
+
additional_disk_space: Optional[pulumi.Input[builtins.str]] = None,
|
|
28
29
|
cassandra: Optional[pulumi.Input['CassandraCassandraArgs']] = None,
|
|
29
30
|
cassandra_user_config: Optional[pulumi.Input['CassandraCassandraUserConfigArgs']] = None,
|
|
30
|
-
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
31
|
-
disk_space: Optional[pulumi.Input[str]] = None,
|
|
32
|
-
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
33
|
-
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
34
|
-
project_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
31
|
+
cloud_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
32
|
+
disk_space: Optional[pulumi.Input[builtins.str]] = None,
|
|
33
|
+
maintenance_window_dow: Optional[pulumi.Input[builtins.str]] = None,
|
|
34
|
+
maintenance_window_time: Optional[pulumi.Input[builtins.str]] = None,
|
|
35
|
+
project_vpc_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
35
36
|
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input['CassandraServiceIntegrationArgs']]]] = None,
|
|
36
|
-
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
37
|
+
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
37
38
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input['CassandraTagArgs']]]] = None,
|
|
38
39
|
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input['CassandraTechEmailArgs']]]] = None,
|
|
39
|
-
termination_protection: Optional[pulumi.Input[bool]] = None):
|
|
40
|
+
termination_protection: Optional[pulumi.Input[builtins.bool]] = None):
|
|
40
41
|
"""
|
|
41
42
|
The set of arguments for constructing a Cassandra resource.
|
|
42
|
-
:param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
43
|
-
:param pulumi.Input[str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
44
|
-
:param pulumi.Input[str] service_name: Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
|
|
45
|
-
:param pulumi.Input[str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
|
|
43
|
+
: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).
|
|
44
|
+
: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.
|
|
45
|
+
: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.
|
|
46
|
+
:param pulumi.Input[builtins.str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
|
|
46
47
|
:param pulumi.Input['CassandraCassandraArgs'] cassandra: Values provided by the Cassandra server.
|
|
47
48
|
: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
|
|
48
|
-
:param pulumi.Input[str] cloud_name: The cloud provider and region the service is hosted in. The format is `provider-region`, for example: `google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ per project and service. Changing this value [migrates the service to another cloud provider or region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
|
|
49
|
-
:param pulumi.Input[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[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
51
|
-
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
52
|
-
:param pulumi.Input[str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
49
|
+
:param pulumi.Input[builtins.str] cloud_name: The cloud provider and region the service is hosted in. The format is `provider-region`, for example: `google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ per project and service. Changing this value [migrates the service to another cloud provider or region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
|
|
50
|
+
:param pulumi.Input[builtins.str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
51
|
+
:param pulumi.Input[builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
52
|
+
:param pulumi.Input[builtins.str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
53
|
+
:param pulumi.Input[builtins.str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
53
54
|
:param pulumi.Input[Sequence[pulumi.Input['CassandraServiceIntegrationArgs']]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
54
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
55
|
+
: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
|
|
55
56
|
:param pulumi.Input[Sequence[pulumi.Input['CassandraTagArgs']]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
56
57
|
: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.
|
|
57
|
-
:param pulumi.Input[bool] termination_protection: Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
|
|
58
|
+
: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.
|
|
58
59
|
"""
|
|
59
60
|
pulumi.set(__self__, "plan", plan)
|
|
60
61
|
pulumi.set(__self__, "project", project)
|
|
@@ -91,50 +92,50 @@ class CassandraArgs:
|
|
|
91
92
|
|
|
92
93
|
@property
|
|
93
94
|
@pulumi.getter
|
|
94
|
-
def plan(self) -> pulumi.Input[str]:
|
|
95
|
+
def plan(self) -> pulumi.Input[builtins.str]:
|
|
95
96
|
"""
|
|
96
97
|
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).
|
|
97
98
|
"""
|
|
98
99
|
return pulumi.get(self, "plan")
|
|
99
100
|
|
|
100
101
|
@plan.setter
|
|
101
|
-
def plan(self, value: pulumi.Input[str]):
|
|
102
|
+
def plan(self, value: pulumi.Input[builtins.str]):
|
|
102
103
|
pulumi.set(self, "plan", value)
|
|
103
104
|
|
|
104
105
|
@property
|
|
105
106
|
@pulumi.getter
|
|
106
|
-
def project(self) -> pulumi.Input[str]:
|
|
107
|
+
def project(self) -> pulumi.Input[builtins.str]:
|
|
107
108
|
"""
|
|
108
109
|
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.
|
|
109
110
|
"""
|
|
110
111
|
return pulumi.get(self, "project")
|
|
111
112
|
|
|
112
113
|
@project.setter
|
|
113
|
-
def project(self, value: pulumi.Input[str]):
|
|
114
|
+
def project(self, value: pulumi.Input[builtins.str]):
|
|
114
115
|
pulumi.set(self, "project", value)
|
|
115
116
|
|
|
116
117
|
@property
|
|
117
118
|
@pulumi.getter(name="serviceName")
|
|
118
|
-
def service_name(self) -> pulumi.Input[str]:
|
|
119
|
+
def service_name(self) -> pulumi.Input[builtins.str]:
|
|
119
120
|
"""
|
|
120
121
|
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.
|
|
121
122
|
"""
|
|
122
123
|
return pulumi.get(self, "service_name")
|
|
123
124
|
|
|
124
125
|
@service_name.setter
|
|
125
|
-
def service_name(self, value: pulumi.Input[str]):
|
|
126
|
+
def service_name(self, value: pulumi.Input[builtins.str]):
|
|
126
127
|
pulumi.set(self, "service_name", value)
|
|
127
128
|
|
|
128
129
|
@property
|
|
129
130
|
@pulumi.getter(name="additionalDiskSpace")
|
|
130
|
-
def additional_disk_space(self) -> Optional[pulumi.Input[str]]:
|
|
131
|
+
def additional_disk_space(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
131
132
|
"""
|
|
132
133
|
Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
|
|
133
134
|
"""
|
|
134
135
|
return pulumi.get(self, "additional_disk_space")
|
|
135
136
|
|
|
136
137
|
@additional_disk_space.setter
|
|
137
|
-
def additional_disk_space(self, value: Optional[pulumi.Input[str]]):
|
|
138
|
+
def additional_disk_space(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
138
139
|
pulumi.set(self, "additional_disk_space", value)
|
|
139
140
|
|
|
140
141
|
@property
|
|
@@ -163,63 +164,63 @@ class CassandraArgs:
|
|
|
163
164
|
|
|
164
165
|
@property
|
|
165
166
|
@pulumi.getter(name="cloudName")
|
|
166
|
-
def cloud_name(self) -> Optional[pulumi.Input[str]]:
|
|
167
|
+
def cloud_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
167
168
|
"""
|
|
168
169
|
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.
|
|
169
170
|
"""
|
|
170
171
|
return pulumi.get(self, "cloud_name")
|
|
171
172
|
|
|
172
173
|
@cloud_name.setter
|
|
173
|
-
def cloud_name(self, value: Optional[pulumi.Input[str]]):
|
|
174
|
+
def cloud_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
174
175
|
pulumi.set(self, "cloud_name", value)
|
|
175
176
|
|
|
176
177
|
@property
|
|
177
178
|
@pulumi.getter(name="diskSpace")
|
|
178
179
|
@_utilities.deprecated("""This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""")
|
|
179
|
-
def disk_space(self) -> Optional[pulumi.Input[str]]:
|
|
180
|
+
def disk_space(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
180
181
|
"""
|
|
181
182
|
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
182
183
|
"""
|
|
183
184
|
return pulumi.get(self, "disk_space")
|
|
184
185
|
|
|
185
186
|
@disk_space.setter
|
|
186
|
-
def disk_space(self, value: Optional[pulumi.Input[str]]):
|
|
187
|
+
def disk_space(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
187
188
|
pulumi.set(self, "disk_space", value)
|
|
188
189
|
|
|
189
190
|
@property
|
|
190
191
|
@pulumi.getter(name="maintenanceWindowDow")
|
|
191
|
-
def maintenance_window_dow(self) -> Optional[pulumi.Input[str]]:
|
|
192
|
+
def maintenance_window_dow(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
192
193
|
"""
|
|
193
194
|
Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
194
195
|
"""
|
|
195
196
|
return pulumi.get(self, "maintenance_window_dow")
|
|
196
197
|
|
|
197
198
|
@maintenance_window_dow.setter
|
|
198
|
-
def maintenance_window_dow(self, value: Optional[pulumi.Input[str]]):
|
|
199
|
+
def maintenance_window_dow(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
199
200
|
pulumi.set(self, "maintenance_window_dow", value)
|
|
200
201
|
|
|
201
202
|
@property
|
|
202
203
|
@pulumi.getter(name="maintenanceWindowTime")
|
|
203
|
-
def maintenance_window_time(self) -> Optional[pulumi.Input[str]]:
|
|
204
|
+
def maintenance_window_time(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
204
205
|
"""
|
|
205
206
|
Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
206
207
|
"""
|
|
207
208
|
return pulumi.get(self, "maintenance_window_time")
|
|
208
209
|
|
|
209
210
|
@maintenance_window_time.setter
|
|
210
|
-
def maintenance_window_time(self, value: Optional[pulumi.Input[str]]):
|
|
211
|
+
def maintenance_window_time(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
211
212
|
pulumi.set(self, "maintenance_window_time", value)
|
|
212
213
|
|
|
213
214
|
@property
|
|
214
215
|
@pulumi.getter(name="projectVpcId")
|
|
215
|
-
def project_vpc_id(self) -> Optional[pulumi.Input[str]]:
|
|
216
|
+
def project_vpc_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
216
217
|
"""
|
|
217
218
|
Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
218
219
|
"""
|
|
219
220
|
return pulumi.get(self, "project_vpc_id")
|
|
220
221
|
|
|
221
222
|
@project_vpc_id.setter
|
|
222
|
-
def project_vpc_id(self, value: Optional[pulumi.Input[str]]):
|
|
223
|
+
def project_vpc_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
223
224
|
pulumi.set(self, "project_vpc_id", value)
|
|
224
225
|
|
|
225
226
|
@property
|
|
@@ -236,14 +237,14 @@ class CassandraArgs:
|
|
|
236
237
|
|
|
237
238
|
@property
|
|
238
239
|
@pulumi.getter(name="staticIps")
|
|
239
|
-
def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
240
|
+
def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
240
241
|
"""
|
|
241
242
|
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
|
|
242
243
|
"""
|
|
243
244
|
return pulumi.get(self, "static_ips")
|
|
244
245
|
|
|
245
246
|
@static_ips.setter
|
|
246
|
-
def static_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
247
|
+
def static_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
247
248
|
pulumi.set(self, "static_ips", value)
|
|
248
249
|
|
|
249
250
|
@property
|
|
@@ -272,78 +273,78 @@ class CassandraArgs:
|
|
|
272
273
|
|
|
273
274
|
@property
|
|
274
275
|
@pulumi.getter(name="terminationProtection")
|
|
275
|
-
def termination_protection(self) -> Optional[pulumi.Input[bool]]:
|
|
276
|
+
def termination_protection(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
276
277
|
"""
|
|
277
278
|
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.
|
|
278
279
|
"""
|
|
279
280
|
return pulumi.get(self, "termination_protection")
|
|
280
281
|
|
|
281
282
|
@termination_protection.setter
|
|
282
|
-
def termination_protection(self, value: Optional[pulumi.Input[bool]]):
|
|
283
|
+
def termination_protection(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
283
284
|
pulumi.set(self, "termination_protection", value)
|
|
284
285
|
|
|
285
286
|
|
|
286
287
|
@pulumi.input_type
|
|
287
288
|
class _CassandraState:
|
|
288
289
|
def __init__(__self__, *,
|
|
289
|
-
additional_disk_space: Optional[pulumi.Input[str]] = None,
|
|
290
|
+
additional_disk_space: Optional[pulumi.Input[builtins.str]] = None,
|
|
290
291
|
cassandra: Optional[pulumi.Input['CassandraCassandraArgs']] = None,
|
|
291
292
|
cassandra_user_config: Optional[pulumi.Input['CassandraCassandraUserConfigArgs']] = None,
|
|
292
|
-
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
293
|
+
cloud_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
293
294
|
components: Optional[pulumi.Input[Sequence[pulumi.Input['CassandraComponentArgs']]]] = None,
|
|
294
|
-
disk_space: Optional[pulumi.Input[str]] = None,
|
|
295
|
-
disk_space_cap: Optional[pulumi.Input[str]] = None,
|
|
296
|
-
disk_space_default: Optional[pulumi.Input[str]] = None,
|
|
297
|
-
disk_space_step: Optional[pulumi.Input[str]] = None,
|
|
298
|
-
disk_space_used: Optional[pulumi.Input[str]] = None,
|
|
299
|
-
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
300
|
-
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
301
|
-
plan: Optional[pulumi.Input[str]] = None,
|
|
302
|
-
project: Optional[pulumi.Input[str]] = None,
|
|
303
|
-
project_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
304
|
-
service_host: Optional[pulumi.Input[str]] = None,
|
|
295
|
+
disk_space: Optional[pulumi.Input[builtins.str]] = None,
|
|
296
|
+
disk_space_cap: Optional[pulumi.Input[builtins.str]] = None,
|
|
297
|
+
disk_space_default: Optional[pulumi.Input[builtins.str]] = None,
|
|
298
|
+
disk_space_step: Optional[pulumi.Input[builtins.str]] = None,
|
|
299
|
+
disk_space_used: Optional[pulumi.Input[builtins.str]] = None,
|
|
300
|
+
maintenance_window_dow: Optional[pulumi.Input[builtins.str]] = None,
|
|
301
|
+
maintenance_window_time: Optional[pulumi.Input[builtins.str]] = None,
|
|
302
|
+
plan: Optional[pulumi.Input[builtins.str]] = None,
|
|
303
|
+
project: Optional[pulumi.Input[builtins.str]] = None,
|
|
304
|
+
project_vpc_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
305
|
+
service_host: Optional[pulumi.Input[builtins.str]] = None,
|
|
305
306
|
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input['CassandraServiceIntegrationArgs']]]] = None,
|
|
306
|
-
service_name: Optional[pulumi.Input[str]] = None,
|
|
307
|
-
service_password: Optional[pulumi.Input[str]] = None,
|
|
308
|
-
service_port: Optional[pulumi.Input[int]] = None,
|
|
309
|
-
service_type: Optional[pulumi.Input[str]] = None,
|
|
310
|
-
service_uri: Optional[pulumi.Input[str]] = None,
|
|
311
|
-
service_username: Optional[pulumi.Input[str]] = None,
|
|
312
|
-
state: Optional[pulumi.Input[str]] = None,
|
|
313
|
-
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
307
|
+
service_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
308
|
+
service_password: Optional[pulumi.Input[builtins.str]] = None,
|
|
309
|
+
service_port: Optional[pulumi.Input[builtins.int]] = None,
|
|
310
|
+
service_type: Optional[pulumi.Input[builtins.str]] = None,
|
|
311
|
+
service_uri: Optional[pulumi.Input[builtins.str]] = None,
|
|
312
|
+
service_username: Optional[pulumi.Input[builtins.str]] = None,
|
|
313
|
+
state: Optional[pulumi.Input[builtins.str]] = None,
|
|
314
|
+
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
314
315
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input['CassandraTagArgs']]]] = None,
|
|
315
316
|
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input['CassandraTechEmailArgs']]]] = None,
|
|
316
|
-
termination_protection: Optional[pulumi.Input[bool]] = None):
|
|
317
|
+
termination_protection: Optional[pulumi.Input[builtins.bool]] = None):
|
|
317
318
|
"""
|
|
318
319
|
Input properties used for looking up and filtering Cassandra resources.
|
|
319
|
-
:param pulumi.Input[str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
|
|
320
|
+
:param pulumi.Input[builtins.str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
|
|
320
321
|
:param pulumi.Input['CassandraCassandraArgs'] cassandra: Values provided by the Cassandra server.
|
|
321
322
|
: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
|
|
322
|
-
:param pulumi.Input[str] cloud_name: The cloud provider and region the service is hosted in. The format is `provider-region`, for example: `google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ per project and service. Changing this value [migrates the service to another cloud provider or region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
|
|
323
|
+
: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.
|
|
323
324
|
:param pulumi.Input[Sequence[pulumi.Input['CassandraComponentArgs']]] components: Service component information objects
|
|
324
|
-
:param pulumi.Input[str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
325
|
-
:param pulumi.Input[str] disk_space_cap: The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
326
|
-
:param pulumi.Input[str] disk_space_default: The default disk space of the service, possible values depend on the service type, the cloud provider and the project. Its also the minimum value for `disk_space`
|
|
327
|
-
:param pulumi.Input[str] disk_space_step: The default disk space step of the service, possible values depend on the service type, the cloud provider and the project. `disk_space` needs to increment from `disk_space_default` by increments of this size.
|
|
328
|
-
:param pulumi.Input[str] disk_space_used: Disk space that service is currently using
|
|
329
|
-
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
330
|
-
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
331
|
-
:param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
332
|
-
:param pulumi.Input[str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
333
|
-
:param pulumi.Input[str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
334
|
-
:param pulumi.Input[str] service_host: The hostname of the service.
|
|
325
|
+
: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.
|
|
326
|
+
: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.
|
|
327
|
+
: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`
|
|
328
|
+
: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.
|
|
329
|
+
:param pulumi.Input[builtins.str] disk_space_used: Disk space that service is currently using
|
|
330
|
+
:param pulumi.Input[builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
331
|
+
:param pulumi.Input[builtins.str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
332
|
+
: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).
|
|
333
|
+
: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.
|
|
334
|
+
:param pulumi.Input[builtins.str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
335
|
+
:param pulumi.Input[builtins.str] service_host: The hostname of the service.
|
|
335
336
|
:param pulumi.Input[Sequence[pulumi.Input['CassandraServiceIntegrationArgs']]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
336
|
-
:param pulumi.Input[str] service_name: Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
|
|
337
|
-
:param pulumi.Input[str] service_password: Password used for connecting to the service, if applicable
|
|
338
|
-
:param pulumi.Input[int] service_port: The port of the service
|
|
339
|
-
:param pulumi.Input[str] service_type: Aiven internal service type code
|
|
340
|
-
:param pulumi.Input[str] service_uri: URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
341
|
-
:param pulumi.Input[str] service_username: Username used for connecting to the service, if applicable
|
|
342
|
-
:param pulumi.Input[str] state: Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
343
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
337
|
+
: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.
|
|
338
|
+
:param pulumi.Input[builtins.str] service_password: Password used for connecting to the service, if applicable
|
|
339
|
+
:param pulumi.Input[builtins.int] service_port: The port of the service
|
|
340
|
+
:param pulumi.Input[builtins.str] service_type: Aiven internal service type code
|
|
341
|
+
:param pulumi.Input[builtins.str] service_uri: URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
342
|
+
:param pulumi.Input[builtins.str] service_username: Username used for connecting to the service, if applicable
|
|
343
|
+
:param pulumi.Input[builtins.str] state: Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
344
|
+
: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
345
|
:param pulumi.Input[Sequence[pulumi.Input['CassandraTagArgs']]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
345
346
|
: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[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
|
+
: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
348
|
"""
|
|
348
349
|
if additional_disk_space is not None:
|
|
349
350
|
pulumi.set(__self__, "additional_disk_space", additional_disk_space)
|
|
@@ -410,14 +411,14 @@ class _CassandraState:
|
|
|
410
411
|
|
|
411
412
|
@property
|
|
412
413
|
@pulumi.getter(name="additionalDiskSpace")
|
|
413
|
-
def additional_disk_space(self) -> Optional[pulumi.Input[str]]:
|
|
414
|
+
def additional_disk_space(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
414
415
|
"""
|
|
415
416
|
Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
|
|
416
417
|
"""
|
|
417
418
|
return pulumi.get(self, "additional_disk_space")
|
|
418
419
|
|
|
419
420
|
@additional_disk_space.setter
|
|
420
|
-
def additional_disk_space(self, value: Optional[pulumi.Input[str]]):
|
|
421
|
+
def additional_disk_space(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
421
422
|
pulumi.set(self, "additional_disk_space", value)
|
|
422
423
|
|
|
423
424
|
@property
|
|
@@ -446,14 +447,14 @@ class _CassandraState:
|
|
|
446
447
|
|
|
447
448
|
@property
|
|
448
449
|
@pulumi.getter(name="cloudName")
|
|
449
|
-
def cloud_name(self) -> Optional[pulumi.Input[str]]:
|
|
450
|
+
def cloud_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
450
451
|
"""
|
|
451
452
|
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
453
|
"""
|
|
453
454
|
return pulumi.get(self, "cloud_name")
|
|
454
455
|
|
|
455
456
|
@cloud_name.setter
|
|
456
|
-
def cloud_name(self, value: Optional[pulumi.Input[str]]):
|
|
457
|
+
def cloud_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
457
458
|
pulumi.set(self, "cloud_name", value)
|
|
458
459
|
|
|
459
460
|
@property
|
|
@@ -471,135 +472,135 @@ class _CassandraState:
|
|
|
471
472
|
@property
|
|
472
473
|
@pulumi.getter(name="diskSpace")
|
|
473
474
|
@_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[str]]:
|
|
475
|
+
def disk_space(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
475
476
|
"""
|
|
476
477
|
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
478
|
"""
|
|
478
479
|
return pulumi.get(self, "disk_space")
|
|
479
480
|
|
|
480
481
|
@disk_space.setter
|
|
481
|
-
def disk_space(self, value: Optional[pulumi.Input[str]]):
|
|
482
|
+
def disk_space(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
482
483
|
pulumi.set(self, "disk_space", value)
|
|
483
484
|
|
|
484
485
|
@property
|
|
485
486
|
@pulumi.getter(name="diskSpaceCap")
|
|
486
|
-
def disk_space_cap(self) -> Optional[pulumi.Input[str]]:
|
|
487
|
+
def disk_space_cap(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
487
488
|
"""
|
|
488
489
|
The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
489
490
|
"""
|
|
490
491
|
return pulumi.get(self, "disk_space_cap")
|
|
491
492
|
|
|
492
493
|
@disk_space_cap.setter
|
|
493
|
-
def disk_space_cap(self, value: Optional[pulumi.Input[str]]):
|
|
494
|
+
def disk_space_cap(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
494
495
|
pulumi.set(self, "disk_space_cap", value)
|
|
495
496
|
|
|
496
497
|
@property
|
|
497
498
|
@pulumi.getter(name="diskSpaceDefault")
|
|
498
|
-
def disk_space_default(self) -> Optional[pulumi.Input[str]]:
|
|
499
|
+
def disk_space_default(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
499
500
|
"""
|
|
500
501
|
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
502
|
"""
|
|
502
503
|
return pulumi.get(self, "disk_space_default")
|
|
503
504
|
|
|
504
505
|
@disk_space_default.setter
|
|
505
|
-
def disk_space_default(self, value: Optional[pulumi.Input[str]]):
|
|
506
|
+
def disk_space_default(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
506
507
|
pulumi.set(self, "disk_space_default", value)
|
|
507
508
|
|
|
508
509
|
@property
|
|
509
510
|
@pulumi.getter(name="diskSpaceStep")
|
|
510
|
-
def disk_space_step(self) -> Optional[pulumi.Input[str]]:
|
|
511
|
+
def disk_space_step(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
511
512
|
"""
|
|
512
513
|
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
514
|
"""
|
|
514
515
|
return pulumi.get(self, "disk_space_step")
|
|
515
516
|
|
|
516
517
|
@disk_space_step.setter
|
|
517
|
-
def disk_space_step(self, value: Optional[pulumi.Input[str]]):
|
|
518
|
+
def disk_space_step(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
518
519
|
pulumi.set(self, "disk_space_step", value)
|
|
519
520
|
|
|
520
521
|
@property
|
|
521
522
|
@pulumi.getter(name="diskSpaceUsed")
|
|
522
523
|
@_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[str]]:
|
|
524
|
+
def disk_space_used(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
524
525
|
"""
|
|
525
526
|
Disk space that service is currently using
|
|
526
527
|
"""
|
|
527
528
|
return pulumi.get(self, "disk_space_used")
|
|
528
529
|
|
|
529
530
|
@disk_space_used.setter
|
|
530
|
-
def disk_space_used(self, value: Optional[pulumi.Input[str]]):
|
|
531
|
+
def disk_space_used(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
531
532
|
pulumi.set(self, "disk_space_used", value)
|
|
532
533
|
|
|
533
534
|
@property
|
|
534
535
|
@pulumi.getter(name="maintenanceWindowDow")
|
|
535
|
-
def maintenance_window_dow(self) -> Optional[pulumi.Input[str]]:
|
|
536
|
+
def maintenance_window_dow(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
536
537
|
"""
|
|
537
538
|
Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
538
539
|
"""
|
|
539
540
|
return pulumi.get(self, "maintenance_window_dow")
|
|
540
541
|
|
|
541
542
|
@maintenance_window_dow.setter
|
|
542
|
-
def maintenance_window_dow(self, value: Optional[pulumi.Input[str]]):
|
|
543
|
+
def maintenance_window_dow(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
543
544
|
pulumi.set(self, "maintenance_window_dow", value)
|
|
544
545
|
|
|
545
546
|
@property
|
|
546
547
|
@pulumi.getter(name="maintenanceWindowTime")
|
|
547
|
-
def maintenance_window_time(self) -> Optional[pulumi.Input[str]]:
|
|
548
|
+
def maintenance_window_time(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
548
549
|
"""
|
|
549
550
|
Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
550
551
|
"""
|
|
551
552
|
return pulumi.get(self, "maintenance_window_time")
|
|
552
553
|
|
|
553
554
|
@maintenance_window_time.setter
|
|
554
|
-
def maintenance_window_time(self, value: Optional[pulumi.Input[str]]):
|
|
555
|
+
def maintenance_window_time(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
555
556
|
pulumi.set(self, "maintenance_window_time", value)
|
|
556
557
|
|
|
557
558
|
@property
|
|
558
559
|
@pulumi.getter
|
|
559
|
-
def plan(self) -> Optional[pulumi.Input[str]]:
|
|
560
|
+
def plan(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
560
561
|
"""
|
|
561
562
|
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
563
|
"""
|
|
563
564
|
return pulumi.get(self, "plan")
|
|
564
565
|
|
|
565
566
|
@plan.setter
|
|
566
|
-
def plan(self, value: Optional[pulumi.Input[str]]):
|
|
567
|
+
def plan(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
567
568
|
pulumi.set(self, "plan", value)
|
|
568
569
|
|
|
569
570
|
@property
|
|
570
571
|
@pulumi.getter
|
|
571
|
-
def project(self) -> Optional[pulumi.Input[str]]:
|
|
572
|
+
def project(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
572
573
|
"""
|
|
573
574
|
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
575
|
"""
|
|
575
576
|
return pulumi.get(self, "project")
|
|
576
577
|
|
|
577
578
|
@project.setter
|
|
578
|
-
def project(self, value: Optional[pulumi.Input[str]]):
|
|
579
|
+
def project(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
579
580
|
pulumi.set(self, "project", value)
|
|
580
581
|
|
|
581
582
|
@property
|
|
582
583
|
@pulumi.getter(name="projectVpcId")
|
|
583
|
-
def project_vpc_id(self) -> Optional[pulumi.Input[str]]:
|
|
584
|
+
def project_vpc_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
584
585
|
"""
|
|
585
586
|
Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
586
587
|
"""
|
|
587
588
|
return pulumi.get(self, "project_vpc_id")
|
|
588
589
|
|
|
589
590
|
@project_vpc_id.setter
|
|
590
|
-
def project_vpc_id(self, value: Optional[pulumi.Input[str]]):
|
|
591
|
+
def project_vpc_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
591
592
|
pulumi.set(self, "project_vpc_id", value)
|
|
592
593
|
|
|
593
594
|
@property
|
|
594
595
|
@pulumi.getter(name="serviceHost")
|
|
595
|
-
def service_host(self) -> Optional[pulumi.Input[str]]:
|
|
596
|
+
def service_host(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
596
597
|
"""
|
|
597
598
|
The hostname of the service.
|
|
598
599
|
"""
|
|
599
600
|
return pulumi.get(self, "service_host")
|
|
600
601
|
|
|
601
602
|
@service_host.setter
|
|
602
|
-
def service_host(self, value: Optional[pulumi.Input[str]]):
|
|
603
|
+
def service_host(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
603
604
|
pulumi.set(self, "service_host", value)
|
|
604
605
|
|
|
605
606
|
@property
|
|
@@ -616,98 +617,98 @@ class _CassandraState:
|
|
|
616
617
|
|
|
617
618
|
@property
|
|
618
619
|
@pulumi.getter(name="serviceName")
|
|
619
|
-
def service_name(self) -> Optional[pulumi.Input[str]]:
|
|
620
|
+
def service_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
620
621
|
"""
|
|
621
622
|
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
623
|
"""
|
|
623
624
|
return pulumi.get(self, "service_name")
|
|
624
625
|
|
|
625
626
|
@service_name.setter
|
|
626
|
-
def service_name(self, value: Optional[pulumi.Input[str]]):
|
|
627
|
+
def service_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
627
628
|
pulumi.set(self, "service_name", value)
|
|
628
629
|
|
|
629
630
|
@property
|
|
630
631
|
@pulumi.getter(name="servicePassword")
|
|
631
|
-
def service_password(self) -> Optional[pulumi.Input[str]]:
|
|
632
|
+
def service_password(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
632
633
|
"""
|
|
633
634
|
Password used for connecting to the service, if applicable
|
|
634
635
|
"""
|
|
635
636
|
return pulumi.get(self, "service_password")
|
|
636
637
|
|
|
637
638
|
@service_password.setter
|
|
638
|
-
def service_password(self, value: Optional[pulumi.Input[str]]):
|
|
639
|
+
def service_password(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
639
640
|
pulumi.set(self, "service_password", value)
|
|
640
641
|
|
|
641
642
|
@property
|
|
642
643
|
@pulumi.getter(name="servicePort")
|
|
643
|
-
def service_port(self) -> Optional[pulumi.Input[int]]:
|
|
644
|
+
def service_port(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
644
645
|
"""
|
|
645
646
|
The port of the service
|
|
646
647
|
"""
|
|
647
648
|
return pulumi.get(self, "service_port")
|
|
648
649
|
|
|
649
650
|
@service_port.setter
|
|
650
|
-
def service_port(self, value: Optional[pulumi.Input[int]]):
|
|
651
|
+
def service_port(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
651
652
|
pulumi.set(self, "service_port", value)
|
|
652
653
|
|
|
653
654
|
@property
|
|
654
655
|
@pulumi.getter(name="serviceType")
|
|
655
|
-
def service_type(self) -> Optional[pulumi.Input[str]]:
|
|
656
|
+
def service_type(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
656
657
|
"""
|
|
657
658
|
Aiven internal service type code
|
|
658
659
|
"""
|
|
659
660
|
return pulumi.get(self, "service_type")
|
|
660
661
|
|
|
661
662
|
@service_type.setter
|
|
662
|
-
def service_type(self, value: Optional[pulumi.Input[str]]):
|
|
663
|
+
def service_type(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
663
664
|
pulumi.set(self, "service_type", value)
|
|
664
665
|
|
|
665
666
|
@property
|
|
666
667
|
@pulumi.getter(name="serviceUri")
|
|
667
|
-
def service_uri(self) -> Optional[pulumi.Input[str]]:
|
|
668
|
+
def service_uri(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
668
669
|
"""
|
|
669
670
|
URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
670
671
|
"""
|
|
671
672
|
return pulumi.get(self, "service_uri")
|
|
672
673
|
|
|
673
674
|
@service_uri.setter
|
|
674
|
-
def service_uri(self, value: Optional[pulumi.Input[str]]):
|
|
675
|
+
def service_uri(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
675
676
|
pulumi.set(self, "service_uri", value)
|
|
676
677
|
|
|
677
678
|
@property
|
|
678
679
|
@pulumi.getter(name="serviceUsername")
|
|
679
|
-
def service_username(self) -> Optional[pulumi.Input[str]]:
|
|
680
|
+
def service_username(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
680
681
|
"""
|
|
681
682
|
Username used for connecting to the service, if applicable
|
|
682
683
|
"""
|
|
683
684
|
return pulumi.get(self, "service_username")
|
|
684
685
|
|
|
685
686
|
@service_username.setter
|
|
686
|
-
def service_username(self, value: Optional[pulumi.Input[str]]):
|
|
687
|
+
def service_username(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
687
688
|
pulumi.set(self, "service_username", value)
|
|
688
689
|
|
|
689
690
|
@property
|
|
690
691
|
@pulumi.getter
|
|
691
|
-
def state(self) -> Optional[pulumi.Input[str]]:
|
|
692
|
+
def state(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
692
693
|
"""
|
|
693
694
|
Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
694
695
|
"""
|
|
695
696
|
return pulumi.get(self, "state")
|
|
696
697
|
|
|
697
698
|
@state.setter
|
|
698
|
-
def state(self, value: Optional[pulumi.Input[str]]):
|
|
699
|
+
def state(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
699
700
|
pulumi.set(self, "state", value)
|
|
700
701
|
|
|
701
702
|
@property
|
|
702
703
|
@pulumi.getter(name="staticIps")
|
|
703
|
-
def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
704
|
+
def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
704
705
|
"""
|
|
705
706
|
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
|
|
706
707
|
"""
|
|
707
708
|
return pulumi.get(self, "static_ips")
|
|
708
709
|
|
|
709
710
|
@static_ips.setter
|
|
710
|
-
def static_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
711
|
+
def static_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
711
712
|
pulumi.set(self, "static_ips", value)
|
|
712
713
|
|
|
713
714
|
@property
|
|
@@ -736,14 +737,14 @@ class _CassandraState:
|
|
|
736
737
|
|
|
737
738
|
@property
|
|
738
739
|
@pulumi.getter(name="terminationProtection")
|
|
739
|
-
def termination_protection(self) -> Optional[pulumi.Input[bool]]:
|
|
740
|
+
def termination_protection(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
740
741
|
"""
|
|
741
742
|
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.
|
|
742
743
|
"""
|
|
743
744
|
return pulumi.get(self, "termination_protection")
|
|
744
745
|
|
|
745
746
|
@termination_protection.setter
|
|
746
|
-
def termination_protection(self, value: Optional[pulumi.Input[bool]]):
|
|
747
|
+
def termination_protection(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
747
748
|
pulumi.set(self, "termination_protection", value)
|
|
748
749
|
|
|
749
750
|
|
|
@@ -752,22 +753,22 @@ class Cassandra(pulumi.CustomResource):
|
|
|
752
753
|
def __init__(__self__,
|
|
753
754
|
resource_name: str,
|
|
754
755
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
755
|
-
additional_disk_space: Optional[pulumi.Input[str]] = None,
|
|
756
|
+
additional_disk_space: Optional[pulumi.Input[builtins.str]] = None,
|
|
756
757
|
cassandra: Optional[pulumi.Input[Union['CassandraCassandraArgs', 'CassandraCassandraArgsDict']]] = None,
|
|
757
758
|
cassandra_user_config: Optional[pulumi.Input[Union['CassandraCassandraUserConfigArgs', 'CassandraCassandraUserConfigArgsDict']]] = None,
|
|
758
|
-
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
759
|
-
disk_space: Optional[pulumi.Input[str]] = None,
|
|
760
|
-
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
761
|
-
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
762
|
-
plan: Optional[pulumi.Input[str]] = None,
|
|
763
|
-
project: Optional[pulumi.Input[str]] = None,
|
|
764
|
-
project_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
759
|
+
cloud_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
760
|
+
disk_space: Optional[pulumi.Input[builtins.str]] = None,
|
|
761
|
+
maintenance_window_dow: Optional[pulumi.Input[builtins.str]] = None,
|
|
762
|
+
maintenance_window_time: Optional[pulumi.Input[builtins.str]] = None,
|
|
763
|
+
plan: Optional[pulumi.Input[builtins.str]] = None,
|
|
764
|
+
project: Optional[pulumi.Input[builtins.str]] = None,
|
|
765
|
+
project_vpc_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
765
766
|
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['CassandraServiceIntegrationArgs', 'CassandraServiceIntegrationArgsDict']]]]] = None,
|
|
766
|
-
service_name: Optional[pulumi.Input[str]] = None,
|
|
767
|
-
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
767
|
+
service_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
768
|
+
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
768
769
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['CassandraTagArgs', 'CassandraTagArgsDict']]]]] = None,
|
|
769
770
|
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['CassandraTechEmailArgs', 'CassandraTechEmailArgsDict']]]]] = None,
|
|
770
|
-
termination_protection: Optional[pulumi.Input[bool]] = None,
|
|
771
|
+
termination_protection: Optional[pulumi.Input[builtins.bool]] = None,
|
|
771
772
|
__props__=None):
|
|
772
773
|
"""
|
|
773
774
|
Creates and manages an [Aiven for Apache Cassandra®](https://aiven.io/docs/products/cassandra) service.
|
|
@@ -808,22 +809,22 @@ class Cassandra(pulumi.CustomResource):
|
|
|
808
809
|
|
|
809
810
|
:param str resource_name: The name of the resource.
|
|
810
811
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
811
|
-
:param pulumi.Input[str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
|
|
812
|
+
:param pulumi.Input[builtins.str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
|
|
812
813
|
:param pulumi.Input[Union['CassandraCassandraArgs', 'CassandraCassandraArgsDict']] cassandra: Values provided by the Cassandra server.
|
|
813
814
|
: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
|
|
814
|
-
:param pulumi.Input[str] cloud_name: The cloud provider and region the service is hosted in. The format is `provider-region`, for example: `google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ per project and service. Changing this value [migrates the service to another cloud provider or region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
|
|
815
|
-
:param pulumi.Input[str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
816
|
-
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
817
|
-
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
818
|
-
:param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
819
|
-
:param pulumi.Input[str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
820
|
-
:param pulumi.Input[str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
815
|
+
: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.
|
|
816
|
+
: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.
|
|
817
|
+
:param pulumi.Input[builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
818
|
+
:param pulumi.Input[builtins.str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
819
|
+
: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).
|
|
820
|
+
: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.
|
|
821
|
+
:param pulumi.Input[builtins.str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
821
822
|
: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
|
|
822
|
-
:param pulumi.Input[str] service_name: Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
|
|
823
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
823
|
+
: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.
|
|
824
|
+
: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
|
|
824
825
|
:param pulumi.Input[Sequence[pulumi.Input[Union['CassandraTagArgs', 'CassandraTagArgsDict']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
825
826
|
: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.
|
|
826
|
-
:param pulumi.Input[bool] termination_protection: Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
|
|
827
|
+
: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.
|
|
827
828
|
"""
|
|
828
829
|
...
|
|
829
830
|
@overload
|
|
@@ -883,22 +884,22 @@ class Cassandra(pulumi.CustomResource):
|
|
|
883
884
|
def _internal_init(__self__,
|
|
884
885
|
resource_name: str,
|
|
885
886
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
886
|
-
additional_disk_space: Optional[pulumi.Input[str]] = None,
|
|
887
|
+
additional_disk_space: Optional[pulumi.Input[builtins.str]] = None,
|
|
887
888
|
cassandra: Optional[pulumi.Input[Union['CassandraCassandraArgs', 'CassandraCassandraArgsDict']]] = None,
|
|
888
889
|
cassandra_user_config: Optional[pulumi.Input[Union['CassandraCassandraUserConfigArgs', 'CassandraCassandraUserConfigArgsDict']]] = None,
|
|
889
|
-
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
890
|
-
disk_space: Optional[pulumi.Input[str]] = None,
|
|
891
|
-
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
892
|
-
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
893
|
-
plan: Optional[pulumi.Input[str]] = None,
|
|
894
|
-
project: Optional[pulumi.Input[str]] = None,
|
|
895
|
-
project_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
890
|
+
cloud_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
891
|
+
disk_space: Optional[pulumi.Input[builtins.str]] = None,
|
|
892
|
+
maintenance_window_dow: Optional[pulumi.Input[builtins.str]] = None,
|
|
893
|
+
maintenance_window_time: Optional[pulumi.Input[builtins.str]] = None,
|
|
894
|
+
plan: Optional[pulumi.Input[builtins.str]] = None,
|
|
895
|
+
project: Optional[pulumi.Input[builtins.str]] = None,
|
|
896
|
+
project_vpc_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
896
897
|
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['CassandraServiceIntegrationArgs', 'CassandraServiceIntegrationArgsDict']]]]] = None,
|
|
897
|
-
service_name: Optional[pulumi.Input[str]] = None,
|
|
898
|
-
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
898
|
+
service_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
899
|
+
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
899
900
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['CassandraTagArgs', 'CassandraTagArgsDict']]]]] = None,
|
|
900
901
|
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['CassandraTechEmailArgs', 'CassandraTechEmailArgsDict']]]]] = None,
|
|
901
|
-
termination_protection: Optional[pulumi.Input[bool]] = None,
|
|
902
|
+
termination_protection: Optional[pulumi.Input[builtins.bool]] = None,
|
|
902
903
|
__props__=None):
|
|
903
904
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
904
905
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -954,34 +955,34 @@ class Cassandra(pulumi.CustomResource):
|
|
|
954
955
|
def get(resource_name: str,
|
|
955
956
|
id: pulumi.Input[str],
|
|
956
957
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
957
|
-
additional_disk_space: Optional[pulumi.Input[str]] = None,
|
|
958
|
+
additional_disk_space: Optional[pulumi.Input[builtins.str]] = None,
|
|
958
959
|
cassandra: Optional[pulumi.Input[Union['CassandraCassandraArgs', 'CassandraCassandraArgsDict']]] = None,
|
|
959
960
|
cassandra_user_config: Optional[pulumi.Input[Union['CassandraCassandraUserConfigArgs', 'CassandraCassandraUserConfigArgsDict']]] = None,
|
|
960
|
-
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
961
|
+
cloud_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
961
962
|
components: Optional[pulumi.Input[Sequence[pulumi.Input[Union['CassandraComponentArgs', 'CassandraComponentArgsDict']]]]] = None,
|
|
962
|
-
disk_space: Optional[pulumi.Input[str]] = None,
|
|
963
|
-
disk_space_cap: Optional[pulumi.Input[str]] = None,
|
|
964
|
-
disk_space_default: Optional[pulumi.Input[str]] = None,
|
|
965
|
-
disk_space_step: Optional[pulumi.Input[str]] = None,
|
|
966
|
-
disk_space_used: Optional[pulumi.Input[str]] = None,
|
|
967
|
-
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
968
|
-
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
969
|
-
plan: Optional[pulumi.Input[str]] = None,
|
|
970
|
-
project: Optional[pulumi.Input[str]] = None,
|
|
971
|
-
project_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
972
|
-
service_host: Optional[pulumi.Input[str]] = None,
|
|
963
|
+
disk_space: Optional[pulumi.Input[builtins.str]] = None,
|
|
964
|
+
disk_space_cap: Optional[pulumi.Input[builtins.str]] = None,
|
|
965
|
+
disk_space_default: Optional[pulumi.Input[builtins.str]] = None,
|
|
966
|
+
disk_space_step: Optional[pulumi.Input[builtins.str]] = None,
|
|
967
|
+
disk_space_used: Optional[pulumi.Input[builtins.str]] = None,
|
|
968
|
+
maintenance_window_dow: Optional[pulumi.Input[builtins.str]] = None,
|
|
969
|
+
maintenance_window_time: Optional[pulumi.Input[builtins.str]] = None,
|
|
970
|
+
plan: Optional[pulumi.Input[builtins.str]] = None,
|
|
971
|
+
project: Optional[pulumi.Input[builtins.str]] = None,
|
|
972
|
+
project_vpc_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
973
|
+
service_host: Optional[pulumi.Input[builtins.str]] = None,
|
|
973
974
|
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['CassandraServiceIntegrationArgs', 'CassandraServiceIntegrationArgsDict']]]]] = None,
|
|
974
|
-
service_name: Optional[pulumi.Input[str]] = None,
|
|
975
|
-
service_password: Optional[pulumi.Input[str]] = None,
|
|
976
|
-
service_port: Optional[pulumi.Input[int]] = None,
|
|
977
|
-
service_type: Optional[pulumi.Input[str]] = None,
|
|
978
|
-
service_uri: Optional[pulumi.Input[str]] = None,
|
|
979
|
-
service_username: Optional[pulumi.Input[str]] = None,
|
|
980
|
-
state: Optional[pulumi.Input[str]] = None,
|
|
981
|
-
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
975
|
+
service_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
976
|
+
service_password: Optional[pulumi.Input[builtins.str]] = None,
|
|
977
|
+
service_port: Optional[pulumi.Input[builtins.int]] = None,
|
|
978
|
+
service_type: Optional[pulumi.Input[builtins.str]] = None,
|
|
979
|
+
service_uri: Optional[pulumi.Input[builtins.str]] = None,
|
|
980
|
+
service_username: Optional[pulumi.Input[builtins.str]] = None,
|
|
981
|
+
state: Optional[pulumi.Input[builtins.str]] = None,
|
|
982
|
+
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
982
983
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['CassandraTagArgs', 'CassandraTagArgsDict']]]]] = None,
|
|
983
984
|
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['CassandraTechEmailArgs', 'CassandraTechEmailArgsDict']]]]] = None,
|
|
984
|
-
termination_protection: Optional[pulumi.Input[bool]] = None) -> 'Cassandra':
|
|
985
|
+
termination_protection: Optional[pulumi.Input[builtins.bool]] = None) -> 'Cassandra':
|
|
985
986
|
"""
|
|
986
987
|
Get an existing Cassandra resource's state with the given name, id, and optional extra
|
|
987
988
|
properties used to qualify the lookup.
|
|
@@ -989,34 +990,34 @@ class Cassandra(pulumi.CustomResource):
|
|
|
989
990
|
:param str resource_name: The unique name of the resulting resource.
|
|
990
991
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
991
992
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
992
|
-
:param pulumi.Input[str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
|
|
993
|
+
:param pulumi.Input[builtins.str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
|
|
993
994
|
:param pulumi.Input[Union['CassandraCassandraArgs', 'CassandraCassandraArgsDict']] cassandra: Values provided by the Cassandra server.
|
|
994
995
|
: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
|
|
995
|
-
:param pulumi.Input[str] cloud_name: The cloud provider and region the service is hosted in. The format is `provider-region`, for example: `google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ per project and service. Changing this value [migrates the service to another cloud provider or region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
|
|
996
|
+
: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.
|
|
996
997
|
:param pulumi.Input[Sequence[pulumi.Input[Union['CassandraComponentArgs', 'CassandraComponentArgsDict']]]] components: Service component information objects
|
|
997
|
-
:param pulumi.Input[str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
998
|
-
:param pulumi.Input[str] disk_space_cap: The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
999
|
-
:param pulumi.Input[str] disk_space_default: The default disk space of the service, possible values depend on the service type, the cloud provider and the project. Its also the minimum value for `disk_space`
|
|
1000
|
-
:param pulumi.Input[str] disk_space_step: The default disk space step of the service, possible values depend on the service type, the cloud provider and the project. `disk_space` needs to increment from `disk_space_default` by increments of this size.
|
|
1001
|
-
:param pulumi.Input[str] disk_space_used: Disk space that service is currently using
|
|
1002
|
-
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
1003
|
-
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
1004
|
-
:param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
1005
|
-
:param pulumi.Input[str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
1006
|
-
:param pulumi.Input[str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
1007
|
-
:param pulumi.Input[str] service_host: The hostname of the service.
|
|
998
|
+
: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.
|
|
999
|
+
: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.
|
|
1000
|
+
: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`
|
|
1001
|
+
: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.
|
|
1002
|
+
:param pulumi.Input[builtins.str] disk_space_used: Disk space that service is currently using
|
|
1003
|
+
:param pulumi.Input[builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
1004
|
+
:param pulumi.Input[builtins.str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
1005
|
+
: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).
|
|
1006
|
+
: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.
|
|
1007
|
+
:param pulumi.Input[builtins.str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
1008
|
+
:param pulumi.Input[builtins.str] service_host: The hostname of the service.
|
|
1008
1009
|
: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
|
|
1009
|
-
:param pulumi.Input[str] service_name: Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
|
|
1010
|
-
:param pulumi.Input[str] service_password: Password used for connecting to the service, if applicable
|
|
1011
|
-
:param pulumi.Input[int] service_port: The port of the service
|
|
1012
|
-
:param pulumi.Input[str] service_type: Aiven internal service type code
|
|
1013
|
-
:param pulumi.Input[str] service_uri: URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
1014
|
-
:param pulumi.Input[str] service_username: Username used for connecting to the service, if applicable
|
|
1015
|
-
:param pulumi.Input[str] state: Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
1016
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
1010
|
+
: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.
|
|
1011
|
+
:param pulumi.Input[builtins.str] service_password: Password used for connecting to the service, if applicable
|
|
1012
|
+
:param pulumi.Input[builtins.int] service_port: The port of the service
|
|
1013
|
+
:param pulumi.Input[builtins.str] service_type: Aiven internal service type code
|
|
1014
|
+
:param pulumi.Input[builtins.str] service_uri: URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
1015
|
+
:param pulumi.Input[builtins.str] service_username: Username used for connecting to the service, if applicable
|
|
1016
|
+
:param pulumi.Input[builtins.str] state: Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
1017
|
+
: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
|
|
1017
1018
|
:param pulumi.Input[Sequence[pulumi.Input[Union['CassandraTagArgs', 'CassandraTagArgsDict']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
1018
1019
|
: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.
|
|
1019
|
-
:param pulumi.Input[bool] termination_protection: Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
|
|
1020
|
+
: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.
|
|
1020
1021
|
"""
|
|
1021
1022
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
1022
1023
|
|
|
@@ -1054,7 +1055,7 @@ class Cassandra(pulumi.CustomResource):
|
|
|
1054
1055
|
|
|
1055
1056
|
@property
|
|
1056
1057
|
@pulumi.getter(name="additionalDiskSpace")
|
|
1057
|
-
def additional_disk_space(self) -> pulumi.Output[str]:
|
|
1058
|
+
def additional_disk_space(self) -> pulumi.Output[builtins.str]:
|
|
1058
1059
|
"""
|
|
1059
1060
|
Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
|
|
1060
1061
|
"""
|
|
@@ -1078,7 +1079,7 @@ class Cassandra(pulumi.CustomResource):
|
|
|
1078
1079
|
|
|
1079
1080
|
@property
|
|
1080
1081
|
@pulumi.getter(name="cloudName")
|
|
1081
|
-
def cloud_name(self) -> pulumi.Output[Optional[str]]:
|
|
1082
|
+
def cloud_name(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
1082
1083
|
"""
|
|
1083
1084
|
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.
|
|
1084
1085
|
"""
|
|
@@ -1095,7 +1096,7 @@ class Cassandra(pulumi.CustomResource):
|
|
|
1095
1096
|
@property
|
|
1096
1097
|
@pulumi.getter(name="diskSpace")
|
|
1097
1098
|
@_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.""")
|
|
1098
|
-
def disk_space(self) -> pulumi.Output[Optional[str]]:
|
|
1099
|
+
def disk_space(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
1099
1100
|
"""
|
|
1100
1101
|
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
1101
1102
|
"""
|
|
@@ -1103,7 +1104,7 @@ class Cassandra(pulumi.CustomResource):
|
|
|
1103
1104
|
|
|
1104
1105
|
@property
|
|
1105
1106
|
@pulumi.getter(name="diskSpaceCap")
|
|
1106
|
-
def disk_space_cap(self) -> pulumi.Output[str]:
|
|
1107
|
+
def disk_space_cap(self) -> pulumi.Output[builtins.str]:
|
|
1107
1108
|
"""
|
|
1108
1109
|
The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
1109
1110
|
"""
|
|
@@ -1111,7 +1112,7 @@ class Cassandra(pulumi.CustomResource):
|
|
|
1111
1112
|
|
|
1112
1113
|
@property
|
|
1113
1114
|
@pulumi.getter(name="diskSpaceDefault")
|
|
1114
|
-
def disk_space_default(self) -> pulumi.Output[str]:
|
|
1115
|
+
def disk_space_default(self) -> pulumi.Output[builtins.str]:
|
|
1115
1116
|
"""
|
|
1116
1117
|
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`
|
|
1117
1118
|
"""
|
|
@@ -1119,7 +1120,7 @@ class Cassandra(pulumi.CustomResource):
|
|
|
1119
1120
|
|
|
1120
1121
|
@property
|
|
1121
1122
|
@pulumi.getter(name="diskSpaceStep")
|
|
1122
|
-
def disk_space_step(self) -> pulumi.Output[str]:
|
|
1123
|
+
def disk_space_step(self) -> pulumi.Output[builtins.str]:
|
|
1123
1124
|
"""
|
|
1124
1125
|
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.
|
|
1125
1126
|
"""
|
|
@@ -1128,7 +1129,7 @@ class Cassandra(pulumi.CustomResource):
|
|
|
1128
1129
|
@property
|
|
1129
1130
|
@pulumi.getter(name="diskSpaceUsed")
|
|
1130
1131
|
@_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.""")
|
|
1131
|
-
def disk_space_used(self) -> pulumi.Output[str]:
|
|
1132
|
+
def disk_space_used(self) -> pulumi.Output[builtins.str]:
|
|
1132
1133
|
"""
|
|
1133
1134
|
Disk space that service is currently using
|
|
1134
1135
|
"""
|
|
@@ -1136,7 +1137,7 @@ class Cassandra(pulumi.CustomResource):
|
|
|
1136
1137
|
|
|
1137
1138
|
@property
|
|
1138
1139
|
@pulumi.getter(name="maintenanceWindowDow")
|
|
1139
|
-
def maintenance_window_dow(self) -> pulumi.Output[Optional[str]]:
|
|
1140
|
+
def maintenance_window_dow(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
1140
1141
|
"""
|
|
1141
1142
|
Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
1142
1143
|
"""
|
|
@@ -1144,7 +1145,7 @@ class Cassandra(pulumi.CustomResource):
|
|
|
1144
1145
|
|
|
1145
1146
|
@property
|
|
1146
1147
|
@pulumi.getter(name="maintenanceWindowTime")
|
|
1147
|
-
def maintenance_window_time(self) -> pulumi.Output[Optional[str]]:
|
|
1148
|
+
def maintenance_window_time(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
1148
1149
|
"""
|
|
1149
1150
|
Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
1150
1151
|
"""
|
|
@@ -1152,7 +1153,7 @@ class Cassandra(pulumi.CustomResource):
|
|
|
1152
1153
|
|
|
1153
1154
|
@property
|
|
1154
1155
|
@pulumi.getter
|
|
1155
|
-
def plan(self) -> pulumi.Output[str]:
|
|
1156
|
+
def plan(self) -> pulumi.Output[builtins.str]:
|
|
1156
1157
|
"""
|
|
1157
1158
|
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).
|
|
1158
1159
|
"""
|
|
@@ -1160,7 +1161,7 @@ class Cassandra(pulumi.CustomResource):
|
|
|
1160
1161
|
|
|
1161
1162
|
@property
|
|
1162
1163
|
@pulumi.getter
|
|
1163
|
-
def project(self) -> pulumi.Output[str]:
|
|
1164
|
+
def project(self) -> pulumi.Output[builtins.str]:
|
|
1164
1165
|
"""
|
|
1165
1166
|
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.
|
|
1166
1167
|
"""
|
|
@@ -1168,7 +1169,7 @@ class Cassandra(pulumi.CustomResource):
|
|
|
1168
1169
|
|
|
1169
1170
|
@property
|
|
1170
1171
|
@pulumi.getter(name="projectVpcId")
|
|
1171
|
-
def project_vpc_id(self) -> pulumi.Output[str]:
|
|
1172
|
+
def project_vpc_id(self) -> pulumi.Output[builtins.str]:
|
|
1172
1173
|
"""
|
|
1173
1174
|
Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
1174
1175
|
"""
|
|
@@ -1176,7 +1177,7 @@ class Cassandra(pulumi.CustomResource):
|
|
|
1176
1177
|
|
|
1177
1178
|
@property
|
|
1178
1179
|
@pulumi.getter(name="serviceHost")
|
|
1179
|
-
def service_host(self) -> pulumi.Output[str]:
|
|
1180
|
+
def service_host(self) -> pulumi.Output[builtins.str]:
|
|
1180
1181
|
"""
|
|
1181
1182
|
The hostname of the service.
|
|
1182
1183
|
"""
|
|
@@ -1192,7 +1193,7 @@ class Cassandra(pulumi.CustomResource):
|
|
|
1192
1193
|
|
|
1193
1194
|
@property
|
|
1194
1195
|
@pulumi.getter(name="serviceName")
|
|
1195
|
-
def service_name(self) -> pulumi.Output[str]:
|
|
1196
|
+
def service_name(self) -> pulumi.Output[builtins.str]:
|
|
1196
1197
|
"""
|
|
1197
1198
|
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.
|
|
1198
1199
|
"""
|
|
@@ -1200,7 +1201,7 @@ class Cassandra(pulumi.CustomResource):
|
|
|
1200
1201
|
|
|
1201
1202
|
@property
|
|
1202
1203
|
@pulumi.getter(name="servicePassword")
|
|
1203
|
-
def service_password(self) -> pulumi.Output[str]:
|
|
1204
|
+
def service_password(self) -> pulumi.Output[builtins.str]:
|
|
1204
1205
|
"""
|
|
1205
1206
|
Password used for connecting to the service, if applicable
|
|
1206
1207
|
"""
|
|
@@ -1208,7 +1209,7 @@ class Cassandra(pulumi.CustomResource):
|
|
|
1208
1209
|
|
|
1209
1210
|
@property
|
|
1210
1211
|
@pulumi.getter(name="servicePort")
|
|
1211
|
-
def service_port(self) -> pulumi.Output[int]:
|
|
1212
|
+
def service_port(self) -> pulumi.Output[builtins.int]:
|
|
1212
1213
|
"""
|
|
1213
1214
|
The port of the service
|
|
1214
1215
|
"""
|
|
@@ -1216,7 +1217,7 @@ class Cassandra(pulumi.CustomResource):
|
|
|
1216
1217
|
|
|
1217
1218
|
@property
|
|
1218
1219
|
@pulumi.getter(name="serviceType")
|
|
1219
|
-
def service_type(self) -> pulumi.Output[str]:
|
|
1220
|
+
def service_type(self) -> pulumi.Output[builtins.str]:
|
|
1220
1221
|
"""
|
|
1221
1222
|
Aiven internal service type code
|
|
1222
1223
|
"""
|
|
@@ -1224,7 +1225,7 @@ class Cassandra(pulumi.CustomResource):
|
|
|
1224
1225
|
|
|
1225
1226
|
@property
|
|
1226
1227
|
@pulumi.getter(name="serviceUri")
|
|
1227
|
-
def service_uri(self) -> pulumi.Output[str]:
|
|
1228
|
+
def service_uri(self) -> pulumi.Output[builtins.str]:
|
|
1228
1229
|
"""
|
|
1229
1230
|
URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
1230
1231
|
"""
|
|
@@ -1232,7 +1233,7 @@ class Cassandra(pulumi.CustomResource):
|
|
|
1232
1233
|
|
|
1233
1234
|
@property
|
|
1234
1235
|
@pulumi.getter(name="serviceUsername")
|
|
1235
|
-
def service_username(self) -> pulumi.Output[str]:
|
|
1236
|
+
def service_username(self) -> pulumi.Output[builtins.str]:
|
|
1236
1237
|
"""
|
|
1237
1238
|
Username used for connecting to the service, if applicable
|
|
1238
1239
|
"""
|
|
@@ -1240,7 +1241,7 @@ class Cassandra(pulumi.CustomResource):
|
|
|
1240
1241
|
|
|
1241
1242
|
@property
|
|
1242
1243
|
@pulumi.getter
|
|
1243
|
-
def state(self) -> pulumi.Output[str]:
|
|
1244
|
+
def state(self) -> pulumi.Output[builtins.str]:
|
|
1244
1245
|
"""
|
|
1245
1246
|
Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
1246
1247
|
"""
|
|
@@ -1248,7 +1249,7 @@ class Cassandra(pulumi.CustomResource):
|
|
|
1248
1249
|
|
|
1249
1250
|
@property
|
|
1250
1251
|
@pulumi.getter(name="staticIps")
|
|
1251
|
-
def static_ips(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
1252
|
+
def static_ips(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
|
|
1252
1253
|
"""
|
|
1253
1254
|
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
|
|
1254
1255
|
"""
|
|
@@ -1272,7 +1273,7 @@ class Cassandra(pulumi.CustomResource):
|
|
|
1272
1273
|
|
|
1273
1274
|
@property
|
|
1274
1275
|
@pulumi.getter(name="terminationProtection")
|
|
1275
|
-
def termination_protection(self) -> pulumi.Output[Optional[bool]]:
|
|
1276
|
+
def termination_protection(self) -> pulumi.Output[Optional[builtins.bool]]:
|
|
1276
1277
|
"""
|
|
1277
1278
|
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.
|
|
1278
1279
|
"""
|