pulumi-aiven 6.37.0a1743570488__py3-none-any.whl → 6.37.0a1744255932__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 +22 -0
- pulumi_aiven/_inputs.py +8877 -8288
- 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 +247 -254
- 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 +233 -240
- pulumi_aiven/cassandra_user.py +78 -77
- pulumi_aiven/clickhouse.py +233 -240
- 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 +233 -240
- pulumi_aiven/flink.py +233 -240
- 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 +34 -36
- 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 +33 -35
- pulumi_aiven/get_cassandra.py +33 -35
- pulumi_aiven/get_cassandra_user.py +21 -20
- pulumi_aiven/get_clickhouse.py +33 -35
- 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 +33 -35
- pulumi_aiven/get_external_identity.py +22 -21
- pulumi_aiven/get_flink.py +33 -35
- 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 +33 -35
- 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 +35 -37
- pulumi_aiven/get_kafka_acl.py +28 -27
- pulumi_aiven/get_kafka_connect.py +33 -35
- pulumi_aiven/get_kafka_connector.py +24 -23
- pulumi_aiven/get_kafka_mirror_maker.py +33 -35
- 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 +33 -35
- pulumi_aiven/get_m3_db.py +33 -35
- pulumi_aiven/get_m3db_user.py +19 -18
- pulumi_aiven/get_mirror_maker_replication_flow.py +34 -33
- pulumi_aiven/get_my_sql.py +33 -35
- pulumi_aiven/get_mysql_database.py +18 -17
- pulumi_aiven/get_mysql_user.py +22 -21
- pulumi_aiven/get_open_search.py +33 -35
- 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_address.py +227 -0
- pulumi_aiven/get_organization_application_user.py +15 -34
- pulumi_aiven/get_organization_billing_group.py +241 -0
- pulumi_aiven/get_organization_billing_group_list.py +110 -0
- pulumi_aiven/get_organization_project.py +30 -15
- pulumi_aiven/get_organization_user.py +18 -17
- pulumi_aiven/get_organization_user_group.py +16 -15
- pulumi_aiven/get_organization_user_list.py +32 -19
- pulumi_aiven/get_organization_vpc.py +17 -16
- pulumi_aiven/get_organizational_unit.py +11 -10
- pulumi_aiven/get_pg.py +33 -35
- 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 +33 -35
- pulumi_aiven/get_redis_user.py +23 -22
- pulumi_aiven/get_service_component.py +54 -39
- pulumi_aiven/get_service_integration.py +29 -28
- pulumi_aiven/get_service_integration_endpoint.py +14 -13
- pulumi_aiven/get_thanos.py +33 -35
- pulumi_aiven/get_transit_gateway_vpc_attachment.py +22 -21
- pulumi_aiven/get_valkey.py +33 -35
- pulumi_aiven/get_valkey_user.py +23 -22
- pulumi_aiven/grafana.py +233 -240
- pulumi_aiven/influx_db.py +251 -244
- pulumi_aiven/influxdb_database.py +53 -52
- pulumi_aiven/influxdb_user.py +78 -77
- pulumi_aiven/kafka.py +261 -268
- pulumi_aiven/kafka_acl.py +78 -77
- pulumi_aiven/kafka_connect.py +233 -240
- pulumi_aiven/kafka_connector.py +99 -98
- pulumi_aiven/kafka_mirror_maker.py +233 -240
- 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 +233 -240
- pulumi_aiven/m3_db.py +233 -240
- pulumi_aiven/m3db_user.py +64 -63
- pulumi_aiven/mirror_maker_replication_flow.py +225 -224
- pulumi_aiven/my_sql.py +233 -240
- pulumi_aiven/mysql_database.py +53 -52
- pulumi_aiven/mysql_user.py +92 -91
- pulumi_aiven/open_search.py +233 -240
- 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 +38 -37
- pulumi_aiven/organization_address.py +557 -0
- pulumi_aiven/organization_application_user.py +61 -60
- pulumi_aiven/organization_application_user_token.py +169 -168
- pulumi_aiven/organization_billing_group.py +645 -0
- pulumi_aiven/organization_group_project.py +43 -42
- pulumi_aiven/organization_permission.py +45 -44
- pulumi_aiven/organization_project.py +114 -82
- pulumi_aiven/organization_user.py +57 -56
- pulumi_aiven/organization_user_group.py +64 -63
- pulumi_aiven/organization_user_group_member.py +50 -81
- pulumi_aiven/organization_vpc.py +71 -70
- pulumi_aiven/organizational_unit.py +50 -49
- pulumi_aiven/outputs.py +10770 -10004
- pulumi_aiven/pg.py +233 -240
- 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 +233 -240
- pulumi_aiven/redis_user.py +120 -119
- pulumi_aiven/service_integration.py +124 -123
- pulumi_aiven/service_integration_endpoint.py +50 -49
- pulumi_aiven/static_ip.py +57 -56
- pulumi_aiven/thanos.py +233 -240
- pulumi_aiven/transit_gateway_vpc_attachment.py +92 -91
- pulumi_aiven/valkey.py +233 -240
- pulumi_aiven/valkey_user.py +120 -119
- {pulumi_aiven-6.37.0a1743570488.dist-info → pulumi_aiven-6.37.0a1744255932.dist-info}/METADATA +1 -1
- pulumi_aiven-6.37.0a1744255932.dist-info/RECORD +188 -0
- pulumi_aiven-6.37.0a1743570488.dist-info/RECORD +0 -183
- {pulumi_aiven-6.37.0a1743570488.dist-info → pulumi_aiven-6.37.0a1744255932.dist-info}/WHEEL +0 -0
- {pulumi_aiven-6.37.0a1743570488.dist-info → pulumi_aiven-6.37.0a1744255932.dist-info}/top_level.txt +0 -0
pulumi_aiven/get_pg.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,15 +119,15 @@ class GetPgResult:
|
|
|
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
|
-
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
|
|
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 without an autoscaler integration or high availability capabilities. The field can be safely removed when autoscaler is enabled without causing any changes.
|
|
124
125
|
"""
|
|
125
126
|
return pulumi.get(self, "additional_disk_space")
|
|
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 GetPgResult:
|
|
|
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 GetPgResult:
|
|
|
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 GetPgResult:
|
|
|
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 GetPgResult:
|
|
|
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 GetPgResult:
|
|
|
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 GetPgResult:
|
|
|
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 GetPgResult:
|
|
|
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 GetPgResult:
|
|
|
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 GetPgResult:
|
|
|
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 GetPgResult:
|
|
|
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 GetPgResult:
|
|
|
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 GetPgResult:
|
|
|
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 GetPgResult:
|
|
|
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 GetPgResult:
|
|
|
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 GetPgResult:
|
|
|
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 GetPgResult:
|
|
|
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 GetPgResult:
|
|
|
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 GetPgResult:
|
|
|
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,15 +311,12 @@ class GetPgResult:
|
|
|
310
311
|
|
|
311
312
|
@property
|
|
312
313
|
@pulumi.getter
|
|
313
|
-
def state(self) -> str:
|
|
314
|
-
"""
|
|
315
|
-
Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
316
|
-
"""
|
|
314
|
+
def state(self) -> builtins.str:
|
|
317
315
|
return pulumi.get(self, "state")
|
|
318
316
|
|
|
319
317
|
@property
|
|
320
318
|
@pulumi.getter(name="staticIps")
|
|
321
|
-
def static_ips(self) -> Sequence[str]:
|
|
319
|
+
def static_ips(self) -> Sequence[builtins.str]:
|
|
322
320
|
"""
|
|
323
321
|
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
322
|
"""
|
|
@@ -342,7 +340,7 @@ class GetPgResult:
|
|
|
342
340
|
|
|
343
341
|
@property
|
|
344
342
|
@pulumi.getter(name="terminationProtection")
|
|
345
|
-
def termination_protection(self) -> bool:
|
|
343
|
+
def termination_protection(self) -> builtins.bool:
|
|
346
344
|
"""
|
|
347
345
|
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
346
|
"""
|
|
@@ -386,8 +384,8 @@ class AwaitableGetPgResult(GetPgResult):
|
|
|
386
384
|
termination_protection=self.termination_protection)
|
|
387
385
|
|
|
388
386
|
|
|
389
|
-
def get_pg(project: Optional[str] = None,
|
|
390
|
-
service_name: Optional[str] = None,
|
|
387
|
+
def get_pg(project: Optional[builtins.str] = None,
|
|
388
|
+
service_name: Optional[builtins.str] = None,
|
|
391
389
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPgResult:
|
|
392
390
|
"""
|
|
393
391
|
Gets information about an Aiven for PostgreSQL® service.
|
|
@@ -403,8 +401,8 @@ def get_pg(project: Optional[str] = None,
|
|
|
403
401
|
```
|
|
404
402
|
|
|
405
403
|
|
|
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.
|
|
404
|
+
: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.
|
|
405
|
+
: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
406
|
"""
|
|
409
407
|
__args__ = dict()
|
|
410
408
|
__args__['project'] = project
|
|
@@ -442,8 +440,8 @@ def get_pg(project: Optional[str] = None,
|
|
|
442
440
|
tags=pulumi.get(__ret__, 'tags'),
|
|
443
441
|
tech_emails=pulumi.get(__ret__, 'tech_emails'),
|
|
444
442
|
termination_protection=pulumi.get(__ret__, 'termination_protection'))
|
|
445
|
-
def get_pg_output(project: Optional[pulumi.Input[str]] = None,
|
|
446
|
-
service_name: Optional[pulumi.Input[str]] = None,
|
|
443
|
+
def get_pg_output(project: Optional[pulumi.Input[builtins.str]] = None,
|
|
444
|
+
service_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
447
445
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetPgResult]:
|
|
448
446
|
"""
|
|
449
447
|
Gets information about an Aiven for PostgreSQL® service.
|
|
@@ -459,8 +457,8 @@ def get_pg_output(project: Optional[pulumi.Input[str]] = None,
|
|
|
459
457
|
```
|
|
460
458
|
|
|
461
459
|
|
|
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.
|
|
460
|
+
: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.
|
|
461
|
+
: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
462
|
"""
|
|
465
463
|
__args__ = dict()
|
|
466
464
|
__args__['project'] = project
|
pulumi_aiven/get_pg_database.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
|
|
@@ -51,7 +52,7 @@ class GetPgDatabaseResult:
|
|
|
51
52
|
|
|
52
53
|
@property
|
|
53
54
|
@pulumi.getter(name="databaseName")
|
|
54
|
-
def database_name(self) -> str:
|
|
55
|
+
def database_name(self) -> builtins.str:
|
|
55
56
|
"""
|
|
56
57
|
The name of the service database. Changing this property forces recreation of the resource.
|
|
57
58
|
"""
|
|
@@ -59,7 +60,7 @@ class GetPgDatabaseResult:
|
|
|
59
60
|
|
|
60
61
|
@property
|
|
61
62
|
@pulumi.getter
|
|
62
|
-
def id(self) -> str:
|
|
63
|
+
def id(self) -> builtins.str:
|
|
63
64
|
"""
|
|
64
65
|
The provider-assigned unique ID for this managed resource.
|
|
65
66
|
"""
|
|
@@ -67,7 +68,7 @@ class GetPgDatabaseResult:
|
|
|
67
68
|
|
|
68
69
|
@property
|
|
69
70
|
@pulumi.getter(name="lcCollate")
|
|
70
|
-
def lc_collate(self) -> str:
|
|
71
|
+
def lc_collate(self) -> builtins.str:
|
|
71
72
|
"""
|
|
72
73
|
Default string sort order (`LC_COLLATE`) of the database. The default value is `en_US.UTF-8`. Changing this property forces recreation of the resource.
|
|
73
74
|
"""
|
|
@@ -75,7 +76,7 @@ class GetPgDatabaseResult:
|
|
|
75
76
|
|
|
76
77
|
@property
|
|
77
78
|
@pulumi.getter(name="lcCtype")
|
|
78
|
-
def lc_ctype(self) -> str:
|
|
79
|
+
def lc_ctype(self) -> builtins.str:
|
|
79
80
|
"""
|
|
80
81
|
Default character classification (`LC_CTYPE`) of the database. The default value is `en_US.UTF-8`. Changing this property forces recreation of the resource.
|
|
81
82
|
"""
|
|
@@ -83,7 +84,7 @@ class GetPgDatabaseResult:
|
|
|
83
84
|
|
|
84
85
|
@property
|
|
85
86
|
@pulumi.getter
|
|
86
|
-
def project(self) -> str:
|
|
87
|
+
def project(self) -> builtins.str:
|
|
87
88
|
"""
|
|
88
89
|
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.
|
|
89
90
|
"""
|
|
@@ -91,7 +92,7 @@ class GetPgDatabaseResult:
|
|
|
91
92
|
|
|
92
93
|
@property
|
|
93
94
|
@pulumi.getter(name="serviceName")
|
|
94
|
-
def service_name(self) -> str:
|
|
95
|
+
def service_name(self) -> builtins.str:
|
|
95
96
|
"""
|
|
96
97
|
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.
|
|
97
98
|
"""
|
|
@@ -99,7 +100,7 @@ class GetPgDatabaseResult:
|
|
|
99
100
|
|
|
100
101
|
@property
|
|
101
102
|
@pulumi.getter(name="terminationProtection")
|
|
102
|
-
def termination_protection(self) -> bool:
|
|
103
|
+
def termination_protection(self) -> builtins.bool:
|
|
103
104
|
return pulumi.get(self, "termination_protection")
|
|
104
105
|
|
|
105
106
|
|
|
@@ -118,9 +119,9 @@ class AwaitableGetPgDatabaseResult(GetPgDatabaseResult):
|
|
|
118
119
|
termination_protection=self.termination_protection)
|
|
119
120
|
|
|
120
121
|
|
|
121
|
-
def get_pg_database(database_name: Optional[str] = None,
|
|
122
|
-
project: Optional[str] = None,
|
|
123
|
-
service_name: Optional[str] = None,
|
|
122
|
+
def get_pg_database(database_name: Optional[builtins.str] = None,
|
|
123
|
+
project: Optional[builtins.str] = None,
|
|
124
|
+
service_name: Optional[builtins.str] = None,
|
|
124
125
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPgDatabaseResult:
|
|
125
126
|
"""
|
|
126
127
|
Gets information about a database in an Aiven for PostgreSQL® service.
|
|
@@ -137,9 +138,9 @@ def get_pg_database(database_name: Optional[str] = None,
|
|
|
137
138
|
```
|
|
138
139
|
|
|
139
140
|
|
|
140
|
-
:param str database_name: The name of the service database. Changing this property forces recreation of the resource.
|
|
141
|
-
: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.
|
|
142
|
-
: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.
|
|
141
|
+
:param builtins.str database_name: The name of the service database. Changing this property forces recreation of the resource.
|
|
142
|
+
: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.
|
|
143
|
+
: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.
|
|
143
144
|
"""
|
|
144
145
|
__args__ = dict()
|
|
145
146
|
__args__['databaseName'] = database_name
|
|
@@ -156,9 +157,9 @@ def get_pg_database(database_name: Optional[str] = None,
|
|
|
156
157
|
project=pulumi.get(__ret__, 'project'),
|
|
157
158
|
service_name=pulumi.get(__ret__, 'service_name'),
|
|
158
159
|
termination_protection=pulumi.get(__ret__, 'termination_protection'))
|
|
159
|
-
def get_pg_database_output(database_name: Optional[pulumi.Input[str]] = None,
|
|
160
|
-
project: Optional[pulumi.Input[str]] = None,
|
|
161
|
-
service_name: Optional[pulumi.Input[str]] = None,
|
|
160
|
+
def get_pg_database_output(database_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
161
|
+
project: Optional[pulumi.Input[builtins.str]] = None,
|
|
162
|
+
service_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
162
163
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetPgDatabaseResult]:
|
|
163
164
|
"""
|
|
164
165
|
Gets information about a database in an Aiven for PostgreSQL® service.
|
|
@@ -175,9 +176,9 @@ def get_pg_database_output(database_name: Optional[pulumi.Input[str]] = None,
|
|
|
175
176
|
```
|
|
176
177
|
|
|
177
178
|
|
|
178
|
-
:param str database_name: The name of the service database. Changing this property forces recreation of the resource.
|
|
179
|
-
: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.
|
|
180
|
-
: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.
|
|
179
|
+
:param builtins.str database_name: The name of the service database. Changing this property forces recreation of the resource.
|
|
180
|
+
: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.
|
|
181
|
+
: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.
|
|
181
182
|
"""
|
|
182
183
|
__args__ = dict()
|
|
183
184
|
__args__['databaseName'] = database_name
|
pulumi_aiven/get_pg_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 GetPgUserResult:
|
|
|
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
|
The access certificate for the servie user.
|
|
63
64
|
"""
|
|
@@ -65,7 +66,7 @@ class GetPgUserResult:
|
|
|
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
|
The access certificate key for the service user.
|
|
71
72
|
"""
|
|
@@ -73,7 +74,7 @@ class GetPgUserResult:
|
|
|
73
74
|
|
|
74
75
|
@property
|
|
75
76
|
@pulumi.getter
|
|
76
|
-
def id(self) -> str:
|
|
77
|
+
def id(self) -> builtins.str:
|
|
77
78
|
"""
|
|
78
79
|
The provider-assigned unique ID for this managed resource.
|
|
79
80
|
"""
|
|
@@ -81,7 +82,7 @@ class GetPgUserResult:
|
|
|
81
82
|
|
|
82
83
|
@property
|
|
83
84
|
@pulumi.getter
|
|
84
|
-
def password(self) -> str:
|
|
85
|
+
def password(self) -> builtins.str:
|
|
85
86
|
"""
|
|
86
87
|
The password of the service user.
|
|
87
88
|
"""
|
|
@@ -89,7 +90,7 @@ class GetPgUserResult:
|
|
|
89
90
|
|
|
90
91
|
@property
|
|
91
92
|
@pulumi.getter(name="pgAllowReplication")
|
|
92
|
-
def pg_allow_replication(self) -> bool:
|
|
93
|
+
def pg_allow_replication(self) -> builtins.bool:
|
|
93
94
|
"""
|
|
94
95
|
Allows replication. For the default avnadmin user this attribute is required and is always `true`.
|
|
95
96
|
"""
|
|
@@ -97,7 +98,7 @@ class GetPgUserResult:
|
|
|
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 GetPgUserResult:
|
|
|
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 GetPgUserResult:
|
|
|
113
114
|
|
|
114
115
|
@property
|
|
115
116
|
@pulumi.getter
|
|
116
|
-
def type(self) -> str:
|
|
117
|
+
def type(self) -> builtins.str:
|
|
117
118
|
"""
|
|
118
119
|
The service user account type, either primary or regular.
|
|
119
120
|
"""
|
|
@@ -121,7 +122,7 @@ class GetPgUserResult:
|
|
|
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 service user for this service. 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 AwaitableGetPgUserResult(GetPgUserResult):
|
|
|
145
146
|
username=self.username)
|
|
146
147
|
|
|
147
148
|
|
|
148
|
-
def get_pg_user(project: Optional[str] = None,
|
|
149
|
-
service_name: Optional[str] = None,
|
|
150
|
-
username: Optional[str] = None,
|
|
149
|
+
def get_pg_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) -> AwaitableGetPgUserResult:
|
|
152
153
|
"""
|
|
153
154
|
Gets information about an Aiven for PostgreSQL® service user.
|
|
@@ -164,9 +165,9 @@ def get_pg_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 service user for this service. 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 service user for this service. 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_pg_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_pg_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_pg_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[GetPgUserResult]:
|
|
192
193
|
"""
|
|
193
194
|
Gets information about an Aiven for PostgreSQL® service user.
|
|
@@ -204,9 +205,9 @@ def get_pg_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 service user for this service. 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 service user for this service. 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
|