pulumi-aiven 6.13.0a1711361534__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/_inputs.py +200 -262
- pulumi_aiven/account.py +2 -6
- pulumi_aiven/account_authentication.py +2 -2
- pulumi_aiven/account_team.py +6 -6
- pulumi_aiven/account_team_member.py +6 -10
- pulumi_aiven/account_team_project.py +12 -12
- pulumi_aiven/aws_privatelink.py +18 -22
- pulumi_aiven/aws_vpc_peering_connection.py +8 -12
- pulumi_aiven/azure_privatelink.py +18 -22
- pulumi_aiven/azure_privatelink_connection_approval.py +112 -14
- pulumi_aiven/azure_vpc_peering_connection.py +6 -10
- pulumi_aiven/billing_group.py +18 -18
- pulumi_aiven/cassandra.py +25 -57
- pulumi_aiven/cassandra_user.py +18 -22
- pulumi_aiven/clickhouse.py +25 -57
- pulumi_aiven/clickhouse_database.py +24 -26
- pulumi_aiven/clickhouse_grant.py +35 -37
- pulumi_aiven/clickhouse_role.py +16 -20
- pulumi_aiven/clickhouse_user.py +18 -22
- pulumi_aiven/connection_pool.py +24 -28
- pulumi_aiven/dragonfly.py +124 -263
- pulumi_aiven/flink.py +32 -36
- pulumi_aiven/flink_application.py +22 -24
- pulumi_aiven/flink_application_deployment.py +21 -21
- pulumi_aiven/flink_application_version.py +96 -14
- pulumi_aiven/gcp_privatelink.py +21 -21
- pulumi_aiven/gcp_privatelink_connection_approval.py +21 -21
- pulumi_aiven/gcp_vpc_peering_connection.py +4 -8
- pulumi_aiven/get_account.py +0 -4
- pulumi_aiven/get_aws_privatelink.py +10 -14
- pulumi_aiven/get_aws_vpc_peering_connection.py +6 -10
- pulumi_aiven/get_azure_privatelink.py +10 -14
- pulumi_aiven/get_azure_vpc_peering_connection.py +2 -6
- 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 +10 -14
- pulumi_aiven/get_clickhouse.py +7 -24
- pulumi_aiven/get_clickhouse_database.py +10 -14
- pulumi_aiven/get_clickhouse_user.py +10 -14
- pulumi_aiven/get_connection_pool.py +10 -14
- pulumi_aiven/get_dragonfly.py +27 -20
- 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 +2 -6
- pulumi_aiven/get_grafana.py +7 -24
- pulumi_aiven/get_kafka.py +13 -17
- pulumi_aiven/get_kafka_acl.py +10 -14
- pulumi_aiven/get_kafka_connect.py +7 -24
- pulumi_aiven/get_kafka_connector.py +10 -14
- pulumi_aiven/get_kafka_mirror_maker.py +7 -24
- pulumi_aiven/get_kafka_schema.py +10 -14
- pulumi_aiven/get_kafka_schema_configuration.py +10 -14
- pulumi_aiven/get_kafka_schema_registry_acl.py +6 -6
- pulumi_aiven/get_kafka_topic.py +16 -20
- pulumi_aiven/get_kafka_user.py +10 -14
- pulumi_aiven/get_m3_aggregator.py +7 -24
- pulumi_aiven/get_m3_db.py +7 -24
- pulumi_aiven/get_m3db_user.py +10 -14
- pulumi_aiven/get_mirror_maker_replication_flow.py +14 -18
- pulumi_aiven/get_my_sql.py +7 -24
- pulumi_aiven/get_mysql_database.py +10 -14
- pulumi_aiven/get_mysql_user.py +10 -14
- 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 +10 -14
- pulumi_aiven/get_opensearch_security_plugin_config.py +10 -14
- pulumi_aiven/get_opensearch_user.py +10 -14
- pulumi_aiven/get_organization.py +0 -4
- pulumi_aiven/get_organization_user_group.py +2 -6
- pulumi_aiven/get_pg.py +6 -10
- pulumi_aiven/get_pg_database.py +10 -14
- pulumi_aiven/get_pg_user.py +10 -14
- pulumi_aiven/get_project.py +17 -21
- pulumi_aiven/get_project_user.py +9 -13
- pulumi_aiven/get_project_vpc.py +2 -6
- pulumi_aiven/get_redis.py +7 -24
- pulumi_aiven/get_redis_user.py +10 -14
- pulumi_aiven/get_service_component.py +4 -8
- pulumi_aiven/get_service_integration.py +19 -33
- pulumi_aiven/get_service_integration_endpoint.py +2 -6
- pulumi_aiven/get_transit_gateway_vpc_attachment.py +2 -6
- pulumi_aiven/grafana.py +82 -267
- 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 +50 -54
- pulumi_aiven/kafka_acl.py +20 -24
- pulumi_aiven/kafka_connect.py +80 -267
- pulumi_aiven/kafka_connector.py +26 -30
- pulumi_aiven/kafka_mirror_maker.py +80 -267
- pulumi_aiven/kafka_schema.py +18 -22
- pulumi_aiven/kafka_schema_configuration.py +20 -24
- pulumi_aiven/kafka_schema_registry_acl.py +54 -14
- pulumi_aiven/kafka_topic.py +84 -46
- pulumi_aiven/kafka_user.py +18 -22
- pulumi_aiven/m3_aggregator.py +80 -267
- pulumi_aiven/m3_db.py +80 -267
- pulumi_aiven/m3db_user.py +16 -20
- pulumi_aiven/mirror_maker_replication_flow.py +22 -26
- pulumi_aiven/my_sql.py +80 -267
- pulumi_aiven/mysql_database.py +20 -24
- pulumi_aiven/mysql_user.py +18 -22
- pulumi_aiven/open_search.py +27 -31
- pulumi_aiven/open_search_acl_config.py +28 -36
- pulumi_aiven/open_search_acl_rule.py +36 -40
- pulumi_aiven/opensearch_security_plugin_config.py +28 -32
- pulumi_aiven/opensearch_user.py +18 -22
- pulumi_aiven/organization.py +2 -6
- pulumi_aiven/organization_group_project.py +46 -0
- pulumi_aiven/organization_user.py +2 -20
- pulumi_aiven/organization_user_group.py +4 -6
- pulumi_aiven/organization_user_group_member.py +8 -10
- pulumi_aiven/organizational_unit.py +6 -6
- pulumi_aiven/outputs.py +271 -390
- pulumi_aiven/pg.py +30 -30
- pulumi_aiven/pg_database.py +20 -24
- pulumi_aiven/pg_user.py +18 -22
- pulumi_aiven/project.py +75 -79
- pulumi_aiven/project_user.py +24 -28
- pulumi_aiven/project_vpc.py +31 -7
- pulumi_aiven/redis.py +80 -267
- pulumi_aiven/redis_user.py +18 -22
- pulumi_aiven/service_integration.py +54 -58
- pulumi_aiven/static_ip.py +7 -7
- pulumi_aiven/transit_gateway_vpc_attachment.py +4 -8
- {pulumi_aiven-6.13.0a1711361534.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.0a1711361534.dist-info/RECORD +0 -150
- {pulumi_aiven-6.13.0a1711361534.dist-info → pulumi_aiven-6.14.0.dist-info}/WHEEL +0 -0
- {pulumi_aiven-6.13.0a1711361534.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
|
@@ -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: 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
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
|
+
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
|
|
|
@@ -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: 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
|
"""
|
|
@@ -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,22 +237,20 @@ 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.
|
|
@@ -260,8 +258,8 @@ class PgDatabase(pulumi.CustomResource):
|
|
|
260
258
|
:param pulumi.Input[str] database_name: The name of the service database. Changing this property forces recreation of the resource.
|
|
261
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.
|
|
262
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.
|
|
263
|
-
:param pulumi.Input[str] project:
|
|
264
|
-
:param pulumi.Input[str] service_name:
|
|
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.
|
|
@@ -362,8 +358,8 @@ class PgDatabase(pulumi.CustomResource):
|
|
|
362
358
|
:param pulumi.Input[str] database_name: The name of the service database. Changing this property forces recreation of the resource.
|
|
363
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.
|
|
364
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.
|
|
365
|
-
:param pulumi.Input[str] project:
|
|
366
|
-
:param pulumi.Input[str] service_name:
|
|
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
|
"""
|
|
@@ -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
|
|
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: 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.
|
|
25
|
+
: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.
|
|
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
|
+
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.
|
|
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
|
+
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: 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.
|
|
117
|
+
: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.
|
|
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
|
+
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.
|
|
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
|
+
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,31 +248,29 @@ class PgUser(pulumi.CustomResource):
|
|
|
248
248
|
|
|
249
249
|
## Example Usage
|
|
250
250
|
|
|
251
|
-
<!--Start PulumiCodeChooser -->
|
|
252
251
|
```python
|
|
253
252
|
import pulumi
|
|
254
253
|
import pulumi_aiven as aiven
|
|
255
254
|
|
|
256
255
|
foo = aiven.PgUser("foo",
|
|
257
|
-
service_name=
|
|
256
|
+
service_name=bar["serviceName"],
|
|
258
257
|
project="my-project",
|
|
259
258
|
username="user-1",
|
|
260
259
|
password="Test$1234")
|
|
261
260
|
```
|
|
262
|
-
<!--End PulumiCodeChooser -->
|
|
263
261
|
|
|
264
262
|
## Import
|
|
265
263
|
|
|
266
264
|
```sh
|
|
267
|
-
$ pulumi import aiven:index/pgUser:PgUser user
|
|
265
|
+
$ pulumi import aiven:index/pgUser:PgUser user PROJECT/SERVICE_NAME/USERNAME
|
|
268
266
|
```
|
|
269
267
|
|
|
270
268
|
:param str resource_name: The name of the resource.
|
|
271
269
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
272
270
|
:param pulumi.Input[str] password: The password of the PG User (not applicable for all services).
|
|
273
271
|
:param pulumi.Input[bool] pg_allow_replication: Defines whether replication is allowed.
|
|
274
|
-
:param pulumi.Input[str] project:
|
|
275
|
-
:param pulumi.Input[str] service_name:
|
|
272
|
+
: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.
|
|
273
|
+
: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.
|
|
276
274
|
: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.
|
|
277
275
|
"""
|
|
278
276
|
...
|
|
@@ -286,23 +284,21 @@ class PgUser(pulumi.CustomResource):
|
|
|
286
284
|
|
|
287
285
|
## Example Usage
|
|
288
286
|
|
|
289
|
-
<!--Start PulumiCodeChooser -->
|
|
290
287
|
```python
|
|
291
288
|
import pulumi
|
|
292
289
|
import pulumi_aiven as aiven
|
|
293
290
|
|
|
294
291
|
foo = aiven.PgUser("foo",
|
|
295
|
-
service_name=
|
|
292
|
+
service_name=bar["serviceName"],
|
|
296
293
|
project="my-project",
|
|
297
294
|
username="user-1",
|
|
298
295
|
password="Test$1234")
|
|
299
296
|
```
|
|
300
|
-
<!--End PulumiCodeChooser -->
|
|
301
297
|
|
|
302
298
|
## Import
|
|
303
299
|
|
|
304
300
|
```sh
|
|
305
|
-
$ pulumi import aiven:index/pgUser:PgUser user
|
|
301
|
+
$ pulumi import aiven:index/pgUser:PgUser user PROJECT/SERVICE_NAME/USERNAME
|
|
306
302
|
```
|
|
307
303
|
|
|
308
304
|
:param str resource_name: The name of the resource.
|
|
@@ -379,8 +375,8 @@ class PgUser(pulumi.CustomResource):
|
|
|
379
375
|
:param pulumi.Input[str] access_key: Access certificate key for the user
|
|
380
376
|
:param pulumi.Input[str] password: The password of the PG User (not applicable for all services).
|
|
381
377
|
:param pulumi.Input[bool] pg_allow_replication: Defines whether replication is allowed.
|
|
382
|
-
:param pulumi.Input[str] project:
|
|
383
|
-
:param pulumi.Input[str] service_name:
|
|
378
|
+
: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.
|
|
379
|
+
: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.
|
|
384
380
|
:param pulumi.Input[str] type: Type of the user account. Tells whether the user is the primary account or a regular account.
|
|
385
381
|
: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.
|
|
386
382
|
"""
|
|
@@ -434,7 +430,7 @@ class PgUser(pulumi.CustomResource):
|
|
|
434
430
|
@pulumi.getter
|
|
435
431
|
def project(self) -> pulumi.Output[str]:
|
|
436
432
|
"""
|
|
437
|
-
|
|
433
|
+
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.
|
|
438
434
|
"""
|
|
439
435
|
return pulumi.get(self, "project")
|
|
440
436
|
|
|
@@ -442,7 +438,7 @@ class PgUser(pulumi.CustomResource):
|
|
|
442
438
|
@pulumi.getter(name="serviceName")
|
|
443
439
|
def service_name(self) -> pulumi.Output[str]:
|
|
444
440
|
"""
|
|
445
|
-
|
|
441
|
+
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.
|
|
446
442
|
"""
|
|
447
443
|
return pulumi.get(self, "service_name")
|
|
448
444
|
|