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/m3_db.py
CHANGED
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -22,40 +21,40 @@ __all__ = ['M3DbArgs', 'M3Db']
|
|
|
22
21
|
@pulumi.input_type
|
|
23
22
|
class M3DbArgs:
|
|
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[
|
|
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,
|
|
31
30
|
m3db: Optional[pulumi.Input['M3DbM3dbArgs']] = None,
|
|
32
31
|
m3db_user_config: Optional[pulumi.Input['M3DbM3dbUserConfigArgs']] = None,
|
|
33
|
-
maintenance_window_dow: Optional[pulumi.Input[
|
|
34
|
-
maintenance_window_time: Optional[pulumi.Input[
|
|
35
|
-
project_vpc_id: Optional[pulumi.Input[
|
|
32
|
+
maintenance_window_dow: Optional[pulumi.Input[_builtins.str]] = None,
|
|
33
|
+
maintenance_window_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
34
|
+
project_vpc_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
36
35
|
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input['M3DbServiceIntegrationArgs']]]] = None,
|
|
37
|
-
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
36
|
+
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
38
37
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input['M3DbTagArgs']]]] = None,
|
|
39
38
|
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input['M3DbTechEmailArgs']]]] = None,
|
|
40
|
-
termination_protection: Optional[pulumi.Input[
|
|
39
|
+
termination_protection: Optional[pulumi.Input[_builtins.bool]] = None):
|
|
41
40
|
"""
|
|
42
41
|
The set of arguments for constructing a M3Db 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[
|
|
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.
|
|
49
48
|
:param pulumi.Input['M3DbM3dbArgs'] m3db: Values provided by the M3DB server.
|
|
50
49
|
:param pulumi.Input['M3DbM3dbUserConfigArgs'] m3db_user_config: M3db user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
51
|
-
:param pulumi.Input[
|
|
52
|
-
:param pulumi.Input[
|
|
53
|
-
:param pulumi.Input[
|
|
50
|
+
:param pulumi.Input[_builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
51
|
+
:param pulumi.Input[_builtins.str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
52
|
+
:param pulumi.Input[_builtins.str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set, the service runs on the Public Internet. When set, the value should be given as a reference to set up dependencies correctly, and the VPC must be in the same cloud and region as the service itself. The service can be freely moved to and from VPC after creation, but doing so triggers migration to new servers, so the operation can take a significant amount of time to complete if the service has a lot of data.
|
|
54
53
|
:param pulumi.Input[Sequence[pulumi.Input['M3DbServiceIntegrationArgs']]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
55
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
54
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] static_ips: Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
56
55
|
:param pulumi.Input[Sequence[pulumi.Input['M3DbTagArgs']]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
57
56
|
:param pulumi.Input[Sequence[pulumi.Input['M3DbTechEmailArgs']]] tech_emails: The email addresses for [service contacts](https://aiven.io/docs/platform/howto/technical-emails), who will receive important alerts and updates about this service. You can also set email contacts at the project level.
|
|
58
|
-
:param pulumi.Input[
|
|
57
|
+
:param pulumi.Input[_builtins.bool] termination_protection: Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
|
|
59
58
|
"""
|
|
60
59
|
pulumi.set(__self__, "plan", plan)
|
|
61
60
|
pulumi.set(__self__, "project", project)
|
|
@@ -71,6 +70,9 @@ class M3DbArgs:
|
|
|
71
70
|
pulumi.set(__self__, "disk_space", disk_space)
|
|
72
71
|
if m3db is not None:
|
|
73
72
|
pulumi.set(__self__, "m3db", m3db)
|
|
73
|
+
if m3db_user_config is not None:
|
|
74
|
+
warnings.warn("""This property is deprecated.""", DeprecationWarning)
|
|
75
|
+
pulumi.log.warn("""m3db_user_config is deprecated: This property is deprecated.""")
|
|
74
76
|
if m3db_user_config is not None:
|
|
75
77
|
pulumi.set(__self__, "m3db_user_config", m3db_user_config)
|
|
76
78
|
if maintenance_window_dow is not None:
|
|
@@ -90,80 +92,80 @@ class M3DbArgs:
|
|
|
90
92
|
if termination_protection is not None:
|
|
91
93
|
pulumi.set(__self__, "termination_protection", termination_protection)
|
|
92
94
|
|
|
93
|
-
@property
|
|
95
|
+
@_builtins.property
|
|
94
96
|
@pulumi.getter
|
|
95
|
-
def plan(self) -> pulumi.Input[
|
|
97
|
+
def plan(self) -> pulumi.Input[_builtins.str]:
|
|
96
98
|
"""
|
|
97
99
|
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
100
|
"""
|
|
99
101
|
return pulumi.get(self, "plan")
|
|
100
102
|
|
|
101
103
|
@plan.setter
|
|
102
|
-
def plan(self, value: pulumi.Input[
|
|
104
|
+
def plan(self, value: pulumi.Input[_builtins.str]):
|
|
103
105
|
pulumi.set(self, "plan", value)
|
|
104
106
|
|
|
105
|
-
@property
|
|
107
|
+
@_builtins.property
|
|
106
108
|
@pulumi.getter
|
|
107
|
-
def project(self) -> pulumi.Input[
|
|
109
|
+
def project(self) -> pulumi.Input[_builtins.str]:
|
|
108
110
|
"""
|
|
109
111
|
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
112
|
"""
|
|
111
113
|
return pulumi.get(self, "project")
|
|
112
114
|
|
|
113
115
|
@project.setter
|
|
114
|
-
def project(self, value: pulumi.Input[
|
|
116
|
+
def project(self, value: pulumi.Input[_builtins.str]):
|
|
115
117
|
pulumi.set(self, "project", value)
|
|
116
118
|
|
|
117
|
-
@property
|
|
119
|
+
@_builtins.property
|
|
118
120
|
@pulumi.getter(name="serviceName")
|
|
119
|
-
def service_name(self) -> pulumi.Input[
|
|
121
|
+
def service_name(self) -> pulumi.Input[_builtins.str]:
|
|
120
122
|
"""
|
|
121
123
|
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
124
|
"""
|
|
123
125
|
return pulumi.get(self, "service_name")
|
|
124
126
|
|
|
125
127
|
@service_name.setter
|
|
126
|
-
def service_name(self, value: pulumi.Input[
|
|
128
|
+
def service_name(self, value: pulumi.Input[_builtins.str]):
|
|
127
129
|
pulumi.set(self, "service_name", value)
|
|
128
130
|
|
|
129
|
-
@property
|
|
131
|
+
@_builtins.property
|
|
130
132
|
@pulumi.getter(name="additionalDiskSpace")
|
|
131
|
-
def additional_disk_space(self) -> Optional[pulumi.Input[
|
|
133
|
+
def additional_disk_space(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
132
134
|
"""
|
|
133
135
|
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
136
|
"""
|
|
135
137
|
return pulumi.get(self, "additional_disk_space")
|
|
136
138
|
|
|
137
139
|
@additional_disk_space.setter
|
|
138
|
-
def additional_disk_space(self, value: Optional[pulumi.Input[
|
|
140
|
+
def additional_disk_space(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
139
141
|
pulumi.set(self, "additional_disk_space", value)
|
|
140
142
|
|
|
141
|
-
@property
|
|
143
|
+
@_builtins.property
|
|
142
144
|
@pulumi.getter(name="cloudName")
|
|
143
|
-
def cloud_name(self) -> Optional[pulumi.Input[
|
|
145
|
+
def cloud_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
144
146
|
"""
|
|
145
147
|
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
148
|
"""
|
|
147
149
|
return pulumi.get(self, "cloud_name")
|
|
148
150
|
|
|
149
151
|
@cloud_name.setter
|
|
150
|
-
def cloud_name(self, value: Optional[pulumi.Input[
|
|
152
|
+
def cloud_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
151
153
|
pulumi.set(self, "cloud_name", value)
|
|
152
154
|
|
|
153
|
-
@property
|
|
155
|
+
@_builtins.property
|
|
154
156
|
@pulumi.getter(name="diskSpace")
|
|
155
157
|
@_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[
|
|
158
|
+
def disk_space(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
157
159
|
"""
|
|
158
160
|
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
161
|
"""
|
|
160
162
|
return pulumi.get(self, "disk_space")
|
|
161
163
|
|
|
162
164
|
@disk_space.setter
|
|
163
|
-
def disk_space(self, value: Optional[pulumi.Input[
|
|
165
|
+
def disk_space(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
164
166
|
pulumi.set(self, "disk_space", value)
|
|
165
167
|
|
|
166
|
-
@property
|
|
168
|
+
@_builtins.property
|
|
167
169
|
@pulumi.getter
|
|
168
170
|
def m3db(self) -> Optional[pulumi.Input['M3DbM3dbArgs']]:
|
|
169
171
|
"""
|
|
@@ -175,8 +177,9 @@ class M3DbArgs:
|
|
|
175
177
|
def m3db(self, value: Optional[pulumi.Input['M3DbM3dbArgs']]):
|
|
176
178
|
pulumi.set(self, "m3db", value)
|
|
177
179
|
|
|
178
|
-
@property
|
|
180
|
+
@_builtins.property
|
|
179
181
|
@pulumi.getter(name="m3dbUserConfig")
|
|
182
|
+
@_utilities.deprecated("""This property is deprecated.""")
|
|
180
183
|
def m3db_user_config(self) -> Optional[pulumi.Input['M3DbM3dbUserConfigArgs']]:
|
|
181
184
|
"""
|
|
182
185
|
M3db user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
@@ -187,43 +190,43 @@ class M3DbArgs:
|
|
|
187
190
|
def m3db_user_config(self, value: Optional[pulumi.Input['M3DbM3dbUserConfigArgs']]):
|
|
188
191
|
pulumi.set(self, "m3db_user_config", value)
|
|
189
192
|
|
|
190
|
-
@property
|
|
193
|
+
@_builtins.property
|
|
191
194
|
@pulumi.getter(name="maintenanceWindowDow")
|
|
192
|
-
def maintenance_window_dow(self) -> Optional[pulumi.Input[
|
|
195
|
+
def maintenance_window_dow(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
193
196
|
"""
|
|
194
197
|
Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
195
198
|
"""
|
|
196
199
|
return pulumi.get(self, "maintenance_window_dow")
|
|
197
200
|
|
|
198
201
|
@maintenance_window_dow.setter
|
|
199
|
-
def maintenance_window_dow(self, value: Optional[pulumi.Input[
|
|
202
|
+
def maintenance_window_dow(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
200
203
|
pulumi.set(self, "maintenance_window_dow", value)
|
|
201
204
|
|
|
202
|
-
@property
|
|
205
|
+
@_builtins.property
|
|
203
206
|
@pulumi.getter(name="maintenanceWindowTime")
|
|
204
|
-
def maintenance_window_time(self) -> Optional[pulumi.Input[
|
|
207
|
+
def maintenance_window_time(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
205
208
|
"""
|
|
206
209
|
Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
207
210
|
"""
|
|
208
211
|
return pulumi.get(self, "maintenance_window_time")
|
|
209
212
|
|
|
210
213
|
@maintenance_window_time.setter
|
|
211
|
-
def maintenance_window_time(self, value: Optional[pulumi.Input[
|
|
214
|
+
def maintenance_window_time(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
212
215
|
pulumi.set(self, "maintenance_window_time", value)
|
|
213
216
|
|
|
214
|
-
@property
|
|
217
|
+
@_builtins.property
|
|
215
218
|
@pulumi.getter(name="projectVpcId")
|
|
216
|
-
def project_vpc_id(self) -> Optional[pulumi.Input[
|
|
219
|
+
def project_vpc_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
217
220
|
"""
|
|
218
221
|
Specifies the VPC the service should run in. If the value is not set, the service runs on the Public Internet. When set, the value should be given as a reference to set up dependencies correctly, and the VPC must be in the same cloud and region as the service itself. The service can be freely moved to and from VPC after creation, but doing so triggers migration to new servers, so the operation can take a significant amount of time to complete if the service has a lot of data.
|
|
219
222
|
"""
|
|
220
223
|
return pulumi.get(self, "project_vpc_id")
|
|
221
224
|
|
|
222
225
|
@project_vpc_id.setter
|
|
223
|
-
def project_vpc_id(self, value: Optional[pulumi.Input[
|
|
226
|
+
def project_vpc_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
224
227
|
pulumi.set(self, "project_vpc_id", value)
|
|
225
228
|
|
|
226
|
-
@property
|
|
229
|
+
@_builtins.property
|
|
227
230
|
@pulumi.getter(name="serviceIntegrations")
|
|
228
231
|
def service_integrations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['M3DbServiceIntegrationArgs']]]]:
|
|
229
232
|
"""
|
|
@@ -235,19 +238,19 @@ class M3DbArgs:
|
|
|
235
238
|
def service_integrations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['M3DbServiceIntegrationArgs']]]]):
|
|
236
239
|
pulumi.set(self, "service_integrations", value)
|
|
237
240
|
|
|
238
|
-
@property
|
|
241
|
+
@_builtins.property
|
|
239
242
|
@pulumi.getter(name="staticIps")
|
|
240
|
-
def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
243
|
+
def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
241
244
|
"""
|
|
242
245
|
Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
243
246
|
"""
|
|
244
247
|
return pulumi.get(self, "static_ips")
|
|
245
248
|
|
|
246
249
|
@static_ips.setter
|
|
247
|
-
def static_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
250
|
+
def static_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
248
251
|
pulumi.set(self, "static_ips", value)
|
|
249
252
|
|
|
250
|
-
@property
|
|
253
|
+
@_builtins.property
|
|
251
254
|
@pulumi.getter
|
|
252
255
|
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['M3DbTagArgs']]]]:
|
|
253
256
|
"""
|
|
@@ -259,7 +262,7 @@ class M3DbArgs:
|
|
|
259
262
|
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['M3DbTagArgs']]]]):
|
|
260
263
|
pulumi.set(self, "tags", value)
|
|
261
264
|
|
|
262
|
-
@property
|
|
265
|
+
@_builtins.property
|
|
263
266
|
@pulumi.getter(name="techEmails")
|
|
264
267
|
def tech_emails(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['M3DbTechEmailArgs']]]]:
|
|
265
268
|
"""
|
|
@@ -271,79 +274,79 @@ class M3DbArgs:
|
|
|
271
274
|
def tech_emails(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['M3DbTechEmailArgs']]]]):
|
|
272
275
|
pulumi.set(self, "tech_emails", value)
|
|
273
276
|
|
|
274
|
-
@property
|
|
277
|
+
@_builtins.property
|
|
275
278
|
@pulumi.getter(name="terminationProtection")
|
|
276
|
-
def termination_protection(self) -> Optional[pulumi.Input[
|
|
279
|
+
def termination_protection(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
277
280
|
"""
|
|
278
281
|
Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
|
|
279
282
|
"""
|
|
280
283
|
return pulumi.get(self, "termination_protection")
|
|
281
284
|
|
|
282
285
|
@termination_protection.setter
|
|
283
|
-
def termination_protection(self, value: Optional[pulumi.Input[
|
|
286
|
+
def termination_protection(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
284
287
|
pulumi.set(self, "termination_protection", value)
|
|
285
288
|
|
|
286
289
|
|
|
287
290
|
@pulumi.input_type
|
|
288
291
|
class _M3DbState:
|
|
289
292
|
def __init__(__self__, *,
|
|
290
|
-
additional_disk_space: Optional[pulumi.Input[
|
|
291
|
-
cloud_name: Optional[pulumi.Input[
|
|
293
|
+
additional_disk_space: Optional[pulumi.Input[_builtins.str]] = None,
|
|
294
|
+
cloud_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
292
295
|
components: Optional[pulumi.Input[Sequence[pulumi.Input['M3DbComponentArgs']]]] = 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[
|
|
296
|
+
disk_space: Optional[pulumi.Input[_builtins.str]] = None,
|
|
297
|
+
disk_space_cap: Optional[pulumi.Input[_builtins.str]] = None,
|
|
298
|
+
disk_space_default: Optional[pulumi.Input[_builtins.str]] = None,
|
|
299
|
+
disk_space_step: Optional[pulumi.Input[_builtins.str]] = None,
|
|
300
|
+
disk_space_used: Optional[pulumi.Input[_builtins.str]] = None,
|
|
298
301
|
m3db: Optional[pulumi.Input['M3DbM3dbArgs']] = None,
|
|
299
302
|
m3db_user_config: Optional[pulumi.Input['M3DbM3dbUserConfigArgs']] = None,
|
|
300
|
-
maintenance_window_dow: Optional[pulumi.Input[
|
|
301
|
-
maintenance_window_time: Optional[pulumi.Input[
|
|
302
|
-
plan: Optional[pulumi.Input[
|
|
303
|
-
project: Optional[pulumi.Input[
|
|
304
|
-
project_vpc_id: Optional[pulumi.Input[
|
|
305
|
-
service_host: Optional[pulumi.Input[
|
|
303
|
+
maintenance_window_dow: Optional[pulumi.Input[_builtins.str]] = None,
|
|
304
|
+
maintenance_window_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
305
|
+
plan: Optional[pulumi.Input[_builtins.str]] = None,
|
|
306
|
+
project: Optional[pulumi.Input[_builtins.str]] = None,
|
|
307
|
+
project_vpc_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
308
|
+
service_host: Optional[pulumi.Input[_builtins.str]] = None,
|
|
306
309
|
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input['M3DbServiceIntegrationArgs']]]] = None,
|
|
307
|
-
service_name: Optional[pulumi.Input[
|
|
308
|
-
service_password: Optional[pulumi.Input[
|
|
309
|
-
service_port: Optional[pulumi.Input[
|
|
310
|
-
service_type: Optional[pulumi.Input[
|
|
311
|
-
service_uri: Optional[pulumi.Input[
|
|
312
|
-
service_username: Optional[pulumi.Input[
|
|
313
|
-
state: Optional[pulumi.Input[
|
|
314
|
-
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
310
|
+
service_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
311
|
+
service_password: Optional[pulumi.Input[_builtins.str]] = None,
|
|
312
|
+
service_port: Optional[pulumi.Input[_builtins.int]] = None,
|
|
313
|
+
service_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
314
|
+
service_uri: Optional[pulumi.Input[_builtins.str]] = None,
|
|
315
|
+
service_username: Optional[pulumi.Input[_builtins.str]] = None,
|
|
316
|
+
state: Optional[pulumi.Input[_builtins.str]] = None,
|
|
317
|
+
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
315
318
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input['M3DbTagArgs']]]] = None,
|
|
316
319
|
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input['M3DbTechEmailArgs']]]] = None,
|
|
317
|
-
termination_protection: Optional[pulumi.Input[
|
|
320
|
+
termination_protection: Optional[pulumi.Input[_builtins.bool]] = None):
|
|
318
321
|
"""
|
|
319
322
|
Input properties used for looking up and filtering M3Db resources.
|
|
320
|
-
:param pulumi.Input[
|
|
321
|
-
:param pulumi.Input[
|
|
323
|
+
: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.
|
|
324
|
+
: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
325
|
:param pulumi.Input[Sequence[pulumi.Input['M3DbComponentArgs']]] 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[
|
|
326
|
+
: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.
|
|
327
|
+
: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.
|
|
328
|
+
: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`
|
|
329
|
+
: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.
|
|
330
|
+
:param pulumi.Input[_builtins.str] disk_space_used: Disk space that service is currently using
|
|
328
331
|
:param pulumi.Input['M3DbM3dbArgs'] m3db: Values provided by the M3DB server.
|
|
329
332
|
:param pulumi.Input['M3DbM3dbUserConfigArgs'] m3db_user_config: M3db user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
330
|
-
:param pulumi.Input[
|
|
331
|
-
:param pulumi.Input[
|
|
332
|
-
:param pulumi.Input[
|
|
333
|
-
:param pulumi.Input[
|
|
334
|
-
:param pulumi.Input[
|
|
335
|
-
:param pulumi.Input[
|
|
333
|
+
:param pulumi.Input[_builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
334
|
+
:param pulumi.Input[_builtins.str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
335
|
+
: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).
|
|
336
|
+
: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.
|
|
337
|
+
: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.
|
|
338
|
+
:param pulumi.Input[_builtins.str] service_host: The hostname of the service.
|
|
336
339
|
:param pulumi.Input[Sequence[pulumi.Input['M3DbServiceIntegrationArgs']]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
337
|
-
:param pulumi.Input[
|
|
338
|
-
:param pulumi.Input[
|
|
339
|
-
:param pulumi.Input[
|
|
340
|
-
:param pulumi.Input[
|
|
341
|
-
:param pulumi.Input[
|
|
342
|
-
:param pulumi.Input[
|
|
343
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
340
|
+
: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.
|
|
341
|
+
:param pulumi.Input[_builtins.str] service_password: Password used for connecting to the service, if applicable
|
|
342
|
+
:param pulumi.Input[_builtins.int] service_port: The port of the service
|
|
343
|
+
:param pulumi.Input[_builtins.str] service_type: Aiven internal service type code
|
|
344
|
+
:param pulumi.Input[_builtins.str] service_uri: URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
345
|
+
:param pulumi.Input[_builtins.str] service_username: Username used for connecting to the service, if applicable
|
|
346
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] static_ips: Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
344
347
|
:param pulumi.Input[Sequence[pulumi.Input['M3DbTagArgs']]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
345
348
|
:param pulumi.Input[Sequence[pulumi.Input['M3DbTechEmailArgs']]] tech_emails: The email addresses for [service contacts](https://aiven.io/docs/platform/howto/technical-emails), who will receive important alerts and updates about this service. You can also set email contacts at the project level.
|
|
346
|
-
:param pulumi.Input[
|
|
349
|
+
:param pulumi.Input[_builtins.bool] termination_protection: Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
|
|
347
350
|
"""
|
|
348
351
|
if additional_disk_space is not None:
|
|
349
352
|
pulumi.set(__self__, "additional_disk_space", additional_disk_space)
|
|
@@ -369,6 +372,9 @@ class _M3DbState:
|
|
|
369
372
|
pulumi.set(__self__, "disk_space_used", disk_space_used)
|
|
370
373
|
if m3db is not None:
|
|
371
374
|
pulumi.set(__self__, "m3db", m3db)
|
|
375
|
+
if m3db_user_config is not None:
|
|
376
|
+
warnings.warn("""This property is deprecated.""", DeprecationWarning)
|
|
377
|
+
pulumi.log.warn("""m3db_user_config is deprecated: This property is deprecated.""")
|
|
372
378
|
if m3db_user_config is not None:
|
|
373
379
|
pulumi.set(__self__, "m3db_user_config", m3db_user_config)
|
|
374
380
|
if maintenance_window_dow is not None:
|
|
@@ -408,31 +414,31 @@ class _M3DbState:
|
|
|
408
414
|
if termination_protection is not None:
|
|
409
415
|
pulumi.set(__self__, "termination_protection", termination_protection)
|
|
410
416
|
|
|
411
|
-
@property
|
|
417
|
+
@_builtins.property
|
|
412
418
|
@pulumi.getter(name="additionalDiskSpace")
|
|
413
|
-
def additional_disk_space(self) -> Optional[pulumi.Input[
|
|
419
|
+
def additional_disk_space(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
414
420
|
"""
|
|
415
421
|
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
422
|
"""
|
|
417
423
|
return pulumi.get(self, "additional_disk_space")
|
|
418
424
|
|
|
419
425
|
@additional_disk_space.setter
|
|
420
|
-
def additional_disk_space(self, value: Optional[pulumi.Input[
|
|
426
|
+
def additional_disk_space(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
421
427
|
pulumi.set(self, "additional_disk_space", value)
|
|
422
428
|
|
|
423
|
-
@property
|
|
429
|
+
@_builtins.property
|
|
424
430
|
@pulumi.getter(name="cloudName")
|
|
425
|
-
def cloud_name(self) -> Optional[pulumi.Input[
|
|
431
|
+
def cloud_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
426
432
|
"""
|
|
427
433
|
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
434
|
"""
|
|
429
435
|
return pulumi.get(self, "cloud_name")
|
|
430
436
|
|
|
431
437
|
@cloud_name.setter
|
|
432
|
-
def cloud_name(self, value: Optional[pulumi.Input[
|
|
438
|
+
def cloud_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
433
439
|
pulumi.set(self, "cloud_name", value)
|
|
434
440
|
|
|
435
|
-
@property
|
|
441
|
+
@_builtins.property
|
|
436
442
|
@pulumi.getter
|
|
437
443
|
def components(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['M3DbComponentArgs']]]]:
|
|
438
444
|
"""
|
|
@@ -444,69 +450,69 @@ class _M3DbState:
|
|
|
444
450
|
def components(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['M3DbComponentArgs']]]]):
|
|
445
451
|
pulumi.set(self, "components", value)
|
|
446
452
|
|
|
447
|
-
@property
|
|
453
|
+
@_builtins.property
|
|
448
454
|
@pulumi.getter(name="diskSpace")
|
|
449
455
|
@_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[
|
|
456
|
+
def disk_space(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
451
457
|
"""
|
|
452
458
|
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
459
|
"""
|
|
454
460
|
return pulumi.get(self, "disk_space")
|
|
455
461
|
|
|
456
462
|
@disk_space.setter
|
|
457
|
-
def disk_space(self, value: Optional[pulumi.Input[
|
|
463
|
+
def disk_space(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
458
464
|
pulumi.set(self, "disk_space", value)
|
|
459
465
|
|
|
460
|
-
@property
|
|
466
|
+
@_builtins.property
|
|
461
467
|
@pulumi.getter(name="diskSpaceCap")
|
|
462
|
-
def disk_space_cap(self) -> Optional[pulumi.Input[
|
|
468
|
+
def disk_space_cap(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
463
469
|
"""
|
|
464
470
|
The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
465
471
|
"""
|
|
466
472
|
return pulumi.get(self, "disk_space_cap")
|
|
467
473
|
|
|
468
474
|
@disk_space_cap.setter
|
|
469
|
-
def disk_space_cap(self, value: Optional[pulumi.Input[
|
|
475
|
+
def disk_space_cap(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
470
476
|
pulumi.set(self, "disk_space_cap", value)
|
|
471
477
|
|
|
472
|
-
@property
|
|
478
|
+
@_builtins.property
|
|
473
479
|
@pulumi.getter(name="diskSpaceDefault")
|
|
474
|
-
def disk_space_default(self) -> Optional[pulumi.Input[
|
|
480
|
+
def disk_space_default(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
475
481
|
"""
|
|
476
482
|
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
483
|
"""
|
|
478
484
|
return pulumi.get(self, "disk_space_default")
|
|
479
485
|
|
|
480
486
|
@disk_space_default.setter
|
|
481
|
-
def disk_space_default(self, value: Optional[pulumi.Input[
|
|
487
|
+
def disk_space_default(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
482
488
|
pulumi.set(self, "disk_space_default", value)
|
|
483
489
|
|
|
484
|
-
@property
|
|
490
|
+
@_builtins.property
|
|
485
491
|
@pulumi.getter(name="diskSpaceStep")
|
|
486
|
-
def disk_space_step(self) -> Optional[pulumi.Input[
|
|
492
|
+
def disk_space_step(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
487
493
|
"""
|
|
488
494
|
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
495
|
"""
|
|
490
496
|
return pulumi.get(self, "disk_space_step")
|
|
491
497
|
|
|
492
498
|
@disk_space_step.setter
|
|
493
|
-
def disk_space_step(self, value: Optional[pulumi.Input[
|
|
499
|
+
def disk_space_step(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
494
500
|
pulumi.set(self, "disk_space_step", value)
|
|
495
501
|
|
|
496
|
-
@property
|
|
502
|
+
@_builtins.property
|
|
497
503
|
@pulumi.getter(name="diskSpaceUsed")
|
|
498
504
|
@_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[
|
|
505
|
+
def disk_space_used(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
500
506
|
"""
|
|
501
507
|
Disk space that service is currently using
|
|
502
508
|
"""
|
|
503
509
|
return pulumi.get(self, "disk_space_used")
|
|
504
510
|
|
|
505
511
|
@disk_space_used.setter
|
|
506
|
-
def disk_space_used(self, value: Optional[pulumi.Input[
|
|
512
|
+
def disk_space_used(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
507
513
|
pulumi.set(self, "disk_space_used", value)
|
|
508
514
|
|
|
509
|
-
@property
|
|
515
|
+
@_builtins.property
|
|
510
516
|
@pulumi.getter
|
|
511
517
|
def m3db(self) -> Optional[pulumi.Input['M3DbM3dbArgs']]:
|
|
512
518
|
"""
|
|
@@ -518,8 +524,9 @@ class _M3DbState:
|
|
|
518
524
|
def m3db(self, value: Optional[pulumi.Input['M3DbM3dbArgs']]):
|
|
519
525
|
pulumi.set(self, "m3db", value)
|
|
520
526
|
|
|
521
|
-
@property
|
|
527
|
+
@_builtins.property
|
|
522
528
|
@pulumi.getter(name="m3dbUserConfig")
|
|
529
|
+
@_utilities.deprecated("""This property is deprecated.""")
|
|
523
530
|
def m3db_user_config(self) -> Optional[pulumi.Input['M3DbM3dbUserConfigArgs']]:
|
|
524
531
|
"""
|
|
525
532
|
M3db user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
@@ -530,79 +537,79 @@ class _M3DbState:
|
|
|
530
537
|
def m3db_user_config(self, value: Optional[pulumi.Input['M3DbM3dbUserConfigArgs']]):
|
|
531
538
|
pulumi.set(self, "m3db_user_config", value)
|
|
532
539
|
|
|
533
|
-
@property
|
|
540
|
+
@_builtins.property
|
|
534
541
|
@pulumi.getter(name="maintenanceWindowDow")
|
|
535
|
-
def maintenance_window_dow(self) -> Optional[pulumi.Input[
|
|
542
|
+
def maintenance_window_dow(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
536
543
|
"""
|
|
537
544
|
Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
538
545
|
"""
|
|
539
546
|
return pulumi.get(self, "maintenance_window_dow")
|
|
540
547
|
|
|
541
548
|
@maintenance_window_dow.setter
|
|
542
|
-
def maintenance_window_dow(self, value: Optional[pulumi.Input[
|
|
549
|
+
def maintenance_window_dow(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
543
550
|
pulumi.set(self, "maintenance_window_dow", value)
|
|
544
551
|
|
|
545
|
-
@property
|
|
552
|
+
@_builtins.property
|
|
546
553
|
@pulumi.getter(name="maintenanceWindowTime")
|
|
547
|
-
def maintenance_window_time(self) -> Optional[pulumi.Input[
|
|
554
|
+
def maintenance_window_time(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
548
555
|
"""
|
|
549
556
|
Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
550
557
|
"""
|
|
551
558
|
return pulumi.get(self, "maintenance_window_time")
|
|
552
559
|
|
|
553
560
|
@maintenance_window_time.setter
|
|
554
|
-
def maintenance_window_time(self, value: Optional[pulumi.Input[
|
|
561
|
+
def maintenance_window_time(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
555
562
|
pulumi.set(self, "maintenance_window_time", value)
|
|
556
563
|
|
|
557
|
-
@property
|
|
564
|
+
@_builtins.property
|
|
558
565
|
@pulumi.getter
|
|
559
|
-
def plan(self) -> Optional[pulumi.Input[
|
|
566
|
+
def plan(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
560
567
|
"""
|
|
561
568
|
Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
562
569
|
"""
|
|
563
570
|
return pulumi.get(self, "plan")
|
|
564
571
|
|
|
565
572
|
@plan.setter
|
|
566
|
-
def plan(self, value: Optional[pulumi.Input[
|
|
573
|
+
def plan(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
567
574
|
pulumi.set(self, "plan", value)
|
|
568
575
|
|
|
569
|
-
@property
|
|
576
|
+
@_builtins.property
|
|
570
577
|
@pulumi.getter
|
|
571
|
-
def project(self) -> Optional[pulumi.Input[
|
|
578
|
+
def project(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
572
579
|
"""
|
|
573
580
|
The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
574
581
|
"""
|
|
575
582
|
return pulumi.get(self, "project")
|
|
576
583
|
|
|
577
584
|
@project.setter
|
|
578
|
-
def project(self, value: Optional[pulumi.Input[
|
|
585
|
+
def project(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
579
586
|
pulumi.set(self, "project", value)
|
|
580
587
|
|
|
581
|
-
@property
|
|
588
|
+
@_builtins.property
|
|
582
589
|
@pulumi.getter(name="projectVpcId")
|
|
583
|
-
def project_vpc_id(self) -> Optional[pulumi.Input[
|
|
590
|
+
def project_vpc_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
584
591
|
"""
|
|
585
592
|
Specifies the VPC the service should run in. If the value is not set, the service runs on the Public Internet. When set, the value should be given as a reference to set up dependencies correctly, and the VPC must be in the same cloud and region as the service itself. The service can be freely moved to and from VPC after creation, but doing so triggers migration to new servers, so the operation can take a significant amount of time to complete if the service has a lot of data.
|
|
586
593
|
"""
|
|
587
594
|
return pulumi.get(self, "project_vpc_id")
|
|
588
595
|
|
|
589
596
|
@project_vpc_id.setter
|
|
590
|
-
def project_vpc_id(self, value: Optional[pulumi.Input[
|
|
597
|
+
def project_vpc_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
591
598
|
pulumi.set(self, "project_vpc_id", value)
|
|
592
599
|
|
|
593
|
-
@property
|
|
600
|
+
@_builtins.property
|
|
594
601
|
@pulumi.getter(name="serviceHost")
|
|
595
|
-
def service_host(self) -> Optional[pulumi.Input[
|
|
602
|
+
def service_host(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
596
603
|
"""
|
|
597
604
|
The hostname of the service.
|
|
598
605
|
"""
|
|
599
606
|
return pulumi.get(self, "service_host")
|
|
600
607
|
|
|
601
608
|
@service_host.setter
|
|
602
|
-
def service_host(self, value: Optional[pulumi.Input[
|
|
609
|
+
def service_host(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
603
610
|
pulumi.set(self, "service_host", value)
|
|
604
611
|
|
|
605
|
-
@property
|
|
612
|
+
@_builtins.property
|
|
606
613
|
@pulumi.getter(name="serviceIntegrations")
|
|
607
614
|
def service_integrations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['M3DbServiceIntegrationArgs']]]]:
|
|
608
615
|
"""
|
|
@@ -614,100 +621,100 @@ class _M3DbState:
|
|
|
614
621
|
def service_integrations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['M3DbServiceIntegrationArgs']]]]):
|
|
615
622
|
pulumi.set(self, "service_integrations", value)
|
|
616
623
|
|
|
617
|
-
@property
|
|
624
|
+
@_builtins.property
|
|
618
625
|
@pulumi.getter(name="serviceName")
|
|
619
|
-
def service_name(self) -> Optional[pulumi.Input[
|
|
626
|
+
def service_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
620
627
|
"""
|
|
621
628
|
Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
|
|
622
629
|
"""
|
|
623
630
|
return pulumi.get(self, "service_name")
|
|
624
631
|
|
|
625
632
|
@service_name.setter
|
|
626
|
-
def service_name(self, value: Optional[pulumi.Input[
|
|
633
|
+
def service_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
627
634
|
pulumi.set(self, "service_name", value)
|
|
628
635
|
|
|
629
|
-
@property
|
|
636
|
+
@_builtins.property
|
|
630
637
|
@pulumi.getter(name="servicePassword")
|
|
631
|
-
def service_password(self) -> Optional[pulumi.Input[
|
|
638
|
+
def service_password(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
632
639
|
"""
|
|
633
640
|
Password used for connecting to the service, if applicable
|
|
634
641
|
"""
|
|
635
642
|
return pulumi.get(self, "service_password")
|
|
636
643
|
|
|
637
644
|
@service_password.setter
|
|
638
|
-
def service_password(self, value: Optional[pulumi.Input[
|
|
645
|
+
def service_password(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
639
646
|
pulumi.set(self, "service_password", value)
|
|
640
647
|
|
|
641
|
-
@property
|
|
648
|
+
@_builtins.property
|
|
642
649
|
@pulumi.getter(name="servicePort")
|
|
643
|
-
def service_port(self) -> Optional[pulumi.Input[
|
|
650
|
+
def service_port(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
644
651
|
"""
|
|
645
652
|
The port of the service
|
|
646
653
|
"""
|
|
647
654
|
return pulumi.get(self, "service_port")
|
|
648
655
|
|
|
649
656
|
@service_port.setter
|
|
650
|
-
def service_port(self, value: Optional[pulumi.Input[
|
|
657
|
+
def service_port(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
651
658
|
pulumi.set(self, "service_port", value)
|
|
652
659
|
|
|
653
|
-
@property
|
|
660
|
+
@_builtins.property
|
|
654
661
|
@pulumi.getter(name="serviceType")
|
|
655
|
-
def service_type(self) -> Optional[pulumi.Input[
|
|
662
|
+
def service_type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
656
663
|
"""
|
|
657
664
|
Aiven internal service type code
|
|
658
665
|
"""
|
|
659
666
|
return pulumi.get(self, "service_type")
|
|
660
667
|
|
|
661
668
|
@service_type.setter
|
|
662
|
-
def service_type(self, value: Optional[pulumi.Input[
|
|
669
|
+
def service_type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
663
670
|
pulumi.set(self, "service_type", value)
|
|
664
671
|
|
|
665
|
-
@property
|
|
672
|
+
@_builtins.property
|
|
666
673
|
@pulumi.getter(name="serviceUri")
|
|
667
|
-
def service_uri(self) -> Optional[pulumi.Input[
|
|
674
|
+
def service_uri(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
668
675
|
"""
|
|
669
676
|
URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
670
677
|
"""
|
|
671
678
|
return pulumi.get(self, "service_uri")
|
|
672
679
|
|
|
673
680
|
@service_uri.setter
|
|
674
|
-
def service_uri(self, value: Optional[pulumi.Input[
|
|
681
|
+
def service_uri(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
675
682
|
pulumi.set(self, "service_uri", value)
|
|
676
683
|
|
|
677
|
-
@property
|
|
684
|
+
@_builtins.property
|
|
678
685
|
@pulumi.getter(name="serviceUsername")
|
|
679
|
-
def service_username(self) -> Optional[pulumi.Input[
|
|
686
|
+
def service_username(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
680
687
|
"""
|
|
681
688
|
Username used for connecting to the service, if applicable
|
|
682
689
|
"""
|
|
683
690
|
return pulumi.get(self, "service_username")
|
|
684
691
|
|
|
685
692
|
@service_username.setter
|
|
686
|
-
def service_username(self, value: Optional[pulumi.Input[
|
|
693
|
+
def service_username(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
687
694
|
pulumi.set(self, "service_username", value)
|
|
688
695
|
|
|
689
|
-
@property
|
|
696
|
+
@_builtins.property
|
|
690
697
|
@pulumi.getter
|
|
691
|
-
def state(self) -> Optional[pulumi.Input[
|
|
698
|
+
def state(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
692
699
|
return pulumi.get(self, "state")
|
|
693
700
|
|
|
694
701
|
@state.setter
|
|
695
|
-
def state(self, value: Optional[pulumi.Input[
|
|
702
|
+
def state(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
696
703
|
pulumi.set(self, "state", value)
|
|
697
704
|
|
|
698
|
-
@property
|
|
705
|
+
@_builtins.property
|
|
699
706
|
@pulumi.getter(name="staticIps")
|
|
700
|
-
def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
707
|
+
def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
701
708
|
"""
|
|
702
709
|
Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
703
710
|
"""
|
|
704
711
|
return pulumi.get(self, "static_ips")
|
|
705
712
|
|
|
706
713
|
@static_ips.setter
|
|
707
|
-
def static_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
714
|
+
def static_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
708
715
|
pulumi.set(self, "static_ips", value)
|
|
709
716
|
|
|
710
|
-
@property
|
|
717
|
+
@_builtins.property
|
|
711
718
|
@pulumi.getter
|
|
712
719
|
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['M3DbTagArgs']]]]:
|
|
713
720
|
"""
|
|
@@ -719,7 +726,7 @@ class _M3DbState:
|
|
|
719
726
|
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['M3DbTagArgs']]]]):
|
|
720
727
|
pulumi.set(self, "tags", value)
|
|
721
728
|
|
|
722
|
-
@property
|
|
729
|
+
@_builtins.property
|
|
723
730
|
@pulumi.getter(name="techEmails")
|
|
724
731
|
def tech_emails(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['M3DbTechEmailArgs']]]]:
|
|
725
732
|
"""
|
|
@@ -731,16 +738,16 @@ class _M3DbState:
|
|
|
731
738
|
def tech_emails(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['M3DbTechEmailArgs']]]]):
|
|
732
739
|
pulumi.set(self, "tech_emails", value)
|
|
733
740
|
|
|
734
|
-
@property
|
|
741
|
+
@_builtins.property
|
|
735
742
|
@pulumi.getter(name="terminationProtection")
|
|
736
|
-
def termination_protection(self) -> Optional[pulumi.Input[
|
|
743
|
+
def termination_protection(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
737
744
|
"""
|
|
738
745
|
Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
|
|
739
746
|
"""
|
|
740
747
|
return pulumi.get(self, "termination_protection")
|
|
741
748
|
|
|
742
749
|
@termination_protection.setter
|
|
743
|
-
def termination_protection(self, value: Optional[pulumi.Input[
|
|
750
|
+
def termination_protection(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
744
751
|
pulumi.set(self, "termination_protection", value)
|
|
745
752
|
|
|
746
753
|
|
|
@@ -750,22 +757,22 @@ class M3Db(pulumi.CustomResource):
|
|
|
750
757
|
def __init__(__self__,
|
|
751
758
|
resource_name: str,
|
|
752
759
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
753
|
-
additional_disk_space: Optional[pulumi.Input[
|
|
754
|
-
cloud_name: Optional[pulumi.Input[
|
|
755
|
-
disk_space: Optional[pulumi.Input[
|
|
760
|
+
additional_disk_space: Optional[pulumi.Input[_builtins.str]] = None,
|
|
761
|
+
cloud_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
762
|
+
disk_space: Optional[pulumi.Input[_builtins.str]] = None,
|
|
756
763
|
m3db: Optional[pulumi.Input[Union['M3DbM3dbArgs', 'M3DbM3dbArgsDict']]] = None,
|
|
757
764
|
m3db_user_config: Optional[pulumi.Input[Union['M3DbM3dbUserConfigArgs', 'M3DbM3dbUserConfigArgsDict']]] = None,
|
|
758
|
-
maintenance_window_dow: Optional[pulumi.Input[
|
|
759
|
-
maintenance_window_time: Optional[pulumi.Input[
|
|
760
|
-
plan: Optional[pulumi.Input[
|
|
761
|
-
project: Optional[pulumi.Input[
|
|
762
|
-
project_vpc_id: Optional[pulumi.Input[
|
|
765
|
+
maintenance_window_dow: Optional[pulumi.Input[_builtins.str]] = None,
|
|
766
|
+
maintenance_window_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
767
|
+
plan: Optional[pulumi.Input[_builtins.str]] = None,
|
|
768
|
+
project: Optional[pulumi.Input[_builtins.str]] = None,
|
|
769
|
+
project_vpc_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
763
770
|
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['M3DbServiceIntegrationArgs', 'M3DbServiceIntegrationArgsDict']]]]] = None,
|
|
764
|
-
service_name: Optional[pulumi.Input[
|
|
765
|
-
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
771
|
+
service_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
772
|
+
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
766
773
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['M3DbTagArgs', 'M3DbTagArgsDict']]]]] = None,
|
|
767
774
|
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['M3DbTechEmailArgs', 'M3DbTechEmailArgsDict']]]]] = None,
|
|
768
|
-
termination_protection: Optional[pulumi.Input[
|
|
775
|
+
termination_protection: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
769
776
|
__props__=None):
|
|
770
777
|
"""
|
|
771
778
|
Creates and manages an [Aiven for M3](https://aiven.io/docs/products/m3db) service.
|
|
@@ -806,22 +813,22 @@ class M3Db(pulumi.CustomResource):
|
|
|
806
813
|
|
|
807
814
|
:param str resource_name: The name of the resource.
|
|
808
815
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
809
|
-
:param pulumi.Input[
|
|
810
|
-
:param pulumi.Input[
|
|
811
|
-
:param pulumi.Input[
|
|
816
|
+
: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.
|
|
817
|
+
: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.
|
|
818
|
+
: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.
|
|
812
819
|
:param pulumi.Input[Union['M3DbM3dbArgs', 'M3DbM3dbArgsDict']] m3db: Values provided by the M3DB server.
|
|
813
820
|
:param pulumi.Input[Union['M3DbM3dbUserConfigArgs', 'M3DbM3dbUserConfigArgsDict']] m3db_user_config: M3db user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
814
|
-
:param pulumi.Input[
|
|
815
|
-
:param pulumi.Input[
|
|
816
|
-
:param pulumi.Input[
|
|
817
|
-
:param pulumi.Input[
|
|
818
|
-
:param pulumi.Input[
|
|
821
|
+
:param pulumi.Input[_builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
822
|
+
:param pulumi.Input[_builtins.str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
823
|
+
: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).
|
|
824
|
+
: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.
|
|
825
|
+
:param pulumi.Input[_builtins.str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set, the service runs on the Public Internet. When set, the value should be given as a reference to set up dependencies correctly, and the VPC must be in the same cloud and region as the service itself. The service can be freely moved to and from VPC after creation, but doing so triggers migration to new servers, so the operation can take a significant amount of time to complete if the service has a lot of data.
|
|
819
826
|
:param pulumi.Input[Sequence[pulumi.Input[Union['M3DbServiceIntegrationArgs', 'M3DbServiceIntegrationArgsDict']]]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
820
|
-
:param pulumi.Input[
|
|
821
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
827
|
+
: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.
|
|
828
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] static_ips: Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
822
829
|
:param pulumi.Input[Sequence[pulumi.Input[Union['M3DbTagArgs', 'M3DbTagArgsDict']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
823
830
|
:param pulumi.Input[Sequence[pulumi.Input[Union['M3DbTechEmailArgs', 'M3DbTechEmailArgsDict']]]] tech_emails: The email addresses for [service contacts](https://aiven.io/docs/platform/howto/technical-emails), who will receive important alerts and updates about this service. You can also set email contacts at the project level.
|
|
824
|
-
:param pulumi.Input[
|
|
831
|
+
:param pulumi.Input[_builtins.bool] termination_protection: Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
|
|
825
832
|
"""
|
|
826
833
|
...
|
|
827
834
|
@overload
|
|
@@ -881,22 +888,22 @@ class M3Db(pulumi.CustomResource):
|
|
|
881
888
|
def _internal_init(__self__,
|
|
882
889
|
resource_name: str,
|
|
883
890
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
884
|
-
additional_disk_space: Optional[pulumi.Input[
|
|
885
|
-
cloud_name: Optional[pulumi.Input[
|
|
886
|
-
disk_space: Optional[pulumi.Input[
|
|
891
|
+
additional_disk_space: Optional[pulumi.Input[_builtins.str]] = None,
|
|
892
|
+
cloud_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
893
|
+
disk_space: Optional[pulumi.Input[_builtins.str]] = None,
|
|
887
894
|
m3db: Optional[pulumi.Input[Union['M3DbM3dbArgs', 'M3DbM3dbArgsDict']]] = None,
|
|
888
895
|
m3db_user_config: Optional[pulumi.Input[Union['M3DbM3dbUserConfigArgs', 'M3DbM3dbUserConfigArgsDict']]] = None,
|
|
889
|
-
maintenance_window_dow: Optional[pulumi.Input[
|
|
890
|
-
maintenance_window_time: Optional[pulumi.Input[
|
|
891
|
-
plan: Optional[pulumi.Input[
|
|
892
|
-
project: Optional[pulumi.Input[
|
|
893
|
-
project_vpc_id: Optional[pulumi.Input[
|
|
896
|
+
maintenance_window_dow: Optional[pulumi.Input[_builtins.str]] = None,
|
|
897
|
+
maintenance_window_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
898
|
+
plan: Optional[pulumi.Input[_builtins.str]] = None,
|
|
899
|
+
project: Optional[pulumi.Input[_builtins.str]] = None,
|
|
900
|
+
project_vpc_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
894
901
|
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['M3DbServiceIntegrationArgs', 'M3DbServiceIntegrationArgsDict']]]]] = None,
|
|
895
|
-
service_name: Optional[pulumi.Input[
|
|
896
|
-
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
902
|
+
service_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
903
|
+
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
897
904
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['M3DbTagArgs', 'M3DbTagArgsDict']]]]] = None,
|
|
898
905
|
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['M3DbTechEmailArgs', 'M3DbTechEmailArgsDict']]]]] = None,
|
|
899
|
-
termination_protection: Optional[pulumi.Input[
|
|
906
|
+
termination_protection: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
900
907
|
__props__=None):
|
|
901
908
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
902
909
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -952,34 +959,34 @@ class M3Db(pulumi.CustomResource):
|
|
|
952
959
|
def get(resource_name: str,
|
|
953
960
|
id: pulumi.Input[str],
|
|
954
961
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
955
|
-
additional_disk_space: Optional[pulumi.Input[
|
|
956
|
-
cloud_name: Optional[pulumi.Input[
|
|
962
|
+
additional_disk_space: Optional[pulumi.Input[_builtins.str]] = None,
|
|
963
|
+
cloud_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
957
964
|
components: Optional[pulumi.Input[Sequence[pulumi.Input[Union['M3DbComponentArgs', 'M3DbComponentArgsDict']]]]] = None,
|
|
958
|
-
disk_space: Optional[pulumi.Input[
|
|
959
|
-
disk_space_cap: Optional[pulumi.Input[
|
|
960
|
-
disk_space_default: Optional[pulumi.Input[
|
|
961
|
-
disk_space_step: Optional[pulumi.Input[
|
|
962
|
-
disk_space_used: Optional[pulumi.Input[
|
|
965
|
+
disk_space: Optional[pulumi.Input[_builtins.str]] = None,
|
|
966
|
+
disk_space_cap: Optional[pulumi.Input[_builtins.str]] = None,
|
|
967
|
+
disk_space_default: Optional[pulumi.Input[_builtins.str]] = None,
|
|
968
|
+
disk_space_step: Optional[pulumi.Input[_builtins.str]] = None,
|
|
969
|
+
disk_space_used: Optional[pulumi.Input[_builtins.str]] = None,
|
|
963
970
|
m3db: Optional[pulumi.Input[Union['M3DbM3dbArgs', 'M3DbM3dbArgsDict']]] = None,
|
|
964
971
|
m3db_user_config: Optional[pulumi.Input[Union['M3DbM3dbUserConfigArgs', 'M3DbM3dbUserConfigArgsDict']]] = None,
|
|
965
|
-
maintenance_window_dow: Optional[pulumi.Input[
|
|
966
|
-
maintenance_window_time: Optional[pulumi.Input[
|
|
967
|
-
plan: Optional[pulumi.Input[
|
|
968
|
-
project: Optional[pulumi.Input[
|
|
969
|
-
project_vpc_id: Optional[pulumi.Input[
|
|
970
|
-
service_host: Optional[pulumi.Input[
|
|
972
|
+
maintenance_window_dow: Optional[pulumi.Input[_builtins.str]] = None,
|
|
973
|
+
maintenance_window_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
974
|
+
plan: Optional[pulumi.Input[_builtins.str]] = None,
|
|
975
|
+
project: Optional[pulumi.Input[_builtins.str]] = None,
|
|
976
|
+
project_vpc_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
977
|
+
service_host: Optional[pulumi.Input[_builtins.str]] = None,
|
|
971
978
|
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['M3DbServiceIntegrationArgs', 'M3DbServiceIntegrationArgsDict']]]]] = None,
|
|
972
|
-
service_name: Optional[pulumi.Input[
|
|
973
|
-
service_password: Optional[pulumi.Input[
|
|
974
|
-
service_port: Optional[pulumi.Input[
|
|
975
|
-
service_type: Optional[pulumi.Input[
|
|
976
|
-
service_uri: Optional[pulumi.Input[
|
|
977
|
-
service_username: Optional[pulumi.Input[
|
|
978
|
-
state: Optional[pulumi.Input[
|
|
979
|
-
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
979
|
+
service_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
980
|
+
service_password: Optional[pulumi.Input[_builtins.str]] = None,
|
|
981
|
+
service_port: Optional[pulumi.Input[_builtins.int]] = None,
|
|
982
|
+
service_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
983
|
+
service_uri: Optional[pulumi.Input[_builtins.str]] = None,
|
|
984
|
+
service_username: Optional[pulumi.Input[_builtins.str]] = None,
|
|
985
|
+
state: Optional[pulumi.Input[_builtins.str]] = None,
|
|
986
|
+
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
980
987
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['M3DbTagArgs', 'M3DbTagArgsDict']]]]] = None,
|
|
981
988
|
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['M3DbTechEmailArgs', 'M3DbTechEmailArgsDict']]]]] = None,
|
|
982
|
-
termination_protection: Optional[pulumi.Input[
|
|
989
|
+
termination_protection: Optional[pulumi.Input[_builtins.bool]] = None) -> 'M3Db':
|
|
983
990
|
"""
|
|
984
991
|
Get an existing M3Db resource's state with the given name, id, and optional extra
|
|
985
992
|
properties used to qualify the lookup.
|
|
@@ -987,33 +994,33 @@ class M3Db(pulumi.CustomResource):
|
|
|
987
994
|
:param str resource_name: The unique name of the resulting resource.
|
|
988
995
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
989
996
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
990
|
-
:param pulumi.Input[
|
|
991
|
-
:param pulumi.Input[
|
|
997
|
+
: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.
|
|
998
|
+
: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.
|
|
992
999
|
:param pulumi.Input[Sequence[pulumi.Input[Union['M3DbComponentArgs', 'M3DbComponentArgsDict']]]] components: Service component information objects
|
|
993
|
-
:param pulumi.Input[
|
|
994
|
-
:param pulumi.Input[
|
|
995
|
-
:param pulumi.Input[
|
|
996
|
-
:param pulumi.Input[
|
|
997
|
-
:param pulumi.Input[
|
|
1000
|
+
: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.
|
|
1001
|
+
: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.
|
|
1002
|
+
: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`
|
|
1003
|
+
: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.
|
|
1004
|
+
:param pulumi.Input[_builtins.str] disk_space_used: Disk space that service is currently using
|
|
998
1005
|
:param pulumi.Input[Union['M3DbM3dbArgs', 'M3DbM3dbArgsDict']] m3db: Values provided by the M3DB server.
|
|
999
1006
|
:param pulumi.Input[Union['M3DbM3dbUserConfigArgs', 'M3DbM3dbUserConfigArgsDict']] m3db_user_config: M3db user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
1000
|
-
:param pulumi.Input[
|
|
1001
|
-
:param pulumi.Input[
|
|
1002
|
-
:param pulumi.Input[
|
|
1003
|
-
:param pulumi.Input[
|
|
1004
|
-
:param pulumi.Input[
|
|
1005
|
-
:param pulumi.Input[
|
|
1007
|
+
:param pulumi.Input[_builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
1008
|
+
:param pulumi.Input[_builtins.str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
1009
|
+
: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).
|
|
1010
|
+
: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.
|
|
1011
|
+
: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.
|
|
1012
|
+
:param pulumi.Input[_builtins.str] service_host: The hostname of the service.
|
|
1006
1013
|
:param pulumi.Input[Sequence[pulumi.Input[Union['M3DbServiceIntegrationArgs', 'M3DbServiceIntegrationArgsDict']]]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
1007
|
-
:param pulumi.Input[
|
|
1008
|
-
:param pulumi.Input[
|
|
1009
|
-
:param pulumi.Input[
|
|
1010
|
-
:param pulumi.Input[
|
|
1011
|
-
:param pulumi.Input[
|
|
1012
|
-
:param pulumi.Input[
|
|
1013
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
1014
|
+
: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.
|
|
1015
|
+
:param pulumi.Input[_builtins.str] service_password: Password used for connecting to the service, if applicable
|
|
1016
|
+
:param pulumi.Input[_builtins.int] service_port: The port of the service
|
|
1017
|
+
:param pulumi.Input[_builtins.str] service_type: Aiven internal service type code
|
|
1018
|
+
:param pulumi.Input[_builtins.str] service_uri: URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
1019
|
+
:param pulumi.Input[_builtins.str] service_username: Username used for connecting to the service, if applicable
|
|
1020
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] static_ips: Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
1014
1021
|
:param pulumi.Input[Sequence[pulumi.Input[Union['M3DbTagArgs', 'M3DbTagArgsDict']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
1015
1022
|
:param pulumi.Input[Sequence[pulumi.Input[Union['M3DbTechEmailArgs', 'M3DbTechEmailArgsDict']]]] tech_emails: The email addresses for [service contacts](https://aiven.io/docs/platform/howto/technical-emails), who will receive important alerts and updates about this service. You can also set email contacts at the project level.
|
|
1016
|
-
:param pulumi.Input[
|
|
1023
|
+
:param pulumi.Input[_builtins.bool] termination_protection: Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
|
|
1017
1024
|
"""
|
|
1018
1025
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
1019
1026
|
|
|
@@ -1049,23 +1056,23 @@ class M3Db(pulumi.CustomResource):
|
|
|
1049
1056
|
__props__.__dict__["termination_protection"] = termination_protection
|
|
1050
1057
|
return M3Db(resource_name, opts=opts, __props__=__props__)
|
|
1051
1058
|
|
|
1052
|
-
@property
|
|
1059
|
+
@_builtins.property
|
|
1053
1060
|
@pulumi.getter(name="additionalDiskSpace")
|
|
1054
|
-
def additional_disk_space(self) -> pulumi.Output[
|
|
1061
|
+
def additional_disk_space(self) -> pulumi.Output[_builtins.str]:
|
|
1055
1062
|
"""
|
|
1056
1063
|
Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart, and there might be a short downtime for services without an autoscaler integration or high availability capabilities. The field can be safely removed when autoscaler is enabled without causing any changes.
|
|
1057
1064
|
"""
|
|
1058
1065
|
return pulumi.get(self, "additional_disk_space")
|
|
1059
1066
|
|
|
1060
|
-
@property
|
|
1067
|
+
@_builtins.property
|
|
1061
1068
|
@pulumi.getter(name="cloudName")
|
|
1062
|
-
def cloud_name(self) -> pulumi.Output[Optional[
|
|
1069
|
+
def cloud_name(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
1063
1070
|
"""
|
|
1064
1071
|
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.
|
|
1065
1072
|
"""
|
|
1066
1073
|
return pulumi.get(self, "cloud_name")
|
|
1067
1074
|
|
|
1068
|
-
@property
|
|
1075
|
+
@_builtins.property
|
|
1069
1076
|
@pulumi.getter
|
|
1070
1077
|
def components(self) -> pulumi.Output[Sequence['outputs.M3DbComponent']]:
|
|
1071
1078
|
"""
|
|
@@ -1073,49 +1080,49 @@ class M3Db(pulumi.CustomResource):
|
|
|
1073
1080
|
"""
|
|
1074
1081
|
return pulumi.get(self, "components")
|
|
1075
1082
|
|
|
1076
|
-
@property
|
|
1083
|
+
@_builtins.property
|
|
1077
1084
|
@pulumi.getter(name="diskSpace")
|
|
1078
1085
|
@_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.""")
|
|
1079
|
-
def disk_space(self) -> pulumi.Output[Optional[
|
|
1086
|
+
def disk_space(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
1080
1087
|
"""
|
|
1081
1088
|
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
1082
1089
|
"""
|
|
1083
1090
|
return pulumi.get(self, "disk_space")
|
|
1084
1091
|
|
|
1085
|
-
@property
|
|
1092
|
+
@_builtins.property
|
|
1086
1093
|
@pulumi.getter(name="diskSpaceCap")
|
|
1087
|
-
def disk_space_cap(self) -> pulumi.Output[
|
|
1094
|
+
def disk_space_cap(self) -> pulumi.Output[_builtins.str]:
|
|
1088
1095
|
"""
|
|
1089
1096
|
The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
1090
1097
|
"""
|
|
1091
1098
|
return pulumi.get(self, "disk_space_cap")
|
|
1092
1099
|
|
|
1093
|
-
@property
|
|
1100
|
+
@_builtins.property
|
|
1094
1101
|
@pulumi.getter(name="diskSpaceDefault")
|
|
1095
|
-
def disk_space_default(self) -> pulumi.Output[
|
|
1102
|
+
def disk_space_default(self) -> pulumi.Output[_builtins.str]:
|
|
1096
1103
|
"""
|
|
1097
1104
|
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`
|
|
1098
1105
|
"""
|
|
1099
1106
|
return pulumi.get(self, "disk_space_default")
|
|
1100
1107
|
|
|
1101
|
-
@property
|
|
1108
|
+
@_builtins.property
|
|
1102
1109
|
@pulumi.getter(name="diskSpaceStep")
|
|
1103
|
-
def disk_space_step(self) -> pulumi.Output[
|
|
1110
|
+
def disk_space_step(self) -> pulumi.Output[_builtins.str]:
|
|
1104
1111
|
"""
|
|
1105
1112
|
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.
|
|
1106
1113
|
"""
|
|
1107
1114
|
return pulumi.get(self, "disk_space_step")
|
|
1108
1115
|
|
|
1109
|
-
@property
|
|
1116
|
+
@_builtins.property
|
|
1110
1117
|
@pulumi.getter(name="diskSpaceUsed")
|
|
1111
1118
|
@_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.""")
|
|
1112
|
-
def disk_space_used(self) -> pulumi.Output[
|
|
1119
|
+
def disk_space_used(self) -> pulumi.Output[_builtins.str]:
|
|
1113
1120
|
"""
|
|
1114
1121
|
Disk space that service is currently using
|
|
1115
1122
|
"""
|
|
1116
1123
|
return pulumi.get(self, "disk_space_used")
|
|
1117
1124
|
|
|
1118
|
-
@property
|
|
1125
|
+
@_builtins.property
|
|
1119
1126
|
@pulumi.getter
|
|
1120
1127
|
def m3db(self) -> pulumi.Output['outputs.M3DbM3db']:
|
|
1121
1128
|
"""
|
|
@@ -1123,63 +1130,64 @@ class M3Db(pulumi.CustomResource):
|
|
|
1123
1130
|
"""
|
|
1124
1131
|
return pulumi.get(self, "m3db")
|
|
1125
1132
|
|
|
1126
|
-
@property
|
|
1133
|
+
@_builtins.property
|
|
1127
1134
|
@pulumi.getter(name="m3dbUserConfig")
|
|
1135
|
+
@_utilities.deprecated("""This property is deprecated.""")
|
|
1128
1136
|
def m3db_user_config(self) -> pulumi.Output[Optional['outputs.M3DbM3dbUserConfig']]:
|
|
1129
1137
|
"""
|
|
1130
1138
|
M3db user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
1131
1139
|
"""
|
|
1132
1140
|
return pulumi.get(self, "m3db_user_config")
|
|
1133
1141
|
|
|
1134
|
-
@property
|
|
1142
|
+
@_builtins.property
|
|
1135
1143
|
@pulumi.getter(name="maintenanceWindowDow")
|
|
1136
|
-
def maintenance_window_dow(self) -> pulumi.Output[Optional[
|
|
1144
|
+
def maintenance_window_dow(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
1137
1145
|
"""
|
|
1138
1146
|
Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
1139
1147
|
"""
|
|
1140
1148
|
return pulumi.get(self, "maintenance_window_dow")
|
|
1141
1149
|
|
|
1142
|
-
@property
|
|
1150
|
+
@_builtins.property
|
|
1143
1151
|
@pulumi.getter(name="maintenanceWindowTime")
|
|
1144
|
-
def maintenance_window_time(self) -> pulumi.Output[Optional[
|
|
1152
|
+
def maintenance_window_time(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
1145
1153
|
"""
|
|
1146
1154
|
Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
1147
1155
|
"""
|
|
1148
1156
|
return pulumi.get(self, "maintenance_window_time")
|
|
1149
1157
|
|
|
1150
|
-
@property
|
|
1158
|
+
@_builtins.property
|
|
1151
1159
|
@pulumi.getter
|
|
1152
|
-
def plan(self) -> pulumi.Output[
|
|
1160
|
+
def plan(self) -> pulumi.Output[_builtins.str]:
|
|
1153
1161
|
"""
|
|
1154
1162
|
Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
1155
1163
|
"""
|
|
1156
1164
|
return pulumi.get(self, "plan")
|
|
1157
1165
|
|
|
1158
|
-
@property
|
|
1166
|
+
@_builtins.property
|
|
1159
1167
|
@pulumi.getter
|
|
1160
|
-
def project(self) -> pulumi.Output[
|
|
1168
|
+
def project(self) -> pulumi.Output[_builtins.str]:
|
|
1161
1169
|
"""
|
|
1162
1170
|
The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
1163
1171
|
"""
|
|
1164
1172
|
return pulumi.get(self, "project")
|
|
1165
1173
|
|
|
1166
|
-
@property
|
|
1174
|
+
@_builtins.property
|
|
1167
1175
|
@pulumi.getter(name="projectVpcId")
|
|
1168
|
-
def project_vpc_id(self) -> pulumi.Output[Optional[
|
|
1176
|
+
def project_vpc_id(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
1169
1177
|
"""
|
|
1170
1178
|
Specifies the VPC the service should run in. If the value is not set, the service runs on the Public Internet. When set, the value should be given as a reference to set up dependencies correctly, and the VPC must be in the same cloud and region as the service itself. The service can be freely moved to and from VPC after creation, but doing so triggers migration to new servers, so the operation can take a significant amount of time to complete if the service has a lot of data.
|
|
1171
1179
|
"""
|
|
1172
1180
|
return pulumi.get(self, "project_vpc_id")
|
|
1173
1181
|
|
|
1174
|
-
@property
|
|
1182
|
+
@_builtins.property
|
|
1175
1183
|
@pulumi.getter(name="serviceHost")
|
|
1176
|
-
def service_host(self) -> pulumi.Output[
|
|
1184
|
+
def service_host(self) -> pulumi.Output[_builtins.str]:
|
|
1177
1185
|
"""
|
|
1178
1186
|
The hostname of the service.
|
|
1179
1187
|
"""
|
|
1180
1188
|
return pulumi.get(self, "service_host")
|
|
1181
1189
|
|
|
1182
|
-
@property
|
|
1190
|
+
@_builtins.property
|
|
1183
1191
|
@pulumi.getter(name="serviceIntegrations")
|
|
1184
1192
|
def service_integrations(self) -> pulumi.Output[Sequence['outputs.M3DbServiceIntegration']]:
|
|
1185
1193
|
"""
|
|
@@ -1187,68 +1195,68 @@ class M3Db(pulumi.CustomResource):
|
|
|
1187
1195
|
"""
|
|
1188
1196
|
return pulumi.get(self, "service_integrations")
|
|
1189
1197
|
|
|
1190
|
-
@property
|
|
1198
|
+
@_builtins.property
|
|
1191
1199
|
@pulumi.getter(name="serviceName")
|
|
1192
|
-
def service_name(self) -> pulumi.Output[
|
|
1200
|
+
def service_name(self) -> pulumi.Output[_builtins.str]:
|
|
1193
1201
|
"""
|
|
1194
1202
|
Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
|
|
1195
1203
|
"""
|
|
1196
1204
|
return pulumi.get(self, "service_name")
|
|
1197
1205
|
|
|
1198
|
-
@property
|
|
1206
|
+
@_builtins.property
|
|
1199
1207
|
@pulumi.getter(name="servicePassword")
|
|
1200
|
-
def service_password(self) -> pulumi.Output[
|
|
1208
|
+
def service_password(self) -> pulumi.Output[_builtins.str]:
|
|
1201
1209
|
"""
|
|
1202
1210
|
Password used for connecting to the service, if applicable
|
|
1203
1211
|
"""
|
|
1204
1212
|
return pulumi.get(self, "service_password")
|
|
1205
1213
|
|
|
1206
|
-
@property
|
|
1214
|
+
@_builtins.property
|
|
1207
1215
|
@pulumi.getter(name="servicePort")
|
|
1208
|
-
def service_port(self) -> pulumi.Output[
|
|
1216
|
+
def service_port(self) -> pulumi.Output[_builtins.int]:
|
|
1209
1217
|
"""
|
|
1210
1218
|
The port of the service
|
|
1211
1219
|
"""
|
|
1212
1220
|
return pulumi.get(self, "service_port")
|
|
1213
1221
|
|
|
1214
|
-
@property
|
|
1222
|
+
@_builtins.property
|
|
1215
1223
|
@pulumi.getter(name="serviceType")
|
|
1216
|
-
def service_type(self) -> pulumi.Output[
|
|
1224
|
+
def service_type(self) -> pulumi.Output[_builtins.str]:
|
|
1217
1225
|
"""
|
|
1218
1226
|
Aiven internal service type code
|
|
1219
1227
|
"""
|
|
1220
1228
|
return pulumi.get(self, "service_type")
|
|
1221
1229
|
|
|
1222
|
-
@property
|
|
1230
|
+
@_builtins.property
|
|
1223
1231
|
@pulumi.getter(name="serviceUri")
|
|
1224
|
-
def service_uri(self) -> pulumi.Output[
|
|
1232
|
+
def service_uri(self) -> pulumi.Output[_builtins.str]:
|
|
1225
1233
|
"""
|
|
1226
1234
|
URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
1227
1235
|
"""
|
|
1228
1236
|
return pulumi.get(self, "service_uri")
|
|
1229
1237
|
|
|
1230
|
-
@property
|
|
1238
|
+
@_builtins.property
|
|
1231
1239
|
@pulumi.getter(name="serviceUsername")
|
|
1232
|
-
def service_username(self) -> pulumi.Output[
|
|
1240
|
+
def service_username(self) -> pulumi.Output[_builtins.str]:
|
|
1233
1241
|
"""
|
|
1234
1242
|
Username used for connecting to the service, if applicable
|
|
1235
1243
|
"""
|
|
1236
1244
|
return pulumi.get(self, "service_username")
|
|
1237
1245
|
|
|
1238
|
-
@property
|
|
1246
|
+
@_builtins.property
|
|
1239
1247
|
@pulumi.getter
|
|
1240
|
-
def state(self) -> pulumi.Output[
|
|
1248
|
+
def state(self) -> pulumi.Output[_builtins.str]:
|
|
1241
1249
|
return pulumi.get(self, "state")
|
|
1242
1250
|
|
|
1243
|
-
@property
|
|
1251
|
+
@_builtins.property
|
|
1244
1252
|
@pulumi.getter(name="staticIps")
|
|
1245
|
-
def static_ips(self) -> pulumi.Output[Optional[Sequence[
|
|
1253
|
+
def static_ips(self) -> pulumi.Output[Optional[Sequence[_builtins.str]]]:
|
|
1246
1254
|
"""
|
|
1247
1255
|
Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
1248
1256
|
"""
|
|
1249
1257
|
return pulumi.get(self, "static_ips")
|
|
1250
1258
|
|
|
1251
|
-
@property
|
|
1259
|
+
@_builtins.property
|
|
1252
1260
|
@pulumi.getter
|
|
1253
1261
|
def tags(self) -> pulumi.Output[Optional[Sequence['outputs.M3DbTag']]]:
|
|
1254
1262
|
"""
|
|
@@ -1256,7 +1264,7 @@ class M3Db(pulumi.CustomResource):
|
|
|
1256
1264
|
"""
|
|
1257
1265
|
return pulumi.get(self, "tags")
|
|
1258
1266
|
|
|
1259
|
-
@property
|
|
1267
|
+
@_builtins.property
|
|
1260
1268
|
@pulumi.getter(name="techEmails")
|
|
1261
1269
|
def tech_emails(self) -> pulumi.Output[Optional[Sequence['outputs.M3DbTechEmail']]]:
|
|
1262
1270
|
"""
|
|
@@ -1264,9 +1272,9 @@ class M3Db(pulumi.CustomResource):
|
|
|
1264
1272
|
"""
|
|
1265
1273
|
return pulumi.get(self, "tech_emails")
|
|
1266
1274
|
|
|
1267
|
-
@property
|
|
1275
|
+
@_builtins.property
|
|
1268
1276
|
@pulumi.getter(name="terminationProtection")
|
|
1269
|
-
def termination_protection(self) -> pulumi.Output[Optional[
|
|
1277
|
+
def termination_protection(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
|
1270
1278
|
"""
|
|
1271
1279
|
Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
|
|
1272
1280
|
"""
|