pulumi-aiven 6.13.0a1711361534__py3-none-any.whl → 6.14.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/_inputs.py +200 -262
- pulumi_aiven/account.py +2 -6
- pulumi_aiven/account_authentication.py +2 -2
- pulumi_aiven/account_team.py +6 -6
- pulumi_aiven/account_team_member.py +6 -10
- pulumi_aiven/account_team_project.py +12 -12
- pulumi_aiven/aws_privatelink.py +18 -22
- pulumi_aiven/aws_vpc_peering_connection.py +8 -12
- pulumi_aiven/azure_privatelink.py +18 -22
- pulumi_aiven/azure_privatelink_connection_approval.py +112 -14
- pulumi_aiven/azure_vpc_peering_connection.py +6 -10
- pulumi_aiven/billing_group.py +18 -18
- pulumi_aiven/cassandra.py +25 -57
- pulumi_aiven/cassandra_user.py +18 -22
- pulumi_aiven/clickhouse.py +25 -57
- pulumi_aiven/clickhouse_database.py +24 -26
- pulumi_aiven/clickhouse_grant.py +35 -37
- pulumi_aiven/clickhouse_role.py +16 -20
- pulumi_aiven/clickhouse_user.py +18 -22
- pulumi_aiven/connection_pool.py +24 -28
- pulumi_aiven/dragonfly.py +124 -263
- pulumi_aiven/flink.py +32 -36
- pulumi_aiven/flink_application.py +22 -24
- pulumi_aiven/flink_application_deployment.py +21 -21
- pulumi_aiven/flink_application_version.py +96 -14
- pulumi_aiven/gcp_privatelink.py +21 -21
- pulumi_aiven/gcp_privatelink_connection_approval.py +21 -21
- pulumi_aiven/gcp_vpc_peering_connection.py +4 -8
- pulumi_aiven/get_account.py +0 -4
- pulumi_aiven/get_aws_privatelink.py +10 -14
- pulumi_aiven/get_aws_vpc_peering_connection.py +6 -10
- pulumi_aiven/get_azure_privatelink.py +10 -14
- pulumi_aiven/get_azure_vpc_peering_connection.py +2 -6
- pulumi_aiven/get_billing_group.py +2 -2
- pulumi_aiven/get_cassanda.py +7 -24
- pulumi_aiven/get_cassandra.py +7 -24
- pulumi_aiven/get_cassandra_user.py +10 -14
- pulumi_aiven/get_clickhouse.py +7 -24
- pulumi_aiven/get_clickhouse_database.py +10 -14
- pulumi_aiven/get_clickhouse_user.py +10 -14
- pulumi_aiven/get_connection_pool.py +10 -14
- pulumi_aiven/get_dragonfly.py +27 -20
- pulumi_aiven/get_flink.py +6 -10
- pulumi_aiven/get_flink_application.py +8 -12
- pulumi_aiven/get_flink_application_version.py +8 -12
- pulumi_aiven/get_gcp_vpc_peering_connection.py +2 -6
- pulumi_aiven/get_grafana.py +7 -24
- pulumi_aiven/get_kafka.py +13 -17
- pulumi_aiven/get_kafka_acl.py +10 -14
- pulumi_aiven/get_kafka_connect.py +7 -24
- pulumi_aiven/get_kafka_connector.py +10 -14
- pulumi_aiven/get_kafka_mirror_maker.py +7 -24
- pulumi_aiven/get_kafka_schema.py +10 -14
- pulumi_aiven/get_kafka_schema_configuration.py +10 -14
- pulumi_aiven/get_kafka_schema_registry_acl.py +6 -6
- pulumi_aiven/get_kafka_topic.py +16 -20
- pulumi_aiven/get_kafka_user.py +10 -14
- pulumi_aiven/get_m3_aggregator.py +7 -24
- pulumi_aiven/get_m3_db.py +7 -24
- pulumi_aiven/get_m3db_user.py +10 -14
- pulumi_aiven/get_mirror_maker_replication_flow.py +14 -18
- pulumi_aiven/get_my_sql.py +7 -24
- pulumi_aiven/get_mysql_database.py +10 -14
- pulumi_aiven/get_mysql_user.py +10 -14
- pulumi_aiven/get_open_search.py +6 -10
- pulumi_aiven/get_open_search_acl_config.py +10 -14
- pulumi_aiven/get_open_search_acl_rule.py +10 -14
- pulumi_aiven/get_opensearch_security_plugin_config.py +10 -14
- pulumi_aiven/get_opensearch_user.py +10 -14
- pulumi_aiven/get_organization.py +0 -4
- pulumi_aiven/get_organization_user_group.py +2 -6
- pulumi_aiven/get_pg.py +6 -10
- pulumi_aiven/get_pg_database.py +10 -14
- pulumi_aiven/get_pg_user.py +10 -14
- pulumi_aiven/get_project.py +17 -21
- pulumi_aiven/get_project_user.py +9 -13
- pulumi_aiven/get_project_vpc.py +2 -6
- pulumi_aiven/get_redis.py +7 -24
- pulumi_aiven/get_redis_user.py +10 -14
- pulumi_aiven/get_service_component.py +4 -8
- pulumi_aiven/get_service_integration.py +19 -33
- pulumi_aiven/get_service_integration_endpoint.py +2 -6
- pulumi_aiven/get_transit_gateway_vpc_attachment.py +2 -6
- pulumi_aiven/grafana.py +82 -267
- pulumi_aiven/influx_db.py +21 -21
- pulumi_aiven/influxdb_database.py +21 -21
- pulumi_aiven/influxdb_user.py +21 -21
- pulumi_aiven/kafka.py +50 -54
- pulumi_aiven/kafka_acl.py +20 -24
- pulumi_aiven/kafka_connect.py +80 -267
- pulumi_aiven/kafka_connector.py +26 -30
- pulumi_aiven/kafka_mirror_maker.py +80 -267
- pulumi_aiven/kafka_schema.py +18 -22
- pulumi_aiven/kafka_schema_configuration.py +20 -24
- pulumi_aiven/kafka_schema_registry_acl.py +54 -14
- pulumi_aiven/kafka_topic.py +84 -46
- pulumi_aiven/kafka_user.py +18 -22
- pulumi_aiven/m3_aggregator.py +80 -267
- pulumi_aiven/m3_db.py +80 -267
- pulumi_aiven/m3db_user.py +16 -20
- pulumi_aiven/mirror_maker_replication_flow.py +22 -26
- pulumi_aiven/my_sql.py +80 -267
- pulumi_aiven/mysql_database.py +20 -24
- pulumi_aiven/mysql_user.py +18 -22
- pulumi_aiven/open_search.py +27 -31
- pulumi_aiven/open_search_acl_config.py +28 -36
- pulumi_aiven/open_search_acl_rule.py +36 -40
- pulumi_aiven/opensearch_security_plugin_config.py +28 -32
- pulumi_aiven/opensearch_user.py +18 -22
- pulumi_aiven/organization.py +2 -6
- pulumi_aiven/organization_group_project.py +46 -0
- pulumi_aiven/organization_user.py +2 -20
- pulumi_aiven/organization_user_group.py +4 -6
- pulumi_aiven/organization_user_group_member.py +8 -10
- pulumi_aiven/organizational_unit.py +6 -6
- pulumi_aiven/outputs.py +271 -390
- pulumi_aiven/pg.py +30 -30
- pulumi_aiven/pg_database.py +20 -24
- pulumi_aiven/pg_user.py +18 -22
- pulumi_aiven/project.py +75 -79
- pulumi_aiven/project_user.py +24 -28
- pulumi_aiven/project_vpc.py +31 -7
- pulumi_aiven/redis.py +80 -267
- pulumi_aiven/redis_user.py +18 -22
- pulumi_aiven/service_integration.py +54 -58
- pulumi_aiven/static_ip.py +7 -7
- pulumi_aiven/transit_gateway_vpc_attachment.py +4 -8
- {pulumi_aiven-6.13.0a1711361534.dist-info → pulumi_aiven-6.14.0.dist-info}/METADATA +1 -1
- pulumi_aiven-6.14.0.dist-info/RECORD +150 -0
- pulumi_aiven-6.13.0a1711361534.dist-info/RECORD +0 -150
- {pulumi_aiven-6.13.0a1711361534.dist-info → pulumi_aiven-6.14.0.dist-info}/WHEEL +0 -0
- {pulumi_aiven-6.13.0a1711361534.dist-info → pulumi_aiven-6.14.0.dist-info}/top_level.txt +0 -0
pulumi_aiven/m3_db.py
CHANGED
|
@@ -33,42 +33,21 @@ class M3DbArgs:
|
|
|
33
33
|
termination_protection: Optional[pulumi.Input[bool]] = None):
|
|
34
34
|
"""
|
|
35
35
|
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[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a
|
|
43
|
-
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
|
|
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.
|
|
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 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 seem from the [Aiven pricing page](https://aiven.io/pricing).
|
|
37
|
+
: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.
|
|
38
|
+
: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.
|
|
39
|
+
:param pulumi.Input[str] additional_disk_space: Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
40
|
+
: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).
|
|
41
|
+
: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.
|
|
56
42
|
:param pulumi.Input['M3DbM3dbUserConfigArgs'] m3db_user_config: M3db user configurable settings
|
|
57
43
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
58
44
|
: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.
|
|
45
|
+
: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
46
|
: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
|
|
47
|
+
: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
48
|
: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.
|
|
49
|
+
: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.
|
|
50
|
+
: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
51
|
"""
|
|
73
52
|
pulumi.set(__self__, "plan", plan)
|
|
74
53
|
pulumi.set(__self__, "project", project)
|
|
@@ -105,12 +84,7 @@ class M3DbArgs:
|
|
|
105
84
|
@pulumi.getter
|
|
106
85
|
def plan(self) -> pulumi.Input[str]:
|
|
107
86
|
"""
|
|
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).
|
|
87
|
+
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 seem from the [Aiven pricing page](https://aiven.io/pricing).
|
|
114
88
|
"""
|
|
115
89
|
return pulumi.get(self, "plan")
|
|
116
90
|
|
|
@@ -122,8 +96,7 @@ class M3DbArgs:
|
|
|
122
96
|
@pulumi.getter
|
|
123
97
|
def project(self) -> pulumi.Input[str]:
|
|
124
98
|
"""
|
|
125
|
-
|
|
126
|
-
reference. Changing this property forces recreation of the resource.
|
|
99
|
+
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
100
|
"""
|
|
128
101
|
return pulumi.get(self, "project")
|
|
129
102
|
|
|
@@ -135,8 +108,7 @@ class M3DbArgs:
|
|
|
135
108
|
@pulumi.getter(name="serviceName")
|
|
136
109
|
def service_name(self) -> pulumi.Input[str]:
|
|
137
110
|
"""
|
|
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.
|
|
111
|
+
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
112
|
"""
|
|
141
113
|
return pulumi.get(self, "service_name")
|
|
142
114
|
|
|
@@ -148,8 +120,7 @@ class M3DbArgs:
|
|
|
148
120
|
@pulumi.getter(name="additionalDiskSpace")
|
|
149
121
|
def additional_disk_space(self) -> Optional[pulumi.Input[str]]:
|
|
150
122
|
"""
|
|
151
|
-
Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore,
|
|
152
|
-
reducing will result in the service rebalancing.
|
|
123
|
+
Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
153
124
|
"""
|
|
154
125
|
return pulumi.get(self, "additional_disk_space")
|
|
155
126
|
|
|
@@ -161,12 +132,7 @@ class M3DbArgs:
|
|
|
161
132
|
@pulumi.getter(name="cloudName")
|
|
162
133
|
def cloud_name(self) -> Optional[pulumi.Input[str]]:
|
|
163
134
|
"""
|
|
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).
|
|
135
|
+
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
136
|
"""
|
|
171
137
|
return pulumi.get(self, "cloud_name")
|
|
172
138
|
|
|
@@ -178,8 +144,7 @@ class M3DbArgs:
|
|
|
178
144
|
@pulumi.getter(name="diskSpace")
|
|
179
145
|
def disk_space(self) -> Optional[pulumi.Input[str]]:
|
|
180
146
|
"""
|
|
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.
|
|
147
|
+
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
148
|
"""
|
|
184
149
|
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
150
|
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.""")
|
|
@@ -230,10 +195,7 @@ class M3DbArgs:
|
|
|
230
195
|
@pulumi.getter(name="projectVpcId")
|
|
231
196
|
def project_vpc_id(self) -> Optional[pulumi.Input[str]]:
|
|
232
197
|
"""
|
|
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.
|
|
198
|
+
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
199
|
"""
|
|
238
200
|
return pulumi.get(self, "project_vpc_id")
|
|
239
201
|
|
|
@@ -257,8 +219,7 @@ class M3DbArgs:
|
|
|
257
219
|
@pulumi.getter(name="staticIps")
|
|
258
220
|
def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
259
221
|
"""
|
|
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
|
|
222
|
+
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
223
|
"""
|
|
263
224
|
return pulumi.get(self, "static_ips")
|
|
264
225
|
|
|
@@ -282,8 +243,7 @@ class M3DbArgs:
|
|
|
282
243
|
@pulumi.getter(name="techEmails")
|
|
283
244
|
def tech_emails(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['M3DbTechEmailArgs']]]]:
|
|
284
245
|
"""
|
|
285
|
-
|
|
286
|
-
instability.
|
|
246
|
+
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
247
|
"""
|
|
288
248
|
return pulumi.get(self, "tech_emails")
|
|
289
249
|
|
|
@@ -295,9 +255,7 @@ class M3DbArgs:
|
|
|
295
255
|
@pulumi.getter(name="terminationProtection")
|
|
296
256
|
def termination_protection(self) -> Optional[pulumi.Input[bool]]:
|
|
297
257
|
"""
|
|
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.
|
|
258
|
+
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
259
|
"""
|
|
302
260
|
return pulumi.get(self, "termination_protection")
|
|
303
261
|
|
|
@@ -318,7 +276,6 @@ class _M3DbState:
|
|
|
318
276
|
disk_space_step: Optional[pulumi.Input[str]] = None,
|
|
319
277
|
disk_space_used: Optional[pulumi.Input[str]] = None,
|
|
320
278
|
m3db_user_config: Optional[pulumi.Input['M3DbM3dbUserConfigArgs']] = None,
|
|
321
|
-
m3dbs: Optional[pulumi.Input[Sequence[pulumi.Input['M3DbM3dbArgs']]]] = None,
|
|
322
279
|
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
323
280
|
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
324
281
|
plan: Optional[pulumi.Input[str]] = None,
|
|
@@ -339,57 +296,33 @@ class _M3DbState:
|
|
|
339
296
|
termination_protection: Optional[pulumi.Input[bool]] = None):
|
|
340
297
|
"""
|
|
341
298
|
Input properties used for looking up and filtering M3Db resources.
|
|
342
|
-
:param pulumi.Input[str] additional_disk_space: Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore,
|
|
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).
|
|
299
|
+
:param pulumi.Input[str] additional_disk_space: Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
300
|
+
: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
301
|
: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.
|
|
302
|
+
: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
303
|
: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.
|
|
304
|
+
: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`
|
|
305
|
+
: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
306
|
:param pulumi.Input[str] disk_space_used: Disk space that service is currently using
|
|
359
307
|
:param pulumi.Input['M3DbM3dbUserConfigArgs'] m3db_user_config: M3db user configurable settings
|
|
360
|
-
:param pulumi.Input[Sequence[pulumi.Input['M3DbM3dbArgs']]] m3dbs: M3 specific server provided values
|
|
361
308
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
362
309
|
: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. Changing this property 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.
|
|
310
|
+
: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 seem from the [Aiven pricing page](https://aiven.io/pricing).
|
|
311
|
+
: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.
|
|
312
|
+
: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
313
|
:param pulumi.Input[str] service_host: The hostname of the service.
|
|
376
314
|
: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.
|
|
315
|
+
: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
316
|
:param pulumi.Input[str] service_password: Password used for connecting to the service, if applicable
|
|
380
317
|
:param pulumi.Input[int] service_port: The port of the service
|
|
381
318
|
:param pulumi.Input[str] service_type: Aiven internal service type code
|
|
382
319
|
:param pulumi.Input[str] service_uri: URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
383
320
|
:param pulumi.Input[str] service_username: Username used for connecting to the service, if applicable
|
|
384
321
|
: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
|
|
322
|
+
: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
323
|
: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.
|
|
324
|
+
: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.
|
|
325
|
+
: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
326
|
"""
|
|
394
327
|
if additional_disk_space is not None:
|
|
395
328
|
pulumi.set(__self__, "additional_disk_space", additional_disk_space)
|
|
@@ -412,8 +345,6 @@ class _M3DbState:
|
|
|
412
345
|
pulumi.set(__self__, "disk_space_used", disk_space_used)
|
|
413
346
|
if m3db_user_config is not None:
|
|
414
347
|
pulumi.set(__self__, "m3db_user_config", m3db_user_config)
|
|
415
|
-
if m3dbs is not None:
|
|
416
|
-
pulumi.set(__self__, "m3dbs", m3dbs)
|
|
417
348
|
if maintenance_window_dow is not None:
|
|
418
349
|
pulumi.set(__self__, "maintenance_window_dow", maintenance_window_dow)
|
|
419
350
|
if maintenance_window_time is not None:
|
|
@@ -455,8 +386,7 @@ class _M3DbState:
|
|
|
455
386
|
@pulumi.getter(name="additionalDiskSpace")
|
|
456
387
|
def additional_disk_space(self) -> Optional[pulumi.Input[str]]:
|
|
457
388
|
"""
|
|
458
|
-
Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore,
|
|
459
|
-
reducing will result in the service rebalancing.
|
|
389
|
+
Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
460
390
|
"""
|
|
461
391
|
return pulumi.get(self, "additional_disk_space")
|
|
462
392
|
|
|
@@ -468,12 +398,7 @@ class _M3DbState:
|
|
|
468
398
|
@pulumi.getter(name="cloudName")
|
|
469
399
|
def cloud_name(self) -> Optional[pulumi.Input[str]]:
|
|
470
400
|
"""
|
|
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).
|
|
401
|
+
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
402
|
"""
|
|
478
403
|
return pulumi.get(self, "cloud_name")
|
|
479
404
|
|
|
@@ -497,8 +422,7 @@ class _M3DbState:
|
|
|
497
422
|
@pulumi.getter(name="diskSpace")
|
|
498
423
|
def disk_space(self) -> Optional[pulumi.Input[str]]:
|
|
499
424
|
"""
|
|
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.
|
|
425
|
+
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
426
|
"""
|
|
503
427
|
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
428
|
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.""")
|
|
@@ -525,8 +449,7 @@ class _M3DbState:
|
|
|
525
449
|
@pulumi.getter(name="diskSpaceDefault")
|
|
526
450
|
def disk_space_default(self) -> Optional[pulumi.Input[str]]:
|
|
527
451
|
"""
|
|
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`
|
|
452
|
+
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
453
|
"""
|
|
531
454
|
return pulumi.get(self, "disk_space_default")
|
|
532
455
|
|
|
@@ -538,8 +461,7 @@ class _M3DbState:
|
|
|
538
461
|
@pulumi.getter(name="diskSpaceStep")
|
|
539
462
|
def disk_space_step(self) -> Optional[pulumi.Input[str]]:
|
|
540
463
|
"""
|
|
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.
|
|
464
|
+
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
465
|
"""
|
|
544
466
|
return pulumi.get(self, "disk_space_step")
|
|
545
467
|
|
|
@@ -571,18 +493,6 @@ class _M3DbState:
|
|
|
571
493
|
def m3db_user_config(self, value: Optional[pulumi.Input['M3DbM3dbUserConfigArgs']]):
|
|
572
494
|
pulumi.set(self, "m3db_user_config", value)
|
|
573
495
|
|
|
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
496
|
@property
|
|
587
497
|
@pulumi.getter(name="maintenanceWindowDow")
|
|
588
498
|
def maintenance_window_dow(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -611,12 +521,7 @@ class _M3DbState:
|
|
|
611
521
|
@pulumi.getter
|
|
612
522
|
def plan(self) -> Optional[pulumi.Input[str]]:
|
|
613
523
|
"""
|
|
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).
|
|
524
|
+
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 seem from the [Aiven pricing page](https://aiven.io/pricing).
|
|
620
525
|
"""
|
|
621
526
|
return pulumi.get(self, "plan")
|
|
622
527
|
|
|
@@ -628,8 +533,7 @@ class _M3DbState:
|
|
|
628
533
|
@pulumi.getter
|
|
629
534
|
def project(self) -> Optional[pulumi.Input[str]]:
|
|
630
535
|
"""
|
|
631
|
-
|
|
632
|
-
reference. Changing this property forces recreation of the resource.
|
|
536
|
+
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
537
|
"""
|
|
634
538
|
return pulumi.get(self, "project")
|
|
635
539
|
|
|
@@ -641,10 +545,7 @@ class _M3DbState:
|
|
|
641
545
|
@pulumi.getter(name="projectVpcId")
|
|
642
546
|
def project_vpc_id(self) -> Optional[pulumi.Input[str]]:
|
|
643
547
|
"""
|
|
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.
|
|
548
|
+
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
549
|
"""
|
|
649
550
|
return pulumi.get(self, "project_vpc_id")
|
|
650
551
|
|
|
@@ -680,8 +581,7 @@ class _M3DbState:
|
|
|
680
581
|
@pulumi.getter(name="serviceName")
|
|
681
582
|
def service_name(self) -> Optional[pulumi.Input[str]]:
|
|
682
583
|
"""
|
|
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.
|
|
584
|
+
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
585
|
"""
|
|
686
586
|
return pulumi.get(self, "service_name")
|
|
687
587
|
|
|
@@ -765,8 +665,7 @@ class _M3DbState:
|
|
|
765
665
|
@pulumi.getter(name="staticIps")
|
|
766
666
|
def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
767
667
|
"""
|
|
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
|
|
668
|
+
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
669
|
"""
|
|
771
670
|
return pulumi.get(self, "static_ips")
|
|
772
671
|
|
|
@@ -790,8 +689,7 @@ class _M3DbState:
|
|
|
790
689
|
@pulumi.getter(name="techEmails")
|
|
791
690
|
def tech_emails(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['M3DbTechEmailArgs']]]]:
|
|
792
691
|
"""
|
|
793
|
-
|
|
794
|
-
instability.
|
|
692
|
+
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
693
|
"""
|
|
796
694
|
return pulumi.get(self, "tech_emails")
|
|
797
695
|
|
|
@@ -803,9 +701,7 @@ class _M3DbState:
|
|
|
803
701
|
@pulumi.getter(name="terminationProtection")
|
|
804
702
|
def termination_protection(self) -> Optional[pulumi.Input[bool]]:
|
|
805
703
|
"""
|
|
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.
|
|
704
|
+
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
705
|
"""
|
|
810
706
|
return pulumi.get(self, "termination_protection")
|
|
811
707
|
|
|
@@ -840,13 +736,12 @@ class M3Db(pulumi.CustomResource):
|
|
|
840
736
|
|
|
841
737
|
## Example Usage
|
|
842
738
|
|
|
843
|
-
<!--Start PulumiCodeChooser -->
|
|
844
739
|
```python
|
|
845
740
|
import pulumi
|
|
846
741
|
import pulumi_aiven as aiven
|
|
847
742
|
|
|
848
743
|
m3 = aiven.M3Db("m3",
|
|
849
|
-
project=
|
|
744
|
+
project=foo["project"],
|
|
850
745
|
cloud_name="google-europe-west1",
|
|
851
746
|
plan="business-8",
|
|
852
747
|
service_name="my-m3db",
|
|
@@ -860,7 +755,6 @@ class M3Db(pulumi.CustomResource):
|
|
|
860
755
|
)],
|
|
861
756
|
))
|
|
862
757
|
```
|
|
863
|
-
<!--End PulumiCodeChooser -->
|
|
864
758
|
|
|
865
759
|
## Import
|
|
866
760
|
|
|
@@ -870,42 +764,21 @@ class M3Db(pulumi.CustomResource):
|
|
|
870
764
|
|
|
871
765
|
:param str resource_name: The name of the resource.
|
|
872
766
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
873
|
-
:param pulumi.Input[str] additional_disk_space: Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore,
|
|
874
|
-
|
|
875
|
-
:param pulumi.Input[str]
|
|
876
|
-
created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud
|
|
877
|
-
provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These
|
|
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.
|
|
767
|
+
:param pulumi.Input[str] additional_disk_space: Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
768
|
+
: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).
|
|
769
|
+
: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.
|
|
883
770
|
:param pulumi.Input[pulumi.InputType['M3DbM3dbUserConfigArgs']] m3db_user_config: M3db user configurable settings
|
|
884
771
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
885
772
|
: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
|
-
`hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also
|
|
890
|
-
other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available
|
|
891
|
-
options can be seem from the [Aiven pricing page](https://aiven.io/pricing).
|
|
892
|
-
:param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a
|
|
893
|
-
reference. Changing this property forces recreation of the resource.
|
|
894
|
-
: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
|
|
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.
|
|
773
|
+
: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 seem from the [Aiven pricing page](https://aiven.io/pricing).
|
|
774
|
+
: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.
|
|
775
|
+
: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.
|
|
898
776
|
: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
|
-
|
|
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
|
|
777
|
+
: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.
|
|
778
|
+
: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
|
|
903
779
|
: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:
|
|
905
|
-
|
|
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.
|
|
780
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['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.
|
|
781
|
+
: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
782
|
"""
|
|
910
783
|
...
|
|
911
784
|
@overload
|
|
@@ -918,13 +791,12 @@ class M3Db(pulumi.CustomResource):
|
|
|
918
791
|
|
|
919
792
|
## Example Usage
|
|
920
793
|
|
|
921
|
-
<!--Start PulumiCodeChooser -->
|
|
922
794
|
```python
|
|
923
795
|
import pulumi
|
|
924
796
|
import pulumi_aiven as aiven
|
|
925
797
|
|
|
926
798
|
m3 = aiven.M3Db("m3",
|
|
927
|
-
project=
|
|
799
|
+
project=foo["project"],
|
|
928
800
|
cloud_name="google-europe-west1",
|
|
929
801
|
plan="business-8",
|
|
930
802
|
service_name="my-m3db",
|
|
@@ -938,7 +810,6 @@ class M3Db(pulumi.CustomResource):
|
|
|
938
810
|
)],
|
|
939
811
|
))
|
|
940
812
|
```
|
|
941
|
-
<!--End PulumiCodeChooser -->
|
|
942
813
|
|
|
943
814
|
## Import
|
|
944
815
|
|
|
@@ -1011,7 +882,6 @@ class M3Db(pulumi.CustomResource):
|
|
|
1011
882
|
__props__.__dict__["disk_space_default"] = None
|
|
1012
883
|
__props__.__dict__["disk_space_step"] = None
|
|
1013
884
|
__props__.__dict__["disk_space_used"] = None
|
|
1014
|
-
__props__.__dict__["m3dbs"] = None
|
|
1015
885
|
__props__.__dict__["service_host"] = None
|
|
1016
886
|
__props__.__dict__["service_password"] = None
|
|
1017
887
|
__props__.__dict__["service_port"] = None
|
|
@@ -1040,7 +910,6 @@ class M3Db(pulumi.CustomResource):
|
|
|
1040
910
|
disk_space_step: Optional[pulumi.Input[str]] = None,
|
|
1041
911
|
disk_space_used: Optional[pulumi.Input[str]] = None,
|
|
1042
912
|
m3db_user_config: Optional[pulumi.Input[pulumi.InputType['M3DbM3dbUserConfigArgs']]] = None,
|
|
1043
|
-
m3dbs: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['M3DbM3dbArgs']]]]] = None,
|
|
1044
913
|
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
1045
914
|
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
1046
915
|
plan: Optional[pulumi.Input[str]] = None,
|
|
@@ -1066,57 +935,33 @@ class M3Db(pulumi.CustomResource):
|
|
|
1066
935
|
:param str resource_name: The unique name of the resulting resource.
|
|
1067
936
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
1068
937
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
1069
|
-
:param pulumi.Input[str] additional_disk_space: Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore,
|
|
1070
|
-
|
|
1071
|
-
: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
|
|
1072
|
-
created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud
|
|
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).
|
|
938
|
+
:param pulumi.Input[str] additional_disk_space: Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
939
|
+
: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).
|
|
1077
940
|
: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.
|
|
941
|
+
: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
942
|
: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.
|
|
943
|
+
: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`
|
|
944
|
+
: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
945
|
:param pulumi.Input[str] disk_space_used: Disk space that service is currently using
|
|
1086
946
|
:param pulumi.Input[pulumi.InputType['M3DbM3dbUserConfigArgs']] m3db_user_config: M3db user configurable settings
|
|
1087
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['M3DbM3dbArgs']]]] m3dbs: M3 specific server provided values
|
|
1088
947
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
1089
948
|
: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. Changing this property 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.
|
|
949
|
+
: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 seem from the [Aiven pricing page](https://aiven.io/pricing).
|
|
950
|
+
: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.
|
|
951
|
+
: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
952
|
:param pulumi.Input[str] service_host: The hostname of the service.
|
|
1103
953
|
: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
|
|
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.
|
|
954
|
+
: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
955
|
:param pulumi.Input[str] service_password: Password used for connecting to the service, if applicable
|
|
1107
956
|
:param pulumi.Input[int] service_port: The port of the service
|
|
1108
957
|
:param pulumi.Input[str] service_type: Aiven internal service type code
|
|
1109
958
|
:param pulumi.Input[str] service_uri: URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
1110
959
|
:param pulumi.Input[str] service_username: Username used for connecting to the service, if applicable
|
|
1111
960
|
: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
|
-
static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
961
|
+
: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
|
|
1114
962
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['M3DbTagArgs']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
1115
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['M3DbTechEmailArgs']]]] tech_emails:
|
|
1116
|
-
|
|
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.
|
|
963
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['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.
|
|
964
|
+
: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
965
|
"""
|
|
1121
966
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
1122
967
|
|
|
@@ -1131,7 +976,6 @@ class M3Db(pulumi.CustomResource):
|
|
|
1131
976
|
__props__.__dict__["disk_space_step"] = disk_space_step
|
|
1132
977
|
__props__.__dict__["disk_space_used"] = disk_space_used
|
|
1133
978
|
__props__.__dict__["m3db_user_config"] = m3db_user_config
|
|
1134
|
-
__props__.__dict__["m3dbs"] = m3dbs
|
|
1135
979
|
__props__.__dict__["maintenance_window_dow"] = maintenance_window_dow
|
|
1136
980
|
__props__.__dict__["maintenance_window_time"] = maintenance_window_time
|
|
1137
981
|
__props__.__dict__["plan"] = plan
|
|
@@ -1156,8 +1000,7 @@ class M3Db(pulumi.CustomResource):
|
|
|
1156
1000
|
@pulumi.getter(name="additionalDiskSpace")
|
|
1157
1001
|
def additional_disk_space(self) -> pulumi.Output[Optional[str]]:
|
|
1158
1002
|
"""
|
|
1159
|
-
Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore,
|
|
1160
|
-
reducing will result in the service rebalancing.
|
|
1003
|
+
Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
1161
1004
|
"""
|
|
1162
1005
|
return pulumi.get(self, "additional_disk_space")
|
|
1163
1006
|
|
|
@@ -1165,12 +1008,7 @@ class M3Db(pulumi.CustomResource):
|
|
|
1165
1008
|
@pulumi.getter(name="cloudName")
|
|
1166
1009
|
def cloud_name(self) -> pulumi.Output[Optional[str]]:
|
|
1167
1010
|
"""
|
|
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).
|
|
1011
|
+
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
1012
|
"""
|
|
1175
1013
|
return pulumi.get(self, "cloud_name")
|
|
1176
1014
|
|
|
@@ -1186,8 +1024,7 @@ class M3Db(pulumi.CustomResource):
|
|
|
1186
1024
|
@pulumi.getter(name="diskSpace")
|
|
1187
1025
|
def disk_space(self) -> pulumi.Output[Optional[str]]:
|
|
1188
1026
|
"""
|
|
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.
|
|
1027
|
+
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
1028
|
"""
|
|
1192
1029
|
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
1030
|
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.""")
|
|
@@ -1206,8 +1043,7 @@ class M3Db(pulumi.CustomResource):
|
|
|
1206
1043
|
@pulumi.getter(name="diskSpaceDefault")
|
|
1207
1044
|
def disk_space_default(self) -> pulumi.Output[str]:
|
|
1208
1045
|
"""
|
|
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`
|
|
1046
|
+
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
1047
|
"""
|
|
1212
1048
|
return pulumi.get(self, "disk_space_default")
|
|
1213
1049
|
|
|
@@ -1215,8 +1051,7 @@ class M3Db(pulumi.CustomResource):
|
|
|
1215
1051
|
@pulumi.getter(name="diskSpaceStep")
|
|
1216
1052
|
def disk_space_step(self) -> pulumi.Output[str]:
|
|
1217
1053
|
"""
|
|
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.
|
|
1054
|
+
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
1055
|
"""
|
|
1221
1056
|
return pulumi.get(self, "disk_space_step")
|
|
1222
1057
|
|
|
@@ -1236,14 +1071,6 @@ class M3Db(pulumi.CustomResource):
|
|
|
1236
1071
|
"""
|
|
1237
1072
|
return pulumi.get(self, "m3db_user_config")
|
|
1238
1073
|
|
|
1239
|
-
@property
|
|
1240
|
-
@pulumi.getter
|
|
1241
|
-
def m3dbs(self) -> pulumi.Output[Sequence['outputs.M3DbM3db']]:
|
|
1242
|
-
"""
|
|
1243
|
-
M3 specific server provided values
|
|
1244
|
-
"""
|
|
1245
|
-
return pulumi.get(self, "m3dbs")
|
|
1246
|
-
|
|
1247
1074
|
@property
|
|
1248
1075
|
@pulumi.getter(name="maintenanceWindowDow")
|
|
1249
1076
|
def maintenance_window_dow(self) -> pulumi.Output[Optional[str]]:
|
|
@@ -1264,12 +1091,7 @@ class M3Db(pulumi.CustomResource):
|
|
|
1264
1091
|
@pulumi.getter
|
|
1265
1092
|
def plan(self) -> pulumi.Output[str]:
|
|
1266
1093
|
"""
|
|
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).
|
|
1094
|
+
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 seem from the [Aiven pricing page](https://aiven.io/pricing).
|
|
1273
1095
|
"""
|
|
1274
1096
|
return pulumi.get(self, "plan")
|
|
1275
1097
|
|
|
@@ -1277,8 +1099,7 @@ class M3Db(pulumi.CustomResource):
|
|
|
1277
1099
|
@pulumi.getter
|
|
1278
1100
|
def project(self) -> pulumi.Output[str]:
|
|
1279
1101
|
"""
|
|
1280
|
-
|
|
1281
|
-
reference. Changing this property forces recreation of the resource.
|
|
1102
|
+
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
1103
|
"""
|
|
1283
1104
|
return pulumi.get(self, "project")
|
|
1284
1105
|
|
|
@@ -1286,10 +1107,7 @@ class M3Db(pulumi.CustomResource):
|
|
|
1286
1107
|
@pulumi.getter(name="projectVpcId")
|
|
1287
1108
|
def project_vpc_id(self) -> pulumi.Output[Optional[str]]:
|
|
1288
1109
|
"""
|
|
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.
|
|
1110
|
+
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
1111
|
"""
|
|
1294
1112
|
return pulumi.get(self, "project_vpc_id")
|
|
1295
1113
|
|
|
@@ -1313,8 +1131,7 @@ class M3Db(pulumi.CustomResource):
|
|
|
1313
1131
|
@pulumi.getter(name="serviceName")
|
|
1314
1132
|
def service_name(self) -> pulumi.Output[str]:
|
|
1315
1133
|
"""
|
|
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.
|
|
1134
|
+
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
1135
|
"""
|
|
1319
1136
|
return pulumi.get(self, "service_name")
|
|
1320
1137
|
|
|
@@ -1370,8 +1187,7 @@ class M3Db(pulumi.CustomResource):
|
|
|
1370
1187
|
@pulumi.getter(name="staticIps")
|
|
1371
1188
|
def static_ips(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
1372
1189
|
"""
|
|
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
|
|
1190
|
+
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
1191
|
"""
|
|
1376
1192
|
return pulumi.get(self, "static_ips")
|
|
1377
1193
|
|
|
@@ -1387,8 +1203,7 @@ class M3Db(pulumi.CustomResource):
|
|
|
1387
1203
|
@pulumi.getter(name="techEmails")
|
|
1388
1204
|
def tech_emails(self) -> pulumi.Output[Optional[Sequence['outputs.M3DbTechEmail']]]:
|
|
1389
1205
|
"""
|
|
1390
|
-
|
|
1391
|
-
instability.
|
|
1206
|
+
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
1207
|
"""
|
|
1393
1208
|
return pulumi.get(self, "tech_emails")
|
|
1394
1209
|
|
|
@@ -1396,9 +1211,7 @@ class M3Db(pulumi.CustomResource):
|
|
|
1396
1211
|
@pulumi.getter(name="terminationProtection")
|
|
1397
1212
|
def termination_protection(self) -> pulumi.Output[Optional[bool]]:
|
|
1398
1213
|
"""
|
|
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.
|
|
1214
|
+
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
1215
|
"""
|
|
1403
1216
|
return pulumi.get(self, "termination_protection")
|
|
1404
1217
|
|