pulumi-aiven 6.13.0a1711027602__py3-none-any.whl → 6.14.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-aiven might be problematic. Click here for more details.
- pulumi_aiven/__init__.py +28 -0
- pulumi_aiven/_inputs.py +2623 -1138
- pulumi_aiven/account.py +8 -8
- pulumi_aiven/account_authentication.py +8 -4
- pulumi_aiven/account_team.py +6 -6
- pulumi_aiven/account_team_member.py +27 -31
- pulumi_aiven/account_team_project.py +12 -12
- pulumi_aiven/aws_privatelink.py +39 -43
- pulumi_aiven/aws_vpc_peering_connection.py +62 -56
- pulumi_aiven/azure_privatelink.py +49 -53
- pulumi_aiven/azure_privatelink_connection_approval.py +131 -33
- pulumi_aiven/azure_vpc_peering_connection.py +76 -72
- pulumi_aiven/billing_group.py +18 -18
- pulumi_aiven/cassandra.py +25 -57
- pulumi_aiven/cassandra_user.py +25 -29
- pulumi_aiven/clickhouse.py +25 -57
- pulumi_aiven/clickhouse_database.py +31 -33
- pulumi_aiven/clickhouse_grant.py +56 -58
- pulumi_aiven/clickhouse_role.py +23 -27
- pulumi_aiven/clickhouse_user.py +25 -29
- pulumi_aiven/connection_pool.py +38 -42
- pulumi_aiven/dragonfly.py +1205 -0
- pulumi_aiven/flink.py +32 -36
- pulumi_aiven/flink_application.py +22 -24
- pulumi_aiven/flink_application_deployment.py +28 -28
- pulumi_aiven/flink_application_version.py +96 -14
- pulumi_aiven/gcp_privatelink.py +40 -40
- pulumi_aiven/gcp_privatelink_connection_approval.py +47 -47
- pulumi_aiven/gcp_vpc_peering_connection.py +39 -43
- pulumi_aiven/get_account.py +0 -4
- pulumi_aiven/get_account_team_member.py +9 -9
- pulumi_aiven/get_aws_privatelink.py +15 -19
- pulumi_aiven/get_aws_vpc_peering_connection.py +33 -27
- pulumi_aiven/get_azure_privatelink.py +17 -21
- pulumi_aiven/get_azure_vpc_peering_connection.py +50 -22
- pulumi_aiven/get_billing_group.py +2 -2
- pulumi_aiven/get_cassanda.py +7 -24
- pulumi_aiven/get_cassandra.py +7 -24
- pulumi_aiven/get_cassandra_user.py +13 -17
- pulumi_aiven/get_clickhouse.py +7 -24
- pulumi_aiven/get_clickhouse_database.py +13 -17
- pulumi_aiven/get_clickhouse_user.py +13 -17
- pulumi_aiven/get_connection_pool.py +14 -18
- pulumi_aiven/get_dragonfly.py +450 -0
- pulumi_aiven/get_flink.py +6 -10
- pulumi_aiven/get_flink_application.py +8 -12
- pulumi_aiven/get_flink_application_version.py +8 -12
- pulumi_aiven/get_gcp_vpc_peering_connection.py +18 -22
- pulumi_aiven/get_grafana.py +7 -24
- pulumi_aiven/get_kafka.py +13 -17
- pulumi_aiven/get_kafka_acl.py +19 -23
- pulumi_aiven/get_kafka_connect.py +7 -24
- pulumi_aiven/get_kafka_connector.py +13 -17
- pulumi_aiven/get_kafka_mirror_maker.py +7 -24
- pulumi_aiven/get_kafka_schema.py +13 -17
- pulumi_aiven/get_kafka_schema_configuration.py +11 -15
- pulumi_aiven/get_kafka_schema_registry_acl.py +15 -15
- pulumi_aiven/get_kafka_topic.py +19 -23
- pulumi_aiven/get_kafka_user.py +13 -17
- pulumi_aiven/get_m3_aggregator.py +7 -24
- pulumi_aiven/get_m3_db.py +7 -24
- pulumi_aiven/get_m3db_user.py +13 -17
- pulumi_aiven/get_mirror_maker_replication_flow.py +14 -18
- pulumi_aiven/get_my_sql.py +7 -24
- pulumi_aiven/get_mysql_database.py +13 -17
- pulumi_aiven/get_mysql_user.py +13 -17
- pulumi_aiven/get_open_search.py +6 -10
- pulumi_aiven/get_open_search_acl_config.py +10 -14
- pulumi_aiven/get_open_search_acl_rule.py +16 -20
- pulumi_aiven/get_opensearch_security_plugin_config.py +10 -14
- pulumi_aiven/get_opensearch_user.py +13 -17
- pulumi_aiven/get_organization.py +8 -12
- pulumi_aiven/get_organization_user_group.py +29 -9
- pulumi_aiven/get_organizational_unit.py +9 -9
- pulumi_aiven/get_pg.py +6 -10
- pulumi_aiven/get_pg_database.py +15 -19
- pulumi_aiven/get_pg_user.py +13 -17
- pulumi_aiven/get_project.py +17 -21
- pulumi_aiven/get_project_user.py +9 -13
- pulumi_aiven/get_project_vpc.py +11 -17
- pulumi_aiven/get_redis.py +7 -24
- pulumi_aiven/get_redis_user.py +17 -21
- pulumi_aiven/get_service_component.py +4 -8
- pulumi_aiven/get_service_integration.py +75 -37
- pulumi_aiven/get_service_integration_endpoint.py +3 -7
- pulumi_aiven/get_transit_gateway_vpc_attachment.py +11 -15
- pulumi_aiven/grafana.py +82 -267
- pulumi_aiven/influx_db.py +28 -28
- pulumi_aiven/influxdb_database.py +35 -35
- pulumi_aiven/influxdb_user.py +42 -42
- pulumi_aiven/kafka.py +50 -54
- pulumi_aiven/kafka_acl.py +41 -45
- pulumi_aiven/kafka_connect.py +80 -267
- pulumi_aiven/kafka_connector.py +33 -37
- pulumi_aiven/kafka_mirror_maker.py +80 -267
- pulumi_aiven/kafka_schema.py +51 -51
- pulumi_aiven/kafka_schema_configuration.py +20 -24
- pulumi_aiven/kafka_schema_registry_acl.py +75 -35
- pulumi_aiven/kafka_topic.py +91 -53
- pulumi_aiven/kafka_user.py +25 -29
- pulumi_aiven/m3_aggregator.py +80 -267
- pulumi_aiven/m3_db.py +80 -267
- pulumi_aiven/m3db_user.py +23 -27
- pulumi_aiven/mirror_maker_replication_flow.py +58 -60
- pulumi_aiven/my_sql.py +80 -267
- pulumi_aiven/mysql_database.py +27 -31
- pulumi_aiven/mysql_user.py +25 -29
- pulumi_aiven/open_search.py +27 -31
- pulumi_aiven/open_search_acl_config.py +28 -36
- pulumi_aiven/open_search_acl_rule.py +50 -54
- pulumi_aiven/opensearch_security_plugin_config.py +64 -16
- pulumi_aiven/opensearch_user.py +25 -29
- pulumi_aiven/organization.py +10 -14
- pulumi_aiven/organization_group_project.py +336 -0
- pulumi_aiven/organization_user.py +16 -34
- pulumi_aiven/organization_user_group.py +59 -23
- pulumi_aiven/organization_user_group_member.py +350 -0
- pulumi_aiven/organizational_unit.py +36 -36
- pulumi_aiven/outputs.py +3539 -1136
- pulumi_aiven/pg.py +30 -30
- pulumi_aiven/pg_database.py +41 -45
- pulumi_aiven/pg_user.py +25 -29
- pulumi_aiven/project.py +91 -69
- pulumi_aiven/project_user.py +24 -28
- pulumi_aiven/project_vpc.py +49 -25
- pulumi_aiven/redis.py +80 -267
- pulumi_aiven/redis_user.py +53 -57
- pulumi_aiven/service_integration.py +249 -65
- pulumi_aiven/service_integration_endpoint.py +7 -7
- pulumi_aiven/static_ip.py +14 -14
- pulumi_aiven/transit_gateway_vpc_attachment.py +25 -29
- {pulumi_aiven-6.13.0a1711027602.dist-info → pulumi_aiven-6.14.0.dist-info}/METADATA +1 -1
- pulumi_aiven-6.14.0.dist-info/RECORD +150 -0
- pulumi_aiven-6.13.0a1711027602.dist-info/RECORD +0 -146
- {pulumi_aiven-6.13.0a1711027602.dist-info → pulumi_aiven-6.14.0.dist-info}/WHEEL +0 -0
- {pulumi_aiven-6.13.0a1711027602.dist-info → pulumi_aiven-6.14.0.dist-info}/top_level.txt +0 -0
pulumi_aiven/clickhouse_user.py
CHANGED
|
@@ -19,9 +19,9 @@ class ClickhouseUserArgs:
|
|
|
19
19
|
username: pulumi.Input[str]):
|
|
20
20
|
"""
|
|
21
21
|
The set of arguments for constructing a ClickhouseUser resource.
|
|
22
|
-
:param pulumi.Input[str] project:
|
|
23
|
-
:param pulumi.Input[str] service_name:
|
|
24
|
-
:param pulumi.Input[str] username: The actual name of the Clickhouse user.
|
|
22
|
+
: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.
|
|
23
|
+
: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.
|
|
24
|
+
:param pulumi.Input[str] username: The actual name of the Clickhouse user. Changing this property forces recreation of the resource.
|
|
25
25
|
"""
|
|
26
26
|
pulumi.set(__self__, "project", project)
|
|
27
27
|
pulumi.set(__self__, "service_name", service_name)
|
|
@@ -31,7 +31,7 @@ class ClickhouseUserArgs:
|
|
|
31
31
|
@pulumi.getter
|
|
32
32
|
def project(self) -> pulumi.Input[str]:
|
|
33
33
|
"""
|
|
34
|
-
|
|
34
|
+
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.
|
|
35
35
|
"""
|
|
36
36
|
return pulumi.get(self, "project")
|
|
37
37
|
|
|
@@ -43,7 +43,7 @@ class ClickhouseUserArgs:
|
|
|
43
43
|
@pulumi.getter(name="serviceName")
|
|
44
44
|
def service_name(self) -> pulumi.Input[str]:
|
|
45
45
|
"""
|
|
46
|
-
|
|
46
|
+
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.
|
|
47
47
|
"""
|
|
48
48
|
return pulumi.get(self, "service_name")
|
|
49
49
|
|
|
@@ -55,7 +55,7 @@ class ClickhouseUserArgs:
|
|
|
55
55
|
@pulumi.getter
|
|
56
56
|
def username(self) -> pulumi.Input[str]:
|
|
57
57
|
"""
|
|
58
|
-
The actual name of the Clickhouse user.
|
|
58
|
+
The actual name of the Clickhouse user. Changing this property forces recreation of the resource.
|
|
59
59
|
"""
|
|
60
60
|
return pulumi.get(self, "username")
|
|
61
61
|
|
|
@@ -76,10 +76,10 @@ class _ClickhouseUserState:
|
|
|
76
76
|
"""
|
|
77
77
|
Input properties used for looking up and filtering ClickhouseUser resources.
|
|
78
78
|
:param pulumi.Input[str] password: The password of the clickhouse user.
|
|
79
|
-
:param pulumi.Input[str] project:
|
|
79
|
+
: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.
|
|
80
80
|
:param pulumi.Input[bool] required: Indicates if a clickhouse user is required
|
|
81
|
-
:param pulumi.Input[str] service_name:
|
|
82
|
-
:param pulumi.Input[str] username: The actual name of the Clickhouse user.
|
|
81
|
+
: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.
|
|
82
|
+
:param pulumi.Input[str] username: The actual name of the Clickhouse user. Changing this property forces recreation of the resource.
|
|
83
83
|
:param pulumi.Input[str] uuid: UUID of the clickhouse user.
|
|
84
84
|
"""
|
|
85
85
|
if password is not None:
|
|
@@ -111,7 +111,7 @@ class _ClickhouseUserState:
|
|
|
111
111
|
@pulumi.getter
|
|
112
112
|
def project(self) -> Optional[pulumi.Input[str]]:
|
|
113
113
|
"""
|
|
114
|
-
|
|
114
|
+
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.
|
|
115
115
|
"""
|
|
116
116
|
return pulumi.get(self, "project")
|
|
117
117
|
|
|
@@ -135,7 +135,7 @@ class _ClickhouseUserState:
|
|
|
135
135
|
@pulumi.getter(name="serviceName")
|
|
136
136
|
def service_name(self) -> Optional[pulumi.Input[str]]:
|
|
137
137
|
"""
|
|
138
|
-
|
|
138
|
+
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.
|
|
139
139
|
"""
|
|
140
140
|
return pulumi.get(self, "service_name")
|
|
141
141
|
|
|
@@ -147,7 +147,7 @@ class _ClickhouseUserState:
|
|
|
147
147
|
@pulumi.getter
|
|
148
148
|
def username(self) -> Optional[pulumi.Input[str]]:
|
|
149
149
|
"""
|
|
150
|
-
The actual name of the Clickhouse user.
|
|
150
|
+
The actual name of the Clickhouse user. Changing this property forces recreation of the resource.
|
|
151
151
|
"""
|
|
152
152
|
return pulumi.get(self, "username")
|
|
153
153
|
|
|
@@ -182,17 +182,15 @@ class ClickhouseUser(pulumi.CustomResource):
|
|
|
182
182
|
|
|
183
183
|
## Example Usage
|
|
184
184
|
|
|
185
|
-
<!--Start PulumiCodeChooser -->
|
|
186
185
|
```python
|
|
187
186
|
import pulumi
|
|
188
187
|
import pulumi_aiven as aiven
|
|
189
188
|
|
|
190
189
|
ch_user = aiven.ClickhouseUser("ch-user",
|
|
191
|
-
project=
|
|
192
|
-
service_name=
|
|
190
|
+
project=myproject["project"],
|
|
191
|
+
service_name=myservice["serviceName"],
|
|
193
192
|
username="<USERNAME>")
|
|
194
193
|
```
|
|
195
|
-
<!--End PulumiCodeChooser -->
|
|
196
194
|
|
|
197
195
|
## Import
|
|
198
196
|
|
|
@@ -202,9 +200,9 @@ class ClickhouseUser(pulumi.CustomResource):
|
|
|
202
200
|
|
|
203
201
|
:param str resource_name: The name of the resource.
|
|
204
202
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
205
|
-
:param pulumi.Input[str] project:
|
|
206
|
-
:param pulumi.Input[str] service_name:
|
|
207
|
-
:param pulumi.Input[str] username: The actual name of the Clickhouse user.
|
|
203
|
+
: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.
|
|
204
|
+
: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.
|
|
205
|
+
:param pulumi.Input[str] username: The actual name of the Clickhouse user. Changing this property forces recreation of the resource.
|
|
208
206
|
"""
|
|
209
207
|
...
|
|
210
208
|
@overload
|
|
@@ -217,17 +215,15 @@ class ClickhouseUser(pulumi.CustomResource):
|
|
|
217
215
|
|
|
218
216
|
## Example Usage
|
|
219
217
|
|
|
220
|
-
<!--Start PulumiCodeChooser -->
|
|
221
218
|
```python
|
|
222
219
|
import pulumi
|
|
223
220
|
import pulumi_aiven as aiven
|
|
224
221
|
|
|
225
222
|
ch_user = aiven.ClickhouseUser("ch-user",
|
|
226
|
-
project=
|
|
227
|
-
service_name=
|
|
223
|
+
project=myproject["project"],
|
|
224
|
+
service_name=myservice["serviceName"],
|
|
228
225
|
username="<USERNAME>")
|
|
229
226
|
```
|
|
230
|
-
<!--End PulumiCodeChooser -->
|
|
231
227
|
|
|
232
228
|
## Import
|
|
233
229
|
|
|
@@ -300,10 +296,10 @@ class ClickhouseUser(pulumi.CustomResource):
|
|
|
300
296
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
301
297
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
302
298
|
:param pulumi.Input[str] password: The password of the clickhouse user.
|
|
303
|
-
:param pulumi.Input[str] project:
|
|
299
|
+
: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.
|
|
304
300
|
:param pulumi.Input[bool] required: Indicates if a clickhouse user is required
|
|
305
|
-
:param pulumi.Input[str] service_name:
|
|
306
|
-
:param pulumi.Input[str] username: The actual name of the Clickhouse user.
|
|
301
|
+
: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.
|
|
302
|
+
:param pulumi.Input[str] username: The actual name of the Clickhouse user. Changing this property forces recreation of the resource.
|
|
307
303
|
:param pulumi.Input[str] uuid: UUID of the clickhouse user.
|
|
308
304
|
"""
|
|
309
305
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -330,7 +326,7 @@ class ClickhouseUser(pulumi.CustomResource):
|
|
|
330
326
|
@pulumi.getter
|
|
331
327
|
def project(self) -> pulumi.Output[str]:
|
|
332
328
|
"""
|
|
333
|
-
|
|
329
|
+
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.
|
|
334
330
|
"""
|
|
335
331
|
return pulumi.get(self, "project")
|
|
336
332
|
|
|
@@ -346,7 +342,7 @@ class ClickhouseUser(pulumi.CustomResource):
|
|
|
346
342
|
@pulumi.getter(name="serviceName")
|
|
347
343
|
def service_name(self) -> pulumi.Output[str]:
|
|
348
344
|
"""
|
|
349
|
-
|
|
345
|
+
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.
|
|
350
346
|
"""
|
|
351
347
|
return pulumi.get(self, "service_name")
|
|
352
348
|
|
|
@@ -354,7 +350,7 @@ class ClickhouseUser(pulumi.CustomResource):
|
|
|
354
350
|
@pulumi.getter
|
|
355
351
|
def username(self) -> pulumi.Output[str]:
|
|
356
352
|
"""
|
|
357
|
-
The actual name of the Clickhouse user.
|
|
353
|
+
The actual name of the Clickhouse user. Changing this property forces recreation of the resource.
|
|
358
354
|
"""
|
|
359
355
|
return pulumi.get(self, "username")
|
|
360
356
|
|
pulumi_aiven/connection_pool.py
CHANGED
|
@@ -23,10 +23,10 @@ class ConnectionPoolArgs:
|
|
|
23
23
|
username: Optional[pulumi.Input[str]] = None):
|
|
24
24
|
"""
|
|
25
25
|
The set of arguments for constructing a ConnectionPool resource.
|
|
26
|
-
:param pulumi.Input[str] database_name: The name of the database the pool connects to. To set up proper dependencies please refer to this variable as a reference.
|
|
27
|
-
:param pulumi.Input[str] pool_name: The name of the created pool.
|
|
28
|
-
:param pulumi.Input[str] project:
|
|
29
|
-
:param pulumi.Input[str] service_name:
|
|
26
|
+
:param pulumi.Input[str] database_name: The name of the database the pool connects 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] pool_name: The name of the created pool. Changing this property forces recreation of the resource.
|
|
28
|
+
: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.
|
|
29
|
+
: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.
|
|
30
30
|
:param pulumi.Input[str] pool_mode: The mode the pool operates in. The possible values are `session`, `transaction` and `statement`. The default value is `transaction`.
|
|
31
31
|
:param pulumi.Input[int] pool_size: The number of connections the pool may create towards the backend server. This does not affect the number of incoming connections, which is always a much larger number. The default value is `10`.
|
|
32
32
|
:param pulumi.Input[str] username: The name of the service user used to connect to the database. To set up proper dependencies please refer to this variable as a reference.
|
|
@@ -46,7 +46,7 @@ class ConnectionPoolArgs:
|
|
|
46
46
|
@pulumi.getter(name="databaseName")
|
|
47
47
|
def database_name(self) -> pulumi.Input[str]:
|
|
48
48
|
"""
|
|
49
|
-
The name of the database the pool connects to. To set up proper dependencies please refer to this variable as a reference.
|
|
49
|
+
The name of the database the pool connects to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
50
50
|
"""
|
|
51
51
|
return pulumi.get(self, "database_name")
|
|
52
52
|
|
|
@@ -58,7 +58,7 @@ class ConnectionPoolArgs:
|
|
|
58
58
|
@pulumi.getter(name="poolName")
|
|
59
59
|
def pool_name(self) -> pulumi.Input[str]:
|
|
60
60
|
"""
|
|
61
|
-
The name of the created pool.
|
|
61
|
+
The name of the created pool. Changing this property forces recreation of the resource.
|
|
62
62
|
"""
|
|
63
63
|
return pulumi.get(self, "pool_name")
|
|
64
64
|
|
|
@@ -70,7 +70,7 @@ class ConnectionPoolArgs:
|
|
|
70
70
|
@pulumi.getter
|
|
71
71
|
def project(self) -> pulumi.Input[str]:
|
|
72
72
|
"""
|
|
73
|
-
|
|
73
|
+
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.
|
|
74
74
|
"""
|
|
75
75
|
return pulumi.get(self, "project")
|
|
76
76
|
|
|
@@ -82,7 +82,7 @@ class ConnectionPoolArgs:
|
|
|
82
82
|
@pulumi.getter(name="serviceName")
|
|
83
83
|
def service_name(self) -> pulumi.Input[str]:
|
|
84
84
|
"""
|
|
85
|
-
|
|
85
|
+
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.
|
|
86
86
|
"""
|
|
87
87
|
return pulumi.get(self, "service_name")
|
|
88
88
|
|
|
@@ -141,12 +141,12 @@ class _ConnectionPoolState:
|
|
|
141
141
|
"""
|
|
142
142
|
Input properties used for looking up and filtering ConnectionPool resources.
|
|
143
143
|
:param pulumi.Input[str] connection_uri: The URI for connecting to the pool
|
|
144
|
-
:param pulumi.Input[str] database_name: The name of the database the pool connects to. To set up proper dependencies please refer to this variable as a reference.
|
|
144
|
+
:param pulumi.Input[str] database_name: The name of the database the pool connects to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
145
145
|
:param pulumi.Input[str] pool_mode: The mode the pool operates in. The possible values are `session`, `transaction` and `statement`. The default value is `transaction`.
|
|
146
|
-
:param pulumi.Input[str] pool_name: The name of the created pool.
|
|
146
|
+
:param pulumi.Input[str] pool_name: The name of the created pool. Changing this property forces recreation of the resource.
|
|
147
147
|
:param pulumi.Input[int] pool_size: The number of connections the pool may create towards the backend server. This does not affect the number of incoming connections, which is always a much larger number. The default value is `10`.
|
|
148
|
-
:param pulumi.Input[str] project:
|
|
149
|
-
:param pulumi.Input[str] service_name:
|
|
148
|
+
: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.
|
|
149
|
+
: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.
|
|
150
150
|
:param pulumi.Input[str] username: The name of the service user used to connect to the database. To set up proper dependencies please refer to this variable as a reference.
|
|
151
151
|
"""
|
|
152
152
|
if connection_uri is not None:
|
|
@@ -182,7 +182,7 @@ class _ConnectionPoolState:
|
|
|
182
182
|
@pulumi.getter(name="databaseName")
|
|
183
183
|
def database_name(self) -> Optional[pulumi.Input[str]]:
|
|
184
184
|
"""
|
|
185
|
-
The name of the database the pool connects to. To set up proper dependencies please refer to this variable as a reference.
|
|
185
|
+
The name of the database the pool connects to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
186
186
|
"""
|
|
187
187
|
return pulumi.get(self, "database_name")
|
|
188
188
|
|
|
@@ -206,7 +206,7 @@ class _ConnectionPoolState:
|
|
|
206
206
|
@pulumi.getter(name="poolName")
|
|
207
207
|
def pool_name(self) -> Optional[pulumi.Input[str]]:
|
|
208
208
|
"""
|
|
209
|
-
The name of the created pool.
|
|
209
|
+
The name of the created pool. Changing this property forces recreation of the resource.
|
|
210
210
|
"""
|
|
211
211
|
return pulumi.get(self, "pool_name")
|
|
212
212
|
|
|
@@ -230,7 +230,7 @@ class _ConnectionPoolState:
|
|
|
230
230
|
@pulumi.getter
|
|
231
231
|
def project(self) -> Optional[pulumi.Input[str]]:
|
|
232
232
|
"""
|
|
233
|
-
|
|
233
|
+
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.
|
|
234
234
|
"""
|
|
235
235
|
return pulumi.get(self, "project")
|
|
236
236
|
|
|
@@ -242,7 +242,7 @@ class _ConnectionPoolState:
|
|
|
242
242
|
@pulumi.getter(name="serviceName")
|
|
243
243
|
def service_name(self) -> Optional[pulumi.Input[str]]:
|
|
244
244
|
"""
|
|
245
|
-
|
|
245
|
+
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.
|
|
246
246
|
"""
|
|
247
247
|
return pulumi.get(self, "service_name")
|
|
248
248
|
|
|
@@ -281,36 +281,34 @@ class ConnectionPool(pulumi.CustomResource):
|
|
|
281
281
|
|
|
282
282
|
## Example Usage
|
|
283
283
|
|
|
284
|
-
<!--Start PulumiCodeChooser -->
|
|
285
284
|
```python
|
|
286
285
|
import pulumi
|
|
287
286
|
import pulumi_aiven as aiven
|
|
288
287
|
|
|
289
288
|
mytestpool = aiven.ConnectionPool("mytestpool",
|
|
290
|
-
project=
|
|
291
|
-
service_name=
|
|
292
|
-
database_name=
|
|
289
|
+
project=myproject["project"],
|
|
290
|
+
service_name=mypg["serviceName"],
|
|
291
|
+
database_name=mypgdatabase["databaseName"],
|
|
293
292
|
pool_mode="transaction",
|
|
294
293
|
pool_name="mypool",
|
|
295
294
|
pool_size=10,
|
|
296
|
-
username=
|
|
295
|
+
username=mypguser["username"])
|
|
297
296
|
```
|
|
298
|
-
<!--End PulumiCodeChooser -->
|
|
299
297
|
|
|
300
298
|
## Import
|
|
301
299
|
|
|
302
300
|
```sh
|
|
303
|
-
$ pulumi import aiven:index/connectionPool:ConnectionPool mytestpool
|
|
301
|
+
$ pulumi import aiven:index/connectionPool:ConnectionPool mytestpool PROJECT/SERVICE_NAME/POOL_NAME
|
|
304
302
|
```
|
|
305
303
|
|
|
306
304
|
:param str resource_name: The name of the resource.
|
|
307
305
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
308
|
-
:param pulumi.Input[str] database_name: The name of the database the pool connects to. To set up proper dependencies please refer to this variable as a reference.
|
|
306
|
+
:param pulumi.Input[str] database_name: The name of the database the pool connects to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
309
307
|
:param pulumi.Input[str] pool_mode: The mode the pool operates in. The possible values are `session`, `transaction` and `statement`. The default value is `transaction`.
|
|
310
|
-
:param pulumi.Input[str] pool_name: The name of the created pool.
|
|
308
|
+
:param pulumi.Input[str] pool_name: The name of the created pool. Changing this property forces recreation of the resource.
|
|
311
309
|
:param pulumi.Input[int] pool_size: The number of connections the pool may create towards the backend server. This does not affect the number of incoming connections, which is always a much larger number. The default value is `10`.
|
|
312
|
-
:param pulumi.Input[str] project:
|
|
313
|
-
:param pulumi.Input[str] service_name:
|
|
310
|
+
: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.
|
|
311
|
+
: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.
|
|
314
312
|
:param pulumi.Input[str] username: The name of the service user used to connect to the database. To set up proper dependencies please refer to this variable as a reference.
|
|
315
313
|
"""
|
|
316
314
|
...
|
|
@@ -324,26 +322,24 @@ class ConnectionPool(pulumi.CustomResource):
|
|
|
324
322
|
|
|
325
323
|
## Example Usage
|
|
326
324
|
|
|
327
|
-
<!--Start PulumiCodeChooser -->
|
|
328
325
|
```python
|
|
329
326
|
import pulumi
|
|
330
327
|
import pulumi_aiven as aiven
|
|
331
328
|
|
|
332
329
|
mytestpool = aiven.ConnectionPool("mytestpool",
|
|
333
|
-
project=
|
|
334
|
-
service_name=
|
|
335
|
-
database_name=
|
|
330
|
+
project=myproject["project"],
|
|
331
|
+
service_name=mypg["serviceName"],
|
|
332
|
+
database_name=mypgdatabase["databaseName"],
|
|
336
333
|
pool_mode="transaction",
|
|
337
334
|
pool_name="mypool",
|
|
338
335
|
pool_size=10,
|
|
339
|
-
username=
|
|
336
|
+
username=mypguser["username"])
|
|
340
337
|
```
|
|
341
|
-
<!--End PulumiCodeChooser -->
|
|
342
338
|
|
|
343
339
|
## Import
|
|
344
340
|
|
|
345
341
|
```sh
|
|
346
|
-
$ pulumi import aiven:index/connectionPool:ConnectionPool mytestpool
|
|
342
|
+
$ pulumi import aiven:index/connectionPool:ConnectionPool mytestpool PROJECT/SERVICE_NAME/POOL_NAME
|
|
347
343
|
```
|
|
348
344
|
|
|
349
345
|
:param str resource_name: The name of the resource.
|
|
@@ -421,12 +417,12 @@ class ConnectionPool(pulumi.CustomResource):
|
|
|
421
417
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
422
418
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
423
419
|
:param pulumi.Input[str] connection_uri: The URI for connecting to the pool
|
|
424
|
-
:param pulumi.Input[str] database_name: The name of the database the pool connects to. To set up proper dependencies please refer to this variable as a reference.
|
|
420
|
+
:param pulumi.Input[str] database_name: The name of the database the pool connects to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
425
421
|
:param pulumi.Input[str] pool_mode: The mode the pool operates in. The possible values are `session`, `transaction` and `statement`. The default value is `transaction`.
|
|
426
|
-
:param pulumi.Input[str] pool_name: The name of the created pool.
|
|
422
|
+
:param pulumi.Input[str] pool_name: The name of the created pool. Changing this property forces recreation of the resource.
|
|
427
423
|
:param pulumi.Input[int] pool_size: The number of connections the pool may create towards the backend server. This does not affect the number of incoming connections, which is always a much larger number. The default value is `10`.
|
|
428
|
-
:param pulumi.Input[str] project:
|
|
429
|
-
:param pulumi.Input[str] service_name:
|
|
424
|
+
: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.
|
|
425
|
+
: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.
|
|
430
426
|
:param pulumi.Input[str] username: The name of the service user used to connect to the database. To set up proper dependencies please refer to this variable as a reference.
|
|
431
427
|
"""
|
|
432
428
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -455,7 +451,7 @@ class ConnectionPool(pulumi.CustomResource):
|
|
|
455
451
|
@pulumi.getter(name="databaseName")
|
|
456
452
|
def database_name(self) -> pulumi.Output[str]:
|
|
457
453
|
"""
|
|
458
|
-
The name of the database the pool connects to. To set up proper dependencies please refer to this variable as a reference.
|
|
454
|
+
The name of the database the pool connects to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
459
455
|
"""
|
|
460
456
|
return pulumi.get(self, "database_name")
|
|
461
457
|
|
|
@@ -471,7 +467,7 @@ class ConnectionPool(pulumi.CustomResource):
|
|
|
471
467
|
@pulumi.getter(name="poolName")
|
|
472
468
|
def pool_name(self) -> pulumi.Output[str]:
|
|
473
469
|
"""
|
|
474
|
-
The name of the created pool.
|
|
470
|
+
The name of the created pool. Changing this property forces recreation of the resource.
|
|
475
471
|
"""
|
|
476
472
|
return pulumi.get(self, "pool_name")
|
|
477
473
|
|
|
@@ -487,7 +483,7 @@ class ConnectionPool(pulumi.CustomResource):
|
|
|
487
483
|
@pulumi.getter
|
|
488
484
|
def project(self) -> pulumi.Output[str]:
|
|
489
485
|
"""
|
|
490
|
-
|
|
486
|
+
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.
|
|
491
487
|
"""
|
|
492
488
|
return pulumi.get(self, "project")
|
|
493
489
|
|
|
@@ -495,7 +491,7 @@ class ConnectionPool(pulumi.CustomResource):
|
|
|
495
491
|
@pulumi.getter(name="serviceName")
|
|
496
492
|
def service_name(self) -> pulumi.Output[str]:
|
|
497
493
|
"""
|
|
498
|
-
|
|
494
|
+
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.
|
|
499
495
|
"""
|
|
500
496
|
return pulumi.get(self, "service_name")
|
|
501
497
|
|