pulumi-aiven 6.14.0__py3-none-any.whl → 6.14.0a1711602990__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-aiven might be problematic. Click here for more details.
- pulumi_aiven/_inputs.py +262 -200
- pulumi_aiven/account.py +6 -2
- pulumi_aiven/account_authentication.py +2 -2
- pulumi_aiven/account_team.py +6 -6
- pulumi_aiven/account_team_member.py +10 -6
- pulumi_aiven/account_team_project.py +12 -12
- pulumi_aiven/aws_privatelink.py +22 -18
- pulumi_aiven/aws_vpc_peering_connection.py +12 -8
- pulumi_aiven/azure_privatelink.py +22 -18
- pulumi_aiven/azure_privatelink_connection_approval.py +14 -112
- pulumi_aiven/azure_vpc_peering_connection.py +10 -6
- pulumi_aiven/billing_group.py +18 -18
- pulumi_aiven/cassandra.py +57 -25
- pulumi_aiven/cassandra_user.py +22 -18
- pulumi_aiven/clickhouse.py +57 -25
- pulumi_aiven/clickhouse_database.py +26 -24
- pulumi_aiven/clickhouse_grant.py +37 -35
- pulumi_aiven/clickhouse_role.py +20 -16
- pulumi_aiven/clickhouse_user.py +22 -18
- pulumi_aiven/connection_pool.py +28 -24
- pulumi_aiven/dragonfly.py +263 -124
- pulumi_aiven/flink.py +36 -32
- pulumi_aiven/flink_application.py +24 -22
- pulumi_aiven/flink_application_deployment.py +21 -21
- pulumi_aiven/flink_application_version.py +14 -96
- pulumi_aiven/gcp_privatelink.py +21 -21
- pulumi_aiven/gcp_privatelink_connection_approval.py +21 -21
- pulumi_aiven/gcp_vpc_peering_connection.py +8 -4
- pulumi_aiven/get_account.py +4 -0
- pulumi_aiven/get_aws_privatelink.py +14 -10
- pulumi_aiven/get_aws_vpc_peering_connection.py +10 -6
- pulumi_aiven/get_azure_privatelink.py +14 -10
- pulumi_aiven/get_azure_vpc_peering_connection.py +6 -2
- pulumi_aiven/get_billing_group.py +2 -2
- pulumi_aiven/get_cassanda.py +24 -7
- pulumi_aiven/get_cassandra.py +24 -7
- pulumi_aiven/get_cassandra_user.py +14 -10
- pulumi_aiven/get_clickhouse.py +24 -7
- pulumi_aiven/get_clickhouse_database.py +14 -10
- pulumi_aiven/get_clickhouse_user.py +14 -10
- pulumi_aiven/get_connection_pool.py +14 -10
- pulumi_aiven/get_dragonfly.py +20 -27
- pulumi_aiven/get_flink.py +10 -6
- pulumi_aiven/get_flink_application.py +12 -8
- pulumi_aiven/get_flink_application_version.py +12 -8
- pulumi_aiven/get_gcp_vpc_peering_connection.py +6 -2
- pulumi_aiven/get_grafana.py +24 -7
- pulumi_aiven/get_kafka.py +17 -13
- pulumi_aiven/get_kafka_acl.py +14 -10
- pulumi_aiven/get_kafka_connect.py +24 -7
- pulumi_aiven/get_kafka_connector.py +14 -10
- pulumi_aiven/get_kafka_mirror_maker.py +24 -7
- pulumi_aiven/get_kafka_schema.py +14 -10
- pulumi_aiven/get_kafka_schema_configuration.py +14 -10
- pulumi_aiven/get_kafka_schema_registry_acl.py +6 -6
- pulumi_aiven/get_kafka_topic.py +20 -16
- pulumi_aiven/get_kafka_user.py +14 -10
- pulumi_aiven/get_m3_aggregator.py +24 -7
- pulumi_aiven/get_m3_db.py +24 -7
- pulumi_aiven/get_m3db_user.py +14 -10
- pulumi_aiven/get_mirror_maker_replication_flow.py +18 -14
- pulumi_aiven/get_my_sql.py +24 -7
- pulumi_aiven/get_mysql_database.py +14 -10
- pulumi_aiven/get_mysql_user.py +14 -10
- pulumi_aiven/get_open_search.py +10 -6
- pulumi_aiven/get_open_search_acl_config.py +14 -10
- pulumi_aiven/get_open_search_acl_rule.py +14 -10
- pulumi_aiven/get_opensearch_security_plugin_config.py +14 -10
- pulumi_aiven/get_opensearch_user.py +14 -10
- pulumi_aiven/get_organization.py +4 -0
- pulumi_aiven/get_organization_user_group.py +6 -2
- pulumi_aiven/get_pg.py +10 -6
- pulumi_aiven/get_pg_database.py +14 -10
- pulumi_aiven/get_pg_user.py +14 -10
- pulumi_aiven/get_project.py +21 -17
- pulumi_aiven/get_project_user.py +13 -9
- pulumi_aiven/get_project_vpc.py +6 -2
- pulumi_aiven/get_redis.py +24 -7
- pulumi_aiven/get_redis_user.py +14 -10
- pulumi_aiven/get_service_component.py +8 -4
- pulumi_aiven/get_service_integration.py +33 -19
- pulumi_aiven/get_service_integration_endpoint.py +6 -2
- pulumi_aiven/get_transit_gateway_vpc_attachment.py +6 -2
- pulumi_aiven/grafana.py +267 -82
- pulumi_aiven/influx_db.py +21 -21
- pulumi_aiven/influxdb_database.py +21 -21
- pulumi_aiven/influxdb_user.py +21 -21
- pulumi_aiven/kafka.py +54 -50
- pulumi_aiven/kafka_acl.py +24 -20
- pulumi_aiven/kafka_connect.py +267 -80
- pulumi_aiven/kafka_connector.py +30 -26
- pulumi_aiven/kafka_mirror_maker.py +267 -80
- pulumi_aiven/kafka_schema.py +22 -18
- pulumi_aiven/kafka_schema_configuration.py +24 -20
- pulumi_aiven/kafka_schema_registry_acl.py +14 -54
- pulumi_aiven/kafka_topic.py +46 -84
- pulumi_aiven/kafka_user.py +22 -18
- pulumi_aiven/m3_aggregator.py +267 -80
- pulumi_aiven/m3_db.py +267 -80
- pulumi_aiven/m3db_user.py +20 -16
- pulumi_aiven/mirror_maker_replication_flow.py +26 -22
- pulumi_aiven/my_sql.py +267 -80
- pulumi_aiven/mysql_database.py +24 -20
- pulumi_aiven/mysql_user.py +22 -18
- pulumi_aiven/open_search.py +31 -27
- pulumi_aiven/open_search_acl_config.py +36 -28
- pulumi_aiven/open_search_acl_rule.py +40 -36
- pulumi_aiven/opensearch_security_plugin_config.py +32 -28
- pulumi_aiven/opensearch_user.py +22 -18
- pulumi_aiven/organization.py +6 -2
- pulumi_aiven/organization_group_project.py +0 -46
- pulumi_aiven/organization_user.py +20 -2
- pulumi_aiven/organization_user_group.py +6 -4
- pulumi_aiven/organization_user_group_member.py +10 -8
- pulumi_aiven/organizational_unit.py +6 -6
- pulumi_aiven/outputs.py +390 -271
- pulumi_aiven/pg.py +30 -30
- pulumi_aiven/pg_database.py +24 -20
- pulumi_aiven/pg_user.py +22 -18
- pulumi_aiven/project.py +79 -75
- pulumi_aiven/project_user.py +28 -24
- pulumi_aiven/project_vpc.py +7 -31
- pulumi_aiven/redis.py +267 -80
- pulumi_aiven/redis_user.py +22 -18
- pulumi_aiven/service_integration.py +58 -54
- pulumi_aiven/static_ip.py +7 -7
- pulumi_aiven/transit_gateway_vpc_attachment.py +8 -4
- {pulumi_aiven-6.14.0.dist-info → pulumi_aiven-6.14.0a1711602990.dist-info}/METADATA +1 -1
- pulumi_aiven-6.14.0a1711602990.dist-info/RECORD +150 -0
- pulumi_aiven-6.14.0.dist-info/RECORD +0 -150
- {pulumi_aiven-6.14.0.dist-info → pulumi_aiven-6.14.0a1711602990.dist-info}/WHEEL +0 -0
- {pulumi_aiven-6.14.0.dist-info → pulumi_aiven-6.14.0a1711602990.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: Identifies 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.conf configuration 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: Use static public IP addresses.
|
|
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: Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service instability.
|
|
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
|
+
Identifies 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.conf configuration 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
|
+
Use static public IP addresses.
|
|
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
|
+
Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service instability.
|
|
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.conf configuration 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: Identifies 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: Use static public IP addresses.
|
|
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: Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service instability.
|
|
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.conf configuration 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
|
+
Identifies 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
|
+
Use static public IP addresses.
|
|
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
|
+
Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service instability.
|
|
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.conf configuration 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: Identifies 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: Use static public IP addresses.
|
|
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: Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service instability.
|
|
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.conf configuration 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: Identifies 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: Use static public IP addresses.
|
|
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: Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service instability.
|
|
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.conf configuration 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
|
+
Identifies 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
|
+
Use static public IP addresses.
|
|
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
|
+
Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service instability.
|
|
1209
1209
|
"""
|
|
1210
1210
|
return pulumi.get(self, "tech_emails")
|
|
1211
1211
|
|
pulumi_aiven/pg_database.py
CHANGED
|
@@ -23,8 +23,8 @@ class PgDatabaseArgs:
|
|
|
23
23
|
"""
|
|
24
24
|
The set of arguments for constructing a PgDatabase resource.
|
|
25
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:
|
|
27
|
-
:param pulumi.Input[str] service_name:
|
|
26
|
+
:param pulumi.Input[str] project: Identifies 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: Specifies 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
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
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
|
|
@@ -56,7 +56,7 @@ class PgDatabaseArgs:
|
|
|
56
56
|
@pulumi.getter
|
|
57
57
|
def project(self) -> pulumi.Input[str]:
|
|
58
58
|
"""
|
|
59
|
-
|
|
59
|
+
Identifies 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
|
+
Specifies 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
|
|
|
@@ -128,8 +128,8 @@ class _PgDatabaseState:
|
|
|
128
128
|
:param pulumi.Input[str] database_name: The name of the service database. Changing this property forces recreation of the resource.
|
|
129
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
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:
|
|
132
|
-
:param pulumi.Input[str] service_name:
|
|
131
|
+
:param pulumi.Input[str] project: Identifies 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: Specifies 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
|
"""
|
|
@@ -186,7 +186,7 @@ class _PgDatabaseState:
|
|
|
186
186
|
@pulumi.getter
|
|
187
187
|
def project(self) -> Optional[pulumi.Input[str]]:
|
|
188
188
|
"""
|
|
189
|
-
|
|
189
|
+
Identifies 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
|
+
Specifies 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,20 +237,22 @@ class PgDatabase(pulumi.CustomResource):
|
|
|
237
237
|
|
|
238
238
|
## Example Usage
|
|
239
239
|
|
|
240
|
+
<!--Start PulumiCodeChooser -->
|
|
240
241
|
```python
|
|
241
242
|
import pulumi
|
|
242
243
|
import pulumi_aiven as aiven
|
|
243
244
|
|
|
244
245
|
mydatabase = aiven.PgDatabase("mydatabase",
|
|
245
|
-
project=myproject["project"],
|
|
246
|
-
service_name=mypg["
|
|
246
|
+
project=aiven_project["myproject"]["project"],
|
|
247
|
+
service_name=aiven_pg["mypg"]["service_name"],
|
|
247
248
|
database_name="<DATABASE_NAME>")
|
|
248
249
|
```
|
|
250
|
+
<!--End PulumiCodeChooser -->
|
|
249
251
|
|
|
250
252
|
## Import
|
|
251
253
|
|
|
252
254
|
```sh
|
|
253
|
-
$ pulumi import aiven:index/pgDatabase:PgDatabase mydatabase
|
|
255
|
+
$ pulumi import aiven:index/pgDatabase:PgDatabase mydatabase project/service_name/database_name
|
|
254
256
|
```
|
|
255
257
|
|
|
256
258
|
:param str resource_name: The name of the resource.
|
|
@@ -258,8 +260,8 @@ class PgDatabase(pulumi.CustomResource):
|
|
|
258
260
|
:param pulumi.Input[str] database_name: The name of the service database. Changing this property forces recreation of the resource.
|
|
259
261
|
: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
262
|
: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:
|
|
262
|
-
:param pulumi.Input[str] service_name:
|
|
263
|
+
:param pulumi.Input[str] project: Identifies 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.
|
|
264
|
+
:param pulumi.Input[str] service_name: Specifies 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.
|
|
263
265
|
: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
|
|
264
266
|
recommended to enable this for any production databases containing critical data. The default value is `false`.
|
|
265
267
|
"""
|
|
@@ -274,20 +276,22 @@ class PgDatabase(pulumi.CustomResource):
|
|
|
274
276
|
|
|
275
277
|
## Example Usage
|
|
276
278
|
|
|
279
|
+
<!--Start PulumiCodeChooser -->
|
|
277
280
|
```python
|
|
278
281
|
import pulumi
|
|
279
282
|
import pulumi_aiven as aiven
|
|
280
283
|
|
|
281
284
|
mydatabase = aiven.PgDatabase("mydatabase",
|
|
282
|
-
project=myproject["project"],
|
|
283
|
-
service_name=mypg["
|
|
285
|
+
project=aiven_project["myproject"]["project"],
|
|
286
|
+
service_name=aiven_pg["mypg"]["service_name"],
|
|
284
287
|
database_name="<DATABASE_NAME>")
|
|
285
288
|
```
|
|
289
|
+
<!--End PulumiCodeChooser -->
|
|
286
290
|
|
|
287
291
|
## Import
|
|
288
292
|
|
|
289
293
|
```sh
|
|
290
|
-
$ pulumi import aiven:index/pgDatabase:PgDatabase mydatabase
|
|
294
|
+
$ pulumi import aiven:index/pgDatabase:PgDatabase mydatabase project/service_name/database_name
|
|
291
295
|
```
|
|
292
296
|
|
|
293
297
|
:param str resource_name: The name of the resource.
|
|
@@ -358,8 +362,8 @@ class PgDatabase(pulumi.CustomResource):
|
|
|
358
362
|
:param pulumi.Input[str] database_name: The name of the service database. Changing this property forces recreation of the resource.
|
|
359
363
|
: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
364
|
: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:
|
|
362
|
-
:param pulumi.Input[str] service_name:
|
|
365
|
+
:param pulumi.Input[str] project: Identifies 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.
|
|
366
|
+
:param pulumi.Input[str] service_name: Specifies 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.
|
|
363
367
|
: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
|
|
364
368
|
recommended to enable this for any production databases containing critical data. The default value is `false`.
|
|
365
369
|
"""
|
|
@@ -403,7 +407,7 @@ class PgDatabase(pulumi.CustomResource):
|
|
|
403
407
|
@pulumi.getter
|
|
404
408
|
def project(self) -> pulumi.Output[str]:
|
|
405
409
|
"""
|
|
406
|
-
|
|
410
|
+
Identifies 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
411
|
"""
|
|
408
412
|
return pulumi.get(self, "project")
|
|
409
413
|
|
|
@@ -411,7 +415,7 @@ class PgDatabase(pulumi.CustomResource):
|
|
|
411
415
|
@pulumi.getter(name="serviceName")
|
|
412
416
|
def service_name(self) -> pulumi.Output[str]:
|
|
413
417
|
"""
|
|
414
|
-
|
|
418
|
+
Specifies 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.
|
|
415
419
|
"""
|
|
416
420
|
return pulumi.get(self, "service_name")
|
|
417
421
|
|
pulumi_aiven/pg_user.py
CHANGED
|
@@ -21,8 +21,8 @@ class PgUserArgs:
|
|
|
21
21
|
pg_allow_replication: Optional[pulumi.Input[bool]] = None):
|
|
22
22
|
"""
|
|
23
23
|
The set of arguments for constructing a PgUser resource.
|
|
24
|
-
:param pulumi.Input[str] project:
|
|
25
|
-
:param pulumi.Input[str] service_name:
|
|
24
|
+
:param pulumi.Input[str] project: Identifies 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.
|
|
25
|
+
:param pulumi.Input[str] service_name: Specifies 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.
|
|
26
26
|
:param pulumi.Input[str] username: The actual name of the PG User. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
27
27
|
:param pulumi.Input[str] password: The password of the PG User (not applicable for all services).
|
|
28
28
|
:param pulumi.Input[bool] pg_allow_replication: Defines whether replication is allowed.
|
|
@@ -39,7 +39,7 @@ class PgUserArgs:
|
|
|
39
39
|
@pulumi.getter
|
|
40
40
|
def project(self) -> pulumi.Input[str]:
|
|
41
41
|
"""
|
|
42
|
-
|
|
42
|
+
Identifies 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.
|
|
43
43
|
"""
|
|
44
44
|
return pulumi.get(self, "project")
|
|
45
45
|
|
|
@@ -51,7 +51,7 @@ class PgUserArgs:
|
|
|
51
51
|
@pulumi.getter(name="serviceName")
|
|
52
52
|
def service_name(self) -> pulumi.Input[str]:
|
|
53
53
|
"""
|
|
54
|
-
|
|
54
|
+
Specifies 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.
|
|
55
55
|
"""
|
|
56
56
|
return pulumi.get(self, "service_name")
|
|
57
57
|
|
|
@@ -113,8 +113,8 @@ class _PgUserState:
|
|
|
113
113
|
:param pulumi.Input[str] access_key: Access certificate key for the user
|
|
114
114
|
:param pulumi.Input[str] password: The password of the PG User (not applicable for all services).
|
|
115
115
|
:param pulumi.Input[bool] pg_allow_replication: Defines whether replication is allowed.
|
|
116
|
-
:param pulumi.Input[str] project:
|
|
117
|
-
:param pulumi.Input[str] service_name:
|
|
116
|
+
:param pulumi.Input[str] project: Identifies 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.
|
|
117
|
+
:param pulumi.Input[str] service_name: Specifies 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.
|
|
118
118
|
:param pulumi.Input[str] type: Type of the user account. Tells whether the user is the primary account or a regular account.
|
|
119
119
|
:param pulumi.Input[str] username: The actual name of the PG User. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
120
120
|
"""
|
|
@@ -187,7 +187,7 @@ class _PgUserState:
|
|
|
187
187
|
@pulumi.getter
|
|
188
188
|
def project(self) -> Optional[pulumi.Input[str]]:
|
|
189
189
|
"""
|
|
190
|
-
|
|
190
|
+
Identifies 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.
|
|
191
191
|
"""
|
|
192
192
|
return pulumi.get(self, "project")
|
|
193
193
|
|
|
@@ -199,7 +199,7 @@ class _PgUserState:
|
|
|
199
199
|
@pulumi.getter(name="serviceName")
|
|
200
200
|
def service_name(self) -> Optional[pulumi.Input[str]]:
|
|
201
201
|
"""
|
|
202
|
-
|
|
202
|
+
Specifies 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.
|
|
203
203
|
"""
|
|
204
204
|
return pulumi.get(self, "service_name")
|
|
205
205
|
|
|
@@ -248,29 +248,31 @@ class PgUser(pulumi.CustomResource):
|
|
|
248
248
|
|
|
249
249
|
## Example Usage
|
|
250
250
|
|
|
251
|
+
<!--Start PulumiCodeChooser -->
|
|
251
252
|
```python
|
|
252
253
|
import pulumi
|
|
253
254
|
import pulumi_aiven as aiven
|
|
254
255
|
|
|
255
256
|
foo = aiven.PgUser("foo",
|
|
256
|
-
service_name=bar["
|
|
257
|
+
service_name=aiven_pg["bar"]["service_name"],
|
|
257
258
|
project="my-project",
|
|
258
259
|
username="user-1",
|
|
259
260
|
password="Test$1234")
|
|
260
261
|
```
|
|
262
|
+
<!--End PulumiCodeChooser -->
|
|
261
263
|
|
|
262
264
|
## Import
|
|
263
265
|
|
|
264
266
|
```sh
|
|
265
|
-
$ pulumi import aiven:index/pgUser:PgUser user
|
|
267
|
+
$ pulumi import aiven:index/pgUser:PgUser user project/service_name/username
|
|
266
268
|
```
|
|
267
269
|
|
|
268
270
|
:param str resource_name: The name of the resource.
|
|
269
271
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
270
272
|
:param pulumi.Input[str] password: The password of the PG User (not applicable for all services).
|
|
271
273
|
:param pulumi.Input[bool] pg_allow_replication: Defines whether replication is allowed.
|
|
272
|
-
:param pulumi.Input[str] project:
|
|
273
|
-
:param pulumi.Input[str] service_name:
|
|
274
|
+
:param pulumi.Input[str] project: Identifies 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.
|
|
275
|
+
:param pulumi.Input[str] service_name: Specifies 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.
|
|
274
276
|
:param pulumi.Input[str] username: The actual name of the PG User. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
275
277
|
"""
|
|
276
278
|
...
|
|
@@ -284,21 +286,23 @@ class PgUser(pulumi.CustomResource):
|
|
|
284
286
|
|
|
285
287
|
## Example Usage
|
|
286
288
|
|
|
289
|
+
<!--Start PulumiCodeChooser -->
|
|
287
290
|
```python
|
|
288
291
|
import pulumi
|
|
289
292
|
import pulumi_aiven as aiven
|
|
290
293
|
|
|
291
294
|
foo = aiven.PgUser("foo",
|
|
292
|
-
service_name=bar["
|
|
295
|
+
service_name=aiven_pg["bar"]["service_name"],
|
|
293
296
|
project="my-project",
|
|
294
297
|
username="user-1",
|
|
295
298
|
password="Test$1234")
|
|
296
299
|
```
|
|
300
|
+
<!--End PulumiCodeChooser -->
|
|
297
301
|
|
|
298
302
|
## Import
|
|
299
303
|
|
|
300
304
|
```sh
|
|
301
|
-
$ pulumi import aiven:index/pgUser:PgUser user
|
|
305
|
+
$ pulumi import aiven:index/pgUser:PgUser user project/service_name/username
|
|
302
306
|
```
|
|
303
307
|
|
|
304
308
|
:param str resource_name: The name of the resource.
|
|
@@ -375,8 +379,8 @@ class PgUser(pulumi.CustomResource):
|
|
|
375
379
|
:param pulumi.Input[str] access_key: Access certificate key for the user
|
|
376
380
|
:param pulumi.Input[str] password: The password of the PG User (not applicable for all services).
|
|
377
381
|
:param pulumi.Input[bool] pg_allow_replication: Defines whether replication is allowed.
|
|
378
|
-
:param pulumi.Input[str] project:
|
|
379
|
-
:param pulumi.Input[str] service_name:
|
|
382
|
+
:param pulumi.Input[str] project: Identifies 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.
|
|
383
|
+
:param pulumi.Input[str] service_name: Specifies 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.
|
|
380
384
|
:param pulumi.Input[str] type: Type of the user account. Tells whether the user is the primary account or a regular account.
|
|
381
385
|
:param pulumi.Input[str] username: The actual name of the PG User. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
382
386
|
"""
|
|
@@ -430,7 +434,7 @@ class PgUser(pulumi.CustomResource):
|
|
|
430
434
|
@pulumi.getter
|
|
431
435
|
def project(self) -> pulumi.Output[str]:
|
|
432
436
|
"""
|
|
433
|
-
|
|
437
|
+
Identifies 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.
|
|
434
438
|
"""
|
|
435
439
|
return pulumi.get(self, "project")
|
|
436
440
|
|
|
@@ -438,7 +442,7 @@ class PgUser(pulumi.CustomResource):
|
|
|
438
442
|
@pulumi.getter(name="serviceName")
|
|
439
443
|
def service_name(self) -> pulumi.Output[str]:
|
|
440
444
|
"""
|
|
441
|
-
|
|
445
|
+
Specifies 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.
|
|
442
446
|
"""
|
|
443
447
|
return pulumi.get(self, "service_name")
|
|
444
448
|
|