pulumi-aiven 6.41.0a1752901795__py3-none-any.whl → 6.42.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-aiven might be problematic. Click here for more details.
- pulumi_aiven/__init__.py +1 -1
- pulumi_aiven/_inputs.py +11086 -10761
- pulumi_aiven/account.py +89 -90
- pulumi_aiven/account_authentication.py +253 -254
- pulumi_aiven/account_team.py +62 -63
- pulumi_aiven/account_team_member.py +79 -80
- pulumi_aiven/account_team_project.py +72 -73
- pulumi_aiven/alloydbomni.py +319 -320
- pulumi_aiven/alloydbomni_database.py +86 -87
- pulumi_aiven/alloydbomni_user.py +113 -114
- pulumi_aiven/aws_org_vpc_peering_connection.py +113 -114
- pulumi_aiven/aws_privatelink.py +70 -71
- pulumi_aiven/aws_vpc_peering_connection.py +96 -97
- pulumi_aiven/azure_org_vpc_peering_connection.py +138 -139
- pulumi_aiven/azure_privatelink.py +88 -89
- pulumi_aiven/azure_privatelink_connection_approval.py +70 -71
- pulumi_aiven/azure_vpc_peering_connection.py +130 -131
- pulumi_aiven/billing_group.py +256 -257
- pulumi_aiven/cassandra.py +302 -303
- pulumi_aiven/cassandra_user.py +96 -97
- pulumi_aiven/clickhouse.py +304 -305
- pulumi_aiven/clickhouse_database.py +65 -66
- pulumi_aiven/clickhouse_grant.py +75 -76
- pulumi_aiven/clickhouse_role.py +52 -53
- pulumi_aiven/clickhouse_user.py +79 -80
- pulumi_aiven/config/__init__.py +1 -1
- pulumi_aiven/config/__init__.pyi +1 -2
- pulumi_aiven/config/vars.py +2 -3
- pulumi_aiven/connection_pool.py +129 -130
- pulumi_aiven/dragonfly.py +302 -303
- pulumi_aiven/flink.py +302 -303
- pulumi_aiven/flink_application.py +97 -98
- pulumi_aiven/flink_application_deployment.py +138 -139
- pulumi_aiven/flink_application_version.py +117 -118
- pulumi_aiven/flink_jar_application.py +101 -102
- pulumi_aiven/flink_jar_application_deployment.py +217 -218
- pulumi_aiven/flink_jar_application_version.py +116 -117
- pulumi_aiven/gcp_org_vpc_peering_connection.py +87 -88
- pulumi_aiven/gcp_privatelink.py +62 -63
- pulumi_aiven/gcp_privatelink_connection_approval.py +79 -80
- pulumi_aiven/gcp_vpc_peering_connection.py +79 -80
- pulumi_aiven/get_account.py +23 -24
- pulumi_aiven/get_account_authentication.py +46 -47
- pulumi_aiven/get_account_team.py +21 -22
- pulumi_aiven/get_account_team_member.py +27 -28
- pulumi_aiven/get_account_team_project.py +24 -25
- pulumi_aiven/get_alloydbomni.py +63 -64
- pulumi_aiven/get_alloydbomni_database.py +25 -26
- pulumi_aiven/get_alloydbomni_user.py +31 -32
- pulumi_aiven/get_aws_org_vpc_peering_connection.py +39 -40
- pulumi_aiven/get_aws_privatelink.py +21 -22
- pulumi_aiven/get_aws_vpc_peering_connection.py +33 -34
- pulumi_aiven/get_azure_org_vpc_peering_connection.py +41 -42
- pulumi_aiven/get_azure_privatelink.py +25 -26
- pulumi_aiven/get_azure_vpc_peering_connection.py +45 -46
- pulumi_aiven/get_billing_group.py +39 -40
- pulumi_aiven/get_cassanda.py +61 -62
- pulumi_aiven/get_cassandra.py +61 -62
- pulumi_aiven/get_cassandra_user.py +29 -30
- pulumi_aiven/get_clickhouse.py +62 -63
- pulumi_aiven/get_clickhouse_database.py +23 -24
- pulumi_aiven/get_clickhouse_user.py +27 -28
- pulumi_aiven/get_connection_pool.py +31 -32
- pulumi_aiven/get_dragonfly.py +61 -62
- pulumi_aiven/get_external_identity.py +27 -28
- pulumi_aiven/get_flink.py +61 -62
- pulumi_aiven/get_flink_application.py +31 -32
- pulumi_aiven/get_flink_application_version.py +39 -40
- pulumi_aiven/get_gcp_org_vpc_peering_connection.py +31 -32
- pulumi_aiven/get_gcp_privatelink.py +21 -22
- pulumi_aiven/get_gcp_vpc_peering_connection.py +27 -28
- pulumi_aiven/get_grafana.py +61 -62
- pulumi_aiven/get_influx_db.py +57 -58
- pulumi_aiven/get_influxdb_database.py +17 -18
- pulumi_aiven/get_influxdb_user.py +23 -24
- pulumi_aiven/get_kafka.py +66 -67
- pulumi_aiven/get_kafka_acl.py +35 -36
- pulumi_aiven/get_kafka_connect.py +60 -61
- pulumi_aiven/get_kafka_connector.py +36 -37
- pulumi_aiven/get_kafka_mirror_maker.py +60 -61
- pulumi_aiven/get_kafka_schema.py +29 -30
- pulumi_aiven/get_kafka_schema_configuration.py +25 -26
- pulumi_aiven/get_kafka_schema_registry_acl.py +35 -36
- pulumi_aiven/get_kafka_topic.py +33 -34
- pulumi_aiven/get_kafka_user.py +29 -30
- pulumi_aiven/get_m3_aggregator.py +61 -62
- pulumi_aiven/get_m3_db.py +61 -62
- pulumi_aiven/get_m3db_user.py +25 -26
- pulumi_aiven/get_mirror_maker_replication_flow.py +51 -52
- pulumi_aiven/get_my_sql.py +61 -62
- pulumi_aiven/get_mysql_database.py +23 -24
- pulumi_aiven/get_mysql_user.py +31 -32
- pulumi_aiven/get_open_search.py +61 -62
- pulumi_aiven/get_open_search_acl_config.py +19 -20
- pulumi_aiven/get_open_search_acl_rule.py +33 -34
- pulumi_aiven/get_opensearch_security_plugin_config.py +23 -24
- pulumi_aiven/get_opensearch_user.py +25 -26
- pulumi_aiven/get_organization.py +20 -21
- pulumi_aiven/get_organization_address.py +32 -33
- pulumi_aiven/get_organization_application_user.py +21 -22
- pulumi_aiven/get_organization_billing_group.py +34 -35
- pulumi_aiven/get_organization_billing_group_list.py +11 -12
- pulumi_aiven/get_organization_project.py +27 -28
- pulumi_aiven/get_organization_user.py +23 -24
- pulumi_aiven/get_organization_user_group.py +23 -24
- pulumi_aiven/get_organization_user_list.py +14 -15
- pulumi_aiven/get_organization_vpc.py +25 -26
- pulumi_aiven/get_organizational_unit.py +17 -18
- pulumi_aiven/get_pg.py +61 -62
- pulumi_aiven/get_pg_database.py +27 -28
- pulumi_aiven/get_pg_user.py +31 -32
- pulumi_aiven/get_project.py +34 -35
- pulumi_aiven/get_project_user.py +20 -21
- pulumi_aiven/get_project_vpc.py +25 -26
- pulumi_aiven/get_redis.py +61 -62
- pulumi_aiven/get_redis_user.py +33 -34
- pulumi_aiven/get_service_component.py +51 -52
- pulumi_aiven/get_service_integration.py +66 -53
- pulumi_aiven/get_service_integration_endpoint.py +38 -39
- pulumi_aiven/get_thanos.py +61 -62
- pulumi_aiven/get_transit_gateway_vpc_attachment.py +31 -32
- pulumi_aiven/get_valkey.py +61 -62
- pulumi_aiven/get_valkey_user.py +33 -34
- pulumi_aiven/governance_access.py +84 -85
- pulumi_aiven/grafana.py +302 -303
- pulumi_aiven/influx_db.py +302 -303
- pulumi_aiven/influxdb_database.py +65 -66
- pulumi_aiven/influxdb_user.py +96 -97
- pulumi_aiven/kafka.py +339 -340
- pulumi_aiven/kafka_acl.py +95 -96
- pulumi_aiven/kafka_connect.py +299 -300
- pulumi_aiven/kafka_connector.py +125 -126
- pulumi_aiven/kafka_mirror_maker.py +299 -300
- pulumi_aiven/kafka_native_acl.py +154 -155
- pulumi_aiven/kafka_quota.py +120 -121
- pulumi_aiven/kafka_schema.py +112 -113
- pulumi_aiven/kafka_schema_configuration.py +52 -53
- pulumi_aiven/kafka_schema_registry_acl.py +95 -96
- pulumi_aiven/kafka_topic.py +139 -140
- pulumi_aiven/kafka_user.py +96 -97
- pulumi_aiven/m3_aggregator.py +311 -303
- pulumi_aiven/m3_db.py +311 -303
- pulumi_aiven/m3db_user.py +78 -79
- pulumi_aiven/mirror_maker_replication_flow.py +273 -274
- pulumi_aiven/my_sql.py +302 -303
- pulumi_aiven/mysql_database.py +65 -66
- pulumi_aiven/mysql_user.py +113 -114
- pulumi_aiven/open_search.py +302 -303
- pulumi_aiven/open_search_acl_config.py +69 -70
- pulumi_aiven/open_search_acl_rule.py +86 -87
- pulumi_aiven/opensearch_security_plugin_config.py +79 -80
- pulumi_aiven/opensearch_user.py +78 -79
- pulumi_aiven/organization.py +48 -49
- pulumi_aiven/organization_address.py +150 -151
- pulumi_aiven/organization_application_user.py +77 -78
- pulumi_aiven/organization_application_user_token.py +210 -211
- pulumi_aiven/organization_billing_group.py +183 -184
- pulumi_aiven/organization_group_project.py +58 -59
- pulumi_aiven/organization_permission.py +55 -56
- pulumi_aiven/organization_project.py +118 -119
- pulumi_aiven/organization_user.py +71 -72
- pulumi_aiven/organization_user_group.py +79 -80
- pulumi_aiven/organization_user_group_member.py +64 -65
- pulumi_aiven/organization_vpc.py +88 -89
- pulumi_aiven/organizational_unit.py +62 -63
- pulumi_aiven/outputs.py +14747 -14310
- pulumi_aiven/pg.py +302 -303
- pulumi_aiven/pg_database.py +99 -100
- pulumi_aiven/pg_user.py +113 -114
- pulumi_aiven/project.py +193 -194
- pulumi_aiven/project_user.py +64 -65
- pulumi_aiven/project_vpc.py +61 -62
- pulumi_aiven/provider.py +12 -13
- pulumi_aiven/pulumi-plugin.json +1 -1
- pulumi_aiven/redis.py +302 -303
- pulumi_aiven/redis_user.py +146 -147
- pulumi_aiven/service_integration.py +235 -189
- pulumi_aiven/service_integration_endpoint.py +118 -119
- pulumi_aiven/static_ip.py +71 -72
- pulumi_aiven/thanos.py +302 -303
- pulumi_aiven/transit_gateway_vpc_attachment.py +113 -114
- pulumi_aiven/valkey.py +302 -303
- pulumi_aiven/valkey_user.py +146 -147
- {pulumi_aiven-6.41.0a1752901795.dist-info → pulumi_aiven-6.42.0.dist-info}/METADATA +1 -1
- pulumi_aiven-6.42.0.dist-info/RECORD +189 -0
- pulumi_aiven-6.41.0a1752901795.dist-info/RECORD +0 -189
- {pulumi_aiven-6.41.0a1752901795.dist-info → pulumi_aiven-6.42.0.dist-info}/WHEEL +0 -0
- {pulumi_aiven-6.41.0a1752901795.dist-info → pulumi_aiven-6.42.0.dist-info}/top_level.txt +0 -0
pulumi_aiven/valkey.py
CHANGED
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -22,38 +21,38 @@ __all__ = ['ValkeyArgs', 'Valkey']
|
|
|
22
21
|
@pulumi.input_type
|
|
23
22
|
class ValkeyArgs:
|
|
24
23
|
def __init__(__self__, *,
|
|
25
|
-
plan: pulumi.Input[
|
|
26
|
-
project: pulumi.Input[
|
|
27
|
-
service_name: pulumi.Input[
|
|
28
|
-
additional_disk_space: Optional[pulumi.Input[
|
|
29
|
-
cloud_name: Optional[pulumi.Input[
|
|
30
|
-
disk_space: Optional[pulumi.Input[
|
|
31
|
-
maintenance_window_dow: Optional[pulumi.Input[
|
|
32
|
-
maintenance_window_time: Optional[pulumi.Input[
|
|
33
|
-
project_vpc_id: Optional[pulumi.Input[
|
|
24
|
+
plan: pulumi.Input[_builtins.str],
|
|
25
|
+
project: pulumi.Input[_builtins.str],
|
|
26
|
+
service_name: pulumi.Input[_builtins.str],
|
|
27
|
+
additional_disk_space: Optional[pulumi.Input[_builtins.str]] = None,
|
|
28
|
+
cloud_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
29
|
+
disk_space: Optional[pulumi.Input[_builtins.str]] = None,
|
|
30
|
+
maintenance_window_dow: Optional[pulumi.Input[_builtins.str]] = None,
|
|
31
|
+
maintenance_window_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
32
|
+
project_vpc_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
34
33
|
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input['ValkeyServiceIntegrationArgs']]]] = None,
|
|
35
|
-
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
34
|
+
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
36
35
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input['ValkeyTagArgs']]]] = None,
|
|
37
36
|
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input['ValkeyTechEmailArgs']]]] = None,
|
|
38
|
-
termination_protection: Optional[pulumi.Input[
|
|
37
|
+
termination_protection: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
39
38
|
valkey: Optional[pulumi.Input['ValkeyValkeyArgs']] = None,
|
|
40
39
|
valkey_user_config: Optional[pulumi.Input['ValkeyValkeyUserConfigArgs']] = None):
|
|
41
40
|
"""
|
|
42
41
|
The set of arguments for constructing a Valkey resource.
|
|
43
|
-
:param pulumi.Input[
|
|
44
|
-
:param pulumi.Input[
|
|
45
|
-
:param pulumi.Input[
|
|
46
|
-
:param pulumi.Input[
|
|
47
|
-
:param pulumi.Input[
|
|
48
|
-
:param pulumi.Input[
|
|
49
|
-
:param pulumi.Input[
|
|
50
|
-
:param pulumi.Input[
|
|
51
|
-
:param pulumi.Input[
|
|
42
|
+
:param pulumi.Input[_builtins.str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
43
|
+
:param pulumi.Input[_builtins.str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
44
|
+
:param pulumi.Input[_builtins.str] service_name: Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
|
|
45
|
+
:param pulumi.Input[_builtins.str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart, and there might be a short downtime for services without an autoscaler integration or high availability capabilities. The field can be safely removed when autoscaler is enabled without causing any changes.
|
|
46
|
+
: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.
|
|
47
|
+
: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.
|
|
48
|
+
:param pulumi.Input[_builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
49
|
+
:param pulumi.Input[_builtins.str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
50
|
+
:param pulumi.Input[_builtins.str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set, the service runs on the Public Internet. When set, the value should be given as a reference to set up dependencies correctly, and the VPC must be in the same cloud and region as the service itself. The service can be freely moved to and from VPC after creation, but doing so triggers migration to new servers, so the operation can take a significant amount of time to complete if the service has a lot of data.
|
|
52
51
|
:param pulumi.Input[Sequence[pulumi.Input['ValkeyServiceIntegrationArgs']]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
53
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
52
|
+
: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
|
|
54
53
|
:param pulumi.Input[Sequence[pulumi.Input['ValkeyTagArgs']]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
55
54
|
:param pulumi.Input[Sequence[pulumi.Input['ValkeyTechEmailArgs']]] 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.
|
|
56
|
-
:param pulumi.Input[
|
|
55
|
+
: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.
|
|
57
56
|
:param pulumi.Input['ValkeyValkeyArgs'] valkey: Valkey server provided values
|
|
58
57
|
:param pulumi.Input['ValkeyValkeyUserConfigArgs'] valkey_user_config: Valkey user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
59
58
|
"""
|
|
@@ -90,116 +89,116 @@ class ValkeyArgs:
|
|
|
90
89
|
if valkey_user_config is not None:
|
|
91
90
|
pulumi.set(__self__, "valkey_user_config", valkey_user_config)
|
|
92
91
|
|
|
93
|
-
@property
|
|
92
|
+
@_builtins.property
|
|
94
93
|
@pulumi.getter
|
|
95
|
-
def plan(self) -> pulumi.Input[
|
|
94
|
+
def plan(self) -> pulumi.Input[_builtins.str]:
|
|
96
95
|
"""
|
|
97
96
|
Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
98
97
|
"""
|
|
99
98
|
return pulumi.get(self, "plan")
|
|
100
99
|
|
|
101
100
|
@plan.setter
|
|
102
|
-
def plan(self, value: pulumi.Input[
|
|
101
|
+
def plan(self, value: pulumi.Input[_builtins.str]):
|
|
103
102
|
pulumi.set(self, "plan", value)
|
|
104
103
|
|
|
105
|
-
@property
|
|
104
|
+
@_builtins.property
|
|
106
105
|
@pulumi.getter
|
|
107
|
-
def project(self) -> pulumi.Input[
|
|
106
|
+
def project(self) -> pulumi.Input[_builtins.str]:
|
|
108
107
|
"""
|
|
109
108
|
The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
110
109
|
"""
|
|
111
110
|
return pulumi.get(self, "project")
|
|
112
111
|
|
|
113
112
|
@project.setter
|
|
114
|
-
def project(self, value: pulumi.Input[
|
|
113
|
+
def project(self, value: pulumi.Input[_builtins.str]):
|
|
115
114
|
pulumi.set(self, "project", value)
|
|
116
115
|
|
|
117
|
-
@property
|
|
116
|
+
@_builtins.property
|
|
118
117
|
@pulumi.getter(name="serviceName")
|
|
119
|
-
def service_name(self) -> pulumi.Input[
|
|
118
|
+
def service_name(self) -> pulumi.Input[_builtins.str]:
|
|
120
119
|
"""
|
|
121
120
|
Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
|
|
122
121
|
"""
|
|
123
122
|
return pulumi.get(self, "service_name")
|
|
124
123
|
|
|
125
124
|
@service_name.setter
|
|
126
|
-
def service_name(self, value: pulumi.Input[
|
|
125
|
+
def service_name(self, value: pulumi.Input[_builtins.str]):
|
|
127
126
|
pulumi.set(self, "service_name", value)
|
|
128
127
|
|
|
129
|
-
@property
|
|
128
|
+
@_builtins.property
|
|
130
129
|
@pulumi.getter(name="additionalDiskSpace")
|
|
131
|
-
def additional_disk_space(self) -> Optional[pulumi.Input[
|
|
130
|
+
def additional_disk_space(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
132
131
|
"""
|
|
133
132
|
Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart, and there might be a short downtime for services without an autoscaler integration or high availability capabilities. The field can be safely removed when autoscaler is enabled without causing any changes.
|
|
134
133
|
"""
|
|
135
134
|
return pulumi.get(self, "additional_disk_space")
|
|
136
135
|
|
|
137
136
|
@additional_disk_space.setter
|
|
138
|
-
def additional_disk_space(self, value: Optional[pulumi.Input[
|
|
137
|
+
def additional_disk_space(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
139
138
|
pulumi.set(self, "additional_disk_space", value)
|
|
140
139
|
|
|
141
|
-
@property
|
|
140
|
+
@_builtins.property
|
|
142
141
|
@pulumi.getter(name="cloudName")
|
|
143
|
-
def cloud_name(self) -> Optional[pulumi.Input[
|
|
142
|
+
def cloud_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
144
143
|
"""
|
|
145
144
|
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.
|
|
146
145
|
"""
|
|
147
146
|
return pulumi.get(self, "cloud_name")
|
|
148
147
|
|
|
149
148
|
@cloud_name.setter
|
|
150
|
-
def cloud_name(self, value: Optional[pulumi.Input[
|
|
149
|
+
def cloud_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
151
150
|
pulumi.set(self, "cloud_name", value)
|
|
152
151
|
|
|
153
|
-
@property
|
|
152
|
+
@_builtins.property
|
|
154
153
|
@pulumi.getter(name="diskSpace")
|
|
155
154
|
@_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.""")
|
|
156
|
-
def disk_space(self) -> Optional[pulumi.Input[
|
|
155
|
+
def disk_space(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
157
156
|
"""
|
|
158
157
|
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
159
158
|
"""
|
|
160
159
|
return pulumi.get(self, "disk_space")
|
|
161
160
|
|
|
162
161
|
@disk_space.setter
|
|
163
|
-
def disk_space(self, value: Optional[pulumi.Input[
|
|
162
|
+
def disk_space(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
164
163
|
pulumi.set(self, "disk_space", value)
|
|
165
164
|
|
|
166
|
-
@property
|
|
165
|
+
@_builtins.property
|
|
167
166
|
@pulumi.getter(name="maintenanceWindowDow")
|
|
168
|
-
def maintenance_window_dow(self) -> Optional[pulumi.Input[
|
|
167
|
+
def maintenance_window_dow(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
169
168
|
"""
|
|
170
169
|
Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
171
170
|
"""
|
|
172
171
|
return pulumi.get(self, "maintenance_window_dow")
|
|
173
172
|
|
|
174
173
|
@maintenance_window_dow.setter
|
|
175
|
-
def maintenance_window_dow(self, value: Optional[pulumi.Input[
|
|
174
|
+
def maintenance_window_dow(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
176
175
|
pulumi.set(self, "maintenance_window_dow", value)
|
|
177
176
|
|
|
178
|
-
@property
|
|
177
|
+
@_builtins.property
|
|
179
178
|
@pulumi.getter(name="maintenanceWindowTime")
|
|
180
|
-
def maintenance_window_time(self) -> Optional[pulumi.Input[
|
|
179
|
+
def maintenance_window_time(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
181
180
|
"""
|
|
182
181
|
Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
183
182
|
"""
|
|
184
183
|
return pulumi.get(self, "maintenance_window_time")
|
|
185
184
|
|
|
186
185
|
@maintenance_window_time.setter
|
|
187
|
-
def maintenance_window_time(self, value: Optional[pulumi.Input[
|
|
186
|
+
def maintenance_window_time(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
188
187
|
pulumi.set(self, "maintenance_window_time", value)
|
|
189
188
|
|
|
190
|
-
@property
|
|
189
|
+
@_builtins.property
|
|
191
190
|
@pulumi.getter(name="projectVpcId")
|
|
192
|
-
def project_vpc_id(self) -> Optional[pulumi.Input[
|
|
191
|
+
def project_vpc_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
193
192
|
"""
|
|
194
193
|
Specifies the VPC the service should run in. If the value is not set, the service runs on the Public Internet. When set, the value should be given as a reference to set up dependencies correctly, and the VPC must be in the same cloud and region as the service itself. The service can be freely moved to and from VPC after creation, but doing so triggers migration to new servers, so the operation can take a significant amount of time to complete if the service has a lot of data.
|
|
195
194
|
"""
|
|
196
195
|
return pulumi.get(self, "project_vpc_id")
|
|
197
196
|
|
|
198
197
|
@project_vpc_id.setter
|
|
199
|
-
def project_vpc_id(self, value: Optional[pulumi.Input[
|
|
198
|
+
def project_vpc_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
200
199
|
pulumi.set(self, "project_vpc_id", value)
|
|
201
200
|
|
|
202
|
-
@property
|
|
201
|
+
@_builtins.property
|
|
203
202
|
@pulumi.getter(name="serviceIntegrations")
|
|
204
203
|
def service_integrations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ValkeyServiceIntegrationArgs']]]]:
|
|
205
204
|
"""
|
|
@@ -211,19 +210,19 @@ class ValkeyArgs:
|
|
|
211
210
|
def service_integrations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ValkeyServiceIntegrationArgs']]]]):
|
|
212
211
|
pulumi.set(self, "service_integrations", value)
|
|
213
212
|
|
|
214
|
-
@property
|
|
213
|
+
@_builtins.property
|
|
215
214
|
@pulumi.getter(name="staticIps")
|
|
216
|
-
def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
215
|
+
def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
217
216
|
"""
|
|
218
217
|
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
|
|
219
218
|
"""
|
|
220
219
|
return pulumi.get(self, "static_ips")
|
|
221
220
|
|
|
222
221
|
@static_ips.setter
|
|
223
|
-
def static_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
222
|
+
def static_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
224
223
|
pulumi.set(self, "static_ips", value)
|
|
225
224
|
|
|
226
|
-
@property
|
|
225
|
+
@_builtins.property
|
|
227
226
|
@pulumi.getter
|
|
228
227
|
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ValkeyTagArgs']]]]:
|
|
229
228
|
"""
|
|
@@ -235,7 +234,7 @@ class ValkeyArgs:
|
|
|
235
234
|
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ValkeyTagArgs']]]]):
|
|
236
235
|
pulumi.set(self, "tags", value)
|
|
237
236
|
|
|
238
|
-
@property
|
|
237
|
+
@_builtins.property
|
|
239
238
|
@pulumi.getter(name="techEmails")
|
|
240
239
|
def tech_emails(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ValkeyTechEmailArgs']]]]:
|
|
241
240
|
"""
|
|
@@ -247,19 +246,19 @@ class ValkeyArgs:
|
|
|
247
246
|
def tech_emails(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ValkeyTechEmailArgs']]]]):
|
|
248
247
|
pulumi.set(self, "tech_emails", value)
|
|
249
248
|
|
|
250
|
-
@property
|
|
249
|
+
@_builtins.property
|
|
251
250
|
@pulumi.getter(name="terminationProtection")
|
|
252
|
-
def termination_protection(self) -> Optional[pulumi.Input[
|
|
251
|
+
def termination_protection(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
253
252
|
"""
|
|
254
253
|
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.
|
|
255
254
|
"""
|
|
256
255
|
return pulumi.get(self, "termination_protection")
|
|
257
256
|
|
|
258
257
|
@termination_protection.setter
|
|
259
|
-
def termination_protection(self, value: Optional[pulumi.Input[
|
|
258
|
+
def termination_protection(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
260
259
|
pulumi.set(self, "termination_protection", value)
|
|
261
260
|
|
|
262
|
-
@property
|
|
261
|
+
@_builtins.property
|
|
263
262
|
@pulumi.getter
|
|
264
263
|
def valkey(self) -> Optional[pulumi.Input['ValkeyValkeyArgs']]:
|
|
265
264
|
"""
|
|
@@ -271,7 +270,7 @@ class ValkeyArgs:
|
|
|
271
270
|
def valkey(self, value: Optional[pulumi.Input['ValkeyValkeyArgs']]):
|
|
272
271
|
pulumi.set(self, "valkey", value)
|
|
273
272
|
|
|
274
|
-
@property
|
|
273
|
+
@_builtins.property
|
|
275
274
|
@pulumi.getter(name="valkeyUserConfig")
|
|
276
275
|
def valkey_user_config(self) -> Optional[pulumi.Input['ValkeyValkeyUserConfigArgs']]:
|
|
277
276
|
"""
|
|
@@ -287,61 +286,61 @@ class ValkeyArgs:
|
|
|
287
286
|
@pulumi.input_type
|
|
288
287
|
class _ValkeyState:
|
|
289
288
|
def __init__(__self__, *,
|
|
290
|
-
additional_disk_space: Optional[pulumi.Input[
|
|
291
|
-
cloud_name: Optional[pulumi.Input[
|
|
289
|
+
additional_disk_space: Optional[pulumi.Input[_builtins.str]] = None,
|
|
290
|
+
cloud_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
292
291
|
components: Optional[pulumi.Input[Sequence[pulumi.Input['ValkeyComponentArgs']]]] = None,
|
|
293
|
-
disk_space: Optional[pulumi.Input[
|
|
294
|
-
disk_space_cap: Optional[pulumi.Input[
|
|
295
|
-
disk_space_default: Optional[pulumi.Input[
|
|
296
|
-
disk_space_step: Optional[pulumi.Input[
|
|
297
|
-
disk_space_used: Optional[pulumi.Input[
|
|
298
|
-
maintenance_window_dow: Optional[pulumi.Input[
|
|
299
|
-
maintenance_window_time: Optional[pulumi.Input[
|
|
300
|
-
plan: Optional[pulumi.Input[
|
|
301
|
-
project: Optional[pulumi.Input[
|
|
302
|
-
project_vpc_id: Optional[pulumi.Input[
|
|
303
|
-
service_host: Optional[pulumi.Input[
|
|
292
|
+
disk_space: Optional[pulumi.Input[_builtins.str]] = None,
|
|
293
|
+
disk_space_cap: Optional[pulumi.Input[_builtins.str]] = None,
|
|
294
|
+
disk_space_default: Optional[pulumi.Input[_builtins.str]] = None,
|
|
295
|
+
disk_space_step: Optional[pulumi.Input[_builtins.str]] = None,
|
|
296
|
+
disk_space_used: Optional[pulumi.Input[_builtins.str]] = None,
|
|
297
|
+
maintenance_window_dow: Optional[pulumi.Input[_builtins.str]] = None,
|
|
298
|
+
maintenance_window_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
299
|
+
plan: Optional[pulumi.Input[_builtins.str]] = None,
|
|
300
|
+
project: Optional[pulumi.Input[_builtins.str]] = None,
|
|
301
|
+
project_vpc_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
302
|
+
service_host: Optional[pulumi.Input[_builtins.str]] = None,
|
|
304
303
|
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input['ValkeyServiceIntegrationArgs']]]] = None,
|
|
305
|
-
service_name: Optional[pulumi.Input[
|
|
306
|
-
service_password: Optional[pulumi.Input[
|
|
307
|
-
service_port: Optional[pulumi.Input[
|
|
308
|
-
service_type: Optional[pulumi.Input[
|
|
309
|
-
service_uri: Optional[pulumi.Input[
|
|
310
|
-
service_username: Optional[pulumi.Input[
|
|
311
|
-
state: Optional[pulumi.Input[
|
|
312
|
-
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
304
|
+
service_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
305
|
+
service_password: Optional[pulumi.Input[_builtins.str]] = None,
|
|
306
|
+
service_port: Optional[pulumi.Input[_builtins.int]] = None,
|
|
307
|
+
service_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
308
|
+
service_uri: Optional[pulumi.Input[_builtins.str]] = None,
|
|
309
|
+
service_username: Optional[pulumi.Input[_builtins.str]] = None,
|
|
310
|
+
state: Optional[pulumi.Input[_builtins.str]] = None,
|
|
311
|
+
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
313
312
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input['ValkeyTagArgs']]]] = None,
|
|
314
313
|
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input['ValkeyTechEmailArgs']]]] = None,
|
|
315
|
-
termination_protection: Optional[pulumi.Input[
|
|
314
|
+
termination_protection: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
316
315
|
valkey: Optional[pulumi.Input['ValkeyValkeyArgs']] = None,
|
|
317
316
|
valkey_user_config: Optional[pulumi.Input['ValkeyValkeyUserConfigArgs']] = None):
|
|
318
317
|
"""
|
|
319
318
|
Input properties used for looking up and filtering Valkey resources.
|
|
320
|
-
:param pulumi.Input[
|
|
321
|
-
:param pulumi.Input[
|
|
319
|
+
:param pulumi.Input[_builtins.str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart, and there might be a short downtime for services without an autoscaler integration or high availability capabilities. The field can be safely removed when autoscaler is enabled without causing any changes.
|
|
320
|
+
: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.
|
|
322
321
|
:param pulumi.Input[Sequence[pulumi.Input['ValkeyComponentArgs']]] components: Service component information objects
|
|
323
|
-
:param pulumi.Input[
|
|
324
|
-
:param pulumi.Input[
|
|
325
|
-
:param pulumi.Input[
|
|
326
|
-
:param pulumi.Input[
|
|
327
|
-
:param pulumi.Input[
|
|
328
|
-
:param pulumi.Input[
|
|
329
|
-
:param pulumi.Input[
|
|
330
|
-
:param pulumi.Input[
|
|
331
|
-
:param pulumi.Input[
|
|
332
|
-
:param pulumi.Input[
|
|
333
|
-
:param pulumi.Input[
|
|
322
|
+
: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.
|
|
323
|
+
: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.
|
|
324
|
+
: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`
|
|
325
|
+
: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.
|
|
326
|
+
:param pulumi.Input[_builtins.str] disk_space_used: Disk space that service is currently using
|
|
327
|
+
:param pulumi.Input[_builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
328
|
+
:param pulumi.Input[_builtins.str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
329
|
+
: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).
|
|
330
|
+
: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.
|
|
331
|
+
:param pulumi.Input[_builtins.str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set, the service runs on the Public Internet. When set, the value should be given as a reference to set up dependencies correctly, and the VPC must be in the same cloud and region as the service itself. The service can be freely moved to and from VPC after creation, but doing so triggers migration to new servers, so the operation can take a significant amount of time to complete if the service has a lot of data.
|
|
332
|
+
:param pulumi.Input[_builtins.str] service_host: The hostname of the service.
|
|
334
333
|
:param pulumi.Input[Sequence[pulumi.Input['ValkeyServiceIntegrationArgs']]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
335
|
-
:param pulumi.Input[
|
|
336
|
-
:param pulumi.Input[
|
|
337
|
-
:param pulumi.Input[
|
|
338
|
-
:param pulumi.Input[
|
|
339
|
-
:param pulumi.Input[
|
|
340
|
-
:param pulumi.Input[
|
|
341
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
334
|
+
: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.
|
|
335
|
+
:param pulumi.Input[_builtins.str] service_password: Password used for connecting to the service, if applicable
|
|
336
|
+
:param pulumi.Input[_builtins.int] service_port: The port of the service
|
|
337
|
+
:param pulumi.Input[_builtins.str] service_type: Aiven internal service type code
|
|
338
|
+
:param pulumi.Input[_builtins.str] service_uri: URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
339
|
+
:param pulumi.Input[_builtins.str] service_username: Username used for connecting to the service, if applicable
|
|
340
|
+
: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
|
|
342
341
|
:param pulumi.Input[Sequence[pulumi.Input['ValkeyTagArgs']]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
343
342
|
:param pulumi.Input[Sequence[pulumi.Input['ValkeyTechEmailArgs']]] 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.
|
|
344
|
-
:param pulumi.Input[
|
|
343
|
+
: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.
|
|
345
344
|
:param pulumi.Input['ValkeyValkeyArgs'] valkey: Valkey server provided values
|
|
346
345
|
:param pulumi.Input['ValkeyValkeyUserConfigArgs'] valkey_user_config: Valkey user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
347
346
|
"""
|
|
@@ -408,31 +407,31 @@ class _ValkeyState:
|
|
|
408
407
|
if valkey_user_config is not None:
|
|
409
408
|
pulumi.set(__self__, "valkey_user_config", valkey_user_config)
|
|
410
409
|
|
|
411
|
-
@property
|
|
410
|
+
@_builtins.property
|
|
412
411
|
@pulumi.getter(name="additionalDiskSpace")
|
|
413
|
-
def additional_disk_space(self) -> Optional[pulumi.Input[
|
|
412
|
+
def additional_disk_space(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
414
413
|
"""
|
|
415
414
|
Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart, and there might be a short downtime for services without an autoscaler integration or high availability capabilities. The field can be safely removed when autoscaler is enabled without causing any changes.
|
|
416
415
|
"""
|
|
417
416
|
return pulumi.get(self, "additional_disk_space")
|
|
418
417
|
|
|
419
418
|
@additional_disk_space.setter
|
|
420
|
-
def additional_disk_space(self, value: Optional[pulumi.Input[
|
|
419
|
+
def additional_disk_space(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
421
420
|
pulumi.set(self, "additional_disk_space", value)
|
|
422
421
|
|
|
423
|
-
@property
|
|
422
|
+
@_builtins.property
|
|
424
423
|
@pulumi.getter(name="cloudName")
|
|
425
|
-
def cloud_name(self) -> Optional[pulumi.Input[
|
|
424
|
+
def cloud_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
426
425
|
"""
|
|
427
426
|
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.
|
|
428
427
|
"""
|
|
429
428
|
return pulumi.get(self, "cloud_name")
|
|
430
429
|
|
|
431
430
|
@cloud_name.setter
|
|
432
|
-
def cloud_name(self, value: Optional[pulumi.Input[
|
|
431
|
+
def cloud_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
433
432
|
pulumi.set(self, "cloud_name", value)
|
|
434
433
|
|
|
435
|
-
@property
|
|
434
|
+
@_builtins.property
|
|
436
435
|
@pulumi.getter
|
|
437
436
|
def components(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ValkeyComponentArgs']]]]:
|
|
438
437
|
"""
|
|
@@ -444,141 +443,141 @@ class _ValkeyState:
|
|
|
444
443
|
def components(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ValkeyComponentArgs']]]]):
|
|
445
444
|
pulumi.set(self, "components", value)
|
|
446
445
|
|
|
447
|
-
@property
|
|
446
|
+
@_builtins.property
|
|
448
447
|
@pulumi.getter(name="diskSpace")
|
|
449
448
|
@_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.""")
|
|
450
|
-
def disk_space(self) -> Optional[pulumi.Input[
|
|
449
|
+
def disk_space(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
451
450
|
"""
|
|
452
451
|
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
453
452
|
"""
|
|
454
453
|
return pulumi.get(self, "disk_space")
|
|
455
454
|
|
|
456
455
|
@disk_space.setter
|
|
457
|
-
def disk_space(self, value: Optional[pulumi.Input[
|
|
456
|
+
def disk_space(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
458
457
|
pulumi.set(self, "disk_space", value)
|
|
459
458
|
|
|
460
|
-
@property
|
|
459
|
+
@_builtins.property
|
|
461
460
|
@pulumi.getter(name="diskSpaceCap")
|
|
462
|
-
def disk_space_cap(self) -> Optional[pulumi.Input[
|
|
461
|
+
def disk_space_cap(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
463
462
|
"""
|
|
464
463
|
The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
465
464
|
"""
|
|
466
465
|
return pulumi.get(self, "disk_space_cap")
|
|
467
466
|
|
|
468
467
|
@disk_space_cap.setter
|
|
469
|
-
def disk_space_cap(self, value: Optional[pulumi.Input[
|
|
468
|
+
def disk_space_cap(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
470
469
|
pulumi.set(self, "disk_space_cap", value)
|
|
471
470
|
|
|
472
|
-
@property
|
|
471
|
+
@_builtins.property
|
|
473
472
|
@pulumi.getter(name="diskSpaceDefault")
|
|
474
|
-
def disk_space_default(self) -> Optional[pulumi.Input[
|
|
473
|
+
def disk_space_default(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
475
474
|
"""
|
|
476
475
|
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`
|
|
477
476
|
"""
|
|
478
477
|
return pulumi.get(self, "disk_space_default")
|
|
479
478
|
|
|
480
479
|
@disk_space_default.setter
|
|
481
|
-
def disk_space_default(self, value: Optional[pulumi.Input[
|
|
480
|
+
def disk_space_default(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
482
481
|
pulumi.set(self, "disk_space_default", value)
|
|
483
482
|
|
|
484
|
-
@property
|
|
483
|
+
@_builtins.property
|
|
485
484
|
@pulumi.getter(name="diskSpaceStep")
|
|
486
|
-
def disk_space_step(self) -> Optional[pulumi.Input[
|
|
485
|
+
def disk_space_step(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
487
486
|
"""
|
|
488
487
|
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.
|
|
489
488
|
"""
|
|
490
489
|
return pulumi.get(self, "disk_space_step")
|
|
491
490
|
|
|
492
491
|
@disk_space_step.setter
|
|
493
|
-
def disk_space_step(self, value: Optional[pulumi.Input[
|
|
492
|
+
def disk_space_step(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
494
493
|
pulumi.set(self, "disk_space_step", value)
|
|
495
494
|
|
|
496
|
-
@property
|
|
495
|
+
@_builtins.property
|
|
497
496
|
@pulumi.getter(name="diskSpaceUsed")
|
|
498
497
|
@_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.""")
|
|
499
|
-
def disk_space_used(self) -> Optional[pulumi.Input[
|
|
498
|
+
def disk_space_used(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
500
499
|
"""
|
|
501
500
|
Disk space that service is currently using
|
|
502
501
|
"""
|
|
503
502
|
return pulumi.get(self, "disk_space_used")
|
|
504
503
|
|
|
505
504
|
@disk_space_used.setter
|
|
506
|
-
def disk_space_used(self, value: Optional[pulumi.Input[
|
|
505
|
+
def disk_space_used(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
507
506
|
pulumi.set(self, "disk_space_used", value)
|
|
508
507
|
|
|
509
|
-
@property
|
|
508
|
+
@_builtins.property
|
|
510
509
|
@pulumi.getter(name="maintenanceWindowDow")
|
|
511
|
-
def maintenance_window_dow(self) -> Optional[pulumi.Input[
|
|
510
|
+
def maintenance_window_dow(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
512
511
|
"""
|
|
513
512
|
Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
514
513
|
"""
|
|
515
514
|
return pulumi.get(self, "maintenance_window_dow")
|
|
516
515
|
|
|
517
516
|
@maintenance_window_dow.setter
|
|
518
|
-
def maintenance_window_dow(self, value: Optional[pulumi.Input[
|
|
517
|
+
def maintenance_window_dow(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
519
518
|
pulumi.set(self, "maintenance_window_dow", value)
|
|
520
519
|
|
|
521
|
-
@property
|
|
520
|
+
@_builtins.property
|
|
522
521
|
@pulumi.getter(name="maintenanceWindowTime")
|
|
523
|
-
def maintenance_window_time(self) -> Optional[pulumi.Input[
|
|
522
|
+
def maintenance_window_time(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
524
523
|
"""
|
|
525
524
|
Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
526
525
|
"""
|
|
527
526
|
return pulumi.get(self, "maintenance_window_time")
|
|
528
527
|
|
|
529
528
|
@maintenance_window_time.setter
|
|
530
|
-
def maintenance_window_time(self, value: Optional[pulumi.Input[
|
|
529
|
+
def maintenance_window_time(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
531
530
|
pulumi.set(self, "maintenance_window_time", value)
|
|
532
531
|
|
|
533
|
-
@property
|
|
532
|
+
@_builtins.property
|
|
534
533
|
@pulumi.getter
|
|
535
|
-
def plan(self) -> Optional[pulumi.Input[
|
|
534
|
+
def plan(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
536
535
|
"""
|
|
537
536
|
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).
|
|
538
537
|
"""
|
|
539
538
|
return pulumi.get(self, "plan")
|
|
540
539
|
|
|
541
540
|
@plan.setter
|
|
542
|
-
def plan(self, value: Optional[pulumi.Input[
|
|
541
|
+
def plan(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
543
542
|
pulumi.set(self, "plan", value)
|
|
544
543
|
|
|
545
|
-
@property
|
|
544
|
+
@_builtins.property
|
|
546
545
|
@pulumi.getter
|
|
547
|
-
def project(self) -> Optional[pulumi.Input[
|
|
546
|
+
def project(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
548
547
|
"""
|
|
549
548
|
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.
|
|
550
549
|
"""
|
|
551
550
|
return pulumi.get(self, "project")
|
|
552
551
|
|
|
553
552
|
@project.setter
|
|
554
|
-
def project(self, value: Optional[pulumi.Input[
|
|
553
|
+
def project(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
555
554
|
pulumi.set(self, "project", value)
|
|
556
555
|
|
|
557
|
-
@property
|
|
556
|
+
@_builtins.property
|
|
558
557
|
@pulumi.getter(name="projectVpcId")
|
|
559
|
-
def project_vpc_id(self) -> Optional[pulumi.Input[
|
|
558
|
+
def project_vpc_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
560
559
|
"""
|
|
561
560
|
Specifies the VPC the service should run in. If the value is not set, the service runs on the Public Internet. When set, the value should be given as a reference to set up dependencies correctly, and the VPC must be in the same cloud and region as the service itself. The service can be freely moved to and from VPC after creation, but doing so triggers migration to new servers, so the operation can take a significant amount of time to complete if the service has a lot of data.
|
|
562
561
|
"""
|
|
563
562
|
return pulumi.get(self, "project_vpc_id")
|
|
564
563
|
|
|
565
564
|
@project_vpc_id.setter
|
|
566
|
-
def project_vpc_id(self, value: Optional[pulumi.Input[
|
|
565
|
+
def project_vpc_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
567
566
|
pulumi.set(self, "project_vpc_id", value)
|
|
568
567
|
|
|
569
|
-
@property
|
|
568
|
+
@_builtins.property
|
|
570
569
|
@pulumi.getter(name="serviceHost")
|
|
571
|
-
def service_host(self) -> Optional[pulumi.Input[
|
|
570
|
+
def service_host(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
572
571
|
"""
|
|
573
572
|
The hostname of the service.
|
|
574
573
|
"""
|
|
575
574
|
return pulumi.get(self, "service_host")
|
|
576
575
|
|
|
577
576
|
@service_host.setter
|
|
578
|
-
def service_host(self, value: Optional[pulumi.Input[
|
|
577
|
+
def service_host(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
579
578
|
pulumi.set(self, "service_host", value)
|
|
580
579
|
|
|
581
|
-
@property
|
|
580
|
+
@_builtins.property
|
|
582
581
|
@pulumi.getter(name="serviceIntegrations")
|
|
583
582
|
def service_integrations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ValkeyServiceIntegrationArgs']]]]:
|
|
584
583
|
"""
|
|
@@ -590,100 +589,100 @@ class _ValkeyState:
|
|
|
590
589
|
def service_integrations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ValkeyServiceIntegrationArgs']]]]):
|
|
591
590
|
pulumi.set(self, "service_integrations", value)
|
|
592
591
|
|
|
593
|
-
@property
|
|
592
|
+
@_builtins.property
|
|
594
593
|
@pulumi.getter(name="serviceName")
|
|
595
|
-
def service_name(self) -> Optional[pulumi.Input[
|
|
594
|
+
def service_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
596
595
|
"""
|
|
597
596
|
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.
|
|
598
597
|
"""
|
|
599
598
|
return pulumi.get(self, "service_name")
|
|
600
599
|
|
|
601
600
|
@service_name.setter
|
|
602
|
-
def service_name(self, value: Optional[pulumi.Input[
|
|
601
|
+
def service_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
603
602
|
pulumi.set(self, "service_name", value)
|
|
604
603
|
|
|
605
|
-
@property
|
|
604
|
+
@_builtins.property
|
|
606
605
|
@pulumi.getter(name="servicePassword")
|
|
607
|
-
def service_password(self) -> Optional[pulumi.Input[
|
|
606
|
+
def service_password(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
608
607
|
"""
|
|
609
608
|
Password used for connecting to the service, if applicable
|
|
610
609
|
"""
|
|
611
610
|
return pulumi.get(self, "service_password")
|
|
612
611
|
|
|
613
612
|
@service_password.setter
|
|
614
|
-
def service_password(self, value: Optional[pulumi.Input[
|
|
613
|
+
def service_password(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
615
614
|
pulumi.set(self, "service_password", value)
|
|
616
615
|
|
|
617
|
-
@property
|
|
616
|
+
@_builtins.property
|
|
618
617
|
@pulumi.getter(name="servicePort")
|
|
619
|
-
def service_port(self) -> Optional[pulumi.Input[
|
|
618
|
+
def service_port(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
620
619
|
"""
|
|
621
620
|
The port of the service
|
|
622
621
|
"""
|
|
623
622
|
return pulumi.get(self, "service_port")
|
|
624
623
|
|
|
625
624
|
@service_port.setter
|
|
626
|
-
def service_port(self, value: Optional[pulumi.Input[
|
|
625
|
+
def service_port(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
627
626
|
pulumi.set(self, "service_port", value)
|
|
628
627
|
|
|
629
|
-
@property
|
|
628
|
+
@_builtins.property
|
|
630
629
|
@pulumi.getter(name="serviceType")
|
|
631
|
-
def service_type(self) -> Optional[pulumi.Input[
|
|
630
|
+
def service_type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
632
631
|
"""
|
|
633
632
|
Aiven internal service type code
|
|
634
633
|
"""
|
|
635
634
|
return pulumi.get(self, "service_type")
|
|
636
635
|
|
|
637
636
|
@service_type.setter
|
|
638
|
-
def service_type(self, value: Optional[pulumi.Input[
|
|
637
|
+
def service_type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
639
638
|
pulumi.set(self, "service_type", value)
|
|
640
639
|
|
|
641
|
-
@property
|
|
640
|
+
@_builtins.property
|
|
642
641
|
@pulumi.getter(name="serviceUri")
|
|
643
|
-
def service_uri(self) -> Optional[pulumi.Input[
|
|
642
|
+
def service_uri(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
644
643
|
"""
|
|
645
644
|
URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
646
645
|
"""
|
|
647
646
|
return pulumi.get(self, "service_uri")
|
|
648
647
|
|
|
649
648
|
@service_uri.setter
|
|
650
|
-
def service_uri(self, value: Optional[pulumi.Input[
|
|
649
|
+
def service_uri(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
651
650
|
pulumi.set(self, "service_uri", value)
|
|
652
651
|
|
|
653
|
-
@property
|
|
652
|
+
@_builtins.property
|
|
654
653
|
@pulumi.getter(name="serviceUsername")
|
|
655
|
-
def service_username(self) -> Optional[pulumi.Input[
|
|
654
|
+
def service_username(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
656
655
|
"""
|
|
657
656
|
Username used for connecting to the service, if applicable
|
|
658
657
|
"""
|
|
659
658
|
return pulumi.get(self, "service_username")
|
|
660
659
|
|
|
661
660
|
@service_username.setter
|
|
662
|
-
def service_username(self, value: Optional[pulumi.Input[
|
|
661
|
+
def service_username(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
663
662
|
pulumi.set(self, "service_username", value)
|
|
664
663
|
|
|
665
|
-
@property
|
|
664
|
+
@_builtins.property
|
|
666
665
|
@pulumi.getter
|
|
667
|
-
def state(self) -> Optional[pulumi.Input[
|
|
666
|
+
def state(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
668
667
|
return pulumi.get(self, "state")
|
|
669
668
|
|
|
670
669
|
@state.setter
|
|
671
|
-
def state(self, value: Optional[pulumi.Input[
|
|
670
|
+
def state(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
672
671
|
pulumi.set(self, "state", value)
|
|
673
672
|
|
|
674
|
-
@property
|
|
673
|
+
@_builtins.property
|
|
675
674
|
@pulumi.getter(name="staticIps")
|
|
676
|
-
def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
675
|
+
def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
677
676
|
"""
|
|
678
677
|
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
|
|
679
678
|
"""
|
|
680
679
|
return pulumi.get(self, "static_ips")
|
|
681
680
|
|
|
682
681
|
@static_ips.setter
|
|
683
|
-
def static_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
682
|
+
def static_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
684
683
|
pulumi.set(self, "static_ips", value)
|
|
685
684
|
|
|
686
|
-
@property
|
|
685
|
+
@_builtins.property
|
|
687
686
|
@pulumi.getter
|
|
688
687
|
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ValkeyTagArgs']]]]:
|
|
689
688
|
"""
|
|
@@ -695,7 +694,7 @@ class _ValkeyState:
|
|
|
695
694
|
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ValkeyTagArgs']]]]):
|
|
696
695
|
pulumi.set(self, "tags", value)
|
|
697
696
|
|
|
698
|
-
@property
|
|
697
|
+
@_builtins.property
|
|
699
698
|
@pulumi.getter(name="techEmails")
|
|
700
699
|
def tech_emails(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ValkeyTechEmailArgs']]]]:
|
|
701
700
|
"""
|
|
@@ -707,19 +706,19 @@ class _ValkeyState:
|
|
|
707
706
|
def tech_emails(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ValkeyTechEmailArgs']]]]):
|
|
708
707
|
pulumi.set(self, "tech_emails", value)
|
|
709
708
|
|
|
710
|
-
@property
|
|
709
|
+
@_builtins.property
|
|
711
710
|
@pulumi.getter(name="terminationProtection")
|
|
712
|
-
def termination_protection(self) -> Optional[pulumi.Input[
|
|
711
|
+
def termination_protection(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
713
712
|
"""
|
|
714
713
|
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.
|
|
715
714
|
"""
|
|
716
715
|
return pulumi.get(self, "termination_protection")
|
|
717
716
|
|
|
718
717
|
@termination_protection.setter
|
|
719
|
-
def termination_protection(self, value: Optional[pulumi.Input[
|
|
718
|
+
def termination_protection(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
720
719
|
pulumi.set(self, "termination_protection", value)
|
|
721
720
|
|
|
722
|
-
@property
|
|
721
|
+
@_builtins.property
|
|
723
722
|
@pulumi.getter
|
|
724
723
|
def valkey(self) -> Optional[pulumi.Input['ValkeyValkeyArgs']]:
|
|
725
724
|
"""
|
|
@@ -731,7 +730,7 @@ class _ValkeyState:
|
|
|
731
730
|
def valkey(self, value: Optional[pulumi.Input['ValkeyValkeyArgs']]):
|
|
732
731
|
pulumi.set(self, "valkey", value)
|
|
733
732
|
|
|
734
|
-
@property
|
|
733
|
+
@_builtins.property
|
|
735
734
|
@pulumi.getter(name="valkeyUserConfig")
|
|
736
735
|
def valkey_user_config(self) -> Optional[pulumi.Input['ValkeyValkeyUserConfigArgs']]:
|
|
737
736
|
"""
|
|
@@ -750,20 +749,20 @@ class Valkey(pulumi.CustomResource):
|
|
|
750
749
|
def __init__(__self__,
|
|
751
750
|
resource_name: str,
|
|
752
751
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
753
|
-
additional_disk_space: Optional[pulumi.Input[
|
|
754
|
-
cloud_name: Optional[pulumi.Input[
|
|
755
|
-
disk_space: Optional[pulumi.Input[
|
|
756
|
-
maintenance_window_dow: Optional[pulumi.Input[
|
|
757
|
-
maintenance_window_time: Optional[pulumi.Input[
|
|
758
|
-
plan: Optional[pulumi.Input[
|
|
759
|
-
project: Optional[pulumi.Input[
|
|
760
|
-
project_vpc_id: Optional[pulumi.Input[
|
|
752
|
+
additional_disk_space: Optional[pulumi.Input[_builtins.str]] = None,
|
|
753
|
+
cloud_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
754
|
+
disk_space: Optional[pulumi.Input[_builtins.str]] = None,
|
|
755
|
+
maintenance_window_dow: Optional[pulumi.Input[_builtins.str]] = None,
|
|
756
|
+
maintenance_window_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
757
|
+
plan: Optional[pulumi.Input[_builtins.str]] = None,
|
|
758
|
+
project: Optional[pulumi.Input[_builtins.str]] = None,
|
|
759
|
+
project_vpc_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
761
760
|
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ValkeyServiceIntegrationArgs', 'ValkeyServiceIntegrationArgsDict']]]]] = None,
|
|
762
|
-
service_name: Optional[pulumi.Input[
|
|
763
|
-
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
761
|
+
service_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
762
|
+
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
764
763
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ValkeyTagArgs', 'ValkeyTagArgsDict']]]]] = None,
|
|
765
764
|
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ValkeyTechEmailArgs', 'ValkeyTechEmailArgsDict']]]]] = None,
|
|
766
|
-
termination_protection: Optional[pulumi.Input[
|
|
765
|
+
termination_protection: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
767
766
|
valkey: Optional[pulumi.Input[Union['ValkeyValkeyArgs', 'ValkeyValkeyArgsDict']]] = None,
|
|
768
767
|
valkey_user_config: Optional[pulumi.Input[Union['ValkeyValkeyUserConfigArgs', 'ValkeyValkeyUserConfigArgsDict']]] = None,
|
|
769
768
|
__props__=None):
|
|
@@ -794,20 +793,20 @@ class Valkey(pulumi.CustomResource):
|
|
|
794
793
|
|
|
795
794
|
:param str resource_name: The name of the resource.
|
|
796
795
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
797
|
-
:param pulumi.Input[
|
|
798
|
-
:param pulumi.Input[
|
|
799
|
-
:param pulumi.Input[
|
|
800
|
-
:param pulumi.Input[
|
|
801
|
-
:param pulumi.Input[
|
|
802
|
-
:param pulumi.Input[
|
|
803
|
-
:param pulumi.Input[
|
|
804
|
-
:param pulumi.Input[
|
|
796
|
+
:param pulumi.Input[_builtins.str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart, and there might be a short downtime for services without an autoscaler integration or high availability capabilities. The field can be safely removed when autoscaler is enabled without causing any changes.
|
|
797
|
+
: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.
|
|
798
|
+
: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.
|
|
799
|
+
:param pulumi.Input[_builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
800
|
+
:param pulumi.Input[_builtins.str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
801
|
+
: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).
|
|
802
|
+
: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.
|
|
803
|
+
:param pulumi.Input[_builtins.str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set, the service runs on the Public Internet. When set, the value should be given as a reference to set up dependencies correctly, and the VPC must be in the same cloud and region as the service itself. The service can be freely moved to and from VPC after creation, but doing so triggers migration to new servers, so the operation can take a significant amount of time to complete if the service has a lot of data.
|
|
805
804
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ValkeyServiceIntegrationArgs', 'ValkeyServiceIntegrationArgsDict']]]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
806
|
-
:param pulumi.Input[
|
|
807
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
805
|
+
: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.
|
|
806
|
+
: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
|
|
808
807
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ValkeyTagArgs', 'ValkeyTagArgsDict']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
809
808
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ValkeyTechEmailArgs', 'ValkeyTechEmailArgsDict']]]] 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.
|
|
810
|
-
:param pulumi.Input[
|
|
809
|
+
: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.
|
|
811
810
|
:param pulumi.Input[Union['ValkeyValkeyArgs', 'ValkeyValkeyArgsDict']] valkey: Valkey server provided values
|
|
812
811
|
:param pulumi.Input[Union['ValkeyValkeyUserConfigArgs', 'ValkeyValkeyUserConfigArgsDict']] valkey_user_config: Valkey user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
813
812
|
"""
|
|
@@ -857,20 +856,20 @@ class Valkey(pulumi.CustomResource):
|
|
|
857
856
|
def _internal_init(__self__,
|
|
858
857
|
resource_name: str,
|
|
859
858
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
860
|
-
additional_disk_space: Optional[pulumi.Input[
|
|
861
|
-
cloud_name: Optional[pulumi.Input[
|
|
862
|
-
disk_space: Optional[pulumi.Input[
|
|
863
|
-
maintenance_window_dow: Optional[pulumi.Input[
|
|
864
|
-
maintenance_window_time: Optional[pulumi.Input[
|
|
865
|
-
plan: Optional[pulumi.Input[
|
|
866
|
-
project: Optional[pulumi.Input[
|
|
867
|
-
project_vpc_id: Optional[pulumi.Input[
|
|
859
|
+
additional_disk_space: Optional[pulumi.Input[_builtins.str]] = None,
|
|
860
|
+
cloud_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
861
|
+
disk_space: Optional[pulumi.Input[_builtins.str]] = None,
|
|
862
|
+
maintenance_window_dow: Optional[pulumi.Input[_builtins.str]] = None,
|
|
863
|
+
maintenance_window_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
864
|
+
plan: Optional[pulumi.Input[_builtins.str]] = None,
|
|
865
|
+
project: Optional[pulumi.Input[_builtins.str]] = None,
|
|
866
|
+
project_vpc_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
868
867
|
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ValkeyServiceIntegrationArgs', 'ValkeyServiceIntegrationArgsDict']]]]] = None,
|
|
869
|
-
service_name: Optional[pulumi.Input[
|
|
870
|
-
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
868
|
+
service_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
869
|
+
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
871
870
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ValkeyTagArgs', 'ValkeyTagArgsDict']]]]] = None,
|
|
872
871
|
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ValkeyTechEmailArgs', 'ValkeyTechEmailArgsDict']]]]] = None,
|
|
873
|
-
termination_protection: Optional[pulumi.Input[
|
|
872
|
+
termination_protection: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
874
873
|
valkey: Optional[pulumi.Input[Union['ValkeyValkeyArgs', 'ValkeyValkeyArgsDict']]] = None,
|
|
875
874
|
valkey_user_config: Optional[pulumi.Input[Union['ValkeyValkeyUserConfigArgs', 'ValkeyValkeyUserConfigArgsDict']]] = None,
|
|
876
875
|
__props__=None):
|
|
@@ -928,32 +927,32 @@ class Valkey(pulumi.CustomResource):
|
|
|
928
927
|
def get(resource_name: str,
|
|
929
928
|
id: pulumi.Input[str],
|
|
930
929
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
931
|
-
additional_disk_space: Optional[pulumi.Input[
|
|
932
|
-
cloud_name: Optional[pulumi.Input[
|
|
930
|
+
additional_disk_space: Optional[pulumi.Input[_builtins.str]] = None,
|
|
931
|
+
cloud_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
933
932
|
components: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ValkeyComponentArgs', 'ValkeyComponentArgsDict']]]]] = None,
|
|
934
|
-
disk_space: Optional[pulumi.Input[
|
|
935
|
-
disk_space_cap: Optional[pulumi.Input[
|
|
936
|
-
disk_space_default: Optional[pulumi.Input[
|
|
937
|
-
disk_space_step: Optional[pulumi.Input[
|
|
938
|
-
disk_space_used: Optional[pulumi.Input[
|
|
939
|
-
maintenance_window_dow: Optional[pulumi.Input[
|
|
940
|
-
maintenance_window_time: Optional[pulumi.Input[
|
|
941
|
-
plan: Optional[pulumi.Input[
|
|
942
|
-
project: Optional[pulumi.Input[
|
|
943
|
-
project_vpc_id: Optional[pulumi.Input[
|
|
944
|
-
service_host: Optional[pulumi.Input[
|
|
933
|
+
disk_space: Optional[pulumi.Input[_builtins.str]] = None,
|
|
934
|
+
disk_space_cap: Optional[pulumi.Input[_builtins.str]] = None,
|
|
935
|
+
disk_space_default: Optional[pulumi.Input[_builtins.str]] = None,
|
|
936
|
+
disk_space_step: Optional[pulumi.Input[_builtins.str]] = None,
|
|
937
|
+
disk_space_used: Optional[pulumi.Input[_builtins.str]] = None,
|
|
938
|
+
maintenance_window_dow: Optional[pulumi.Input[_builtins.str]] = None,
|
|
939
|
+
maintenance_window_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
940
|
+
plan: Optional[pulumi.Input[_builtins.str]] = None,
|
|
941
|
+
project: Optional[pulumi.Input[_builtins.str]] = None,
|
|
942
|
+
project_vpc_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
943
|
+
service_host: Optional[pulumi.Input[_builtins.str]] = None,
|
|
945
944
|
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ValkeyServiceIntegrationArgs', 'ValkeyServiceIntegrationArgsDict']]]]] = None,
|
|
946
|
-
service_name: Optional[pulumi.Input[
|
|
947
|
-
service_password: Optional[pulumi.Input[
|
|
948
|
-
service_port: Optional[pulumi.Input[
|
|
949
|
-
service_type: Optional[pulumi.Input[
|
|
950
|
-
service_uri: Optional[pulumi.Input[
|
|
951
|
-
service_username: Optional[pulumi.Input[
|
|
952
|
-
state: Optional[pulumi.Input[
|
|
953
|
-
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
945
|
+
service_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
946
|
+
service_password: Optional[pulumi.Input[_builtins.str]] = None,
|
|
947
|
+
service_port: Optional[pulumi.Input[_builtins.int]] = None,
|
|
948
|
+
service_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
949
|
+
service_uri: Optional[pulumi.Input[_builtins.str]] = None,
|
|
950
|
+
service_username: Optional[pulumi.Input[_builtins.str]] = None,
|
|
951
|
+
state: Optional[pulumi.Input[_builtins.str]] = None,
|
|
952
|
+
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
954
953
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ValkeyTagArgs', 'ValkeyTagArgsDict']]]]] = None,
|
|
955
954
|
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ValkeyTechEmailArgs', 'ValkeyTechEmailArgsDict']]]]] = None,
|
|
956
|
-
termination_protection: Optional[pulumi.Input[
|
|
955
|
+
termination_protection: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
957
956
|
valkey: Optional[pulumi.Input[Union['ValkeyValkeyArgs', 'ValkeyValkeyArgsDict']]] = None,
|
|
958
957
|
valkey_user_config: Optional[pulumi.Input[Union['ValkeyValkeyUserConfigArgs', 'ValkeyValkeyUserConfigArgsDict']]] = None) -> 'Valkey':
|
|
959
958
|
"""
|
|
@@ -963,31 +962,31 @@ class Valkey(pulumi.CustomResource):
|
|
|
963
962
|
:param str resource_name: The unique name of the resulting resource.
|
|
964
963
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
965
964
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
966
|
-
:param pulumi.Input[
|
|
967
|
-
:param pulumi.Input[
|
|
965
|
+
:param pulumi.Input[_builtins.str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart, and there might be a short downtime for services without an autoscaler integration or high availability capabilities. The field can be safely removed when autoscaler is enabled without causing any changes.
|
|
966
|
+
: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.
|
|
968
967
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ValkeyComponentArgs', 'ValkeyComponentArgsDict']]]] components: Service component information objects
|
|
969
|
-
:param pulumi.Input[
|
|
970
|
-
:param pulumi.Input[
|
|
971
|
-
:param pulumi.Input[
|
|
972
|
-
:param pulumi.Input[
|
|
973
|
-
:param pulumi.Input[
|
|
974
|
-
:param pulumi.Input[
|
|
975
|
-
:param pulumi.Input[
|
|
976
|
-
:param pulumi.Input[
|
|
977
|
-
:param pulumi.Input[
|
|
978
|
-
:param pulumi.Input[
|
|
979
|
-
:param pulumi.Input[
|
|
968
|
+
: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.
|
|
969
|
+
: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.
|
|
970
|
+
: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`
|
|
971
|
+
: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.
|
|
972
|
+
:param pulumi.Input[_builtins.str] disk_space_used: Disk space that service is currently using
|
|
973
|
+
:param pulumi.Input[_builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
974
|
+
:param pulumi.Input[_builtins.str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
975
|
+
: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).
|
|
976
|
+
: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.
|
|
977
|
+
:param pulumi.Input[_builtins.str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set, the service runs on the Public Internet. When set, the value should be given as a reference to set up dependencies correctly, and the VPC must be in the same cloud and region as the service itself. The service can be freely moved to and from VPC after creation, but doing so triggers migration to new servers, so the operation can take a significant amount of time to complete if the service has a lot of data.
|
|
978
|
+
:param pulumi.Input[_builtins.str] service_host: The hostname of the service.
|
|
980
979
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ValkeyServiceIntegrationArgs', 'ValkeyServiceIntegrationArgsDict']]]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
981
|
-
:param pulumi.Input[
|
|
982
|
-
:param pulumi.Input[
|
|
983
|
-
:param pulumi.Input[
|
|
984
|
-
:param pulumi.Input[
|
|
985
|
-
:param pulumi.Input[
|
|
986
|
-
:param pulumi.Input[
|
|
987
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
980
|
+
: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.
|
|
981
|
+
:param pulumi.Input[_builtins.str] service_password: Password used for connecting to the service, if applicable
|
|
982
|
+
:param pulumi.Input[_builtins.int] service_port: The port of the service
|
|
983
|
+
:param pulumi.Input[_builtins.str] service_type: Aiven internal service type code
|
|
984
|
+
:param pulumi.Input[_builtins.str] service_uri: URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
985
|
+
:param pulumi.Input[_builtins.str] service_username: Username used for connecting to the service, if applicable
|
|
986
|
+
: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
|
|
988
987
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ValkeyTagArgs', 'ValkeyTagArgsDict']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
989
988
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ValkeyTechEmailArgs', 'ValkeyTechEmailArgsDict']]]] 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.
|
|
990
|
-
:param pulumi.Input[
|
|
989
|
+
: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.
|
|
991
990
|
:param pulumi.Input[Union['ValkeyValkeyArgs', 'ValkeyValkeyArgsDict']] valkey: Valkey server provided values
|
|
992
991
|
:param pulumi.Input[Union['ValkeyValkeyUserConfigArgs', 'ValkeyValkeyUserConfigArgsDict']] valkey_user_config: Valkey user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
993
992
|
"""
|
|
@@ -1025,23 +1024,23 @@ class Valkey(pulumi.CustomResource):
|
|
|
1025
1024
|
__props__.__dict__["valkey_user_config"] = valkey_user_config
|
|
1026
1025
|
return Valkey(resource_name, opts=opts, __props__=__props__)
|
|
1027
1026
|
|
|
1028
|
-
@property
|
|
1027
|
+
@_builtins.property
|
|
1029
1028
|
@pulumi.getter(name="additionalDiskSpace")
|
|
1030
|
-
def additional_disk_space(self) -> pulumi.Output[
|
|
1029
|
+
def additional_disk_space(self) -> pulumi.Output[_builtins.str]:
|
|
1031
1030
|
"""
|
|
1032
1031
|
Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart, and there might be a short downtime for services without an autoscaler integration or high availability capabilities. The field can be safely removed when autoscaler is enabled without causing any changes.
|
|
1033
1032
|
"""
|
|
1034
1033
|
return pulumi.get(self, "additional_disk_space")
|
|
1035
1034
|
|
|
1036
|
-
@property
|
|
1035
|
+
@_builtins.property
|
|
1037
1036
|
@pulumi.getter(name="cloudName")
|
|
1038
|
-
def cloud_name(self) -> pulumi.Output[Optional[
|
|
1037
|
+
def cloud_name(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
1039
1038
|
"""
|
|
1040
1039
|
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.
|
|
1041
1040
|
"""
|
|
1042
1041
|
return pulumi.get(self, "cloud_name")
|
|
1043
1042
|
|
|
1044
|
-
@property
|
|
1043
|
+
@_builtins.property
|
|
1045
1044
|
@pulumi.getter
|
|
1046
1045
|
def components(self) -> pulumi.Output[Sequence['outputs.ValkeyComponent']]:
|
|
1047
1046
|
"""
|
|
@@ -1049,97 +1048,97 @@ class Valkey(pulumi.CustomResource):
|
|
|
1049
1048
|
"""
|
|
1050
1049
|
return pulumi.get(self, "components")
|
|
1051
1050
|
|
|
1052
|
-
@property
|
|
1051
|
+
@_builtins.property
|
|
1053
1052
|
@pulumi.getter(name="diskSpace")
|
|
1054
1053
|
@_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.""")
|
|
1055
|
-
def disk_space(self) -> pulumi.Output[Optional[
|
|
1054
|
+
def disk_space(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
1056
1055
|
"""
|
|
1057
1056
|
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
1058
1057
|
"""
|
|
1059
1058
|
return pulumi.get(self, "disk_space")
|
|
1060
1059
|
|
|
1061
|
-
@property
|
|
1060
|
+
@_builtins.property
|
|
1062
1061
|
@pulumi.getter(name="diskSpaceCap")
|
|
1063
|
-
def disk_space_cap(self) -> pulumi.Output[
|
|
1062
|
+
def disk_space_cap(self) -> pulumi.Output[_builtins.str]:
|
|
1064
1063
|
"""
|
|
1065
1064
|
The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
1066
1065
|
"""
|
|
1067
1066
|
return pulumi.get(self, "disk_space_cap")
|
|
1068
1067
|
|
|
1069
|
-
@property
|
|
1068
|
+
@_builtins.property
|
|
1070
1069
|
@pulumi.getter(name="diskSpaceDefault")
|
|
1071
|
-
def disk_space_default(self) -> pulumi.Output[
|
|
1070
|
+
def disk_space_default(self) -> pulumi.Output[_builtins.str]:
|
|
1072
1071
|
"""
|
|
1073
1072
|
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`
|
|
1074
1073
|
"""
|
|
1075
1074
|
return pulumi.get(self, "disk_space_default")
|
|
1076
1075
|
|
|
1077
|
-
@property
|
|
1076
|
+
@_builtins.property
|
|
1078
1077
|
@pulumi.getter(name="diskSpaceStep")
|
|
1079
|
-
def disk_space_step(self) -> pulumi.Output[
|
|
1078
|
+
def disk_space_step(self) -> pulumi.Output[_builtins.str]:
|
|
1080
1079
|
"""
|
|
1081
1080
|
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.
|
|
1082
1081
|
"""
|
|
1083
1082
|
return pulumi.get(self, "disk_space_step")
|
|
1084
1083
|
|
|
1085
|
-
@property
|
|
1084
|
+
@_builtins.property
|
|
1086
1085
|
@pulumi.getter(name="diskSpaceUsed")
|
|
1087
1086
|
@_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.""")
|
|
1088
|
-
def disk_space_used(self) -> pulumi.Output[
|
|
1087
|
+
def disk_space_used(self) -> pulumi.Output[_builtins.str]:
|
|
1089
1088
|
"""
|
|
1090
1089
|
Disk space that service is currently using
|
|
1091
1090
|
"""
|
|
1092
1091
|
return pulumi.get(self, "disk_space_used")
|
|
1093
1092
|
|
|
1094
|
-
@property
|
|
1093
|
+
@_builtins.property
|
|
1095
1094
|
@pulumi.getter(name="maintenanceWindowDow")
|
|
1096
|
-
def maintenance_window_dow(self) -> pulumi.Output[Optional[
|
|
1095
|
+
def maintenance_window_dow(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
1097
1096
|
"""
|
|
1098
1097
|
Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
1099
1098
|
"""
|
|
1100
1099
|
return pulumi.get(self, "maintenance_window_dow")
|
|
1101
1100
|
|
|
1102
|
-
@property
|
|
1101
|
+
@_builtins.property
|
|
1103
1102
|
@pulumi.getter(name="maintenanceWindowTime")
|
|
1104
|
-
def maintenance_window_time(self) -> pulumi.Output[Optional[
|
|
1103
|
+
def maintenance_window_time(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
1105
1104
|
"""
|
|
1106
1105
|
Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
1107
1106
|
"""
|
|
1108
1107
|
return pulumi.get(self, "maintenance_window_time")
|
|
1109
1108
|
|
|
1110
|
-
@property
|
|
1109
|
+
@_builtins.property
|
|
1111
1110
|
@pulumi.getter
|
|
1112
|
-
def plan(self) -> pulumi.Output[
|
|
1111
|
+
def plan(self) -> pulumi.Output[_builtins.str]:
|
|
1113
1112
|
"""
|
|
1114
1113
|
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).
|
|
1115
1114
|
"""
|
|
1116
1115
|
return pulumi.get(self, "plan")
|
|
1117
1116
|
|
|
1118
|
-
@property
|
|
1117
|
+
@_builtins.property
|
|
1119
1118
|
@pulumi.getter
|
|
1120
|
-
def project(self) -> pulumi.Output[
|
|
1119
|
+
def project(self) -> pulumi.Output[_builtins.str]:
|
|
1121
1120
|
"""
|
|
1122
1121
|
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.
|
|
1123
1122
|
"""
|
|
1124
1123
|
return pulumi.get(self, "project")
|
|
1125
1124
|
|
|
1126
|
-
@property
|
|
1125
|
+
@_builtins.property
|
|
1127
1126
|
@pulumi.getter(name="projectVpcId")
|
|
1128
|
-
def project_vpc_id(self) -> pulumi.Output[Optional[
|
|
1127
|
+
def project_vpc_id(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
1129
1128
|
"""
|
|
1130
1129
|
Specifies the VPC the service should run in. If the value is not set, the service runs on the Public Internet. When set, the value should be given as a reference to set up dependencies correctly, and the VPC must be in the same cloud and region as the service itself. The service can be freely moved to and from VPC after creation, but doing so triggers migration to new servers, so the operation can take a significant amount of time to complete if the service has a lot of data.
|
|
1131
1130
|
"""
|
|
1132
1131
|
return pulumi.get(self, "project_vpc_id")
|
|
1133
1132
|
|
|
1134
|
-
@property
|
|
1133
|
+
@_builtins.property
|
|
1135
1134
|
@pulumi.getter(name="serviceHost")
|
|
1136
|
-
def service_host(self) -> pulumi.Output[
|
|
1135
|
+
def service_host(self) -> pulumi.Output[_builtins.str]:
|
|
1137
1136
|
"""
|
|
1138
1137
|
The hostname of the service.
|
|
1139
1138
|
"""
|
|
1140
1139
|
return pulumi.get(self, "service_host")
|
|
1141
1140
|
|
|
1142
|
-
@property
|
|
1141
|
+
@_builtins.property
|
|
1143
1142
|
@pulumi.getter(name="serviceIntegrations")
|
|
1144
1143
|
def service_integrations(self) -> pulumi.Output[Sequence['outputs.ValkeyServiceIntegration']]:
|
|
1145
1144
|
"""
|
|
@@ -1147,68 +1146,68 @@ class Valkey(pulumi.CustomResource):
|
|
|
1147
1146
|
"""
|
|
1148
1147
|
return pulumi.get(self, "service_integrations")
|
|
1149
1148
|
|
|
1150
|
-
@property
|
|
1149
|
+
@_builtins.property
|
|
1151
1150
|
@pulumi.getter(name="serviceName")
|
|
1152
|
-
def service_name(self) -> pulumi.Output[
|
|
1151
|
+
def service_name(self) -> pulumi.Output[_builtins.str]:
|
|
1153
1152
|
"""
|
|
1154
1153
|
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.
|
|
1155
1154
|
"""
|
|
1156
1155
|
return pulumi.get(self, "service_name")
|
|
1157
1156
|
|
|
1158
|
-
@property
|
|
1157
|
+
@_builtins.property
|
|
1159
1158
|
@pulumi.getter(name="servicePassword")
|
|
1160
|
-
def service_password(self) -> pulumi.Output[
|
|
1159
|
+
def service_password(self) -> pulumi.Output[_builtins.str]:
|
|
1161
1160
|
"""
|
|
1162
1161
|
Password used for connecting to the service, if applicable
|
|
1163
1162
|
"""
|
|
1164
1163
|
return pulumi.get(self, "service_password")
|
|
1165
1164
|
|
|
1166
|
-
@property
|
|
1165
|
+
@_builtins.property
|
|
1167
1166
|
@pulumi.getter(name="servicePort")
|
|
1168
|
-
def service_port(self) -> pulumi.Output[
|
|
1167
|
+
def service_port(self) -> pulumi.Output[_builtins.int]:
|
|
1169
1168
|
"""
|
|
1170
1169
|
The port of the service
|
|
1171
1170
|
"""
|
|
1172
1171
|
return pulumi.get(self, "service_port")
|
|
1173
1172
|
|
|
1174
|
-
@property
|
|
1173
|
+
@_builtins.property
|
|
1175
1174
|
@pulumi.getter(name="serviceType")
|
|
1176
|
-
def service_type(self) -> pulumi.Output[
|
|
1175
|
+
def service_type(self) -> pulumi.Output[_builtins.str]:
|
|
1177
1176
|
"""
|
|
1178
1177
|
Aiven internal service type code
|
|
1179
1178
|
"""
|
|
1180
1179
|
return pulumi.get(self, "service_type")
|
|
1181
1180
|
|
|
1182
|
-
@property
|
|
1181
|
+
@_builtins.property
|
|
1183
1182
|
@pulumi.getter(name="serviceUri")
|
|
1184
|
-
def service_uri(self) -> pulumi.Output[
|
|
1183
|
+
def service_uri(self) -> pulumi.Output[_builtins.str]:
|
|
1185
1184
|
"""
|
|
1186
1185
|
URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
1187
1186
|
"""
|
|
1188
1187
|
return pulumi.get(self, "service_uri")
|
|
1189
1188
|
|
|
1190
|
-
@property
|
|
1189
|
+
@_builtins.property
|
|
1191
1190
|
@pulumi.getter(name="serviceUsername")
|
|
1192
|
-
def service_username(self) -> pulumi.Output[
|
|
1191
|
+
def service_username(self) -> pulumi.Output[_builtins.str]:
|
|
1193
1192
|
"""
|
|
1194
1193
|
Username used for connecting to the service, if applicable
|
|
1195
1194
|
"""
|
|
1196
1195
|
return pulumi.get(self, "service_username")
|
|
1197
1196
|
|
|
1198
|
-
@property
|
|
1197
|
+
@_builtins.property
|
|
1199
1198
|
@pulumi.getter
|
|
1200
|
-
def state(self) -> pulumi.Output[
|
|
1199
|
+
def state(self) -> pulumi.Output[_builtins.str]:
|
|
1201
1200
|
return pulumi.get(self, "state")
|
|
1202
1201
|
|
|
1203
|
-
@property
|
|
1202
|
+
@_builtins.property
|
|
1204
1203
|
@pulumi.getter(name="staticIps")
|
|
1205
|
-
def static_ips(self) -> pulumi.Output[Optional[Sequence[
|
|
1204
|
+
def static_ips(self) -> pulumi.Output[Optional[Sequence[_builtins.str]]]:
|
|
1206
1205
|
"""
|
|
1207
1206
|
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
|
|
1208
1207
|
"""
|
|
1209
1208
|
return pulumi.get(self, "static_ips")
|
|
1210
1209
|
|
|
1211
|
-
@property
|
|
1210
|
+
@_builtins.property
|
|
1212
1211
|
@pulumi.getter
|
|
1213
1212
|
def tags(self) -> pulumi.Output[Optional[Sequence['outputs.ValkeyTag']]]:
|
|
1214
1213
|
"""
|
|
@@ -1216,7 +1215,7 @@ class Valkey(pulumi.CustomResource):
|
|
|
1216
1215
|
"""
|
|
1217
1216
|
return pulumi.get(self, "tags")
|
|
1218
1217
|
|
|
1219
|
-
@property
|
|
1218
|
+
@_builtins.property
|
|
1220
1219
|
@pulumi.getter(name="techEmails")
|
|
1221
1220
|
def tech_emails(self) -> pulumi.Output[Optional[Sequence['outputs.ValkeyTechEmail']]]:
|
|
1222
1221
|
"""
|
|
@@ -1224,15 +1223,15 @@ class Valkey(pulumi.CustomResource):
|
|
|
1224
1223
|
"""
|
|
1225
1224
|
return pulumi.get(self, "tech_emails")
|
|
1226
1225
|
|
|
1227
|
-
@property
|
|
1226
|
+
@_builtins.property
|
|
1228
1227
|
@pulumi.getter(name="terminationProtection")
|
|
1229
|
-
def termination_protection(self) -> pulumi.Output[Optional[
|
|
1228
|
+
def termination_protection(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
|
1230
1229
|
"""
|
|
1231
1230
|
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.
|
|
1232
1231
|
"""
|
|
1233
1232
|
return pulumi.get(self, "termination_protection")
|
|
1234
1233
|
|
|
1235
|
-
@property
|
|
1234
|
+
@_builtins.property
|
|
1236
1235
|
@pulumi.getter
|
|
1237
1236
|
def valkey(self) -> pulumi.Output['outputs.ValkeyValkey']:
|
|
1238
1237
|
"""
|
|
@@ -1240,7 +1239,7 @@ class Valkey(pulumi.CustomResource):
|
|
|
1240
1239
|
"""
|
|
1241
1240
|
return pulumi.get(self, "valkey")
|
|
1242
1241
|
|
|
1243
|
-
@property
|
|
1242
|
+
@_builtins.property
|
|
1244
1243
|
@pulumi.getter(name="valkeyUserConfig")
|
|
1245
1244
|
def valkey_user_config(self) -> pulumi.Output[Optional['outputs.ValkeyValkeyUserConfig']]:
|
|
1246
1245
|
"""
|