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/get_clickhouse.py
CHANGED
|
@@ -22,16 +22,13 @@ class GetClickhouseResult:
|
|
|
22
22
|
"""
|
|
23
23
|
A collection of values returned by getClickhouse.
|
|
24
24
|
"""
|
|
25
|
-
def __init__(__self__, additional_disk_space=None, clickhouse_user_configs=None,
|
|
25
|
+
def __init__(__self__, additional_disk_space=None, clickhouse_user_configs=None, cloud_name=None, components=None, disk_space=None, disk_space_cap=None, disk_space_default=None, disk_space_step=None, disk_space_used=None, id=None, maintenance_window_dow=None, maintenance_window_time=None, plan=None, project=None, project_vpc_id=None, service_host=None, service_integrations=None, service_name=None, service_password=None, service_port=None, service_type=None, service_uri=None, service_username=None, state=None, static_ips=None, tags=None, tech_emails=None, termination_protection=None):
|
|
26
26
|
if additional_disk_space and not isinstance(additional_disk_space, str):
|
|
27
27
|
raise TypeError("Expected argument 'additional_disk_space' to be a str")
|
|
28
28
|
pulumi.set(__self__, "additional_disk_space", additional_disk_space)
|
|
29
29
|
if clickhouse_user_configs and not isinstance(clickhouse_user_configs, list):
|
|
30
30
|
raise TypeError("Expected argument 'clickhouse_user_configs' to be a list")
|
|
31
31
|
pulumi.set(__self__, "clickhouse_user_configs", clickhouse_user_configs)
|
|
32
|
-
if clickhouses and not isinstance(clickhouses, list):
|
|
33
|
-
raise TypeError("Expected argument 'clickhouses' to be a list")
|
|
34
|
-
pulumi.set(__self__, "clickhouses", clickhouses)
|
|
35
32
|
if cloud_name and not isinstance(cloud_name, str):
|
|
36
33
|
raise TypeError("Expected argument 'cloud_name' to be a str")
|
|
37
34
|
pulumi.set(__self__, "cloud_name", cloud_name)
|
|
@@ -127,14 +124,6 @@ class GetClickhouseResult:
|
|
|
127
124
|
"""
|
|
128
125
|
return pulumi.get(self, "clickhouse_user_configs")
|
|
129
126
|
|
|
130
|
-
@property
|
|
131
|
-
@pulumi.getter
|
|
132
|
-
def clickhouses(self) -> Sequence['outputs.GetClickhouseClickhouseResult']:
|
|
133
|
-
"""
|
|
134
|
-
Clickhouse server provided values
|
|
135
|
-
"""
|
|
136
|
-
return pulumi.get(self, "clickhouses")
|
|
137
|
-
|
|
138
127
|
@property
|
|
139
128
|
@pulumi.getter(name="cloudName")
|
|
140
129
|
def cloud_name(self) -> str:
|
|
@@ -227,7 +216,7 @@ class GetClickhouseResult:
|
|
|
227
216
|
@pulumi.getter
|
|
228
217
|
def project(self) -> str:
|
|
229
218
|
"""
|
|
230
|
-
|
|
219
|
+
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.
|
|
231
220
|
"""
|
|
232
221
|
return pulumi.get(self, "project")
|
|
233
222
|
|
|
@@ -331,7 +320,7 @@ class GetClickhouseResult:
|
|
|
331
320
|
@pulumi.getter(name="techEmails")
|
|
332
321
|
def tech_emails(self) -> Sequence['outputs.GetClickhouseTechEmailResult']:
|
|
333
322
|
"""
|
|
334
|
-
|
|
323
|
+
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.
|
|
335
324
|
"""
|
|
336
325
|
return pulumi.get(self, "tech_emails")
|
|
337
326
|
|
|
@@ -352,7 +341,6 @@ class AwaitableGetClickhouseResult(GetClickhouseResult):
|
|
|
352
341
|
return GetClickhouseResult(
|
|
353
342
|
additional_disk_space=self.additional_disk_space,
|
|
354
343
|
clickhouse_user_configs=self.clickhouse_user_configs,
|
|
355
|
-
clickhouses=self.clickhouses,
|
|
356
344
|
cloud_name=self.cloud_name,
|
|
357
345
|
components=self.components,
|
|
358
346
|
disk_space=self.disk_space,
|
|
@@ -389,18 +377,16 @@ def get_clickhouse(project: Optional[str] = None,
|
|
|
389
377
|
|
|
390
378
|
## Example Usage
|
|
391
379
|
|
|
392
|
-
<!--Start PulumiCodeChooser -->
|
|
393
380
|
```python
|
|
394
381
|
import pulumi
|
|
395
382
|
import pulumi_aiven as aiven
|
|
396
383
|
|
|
397
|
-
clickhouse = aiven.get_clickhouse(project=
|
|
384
|
+
clickhouse = aiven.get_clickhouse(project=pr1["project"],
|
|
398
385
|
service_name="<SERVICE_NAME>")
|
|
399
386
|
```
|
|
400
|
-
<!--End PulumiCodeChooser -->
|
|
401
387
|
|
|
402
388
|
|
|
403
|
-
:param str project:
|
|
389
|
+
:param 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.
|
|
404
390
|
:param 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.
|
|
405
391
|
"""
|
|
406
392
|
__args__ = dict()
|
|
@@ -412,7 +398,6 @@ def get_clickhouse(project: Optional[str] = None,
|
|
|
412
398
|
return AwaitableGetClickhouseResult(
|
|
413
399
|
additional_disk_space=pulumi.get(__ret__, 'additional_disk_space'),
|
|
414
400
|
clickhouse_user_configs=pulumi.get(__ret__, 'clickhouse_user_configs'),
|
|
415
|
-
clickhouses=pulumi.get(__ret__, 'clickhouses'),
|
|
416
401
|
cloud_name=pulumi.get(__ret__, 'cloud_name'),
|
|
417
402
|
components=pulumi.get(__ret__, 'components'),
|
|
418
403
|
disk_space=pulumi.get(__ret__, 'disk_space'),
|
|
@@ -450,18 +435,16 @@ def get_clickhouse_output(project: Optional[pulumi.Input[str]] = None,
|
|
|
450
435
|
|
|
451
436
|
## Example Usage
|
|
452
437
|
|
|
453
|
-
<!--Start PulumiCodeChooser -->
|
|
454
438
|
```python
|
|
455
439
|
import pulumi
|
|
456
440
|
import pulumi_aiven as aiven
|
|
457
441
|
|
|
458
|
-
clickhouse = aiven.get_clickhouse(project=
|
|
442
|
+
clickhouse = aiven.get_clickhouse(project=pr1["project"],
|
|
459
443
|
service_name="<SERVICE_NAME>")
|
|
460
444
|
```
|
|
461
|
-
<!--End PulumiCodeChooser -->
|
|
462
445
|
|
|
463
446
|
|
|
464
|
-
:param str project:
|
|
447
|
+
:param 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.
|
|
465
448
|
:param 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.
|
|
466
449
|
"""
|
|
467
450
|
...
|
|
@@ -50,7 +50,7 @@ class GetClickhouseDatabaseResult:
|
|
|
50
50
|
@pulumi.getter
|
|
51
51
|
def name(self) -> str:
|
|
52
52
|
"""
|
|
53
|
-
The name of the Clickhouse database.
|
|
53
|
+
The name of the Clickhouse database. Changing this property forces recreation of the resource.
|
|
54
54
|
"""
|
|
55
55
|
return pulumi.get(self, "name")
|
|
56
56
|
|
|
@@ -58,7 +58,7 @@ class GetClickhouseDatabaseResult:
|
|
|
58
58
|
@pulumi.getter
|
|
59
59
|
def project(self) -> str:
|
|
60
60
|
"""
|
|
61
|
-
|
|
61
|
+
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.
|
|
62
62
|
"""
|
|
63
63
|
return pulumi.get(self, "project")
|
|
64
64
|
|
|
@@ -66,7 +66,7 @@ class GetClickhouseDatabaseResult:
|
|
|
66
66
|
@pulumi.getter(name="serviceName")
|
|
67
67
|
def service_name(self) -> str:
|
|
68
68
|
"""
|
|
69
|
-
|
|
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.
|
|
70
70
|
"""
|
|
71
71
|
return pulumi.get(self, "service_name")
|
|
72
72
|
|
|
@@ -98,21 +98,19 @@ def get_clickhouse_database(name: Optional[str] = None,
|
|
|
98
98
|
|
|
99
99
|
## Example Usage
|
|
100
100
|
|
|
101
|
-
<!--Start PulumiCodeChooser -->
|
|
102
101
|
```python
|
|
103
102
|
import pulumi
|
|
104
103
|
import pulumi_aiven as aiven
|
|
105
104
|
|
|
106
|
-
clickhouse_db = aiven.get_clickhouse_database(project=
|
|
107
|
-
service_name=
|
|
105
|
+
clickhouse_db = aiven.get_clickhouse_database(project=ch["project"],
|
|
106
|
+
service_name=ch["serviceName"],
|
|
108
107
|
name="my-ch-db")
|
|
109
108
|
```
|
|
110
|
-
<!--End PulumiCodeChooser -->
|
|
111
109
|
|
|
112
110
|
|
|
113
|
-
:param str name: The name of the Clickhouse database.
|
|
114
|
-
:param str project:
|
|
115
|
-
:param str service_name:
|
|
111
|
+
:param str name: The name of the Clickhouse database. Changing this property forces recreation of the resource.
|
|
112
|
+
:param 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.
|
|
113
|
+
:param 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.
|
|
116
114
|
"""
|
|
117
115
|
__args__ = dict()
|
|
118
116
|
__args__['name'] = name
|
|
@@ -139,20 +137,18 @@ def get_clickhouse_database_output(name: Optional[pulumi.Input[str]] = None,
|
|
|
139
137
|
|
|
140
138
|
## Example Usage
|
|
141
139
|
|
|
142
|
-
<!--Start PulumiCodeChooser -->
|
|
143
140
|
```python
|
|
144
141
|
import pulumi
|
|
145
142
|
import pulumi_aiven as aiven
|
|
146
143
|
|
|
147
|
-
clickhouse_db = aiven.get_clickhouse_database(project=
|
|
148
|
-
service_name=
|
|
144
|
+
clickhouse_db = aiven.get_clickhouse_database(project=ch["project"],
|
|
145
|
+
service_name=ch["serviceName"],
|
|
149
146
|
name="my-ch-db")
|
|
150
147
|
```
|
|
151
|
-
<!--End PulumiCodeChooser -->
|
|
152
148
|
|
|
153
149
|
|
|
154
|
-
:param str name: The name of the Clickhouse database.
|
|
155
|
-
:param str project:
|
|
156
|
-
:param str service_name:
|
|
150
|
+
:param str name: The name of the Clickhouse database. Changing this property forces recreation of the resource.
|
|
151
|
+
:param 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.
|
|
152
|
+
:param 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.
|
|
157
153
|
"""
|
|
158
154
|
...
|
|
@@ -64,7 +64,7 @@ class GetClickhouseUserResult:
|
|
|
64
64
|
@pulumi.getter
|
|
65
65
|
def project(self) -> str:
|
|
66
66
|
"""
|
|
67
|
-
|
|
67
|
+
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.
|
|
68
68
|
"""
|
|
69
69
|
return pulumi.get(self, "project")
|
|
70
70
|
|
|
@@ -80,7 +80,7 @@ class GetClickhouseUserResult:
|
|
|
80
80
|
@pulumi.getter(name="serviceName")
|
|
81
81
|
def service_name(self) -> str:
|
|
82
82
|
"""
|
|
83
|
-
|
|
83
|
+
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.
|
|
84
84
|
"""
|
|
85
85
|
return pulumi.get(self, "service_name")
|
|
86
86
|
|
|
@@ -88,7 +88,7 @@ class GetClickhouseUserResult:
|
|
|
88
88
|
@pulumi.getter
|
|
89
89
|
def username(self) -> str:
|
|
90
90
|
"""
|
|
91
|
-
The actual name of the Clickhouse user.
|
|
91
|
+
The actual name of the Clickhouse user. Changing this property forces recreation of the resource.
|
|
92
92
|
"""
|
|
93
93
|
return pulumi.get(self, "username")
|
|
94
94
|
|
|
@@ -125,21 +125,19 @@ def get_clickhouse_user(project: Optional[str] = None,
|
|
|
125
125
|
|
|
126
126
|
## Example Usage
|
|
127
127
|
|
|
128
|
-
<!--Start PulumiCodeChooser -->
|
|
129
128
|
```python
|
|
130
129
|
import pulumi
|
|
131
130
|
import pulumi_aiven as aiven
|
|
132
131
|
|
|
133
|
-
ch_user = aiven.get_clickhouse_user(project=
|
|
134
|
-
service_name=
|
|
132
|
+
ch_user = aiven.get_clickhouse_user(project=myproject["project"],
|
|
133
|
+
service_name=myservice["serviceName"],
|
|
135
134
|
username="<USERNAME>")
|
|
136
135
|
```
|
|
137
|
-
<!--End PulumiCodeChooser -->
|
|
138
136
|
|
|
139
137
|
|
|
140
|
-
:param str project:
|
|
141
|
-
:param str service_name:
|
|
142
|
-
:param str username: The actual name of the Clickhouse user.
|
|
138
|
+
:param 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.
|
|
139
|
+
:param 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.
|
|
140
|
+
:param str username: The actual name of the Clickhouse user. Changing this property forces recreation of the resource.
|
|
143
141
|
"""
|
|
144
142
|
__args__ = dict()
|
|
145
143
|
__args__['project'] = project
|
|
@@ -168,20 +166,18 @@ def get_clickhouse_user_output(project: Optional[pulumi.Input[str]] = None,
|
|
|
168
166
|
|
|
169
167
|
## Example Usage
|
|
170
168
|
|
|
171
|
-
<!--Start PulumiCodeChooser -->
|
|
172
169
|
```python
|
|
173
170
|
import pulumi
|
|
174
171
|
import pulumi_aiven as aiven
|
|
175
172
|
|
|
176
|
-
ch_user = aiven.get_clickhouse_user(project=
|
|
177
|
-
service_name=
|
|
173
|
+
ch_user = aiven.get_clickhouse_user(project=myproject["project"],
|
|
174
|
+
service_name=myservice["serviceName"],
|
|
178
175
|
username="<USERNAME>")
|
|
179
176
|
```
|
|
180
|
-
<!--End PulumiCodeChooser -->
|
|
181
177
|
|
|
182
178
|
|
|
183
|
-
:param str project:
|
|
184
|
-
:param str service_name:
|
|
185
|
-
:param str username: The actual name of the Clickhouse user.
|
|
179
|
+
:param 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.
|
|
180
|
+
:param 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.
|
|
181
|
+
:param str username: The actual name of the Clickhouse user. Changing this property forces recreation of the resource.
|
|
186
182
|
"""
|
|
187
183
|
...
|
|
@@ -62,7 +62,7 @@ class GetConnectionPoolResult:
|
|
|
62
62
|
@pulumi.getter(name="databaseName")
|
|
63
63
|
def database_name(self) -> str:
|
|
64
64
|
"""
|
|
65
|
-
The name of the database the pool connects to. To set up proper dependencies please refer to this variable as a reference.
|
|
65
|
+
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.
|
|
66
66
|
"""
|
|
67
67
|
return pulumi.get(self, "database_name")
|
|
68
68
|
|
|
@@ -86,7 +86,7 @@ class GetConnectionPoolResult:
|
|
|
86
86
|
@pulumi.getter(name="poolName")
|
|
87
87
|
def pool_name(self) -> str:
|
|
88
88
|
"""
|
|
89
|
-
The name of the created pool.
|
|
89
|
+
The name of the created pool. Changing this property forces recreation of the resource.
|
|
90
90
|
"""
|
|
91
91
|
return pulumi.get(self, "pool_name")
|
|
92
92
|
|
|
@@ -102,7 +102,7 @@ class GetConnectionPoolResult:
|
|
|
102
102
|
@pulumi.getter
|
|
103
103
|
def project(self) -> str:
|
|
104
104
|
"""
|
|
105
|
-
|
|
105
|
+
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.
|
|
106
106
|
"""
|
|
107
107
|
return pulumi.get(self, "project")
|
|
108
108
|
|
|
@@ -110,7 +110,7 @@ class GetConnectionPoolResult:
|
|
|
110
110
|
@pulumi.getter(name="serviceName")
|
|
111
111
|
def service_name(self) -> str:
|
|
112
112
|
"""
|
|
113
|
-
|
|
113
|
+
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.
|
|
114
114
|
"""
|
|
115
115
|
return pulumi.get(self, "service_name")
|
|
116
116
|
|
|
@@ -149,21 +149,19 @@ def get_connection_pool(pool_name: Optional[str] = None,
|
|
|
149
149
|
|
|
150
150
|
## Example Usage
|
|
151
151
|
|
|
152
|
-
<!--Start PulumiCodeChooser -->
|
|
153
152
|
```python
|
|
154
153
|
import pulumi
|
|
155
154
|
import pulumi_aiven as aiven
|
|
156
155
|
|
|
157
|
-
mytestpool = aiven.get_connection_pool(project=
|
|
158
|
-
service_name=
|
|
156
|
+
mytestpool = aiven.get_connection_pool(project=myproject["project"],
|
|
157
|
+
service_name=mypg["serviceName"],
|
|
159
158
|
pool_name="mypool")
|
|
160
159
|
```
|
|
161
|
-
<!--End PulumiCodeChooser -->
|
|
162
160
|
|
|
163
161
|
|
|
164
|
-
:param str pool_name: The name of the created pool.
|
|
165
|
-
:param str project:
|
|
166
|
-
:param str service_name:
|
|
162
|
+
:param str pool_name: The name of the created pool. Changing this property forces recreation of the resource.
|
|
163
|
+
:param 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.
|
|
164
|
+
:param 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.
|
|
167
165
|
"""
|
|
168
166
|
__args__ = dict()
|
|
169
167
|
__args__['poolName'] = pool_name
|
|
@@ -194,20 +192,18 @@ def get_connection_pool_output(pool_name: Optional[pulumi.Input[str]] = None,
|
|
|
194
192
|
|
|
195
193
|
## Example Usage
|
|
196
194
|
|
|
197
|
-
<!--Start PulumiCodeChooser -->
|
|
198
195
|
```python
|
|
199
196
|
import pulumi
|
|
200
197
|
import pulumi_aiven as aiven
|
|
201
198
|
|
|
202
|
-
mytestpool = aiven.get_connection_pool(project=
|
|
203
|
-
service_name=
|
|
199
|
+
mytestpool = aiven.get_connection_pool(project=myproject["project"],
|
|
200
|
+
service_name=mypg["serviceName"],
|
|
204
201
|
pool_name="mypool")
|
|
205
202
|
```
|
|
206
|
-
<!--End PulumiCodeChooser -->
|
|
207
203
|
|
|
208
204
|
|
|
209
|
-
:param str pool_name: The name of the created pool.
|
|
210
|
-
:param str project:
|
|
211
|
-
:param str service_name:
|
|
205
|
+
:param str pool_name: The name of the created pool. Changing this property forces recreation of the resource.
|
|
206
|
+
:param 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.
|
|
207
|
+
:param 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.
|
|
212
208
|
"""
|
|
213
209
|
...
|