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/pg.py
CHANGED
|
@@ -35,20 +35,20 @@ class PgArgs:
|
|
|
35
35
|
"""
|
|
36
36
|
The set of arguments for constructing a Pg resource.
|
|
37
37
|
: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).
|
|
38
|
-
:param pulumi.Input[str] project:
|
|
38
|
+
: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.
|
|
39
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
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
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.
|
|
42
42
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
43
43
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
44
|
-
:param pulumi.Input['PgPgArgs'] pg:
|
|
44
|
+
:param pulumi.Input['PgPgArgs'] pg: PostgreSQL specific server provided values
|
|
45
45
|
:param pulumi.Input['PgPgUserConfigArgs'] pg_user_config: Pg user configurable settings
|
|
46
46
|
: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.
|
|
47
47
|
:param pulumi.Input[Sequence[pulumi.Input['PgServiceIntegrationArgs']]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
48
48
|
: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.
|
|
49
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips:
|
|
49
|
+
: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
|
|
50
50
|
:param pulumi.Input[Sequence[pulumi.Input['PgTagArgs']]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
51
|
-
:param pulumi.Input[Sequence[pulumi.Input['PgTechEmailArgs']]] tech_emails:
|
|
51
|
+
:param pulumi.Input[Sequence[pulumi.Input['PgTechEmailArgs']]] 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.
|
|
52
52
|
: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.
|
|
53
53
|
"""
|
|
54
54
|
pulumi.set(__self__, "plan", plan)
|
|
@@ -101,7 +101,7 @@ class PgArgs:
|
|
|
101
101
|
@pulumi.getter
|
|
102
102
|
def project(self) -> pulumi.Input[str]:
|
|
103
103
|
"""
|
|
104
|
-
|
|
104
|
+
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.
|
|
105
105
|
"""
|
|
106
106
|
return pulumi.get(self, "project")
|
|
107
107
|
|
|
@@ -176,7 +176,7 @@ class PgArgs:
|
|
|
176
176
|
@pulumi.getter
|
|
177
177
|
def pg(self) -> Optional[pulumi.Input['PgPgArgs']]:
|
|
178
178
|
"""
|
|
179
|
-
|
|
179
|
+
PostgreSQL specific server provided values
|
|
180
180
|
"""
|
|
181
181
|
return pulumi.get(self, "pg")
|
|
182
182
|
|
|
@@ -236,7 +236,7 @@ class PgArgs:
|
|
|
236
236
|
@pulumi.getter(name="staticIps")
|
|
237
237
|
def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
238
238
|
"""
|
|
239
|
-
|
|
239
|
+
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
|
|
240
240
|
"""
|
|
241
241
|
return pulumi.get(self, "static_ips")
|
|
242
242
|
|
|
@@ -260,7 +260,7 @@ class PgArgs:
|
|
|
260
260
|
@pulumi.getter(name="techEmails")
|
|
261
261
|
def tech_emails(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['PgTechEmailArgs']]]]:
|
|
262
262
|
"""
|
|
263
|
-
|
|
263
|
+
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.
|
|
264
264
|
"""
|
|
265
265
|
return pulumi.get(self, "tech_emails")
|
|
266
266
|
|
|
@@ -324,10 +324,10 @@ class _PgState:
|
|
|
324
324
|
:param pulumi.Input[str] disk_space_used: Disk space that service is currently using
|
|
325
325
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
326
326
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
327
|
-
:param pulumi.Input['PgPgArgs'] pg:
|
|
327
|
+
:param pulumi.Input['PgPgArgs'] pg: PostgreSQL specific server provided values
|
|
328
328
|
:param pulumi.Input['PgPgUserConfigArgs'] pg_user_config: Pg user configurable settings
|
|
329
329
|
: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).
|
|
330
|
-
:param pulumi.Input[str] project:
|
|
330
|
+
: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.
|
|
331
331
|
: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.
|
|
332
332
|
:param pulumi.Input[str] service_host: The hostname of the service.
|
|
333
333
|
:param pulumi.Input[Sequence[pulumi.Input['PgServiceIntegrationArgs']]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
@@ -338,9 +338,9 @@ class _PgState:
|
|
|
338
338
|
:param pulumi.Input[str] service_uri: URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
339
339
|
:param pulumi.Input[str] service_username: Username used for connecting to the service, if applicable
|
|
340
340
|
:param pulumi.Input[str] state: Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
341
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips:
|
|
341
|
+
: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
|
|
342
342
|
:param pulumi.Input[Sequence[pulumi.Input['PgTagArgs']]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
343
|
-
:param pulumi.Input[Sequence[pulumi.Input['PgTechEmailArgs']]] tech_emails:
|
|
343
|
+
:param pulumi.Input[Sequence[pulumi.Input['PgTechEmailArgs']]] 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.
|
|
344
344
|
: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.
|
|
345
345
|
"""
|
|
346
346
|
if additional_disk_space is not None:
|
|
@@ -530,7 +530,7 @@ class _PgState:
|
|
|
530
530
|
@pulumi.getter
|
|
531
531
|
def pg(self) -> Optional[pulumi.Input['PgPgArgs']]:
|
|
532
532
|
"""
|
|
533
|
-
|
|
533
|
+
PostgreSQL specific server provided values
|
|
534
534
|
"""
|
|
535
535
|
return pulumi.get(self, "pg")
|
|
536
536
|
|
|
@@ -566,7 +566,7 @@ class _PgState:
|
|
|
566
566
|
@pulumi.getter
|
|
567
567
|
def project(self) -> Optional[pulumi.Input[str]]:
|
|
568
568
|
"""
|
|
569
|
-
|
|
569
|
+
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.
|
|
570
570
|
"""
|
|
571
571
|
return pulumi.get(self, "project")
|
|
572
572
|
|
|
@@ -698,7 +698,7 @@ class _PgState:
|
|
|
698
698
|
@pulumi.getter(name="staticIps")
|
|
699
699
|
def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
700
700
|
"""
|
|
701
|
-
|
|
701
|
+
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
|
|
702
702
|
"""
|
|
703
703
|
return pulumi.get(self, "static_ips")
|
|
704
704
|
|
|
@@ -722,7 +722,7 @@ class _PgState:
|
|
|
722
722
|
@pulumi.getter(name="techEmails")
|
|
723
723
|
def tech_emails(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['PgTechEmailArgs']]]]:
|
|
724
724
|
"""
|
|
725
|
-
|
|
725
|
+
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.
|
|
726
726
|
"""
|
|
727
727
|
return pulumi.get(self, "tech_emails")
|
|
728
728
|
|
|
@@ -771,7 +771,7 @@ class Pg(pulumi.CustomResource):
|
|
|
771
771
|
## Import
|
|
772
772
|
|
|
773
773
|
```sh
|
|
774
|
-
$ pulumi import aiven:index/pg:Pg pg
|
|
774
|
+
$ pulumi import aiven:index/pg:Pg pg PROJECT/SERVICE_NAME
|
|
775
775
|
```
|
|
776
776
|
|
|
777
777
|
:param str resource_name: The name of the resource.
|
|
@@ -781,16 +781,16 @@ class Pg(pulumi.CustomResource):
|
|
|
781
781
|
: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.
|
|
782
782
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
783
783
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
784
|
-
:param pulumi.Input[pulumi.InputType['PgPgArgs']] pg:
|
|
784
|
+
:param pulumi.Input[pulumi.InputType['PgPgArgs']] pg: PostgreSQL specific server provided values
|
|
785
785
|
:param pulumi.Input[pulumi.InputType['PgPgUserConfigArgs']] pg_user_config: Pg user configurable settings
|
|
786
786
|
: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).
|
|
787
|
-
:param pulumi.Input[str] project:
|
|
787
|
+
: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.
|
|
788
788
|
: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.
|
|
789
789
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['PgServiceIntegrationArgs']]]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
790
790
|
: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.
|
|
791
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips:
|
|
791
|
+
: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
|
|
792
792
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['PgTagArgs']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
793
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['PgTechEmailArgs']]]] tech_emails:
|
|
793
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['PgTechEmailArgs']]]] 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.
|
|
794
794
|
: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.
|
|
795
795
|
"""
|
|
796
796
|
...
|
|
@@ -805,7 +805,7 @@ class Pg(pulumi.CustomResource):
|
|
|
805
805
|
## Import
|
|
806
806
|
|
|
807
807
|
```sh
|
|
808
|
-
$ pulumi import aiven:index/pg:Pg pg
|
|
808
|
+
$ pulumi import aiven:index/pg:Pg pg PROJECT/SERVICE_NAME
|
|
809
809
|
```
|
|
810
810
|
|
|
811
811
|
:param str resource_name: The name of the resource.
|
|
@@ -937,10 +937,10 @@ class Pg(pulumi.CustomResource):
|
|
|
937
937
|
:param pulumi.Input[str] disk_space_used: Disk space that service is currently using
|
|
938
938
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
939
939
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
940
|
-
:param pulumi.Input[pulumi.InputType['PgPgArgs']] pg:
|
|
940
|
+
:param pulumi.Input[pulumi.InputType['PgPgArgs']] pg: PostgreSQL specific server provided values
|
|
941
941
|
:param pulumi.Input[pulumi.InputType['PgPgUserConfigArgs']] pg_user_config: Pg user configurable settings
|
|
942
942
|
: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).
|
|
943
|
-
:param pulumi.Input[str] project:
|
|
943
|
+
: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.
|
|
944
944
|
: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.
|
|
945
945
|
:param pulumi.Input[str] service_host: The hostname of the service.
|
|
946
946
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['PgServiceIntegrationArgs']]]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
@@ -951,9 +951,9 @@ class Pg(pulumi.CustomResource):
|
|
|
951
951
|
:param pulumi.Input[str] service_uri: URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
952
952
|
:param pulumi.Input[str] service_username: Username used for connecting to the service, if applicable
|
|
953
953
|
:param pulumi.Input[str] state: Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
954
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips:
|
|
954
|
+
: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
|
|
955
955
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['PgTagArgs']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
956
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['PgTechEmailArgs']]]] tech_emails:
|
|
956
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['PgTechEmailArgs']]]] 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.
|
|
957
957
|
: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.
|
|
958
958
|
"""
|
|
959
959
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -1077,7 +1077,7 @@ class Pg(pulumi.CustomResource):
|
|
|
1077
1077
|
@pulumi.getter
|
|
1078
1078
|
def pg(self) -> pulumi.Output['outputs.PgPg']:
|
|
1079
1079
|
"""
|
|
1080
|
-
|
|
1080
|
+
PostgreSQL specific server provided values
|
|
1081
1081
|
"""
|
|
1082
1082
|
return pulumi.get(self, "pg")
|
|
1083
1083
|
|
|
@@ -1101,7 +1101,7 @@ class Pg(pulumi.CustomResource):
|
|
|
1101
1101
|
@pulumi.getter
|
|
1102
1102
|
def project(self) -> pulumi.Output[str]:
|
|
1103
1103
|
"""
|
|
1104
|
-
|
|
1104
|
+
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.
|
|
1105
1105
|
"""
|
|
1106
1106
|
return pulumi.get(self, "project")
|
|
1107
1107
|
|
|
@@ -1189,7 +1189,7 @@ class Pg(pulumi.CustomResource):
|
|
|
1189
1189
|
@pulumi.getter(name="staticIps")
|
|
1190
1190
|
def static_ips(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
1191
1191
|
"""
|
|
1192
|
-
|
|
1192
|
+
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
|
|
1193
1193
|
"""
|
|
1194
1194
|
return pulumi.get(self, "static_ips")
|
|
1195
1195
|
|
|
@@ -1205,7 +1205,7 @@ class Pg(pulumi.CustomResource):
|
|
|
1205
1205
|
@pulumi.getter(name="techEmails")
|
|
1206
1206
|
def tech_emails(self) -> pulumi.Output[Optional[Sequence['outputs.PgTechEmail']]]:
|
|
1207
1207
|
"""
|
|
1208
|
-
|
|
1208
|
+
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.
|
|
1209
1209
|
"""
|
|
1210
1210
|
return pulumi.get(self, "tech_emails")
|
|
1211
1211
|
|
pulumi_aiven/pg_database.py
CHANGED
|
@@ -22,11 +22,11 @@ class PgDatabaseArgs:
|
|
|
22
22
|
termination_protection: Optional[pulumi.Input[bool]] = None):
|
|
23
23
|
"""
|
|
24
24
|
The set of arguments for constructing a PgDatabase resource.
|
|
25
|
-
:param pulumi.Input[str] database_name: The name of the service database.
|
|
26
|
-
:param pulumi.Input[str] project:
|
|
27
|
-
:param pulumi.Input[str] service_name:
|
|
28
|
-
:param pulumi.Input[str] lc_collate: Default string sort order (`LC_COLLATE`) of the database. The default value is `en_US.UTF-8`.
|
|
29
|
-
:param pulumi.Input[str] lc_ctype: Default character classification (`LC_CTYPE`) of the database. The default value is `en_US.UTF-8`.
|
|
25
|
+
:param pulumi.Input[str] database_name: The name of the service database. Changing this property forces recreation of the resource.
|
|
26
|
+
: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.
|
|
27
|
+
:param pulumi.Input[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.
|
|
28
|
+
:param pulumi.Input[str] lc_collate: 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.
|
|
29
|
+
:param pulumi.Input[str] lc_ctype: Default character classification (`LC_CTYPE`) of the database. The default value is `en_US.UTF-8`. Changing this property forces recreation of the resource.
|
|
30
30
|
:param pulumi.Input[bool] termination_protection: It is a Terraform client-side deletion protections, which prevents the database from being deleted by Terraform. It is
|
|
31
31
|
recommended to enable this for any production databases containing critical data. The default value is `false`.
|
|
32
32
|
"""
|
|
@@ -44,7 +44,7 @@ class PgDatabaseArgs:
|
|
|
44
44
|
@pulumi.getter(name="databaseName")
|
|
45
45
|
def database_name(self) -> pulumi.Input[str]:
|
|
46
46
|
"""
|
|
47
|
-
The name of the service database.
|
|
47
|
+
The name of the service database. Changing this property forces recreation of the resource.
|
|
48
48
|
"""
|
|
49
49
|
return pulumi.get(self, "database_name")
|
|
50
50
|
|
|
@@ -56,7 +56,7 @@ class PgDatabaseArgs:
|
|
|
56
56
|
@pulumi.getter
|
|
57
57
|
def project(self) -> pulumi.Input[str]:
|
|
58
58
|
"""
|
|
59
|
-
|
|
59
|
+
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.
|
|
60
60
|
"""
|
|
61
61
|
return pulumi.get(self, "project")
|
|
62
62
|
|
|
@@ -68,7 +68,7 @@ class PgDatabaseArgs:
|
|
|
68
68
|
@pulumi.getter(name="serviceName")
|
|
69
69
|
def service_name(self) -> pulumi.Input[str]:
|
|
70
70
|
"""
|
|
71
|
-
|
|
71
|
+
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.
|
|
72
72
|
"""
|
|
73
73
|
return pulumi.get(self, "service_name")
|
|
74
74
|
|
|
@@ -80,7 +80,7 @@ class PgDatabaseArgs:
|
|
|
80
80
|
@pulumi.getter(name="lcCollate")
|
|
81
81
|
def lc_collate(self) -> Optional[pulumi.Input[str]]:
|
|
82
82
|
"""
|
|
83
|
-
Default string sort order (`LC_COLLATE`) of the database. The default value is `en_US.UTF-8`.
|
|
83
|
+
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.
|
|
84
84
|
"""
|
|
85
85
|
return pulumi.get(self, "lc_collate")
|
|
86
86
|
|
|
@@ -92,7 +92,7 @@ class PgDatabaseArgs:
|
|
|
92
92
|
@pulumi.getter(name="lcCtype")
|
|
93
93
|
def lc_ctype(self) -> Optional[pulumi.Input[str]]:
|
|
94
94
|
"""
|
|
95
|
-
Default character classification (`LC_CTYPE`) of the database. The default value is `en_US.UTF-8`.
|
|
95
|
+
Default character classification (`LC_CTYPE`) of the database. The default value is `en_US.UTF-8`. Changing this property forces recreation of the resource.
|
|
96
96
|
"""
|
|
97
97
|
return pulumi.get(self, "lc_ctype")
|
|
98
98
|
|
|
@@ -125,11 +125,11 @@ class _PgDatabaseState:
|
|
|
125
125
|
termination_protection: Optional[pulumi.Input[bool]] = None):
|
|
126
126
|
"""
|
|
127
127
|
Input properties used for looking up and filtering PgDatabase resources.
|
|
128
|
-
:param pulumi.Input[str] database_name: The name of the service database.
|
|
129
|
-
:param pulumi.Input[str] lc_collate: Default string sort order (`LC_COLLATE`) of the database. The default value is `en_US.UTF-8`.
|
|
130
|
-
:param pulumi.Input[str] lc_ctype: Default character classification (`LC_CTYPE`) of the database. The default value is `en_US.UTF-8`.
|
|
131
|
-
:param pulumi.Input[str] project:
|
|
132
|
-
:param pulumi.Input[str] service_name:
|
|
128
|
+
:param pulumi.Input[str] database_name: The name of the service database. Changing this property forces recreation of the resource.
|
|
129
|
+
:param pulumi.Input[str] lc_collate: 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.
|
|
130
|
+
:param pulumi.Input[str] lc_ctype: Default character classification (`LC_CTYPE`) of the database. The default value is `en_US.UTF-8`. Changing this property forces recreation of the resource.
|
|
131
|
+
: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.
|
|
132
|
+
:param pulumi.Input[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.
|
|
133
133
|
:param pulumi.Input[bool] termination_protection: It is a Terraform client-side deletion protections, which prevents the database from being deleted by Terraform. It is
|
|
134
134
|
recommended to enable this for any production databases containing critical data. The default value is `false`.
|
|
135
135
|
"""
|
|
@@ -150,7 +150,7 @@ class _PgDatabaseState:
|
|
|
150
150
|
@pulumi.getter(name="databaseName")
|
|
151
151
|
def database_name(self) -> Optional[pulumi.Input[str]]:
|
|
152
152
|
"""
|
|
153
|
-
The name of the service database.
|
|
153
|
+
The name of the service database. Changing this property forces recreation of the resource.
|
|
154
154
|
"""
|
|
155
155
|
return pulumi.get(self, "database_name")
|
|
156
156
|
|
|
@@ -162,7 +162,7 @@ class _PgDatabaseState:
|
|
|
162
162
|
@pulumi.getter(name="lcCollate")
|
|
163
163
|
def lc_collate(self) -> Optional[pulumi.Input[str]]:
|
|
164
164
|
"""
|
|
165
|
-
Default string sort order (`LC_COLLATE`) of the database. The default value is `en_US.UTF-8`.
|
|
165
|
+
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.
|
|
166
166
|
"""
|
|
167
167
|
return pulumi.get(self, "lc_collate")
|
|
168
168
|
|
|
@@ -174,7 +174,7 @@ class _PgDatabaseState:
|
|
|
174
174
|
@pulumi.getter(name="lcCtype")
|
|
175
175
|
def lc_ctype(self) -> Optional[pulumi.Input[str]]:
|
|
176
176
|
"""
|
|
177
|
-
Default character classification (`LC_CTYPE`) of the database. The default value is `en_US.UTF-8`.
|
|
177
|
+
Default character classification (`LC_CTYPE`) of the database. The default value is `en_US.UTF-8`. Changing this property forces recreation of the resource.
|
|
178
178
|
"""
|
|
179
179
|
return pulumi.get(self, "lc_ctype")
|
|
180
180
|
|
|
@@ -186,7 +186,7 @@ class _PgDatabaseState:
|
|
|
186
186
|
@pulumi.getter
|
|
187
187
|
def project(self) -> Optional[pulumi.Input[str]]:
|
|
188
188
|
"""
|
|
189
|
-
|
|
189
|
+
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.
|
|
190
190
|
"""
|
|
191
191
|
return pulumi.get(self, "project")
|
|
192
192
|
|
|
@@ -198,7 +198,7 @@ class _PgDatabaseState:
|
|
|
198
198
|
@pulumi.getter(name="serviceName")
|
|
199
199
|
def service_name(self) -> Optional[pulumi.Input[str]]:
|
|
200
200
|
"""
|
|
201
|
-
|
|
201
|
+
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.
|
|
202
202
|
"""
|
|
203
203
|
return pulumi.get(self, "service_name")
|
|
204
204
|
|
|
@@ -237,31 +237,29 @@ class PgDatabase(pulumi.CustomResource):
|
|
|
237
237
|
|
|
238
238
|
## Example Usage
|
|
239
239
|
|
|
240
|
-
<!--Start PulumiCodeChooser -->
|
|
241
240
|
```python
|
|
242
241
|
import pulumi
|
|
243
242
|
import pulumi_aiven as aiven
|
|
244
243
|
|
|
245
244
|
mydatabase = aiven.PgDatabase("mydatabase",
|
|
246
|
-
project=
|
|
247
|
-
service_name=
|
|
245
|
+
project=myproject["project"],
|
|
246
|
+
service_name=mypg["serviceName"],
|
|
248
247
|
database_name="<DATABASE_NAME>")
|
|
249
248
|
```
|
|
250
|
-
<!--End PulumiCodeChooser -->
|
|
251
249
|
|
|
252
250
|
## Import
|
|
253
251
|
|
|
254
252
|
```sh
|
|
255
|
-
$ pulumi import aiven:index/pgDatabase:PgDatabase mydatabase
|
|
253
|
+
$ pulumi import aiven:index/pgDatabase:PgDatabase mydatabase PROJECT/SERVICE_NAME/DATABASE_NAME
|
|
256
254
|
```
|
|
257
255
|
|
|
258
256
|
:param str resource_name: The name of the resource.
|
|
259
257
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
260
|
-
:param pulumi.Input[str] database_name: The name of the service database.
|
|
261
|
-
:param pulumi.Input[str] lc_collate: Default string sort order (`LC_COLLATE`) of the database. The default value is `en_US.UTF-8`.
|
|
262
|
-
:param pulumi.Input[str] lc_ctype: Default character classification (`LC_CTYPE`) of the database. The default value is `en_US.UTF-8`.
|
|
263
|
-
:param pulumi.Input[str] project:
|
|
264
|
-
:param pulumi.Input[str] service_name:
|
|
258
|
+
:param pulumi.Input[str] database_name: The name of the service database. Changing this property forces recreation of the resource.
|
|
259
|
+
:param pulumi.Input[str] lc_collate: 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.
|
|
260
|
+
:param pulumi.Input[str] lc_ctype: Default character classification (`LC_CTYPE`) of the database. The default value is `en_US.UTF-8`. Changing this property forces recreation of the resource.
|
|
261
|
+
: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.
|
|
262
|
+
:param pulumi.Input[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.
|
|
265
263
|
:param pulumi.Input[bool] termination_protection: It is a Terraform client-side deletion protections, which prevents the database from being deleted by Terraform. It is
|
|
266
264
|
recommended to enable this for any production databases containing critical data. The default value is `false`.
|
|
267
265
|
"""
|
|
@@ -276,22 +274,20 @@ class PgDatabase(pulumi.CustomResource):
|
|
|
276
274
|
|
|
277
275
|
## Example Usage
|
|
278
276
|
|
|
279
|
-
<!--Start PulumiCodeChooser -->
|
|
280
277
|
```python
|
|
281
278
|
import pulumi
|
|
282
279
|
import pulumi_aiven as aiven
|
|
283
280
|
|
|
284
281
|
mydatabase = aiven.PgDatabase("mydatabase",
|
|
285
|
-
project=
|
|
286
|
-
service_name=
|
|
282
|
+
project=myproject["project"],
|
|
283
|
+
service_name=mypg["serviceName"],
|
|
287
284
|
database_name="<DATABASE_NAME>")
|
|
288
285
|
```
|
|
289
|
-
<!--End PulumiCodeChooser -->
|
|
290
286
|
|
|
291
287
|
## Import
|
|
292
288
|
|
|
293
289
|
```sh
|
|
294
|
-
$ pulumi import aiven:index/pgDatabase:PgDatabase mydatabase
|
|
290
|
+
$ pulumi import aiven:index/pgDatabase:PgDatabase mydatabase PROJECT/SERVICE_NAME/DATABASE_NAME
|
|
295
291
|
```
|
|
296
292
|
|
|
297
293
|
:param str resource_name: The name of the resource.
|
|
@@ -359,11 +355,11 @@ class PgDatabase(pulumi.CustomResource):
|
|
|
359
355
|
:param str resource_name: The unique name of the resulting resource.
|
|
360
356
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
361
357
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
362
|
-
:param pulumi.Input[str] database_name: The name of the service database.
|
|
363
|
-
:param pulumi.Input[str] lc_collate: Default string sort order (`LC_COLLATE`) of the database. The default value is `en_US.UTF-8`.
|
|
364
|
-
:param pulumi.Input[str] lc_ctype: Default character classification (`LC_CTYPE`) of the database. The default value is `en_US.UTF-8`.
|
|
365
|
-
:param pulumi.Input[str] project:
|
|
366
|
-
:param pulumi.Input[str] service_name:
|
|
358
|
+
:param pulumi.Input[str] database_name: The name of the service database. Changing this property forces recreation of the resource.
|
|
359
|
+
:param pulumi.Input[str] lc_collate: 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.
|
|
360
|
+
:param pulumi.Input[str] lc_ctype: Default character classification (`LC_CTYPE`) of the database. The default value is `en_US.UTF-8`. Changing this property forces recreation of the resource.
|
|
361
|
+
: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.
|
|
362
|
+
:param pulumi.Input[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.
|
|
367
363
|
:param pulumi.Input[bool] termination_protection: It is a Terraform client-side deletion protections, which prevents the database from being deleted by Terraform. It is
|
|
368
364
|
recommended to enable this for any production databases containing critical data. The default value is `false`.
|
|
369
365
|
"""
|
|
@@ -383,7 +379,7 @@ class PgDatabase(pulumi.CustomResource):
|
|
|
383
379
|
@pulumi.getter(name="databaseName")
|
|
384
380
|
def database_name(self) -> pulumi.Output[str]:
|
|
385
381
|
"""
|
|
386
|
-
The name of the service database.
|
|
382
|
+
The name of the service database. Changing this property forces recreation of the resource.
|
|
387
383
|
"""
|
|
388
384
|
return pulumi.get(self, "database_name")
|
|
389
385
|
|
|
@@ -391,7 +387,7 @@ class PgDatabase(pulumi.CustomResource):
|
|
|
391
387
|
@pulumi.getter(name="lcCollate")
|
|
392
388
|
def lc_collate(self) -> pulumi.Output[Optional[str]]:
|
|
393
389
|
"""
|
|
394
|
-
Default string sort order (`LC_COLLATE`) of the database. The default value is `en_US.UTF-8`.
|
|
390
|
+
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.
|
|
395
391
|
"""
|
|
396
392
|
return pulumi.get(self, "lc_collate")
|
|
397
393
|
|
|
@@ -399,7 +395,7 @@ class PgDatabase(pulumi.CustomResource):
|
|
|
399
395
|
@pulumi.getter(name="lcCtype")
|
|
400
396
|
def lc_ctype(self) -> pulumi.Output[Optional[str]]:
|
|
401
397
|
"""
|
|
402
|
-
Default character classification (`LC_CTYPE`) of the database. The default value is `en_US.UTF-8`.
|
|
398
|
+
Default character classification (`LC_CTYPE`) of the database. The default value is `en_US.UTF-8`. Changing this property forces recreation of the resource.
|
|
403
399
|
"""
|
|
404
400
|
return pulumi.get(self, "lc_ctype")
|
|
405
401
|
|
|
@@ -407,7 +403,7 @@ class PgDatabase(pulumi.CustomResource):
|
|
|
407
403
|
@pulumi.getter
|
|
408
404
|
def project(self) -> pulumi.Output[str]:
|
|
409
405
|
"""
|
|
410
|
-
|
|
406
|
+
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.
|
|
411
407
|
"""
|
|
412
408
|
return pulumi.get(self, "project")
|
|
413
409
|
|
|
@@ -415,7 +411,7 @@ class PgDatabase(pulumi.CustomResource):
|
|
|
415
411
|
@pulumi.getter(name="serviceName")
|
|
416
412
|
def service_name(self) -> pulumi.Output[str]:
|
|
417
413
|
"""
|
|
418
|
-
|
|
414
|
+
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.
|
|
419
415
|
"""
|
|
420
416
|
return pulumi.get(self, "service_name")
|
|
421
417
|
|