pulumi-aiven 6.13.0a1711027602__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/__init__.py +28 -0
- pulumi_aiven/_inputs.py +2623 -1138
- pulumi_aiven/account.py +8 -8
- pulumi_aiven/account_authentication.py +8 -4
- pulumi_aiven/account_team.py +6 -6
- pulumi_aiven/account_team_member.py +27 -31
- pulumi_aiven/account_team_project.py +12 -12
- pulumi_aiven/aws_privatelink.py +39 -43
- pulumi_aiven/aws_vpc_peering_connection.py +62 -56
- pulumi_aiven/azure_privatelink.py +49 -53
- pulumi_aiven/azure_privatelink_connection_approval.py +131 -33
- pulumi_aiven/azure_vpc_peering_connection.py +76 -72
- pulumi_aiven/billing_group.py +18 -18
- pulumi_aiven/cassandra.py +25 -57
- pulumi_aiven/cassandra_user.py +25 -29
- pulumi_aiven/clickhouse.py +25 -57
- pulumi_aiven/clickhouse_database.py +31 -33
- pulumi_aiven/clickhouse_grant.py +56 -58
- pulumi_aiven/clickhouse_role.py +23 -27
- pulumi_aiven/clickhouse_user.py +25 -29
- pulumi_aiven/connection_pool.py +38 -42
- pulumi_aiven/dragonfly.py +1205 -0
- pulumi_aiven/flink.py +32 -36
- pulumi_aiven/flink_application.py +22 -24
- pulumi_aiven/flink_application_deployment.py +28 -28
- pulumi_aiven/flink_application_version.py +96 -14
- pulumi_aiven/gcp_privatelink.py +40 -40
- pulumi_aiven/gcp_privatelink_connection_approval.py +47 -47
- pulumi_aiven/gcp_vpc_peering_connection.py +39 -43
- pulumi_aiven/get_account.py +0 -4
- pulumi_aiven/get_account_team_member.py +9 -9
- pulumi_aiven/get_aws_privatelink.py +15 -19
- pulumi_aiven/get_aws_vpc_peering_connection.py +33 -27
- pulumi_aiven/get_azure_privatelink.py +17 -21
- pulumi_aiven/get_azure_vpc_peering_connection.py +50 -22
- 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 +13 -17
- pulumi_aiven/get_clickhouse.py +7 -24
- pulumi_aiven/get_clickhouse_database.py +13 -17
- pulumi_aiven/get_clickhouse_user.py +13 -17
- pulumi_aiven/get_connection_pool.py +14 -18
- pulumi_aiven/get_dragonfly.py +450 -0
- 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 +18 -22
- pulumi_aiven/get_grafana.py +7 -24
- pulumi_aiven/get_kafka.py +13 -17
- pulumi_aiven/get_kafka_acl.py +19 -23
- pulumi_aiven/get_kafka_connect.py +7 -24
- pulumi_aiven/get_kafka_connector.py +13 -17
- pulumi_aiven/get_kafka_mirror_maker.py +7 -24
- pulumi_aiven/get_kafka_schema.py +13 -17
- pulumi_aiven/get_kafka_schema_configuration.py +11 -15
- pulumi_aiven/get_kafka_schema_registry_acl.py +15 -15
- pulumi_aiven/get_kafka_topic.py +19 -23
- pulumi_aiven/get_kafka_user.py +13 -17
- pulumi_aiven/get_m3_aggregator.py +7 -24
- pulumi_aiven/get_m3_db.py +7 -24
- pulumi_aiven/get_m3db_user.py +13 -17
- pulumi_aiven/get_mirror_maker_replication_flow.py +14 -18
- pulumi_aiven/get_my_sql.py +7 -24
- pulumi_aiven/get_mysql_database.py +13 -17
- pulumi_aiven/get_mysql_user.py +13 -17
- 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 +16 -20
- pulumi_aiven/get_opensearch_security_plugin_config.py +10 -14
- pulumi_aiven/get_opensearch_user.py +13 -17
- pulumi_aiven/get_organization.py +8 -12
- pulumi_aiven/get_organization_user_group.py +29 -9
- pulumi_aiven/get_organizational_unit.py +9 -9
- pulumi_aiven/get_pg.py +6 -10
- pulumi_aiven/get_pg_database.py +15 -19
- pulumi_aiven/get_pg_user.py +13 -17
- pulumi_aiven/get_project.py +17 -21
- pulumi_aiven/get_project_user.py +9 -13
- pulumi_aiven/get_project_vpc.py +11 -17
- pulumi_aiven/get_redis.py +7 -24
- pulumi_aiven/get_redis_user.py +17 -21
- pulumi_aiven/get_service_component.py +4 -8
- pulumi_aiven/get_service_integration.py +75 -37
- pulumi_aiven/get_service_integration_endpoint.py +3 -7
- pulumi_aiven/get_transit_gateway_vpc_attachment.py +11 -15
- pulumi_aiven/grafana.py +82 -267
- pulumi_aiven/influx_db.py +28 -28
- pulumi_aiven/influxdb_database.py +35 -35
- pulumi_aiven/influxdb_user.py +42 -42
- pulumi_aiven/kafka.py +50 -54
- pulumi_aiven/kafka_acl.py +41 -45
- pulumi_aiven/kafka_connect.py +80 -267
- pulumi_aiven/kafka_connector.py +33 -37
- pulumi_aiven/kafka_mirror_maker.py +80 -267
- pulumi_aiven/kafka_schema.py +51 -51
- pulumi_aiven/kafka_schema_configuration.py +20 -24
- pulumi_aiven/kafka_schema_registry_acl.py +75 -35
- pulumi_aiven/kafka_topic.py +91 -53
- pulumi_aiven/kafka_user.py +25 -29
- pulumi_aiven/m3_aggregator.py +80 -267
- pulumi_aiven/m3_db.py +80 -267
- pulumi_aiven/m3db_user.py +23 -27
- pulumi_aiven/mirror_maker_replication_flow.py +58 -60
- pulumi_aiven/my_sql.py +80 -267
- pulumi_aiven/mysql_database.py +27 -31
- pulumi_aiven/mysql_user.py +25 -29
- pulumi_aiven/open_search.py +27 -31
- pulumi_aiven/open_search_acl_config.py +28 -36
- pulumi_aiven/open_search_acl_rule.py +50 -54
- pulumi_aiven/opensearch_security_plugin_config.py +64 -16
- pulumi_aiven/opensearch_user.py +25 -29
- pulumi_aiven/organization.py +10 -14
- pulumi_aiven/organization_group_project.py +336 -0
- pulumi_aiven/organization_user.py +16 -34
- pulumi_aiven/organization_user_group.py +59 -23
- pulumi_aiven/organization_user_group_member.py +350 -0
- pulumi_aiven/organizational_unit.py +36 -36
- pulumi_aiven/outputs.py +3539 -1136
- pulumi_aiven/pg.py +30 -30
- pulumi_aiven/pg_database.py +41 -45
- pulumi_aiven/pg_user.py +25 -29
- pulumi_aiven/project.py +91 -69
- pulumi_aiven/project_user.py +24 -28
- pulumi_aiven/project_vpc.py +49 -25
- pulumi_aiven/redis.py +80 -267
- pulumi_aiven/redis_user.py +53 -57
- pulumi_aiven/service_integration.py +249 -65
- pulumi_aiven/service_integration_endpoint.py +7 -7
- pulumi_aiven/static_ip.py +14 -14
- pulumi_aiven/transit_gateway_vpc_attachment.py +25 -29
- {pulumi_aiven-6.13.0a1711027602.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.0a1711027602.dist-info/RECORD +0 -146
- {pulumi_aiven-6.13.0a1711027602.dist-info → pulumi_aiven-6.14.0.dist-info}/WHEEL +0 -0
- {pulumi_aiven-6.13.0a1711027602.dist-info → pulumi_aiven-6.14.0.dist-info}/top_level.txt +0 -0
pulumi_aiven/my_sql.py
CHANGED
|
@@ -33,42 +33,21 @@ class MySqlArgs:
|
|
|
33
33
|
termination_protection: Optional[pulumi.Input[bool]] = None):
|
|
34
34
|
"""
|
|
35
35
|
The set of arguments for constructing a MySql 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. This property cannot be changed, doing so 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[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
57
43
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
58
44
|
:param pulumi.Input['MySqlMysqlUserConfigArgs'] mysql_user_config: Mysql user configurable settings
|
|
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['MySqlServiceIntegrationArgs']]] 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['MySqlTagArgs']]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
67
|
-
:param pulumi.Input[Sequence[pulumi.Input['MySqlTechEmailArgs']]] 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['MySqlTechEmailArgs']]] 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 MySqlArgs:
|
|
|
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 MySqlArgs:
|
|
|
122
96
|
@pulumi.getter
|
|
123
97
|
def project(self) -> pulumi.Input[str]:
|
|
124
98
|
"""
|
|
125
|
-
|
|
126
|
-
reference. This property cannot be changed, doing so 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 MySqlArgs:
|
|
|
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 MySqlArgs:
|
|
|
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 MySqlArgs:
|
|
|
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 MySqlArgs:
|
|
|
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 MySqlArgs:
|
|
|
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 MySqlArgs:
|
|
|
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 MySqlArgs:
|
|
|
282
243
|
@pulumi.getter(name="techEmails")
|
|
283
244
|
def tech_emails(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['MySqlTechEmailArgs']]]]:
|
|
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 MySqlArgs:
|
|
|
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
|
|
|
@@ -320,7 +278,6 @@ class _MySqlState:
|
|
|
320
278
|
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
321
279
|
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
322
280
|
mysql_user_config: Optional[pulumi.Input['MySqlMysqlUserConfigArgs']] = None,
|
|
323
|
-
mysqls: Optional[pulumi.Input[Sequence[pulumi.Input['MySqlMysqlArgs']]]] = None,
|
|
324
281
|
plan: Optional[pulumi.Input[str]] = None,
|
|
325
282
|
project: Optional[pulumi.Input[str]] = None,
|
|
326
283
|
project_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
@@ -339,57 +296,33 @@ class _MySqlState:
|
|
|
339
296
|
termination_protection: Optional[pulumi.Input[bool]] = None):
|
|
340
297
|
"""
|
|
341
298
|
Input properties used for looking up and filtering MySql 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['MySqlComponentArgs']]] 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[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
360
308
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
361
309
|
:param pulumi.Input['MySqlMysqlUserConfigArgs'] mysql_user_config: Mysql user configurable settings
|
|
362
|
-
:param pulumi.Input[
|
|
363
|
-
:param pulumi.Input[str]
|
|
364
|
-
|
|
365
|
-
store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
|
|
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.
|
|
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['MySqlServiceIntegrationArgs']]] 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['MySqlTagArgs']]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
388
|
-
:param pulumi.Input[Sequence[pulumi.Input['MySqlTechEmailArgs']]] 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['MySqlTechEmailArgs']]] 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)
|
|
@@ -416,8 +349,6 @@ class _MySqlState:
|
|
|
416
349
|
pulumi.set(__self__, "maintenance_window_time", maintenance_window_time)
|
|
417
350
|
if mysql_user_config is not None:
|
|
418
351
|
pulumi.set(__self__, "mysql_user_config", mysql_user_config)
|
|
419
|
-
if mysqls is not None:
|
|
420
|
-
pulumi.set(__self__, "mysqls", mysqls)
|
|
421
352
|
if plan is not None:
|
|
422
353
|
pulumi.set(__self__, "plan", plan)
|
|
423
354
|
if project is not None:
|
|
@@ -455,8 +386,7 @@ class _MySqlState:
|
|
|
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 _MySqlState:
|
|
|
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 _MySqlState:
|
|
|
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 _MySqlState:
|
|
|
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 _MySqlState:
|
|
|
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
|
|
|
@@ -595,28 +517,11 @@ class _MySqlState:
|
|
|
595
517
|
def mysql_user_config(self, value: Optional[pulumi.Input['MySqlMysqlUserConfigArgs']]):
|
|
596
518
|
pulumi.set(self, "mysql_user_config", value)
|
|
597
519
|
|
|
598
|
-
@property
|
|
599
|
-
@pulumi.getter
|
|
600
|
-
def mysqls(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['MySqlMysqlArgs']]]]:
|
|
601
|
-
"""
|
|
602
|
-
MySQL specific server provided values
|
|
603
|
-
"""
|
|
604
|
-
return pulumi.get(self, "mysqls")
|
|
605
|
-
|
|
606
|
-
@mysqls.setter
|
|
607
|
-
def mysqls(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['MySqlMysqlArgs']]]]):
|
|
608
|
-
pulumi.set(self, "mysqls", value)
|
|
609
|
-
|
|
610
520
|
@property
|
|
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 _MySqlState:
|
|
|
628
533
|
@pulumi.getter
|
|
629
534
|
def project(self) -> Optional[pulumi.Input[str]]:
|
|
630
535
|
"""
|
|
631
|
-
|
|
632
|
-
reference. This property cannot be changed, doing so 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 _MySqlState:
|
|
|
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 _MySqlState:
|
|
|
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 _MySqlState:
|
|
|
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 _MySqlState:
|
|
|
790
689
|
@pulumi.getter(name="techEmails")
|
|
791
690
|
def tech_emails(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['MySqlTechEmailArgs']]]]:
|
|
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 _MySqlState:
|
|
|
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 MySql(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
|
mysql1 = aiven.MySql("mysql1",
|
|
849
|
-
project=
|
|
744
|
+
project=foo["project"],
|
|
850
745
|
cloud_name="google-europe-west1",
|
|
851
746
|
plan="business-4",
|
|
852
747
|
service_name="my-mysql1",
|
|
@@ -863,7 +758,6 @@ class MySql(pulumi.CustomResource):
|
|
|
863
758
|
),
|
|
864
759
|
))
|
|
865
760
|
```
|
|
866
|
-
<!--End PulumiCodeChooser -->
|
|
867
761
|
|
|
868
762
|
## Import
|
|
869
763
|
|
|
@@ -873,42 +767,21 @@ class MySql(pulumi.CustomResource):
|
|
|
873
767
|
|
|
874
768
|
:param str resource_name: The name of the resource.
|
|
875
769
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
876
|
-
:param pulumi.Input[str] additional_disk_space: Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore,
|
|
877
|
-
|
|
878
|
-
:param pulumi.Input[str]
|
|
879
|
-
created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud
|
|
880
|
-
provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These
|
|
881
|
-
are documented on each Cloud provider's own support articles, like [here for
|
|
882
|
-
Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for
|
|
883
|
-
AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
884
|
-
:param pulumi.Input[str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing
|
|
885
|
-
will result in the service rebalancing.
|
|
770
|
+
: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.
|
|
771
|
+
: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).
|
|
772
|
+
: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.
|
|
886
773
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
887
774
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
888
775
|
:param pulumi.Input[pulumi.InputType['MySqlMysqlUserConfigArgs']] mysql_user_config: Mysql user configurable settings
|
|
889
|
-
:param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
`hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also
|
|
893
|
-
other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available
|
|
894
|
-
options can be seem from the [Aiven pricing page](https://aiven.io/pricing).
|
|
895
|
-
:param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a
|
|
896
|
-
reference. This property cannot be changed, doing so forces recreation of the resource.
|
|
897
|
-
: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
|
|
898
|
-
value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region
|
|
899
|
-
as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new
|
|
900
|
-
servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
776
|
+
: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).
|
|
777
|
+
: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.
|
|
778
|
+
: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.
|
|
901
779
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['MySqlServiceIntegrationArgs']]]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
902
|
-
: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
|
|
903
|
-
|
|
904
|
-
: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
|
|
905
|
-
static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
780
|
+
: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.
|
|
781
|
+
: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
|
|
906
782
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['MySqlTagArgs']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
907
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['MySqlTechEmailArgs']]]] tech_emails:
|
|
908
|
-
|
|
909
|
-
: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
|
|
910
|
-
unintentional service deletion. This does not shield against deleting databases or topics but for services with backups
|
|
911
|
-
much of the content can at least be restored from backup in case accidental deletion is done.
|
|
783
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['MySqlTechEmailArgs']]]] 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.
|
|
784
|
+
: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.
|
|
912
785
|
"""
|
|
913
786
|
...
|
|
914
787
|
@overload
|
|
@@ -921,13 +794,12 @@ class MySql(pulumi.CustomResource):
|
|
|
921
794
|
|
|
922
795
|
## Example Usage
|
|
923
796
|
|
|
924
|
-
<!--Start PulumiCodeChooser -->
|
|
925
797
|
```python
|
|
926
798
|
import pulumi
|
|
927
799
|
import pulumi_aiven as aiven
|
|
928
800
|
|
|
929
801
|
mysql1 = aiven.MySql("mysql1",
|
|
930
|
-
project=
|
|
802
|
+
project=foo["project"],
|
|
931
803
|
cloud_name="google-europe-west1",
|
|
932
804
|
plan="business-4",
|
|
933
805
|
service_name="my-mysql1",
|
|
@@ -944,7 +816,6 @@ class MySql(pulumi.CustomResource):
|
|
|
944
816
|
),
|
|
945
817
|
))
|
|
946
818
|
```
|
|
947
|
-
<!--End PulumiCodeChooser -->
|
|
948
819
|
|
|
949
820
|
## Import
|
|
950
821
|
|
|
@@ -1017,7 +888,6 @@ class MySql(pulumi.CustomResource):
|
|
|
1017
888
|
__props__.__dict__["disk_space_default"] = None
|
|
1018
889
|
__props__.__dict__["disk_space_step"] = None
|
|
1019
890
|
__props__.__dict__["disk_space_used"] = None
|
|
1020
|
-
__props__.__dict__["mysqls"] = None
|
|
1021
891
|
__props__.__dict__["service_host"] = None
|
|
1022
892
|
__props__.__dict__["service_password"] = None
|
|
1023
893
|
__props__.__dict__["service_port"] = None
|
|
@@ -1048,7 +918,6 @@ class MySql(pulumi.CustomResource):
|
|
|
1048
918
|
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
1049
919
|
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
1050
920
|
mysql_user_config: Optional[pulumi.Input[pulumi.InputType['MySqlMysqlUserConfigArgs']]] = None,
|
|
1051
|
-
mysqls: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['MySqlMysqlArgs']]]]] = None,
|
|
1052
921
|
plan: Optional[pulumi.Input[str]] = None,
|
|
1053
922
|
project: Optional[pulumi.Input[str]] = None,
|
|
1054
923
|
project_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
@@ -1072,57 +941,33 @@ class MySql(pulumi.CustomResource):
|
|
|
1072
941
|
:param str resource_name: The unique name of the resulting resource.
|
|
1073
942
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
1074
943
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
1075
|
-
:param pulumi.Input[str] additional_disk_space: Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore,
|
|
1076
|
-
|
|
1077
|
-
: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
|
|
1078
|
-
created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud
|
|
1079
|
-
provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These
|
|
1080
|
-
are documented on each Cloud provider's own support articles, like [here for
|
|
1081
|
-
Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for
|
|
1082
|
-
AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
944
|
+
: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.
|
|
945
|
+
: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).
|
|
1083
946
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['MySqlComponentArgs']]]] components: Service component information objects
|
|
1084
|
-
:param pulumi.Input[str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing
|
|
1085
|
-
will result in the service rebalancing.
|
|
947
|
+
: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.
|
|
1086
948
|
: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.
|
|
1087
|
-
: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.
|
|
1088
|
-
|
|
1089
|
-
: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
|
|
1090
|
-
project. `disk_space` needs to increment from `disk_space_default` by increments of this size.
|
|
949
|
+
: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`
|
|
950
|
+
: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.
|
|
1091
951
|
:param pulumi.Input[str] disk_space_used: Disk space that service is currently using
|
|
1092
952
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
1093
953
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
1094
954
|
:param pulumi.Input[pulumi.InputType['MySqlMysqlUserConfigArgs']] mysql_user_config: Mysql user configurable settings
|
|
1095
|
-
:param pulumi.Input[
|
|
1096
|
-
:param pulumi.Input[str]
|
|
1097
|
-
|
|
1098
|
-
store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
|
|
1099
|
-
`hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also
|
|
1100
|
-
other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available
|
|
1101
|
-
options can be seem from the [Aiven pricing page](https://aiven.io/pricing).
|
|
1102
|
-
:param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a
|
|
1103
|
-
reference. This property cannot be changed, doing so forces recreation of the resource.
|
|
1104
|
-
: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
|
|
1105
|
-
value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region
|
|
1106
|
-
as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new
|
|
1107
|
-
servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
955
|
+
: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).
|
|
956
|
+
: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.
|
|
957
|
+
: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.
|
|
1108
958
|
:param pulumi.Input[str] service_host: The hostname of the service.
|
|
1109
959
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['MySqlServiceIntegrationArgs']]]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
1110
|
-
: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
|
|
1111
|
-
service so name should be picked based on intended service usage rather than current attributes.
|
|
960
|
+
: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.
|
|
1112
961
|
:param pulumi.Input[str] service_password: Password used for connecting to the service, if applicable
|
|
1113
962
|
:param pulumi.Input[int] service_port: The port of the service
|
|
1114
963
|
:param pulumi.Input[str] service_type: Aiven internal service type code
|
|
1115
964
|
:param pulumi.Input[str] service_uri: URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
1116
965
|
:param pulumi.Input[str] service_username: Username used for connecting to the service, if applicable
|
|
1117
966
|
:param pulumi.Input[str] state: Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
1118
|
-
: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
|
|
1119
|
-
static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
967
|
+
: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
|
|
1120
968
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['MySqlTagArgs']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
1121
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['MySqlTechEmailArgs']]]] tech_emails:
|
|
1122
|
-
|
|
1123
|
-
: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
|
|
1124
|
-
unintentional service deletion. This does not shield against deleting databases or topics but for services with backups
|
|
1125
|
-
much of the content can at least be restored from backup in case accidental deletion is done.
|
|
969
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['MySqlTechEmailArgs']]]] 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.
|
|
970
|
+
: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.
|
|
1126
971
|
"""
|
|
1127
972
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
1128
973
|
|
|
@@ -1139,7 +984,6 @@ class MySql(pulumi.CustomResource):
|
|
|
1139
984
|
__props__.__dict__["maintenance_window_dow"] = maintenance_window_dow
|
|
1140
985
|
__props__.__dict__["maintenance_window_time"] = maintenance_window_time
|
|
1141
986
|
__props__.__dict__["mysql_user_config"] = mysql_user_config
|
|
1142
|
-
__props__.__dict__["mysqls"] = mysqls
|
|
1143
987
|
__props__.__dict__["plan"] = plan
|
|
1144
988
|
__props__.__dict__["project"] = project
|
|
1145
989
|
__props__.__dict__["project_vpc_id"] = project_vpc_id
|
|
@@ -1162,8 +1006,7 @@ class MySql(pulumi.CustomResource):
|
|
|
1162
1006
|
@pulumi.getter(name="additionalDiskSpace")
|
|
1163
1007
|
def additional_disk_space(self) -> pulumi.Output[Optional[str]]:
|
|
1164
1008
|
"""
|
|
1165
|
-
Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore,
|
|
1166
|
-
reducing will result in the service rebalancing.
|
|
1009
|
+
Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
1167
1010
|
"""
|
|
1168
1011
|
return pulumi.get(self, "additional_disk_space")
|
|
1169
1012
|
|
|
@@ -1171,12 +1014,7 @@ class MySql(pulumi.CustomResource):
|
|
|
1171
1014
|
@pulumi.getter(name="cloudName")
|
|
1172
1015
|
def cloud_name(self) -> pulumi.Output[Optional[str]]:
|
|
1173
1016
|
"""
|
|
1174
|
-
Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is
|
|
1175
|
-
created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud
|
|
1176
|
-
provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These
|
|
1177
|
-
are documented on each Cloud provider's own support articles, like [here for
|
|
1178
|
-
Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for
|
|
1179
|
-
AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
1017
|
+
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).
|
|
1180
1018
|
"""
|
|
1181
1019
|
return pulumi.get(self, "cloud_name")
|
|
1182
1020
|
|
|
@@ -1192,8 +1030,7 @@ class MySql(pulumi.CustomResource):
|
|
|
1192
1030
|
@pulumi.getter(name="diskSpace")
|
|
1193
1031
|
def disk_space(self) -> pulumi.Output[Optional[str]]:
|
|
1194
1032
|
"""
|
|
1195
|
-
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing
|
|
1196
|
-
will result in the service rebalancing.
|
|
1033
|
+
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
1197
1034
|
"""
|
|
1198
1035
|
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)
|
|
1199
1036
|
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.""")
|
|
@@ -1212,8 +1049,7 @@ class MySql(pulumi.CustomResource):
|
|
|
1212
1049
|
@pulumi.getter(name="diskSpaceDefault")
|
|
1213
1050
|
def disk_space_default(self) -> pulumi.Output[str]:
|
|
1214
1051
|
"""
|
|
1215
|
-
The default disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
1216
|
-
Its also the minimum value for `disk_space`
|
|
1052
|
+
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`
|
|
1217
1053
|
"""
|
|
1218
1054
|
return pulumi.get(self, "disk_space_default")
|
|
1219
1055
|
|
|
@@ -1221,8 +1057,7 @@ class MySql(pulumi.CustomResource):
|
|
|
1221
1057
|
@pulumi.getter(name="diskSpaceStep")
|
|
1222
1058
|
def disk_space_step(self) -> pulumi.Output[str]:
|
|
1223
1059
|
"""
|
|
1224
|
-
The default disk space step of the service, possible values depend on the service type, the cloud provider and the
|
|
1225
|
-
project. `disk_space` needs to increment from `disk_space_default` by increments of this size.
|
|
1060
|
+
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.
|
|
1226
1061
|
"""
|
|
1227
1062
|
return pulumi.get(self, "disk_space_step")
|
|
1228
1063
|
|
|
@@ -1258,24 +1093,11 @@ class MySql(pulumi.CustomResource):
|
|
|
1258
1093
|
"""
|
|
1259
1094
|
return pulumi.get(self, "mysql_user_config")
|
|
1260
1095
|
|
|
1261
|
-
@property
|
|
1262
|
-
@pulumi.getter
|
|
1263
|
-
def mysqls(self) -> pulumi.Output[Sequence['outputs.MySqlMysql']]:
|
|
1264
|
-
"""
|
|
1265
|
-
MySQL specific server provided values
|
|
1266
|
-
"""
|
|
1267
|
-
return pulumi.get(self, "mysqls")
|
|
1268
|
-
|
|
1269
1096
|
@property
|
|
1270
1097
|
@pulumi.getter
|
|
1271
1098
|
def plan(self) -> pulumi.Output[str]:
|
|
1272
1099
|
"""
|
|
1273
|
-
Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there
|
|
1274
|
-
are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to
|
|
1275
|
-
store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
|
|
1276
|
-
`hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also
|
|
1277
|
-
other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available
|
|
1278
|
-
options can be seem from the [Aiven pricing page](https://aiven.io/pricing).
|
|
1100
|
+
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).
|
|
1279
1101
|
"""
|
|
1280
1102
|
return pulumi.get(self, "plan")
|
|
1281
1103
|
|
|
@@ -1283,8 +1105,7 @@ class MySql(pulumi.CustomResource):
|
|
|
1283
1105
|
@pulumi.getter
|
|
1284
1106
|
def project(self) -> pulumi.Output[str]:
|
|
1285
1107
|
"""
|
|
1286
|
-
|
|
1287
|
-
reference. This property cannot be changed, doing so forces recreation of the resource.
|
|
1108
|
+
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.
|
|
1288
1109
|
"""
|
|
1289
1110
|
return pulumi.get(self, "project")
|
|
1290
1111
|
|
|
@@ -1292,10 +1113,7 @@ class MySql(pulumi.CustomResource):
|
|
|
1292
1113
|
@pulumi.getter(name="projectVpcId")
|
|
1293
1114
|
def project_vpc_id(self) -> pulumi.Output[Optional[str]]:
|
|
1294
1115
|
"""
|
|
1295
|
-
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
|
|
1296
|
-
value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region
|
|
1297
|
-
as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new
|
|
1298
|
-
servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
1116
|
+
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.
|
|
1299
1117
|
"""
|
|
1300
1118
|
return pulumi.get(self, "project_vpc_id")
|
|
1301
1119
|
|
|
@@ -1319,8 +1137,7 @@ class MySql(pulumi.CustomResource):
|
|
|
1319
1137
|
@pulumi.getter(name="serviceName")
|
|
1320
1138
|
def service_name(self) -> pulumi.Output[str]:
|
|
1321
1139
|
"""
|
|
1322
|
-
Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the
|
|
1323
|
-
service so name should be picked based on intended service usage rather than current attributes.
|
|
1140
|
+
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.
|
|
1324
1141
|
"""
|
|
1325
1142
|
return pulumi.get(self, "service_name")
|
|
1326
1143
|
|
|
@@ -1376,8 +1193,7 @@ class MySql(pulumi.CustomResource):
|
|
|
1376
1193
|
@pulumi.getter(name="staticIps")
|
|
1377
1194
|
def static_ips(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
1378
1195
|
"""
|
|
1379
|
-
Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a
|
|
1380
|
-
static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
1196
|
+
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
|
|
1381
1197
|
"""
|
|
1382
1198
|
return pulumi.get(self, "static_ips")
|
|
1383
1199
|
|
|
@@ -1393,8 +1209,7 @@ class MySql(pulumi.CustomResource):
|
|
|
1393
1209
|
@pulumi.getter(name="techEmails")
|
|
1394
1210
|
def tech_emails(self) -> pulumi.Output[Optional[Sequence['outputs.MySqlTechEmail']]]:
|
|
1395
1211
|
"""
|
|
1396
|
-
|
|
1397
|
-
instability.
|
|
1212
|
+
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.
|
|
1398
1213
|
"""
|
|
1399
1214
|
return pulumi.get(self, "tech_emails")
|
|
1400
1215
|
|
|
@@ -1402,9 +1217,7 @@ class MySql(pulumi.CustomResource):
|
|
|
1402
1217
|
@pulumi.getter(name="terminationProtection")
|
|
1403
1218
|
def termination_protection(self) -> pulumi.Output[Optional[bool]]:
|
|
1404
1219
|
"""
|
|
1405
|
-
Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent
|
|
1406
|
-
unintentional service deletion. This does not shield against deleting databases or topics but for services with backups
|
|
1407
|
-
much of the content can at least be restored from backup in case accidental deletion is done.
|
|
1220
|
+
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.
|
|
1408
1221
|
"""
|
|
1409
1222
|
return pulumi.get(self, "termination_protection")
|
|
1410
1223
|
|