pulumi-aiven 6.13.0a1711027602__py3-none-any.whl → 6.13.0a1711361534__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-aiven might be problematic. Click here for more details.
- pulumi_aiven/__init__.py +28 -0
- pulumi_aiven/_inputs.py +2479 -932
- pulumi_aiven/account.py +6 -2
- pulumi_aiven/account_authentication.py +6 -2
- pulumi_aiven/account_team_member.py +21 -21
- pulumi_aiven/aws_privatelink.py +39 -39
- pulumi_aiven/aws_vpc_peering_connection.py +62 -52
- pulumi_aiven/azure_privatelink.py +49 -49
- pulumi_aiven/azure_privatelink_connection_approval.py +33 -33
- pulumi_aiven/azure_vpc_peering_connection.py +76 -68
- pulumi_aiven/cassandra.py +7 -7
- pulumi_aiven/cassandra_user.py +21 -21
- pulumi_aiven/clickhouse.py +7 -7
- pulumi_aiven/clickhouse_database.py +21 -21
- pulumi_aiven/clickhouse_grant.py +42 -42
- pulumi_aiven/clickhouse_role.py +21 -21
- pulumi_aiven/clickhouse_user.py +21 -21
- pulumi_aiven/connection_pool.py +28 -28
- pulumi_aiven/dragonfly.py +1344 -0
- pulumi_aiven/flink.py +7 -7
- pulumi_aiven/flink_application.py +14 -14
- pulumi_aiven/flink_application_deployment.py +14 -14
- pulumi_aiven/flink_application_version.py +14 -14
- pulumi_aiven/gcp_privatelink.py +26 -26
- pulumi_aiven/gcp_privatelink_connection_approval.py +33 -33
- pulumi_aiven/gcp_vpc_peering_connection.py +35 -35
- pulumi_aiven/get_account_team_member.py +9 -9
- pulumi_aiven/get_aws_privatelink.py +15 -15
- pulumi_aiven/get_aws_vpc_peering_connection.py +33 -23
- pulumi_aiven/get_azure_privatelink.py +17 -17
- pulumi_aiven/get_azure_vpc_peering_connection.py +58 -26
- pulumi_aiven/get_cassanda.py +3 -3
- pulumi_aiven/get_cassandra.py +3 -3
- pulumi_aiven/get_cassandra_user.py +9 -9
- pulumi_aiven/get_clickhouse.py +3 -3
- pulumi_aiven/get_clickhouse_database.py +9 -9
- pulumi_aiven/get_clickhouse_user.py +9 -9
- pulumi_aiven/get_connection_pool.py +10 -10
- pulumi_aiven/get_dragonfly.py +443 -0
- pulumi_aiven/get_flink.py +3 -3
- pulumi_aiven/get_flink_application.py +6 -6
- pulumi_aiven/get_flink_application_version.py +6 -6
- pulumi_aiven/get_gcp_vpc_peering_connection.py +18 -18
- pulumi_aiven/get_grafana.py +3 -3
- pulumi_aiven/get_kafka.py +3 -3
- pulumi_aiven/get_kafka_acl.py +15 -15
- pulumi_aiven/get_kafka_connect.py +3 -3
- pulumi_aiven/get_kafka_connector.py +9 -9
- pulumi_aiven/get_kafka_mirror_maker.py +3 -3
- pulumi_aiven/get_kafka_schema.py +9 -9
- pulumi_aiven/get_kafka_schema_configuration.py +7 -7
- pulumi_aiven/get_kafka_schema_registry_acl.py +15 -15
- pulumi_aiven/get_kafka_topic.py +9 -9
- pulumi_aiven/get_kafka_user.py +9 -9
- pulumi_aiven/get_m3_aggregator.py +3 -3
- pulumi_aiven/get_m3_db.py +3 -3
- pulumi_aiven/get_m3db_user.py +9 -9
- pulumi_aiven/get_mirror_maker_replication_flow.py +6 -6
- pulumi_aiven/get_my_sql.py +3 -3
- pulumi_aiven/get_mysql_database.py +9 -9
- pulumi_aiven/get_mysql_user.py +9 -9
- pulumi_aiven/get_open_search.py +3 -3
- pulumi_aiven/get_open_search_acl_config.py +6 -6
- pulumi_aiven/get_open_search_acl_rule.py +12 -12
- pulumi_aiven/get_opensearch_security_plugin_config.py +6 -6
- pulumi_aiven/get_opensearch_user.py +9 -9
- pulumi_aiven/get_organization.py +8 -8
- pulumi_aiven/get_organization_user_group.py +33 -9
- pulumi_aiven/get_organizational_unit.py +9 -9
- pulumi_aiven/get_pg.py +3 -3
- pulumi_aiven/get_pg_database.py +11 -11
- pulumi_aiven/get_pg_user.py +9 -9
- pulumi_aiven/get_project_user.py +6 -6
- pulumi_aiven/get_project_vpc.py +11 -13
- pulumi_aiven/get_redis.py +3 -3
- pulumi_aiven/get_redis_user.py +13 -13
- pulumi_aiven/get_service_integration.py +56 -4
- pulumi_aiven/get_service_integration_endpoint.py +1 -1
- pulumi_aiven/get_transit_gateway_vpc_attachment.py +9 -9
- pulumi_aiven/grafana.py +7 -7
- pulumi_aiven/influx_db.py +7 -7
- pulumi_aiven/influxdb_database.py +21 -21
- pulumi_aiven/influxdb_user.py +28 -28
- pulumi_aiven/kafka.py +7 -7
- pulumi_aiven/kafka_acl.py +35 -35
- pulumi_aiven/kafka_connect.py +7 -7
- pulumi_aiven/kafka_connector.py +21 -21
- pulumi_aiven/kafka_mirror_maker.py +7 -7
- pulumi_aiven/kafka_schema.py +47 -43
- pulumi_aiven/kafka_schema_configuration.py +14 -14
- pulumi_aiven/kafka_schema_registry_acl.py +35 -35
- pulumi_aiven/kafka_topic.py +21 -21
- pulumi_aiven/kafka_user.py +21 -21
- pulumi_aiven/m3_aggregator.py +7 -7
- pulumi_aiven/m3_db.py +7 -7
- pulumi_aiven/m3db_user.py +21 -21
- pulumi_aiven/mirror_maker_replication_flow.py +50 -48
- pulumi_aiven/my_sql.py +7 -7
- pulumi_aiven/mysql_database.py +21 -21
- pulumi_aiven/mysql_user.py +21 -21
- pulumi_aiven/open_search.py +7 -7
- pulumi_aiven/open_search_acl_config.py +14 -14
- pulumi_aiven/open_search_acl_rule.py +28 -28
- pulumi_aiven/opensearch_security_plugin_config.py +66 -14
- pulumi_aiven/opensearch_user.py +21 -21
- pulumi_aiven/organization.py +10 -10
- pulumi_aiven/organization_group_project.py +290 -0
- pulumi_aiven/organization_user.py +16 -16
- pulumi_aiven/organization_user_group.py +61 -23
- pulumi_aiven/organization_user_group_member.py +352 -0
- pulumi_aiven/organizational_unit.py +32 -32
- pulumi_aiven/outputs.py +2989 -467
- pulumi_aiven/pg.py +7 -7
- pulumi_aiven/pg_database.py +35 -35
- pulumi_aiven/pg_user.py +21 -21
- pulumi_aiven/project.py +26 -0
- pulumi_aiven/project_user.py +14 -14
- pulumi_aiven/project_vpc.py +25 -25
- pulumi_aiven/redis.py +7 -7
- pulumi_aiven/redis_user.py +49 -49
- pulumi_aiven/service_integration.py +195 -7
- pulumi_aiven/service_integration_endpoint.py +7 -7
- pulumi_aiven/static_ip.py +14 -14
- pulumi_aiven/transit_gateway_vpc_attachment.py +21 -21
- {pulumi_aiven-6.13.0a1711027602.dist-info → pulumi_aiven-6.13.0a1711361534.dist-info}/METADATA +1 -1
- pulumi_aiven-6.13.0a1711361534.dist-info/RECORD +150 -0
- pulumi_aiven-6.13.0a1711027602.dist-info/RECORD +0 -146
- {pulumi_aiven-6.13.0a1711027602.dist-info → pulumi_aiven-6.13.0a1711361534.dist-info}/WHEEL +0 -0
- {pulumi_aiven-6.13.0a1711027602.dist-info → pulumi_aiven-6.13.0a1711361534.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: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
38
|
+
:param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
39
39
|
:param pulumi.Input[str] additional_disk_space: Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
40
40
|
:param pulumi.Input[str] cloud_name: Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like [here for Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
41
41
|
:param pulumi.Input[str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
@@ -101,7 +101,7 @@ class PgArgs:
|
|
|
101
101
|
@pulumi.getter
|
|
102
102
|
def project(self) -> pulumi.Input[str]:
|
|
103
103
|
"""
|
|
104
|
-
Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
104
|
+
Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
105
105
|
"""
|
|
106
106
|
return pulumi.get(self, "project")
|
|
107
107
|
|
|
@@ -327,7 +327,7 @@ class _PgState:
|
|
|
327
327
|
:param pulumi.Input['PgPgArgs'] pg: postgresql.conf configuration values
|
|
328
328
|
:param pulumi.Input['PgPgUserConfigArgs'] pg_user_config: Pg user configurable settings
|
|
329
329
|
:param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seem from the [Aiven pricing page](https://aiven.io/pricing).
|
|
330
|
-
:param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
330
|
+
:param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
331
331
|
:param pulumi.Input[str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
332
332
|
:param pulumi.Input[str] service_host: The hostname of the service.
|
|
333
333
|
:param pulumi.Input[Sequence[pulumi.Input['PgServiceIntegrationArgs']]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
@@ -566,7 +566,7 @@ class _PgState:
|
|
|
566
566
|
@pulumi.getter
|
|
567
567
|
def project(self) -> Optional[pulumi.Input[str]]:
|
|
568
568
|
"""
|
|
569
|
-
Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
569
|
+
Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
570
570
|
"""
|
|
571
571
|
return pulumi.get(self, "project")
|
|
572
572
|
|
|
@@ -784,7 +784,7 @@ class Pg(pulumi.CustomResource):
|
|
|
784
784
|
:param pulumi.Input[pulumi.InputType['PgPgArgs']] pg: postgresql.conf configuration values
|
|
785
785
|
:param pulumi.Input[pulumi.InputType['PgPgUserConfigArgs']] pg_user_config: Pg user configurable settings
|
|
786
786
|
:param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seem from the [Aiven pricing page](https://aiven.io/pricing).
|
|
787
|
-
:param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
787
|
+
:param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
788
788
|
:param pulumi.Input[str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
789
789
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['PgServiceIntegrationArgs']]]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
790
790
|
:param pulumi.Input[str] service_name: Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
|
|
@@ -940,7 +940,7 @@ class Pg(pulumi.CustomResource):
|
|
|
940
940
|
:param pulumi.Input[pulumi.InputType['PgPgArgs']] pg: postgresql.conf configuration values
|
|
941
941
|
:param pulumi.Input[pulumi.InputType['PgPgUserConfigArgs']] pg_user_config: Pg user configurable settings
|
|
942
942
|
:param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seem from the [Aiven pricing page](https://aiven.io/pricing).
|
|
943
|
-
:param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
943
|
+
:param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
944
944
|
:param pulumi.Input[str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
945
945
|
:param pulumi.Input[str] service_host: The hostname of the service.
|
|
946
946
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['PgServiceIntegrationArgs']]]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
@@ -1101,7 +1101,7 @@ class Pg(pulumi.CustomResource):
|
|
|
1101
1101
|
@pulumi.getter
|
|
1102
1102
|
def project(self) -> pulumi.Output[str]:
|
|
1103
1103
|
"""
|
|
1104
|
-
Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
1104
|
+
Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
1105
1105
|
"""
|
|
1106
1106
|
return pulumi.get(self, "project")
|
|
1107
1107
|
|
pulumi_aiven/pg_database.py
CHANGED
|
@@ -22,11 +22,11 @@ class PgDatabaseArgs:
|
|
|
22
22
|
termination_protection: Optional[pulumi.Input[bool]] = None):
|
|
23
23
|
"""
|
|
24
24
|
The set of arguments for constructing a PgDatabase resource.
|
|
25
|
-
:param pulumi.Input[str] database_name: The name of the service database.
|
|
26
|
-
:param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
27
|
-
:param pulumi.Input[str] service_name: Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
28
|
-
:param pulumi.Input[str] lc_collate: Default string sort order (`LC_COLLATE`) of the database. The default value is `en_US.UTF-8`.
|
|
29
|
-
:param pulumi.Input[str] lc_ctype: Default character classification (`LC_CTYPE`) of the database. The default value is `en_US.UTF-8`.
|
|
25
|
+
:param pulumi.Input[str] database_name: The name of the service database. Changing this property forces recreation of the resource.
|
|
26
|
+
:param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
27
|
+
:param pulumi.Input[str] service_name: Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
28
|
+
:param pulumi.Input[str] lc_collate: Default string sort order (`LC_COLLATE`) of the database. The default value is `en_US.UTF-8`. Changing this property forces recreation of the resource.
|
|
29
|
+
:param pulumi.Input[str] lc_ctype: Default character classification (`LC_CTYPE`) of the database. The default value is `en_US.UTF-8`. Changing this property forces recreation of the resource.
|
|
30
30
|
:param pulumi.Input[bool] termination_protection: It is a Terraform client-side deletion protections, which prevents the database from being deleted by Terraform. It is
|
|
31
31
|
recommended to enable this for any production databases containing critical data. The default value is `false`.
|
|
32
32
|
"""
|
|
@@ -44,7 +44,7 @@ class PgDatabaseArgs:
|
|
|
44
44
|
@pulumi.getter(name="databaseName")
|
|
45
45
|
def database_name(self) -> pulumi.Input[str]:
|
|
46
46
|
"""
|
|
47
|
-
The name of the service database.
|
|
47
|
+
The name of the service database. Changing this property forces recreation of the resource.
|
|
48
48
|
"""
|
|
49
49
|
return pulumi.get(self, "database_name")
|
|
50
50
|
|
|
@@ -56,7 +56,7 @@ class PgDatabaseArgs:
|
|
|
56
56
|
@pulumi.getter
|
|
57
57
|
def project(self) -> pulumi.Input[str]:
|
|
58
58
|
"""
|
|
59
|
-
Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
59
|
+
Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
60
60
|
"""
|
|
61
61
|
return pulumi.get(self, "project")
|
|
62
62
|
|
|
@@ -68,7 +68,7 @@ class PgDatabaseArgs:
|
|
|
68
68
|
@pulumi.getter(name="serviceName")
|
|
69
69
|
def service_name(self) -> pulumi.Input[str]:
|
|
70
70
|
"""
|
|
71
|
-
Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
71
|
+
Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
72
72
|
"""
|
|
73
73
|
return pulumi.get(self, "service_name")
|
|
74
74
|
|
|
@@ -80,7 +80,7 @@ class PgDatabaseArgs:
|
|
|
80
80
|
@pulumi.getter(name="lcCollate")
|
|
81
81
|
def lc_collate(self) -> Optional[pulumi.Input[str]]:
|
|
82
82
|
"""
|
|
83
|
-
Default string sort order (`LC_COLLATE`) of the database. The default value is `en_US.UTF-8`.
|
|
83
|
+
Default string sort order (`LC_COLLATE`) of the database. The default value is `en_US.UTF-8`. Changing this property forces recreation of the resource.
|
|
84
84
|
"""
|
|
85
85
|
return pulumi.get(self, "lc_collate")
|
|
86
86
|
|
|
@@ -92,7 +92,7 @@ class PgDatabaseArgs:
|
|
|
92
92
|
@pulumi.getter(name="lcCtype")
|
|
93
93
|
def lc_ctype(self) -> Optional[pulumi.Input[str]]:
|
|
94
94
|
"""
|
|
95
|
-
Default character classification (`LC_CTYPE`) of the database. The default value is `en_US.UTF-8`.
|
|
95
|
+
Default character classification (`LC_CTYPE`) of the database. The default value is `en_US.UTF-8`. Changing this property forces recreation of the resource.
|
|
96
96
|
"""
|
|
97
97
|
return pulumi.get(self, "lc_ctype")
|
|
98
98
|
|
|
@@ -125,11 +125,11 @@ class _PgDatabaseState:
|
|
|
125
125
|
termination_protection: Optional[pulumi.Input[bool]] = None):
|
|
126
126
|
"""
|
|
127
127
|
Input properties used for looking up and filtering PgDatabase resources.
|
|
128
|
-
:param pulumi.Input[str] database_name: The name of the service database.
|
|
129
|
-
:param pulumi.Input[str] lc_collate: Default string sort order (`LC_COLLATE`) of the database. The default value is `en_US.UTF-8`.
|
|
130
|
-
:param pulumi.Input[str] lc_ctype: Default character classification (`LC_CTYPE`) of the database. The default value is `en_US.UTF-8`.
|
|
131
|
-
:param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
132
|
-
:param pulumi.Input[str] service_name: Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
128
|
+
:param pulumi.Input[str] database_name: The name of the service database. Changing this property forces recreation of the resource.
|
|
129
|
+
:param pulumi.Input[str] lc_collate: Default string sort order (`LC_COLLATE`) of the database. The default value is `en_US.UTF-8`. Changing this property forces recreation of the resource.
|
|
130
|
+
:param pulumi.Input[str] lc_ctype: Default character classification (`LC_CTYPE`) of the database. The default value is `en_US.UTF-8`. Changing this property forces recreation of the resource.
|
|
131
|
+
:param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
132
|
+
:param pulumi.Input[str] service_name: Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
133
133
|
:param pulumi.Input[bool] termination_protection: It is a Terraform client-side deletion protections, which prevents the database from being deleted by Terraform. It is
|
|
134
134
|
recommended to enable this for any production databases containing critical data. The default value is `false`.
|
|
135
135
|
"""
|
|
@@ -150,7 +150,7 @@ class _PgDatabaseState:
|
|
|
150
150
|
@pulumi.getter(name="databaseName")
|
|
151
151
|
def database_name(self) -> Optional[pulumi.Input[str]]:
|
|
152
152
|
"""
|
|
153
|
-
The name of the service database.
|
|
153
|
+
The name of the service database. Changing this property forces recreation of the resource.
|
|
154
154
|
"""
|
|
155
155
|
return pulumi.get(self, "database_name")
|
|
156
156
|
|
|
@@ -162,7 +162,7 @@ class _PgDatabaseState:
|
|
|
162
162
|
@pulumi.getter(name="lcCollate")
|
|
163
163
|
def lc_collate(self) -> Optional[pulumi.Input[str]]:
|
|
164
164
|
"""
|
|
165
|
-
Default string sort order (`LC_COLLATE`) of the database. The default value is `en_US.UTF-8`.
|
|
165
|
+
Default string sort order (`LC_COLLATE`) of the database. The default value is `en_US.UTF-8`. Changing this property forces recreation of the resource.
|
|
166
166
|
"""
|
|
167
167
|
return pulumi.get(self, "lc_collate")
|
|
168
168
|
|
|
@@ -174,7 +174,7 @@ class _PgDatabaseState:
|
|
|
174
174
|
@pulumi.getter(name="lcCtype")
|
|
175
175
|
def lc_ctype(self) -> Optional[pulumi.Input[str]]:
|
|
176
176
|
"""
|
|
177
|
-
Default character classification (`LC_CTYPE`) of the database. The default value is `en_US.UTF-8`.
|
|
177
|
+
Default character classification (`LC_CTYPE`) of the database. The default value is `en_US.UTF-8`. Changing this property forces recreation of the resource.
|
|
178
178
|
"""
|
|
179
179
|
return pulumi.get(self, "lc_ctype")
|
|
180
180
|
|
|
@@ -186,7 +186,7 @@ class _PgDatabaseState:
|
|
|
186
186
|
@pulumi.getter
|
|
187
187
|
def project(self) -> Optional[pulumi.Input[str]]:
|
|
188
188
|
"""
|
|
189
|
-
Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
189
|
+
Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
190
190
|
"""
|
|
191
191
|
return pulumi.get(self, "project")
|
|
192
192
|
|
|
@@ -198,7 +198,7 @@ class _PgDatabaseState:
|
|
|
198
198
|
@pulumi.getter(name="serviceName")
|
|
199
199
|
def service_name(self) -> Optional[pulumi.Input[str]]:
|
|
200
200
|
"""
|
|
201
|
-
Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
201
|
+
Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
202
202
|
"""
|
|
203
203
|
return pulumi.get(self, "service_name")
|
|
204
204
|
|
|
@@ -257,11 +257,11 @@ class PgDatabase(pulumi.CustomResource):
|
|
|
257
257
|
|
|
258
258
|
:param str resource_name: The name of the resource.
|
|
259
259
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
260
|
-
:param pulumi.Input[str] database_name: The name of the service database.
|
|
261
|
-
:param pulumi.Input[str] lc_collate: Default string sort order (`LC_COLLATE`) of the database. The default value is `en_US.UTF-8`.
|
|
262
|
-
:param pulumi.Input[str] lc_ctype: Default character classification (`LC_CTYPE`) of the database. The default value is `en_US.UTF-8`.
|
|
263
|
-
:param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
264
|
-
:param pulumi.Input[str] service_name: Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
260
|
+
:param pulumi.Input[str] database_name: The name of the service database. Changing this property forces recreation of the resource.
|
|
261
|
+
:param pulumi.Input[str] lc_collate: Default string sort order (`LC_COLLATE`) of the database. The default value is `en_US.UTF-8`. Changing this property forces recreation of the resource.
|
|
262
|
+
:param pulumi.Input[str] lc_ctype: Default character classification (`LC_CTYPE`) of the database. The default value is `en_US.UTF-8`. Changing this property forces recreation of the resource.
|
|
263
|
+
:param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
264
|
+
:param pulumi.Input[str] service_name: Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
265
265
|
:param pulumi.Input[bool] termination_protection: It is a Terraform client-side deletion protections, which prevents the database from being deleted by Terraform. It is
|
|
266
266
|
recommended to enable this for any production databases containing critical data. The default value is `false`.
|
|
267
267
|
"""
|
|
@@ -359,11 +359,11 @@ class PgDatabase(pulumi.CustomResource):
|
|
|
359
359
|
:param str resource_name: The unique name of the resulting resource.
|
|
360
360
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
361
361
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
362
|
-
:param pulumi.Input[str] database_name: The name of the service database.
|
|
363
|
-
:param pulumi.Input[str] lc_collate: Default string sort order (`LC_COLLATE`) of the database. The default value is `en_US.UTF-8`.
|
|
364
|
-
:param pulumi.Input[str] lc_ctype: Default character classification (`LC_CTYPE`) of the database. The default value is `en_US.UTF-8`.
|
|
365
|
-
:param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
366
|
-
:param pulumi.Input[str] service_name: Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
362
|
+
:param pulumi.Input[str] database_name: The name of the service database. Changing this property forces recreation of the resource.
|
|
363
|
+
:param pulumi.Input[str] lc_collate: Default string sort order (`LC_COLLATE`) of the database. The default value is `en_US.UTF-8`. Changing this property forces recreation of the resource.
|
|
364
|
+
:param pulumi.Input[str] lc_ctype: Default character classification (`LC_CTYPE`) of the database. The default value is `en_US.UTF-8`. Changing this property forces recreation of the resource.
|
|
365
|
+
:param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
366
|
+
:param pulumi.Input[str] service_name: Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
367
367
|
:param pulumi.Input[bool] termination_protection: It is a Terraform client-side deletion protections, which prevents the database from being deleted by Terraform. It is
|
|
368
368
|
recommended to enable this for any production databases containing critical data. The default value is `false`.
|
|
369
369
|
"""
|
|
@@ -383,7 +383,7 @@ class PgDatabase(pulumi.CustomResource):
|
|
|
383
383
|
@pulumi.getter(name="databaseName")
|
|
384
384
|
def database_name(self) -> pulumi.Output[str]:
|
|
385
385
|
"""
|
|
386
|
-
The name of the service database.
|
|
386
|
+
The name of the service database. Changing this property forces recreation of the resource.
|
|
387
387
|
"""
|
|
388
388
|
return pulumi.get(self, "database_name")
|
|
389
389
|
|
|
@@ -391,7 +391,7 @@ class PgDatabase(pulumi.CustomResource):
|
|
|
391
391
|
@pulumi.getter(name="lcCollate")
|
|
392
392
|
def lc_collate(self) -> pulumi.Output[Optional[str]]:
|
|
393
393
|
"""
|
|
394
|
-
Default string sort order (`LC_COLLATE`) of the database. The default value is `en_US.UTF-8`.
|
|
394
|
+
Default string sort order (`LC_COLLATE`) of the database. The default value is `en_US.UTF-8`. Changing this property forces recreation of the resource.
|
|
395
395
|
"""
|
|
396
396
|
return pulumi.get(self, "lc_collate")
|
|
397
397
|
|
|
@@ -399,7 +399,7 @@ class PgDatabase(pulumi.CustomResource):
|
|
|
399
399
|
@pulumi.getter(name="lcCtype")
|
|
400
400
|
def lc_ctype(self) -> pulumi.Output[Optional[str]]:
|
|
401
401
|
"""
|
|
402
|
-
Default character classification (`LC_CTYPE`) of the database. The default value is `en_US.UTF-8`.
|
|
402
|
+
Default character classification (`LC_CTYPE`) of the database. The default value is `en_US.UTF-8`. Changing this property forces recreation of the resource.
|
|
403
403
|
"""
|
|
404
404
|
return pulumi.get(self, "lc_ctype")
|
|
405
405
|
|
|
@@ -407,7 +407,7 @@ class PgDatabase(pulumi.CustomResource):
|
|
|
407
407
|
@pulumi.getter
|
|
408
408
|
def project(self) -> pulumi.Output[str]:
|
|
409
409
|
"""
|
|
410
|
-
Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
410
|
+
Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
411
411
|
"""
|
|
412
412
|
return pulumi.get(self, "project")
|
|
413
413
|
|
|
@@ -415,7 +415,7 @@ class PgDatabase(pulumi.CustomResource):
|
|
|
415
415
|
@pulumi.getter(name="serviceName")
|
|
416
416
|
def service_name(self) -> pulumi.Output[str]:
|
|
417
417
|
"""
|
|
418
|
-
Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
418
|
+
Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
419
419
|
"""
|
|
420
420
|
return pulumi.get(self, "service_name")
|
|
421
421
|
|
pulumi_aiven/pg_user.py
CHANGED
|
@@ -21,9 +21,9 @@ 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: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
25
|
-
:param pulumi.Input[str] service_name: Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
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.
|
|
24
|
+
:param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
25
|
+
:param pulumi.Input[str] service_name: Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
26
|
+
: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.
|
|
29
29
|
"""
|
|
@@ -39,7 +39,7 @@ class PgUserArgs:
|
|
|
39
39
|
@pulumi.getter
|
|
40
40
|
def project(self) -> pulumi.Input[str]:
|
|
41
41
|
"""
|
|
42
|
-
Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
42
|
+
Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
43
43
|
"""
|
|
44
44
|
return pulumi.get(self, "project")
|
|
45
45
|
|
|
@@ -51,7 +51,7 @@ class PgUserArgs:
|
|
|
51
51
|
@pulumi.getter(name="serviceName")
|
|
52
52
|
def service_name(self) -> pulumi.Input[str]:
|
|
53
53
|
"""
|
|
54
|
-
Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
54
|
+
Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
55
55
|
"""
|
|
56
56
|
return pulumi.get(self, "service_name")
|
|
57
57
|
|
|
@@ -63,7 +63,7 @@ class PgUserArgs:
|
|
|
63
63
|
@pulumi.getter
|
|
64
64
|
def username(self) -> pulumi.Input[str]:
|
|
65
65
|
"""
|
|
66
|
-
The actual name of the PG User. To set up proper dependencies please refer to this variable as a reference.
|
|
66
|
+
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.
|
|
67
67
|
"""
|
|
68
68
|
return pulumi.get(self, "username")
|
|
69
69
|
|
|
@@ -113,10 +113,10 @@ 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: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
117
|
-
:param pulumi.Input[str] service_name: Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
116
|
+
:param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
117
|
+
:param pulumi.Input[str] service_name: Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
118
118
|
:param pulumi.Input[str] type: Type of the user account. Tells whether the user is the primary account or a regular account.
|
|
119
|
-
: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.
|
|
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
|
"""
|
|
121
121
|
if access_cert is not None:
|
|
122
122
|
pulumi.set(__self__, "access_cert", access_cert)
|
|
@@ -187,7 +187,7 @@ class _PgUserState:
|
|
|
187
187
|
@pulumi.getter
|
|
188
188
|
def project(self) -> Optional[pulumi.Input[str]]:
|
|
189
189
|
"""
|
|
190
|
-
Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
190
|
+
Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
191
191
|
"""
|
|
192
192
|
return pulumi.get(self, "project")
|
|
193
193
|
|
|
@@ -199,7 +199,7 @@ class _PgUserState:
|
|
|
199
199
|
@pulumi.getter(name="serviceName")
|
|
200
200
|
def service_name(self) -> Optional[pulumi.Input[str]]:
|
|
201
201
|
"""
|
|
202
|
-
Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
202
|
+
Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
203
203
|
"""
|
|
204
204
|
return pulumi.get(self, "service_name")
|
|
205
205
|
|
|
@@ -223,7 +223,7 @@ class _PgUserState:
|
|
|
223
223
|
@pulumi.getter
|
|
224
224
|
def username(self) -> Optional[pulumi.Input[str]]:
|
|
225
225
|
"""
|
|
226
|
-
The actual name of the PG User. To set up proper dependencies please refer to this variable as a reference.
|
|
226
|
+
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.
|
|
227
227
|
"""
|
|
228
228
|
return pulumi.get(self, "username")
|
|
229
229
|
|
|
@@ -271,9 +271,9 @@ class PgUser(pulumi.CustomResource):
|
|
|
271
271
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
272
272
|
:param pulumi.Input[str] password: The password of the PG User (not applicable for all services).
|
|
273
273
|
:param pulumi.Input[bool] pg_allow_replication: Defines whether replication is allowed.
|
|
274
|
-
:param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
275
|
-
:param pulumi.Input[str] service_name: Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
276
|
-
:param pulumi.Input[str] username: The actual name of the PG User. To set up proper dependencies please refer to this variable as a reference.
|
|
274
|
+
:param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
275
|
+
:param pulumi.Input[str] service_name: Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
276
|
+
:param pulumi.Input[str] username: The actual name of the PG User. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
277
277
|
"""
|
|
278
278
|
...
|
|
279
279
|
@overload
|
|
@@ -379,10 +379,10 @@ class PgUser(pulumi.CustomResource):
|
|
|
379
379
|
:param pulumi.Input[str] access_key: Access certificate key for the user
|
|
380
380
|
:param pulumi.Input[str] password: The password of the PG User (not applicable for all services).
|
|
381
381
|
:param pulumi.Input[bool] pg_allow_replication: Defines whether replication is allowed.
|
|
382
|
-
:param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
383
|
-
:param pulumi.Input[str] service_name: Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
382
|
+
:param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
383
|
+
:param pulumi.Input[str] service_name: Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
384
384
|
:param pulumi.Input[str] type: Type of the user account. Tells whether the user is the primary account or a regular account.
|
|
385
|
-
:param pulumi.Input[str] username: The actual name of the PG User. To set up proper dependencies please refer to this variable as a reference.
|
|
385
|
+
:param pulumi.Input[str] username: The actual name of the PG User. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
386
386
|
"""
|
|
387
387
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
388
388
|
|
|
@@ -434,7 +434,7 @@ class PgUser(pulumi.CustomResource):
|
|
|
434
434
|
@pulumi.getter
|
|
435
435
|
def project(self) -> pulumi.Output[str]:
|
|
436
436
|
"""
|
|
437
|
-
Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
437
|
+
Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
438
438
|
"""
|
|
439
439
|
return pulumi.get(self, "project")
|
|
440
440
|
|
|
@@ -442,7 +442,7 @@ class PgUser(pulumi.CustomResource):
|
|
|
442
442
|
@pulumi.getter(name="serviceName")
|
|
443
443
|
def service_name(self) -> pulumi.Output[str]:
|
|
444
444
|
"""
|
|
445
|
-
Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
445
|
+
Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
446
446
|
"""
|
|
447
447
|
return pulumi.get(self, "service_name")
|
|
448
448
|
|
|
@@ -458,7 +458,7 @@ class PgUser(pulumi.CustomResource):
|
|
|
458
458
|
@pulumi.getter
|
|
459
459
|
def username(self) -> pulumi.Output[str]:
|
|
460
460
|
"""
|
|
461
|
-
The actual name of the PG User. To set up proper dependencies please refer to this variable as a reference.
|
|
461
|
+
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.
|
|
462
462
|
"""
|
|
463
463
|
return pulumi.get(self, "username")
|
|
464
464
|
|
pulumi_aiven/project.py
CHANGED
|
@@ -467,6 +467,19 @@ class Project(pulumi.CustomResource):
|
|
|
467
467
|
"""
|
|
468
468
|
The Project resource allows the creation and management of Aiven Projects.
|
|
469
469
|
|
|
470
|
+
## Example Usage
|
|
471
|
+
|
|
472
|
+
<!--Start PulumiCodeChooser -->
|
|
473
|
+
```python
|
|
474
|
+
import pulumi
|
|
475
|
+
import pulumi_aiven as aiven
|
|
476
|
+
|
|
477
|
+
example_project = aiven.Project("exampleProject",
|
|
478
|
+
project="Example project",
|
|
479
|
+
parent_id=aiven_organization["main"]["id"])
|
|
480
|
+
```
|
|
481
|
+
<!--End PulumiCodeChooser -->
|
|
482
|
+
|
|
470
483
|
## Import
|
|
471
484
|
|
|
472
485
|
```sh
|
|
@@ -495,6 +508,19 @@ class Project(pulumi.CustomResource):
|
|
|
495
508
|
"""
|
|
496
509
|
The Project resource allows the creation and management of Aiven Projects.
|
|
497
510
|
|
|
511
|
+
## Example Usage
|
|
512
|
+
|
|
513
|
+
<!--Start PulumiCodeChooser -->
|
|
514
|
+
```python
|
|
515
|
+
import pulumi
|
|
516
|
+
import pulumi_aiven as aiven
|
|
517
|
+
|
|
518
|
+
example_project = aiven.Project("exampleProject",
|
|
519
|
+
project="Example project",
|
|
520
|
+
parent_id=aiven_organization["main"]["id"])
|
|
521
|
+
```
|
|
522
|
+
<!--End PulumiCodeChooser -->
|
|
523
|
+
|
|
498
524
|
## Import
|
|
499
525
|
|
|
500
526
|
```sh
|
pulumi_aiven/project_user.py
CHANGED
|
@@ -19,9 +19,9 @@ class ProjectUserArgs:
|
|
|
19
19
|
project: pulumi.Input[str]):
|
|
20
20
|
"""
|
|
21
21
|
The set of arguments for constructing a ProjectUser resource.
|
|
22
|
-
:param pulumi.Input[str] email: Email address of the user. Should be lowercase.
|
|
22
|
+
:param pulumi.Input[str] email: Email address of the user. Should be lowercase. Changing this property forces recreation of the resource.
|
|
23
23
|
:param pulumi.Input[str] member_type: Project membership type. The possible values are `admin`, `developer` and `operator`.
|
|
24
|
-
:param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
24
|
+
:param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
25
25
|
"""
|
|
26
26
|
pulumi.set(__self__, "email", email)
|
|
27
27
|
pulumi.set(__self__, "member_type", member_type)
|
|
@@ -31,7 +31,7 @@ class ProjectUserArgs:
|
|
|
31
31
|
@pulumi.getter
|
|
32
32
|
def email(self) -> pulumi.Input[str]:
|
|
33
33
|
"""
|
|
34
|
-
Email address of the user. Should be lowercase.
|
|
34
|
+
Email address of the user. Should be lowercase. Changing this property forces recreation of the resource.
|
|
35
35
|
"""
|
|
36
36
|
return pulumi.get(self, "email")
|
|
37
37
|
|
|
@@ -55,7 +55,7 @@ class ProjectUserArgs:
|
|
|
55
55
|
@pulumi.getter
|
|
56
56
|
def project(self) -> pulumi.Input[str]:
|
|
57
57
|
"""
|
|
58
|
-
Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
58
|
+
Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
59
59
|
"""
|
|
60
60
|
return pulumi.get(self, "project")
|
|
61
61
|
|
|
@@ -74,9 +74,9 @@ class _ProjectUserState:
|
|
|
74
74
|
"""
|
|
75
75
|
Input properties used for looking up and filtering ProjectUser resources.
|
|
76
76
|
:param pulumi.Input[bool] accepted: Whether the user has accepted the request to join the project; adding user to a project sends an invitation to the target user and the actual membership is only created once the user accepts the invitation.
|
|
77
|
-
:param pulumi.Input[str] email: Email address of the user. Should be lowercase.
|
|
77
|
+
:param pulumi.Input[str] email: Email address of the user. Should be lowercase. Changing this property forces recreation of the resource.
|
|
78
78
|
:param pulumi.Input[str] member_type: Project membership type. The possible values are `admin`, `developer` and `operator`.
|
|
79
|
-
:param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
79
|
+
:param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
80
80
|
"""
|
|
81
81
|
if accepted is not None:
|
|
82
82
|
pulumi.set(__self__, "accepted", accepted)
|
|
@@ -103,7 +103,7 @@ class _ProjectUserState:
|
|
|
103
103
|
@pulumi.getter
|
|
104
104
|
def email(self) -> Optional[pulumi.Input[str]]:
|
|
105
105
|
"""
|
|
106
|
-
Email address of the user. Should be lowercase.
|
|
106
|
+
Email address of the user. Should be lowercase. Changing this property forces recreation of the resource.
|
|
107
107
|
"""
|
|
108
108
|
return pulumi.get(self, "email")
|
|
109
109
|
|
|
@@ -127,7 +127,7 @@ class _ProjectUserState:
|
|
|
127
127
|
@pulumi.getter
|
|
128
128
|
def project(self) -> Optional[pulumi.Input[str]]:
|
|
129
129
|
"""
|
|
130
|
-
Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
130
|
+
Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
131
131
|
"""
|
|
132
132
|
return pulumi.get(self, "project")
|
|
133
133
|
|
|
@@ -170,9 +170,9 @@ class ProjectUser(pulumi.CustomResource):
|
|
|
170
170
|
|
|
171
171
|
:param str resource_name: The name of the resource.
|
|
172
172
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
173
|
-
:param pulumi.Input[str] email: Email address of the user. Should be lowercase.
|
|
173
|
+
:param pulumi.Input[str] email: Email address of the user. Should be lowercase. Changing this property forces recreation of the resource.
|
|
174
174
|
:param pulumi.Input[str] member_type: Project membership type. The possible values are `admin`, `developer` and `operator`.
|
|
175
|
-
:param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
175
|
+
:param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
176
176
|
"""
|
|
177
177
|
...
|
|
178
178
|
@overload
|
|
@@ -262,9 +262,9 @@ class ProjectUser(pulumi.CustomResource):
|
|
|
262
262
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
263
263
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
264
264
|
:param pulumi.Input[bool] accepted: Whether the user has accepted the request to join the project; adding user to a project sends an invitation to the target user and the actual membership is only created once the user accepts the invitation.
|
|
265
|
-
:param pulumi.Input[str] email: Email address of the user. Should be lowercase.
|
|
265
|
+
:param pulumi.Input[str] email: Email address of the user. Should be lowercase. Changing this property forces recreation of the resource.
|
|
266
266
|
:param pulumi.Input[str] member_type: Project membership type. The possible values are `admin`, `developer` and `operator`.
|
|
267
|
-
:param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
267
|
+
:param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
268
268
|
"""
|
|
269
269
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
270
270
|
|
|
@@ -288,7 +288,7 @@ class ProjectUser(pulumi.CustomResource):
|
|
|
288
288
|
@pulumi.getter
|
|
289
289
|
def email(self) -> pulumi.Output[str]:
|
|
290
290
|
"""
|
|
291
|
-
Email address of the user. Should be lowercase.
|
|
291
|
+
Email address of the user. Should be lowercase. Changing this property forces recreation of the resource.
|
|
292
292
|
"""
|
|
293
293
|
return pulumi.get(self, "email")
|
|
294
294
|
|
|
@@ -304,7 +304,7 @@ class ProjectUser(pulumi.CustomResource):
|
|
|
304
304
|
@pulumi.getter
|
|
305
305
|
def project(self) -> pulumi.Output[str]:
|
|
306
306
|
"""
|
|
307
|
-
Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
307
|
+
Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
308
308
|
"""
|
|
309
309
|
return pulumi.get(self, "project")
|
|
310
310
|
|