pulumi-aiven 6.37.0a1743570488__py3-none-any.whl → 6.37.0a1744182902__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-aiven might be problematic. Click here for more details.
- pulumi_aiven/__init__.py +1 -0
- pulumi_aiven/_inputs.py +8278 -8277
- pulumi_aiven/account.py +71 -70
- pulumi_aiven/account_authentication.py +204 -203
- pulumi_aiven/account_team.py +50 -49
- pulumi_aiven/account_team_member.py +64 -63
- pulumi_aiven/account_team_project.py +57 -56
- pulumi_aiven/alloydbomni.py +246 -245
- pulumi_aiven/alloydbomni_database.py +71 -70
- pulumi_aiven/alloydbomni_user.py +92 -91
- pulumi_aiven/aws_org_vpc_peering_connection.py +92 -91
- pulumi_aiven/aws_privatelink.py +57 -56
- pulumi_aiven/aws_vpc_peering_connection.py +78 -77
- pulumi_aiven/azure_org_vpc_peering_connection.py +113 -112
- pulumi_aiven/azure_privatelink.py +71 -70
- pulumi_aiven/azure_privatelink_connection_approval.py +57 -56
- pulumi_aiven/azure_vpc_peering_connection.py +106 -105
- pulumi_aiven/billing_group.py +211 -210
- pulumi_aiven/cassandra.py +232 -231
- pulumi_aiven/cassandra_user.py +78 -77
- pulumi_aiven/clickhouse.py +232 -231
- pulumi_aiven/clickhouse_database.py +53 -52
- pulumi_aiven/clickhouse_grant.py +57 -56
- pulumi_aiven/clickhouse_role.py +43 -42
- pulumi_aiven/clickhouse_user.py +64 -63
- pulumi_aiven/config/__init__.py +1 -0
- pulumi_aiven/config/__init__.pyi +1 -0
- pulumi_aiven/config/vars.py +1 -0
- pulumi_aiven/connection_pool.py +106 -105
- pulumi_aiven/dragonfly.py +232 -231
- pulumi_aiven/flink.py +232 -231
- pulumi_aiven/flink_application.py +78 -77
- pulumi_aiven/flink_application_deployment.py +113 -112
- pulumi_aiven/flink_application_version.py +85 -84
- pulumi_aiven/flink_jar_application.py +78 -77
- pulumi_aiven/flink_jar_application_deployment.py +176 -175
- pulumi_aiven/flink_jar_application_version.py +92 -91
- pulumi_aiven/gcp_org_vpc_peering_connection.py +71 -70
- pulumi_aiven/gcp_privatelink.py +50 -49
- pulumi_aiven/gcp_privatelink_connection_approval.py +64 -63
- pulumi_aiven/gcp_vpc_peering_connection.py +64 -63
- pulumi_aiven/get_account.py +14 -13
- pulumi_aiven/get_account_authentication.py +27 -26
- pulumi_aiven/get_account_team.py +15 -14
- pulumi_aiven/get_account_team_member.py +20 -19
- pulumi_aiven/get_account_team_project.py +18 -17
- pulumi_aiven/get_alloydbomni.py +33 -32
- pulumi_aiven/get_alloydbomni_database.py +19 -18
- pulumi_aiven/get_alloydbomni_user.py +22 -21
- pulumi_aiven/get_aws_org_vpc_peering_connection.py +30 -29
- pulumi_aiven/get_aws_privatelink.py +15 -14
- pulumi_aiven/get_aws_vpc_peering_connection.py +25 -24
- pulumi_aiven/get_azure_org_vpc_peering_connection.py +31 -30
- pulumi_aiven/get_azure_privatelink.py +17 -16
- pulumi_aiven/get_azure_vpc_peering_connection.py +35 -34
- pulumi_aiven/get_billing_group.py +22 -21
- pulumi_aiven/get_cassanda.py +32 -31
- pulumi_aiven/get_cassandra.py +32 -31
- pulumi_aiven/get_cassandra_user.py +21 -20
- pulumi_aiven/get_clickhouse.py +32 -31
- pulumi_aiven/get_clickhouse_database.py +18 -17
- pulumi_aiven/get_clickhouse_user.py +20 -19
- pulumi_aiven/get_connection_pool.py +22 -21
- pulumi_aiven/get_dragonfly.py +32 -31
- pulumi_aiven/get_external_identity.py +22 -21
- pulumi_aiven/get_flink.py +32 -31
- pulumi_aiven/get_flink_application.py +22 -21
- pulumi_aiven/get_flink_application_version.py +26 -25
- pulumi_aiven/get_gcp_org_vpc_peering_connection.py +24 -23
- pulumi_aiven/get_gcp_privatelink.py +15 -14
- pulumi_aiven/get_gcp_vpc_peering_connection.py +20 -19
- pulumi_aiven/get_grafana.py +32 -31
- pulumi_aiven/get_influx_db.py +28 -27
- pulumi_aiven/get_influxdb_database.py +12 -11
- pulumi_aiven/get_influxdb_user.py +15 -14
- pulumi_aiven/get_kafka.py +34 -33
- pulumi_aiven/get_kafka_acl.py +28 -27
- pulumi_aiven/get_kafka_connect.py +32 -31
- pulumi_aiven/get_kafka_connector.py +24 -23
- pulumi_aiven/get_kafka_mirror_maker.py +32 -31
- pulumi_aiven/get_kafka_schema.py +21 -20
- pulumi_aiven/get_kafka_schema_configuration.py +17 -16
- pulumi_aiven/get_kafka_schema_registry_acl.py +28 -27
- pulumi_aiven/get_kafka_topic.py +22 -21
- pulumi_aiven/get_kafka_user.py +21 -20
- pulumi_aiven/get_m3_aggregator.py +32 -31
- pulumi_aiven/get_m3_db.py +32 -31
- pulumi_aiven/get_m3db_user.py +19 -18
- pulumi_aiven/get_mirror_maker_replication_flow.py +34 -33
- pulumi_aiven/get_my_sql.py +32 -31
- pulumi_aiven/get_mysql_database.py +18 -17
- pulumi_aiven/get_mysql_user.py +22 -21
- pulumi_aiven/get_open_search.py +32 -31
- pulumi_aiven/get_open_search_acl_config.py +14 -13
- pulumi_aiven/get_open_search_acl_rule.py +27 -26
- pulumi_aiven/get_opensearch_security_plugin_config.py +16 -15
- pulumi_aiven/get_opensearch_user.py +19 -18
- pulumi_aiven/get_organization.py +14 -13
- pulumi_aiven/get_organization_application_user.py +15 -14
- pulumi_aiven/get_organization_project.py +15 -14
- pulumi_aiven/get_organization_user.py +18 -17
- pulumi_aiven/get_organization_user_group.py +16 -15
- pulumi_aiven/get_organization_user_list.py +11 -10
- pulumi_aiven/get_organization_vpc.py +17 -16
- pulumi_aiven/get_organizational_unit.py +11 -10
- pulumi_aiven/get_pg.py +32 -31
- pulumi_aiven/get_pg_database.py +20 -19
- pulumi_aiven/get_pg_user.py +22 -21
- pulumi_aiven/get_project.py +19 -18
- pulumi_aiven/get_project_user.py +14 -13
- pulumi_aiven/get_project_vpc.py +19 -18
- pulumi_aiven/get_redis.py +32 -31
- pulumi_aiven/get_redis_user.py +23 -22
- pulumi_aiven/get_service_component.py +39 -38
- pulumi_aiven/get_service_integration.py +27 -26
- pulumi_aiven/get_service_integration_endpoint.py +14 -13
- pulumi_aiven/get_thanos.py +32 -31
- pulumi_aiven/get_transit_gateway_vpc_attachment.py +22 -21
- pulumi_aiven/get_valkey.py +32 -31
- pulumi_aiven/get_valkey_user.py +23 -22
- pulumi_aiven/grafana.py +232 -231
- pulumi_aiven/influx_db.py +232 -231
- pulumi_aiven/influxdb_database.py +53 -52
- pulumi_aiven/influxdb_user.py +78 -77
- pulumi_aiven/kafka.py +260 -259
- pulumi_aiven/kafka_acl.py +78 -77
- pulumi_aiven/kafka_connect.py +232 -231
- pulumi_aiven/kafka_connector.py +99 -98
- pulumi_aiven/kafka_mirror_maker.py +232 -231
- pulumi_aiven/kafka_native_acl.py +127 -126
- pulumi_aiven/kafka_quota.py +99 -98
- pulumi_aiven/kafka_schema.py +92 -91
- pulumi_aiven/kafka_schema_configuration.py +43 -42
- pulumi_aiven/kafka_schema_registry_acl.py +78 -77
- pulumi_aiven/kafka_topic.py +109 -108
- pulumi_aiven/kafka_user.py +78 -77
- pulumi_aiven/m3_aggregator.py +232 -231
- pulumi_aiven/m3_db.py +232 -231
- pulumi_aiven/m3db_user.py +64 -63
- pulumi_aiven/mirror_maker_replication_flow.py +225 -224
- pulumi_aiven/my_sql.py +232 -231
- pulumi_aiven/mysql_database.py +53 -52
- pulumi_aiven/mysql_user.py +92 -91
- pulumi_aiven/open_search.py +232 -231
- pulumi_aiven/open_search_acl_config.py +57 -56
- pulumi_aiven/open_search_acl_rule.py +75 -74
- pulumi_aiven/opensearch_security_plugin_config.py +64 -63
- pulumi_aiven/opensearch_user.py +64 -63
- pulumi_aiven/organization.py +36 -35
- pulumi_aiven/organization_application_user.py +57 -56
- pulumi_aiven/organization_application_user_token.py +169 -168
- pulumi_aiven/organization_group_project.py +43 -42
- pulumi_aiven/organization_permission.py +43 -42
- pulumi_aiven/organization_project.py +71 -70
- pulumi_aiven/organization_user.py +57 -56
- pulumi_aiven/organization_user_group.py +64 -63
- pulumi_aiven/organization_user_group_member.py +50 -49
- pulumi_aiven/organization_vpc.py +71 -70
- pulumi_aiven/organizational_unit.py +50 -49
- pulumi_aiven/outputs.py +9982 -9981
- pulumi_aiven/pg.py +232 -231
- pulumi_aiven/pg_database.py +81 -80
- pulumi_aiven/pg_user.py +92 -91
- pulumi_aiven/project.py +155 -154
- pulumi_aiven/project_user.py +50 -49
- pulumi_aiven/project_vpc.py +50 -49
- pulumi_aiven/provider.py +9 -8
- pulumi_aiven/pulumi-plugin.json +1 -1
- pulumi_aiven/redis.py +232 -231
- pulumi_aiven/redis_user.py +120 -119
- pulumi_aiven/service_integration.py +120 -119
- pulumi_aiven/service_integration_endpoint.py +50 -49
- pulumi_aiven/static_ip.py +57 -56
- pulumi_aiven/thanos.py +232 -231
- pulumi_aiven/transit_gateway_vpc_attachment.py +92 -91
- pulumi_aiven/valkey.py +232 -231
- pulumi_aiven/valkey_user.py +120 -119
- {pulumi_aiven-6.37.0a1743570488.dist-info → pulumi_aiven-6.37.0a1744182902.dist-info}/METADATA +1 -1
- pulumi_aiven-6.37.0a1744182902.dist-info/RECORD +183 -0
- pulumi_aiven-6.37.0a1743570488.dist-info/RECORD +0 -183
- {pulumi_aiven-6.37.0a1743570488.dist-info → pulumi_aiven-6.37.0a1744182902.dist-info}/WHEEL +0 -0
- {pulumi_aiven-6.37.0a1743570488.dist-info → pulumi_aiven-6.37.0a1744182902.dist-info}/top_level.txt +0 -0
pulumi_aiven/get_my_sql.py
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
+
import builtins
|
|
5
6
|
import copy
|
|
6
7
|
import warnings
|
|
7
8
|
import sys
|
|
@@ -118,7 +119,7 @@ class GetMySqlResult:
|
|
|
118
119
|
|
|
119
120
|
@property
|
|
120
121
|
@pulumi.getter(name="additionalDiskSpace")
|
|
121
|
-
def additional_disk_space(self) -> str:
|
|
122
|
+
def additional_disk_space(self) -> builtins.str:
|
|
122
123
|
"""
|
|
123
124
|
Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
|
|
124
125
|
"""
|
|
@@ -126,7 +127,7 @@ class GetMySqlResult:
|
|
|
126
127
|
|
|
127
128
|
@property
|
|
128
129
|
@pulumi.getter(name="cloudName")
|
|
129
|
-
def cloud_name(self) -> str:
|
|
130
|
+
def cloud_name(self) -> builtins.str:
|
|
130
131
|
"""
|
|
131
132
|
The cloud provider and region the service is hosted in. The format is `provider-region`, for example: `google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ per project and service. Changing this value [migrates the service to another cloud provider or region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
|
|
132
133
|
"""
|
|
@@ -142,7 +143,7 @@ class GetMySqlResult:
|
|
|
142
143
|
|
|
143
144
|
@property
|
|
144
145
|
@pulumi.getter(name="diskSpace")
|
|
145
|
-
def disk_space(self) -> str:
|
|
146
|
+
def disk_space(self) -> builtins.str:
|
|
146
147
|
"""
|
|
147
148
|
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
148
149
|
"""
|
|
@@ -150,7 +151,7 @@ class GetMySqlResult:
|
|
|
150
151
|
|
|
151
152
|
@property
|
|
152
153
|
@pulumi.getter(name="diskSpaceCap")
|
|
153
|
-
def disk_space_cap(self) -> str:
|
|
154
|
+
def disk_space_cap(self) -> builtins.str:
|
|
154
155
|
"""
|
|
155
156
|
The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
156
157
|
"""
|
|
@@ -158,7 +159,7 @@ class GetMySqlResult:
|
|
|
158
159
|
|
|
159
160
|
@property
|
|
160
161
|
@pulumi.getter(name="diskSpaceDefault")
|
|
161
|
-
def disk_space_default(self) -> str:
|
|
162
|
+
def disk_space_default(self) -> builtins.str:
|
|
162
163
|
"""
|
|
163
164
|
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`
|
|
164
165
|
"""
|
|
@@ -166,7 +167,7 @@ class GetMySqlResult:
|
|
|
166
167
|
|
|
167
168
|
@property
|
|
168
169
|
@pulumi.getter(name="diskSpaceStep")
|
|
169
|
-
def disk_space_step(self) -> str:
|
|
170
|
+
def disk_space_step(self) -> builtins.str:
|
|
170
171
|
"""
|
|
171
172
|
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.
|
|
172
173
|
"""
|
|
@@ -174,7 +175,7 @@ class GetMySqlResult:
|
|
|
174
175
|
|
|
175
176
|
@property
|
|
176
177
|
@pulumi.getter(name="diskSpaceUsed")
|
|
177
|
-
def disk_space_used(self) -> str:
|
|
178
|
+
def disk_space_used(self) -> builtins.str:
|
|
178
179
|
"""
|
|
179
180
|
Disk space that service is currently using
|
|
180
181
|
"""
|
|
@@ -182,7 +183,7 @@ class GetMySqlResult:
|
|
|
182
183
|
|
|
183
184
|
@property
|
|
184
185
|
@pulumi.getter
|
|
185
|
-
def id(self) -> str:
|
|
186
|
+
def id(self) -> builtins.str:
|
|
186
187
|
"""
|
|
187
188
|
The provider-assigned unique ID for this managed resource.
|
|
188
189
|
"""
|
|
@@ -190,7 +191,7 @@ class GetMySqlResult:
|
|
|
190
191
|
|
|
191
192
|
@property
|
|
192
193
|
@pulumi.getter(name="maintenanceWindowDow")
|
|
193
|
-
def maintenance_window_dow(self) -> str:
|
|
194
|
+
def maintenance_window_dow(self) -> builtins.str:
|
|
194
195
|
"""
|
|
195
196
|
Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
196
197
|
"""
|
|
@@ -198,7 +199,7 @@ class GetMySqlResult:
|
|
|
198
199
|
|
|
199
200
|
@property
|
|
200
201
|
@pulumi.getter(name="maintenanceWindowTime")
|
|
201
|
-
def maintenance_window_time(self) -> str:
|
|
202
|
+
def maintenance_window_time(self) -> builtins.str:
|
|
202
203
|
"""
|
|
203
204
|
Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
204
205
|
"""
|
|
@@ -222,7 +223,7 @@ class GetMySqlResult:
|
|
|
222
223
|
|
|
223
224
|
@property
|
|
224
225
|
@pulumi.getter
|
|
225
|
-
def plan(self) -> str:
|
|
226
|
+
def plan(self) -> builtins.str:
|
|
226
227
|
"""
|
|
227
228
|
Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
228
229
|
"""
|
|
@@ -230,7 +231,7 @@ class GetMySqlResult:
|
|
|
230
231
|
|
|
231
232
|
@property
|
|
232
233
|
@pulumi.getter
|
|
233
|
-
def project(self) -> str:
|
|
234
|
+
def project(self) -> builtins.str:
|
|
234
235
|
"""
|
|
235
236
|
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.
|
|
236
237
|
"""
|
|
@@ -238,7 +239,7 @@ class GetMySqlResult:
|
|
|
238
239
|
|
|
239
240
|
@property
|
|
240
241
|
@pulumi.getter(name="projectVpcId")
|
|
241
|
-
def project_vpc_id(self) -> str:
|
|
242
|
+
def project_vpc_id(self) -> builtins.str:
|
|
242
243
|
"""
|
|
243
244
|
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.
|
|
244
245
|
"""
|
|
@@ -246,7 +247,7 @@ class GetMySqlResult:
|
|
|
246
247
|
|
|
247
248
|
@property
|
|
248
249
|
@pulumi.getter(name="serviceHost")
|
|
249
|
-
def service_host(self) -> str:
|
|
250
|
+
def service_host(self) -> builtins.str:
|
|
250
251
|
"""
|
|
251
252
|
The hostname of the service.
|
|
252
253
|
"""
|
|
@@ -262,7 +263,7 @@ class GetMySqlResult:
|
|
|
262
263
|
|
|
263
264
|
@property
|
|
264
265
|
@pulumi.getter(name="serviceName")
|
|
265
|
-
def service_name(self) -> str:
|
|
266
|
+
def service_name(self) -> builtins.str:
|
|
266
267
|
"""
|
|
267
268
|
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.
|
|
268
269
|
"""
|
|
@@ -270,7 +271,7 @@ class GetMySqlResult:
|
|
|
270
271
|
|
|
271
272
|
@property
|
|
272
273
|
@pulumi.getter(name="servicePassword")
|
|
273
|
-
def service_password(self) -> str:
|
|
274
|
+
def service_password(self) -> builtins.str:
|
|
274
275
|
"""
|
|
275
276
|
Password used for connecting to the service, if applicable
|
|
276
277
|
"""
|
|
@@ -278,7 +279,7 @@ class GetMySqlResult:
|
|
|
278
279
|
|
|
279
280
|
@property
|
|
280
281
|
@pulumi.getter(name="servicePort")
|
|
281
|
-
def service_port(self) -> int:
|
|
282
|
+
def service_port(self) -> builtins.int:
|
|
282
283
|
"""
|
|
283
284
|
The port of the service
|
|
284
285
|
"""
|
|
@@ -286,7 +287,7 @@ class GetMySqlResult:
|
|
|
286
287
|
|
|
287
288
|
@property
|
|
288
289
|
@pulumi.getter(name="serviceType")
|
|
289
|
-
def service_type(self) -> str:
|
|
290
|
+
def service_type(self) -> builtins.str:
|
|
290
291
|
"""
|
|
291
292
|
Aiven internal service type code
|
|
292
293
|
"""
|
|
@@ -294,7 +295,7 @@ class GetMySqlResult:
|
|
|
294
295
|
|
|
295
296
|
@property
|
|
296
297
|
@pulumi.getter(name="serviceUri")
|
|
297
|
-
def service_uri(self) -> str:
|
|
298
|
+
def service_uri(self) -> builtins.str:
|
|
298
299
|
"""
|
|
299
300
|
URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
300
301
|
"""
|
|
@@ -302,7 +303,7 @@ class GetMySqlResult:
|
|
|
302
303
|
|
|
303
304
|
@property
|
|
304
305
|
@pulumi.getter(name="serviceUsername")
|
|
305
|
-
def service_username(self) -> str:
|
|
306
|
+
def service_username(self) -> builtins.str:
|
|
306
307
|
"""
|
|
307
308
|
Username used for connecting to the service, if applicable
|
|
308
309
|
"""
|
|
@@ -310,7 +311,7 @@ class GetMySqlResult:
|
|
|
310
311
|
|
|
311
312
|
@property
|
|
312
313
|
@pulumi.getter
|
|
313
|
-
def state(self) -> str:
|
|
314
|
+
def state(self) -> builtins.str:
|
|
314
315
|
"""
|
|
315
316
|
Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
316
317
|
"""
|
|
@@ -318,7 +319,7 @@ class GetMySqlResult:
|
|
|
318
319
|
|
|
319
320
|
@property
|
|
320
321
|
@pulumi.getter(name="staticIps")
|
|
321
|
-
def static_ips(self) -> Sequence[str]:
|
|
322
|
+
def static_ips(self) -> Sequence[builtins.str]:
|
|
322
323
|
"""
|
|
323
324
|
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
|
|
324
325
|
"""
|
|
@@ -342,7 +343,7 @@ class GetMySqlResult:
|
|
|
342
343
|
|
|
343
344
|
@property
|
|
344
345
|
@pulumi.getter(name="terminationProtection")
|
|
345
|
-
def termination_protection(self) -> bool:
|
|
346
|
+
def termination_protection(self) -> builtins.bool:
|
|
346
347
|
"""
|
|
347
348
|
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.
|
|
348
349
|
"""
|
|
@@ -386,8 +387,8 @@ class AwaitableGetMySqlResult(GetMySqlResult):
|
|
|
386
387
|
termination_protection=self.termination_protection)
|
|
387
388
|
|
|
388
389
|
|
|
389
|
-
def get_my_sql(project: Optional[str] = None,
|
|
390
|
-
service_name: Optional[str] = None,
|
|
390
|
+
def get_my_sql(project: Optional[builtins.str] = None,
|
|
391
|
+
service_name: Optional[builtins.str] = None,
|
|
391
392
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetMySqlResult:
|
|
392
393
|
"""
|
|
393
394
|
Gets information about an Aiven for MySQL® service.
|
|
@@ -403,8 +404,8 @@ def get_my_sql(project: Optional[str] = None,
|
|
|
403
404
|
```
|
|
404
405
|
|
|
405
406
|
|
|
406
|
-
:param 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.
|
|
407
|
-
:param 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.
|
|
407
|
+
:param builtins.str project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
408
|
+
:param builtins.str service_name: Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
|
|
408
409
|
"""
|
|
409
410
|
__args__ = dict()
|
|
410
411
|
__args__['project'] = project
|
|
@@ -442,8 +443,8 @@ def get_my_sql(project: Optional[str] = None,
|
|
|
442
443
|
tags=pulumi.get(__ret__, 'tags'),
|
|
443
444
|
tech_emails=pulumi.get(__ret__, 'tech_emails'),
|
|
444
445
|
termination_protection=pulumi.get(__ret__, 'termination_protection'))
|
|
445
|
-
def get_my_sql_output(project: Optional[pulumi.Input[str]] = None,
|
|
446
|
-
service_name: Optional[pulumi.Input[str]] = None,
|
|
446
|
+
def get_my_sql_output(project: Optional[pulumi.Input[builtins.str]] = None,
|
|
447
|
+
service_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
447
448
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetMySqlResult]:
|
|
448
449
|
"""
|
|
449
450
|
Gets information about an Aiven for MySQL® service.
|
|
@@ -459,8 +460,8 @@ def get_my_sql_output(project: Optional[pulumi.Input[str]] = None,
|
|
|
459
460
|
```
|
|
460
461
|
|
|
461
462
|
|
|
462
|
-
:param 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.
|
|
463
|
-
:param 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.
|
|
463
|
+
:param builtins.str project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
464
|
+
:param builtins.str service_name: Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
|
|
464
465
|
"""
|
|
465
466
|
__args__ = dict()
|
|
466
467
|
__args__['project'] = project
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
+
import builtins
|
|
5
6
|
import copy
|
|
6
7
|
import warnings
|
|
7
8
|
import sys
|
|
@@ -45,7 +46,7 @@ class GetMysqlDatabaseResult:
|
|
|
45
46
|
|
|
46
47
|
@property
|
|
47
48
|
@pulumi.getter(name="databaseName")
|
|
48
|
-
def database_name(self) -> str:
|
|
49
|
+
def database_name(self) -> builtins.str:
|
|
49
50
|
"""
|
|
50
51
|
The name of the database. Changing this property forces recreation of the resource.
|
|
51
52
|
"""
|
|
@@ -53,7 +54,7 @@ class GetMysqlDatabaseResult:
|
|
|
53
54
|
|
|
54
55
|
@property
|
|
55
56
|
@pulumi.getter
|
|
56
|
-
def id(self) -> str:
|
|
57
|
+
def id(self) -> builtins.str:
|
|
57
58
|
"""
|
|
58
59
|
The provider-assigned unique ID for this managed resource.
|
|
59
60
|
"""
|
|
@@ -61,7 +62,7 @@ class GetMysqlDatabaseResult:
|
|
|
61
62
|
|
|
62
63
|
@property
|
|
63
64
|
@pulumi.getter
|
|
64
|
-
def project(self) -> str:
|
|
65
|
+
def project(self) -> builtins.str:
|
|
65
66
|
"""
|
|
66
67
|
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.
|
|
67
68
|
"""
|
|
@@ -69,7 +70,7 @@ class GetMysqlDatabaseResult:
|
|
|
69
70
|
|
|
70
71
|
@property
|
|
71
72
|
@pulumi.getter(name="serviceName")
|
|
72
|
-
def service_name(self) -> str:
|
|
73
|
+
def service_name(self) -> builtins.str:
|
|
73
74
|
"""
|
|
74
75
|
The name of the service that 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.
|
|
75
76
|
"""
|
|
@@ -77,7 +78,7 @@ class GetMysqlDatabaseResult:
|
|
|
77
78
|
|
|
78
79
|
@property
|
|
79
80
|
@pulumi.getter(name="terminationProtection")
|
|
80
|
-
def termination_protection(self) -> bool:
|
|
81
|
+
def termination_protection(self) -> builtins.bool:
|
|
81
82
|
return pulumi.get(self, "termination_protection")
|
|
82
83
|
|
|
83
84
|
|
|
@@ -94,9 +95,9 @@ class AwaitableGetMysqlDatabaseResult(GetMysqlDatabaseResult):
|
|
|
94
95
|
termination_protection=self.termination_protection)
|
|
95
96
|
|
|
96
97
|
|
|
97
|
-
def get_mysql_database(database_name: Optional[str] = None,
|
|
98
|
-
project: Optional[str] = None,
|
|
99
|
-
service_name: Optional[str] = None,
|
|
98
|
+
def get_mysql_database(database_name: Optional[builtins.str] = None,
|
|
99
|
+
project: Optional[builtins.str] = None,
|
|
100
|
+
service_name: Optional[builtins.str] = None,
|
|
100
101
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetMysqlDatabaseResult:
|
|
101
102
|
"""
|
|
102
103
|
Gets information about an Aiven for MySQL® database.
|
|
@@ -113,9 +114,9 @@ def get_mysql_database(database_name: Optional[str] = None,
|
|
|
113
114
|
```
|
|
114
115
|
|
|
115
116
|
|
|
116
|
-
:param str database_name: The name of the database. Changing this property forces recreation of the resource.
|
|
117
|
-
:param 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.
|
|
118
|
-
:param str service_name: The name of the service that 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.
|
|
117
|
+
:param builtins.str database_name: The name of the database. Changing this property forces recreation of the resource.
|
|
118
|
+
:param builtins.str project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
119
|
+
:param builtins.str service_name: The name of the service that 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.
|
|
119
120
|
"""
|
|
120
121
|
__args__ = dict()
|
|
121
122
|
__args__['databaseName'] = database_name
|
|
@@ -130,9 +131,9 @@ def get_mysql_database(database_name: Optional[str] = None,
|
|
|
130
131
|
project=pulumi.get(__ret__, 'project'),
|
|
131
132
|
service_name=pulumi.get(__ret__, 'service_name'),
|
|
132
133
|
termination_protection=pulumi.get(__ret__, 'termination_protection'))
|
|
133
|
-
def get_mysql_database_output(database_name: Optional[pulumi.Input[str]] = None,
|
|
134
|
-
project: Optional[pulumi.Input[str]] = None,
|
|
135
|
-
service_name: Optional[pulumi.Input[str]] = None,
|
|
134
|
+
def get_mysql_database_output(database_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
135
|
+
project: Optional[pulumi.Input[builtins.str]] = None,
|
|
136
|
+
service_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
136
137
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetMysqlDatabaseResult]:
|
|
137
138
|
"""
|
|
138
139
|
Gets information about an Aiven for MySQL® database.
|
|
@@ -149,9 +150,9 @@ def get_mysql_database_output(database_name: Optional[pulumi.Input[str]] = None,
|
|
|
149
150
|
```
|
|
150
151
|
|
|
151
152
|
|
|
152
|
-
:param str database_name: The name of the database. Changing this property forces recreation of the resource.
|
|
153
|
-
:param 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.
|
|
154
|
-
:param str service_name: The name of the service that 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.
|
|
153
|
+
:param builtins.str database_name: The name of the database. Changing this property forces recreation of the resource.
|
|
154
|
+
:param builtins.str project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
155
|
+
:param builtins.str service_name: The name of the service that 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.
|
|
155
156
|
"""
|
|
156
157
|
__args__ = dict()
|
|
157
158
|
__args__['databaseName'] = database_name
|
pulumi_aiven/get_mysql_user.py
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
+
import builtins
|
|
5
6
|
import copy
|
|
6
7
|
import warnings
|
|
7
8
|
import sys
|
|
@@ -57,7 +58,7 @@ class GetMysqlUserResult:
|
|
|
57
58
|
|
|
58
59
|
@property
|
|
59
60
|
@pulumi.getter(name="accessCert")
|
|
60
|
-
def access_cert(self) -> str:
|
|
61
|
+
def access_cert(self) -> builtins.str:
|
|
61
62
|
"""
|
|
62
63
|
Access certificate for the user.
|
|
63
64
|
"""
|
|
@@ -65,7 +66,7 @@ class GetMysqlUserResult:
|
|
|
65
66
|
|
|
66
67
|
@property
|
|
67
68
|
@pulumi.getter(name="accessKey")
|
|
68
|
-
def access_key(self) -> str:
|
|
69
|
+
def access_key(self) -> builtins.str:
|
|
69
70
|
"""
|
|
70
71
|
Access certificate key for the user.
|
|
71
72
|
"""
|
|
@@ -73,7 +74,7 @@ class GetMysqlUserResult:
|
|
|
73
74
|
|
|
74
75
|
@property
|
|
75
76
|
@pulumi.getter
|
|
76
|
-
def authentication(self) -> str:
|
|
77
|
+
def authentication(self) -> builtins.str:
|
|
77
78
|
"""
|
|
78
79
|
Authentication details. The possible values are `caching_sha2_password`, `mysql_native_password` and `null`.
|
|
79
80
|
"""
|
|
@@ -81,7 +82,7 @@ class GetMysqlUserResult:
|
|
|
81
82
|
|
|
82
83
|
@property
|
|
83
84
|
@pulumi.getter
|
|
84
|
-
def id(self) -> str:
|
|
85
|
+
def id(self) -> builtins.str:
|
|
85
86
|
"""
|
|
86
87
|
The provider-assigned unique ID for this managed resource.
|
|
87
88
|
"""
|
|
@@ -89,7 +90,7 @@ class GetMysqlUserResult:
|
|
|
89
90
|
|
|
90
91
|
@property
|
|
91
92
|
@pulumi.getter
|
|
92
|
-
def password(self) -> str:
|
|
93
|
+
def password(self) -> builtins.str:
|
|
93
94
|
"""
|
|
94
95
|
The password of the MySQL service user.
|
|
95
96
|
"""
|
|
@@ -97,7 +98,7 @@ class GetMysqlUserResult:
|
|
|
97
98
|
|
|
98
99
|
@property
|
|
99
100
|
@pulumi.getter
|
|
100
|
-
def project(self) -> str:
|
|
101
|
+
def project(self) -> builtins.str:
|
|
101
102
|
"""
|
|
102
103
|
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.
|
|
103
104
|
"""
|
|
@@ -105,7 +106,7 @@ class GetMysqlUserResult:
|
|
|
105
106
|
|
|
106
107
|
@property
|
|
107
108
|
@pulumi.getter(name="serviceName")
|
|
108
|
-
def service_name(self) -> str:
|
|
109
|
+
def service_name(self) -> builtins.str:
|
|
109
110
|
"""
|
|
110
111
|
The name of the service that 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.
|
|
111
112
|
"""
|
|
@@ -113,7 +114,7 @@ class GetMysqlUserResult:
|
|
|
113
114
|
|
|
114
115
|
@property
|
|
115
116
|
@pulumi.getter
|
|
116
|
-
def type(self) -> str:
|
|
117
|
+
def type(self) -> builtins.str:
|
|
117
118
|
"""
|
|
118
119
|
User account type, such as primary or regular account.
|
|
119
120
|
"""
|
|
@@ -121,7 +122,7 @@ class GetMysqlUserResult:
|
|
|
121
122
|
|
|
122
123
|
@property
|
|
123
124
|
@pulumi.getter
|
|
124
|
-
def username(self) -> str:
|
|
125
|
+
def username(self) -> builtins.str:
|
|
125
126
|
"""
|
|
126
127
|
The name of the MySQL service user. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
127
128
|
"""
|
|
@@ -145,9 +146,9 @@ class AwaitableGetMysqlUserResult(GetMysqlUserResult):
|
|
|
145
146
|
username=self.username)
|
|
146
147
|
|
|
147
148
|
|
|
148
|
-
def get_mysql_user(project: Optional[str] = None,
|
|
149
|
-
service_name: Optional[str] = None,
|
|
150
|
-
username: Optional[str] = None,
|
|
149
|
+
def get_mysql_user(project: Optional[builtins.str] = None,
|
|
150
|
+
service_name: Optional[builtins.str] = None,
|
|
151
|
+
username: Optional[builtins.str] = None,
|
|
151
152
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetMysqlUserResult:
|
|
152
153
|
"""
|
|
153
154
|
Gets information about an Aiven for MySQL® service user.
|
|
@@ -164,9 +165,9 @@ def get_mysql_user(project: Optional[str] = None,
|
|
|
164
165
|
```
|
|
165
166
|
|
|
166
167
|
|
|
167
|
-
:param 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.
|
|
168
|
-
:param str service_name: The name of the service that 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.
|
|
169
|
-
:param str username: The name of the MySQL service user. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
168
|
+
:param builtins.str project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
169
|
+
:param builtins.str service_name: The name of the service that 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.
|
|
170
|
+
:param builtins.str username: The name of the MySQL service user. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
170
171
|
"""
|
|
171
172
|
__args__ = dict()
|
|
172
173
|
__args__['project'] = project
|
|
@@ -185,9 +186,9 @@ def get_mysql_user(project: Optional[str] = None,
|
|
|
185
186
|
service_name=pulumi.get(__ret__, 'service_name'),
|
|
186
187
|
type=pulumi.get(__ret__, 'type'),
|
|
187
188
|
username=pulumi.get(__ret__, 'username'))
|
|
188
|
-
def get_mysql_user_output(project: Optional[pulumi.Input[str]] = None,
|
|
189
|
-
service_name: Optional[pulumi.Input[str]] = None,
|
|
190
|
-
username: Optional[pulumi.Input[str]] = None,
|
|
189
|
+
def get_mysql_user_output(project: Optional[pulumi.Input[builtins.str]] = None,
|
|
190
|
+
service_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
191
|
+
username: Optional[pulumi.Input[builtins.str]] = None,
|
|
191
192
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetMysqlUserResult]:
|
|
192
193
|
"""
|
|
193
194
|
Gets information about an Aiven for MySQL® service user.
|
|
@@ -204,9 +205,9 @@ def get_mysql_user_output(project: Optional[pulumi.Input[str]] = None,
|
|
|
204
205
|
```
|
|
205
206
|
|
|
206
207
|
|
|
207
|
-
:param 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.
|
|
208
|
-
:param str service_name: The name of the service that 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.
|
|
209
|
-
:param str username: The name of the MySQL service user. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
208
|
+
:param builtins.str project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
209
|
+
:param builtins.str service_name: The name of the service that 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.
|
|
210
|
+
:param builtins.str username: The name of the MySQL service user. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
210
211
|
"""
|
|
211
212
|
__args__ = dict()
|
|
212
213
|
__args__['project'] = project
|