pulumi-aiven 6.14.0a1714562227__py3-none-any.whl → 6.15.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-aiven might be problematic. Click here for more details.
- pulumi_aiven/__init__.py +19 -0
- pulumi_aiven/_inputs.py +232 -150
- pulumi_aiven/account_authentication.py +2 -2
- pulumi_aiven/account_team_member.py +2 -2
- pulumi_aiven/aws_privatelink.py +14 -14
- pulumi_aiven/azure_privatelink.py +14 -14
- pulumi_aiven/azure_privatelink_connection_approval.py +14 -14
- pulumi_aiven/billing_group.py +18 -16
- pulumi_aiven/cassandra.py +16 -44
- pulumi_aiven/cassandra_user.py +16 -16
- pulumi_aiven/clickhouse.py +16 -44
- pulumi_aiven/clickhouse_database.py +16 -43
- pulumi_aiven/clickhouse_grant.py +14 -14
- pulumi_aiven/clickhouse_role.py +18 -18
- pulumi_aiven/clickhouse_user.py +14 -14
- pulumi_aiven/connection_pool.py +16 -16
- pulumi_aiven/dragonfly.py +124 -263
- pulumi_aiven/flink.py +16 -16
- pulumi_aiven/flink_application.py +16 -16
- pulumi_aiven/flink_application_deployment.py +21 -21
- pulumi_aiven/flink_application_version.py +14 -14
- pulumi_aiven/gcp_privatelink.py +21 -21
- pulumi_aiven/gcp_privatelink_connection_approval.py +21 -21
- pulumi_aiven/gcp_vpc_peering_connection.py +2 -2
- pulumi_aiven/get_aws_privatelink.py +6 -6
- pulumi_aiven/get_azure_privatelink.py +6 -6
- pulumi_aiven/get_billing_group.py +2 -2
- pulumi_aiven/get_cassanda.py +5 -18
- pulumi_aiven/get_cassandra.py +5 -18
- pulumi_aiven/get_cassandra_user.py +6 -6
- pulumi_aiven/get_clickhouse.py +5 -18
- pulumi_aiven/get_clickhouse_database.py +6 -6
- pulumi_aiven/get_clickhouse_user.py +6 -6
- pulumi_aiven/get_connection_pool.py +6 -6
- pulumi_aiven/get_dragonfly.py +27 -20
- pulumi_aiven/get_flink.py +4 -4
- pulumi_aiven/get_flink_application.py +6 -6
- pulumi_aiven/get_flink_application_version.py +6 -6
- pulumi_aiven/get_grafana.py +5 -18
- pulumi_aiven/get_kafka.py +13 -13
- pulumi_aiven/get_kafka_acl.py +6 -6
- pulumi_aiven/get_kafka_connect.py +5 -18
- pulumi_aiven/get_kafka_connector.py +6 -6
- pulumi_aiven/get_kafka_mirror_maker.py +5 -18
- pulumi_aiven/get_kafka_schema.py +6 -6
- pulumi_aiven/get_kafka_schema_configuration.py +6 -6
- pulumi_aiven/get_kafka_schema_registry_acl.py +6 -6
- pulumi_aiven/get_kafka_topic.py +16 -16
- pulumi_aiven/get_kafka_user.py +6 -6
- pulumi_aiven/get_m3_aggregator.py +5 -18
- pulumi_aiven/get_m3_db.py +5 -18
- pulumi_aiven/get_m3db_user.py +6 -6
- pulumi_aiven/get_mirror_maker_replication_flow.py +6 -6
- pulumi_aiven/get_my_sql.py +5 -18
- pulumi_aiven/get_mysql_database.py +6 -6
- pulumi_aiven/get_mysql_user.py +6 -6
- pulumi_aiven/get_open_search.py +4 -4
- pulumi_aiven/get_open_search_acl_config.py +6 -6
- pulumi_aiven/get_open_search_acl_rule.py +6 -6
- pulumi_aiven/get_opensearch_security_plugin_config.py +6 -6
- pulumi_aiven/get_opensearch_user.py +6 -6
- pulumi_aiven/get_organization_application_user.py +156 -0
- pulumi_aiven/get_pg.py +4 -4
- pulumi_aiven/get_pg_database.py +6 -6
- pulumi_aiven/get_pg_user.py +6 -6
- pulumi_aiven/get_project.py +17 -17
- pulumi_aiven/get_project_user.py +7 -7
- pulumi_aiven/get_redis.py +5 -18
- pulumi_aiven/get_redis_user.py +6 -6
- pulumi_aiven/get_service_integration.py +19 -29
- pulumi_aiven/grafana.py +78 -261
- pulumi_aiven/influx_db.py +21 -21
- pulumi_aiven/influxdb_database.py +21 -41
- pulumi_aiven/influxdb_user.py +21 -21
- pulumi_aiven/kafka.py +43 -43
- pulumi_aiven/kafka_acl.py +16 -16
- pulumi_aiven/kafka_connect.py +78 -261
- pulumi_aiven/kafka_connector.py +14 -14
- pulumi_aiven/kafka_mirror_maker.py +78 -261
- pulumi_aiven/kafka_schema.py +14 -14
- pulumi_aiven/kafka_schema_configuration.py +16 -16
- pulumi_aiven/kafka_schema_registry_acl.py +54 -14
- pulumi_aiven/kafka_topic.py +40 -60
- pulumi_aiven/kafka_user.py +16 -16
- pulumi_aiven/m3_aggregator.py +78 -261
- pulumi_aiven/m3_db.py +78 -261
- pulumi_aiven/m3db_user.py +14 -14
- pulumi_aiven/mirror_maker_replication_flow.py +14 -14
- pulumi_aiven/my_sql.py +78 -261
- pulumi_aiven/mysql_database.py +16 -36
- pulumi_aiven/mysql_user.py +16 -16
- pulumi_aiven/open_search.py +14 -14
- pulumi_aiven/open_search_acl_config.py +16 -20
- pulumi_aiven/open_search_acl_rule.py +16 -16
- pulumi_aiven/opensearch_security_plugin_config.py +16 -16
- pulumi_aiven/opensearch_user.py +16 -16
- pulumi_aiven/organization_application_user.py +323 -0
- pulumi_aiven/organization_application_user_token.py +742 -0
- pulumi_aiven/organization_group_project.py +20 -6
- pulumi_aiven/organization_user.py +2 -20
- pulumi_aiven/outputs.py +259 -266
- pulumi_aiven/pg.py +16 -16
- pulumi_aiven/pg_database.py +16 -36
- pulumi_aiven/pg_user.py +16 -16
- pulumi_aiven/project.py +71 -71
- pulumi_aiven/project_user.py +22 -22
- pulumi_aiven/project_vpc.py +7 -7
- pulumi_aiven/redis.py +78 -261
- pulumi_aiven/redis_user.py +16 -16
- pulumi_aiven/service_integration.py +54 -54
- pulumi_aiven/static_ip.py +7 -7
- pulumi_aiven/transit_gateway_vpc_attachment.py +2 -2
- {pulumi_aiven-6.14.0a1714562227.dist-info → pulumi_aiven-6.15.0.dist-info}/METADATA +1 -1
- pulumi_aiven-6.15.0.dist-info/RECORD +153 -0
- pulumi_aiven-6.14.0a1714562227.dist-info/RECORD +0 -150
- {pulumi_aiven-6.14.0a1714562227.dist-info → pulumi_aiven-6.15.0.dist-info}/WHEEL +0 -0
- {pulumi_aiven-6.14.0a1714562227.dist-info → pulumi_aiven-6.15.0.dist-info}/top_level.txt +0 -0
pulumi_aiven/pg.py
CHANGED
|
@@ -35,7 +35,7 @@ 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.
|
|
@@ -48,7 +48,7 @@ class PgArgs:
|
|
|
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
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
|
|
|
@@ -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
|
|
|
@@ -327,7 +327,7 @@ class _PgState:
|
|
|
327
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
|
|
@@ -340,7 +340,7 @@ class _PgState:
|
|
|
340
340
|
:param pulumi.Input[str] state: Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
341
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:
|
|
@@ -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
|
|
|
@@ -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.
|
|
@@ -784,13 +784,13 @@ class Pg(pulumi.CustomResource):
|
|
|
784
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
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.
|
|
@@ -940,7 +940,7 @@ class Pg(pulumi.CustomResource):
|
|
|
940
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
|
|
@@ -953,7 +953,7 @@ class Pg(pulumi.CustomResource):
|
|
|
953
953
|
:param pulumi.Input[str] state: Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
954
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))
|
|
@@ -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
|
|
|
@@ -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,12 +23,10 @@ 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
|
-
:param pulumi.Input[bool] termination_protection: It is a Terraform client-side deletion protections, which prevents the database from being deleted by Terraform. It is
|
|
31
|
-
recommended to enable this for any production databases containing critical data. The default value is `false`.
|
|
32
30
|
"""
|
|
33
31
|
pulumi.set(__self__, "database_name", database_name)
|
|
34
32
|
pulumi.set(__self__, "project", project)
|
|
@@ -56,7 +54,7 @@ class PgDatabaseArgs:
|
|
|
56
54
|
@pulumi.getter
|
|
57
55
|
def project(self) -> pulumi.Input[str]:
|
|
58
56
|
"""
|
|
59
|
-
|
|
57
|
+
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
58
|
"""
|
|
61
59
|
return pulumi.get(self, "project")
|
|
62
60
|
|
|
@@ -68,7 +66,7 @@ class PgDatabaseArgs:
|
|
|
68
66
|
@pulumi.getter(name="serviceName")
|
|
69
67
|
def service_name(self) -> pulumi.Input[str]:
|
|
70
68
|
"""
|
|
71
|
-
|
|
69
|
+
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
70
|
"""
|
|
73
71
|
return pulumi.get(self, "service_name")
|
|
74
72
|
|
|
@@ -103,10 +101,6 @@ class PgDatabaseArgs:
|
|
|
103
101
|
@property
|
|
104
102
|
@pulumi.getter(name="terminationProtection")
|
|
105
103
|
def termination_protection(self) -> Optional[pulumi.Input[bool]]:
|
|
106
|
-
"""
|
|
107
|
-
It is a Terraform client-side deletion protections, which prevents the database from being deleted by Terraform. It is
|
|
108
|
-
recommended to enable this for any production databases containing critical data. The default value is `false`.
|
|
109
|
-
"""
|
|
110
104
|
return pulumi.get(self, "termination_protection")
|
|
111
105
|
|
|
112
106
|
@termination_protection.setter
|
|
@@ -128,10 +122,8 @@ class _PgDatabaseState:
|
|
|
128
122
|
:param pulumi.Input[str] database_name: The name of the service database. Changing this property forces recreation of the resource.
|
|
129
123
|
: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
124
|
: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:
|
|
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
|
-
recommended to enable this for any production databases containing critical data. The default value is `false`.
|
|
125
|
+
: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.
|
|
126
|
+
: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.
|
|
135
127
|
"""
|
|
136
128
|
if database_name is not None:
|
|
137
129
|
pulumi.set(__self__, "database_name", database_name)
|
|
@@ -186,7 +178,7 @@ class _PgDatabaseState:
|
|
|
186
178
|
@pulumi.getter
|
|
187
179
|
def project(self) -> Optional[pulumi.Input[str]]:
|
|
188
180
|
"""
|
|
189
|
-
|
|
181
|
+
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
182
|
"""
|
|
191
183
|
return pulumi.get(self, "project")
|
|
192
184
|
|
|
@@ -198,7 +190,7 @@ class _PgDatabaseState:
|
|
|
198
190
|
@pulumi.getter(name="serviceName")
|
|
199
191
|
def service_name(self) -> Optional[pulumi.Input[str]]:
|
|
200
192
|
"""
|
|
201
|
-
|
|
193
|
+
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
194
|
"""
|
|
203
195
|
return pulumi.get(self, "service_name")
|
|
204
196
|
|
|
@@ -209,10 +201,6 @@ class _PgDatabaseState:
|
|
|
209
201
|
@property
|
|
210
202
|
@pulumi.getter(name="terminationProtection")
|
|
211
203
|
def termination_protection(self) -> Optional[pulumi.Input[bool]]:
|
|
212
|
-
"""
|
|
213
|
-
It is a Terraform client-side deletion protections, which prevents the database from being deleted by Terraform. It is
|
|
214
|
-
recommended to enable this for any production databases containing critical data. The default value is `false`.
|
|
215
|
-
"""
|
|
216
204
|
return pulumi.get(self, "termination_protection")
|
|
217
205
|
|
|
218
206
|
@termination_protection.setter
|
|
@@ -250,7 +238,7 @@ class PgDatabase(pulumi.CustomResource):
|
|
|
250
238
|
## Import
|
|
251
239
|
|
|
252
240
|
```sh
|
|
253
|
-
$ pulumi import aiven:index/pgDatabase:PgDatabase mydatabase
|
|
241
|
+
$ pulumi import aiven:index/pgDatabase:PgDatabase mydatabase PROJECT/SERVICE_NAME/DATABASE_NAME
|
|
254
242
|
```
|
|
255
243
|
|
|
256
244
|
:param str resource_name: The name of the resource.
|
|
@@ -258,10 +246,8 @@ class PgDatabase(pulumi.CustomResource):
|
|
|
258
246
|
:param pulumi.Input[str] database_name: The name of the service database. Changing this property forces recreation of the resource.
|
|
259
247
|
: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
248
|
: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[bool] termination_protection: It is a Terraform client-side deletion protections, which prevents the database from being deleted by Terraform. It is
|
|
264
|
-
recommended to enable this for any production databases containing critical data. The default value is `false`.
|
|
249
|
+
: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.
|
|
250
|
+
: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
251
|
"""
|
|
266
252
|
...
|
|
267
253
|
@overload
|
|
@@ -287,7 +273,7 @@ class PgDatabase(pulumi.CustomResource):
|
|
|
287
273
|
## Import
|
|
288
274
|
|
|
289
275
|
```sh
|
|
290
|
-
$ pulumi import aiven:index/pgDatabase:PgDatabase mydatabase
|
|
276
|
+
$ pulumi import aiven:index/pgDatabase:PgDatabase mydatabase PROJECT/SERVICE_NAME/DATABASE_NAME
|
|
291
277
|
```
|
|
292
278
|
|
|
293
279
|
:param str resource_name: The name of the resource.
|
|
@@ -358,10 +344,8 @@ class PgDatabase(pulumi.CustomResource):
|
|
|
358
344
|
:param pulumi.Input[str] database_name: The name of the service database. Changing this property forces recreation of the resource.
|
|
359
345
|
: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
346
|
: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:
|
|
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
|
|
364
|
-
recommended to enable this for any production databases containing critical data. The default value is `false`.
|
|
347
|
+
: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.
|
|
348
|
+
: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.
|
|
365
349
|
"""
|
|
366
350
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
367
351
|
|
|
@@ -403,7 +387,7 @@ class PgDatabase(pulumi.CustomResource):
|
|
|
403
387
|
@pulumi.getter
|
|
404
388
|
def project(self) -> pulumi.Output[str]:
|
|
405
389
|
"""
|
|
406
|
-
|
|
390
|
+
The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
407
391
|
"""
|
|
408
392
|
return pulumi.get(self, "project")
|
|
409
393
|
|
|
@@ -411,16 +395,12 @@ class PgDatabase(pulumi.CustomResource):
|
|
|
411
395
|
@pulumi.getter(name="serviceName")
|
|
412
396
|
def service_name(self) -> pulumi.Output[str]:
|
|
413
397
|
"""
|
|
414
|
-
|
|
398
|
+
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
399
|
"""
|
|
416
400
|
return pulumi.get(self, "service_name")
|
|
417
401
|
|
|
418
402
|
@property
|
|
419
403
|
@pulumi.getter(name="terminationProtection")
|
|
420
404
|
def termination_protection(self) -> pulumi.Output[Optional[bool]]:
|
|
421
|
-
"""
|
|
422
|
-
It is a Terraform client-side deletion protections, which prevents the database from being deleted by Terraform. It is
|
|
423
|
-
recommended to enable this for any production databases containing critical data. The default value is `false`.
|
|
424
|
-
"""
|
|
425
405
|
return pulumi.get(self, "termination_protection")
|
|
426
406
|
|
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
|
|
|
@@ -262,15 +262,15 @@ class PgUser(pulumi.CustomResource):
|
|
|
262
262
|
## Import
|
|
263
263
|
|
|
264
264
|
```sh
|
|
265
|
-
$ pulumi import aiven:index/pgUser:PgUser user
|
|
265
|
+
$ pulumi import aiven:index/pgUser:PgUser user PROJECT/SERVICE_NAME/USERNAME
|
|
266
266
|
```
|
|
267
267
|
|
|
268
268
|
:param str resource_name: The name of the resource.
|
|
269
269
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
270
270
|
:param pulumi.Input[str] password: The password of the PG User (not applicable for all services).
|
|
271
271
|
: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:
|
|
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.
|
|
274
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.
|
|
275
275
|
"""
|
|
276
276
|
...
|
|
@@ -298,7 +298,7 @@ class PgUser(pulumi.CustomResource):
|
|
|
298
298
|
## Import
|
|
299
299
|
|
|
300
300
|
```sh
|
|
301
|
-
$ pulumi import aiven:index/pgUser:PgUser user
|
|
301
|
+
$ pulumi import aiven:index/pgUser:PgUser user PROJECT/SERVICE_NAME/USERNAME
|
|
302
302
|
```
|
|
303
303
|
|
|
304
304
|
:param str resource_name: The name of the resource.
|
|
@@ -375,8 +375,8 @@ class PgUser(pulumi.CustomResource):
|
|
|
375
375
|
:param pulumi.Input[str] access_key: Access certificate key for the user
|
|
376
376
|
:param pulumi.Input[str] password: The password of the PG User (not applicable for all services).
|
|
377
377
|
: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:
|
|
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.
|
|
380
380
|
:param pulumi.Input[str] type: Type of the user account. Tells whether the user is the primary account or a regular account.
|
|
381
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.
|
|
382
382
|
"""
|
|
@@ -430,7 +430,7 @@ class PgUser(pulumi.CustomResource):
|
|
|
430
430
|
@pulumi.getter
|
|
431
431
|
def project(self) -> pulumi.Output[str]:
|
|
432
432
|
"""
|
|
433
|
-
|
|
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.
|
|
434
434
|
"""
|
|
435
435
|
return pulumi.get(self, "project")
|
|
436
436
|
|
|
@@ -438,7 +438,7 @@ class PgUser(pulumi.CustomResource):
|
|
|
438
438
|
@pulumi.getter(name="serviceName")
|
|
439
439
|
def service_name(self) -> pulumi.Output[str]:
|
|
440
440
|
"""
|
|
441
|
-
|
|
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.
|
|
442
442
|
"""
|
|
443
443
|
return pulumi.get(self, "service_name")
|
|
444
444
|
|