pulumi-aiven 6.13.0a1710156545__py3-none-any.whl → 6.31.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 +136 -0
- pulumi_aiven/_inputs.py +32749 -13711
- pulumi_aiven/_utilities.py +41 -5
- pulumi_aiven/account.py +32 -45
- pulumi_aiven/account_authentication.py +24 -9
- pulumi_aiven/account_team.py +35 -14
- pulumi_aiven/account_team_member.py +48 -39
- pulumi_aiven/account_team_project.py +40 -27
- pulumi_aiven/alloydbomni.py +1335 -0
- pulumi_aiven/alloydbomni_database.py +347 -0
- pulumi_aiven/alloydbomni_user.py +433 -0
- pulumi_aiven/aws_privatelink.py +44 -43
- pulumi_aiven/aws_vpc_peering_connection.py +72 -61
- pulumi_aiven/azure_privatelink.py +54 -53
- pulumi_aiven/azure_privatelink_connection_approval.py +136 -33
- pulumi_aiven/azure_vpc_peering_connection.py +86 -77
- pulumi_aiven/billing_group.py +33 -34
- pulumi_aiven/cassandra.py +145 -126
- pulumi_aiven/cassandra_user.py +59 -58
- pulumi_aiven/clickhouse.py +133 -114
- pulumi_aiven/clickhouse_database.py +58 -62
- pulumi_aiven/clickhouse_grant.py +135 -134
- pulumi_aiven/clickhouse_role.py +36 -49
- pulumi_aiven/clickhouse_user.py +50 -49
- pulumi_aiven/config/__init__.pyi +5 -0
- pulumi_aiven/config/vars.py +5 -0
- pulumi_aiven/connection_pool.py +67 -66
- pulumi_aiven/dragonfly.py +1256 -0
- pulumi_aiven/flink.py +104 -104
- pulumi_aiven/flink_application.py +58 -55
- pulumi_aiven/flink_application_deployment.py +178 -73
- pulumi_aiven/flink_application_version.py +179 -96
- pulumi_aiven/gcp_privatelink.py +69 -42
- pulumi_aiven/gcp_privatelink_connection_approval.py +78 -49
- pulumi_aiven/gcp_vpc_peering_connection.py +49 -48
- pulumi_aiven/get_account.py +20 -9
- pulumi_aiven/get_account_authentication.py +31 -5
- pulumi_aiven/get_account_team.py +18 -5
- pulumi_aiven/get_account_team_member.py +29 -14
- pulumi_aiven/get_account_team_project.py +19 -6
- pulumi_aiven/get_alloydbomni.py +499 -0
- pulumi_aiven/get_alloydbomni_database.py +168 -0
- pulumi_aiven/get_alloydbomni_user.py +210 -0
- pulumi_aiven/get_aws_privatelink.py +33 -24
- pulumi_aiven/get_aws_vpc_peering_connection.py +56 -33
- pulumi_aiven/get_azure_privatelink.py +37 -26
- pulumi_aiven/get_azure_vpc_peering_connection.py +77 -28
- pulumi_aiven/get_billing_group.py +31 -8
- pulumi_aiven/get_cassanda.py +55 -23
- pulumi_aiven/get_cassandra.py +55 -23
- pulumi_aiven/get_cassandra_user.py +42 -30
- pulumi_aiven/get_clickhouse.py +55 -23
- pulumi_aiven/get_clickhouse_database.py +35 -26
- pulumi_aiven/get_clickhouse_user.py +40 -29
- pulumi_aiven/get_connection_pool.py +43 -30
- pulumi_aiven/get_dragonfly.py +499 -0
- pulumi_aiven/get_external_identity.py +160 -0
- pulumi_aiven/get_flink.py +55 -23
- pulumi_aiven/get_flink_application.py +44 -31
- pulumi_aiven/get_flink_application_version.py +55 -37
- pulumi_aiven/get_gcp_privatelink.py +63 -7
- pulumi_aiven/get_gcp_vpc_peering_connection.py +39 -28
- pulumi_aiven/get_grafana.py +55 -23
- pulumi_aiven/get_influx_db.py +41 -5
- pulumi_aiven/get_influxdb_database.py +18 -5
- pulumi_aiven/get_influxdb_user.py +21 -5
- pulumi_aiven/get_kafka.py +59 -25
- pulumi_aiven/get_kafka_acl.py +50 -37
- pulumi_aiven/get_kafka_connect.py +54 -36
- pulumi_aiven/get_kafka_connector.py +44 -28
- pulumi_aiven/get_kafka_mirror_maker.py +50 -32
- pulumi_aiven/get_kafka_schema.py +35 -23
- pulumi_aiven/get_kafka_schema_configuration.py +32 -21
- pulumi_aiven/get_kafka_schema_registry_acl.py +37 -20
- pulumi_aiven/get_kafka_topic.py +70 -29
- pulumi_aiven/get_kafka_user.py +42 -30
- pulumi_aiven/get_m3_aggregator.py +51 -19
- pulumi_aiven/get_m3_db.py +55 -23
- pulumi_aiven/get_m3db_user.py +38 -28
- pulumi_aiven/get_mirror_maker_replication_flow.py +86 -25
- pulumi_aiven/get_my_sql.py +50 -18
- pulumi_aiven/get_mysql_database.py +31 -22
- pulumi_aiven/get_mysql_user.py +36 -23
- pulumi_aiven/get_open_search.py +50 -18
- pulumi_aiven/get_open_search_acl_config.py +27 -19
- pulumi_aiven/get_open_search_acl_rule.py +37 -25
- pulumi_aiven/get_opensearch_security_plugin_config.py +29 -19
- pulumi_aiven/get_opensearch_user.py +32 -22
- pulumi_aiven/get_organization.py +25 -17
- pulumi_aiven/get_organization_application_user.py +176 -0
- pulumi_aiven/get_organization_user.py +18 -5
- pulumi_aiven/get_organization_user_group.py +48 -14
- pulumi_aiven/get_organization_user_list.py +121 -0
- pulumi_aiven/get_organizational_unit.py +26 -14
- pulumi_aiven/get_pg.py +55 -23
- pulumi_aiven/get_pg_database.py +39 -28
- pulumi_aiven/get_pg_user.py +44 -31
- pulumi_aiven/get_project.py +43 -26
- pulumi_aiven/get_project_user.py +27 -19
- pulumi_aiven/get_project_vpc.py +31 -23
- pulumi_aiven/get_redis.py +50 -18
- pulumi_aiven/get_redis_user.py +40 -26
- pulumi_aiven/get_service_component.py +40 -22
- pulumi_aiven/get_service_integration.py +163 -53
- pulumi_aiven/get_service_integration_endpoint.py +128 -37
- pulumi_aiven/get_thanos.py +499 -0
- pulumi_aiven/get_transit_gateway_vpc_attachment.py +35 -22
- pulumi_aiven/get_valkey.py +499 -0
- pulumi_aiven/get_valkey_user.py +218 -0
- pulumi_aiven/grafana.py +188 -322
- pulumi_aiven/influx_db.py +127 -90
- pulumi_aiven/influxdb_database.py +40 -55
- pulumi_aiven/influxdb_user.py +47 -42
- pulumi_aiven/kafka.py +157 -144
- pulumi_aiven/kafka_acl.py +64 -57
- pulumi_aiven/kafka_connect.py +201 -332
- pulumi_aiven/kafka_connector.py +67 -60
- pulumi_aiven/kafka_mirror_maker.py +137 -320
- pulumi_aiven/kafka_native_acl.py +588 -0
- pulumi_aiven/kafka_quota.py +604 -0
- pulumi_aiven/kafka_schema.py +63 -58
- pulumi_aiven/kafka_schema_configuration.py +25 -24
- pulumi_aiven/kafka_schema_registry_acl.py +80 -35
- pulumi_aiven/kafka_topic.py +184 -65
- pulumi_aiven/kafka_user.py +59 -58
- pulumi_aiven/m3_aggregator.py +174 -310
- pulumi_aiven/m3_db.py +190 -326
- pulumi_aiven/m3db_user.py +51 -50
- pulumi_aiven/mirror_maker_replication_flow.py +215 -55
- pulumi_aiven/my_sql.py +188 -324
- pulumi_aiven/mysql_database.py +32 -51
- pulumi_aiven/mysql_user.py +37 -36
- pulumi_aiven/open_search.py +126 -107
- pulumi_aiven/open_search_acl_config.py +33 -36
- pulumi_aiven/open_search_acl_rule.py +55 -54
- pulumi_aiven/opensearch_security_plugin_config.py +69 -16
- pulumi_aiven/opensearch_user.py +30 -29
- pulumi_aiven/organization.py +18 -17
- pulumi_aiven/organization_application_user.py +345 -0
- pulumi_aiven/organization_application_user_token.py +711 -0
- pulumi_aiven/organization_group_project.py +349 -0
- pulumi_aiven/organization_permission.py +421 -0
- pulumi_aiven/organization_user.py +25 -46
- pulumi_aiven/organization_user_group.py +64 -23
- pulumi_aiven/organization_user_group_member.py +359 -0
- pulumi_aiven/organizational_unit.py +41 -36
- pulumi_aiven/outputs.py +38976 -21894
- pulumi_aiven/pg.py +92 -88
- pulumi_aiven/pg_database.py +52 -71
- pulumi_aiven/pg_user.py +80 -65
- pulumi_aiven/project.py +111 -102
- pulumi_aiven/project_user.py +44 -35
- pulumi_aiven/project_vpc.py +58 -29
- pulumi_aiven/provider.py +5 -0
- pulumi_aiven/pulumi-plugin.json +2 -1
- pulumi_aiven/redis.py +161 -297
- pulumi_aiven/redis_user.py +58 -57
- pulumi_aiven/service_integration.py +511 -165
- pulumi_aiven/service_integration_endpoint.py +466 -158
- pulumi_aiven/static_ip.py +21 -16
- pulumi_aiven/thanos.py +1262 -0
- pulumi_aiven/transit_gateway_vpc_attachment.py +44 -58
- pulumi_aiven/valkey.py +1256 -0
- pulumi_aiven/valkey_user.py +606 -0
- {pulumi_aiven-6.13.0a1710156545.dist-info → pulumi_aiven-6.31.0.dist-info}/METADATA +7 -6
- pulumi_aiven-6.31.0.dist-info/RECORD +170 -0
- {pulumi_aiven-6.13.0a1710156545.dist-info → pulumi_aiven-6.31.0.dist-info}/WHEEL +1 -1
- pulumi_aiven-6.13.0a1710156545.dist-info/RECORD +0 -146
- {pulumi_aiven-6.13.0a1710156545.dist-info → pulumi_aiven-6.31.0.dist-info}/top_level.txt +0 -0
pulumi_aiven/m3_db.py
CHANGED
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
10
15
|
from . import _utilities
|
|
11
16
|
from . import outputs
|
|
12
17
|
from ._inputs import *
|
|
@@ -22,6 +27,7 @@ class M3DbArgs:
|
|
|
22
27
|
additional_disk_space: Optional[pulumi.Input[str]] = None,
|
|
23
28
|
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
24
29
|
disk_space: Optional[pulumi.Input[str]] = None,
|
|
30
|
+
m3db: Optional[pulumi.Input['M3DbM3dbArgs']] = None,
|
|
25
31
|
m3db_user_config: Optional[pulumi.Input['M3DbM3dbUserConfigArgs']] = None,
|
|
26
32
|
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
27
33
|
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
@@ -33,42 +39,22 @@ class M3DbArgs:
|
|
|
33
39
|
termination_protection: Optional[pulumi.Input[bool]] = None):
|
|
34
40
|
"""
|
|
35
41
|
The set of arguments for constructing a M3Db resource.
|
|
36
|
-
:param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
:param pulumi.Input[
|
|
43
|
-
|
|
44
|
-
:param pulumi.Input[str] service_name: Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the
|
|
45
|
-
service so name should be picked based on intended service usage rather than current attributes.
|
|
46
|
-
:param pulumi.Input[str] additional_disk_space: Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore,
|
|
47
|
-
reducing will result in the service rebalancing.
|
|
48
|
-
:param pulumi.Input[str] cloud_name: Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is
|
|
49
|
-
created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud
|
|
50
|
-
provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These
|
|
51
|
-
are documented on each Cloud provider's own support articles, like [here for
|
|
52
|
-
Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for
|
|
53
|
-
AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
54
|
-
:param pulumi.Input[str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing
|
|
55
|
-
will result in the service rebalancing.
|
|
56
|
-
:param pulumi.Input['M3DbM3dbUserConfigArgs'] m3db_user_config: M3db user configurable settings
|
|
42
|
+
:param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
43
|
+
:param pulumi.Input[str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
44
|
+
:param pulumi.Input[str] service_name: Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
|
|
45
|
+
:param pulumi.Input[str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
|
|
46
|
+
:param pulumi.Input[str] cloud_name: Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like [here for Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
47
|
+
:param pulumi.Input[str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
48
|
+
:param pulumi.Input['M3DbM3dbArgs'] m3db: Values provided by the M3DB server.
|
|
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
|
|
57
50
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
58
51
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
59
|
-
:param pulumi.Input[str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the
|
|
60
|
-
value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region
|
|
61
|
-
as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new
|
|
62
|
-
servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
52
|
+
:param pulumi.Input[str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
63
53
|
:param pulumi.Input[Sequence[pulumi.Input['M3DbServiceIntegrationArgs']]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
64
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a
|
|
65
|
-
static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
54
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
66
55
|
:param pulumi.Input[Sequence[pulumi.Input['M3DbTagArgs']]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
67
|
-
:param pulumi.Input[Sequence[pulumi.Input['M3DbTechEmailArgs']]] tech_emails:
|
|
68
|
-
|
|
69
|
-
:param pulumi.Input[bool] termination_protection: Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent
|
|
70
|
-
unintentional service deletion. This does not shield against deleting databases or topics but for services with backups
|
|
71
|
-
much of the content can at least be restored from backup in case accidental deletion is done.
|
|
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.
|
|
57
|
+
:param pulumi.Input[bool] termination_protection: Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
|
|
72
58
|
"""
|
|
73
59
|
pulumi.set(__self__, "plan", plan)
|
|
74
60
|
pulumi.set(__self__, "project", project)
|
|
@@ -82,6 +68,8 @@ class M3DbArgs:
|
|
|
82
68
|
pulumi.log.warn("""disk_space is 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.""")
|
|
83
69
|
if disk_space is not None:
|
|
84
70
|
pulumi.set(__self__, "disk_space", disk_space)
|
|
71
|
+
if m3db is not None:
|
|
72
|
+
pulumi.set(__self__, "m3db", m3db)
|
|
85
73
|
if m3db_user_config is not None:
|
|
86
74
|
pulumi.set(__self__, "m3db_user_config", m3db_user_config)
|
|
87
75
|
if maintenance_window_dow is not None:
|
|
@@ -105,12 +93,7 @@ class M3DbArgs:
|
|
|
105
93
|
@pulumi.getter
|
|
106
94
|
def plan(self) -> pulumi.Input[str]:
|
|
107
95
|
"""
|
|
108
|
-
Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there
|
|
109
|
-
are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to
|
|
110
|
-
store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
|
|
111
|
-
`hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also
|
|
112
|
-
other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available
|
|
113
|
-
options can be seem from the [Aiven pricing page](https://aiven.io/pricing).
|
|
96
|
+
Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
114
97
|
"""
|
|
115
98
|
return pulumi.get(self, "plan")
|
|
116
99
|
|
|
@@ -122,8 +105,7 @@ class M3DbArgs:
|
|
|
122
105
|
@pulumi.getter
|
|
123
106
|
def project(self) -> pulumi.Input[str]:
|
|
124
107
|
"""
|
|
125
|
-
|
|
126
|
-
reference. This property cannot be changed, doing so forces recreation of the resource.
|
|
108
|
+
The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
127
109
|
"""
|
|
128
110
|
return pulumi.get(self, "project")
|
|
129
111
|
|
|
@@ -135,8 +117,7 @@ class M3DbArgs:
|
|
|
135
117
|
@pulumi.getter(name="serviceName")
|
|
136
118
|
def service_name(self) -> pulumi.Input[str]:
|
|
137
119
|
"""
|
|
138
|
-
Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the
|
|
139
|
-
service so name should be picked based on intended service usage rather than current attributes.
|
|
120
|
+
Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
|
|
140
121
|
"""
|
|
141
122
|
return pulumi.get(self, "service_name")
|
|
142
123
|
|
|
@@ -148,8 +129,7 @@ class M3DbArgs:
|
|
|
148
129
|
@pulumi.getter(name="additionalDiskSpace")
|
|
149
130
|
def additional_disk_space(self) -> Optional[pulumi.Input[str]]:
|
|
150
131
|
"""
|
|
151
|
-
|
|
152
|
-
reducing will result in the service rebalancing.
|
|
132
|
+
Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
|
|
153
133
|
"""
|
|
154
134
|
return pulumi.get(self, "additional_disk_space")
|
|
155
135
|
|
|
@@ -161,12 +141,7 @@ class M3DbArgs:
|
|
|
161
141
|
@pulumi.getter(name="cloudName")
|
|
162
142
|
def cloud_name(self) -> Optional[pulumi.Input[str]]:
|
|
163
143
|
"""
|
|
164
|
-
Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is
|
|
165
|
-
created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud
|
|
166
|
-
provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These
|
|
167
|
-
are documented on each Cloud provider's own support articles, like [here for
|
|
168
|
-
Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for
|
|
169
|
-
AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
144
|
+
Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like [here for Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
170
145
|
"""
|
|
171
146
|
return pulumi.get(self, "cloud_name")
|
|
172
147
|
|
|
@@ -176,25 +151,34 @@ class M3DbArgs:
|
|
|
176
151
|
|
|
177
152
|
@property
|
|
178
153
|
@pulumi.getter(name="diskSpace")
|
|
154
|
+
@_utilities.deprecated("""This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""")
|
|
179
155
|
def disk_space(self) -> Optional[pulumi.Input[str]]:
|
|
180
156
|
"""
|
|
181
|
-
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing
|
|
182
|
-
will result in the service rebalancing.
|
|
157
|
+
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
183
158
|
"""
|
|
184
|
-
warnings.warn("""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.""", DeprecationWarning)
|
|
185
|
-
pulumi.log.warn("""disk_space is 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.""")
|
|
186
|
-
|
|
187
159
|
return pulumi.get(self, "disk_space")
|
|
188
160
|
|
|
189
161
|
@disk_space.setter
|
|
190
162
|
def disk_space(self, value: Optional[pulumi.Input[str]]):
|
|
191
163
|
pulumi.set(self, "disk_space", value)
|
|
192
164
|
|
|
165
|
+
@property
|
|
166
|
+
@pulumi.getter
|
|
167
|
+
def m3db(self) -> Optional[pulumi.Input['M3DbM3dbArgs']]:
|
|
168
|
+
"""
|
|
169
|
+
Values provided by the M3DB server.
|
|
170
|
+
"""
|
|
171
|
+
return pulumi.get(self, "m3db")
|
|
172
|
+
|
|
173
|
+
@m3db.setter
|
|
174
|
+
def m3db(self, value: Optional[pulumi.Input['M3DbM3dbArgs']]):
|
|
175
|
+
pulumi.set(self, "m3db", value)
|
|
176
|
+
|
|
193
177
|
@property
|
|
194
178
|
@pulumi.getter(name="m3dbUserConfig")
|
|
195
179
|
def m3db_user_config(self) -> Optional[pulumi.Input['M3DbM3dbUserConfigArgs']]:
|
|
196
180
|
"""
|
|
197
|
-
M3db user configurable settings
|
|
181
|
+
M3db user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
198
182
|
"""
|
|
199
183
|
return pulumi.get(self, "m3db_user_config")
|
|
200
184
|
|
|
@@ -230,10 +214,7 @@ class M3DbArgs:
|
|
|
230
214
|
@pulumi.getter(name="projectVpcId")
|
|
231
215
|
def project_vpc_id(self) -> Optional[pulumi.Input[str]]:
|
|
232
216
|
"""
|
|
233
|
-
Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the
|
|
234
|
-
value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region
|
|
235
|
-
as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new
|
|
236
|
-
servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
217
|
+
Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
237
218
|
"""
|
|
238
219
|
return pulumi.get(self, "project_vpc_id")
|
|
239
220
|
|
|
@@ -257,8 +238,7 @@ class M3DbArgs:
|
|
|
257
238
|
@pulumi.getter(name="staticIps")
|
|
258
239
|
def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
259
240
|
"""
|
|
260
|
-
Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a
|
|
261
|
-
static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
241
|
+
Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
262
242
|
"""
|
|
263
243
|
return pulumi.get(self, "static_ips")
|
|
264
244
|
|
|
@@ -282,8 +262,7 @@ class M3DbArgs:
|
|
|
282
262
|
@pulumi.getter(name="techEmails")
|
|
283
263
|
def tech_emails(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['M3DbTechEmailArgs']]]]:
|
|
284
264
|
"""
|
|
285
|
-
|
|
286
|
-
instability.
|
|
265
|
+
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.
|
|
287
266
|
"""
|
|
288
267
|
return pulumi.get(self, "tech_emails")
|
|
289
268
|
|
|
@@ -295,9 +274,7 @@ class M3DbArgs:
|
|
|
295
274
|
@pulumi.getter(name="terminationProtection")
|
|
296
275
|
def termination_protection(self) -> Optional[pulumi.Input[bool]]:
|
|
297
276
|
"""
|
|
298
|
-
Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent
|
|
299
|
-
unintentional service deletion. This does not shield against deleting databases or topics but for services with backups
|
|
300
|
-
much of the content can at least be restored from backup in case accidental deletion is done.
|
|
277
|
+
Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
|
|
301
278
|
"""
|
|
302
279
|
return pulumi.get(self, "termination_protection")
|
|
303
280
|
|
|
@@ -317,8 +294,8 @@ class _M3DbState:
|
|
|
317
294
|
disk_space_default: Optional[pulumi.Input[str]] = None,
|
|
318
295
|
disk_space_step: Optional[pulumi.Input[str]] = None,
|
|
319
296
|
disk_space_used: Optional[pulumi.Input[str]] = None,
|
|
297
|
+
m3db: Optional[pulumi.Input['M3DbM3dbArgs']] = None,
|
|
320
298
|
m3db_user_config: Optional[pulumi.Input['M3DbM3dbUserConfigArgs']] = None,
|
|
321
|
-
m3dbs: Optional[pulumi.Input[Sequence[pulumi.Input['M3DbM3dbArgs']]]] = None,
|
|
322
299
|
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
323
300
|
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
324
301
|
plan: Optional[pulumi.Input[str]] = None,
|
|
@@ -339,57 +316,34 @@ class _M3DbState:
|
|
|
339
316
|
termination_protection: Optional[pulumi.Input[bool]] = None):
|
|
340
317
|
"""
|
|
341
318
|
Input properties used for looking up and filtering M3Db resources.
|
|
342
|
-
:param pulumi.Input[str] additional_disk_space:
|
|
343
|
-
|
|
344
|
-
:param pulumi.Input[str] cloud_name: Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is
|
|
345
|
-
created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud
|
|
346
|
-
provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These
|
|
347
|
-
are documented on each Cloud provider's own support articles, like [here for
|
|
348
|
-
Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for
|
|
349
|
-
AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
319
|
+
:param pulumi.Input[str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
|
|
320
|
+
:param pulumi.Input[str] cloud_name: Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like [here for Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
350
321
|
:param pulumi.Input[Sequence[pulumi.Input['M3DbComponentArgs']]] components: Service component information objects
|
|
351
|
-
:param pulumi.Input[str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing
|
|
352
|
-
will result in the service rebalancing.
|
|
322
|
+
:param pulumi.Input[str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
353
323
|
:param pulumi.Input[str] disk_space_cap: The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
354
|
-
:param pulumi.Input[str] disk_space_default: The default disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
355
|
-
|
|
356
|
-
:param pulumi.Input[str] disk_space_step: The default disk space step of the service, possible values depend on the service type, the cloud provider and the
|
|
357
|
-
project. `disk_space` needs to increment from `disk_space_default` by increments of this size.
|
|
324
|
+
:param pulumi.Input[str] disk_space_default: The default disk space of the service, possible values depend on the service type, the cloud provider and the project. Its also the minimum value for `disk_space`
|
|
325
|
+
:param pulumi.Input[str] disk_space_step: The default disk space step of the service, possible values depend on the service type, the cloud provider and the project. `disk_space` needs to increment from `disk_space_default` by increments of this size.
|
|
358
326
|
:param pulumi.Input[str] disk_space_used: Disk space that service is currently using
|
|
359
|
-
:param pulumi.Input['
|
|
360
|
-
:param pulumi.Input[
|
|
327
|
+
:param pulumi.Input['M3DbM3dbArgs'] m3db: Values provided by the M3DB server.
|
|
328
|
+
: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
|
|
361
329
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
362
330
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
363
|
-
:param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
`hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also
|
|
367
|
-
other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available
|
|
368
|
-
options can be seem from the [Aiven pricing page](https://aiven.io/pricing).
|
|
369
|
-
:param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a
|
|
370
|
-
reference. This property cannot be changed, doing so forces recreation of the resource.
|
|
371
|
-
:param pulumi.Input[str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the
|
|
372
|
-
value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region
|
|
373
|
-
as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new
|
|
374
|
-
servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
331
|
+
:param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
332
|
+
:param pulumi.Input[str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
333
|
+
:param pulumi.Input[str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
375
334
|
:param pulumi.Input[str] service_host: The hostname of the service.
|
|
376
335
|
:param pulumi.Input[Sequence[pulumi.Input['M3DbServiceIntegrationArgs']]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
377
|
-
:param pulumi.Input[str] service_name: Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the
|
|
378
|
-
service so name should be picked based on intended service usage rather than current attributes.
|
|
336
|
+
:param pulumi.Input[str] service_name: Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
|
|
379
337
|
:param pulumi.Input[str] service_password: Password used for connecting to the service, if applicable
|
|
380
338
|
:param pulumi.Input[int] service_port: The port of the service
|
|
381
339
|
:param pulumi.Input[str] service_type: Aiven internal service type code
|
|
382
340
|
:param pulumi.Input[str] service_uri: URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
383
341
|
:param pulumi.Input[str] service_username: Username used for connecting to the service, if applicable
|
|
384
342
|
:param pulumi.Input[str] state: Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
385
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a
|
|
386
|
-
static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
343
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
387
344
|
:param pulumi.Input[Sequence[pulumi.Input['M3DbTagArgs']]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
388
|
-
:param pulumi.Input[Sequence[pulumi.Input['M3DbTechEmailArgs']]] tech_emails:
|
|
389
|
-
|
|
390
|
-
:param pulumi.Input[bool] termination_protection: Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent
|
|
391
|
-
unintentional service deletion. This does not shield against deleting databases or topics but for services with backups
|
|
392
|
-
much of the content can at least be restored from backup in case accidental deletion is done.
|
|
345
|
+
: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[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.
|
|
393
347
|
"""
|
|
394
348
|
if additional_disk_space is not None:
|
|
395
349
|
pulumi.set(__self__, "additional_disk_space", additional_disk_space)
|
|
@@ -408,12 +362,15 @@ class _M3DbState:
|
|
|
408
362
|
pulumi.set(__self__, "disk_space_default", disk_space_default)
|
|
409
363
|
if disk_space_step is not None:
|
|
410
364
|
pulumi.set(__self__, "disk_space_step", disk_space_step)
|
|
365
|
+
if disk_space_used is not None:
|
|
366
|
+
warnings.warn("""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.""", DeprecationWarning)
|
|
367
|
+
pulumi.log.warn("""disk_space_used is 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.""")
|
|
411
368
|
if disk_space_used is not None:
|
|
412
369
|
pulumi.set(__self__, "disk_space_used", disk_space_used)
|
|
370
|
+
if m3db is not None:
|
|
371
|
+
pulumi.set(__self__, "m3db", m3db)
|
|
413
372
|
if m3db_user_config is not None:
|
|
414
373
|
pulumi.set(__self__, "m3db_user_config", m3db_user_config)
|
|
415
|
-
if m3dbs is not None:
|
|
416
|
-
pulumi.set(__self__, "m3dbs", m3dbs)
|
|
417
374
|
if maintenance_window_dow is not None:
|
|
418
375
|
pulumi.set(__self__, "maintenance_window_dow", maintenance_window_dow)
|
|
419
376
|
if maintenance_window_time is not None:
|
|
@@ -455,8 +412,7 @@ class _M3DbState:
|
|
|
455
412
|
@pulumi.getter(name="additionalDiskSpace")
|
|
456
413
|
def additional_disk_space(self) -> Optional[pulumi.Input[str]]:
|
|
457
414
|
"""
|
|
458
|
-
|
|
459
|
-
reducing will result in the service rebalancing.
|
|
415
|
+
Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
|
|
460
416
|
"""
|
|
461
417
|
return pulumi.get(self, "additional_disk_space")
|
|
462
418
|
|
|
@@ -468,12 +424,7 @@ class _M3DbState:
|
|
|
468
424
|
@pulumi.getter(name="cloudName")
|
|
469
425
|
def cloud_name(self) -> Optional[pulumi.Input[str]]:
|
|
470
426
|
"""
|
|
471
|
-
Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is
|
|
472
|
-
created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud
|
|
473
|
-
provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These
|
|
474
|
-
are documented on each Cloud provider's own support articles, like [here for
|
|
475
|
-
Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for
|
|
476
|
-
AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
427
|
+
Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like [here for Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
477
428
|
"""
|
|
478
429
|
return pulumi.get(self, "cloud_name")
|
|
479
430
|
|
|
@@ -495,14 +446,11 @@ class _M3DbState:
|
|
|
495
446
|
|
|
496
447
|
@property
|
|
497
448
|
@pulumi.getter(name="diskSpace")
|
|
449
|
+
@_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.""")
|
|
498
450
|
def disk_space(self) -> Optional[pulumi.Input[str]]:
|
|
499
451
|
"""
|
|
500
|
-
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing
|
|
501
|
-
will result in the service rebalancing.
|
|
452
|
+
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
502
453
|
"""
|
|
503
|
-
warnings.warn("""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.""", DeprecationWarning)
|
|
504
|
-
pulumi.log.warn("""disk_space is 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.""")
|
|
505
|
-
|
|
506
454
|
return pulumi.get(self, "disk_space")
|
|
507
455
|
|
|
508
456
|
@disk_space.setter
|
|
@@ -525,8 +473,7 @@ class _M3DbState:
|
|
|
525
473
|
@pulumi.getter(name="diskSpaceDefault")
|
|
526
474
|
def disk_space_default(self) -> Optional[pulumi.Input[str]]:
|
|
527
475
|
"""
|
|
528
|
-
The default disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
529
|
-
Its also the minimum value for `disk_space`
|
|
476
|
+
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`
|
|
530
477
|
"""
|
|
531
478
|
return pulumi.get(self, "disk_space_default")
|
|
532
479
|
|
|
@@ -538,8 +485,7 @@ class _M3DbState:
|
|
|
538
485
|
@pulumi.getter(name="diskSpaceStep")
|
|
539
486
|
def disk_space_step(self) -> Optional[pulumi.Input[str]]:
|
|
540
487
|
"""
|
|
541
|
-
The default disk space step of the service, possible values depend on the service type, the cloud provider and the
|
|
542
|
-
project. `disk_space` needs to increment from `disk_space_default` by increments of this size.
|
|
488
|
+
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.
|
|
543
489
|
"""
|
|
544
490
|
return pulumi.get(self, "disk_space_step")
|
|
545
491
|
|
|
@@ -549,6 +495,7 @@ class _M3DbState:
|
|
|
549
495
|
|
|
550
496
|
@property
|
|
551
497
|
@pulumi.getter(name="diskSpaceUsed")
|
|
498
|
+
@_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.""")
|
|
552
499
|
def disk_space_used(self) -> Optional[pulumi.Input[str]]:
|
|
553
500
|
"""
|
|
554
501
|
Disk space that service is currently using
|
|
@@ -559,11 +506,23 @@ class _M3DbState:
|
|
|
559
506
|
def disk_space_used(self, value: Optional[pulumi.Input[str]]):
|
|
560
507
|
pulumi.set(self, "disk_space_used", value)
|
|
561
508
|
|
|
509
|
+
@property
|
|
510
|
+
@pulumi.getter
|
|
511
|
+
def m3db(self) -> Optional[pulumi.Input['M3DbM3dbArgs']]:
|
|
512
|
+
"""
|
|
513
|
+
Values provided by the M3DB server.
|
|
514
|
+
"""
|
|
515
|
+
return pulumi.get(self, "m3db")
|
|
516
|
+
|
|
517
|
+
@m3db.setter
|
|
518
|
+
def m3db(self, value: Optional[pulumi.Input['M3DbM3dbArgs']]):
|
|
519
|
+
pulumi.set(self, "m3db", value)
|
|
520
|
+
|
|
562
521
|
@property
|
|
563
522
|
@pulumi.getter(name="m3dbUserConfig")
|
|
564
523
|
def m3db_user_config(self) -> Optional[pulumi.Input['M3DbM3dbUserConfigArgs']]:
|
|
565
524
|
"""
|
|
566
|
-
M3db user configurable settings
|
|
525
|
+
M3db user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
567
526
|
"""
|
|
568
527
|
return pulumi.get(self, "m3db_user_config")
|
|
569
528
|
|
|
@@ -571,18 +530,6 @@ class _M3DbState:
|
|
|
571
530
|
def m3db_user_config(self, value: Optional[pulumi.Input['M3DbM3dbUserConfigArgs']]):
|
|
572
531
|
pulumi.set(self, "m3db_user_config", value)
|
|
573
532
|
|
|
574
|
-
@property
|
|
575
|
-
@pulumi.getter
|
|
576
|
-
def m3dbs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['M3DbM3dbArgs']]]]:
|
|
577
|
-
"""
|
|
578
|
-
M3 specific server provided values
|
|
579
|
-
"""
|
|
580
|
-
return pulumi.get(self, "m3dbs")
|
|
581
|
-
|
|
582
|
-
@m3dbs.setter
|
|
583
|
-
def m3dbs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['M3DbM3dbArgs']]]]):
|
|
584
|
-
pulumi.set(self, "m3dbs", value)
|
|
585
|
-
|
|
586
533
|
@property
|
|
587
534
|
@pulumi.getter(name="maintenanceWindowDow")
|
|
588
535
|
def maintenance_window_dow(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -611,12 +558,7 @@ class _M3DbState:
|
|
|
611
558
|
@pulumi.getter
|
|
612
559
|
def plan(self) -> Optional[pulumi.Input[str]]:
|
|
613
560
|
"""
|
|
614
|
-
Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there
|
|
615
|
-
are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to
|
|
616
|
-
store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
|
|
617
|
-
`hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also
|
|
618
|
-
other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available
|
|
619
|
-
options can be seem from the [Aiven pricing page](https://aiven.io/pricing).
|
|
561
|
+
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).
|
|
620
562
|
"""
|
|
621
563
|
return pulumi.get(self, "plan")
|
|
622
564
|
|
|
@@ -628,8 +570,7 @@ class _M3DbState:
|
|
|
628
570
|
@pulumi.getter
|
|
629
571
|
def project(self) -> Optional[pulumi.Input[str]]:
|
|
630
572
|
"""
|
|
631
|
-
|
|
632
|
-
reference. This property cannot be changed, doing so forces recreation of the resource.
|
|
573
|
+
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.
|
|
633
574
|
"""
|
|
634
575
|
return pulumi.get(self, "project")
|
|
635
576
|
|
|
@@ -641,10 +582,7 @@ class _M3DbState:
|
|
|
641
582
|
@pulumi.getter(name="projectVpcId")
|
|
642
583
|
def project_vpc_id(self) -> Optional[pulumi.Input[str]]:
|
|
643
584
|
"""
|
|
644
|
-
Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the
|
|
645
|
-
value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region
|
|
646
|
-
as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new
|
|
647
|
-
servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
585
|
+
Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
648
586
|
"""
|
|
649
587
|
return pulumi.get(self, "project_vpc_id")
|
|
650
588
|
|
|
@@ -680,8 +618,7 @@ class _M3DbState:
|
|
|
680
618
|
@pulumi.getter(name="serviceName")
|
|
681
619
|
def service_name(self) -> Optional[pulumi.Input[str]]:
|
|
682
620
|
"""
|
|
683
|
-
Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the
|
|
684
|
-
service so name should be picked based on intended service usage rather than current attributes.
|
|
621
|
+
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.
|
|
685
622
|
"""
|
|
686
623
|
return pulumi.get(self, "service_name")
|
|
687
624
|
|
|
@@ -765,8 +702,7 @@ class _M3DbState:
|
|
|
765
702
|
@pulumi.getter(name="staticIps")
|
|
766
703
|
def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
767
704
|
"""
|
|
768
|
-
Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a
|
|
769
|
-
static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
705
|
+
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
|
|
770
706
|
"""
|
|
771
707
|
return pulumi.get(self, "static_ips")
|
|
772
708
|
|
|
@@ -790,8 +726,7 @@ class _M3DbState:
|
|
|
790
726
|
@pulumi.getter(name="techEmails")
|
|
791
727
|
def tech_emails(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['M3DbTechEmailArgs']]]]:
|
|
792
728
|
"""
|
|
793
|
-
|
|
794
|
-
instability.
|
|
729
|
+
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.
|
|
795
730
|
"""
|
|
796
731
|
return pulumi.get(self, "tech_emails")
|
|
797
732
|
|
|
@@ -803,9 +738,7 @@ class _M3DbState:
|
|
|
803
738
|
@pulumi.getter(name="terminationProtection")
|
|
804
739
|
def termination_protection(self) -> Optional[pulumi.Input[bool]]:
|
|
805
740
|
"""
|
|
806
|
-
Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent
|
|
807
|
-
unintentional service deletion. This does not shield against deleting databases or topics but for services with backups
|
|
808
|
-
much of the content can at least be restored from backup in case accidental deletion is done.
|
|
741
|
+
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.
|
|
809
742
|
"""
|
|
810
743
|
return pulumi.get(self, "termination_protection")
|
|
811
744
|
|
|
@@ -822,90 +755,69 @@ class M3Db(pulumi.CustomResource):
|
|
|
822
755
|
additional_disk_space: Optional[pulumi.Input[str]] = None,
|
|
823
756
|
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
824
757
|
disk_space: Optional[pulumi.Input[str]] = None,
|
|
825
|
-
|
|
758
|
+
m3db: Optional[pulumi.Input[Union['M3DbM3dbArgs', 'M3DbM3dbArgsDict']]] = None,
|
|
759
|
+
m3db_user_config: Optional[pulumi.Input[Union['M3DbM3dbUserConfigArgs', 'M3DbM3dbUserConfigArgsDict']]] = None,
|
|
826
760
|
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
827
761
|
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
828
762
|
plan: Optional[pulumi.Input[str]] = None,
|
|
829
763
|
project: Optional[pulumi.Input[str]] = None,
|
|
830
764
|
project_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
831
|
-
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
765
|
+
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['M3DbServiceIntegrationArgs', 'M3DbServiceIntegrationArgsDict']]]]] = None,
|
|
832
766
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
833
767
|
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
834
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
835
|
-
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
768
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['M3DbTagArgs', 'M3DbTagArgsDict']]]]] = None,
|
|
769
|
+
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['M3DbTechEmailArgs', 'M3DbTechEmailArgsDict']]]]] = None,
|
|
836
770
|
termination_protection: Optional[pulumi.Input[bool]] = None,
|
|
837
771
|
__props__=None):
|
|
838
772
|
"""
|
|
839
|
-
|
|
773
|
+
Creates and manages an [Aiven for M3DB](https://aiven.io/docs/products/m3db) service.
|
|
840
774
|
|
|
841
775
|
## Example Usage
|
|
842
776
|
|
|
843
|
-
<!--Start PulumiCodeChooser -->
|
|
844
777
|
```python
|
|
845
778
|
import pulumi
|
|
846
779
|
import pulumi_aiven as aiven
|
|
847
780
|
|
|
848
|
-
|
|
849
|
-
project=
|
|
781
|
+
example_m3db = aiven.M3Db("example_m3db",
|
|
782
|
+
project=example_project["project"],
|
|
850
783
|
cloud_name="google-europe-west1",
|
|
851
784
|
plan="business-8",
|
|
852
|
-
service_name="
|
|
785
|
+
service_name="example-m3db-service",
|
|
853
786
|
maintenance_window_dow="monday",
|
|
854
787
|
maintenance_window_time="10:00:00",
|
|
855
|
-
m3db_user_config=
|
|
856
|
-
m3db_version
|
|
857
|
-
namespaces
|
|
858
|
-
name
|
|
859
|
-
type
|
|
860
|
-
|
|
861
|
-
)
|
|
788
|
+
m3db_user_config={
|
|
789
|
+
"m3db_version": "1.1",
|
|
790
|
+
"namespaces": [{
|
|
791
|
+
"name": "example-namespace",
|
|
792
|
+
"type": "unaggregated",
|
|
793
|
+
}],
|
|
794
|
+
})
|
|
862
795
|
```
|
|
863
|
-
<!--End PulumiCodeChooser -->
|
|
864
796
|
|
|
865
797
|
## Import
|
|
866
798
|
|
|
867
799
|
```sh
|
|
868
|
-
$ pulumi import aiven:index/m3Db:M3Db
|
|
800
|
+
$ pulumi import aiven:index/m3Db:M3Db example_m3db PROJECT/SERVICE_NAME
|
|
869
801
|
```
|
|
870
802
|
|
|
871
803
|
:param str resource_name: The name of the resource.
|
|
872
804
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
873
|
-
:param pulumi.Input[str] additional_disk_space:
|
|
874
|
-
|
|
875
|
-
:param pulumi.Input[str]
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
are documented on each Cloud provider's own support articles, like [here for
|
|
879
|
-
Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for
|
|
880
|
-
AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
881
|
-
:param pulumi.Input[str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing
|
|
882
|
-
will result in the service rebalancing.
|
|
883
|
-
:param pulumi.Input[pulumi.InputType['M3DbM3dbUserConfigArgs']] m3db_user_config: M3db user configurable settings
|
|
805
|
+
:param pulumi.Input[str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
|
|
806
|
+
:param pulumi.Input[str] cloud_name: Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like [here for Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
807
|
+
:param pulumi.Input[str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
808
|
+
:param pulumi.Input[Union['M3DbM3dbArgs', 'M3DbM3dbArgsDict']] m3db: Values provided by the M3DB server.
|
|
809
|
+
: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
|
|
884
810
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
885
811
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
886
|
-
:param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
:param pulumi.Input[
|
|
893
|
-
|
|
894
|
-
:param pulumi.Input[
|
|
895
|
-
value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region
|
|
896
|
-
as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new
|
|
897
|
-
servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
898
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['M3DbServiceIntegrationArgs']]]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
899
|
-
:param pulumi.Input[str] service_name: Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the
|
|
900
|
-
service so name should be picked based on intended service usage rather than current attributes.
|
|
901
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a
|
|
902
|
-
static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
903
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['M3DbTagArgs']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
904
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['M3DbTechEmailArgs']]]] tech_emails: Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service
|
|
905
|
-
instability.
|
|
906
|
-
:param pulumi.Input[bool] termination_protection: Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent
|
|
907
|
-
unintentional service deletion. This does not shield against deleting databases or topics but for services with backups
|
|
908
|
-
much of the content can at least be restored from backup in case accidental deletion is done.
|
|
812
|
+
:param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
813
|
+
:param pulumi.Input[str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
814
|
+
:param pulumi.Input[str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
815
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['M3DbServiceIntegrationArgs', 'M3DbServiceIntegrationArgsDict']]]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
816
|
+
:param pulumi.Input[str] service_name: Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
|
|
817
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
818
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['M3DbTagArgs', 'M3DbTagArgsDict']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
819
|
+
: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.
|
|
820
|
+
:param pulumi.Input[bool] termination_protection: Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
|
|
909
821
|
"""
|
|
910
822
|
...
|
|
911
823
|
@overload
|
|
@@ -914,36 +826,34 @@ class M3Db(pulumi.CustomResource):
|
|
|
914
826
|
args: M3DbArgs,
|
|
915
827
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
916
828
|
"""
|
|
917
|
-
|
|
829
|
+
Creates and manages an [Aiven for M3DB](https://aiven.io/docs/products/m3db) service.
|
|
918
830
|
|
|
919
831
|
## Example Usage
|
|
920
832
|
|
|
921
|
-
<!--Start PulumiCodeChooser -->
|
|
922
833
|
```python
|
|
923
834
|
import pulumi
|
|
924
835
|
import pulumi_aiven as aiven
|
|
925
836
|
|
|
926
|
-
|
|
927
|
-
project=
|
|
837
|
+
example_m3db = aiven.M3Db("example_m3db",
|
|
838
|
+
project=example_project["project"],
|
|
928
839
|
cloud_name="google-europe-west1",
|
|
929
840
|
plan="business-8",
|
|
930
|
-
service_name="
|
|
841
|
+
service_name="example-m3db-service",
|
|
931
842
|
maintenance_window_dow="monday",
|
|
932
843
|
maintenance_window_time="10:00:00",
|
|
933
|
-
m3db_user_config=
|
|
934
|
-
m3db_version
|
|
935
|
-
namespaces
|
|
936
|
-
name
|
|
937
|
-
type
|
|
938
|
-
|
|
939
|
-
)
|
|
844
|
+
m3db_user_config={
|
|
845
|
+
"m3db_version": "1.1",
|
|
846
|
+
"namespaces": [{
|
|
847
|
+
"name": "example-namespace",
|
|
848
|
+
"type": "unaggregated",
|
|
849
|
+
}],
|
|
850
|
+
})
|
|
940
851
|
```
|
|
941
|
-
<!--End PulumiCodeChooser -->
|
|
942
852
|
|
|
943
853
|
## Import
|
|
944
854
|
|
|
945
855
|
```sh
|
|
946
|
-
$ pulumi import aiven:index/m3Db:M3Db
|
|
856
|
+
$ pulumi import aiven:index/m3Db:M3Db example_m3db PROJECT/SERVICE_NAME
|
|
947
857
|
```
|
|
948
858
|
|
|
949
859
|
:param str resource_name: The name of the resource.
|
|
@@ -964,17 +874,18 @@ class M3Db(pulumi.CustomResource):
|
|
|
964
874
|
additional_disk_space: Optional[pulumi.Input[str]] = None,
|
|
965
875
|
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
966
876
|
disk_space: Optional[pulumi.Input[str]] = None,
|
|
967
|
-
|
|
877
|
+
m3db: Optional[pulumi.Input[Union['M3DbM3dbArgs', 'M3DbM3dbArgsDict']]] = None,
|
|
878
|
+
m3db_user_config: Optional[pulumi.Input[Union['M3DbM3dbUserConfigArgs', 'M3DbM3dbUserConfigArgsDict']]] = None,
|
|
968
879
|
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
969
880
|
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
970
881
|
plan: Optional[pulumi.Input[str]] = None,
|
|
971
882
|
project: Optional[pulumi.Input[str]] = None,
|
|
972
883
|
project_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
973
|
-
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
884
|
+
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['M3DbServiceIntegrationArgs', 'M3DbServiceIntegrationArgsDict']]]]] = None,
|
|
974
885
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
975
886
|
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
976
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
977
|
-
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
887
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['M3DbTagArgs', 'M3DbTagArgsDict']]]]] = None,
|
|
888
|
+
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['M3DbTechEmailArgs', 'M3DbTechEmailArgsDict']]]]] = None,
|
|
978
889
|
termination_protection: Optional[pulumi.Input[bool]] = None,
|
|
979
890
|
__props__=None):
|
|
980
891
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
@@ -988,6 +899,7 @@ class M3Db(pulumi.CustomResource):
|
|
|
988
899
|
__props__.__dict__["additional_disk_space"] = additional_disk_space
|
|
989
900
|
__props__.__dict__["cloud_name"] = cloud_name
|
|
990
901
|
__props__.__dict__["disk_space"] = disk_space
|
|
902
|
+
__props__.__dict__["m3db"] = None if m3db is None else pulumi.Output.secret(m3db)
|
|
991
903
|
__props__.__dict__["m3db_user_config"] = m3db_user_config
|
|
992
904
|
__props__.__dict__["maintenance_window_dow"] = maintenance_window_dow
|
|
993
905
|
__props__.__dict__["maintenance_window_time"] = maintenance_window_time
|
|
@@ -1011,7 +923,6 @@ class M3Db(pulumi.CustomResource):
|
|
|
1011
923
|
__props__.__dict__["disk_space_default"] = None
|
|
1012
924
|
__props__.__dict__["disk_space_step"] = None
|
|
1013
925
|
__props__.__dict__["disk_space_used"] = None
|
|
1014
|
-
__props__.__dict__["m3dbs"] = None
|
|
1015
926
|
__props__.__dict__["service_host"] = None
|
|
1016
927
|
__props__.__dict__["service_password"] = None
|
|
1017
928
|
__props__.__dict__["service_port"] = None
|
|
@@ -1019,7 +930,7 @@ class M3Db(pulumi.CustomResource):
|
|
|
1019
930
|
__props__.__dict__["service_uri"] = None
|
|
1020
931
|
__props__.__dict__["service_username"] = None
|
|
1021
932
|
__props__.__dict__["state"] = None
|
|
1022
|
-
secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["servicePassword", "serviceUri"])
|
|
933
|
+
secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["m3db", "servicePassword", "serviceUri"])
|
|
1023
934
|
opts = pulumi.ResourceOptions.merge(opts, secret_opts)
|
|
1024
935
|
super(M3Db, __self__).__init__(
|
|
1025
936
|
'aiven:index/m3Db:M3Db',
|
|
@@ -1033,21 +944,21 @@ class M3Db(pulumi.CustomResource):
|
|
|
1033
944
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
1034
945
|
additional_disk_space: Optional[pulumi.Input[str]] = None,
|
|
1035
946
|
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
1036
|
-
components: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
947
|
+
components: Optional[pulumi.Input[Sequence[pulumi.Input[Union['M3DbComponentArgs', 'M3DbComponentArgsDict']]]]] = None,
|
|
1037
948
|
disk_space: Optional[pulumi.Input[str]] = None,
|
|
1038
949
|
disk_space_cap: Optional[pulumi.Input[str]] = None,
|
|
1039
950
|
disk_space_default: Optional[pulumi.Input[str]] = None,
|
|
1040
951
|
disk_space_step: Optional[pulumi.Input[str]] = None,
|
|
1041
952
|
disk_space_used: Optional[pulumi.Input[str]] = None,
|
|
1042
|
-
|
|
1043
|
-
|
|
953
|
+
m3db: Optional[pulumi.Input[Union['M3DbM3dbArgs', 'M3DbM3dbArgsDict']]] = None,
|
|
954
|
+
m3db_user_config: Optional[pulumi.Input[Union['M3DbM3dbUserConfigArgs', 'M3DbM3dbUserConfigArgsDict']]] = None,
|
|
1044
955
|
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
1045
956
|
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
1046
957
|
plan: Optional[pulumi.Input[str]] = None,
|
|
1047
958
|
project: Optional[pulumi.Input[str]] = None,
|
|
1048
959
|
project_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
1049
960
|
service_host: Optional[pulumi.Input[str]] = None,
|
|
1050
|
-
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
961
|
+
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['M3DbServiceIntegrationArgs', 'M3DbServiceIntegrationArgsDict']]]]] = None,
|
|
1051
962
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
1052
963
|
service_password: Optional[pulumi.Input[str]] = None,
|
|
1053
964
|
service_port: Optional[pulumi.Input[int]] = None,
|
|
@@ -1056,8 +967,8 @@ class M3Db(pulumi.CustomResource):
|
|
|
1056
967
|
service_username: Optional[pulumi.Input[str]] = None,
|
|
1057
968
|
state: Optional[pulumi.Input[str]] = None,
|
|
1058
969
|
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1059
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
1060
|
-
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
970
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['M3DbTagArgs', 'M3DbTagArgsDict']]]]] = None,
|
|
971
|
+
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['M3DbTechEmailArgs', 'M3DbTechEmailArgsDict']]]]] = None,
|
|
1061
972
|
termination_protection: Optional[pulumi.Input[bool]] = None) -> 'M3Db':
|
|
1062
973
|
"""
|
|
1063
974
|
Get an existing M3Db resource's state with the given name, id, and optional extra
|
|
@@ -1066,57 +977,34 @@ class M3Db(pulumi.CustomResource):
|
|
|
1066
977
|
:param str resource_name: The unique name of the resulting resource.
|
|
1067
978
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
1068
979
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
1069
|
-
:param pulumi.Input[str] additional_disk_space:
|
|
1070
|
-
|
|
1071
|
-
:param pulumi.Input[
|
|
1072
|
-
|
|
1073
|
-
provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These
|
|
1074
|
-
are documented on each Cloud provider's own support articles, like [here for
|
|
1075
|
-
Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for
|
|
1076
|
-
AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
1077
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['M3DbComponentArgs']]]] components: Service component information objects
|
|
1078
|
-
:param pulumi.Input[str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing
|
|
1079
|
-
will result in the service rebalancing.
|
|
980
|
+
:param pulumi.Input[str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
|
|
981
|
+
:param pulumi.Input[str] cloud_name: Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like [here for Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
982
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['M3DbComponentArgs', 'M3DbComponentArgsDict']]]] components: Service component information objects
|
|
983
|
+
:param pulumi.Input[str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
1080
984
|
:param pulumi.Input[str] disk_space_cap: The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
1081
|
-
:param pulumi.Input[str] disk_space_default: The default disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
1082
|
-
|
|
1083
|
-
:param pulumi.Input[str] disk_space_step: The default disk space step of the service, possible values depend on the service type, the cloud provider and the
|
|
1084
|
-
project. `disk_space` needs to increment from `disk_space_default` by increments of this size.
|
|
985
|
+
:param pulumi.Input[str] disk_space_default: The default disk space of the service, possible values depend on the service type, the cloud provider and the project. Its also the minimum value for `disk_space`
|
|
986
|
+
:param pulumi.Input[str] disk_space_step: The default disk space step of the service, possible values depend on the service type, the cloud provider and the project. `disk_space` needs to increment from `disk_space_default` by increments of this size.
|
|
1085
987
|
:param pulumi.Input[str] disk_space_used: Disk space that service is currently using
|
|
1086
|
-
:param pulumi.Input[
|
|
1087
|
-
:param pulumi.Input[
|
|
988
|
+
:param pulumi.Input[Union['M3DbM3dbArgs', 'M3DbM3dbArgsDict']] m3db: Values provided by the M3DB server.
|
|
989
|
+
: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
|
|
1088
990
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
1089
991
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
1090
|
-
:param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
`hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also
|
|
1094
|
-
other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available
|
|
1095
|
-
options can be seem from the [Aiven pricing page](https://aiven.io/pricing).
|
|
1096
|
-
:param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a
|
|
1097
|
-
reference. This property cannot be changed, doing so forces recreation of the resource.
|
|
1098
|
-
:param pulumi.Input[str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the
|
|
1099
|
-
value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region
|
|
1100
|
-
as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new
|
|
1101
|
-
servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
992
|
+
:param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
993
|
+
:param pulumi.Input[str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
994
|
+
:param pulumi.Input[str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
1102
995
|
:param pulumi.Input[str] service_host: The hostname of the service.
|
|
1103
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
1104
|
-
:param pulumi.Input[str] service_name: Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the
|
|
1105
|
-
service so name should be picked based on intended service usage rather than current attributes.
|
|
996
|
+
: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
|
|
997
|
+
:param pulumi.Input[str] service_name: Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
|
|
1106
998
|
:param pulumi.Input[str] service_password: Password used for connecting to the service, if applicable
|
|
1107
999
|
:param pulumi.Input[int] service_port: The port of the service
|
|
1108
1000
|
:param pulumi.Input[str] service_type: Aiven internal service type code
|
|
1109
1001
|
:param pulumi.Input[str] service_uri: URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
1110
1002
|
:param pulumi.Input[str] service_username: Username used for connecting to the service, if applicable
|
|
1111
1003
|
:param pulumi.Input[str] state: Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
1112
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a
|
|
1113
|
-
|
|
1114
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
1115
|
-
:param pulumi.Input[
|
|
1116
|
-
instability.
|
|
1117
|
-
:param pulumi.Input[bool] termination_protection: Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent
|
|
1118
|
-
unintentional service deletion. This does not shield against deleting databases or topics but for services with backups
|
|
1119
|
-
much of the content can at least be restored from backup in case accidental deletion is done.
|
|
1004
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
1005
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['M3DbTagArgs', 'M3DbTagArgsDict']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
1006
|
+
: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.
|
|
1007
|
+
:param pulumi.Input[bool] termination_protection: Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
|
|
1120
1008
|
"""
|
|
1121
1009
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
1122
1010
|
|
|
@@ -1130,8 +1018,8 @@ class M3Db(pulumi.CustomResource):
|
|
|
1130
1018
|
__props__.__dict__["disk_space_default"] = disk_space_default
|
|
1131
1019
|
__props__.__dict__["disk_space_step"] = disk_space_step
|
|
1132
1020
|
__props__.__dict__["disk_space_used"] = disk_space_used
|
|
1021
|
+
__props__.__dict__["m3db"] = m3db
|
|
1133
1022
|
__props__.__dict__["m3db_user_config"] = m3db_user_config
|
|
1134
|
-
__props__.__dict__["m3dbs"] = m3dbs
|
|
1135
1023
|
__props__.__dict__["maintenance_window_dow"] = maintenance_window_dow
|
|
1136
1024
|
__props__.__dict__["maintenance_window_time"] = maintenance_window_time
|
|
1137
1025
|
__props__.__dict__["plan"] = plan
|
|
@@ -1154,10 +1042,9 @@ class M3Db(pulumi.CustomResource):
|
|
|
1154
1042
|
|
|
1155
1043
|
@property
|
|
1156
1044
|
@pulumi.getter(name="additionalDiskSpace")
|
|
1157
|
-
def additional_disk_space(self) -> pulumi.Output[
|
|
1045
|
+
def additional_disk_space(self) -> pulumi.Output[str]:
|
|
1158
1046
|
"""
|
|
1159
|
-
|
|
1160
|
-
reducing will result in the service rebalancing.
|
|
1047
|
+
Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
|
|
1161
1048
|
"""
|
|
1162
1049
|
return pulumi.get(self, "additional_disk_space")
|
|
1163
1050
|
|
|
@@ -1165,12 +1052,7 @@ class M3Db(pulumi.CustomResource):
|
|
|
1165
1052
|
@pulumi.getter(name="cloudName")
|
|
1166
1053
|
def cloud_name(self) -> pulumi.Output[Optional[str]]:
|
|
1167
1054
|
"""
|
|
1168
|
-
Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is
|
|
1169
|
-
created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud
|
|
1170
|
-
provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These
|
|
1171
|
-
are documented on each Cloud provider's own support articles, like [here for
|
|
1172
|
-
Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for
|
|
1173
|
-
AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
1055
|
+
Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like [here for Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
1174
1056
|
"""
|
|
1175
1057
|
return pulumi.get(self, "cloud_name")
|
|
1176
1058
|
|
|
@@ -1184,14 +1066,11 @@ class M3Db(pulumi.CustomResource):
|
|
|
1184
1066
|
|
|
1185
1067
|
@property
|
|
1186
1068
|
@pulumi.getter(name="diskSpace")
|
|
1069
|
+
@_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.""")
|
|
1187
1070
|
def disk_space(self) -> pulumi.Output[Optional[str]]:
|
|
1188
1071
|
"""
|
|
1189
|
-
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing
|
|
1190
|
-
will result in the service rebalancing.
|
|
1072
|
+
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
1191
1073
|
"""
|
|
1192
|
-
warnings.warn("""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.""", DeprecationWarning)
|
|
1193
|
-
pulumi.log.warn("""disk_space is 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.""")
|
|
1194
|
-
|
|
1195
1074
|
return pulumi.get(self, "disk_space")
|
|
1196
1075
|
|
|
1197
1076
|
@property
|
|
@@ -1206,8 +1085,7 @@ class M3Db(pulumi.CustomResource):
|
|
|
1206
1085
|
@pulumi.getter(name="diskSpaceDefault")
|
|
1207
1086
|
def disk_space_default(self) -> pulumi.Output[str]:
|
|
1208
1087
|
"""
|
|
1209
|
-
The default disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
1210
|
-
Its also the minimum value for `disk_space`
|
|
1088
|
+
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`
|
|
1211
1089
|
"""
|
|
1212
1090
|
return pulumi.get(self, "disk_space_default")
|
|
1213
1091
|
|
|
@@ -1215,13 +1093,13 @@ class M3Db(pulumi.CustomResource):
|
|
|
1215
1093
|
@pulumi.getter(name="diskSpaceStep")
|
|
1216
1094
|
def disk_space_step(self) -> pulumi.Output[str]:
|
|
1217
1095
|
"""
|
|
1218
|
-
The default disk space step of the service, possible values depend on the service type, the cloud provider and the
|
|
1219
|
-
project. `disk_space` needs to increment from `disk_space_default` by increments of this size.
|
|
1096
|
+
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.
|
|
1220
1097
|
"""
|
|
1221
1098
|
return pulumi.get(self, "disk_space_step")
|
|
1222
1099
|
|
|
1223
1100
|
@property
|
|
1224
1101
|
@pulumi.getter(name="diskSpaceUsed")
|
|
1102
|
+
@_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.""")
|
|
1225
1103
|
def disk_space_used(self) -> pulumi.Output[str]:
|
|
1226
1104
|
"""
|
|
1227
1105
|
Disk space that service is currently using
|
|
@@ -1229,20 +1107,20 @@ class M3Db(pulumi.CustomResource):
|
|
|
1229
1107
|
return pulumi.get(self, "disk_space_used")
|
|
1230
1108
|
|
|
1231
1109
|
@property
|
|
1232
|
-
@pulumi.getter
|
|
1233
|
-
def
|
|
1110
|
+
@pulumi.getter
|
|
1111
|
+
def m3db(self) -> pulumi.Output['outputs.M3DbM3db']:
|
|
1234
1112
|
"""
|
|
1235
|
-
|
|
1113
|
+
Values provided by the M3DB server.
|
|
1236
1114
|
"""
|
|
1237
|
-
return pulumi.get(self, "
|
|
1115
|
+
return pulumi.get(self, "m3db")
|
|
1238
1116
|
|
|
1239
1117
|
@property
|
|
1240
|
-
@pulumi.getter
|
|
1241
|
-
def
|
|
1118
|
+
@pulumi.getter(name="m3dbUserConfig")
|
|
1119
|
+
def m3db_user_config(self) -> pulumi.Output[Optional['outputs.M3DbM3dbUserConfig']]:
|
|
1242
1120
|
"""
|
|
1243
|
-
|
|
1121
|
+
M3db user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
1244
1122
|
"""
|
|
1245
|
-
return pulumi.get(self, "
|
|
1123
|
+
return pulumi.get(self, "m3db_user_config")
|
|
1246
1124
|
|
|
1247
1125
|
@property
|
|
1248
1126
|
@pulumi.getter(name="maintenanceWindowDow")
|
|
@@ -1264,12 +1142,7 @@ class M3Db(pulumi.CustomResource):
|
|
|
1264
1142
|
@pulumi.getter
|
|
1265
1143
|
def plan(self) -> pulumi.Output[str]:
|
|
1266
1144
|
"""
|
|
1267
|
-
Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there
|
|
1268
|
-
are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to
|
|
1269
|
-
store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
|
|
1270
|
-
`hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also
|
|
1271
|
-
other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available
|
|
1272
|
-
options can be seem from the [Aiven pricing page](https://aiven.io/pricing).
|
|
1145
|
+
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).
|
|
1273
1146
|
"""
|
|
1274
1147
|
return pulumi.get(self, "plan")
|
|
1275
1148
|
|
|
@@ -1277,19 +1150,15 @@ class M3Db(pulumi.CustomResource):
|
|
|
1277
1150
|
@pulumi.getter
|
|
1278
1151
|
def project(self) -> pulumi.Output[str]:
|
|
1279
1152
|
"""
|
|
1280
|
-
|
|
1281
|
-
reference. This property cannot be changed, doing so forces recreation of the resource.
|
|
1153
|
+
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.
|
|
1282
1154
|
"""
|
|
1283
1155
|
return pulumi.get(self, "project")
|
|
1284
1156
|
|
|
1285
1157
|
@property
|
|
1286
1158
|
@pulumi.getter(name="projectVpcId")
|
|
1287
|
-
def project_vpc_id(self) -> pulumi.Output[
|
|
1159
|
+
def project_vpc_id(self) -> pulumi.Output[str]:
|
|
1288
1160
|
"""
|
|
1289
|
-
Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the
|
|
1290
|
-
value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region
|
|
1291
|
-
as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new
|
|
1292
|
-
servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
1161
|
+
Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
1293
1162
|
"""
|
|
1294
1163
|
return pulumi.get(self, "project_vpc_id")
|
|
1295
1164
|
|
|
@@ -1303,7 +1172,7 @@ class M3Db(pulumi.CustomResource):
|
|
|
1303
1172
|
|
|
1304
1173
|
@property
|
|
1305
1174
|
@pulumi.getter(name="serviceIntegrations")
|
|
1306
|
-
def service_integrations(self) -> pulumi.Output[
|
|
1175
|
+
def service_integrations(self) -> pulumi.Output[Sequence['outputs.M3DbServiceIntegration']]:
|
|
1307
1176
|
"""
|
|
1308
1177
|
Service integrations to specify when creating a service. Not applied after initial service creation
|
|
1309
1178
|
"""
|
|
@@ -1313,8 +1182,7 @@ class M3Db(pulumi.CustomResource):
|
|
|
1313
1182
|
@pulumi.getter(name="serviceName")
|
|
1314
1183
|
def service_name(self) -> pulumi.Output[str]:
|
|
1315
1184
|
"""
|
|
1316
|
-
Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the
|
|
1317
|
-
service so name should be picked based on intended service usage rather than current attributes.
|
|
1185
|
+
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.
|
|
1318
1186
|
"""
|
|
1319
1187
|
return pulumi.get(self, "service_name")
|
|
1320
1188
|
|
|
@@ -1370,8 +1238,7 @@ class M3Db(pulumi.CustomResource):
|
|
|
1370
1238
|
@pulumi.getter(name="staticIps")
|
|
1371
1239
|
def static_ips(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
1372
1240
|
"""
|
|
1373
|
-
Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a
|
|
1374
|
-
static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
1241
|
+
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
|
|
1375
1242
|
"""
|
|
1376
1243
|
return pulumi.get(self, "static_ips")
|
|
1377
1244
|
|
|
@@ -1387,8 +1254,7 @@ class M3Db(pulumi.CustomResource):
|
|
|
1387
1254
|
@pulumi.getter(name="techEmails")
|
|
1388
1255
|
def tech_emails(self) -> pulumi.Output[Optional[Sequence['outputs.M3DbTechEmail']]]:
|
|
1389
1256
|
"""
|
|
1390
|
-
|
|
1391
|
-
instability.
|
|
1257
|
+
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.
|
|
1392
1258
|
"""
|
|
1393
1259
|
return pulumi.get(self, "tech_emails")
|
|
1394
1260
|
|
|
@@ -1396,9 +1262,7 @@ class M3Db(pulumi.CustomResource):
|
|
|
1396
1262
|
@pulumi.getter(name="terminationProtection")
|
|
1397
1263
|
def termination_protection(self) -> pulumi.Output[Optional[bool]]:
|
|
1398
1264
|
"""
|
|
1399
|
-
Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent
|
|
1400
|
-
unintentional service deletion. This does not shield against deleting databases or topics but for services with backups
|
|
1401
|
-
much of the content can at least be restored from backup in case accidental deletion is done.
|
|
1265
|
+
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.
|
|
1402
1266
|
"""
|
|
1403
1267
|
return pulumi.get(self, "termination_protection")
|
|
1404
1268
|
|