pulumi-aiven 6.13.0a1711361534__py3-none-any.whl → 6.14.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-aiven might be problematic. Click here for more details.
- pulumi_aiven/_inputs.py +200 -262
- pulumi_aiven/account.py +2 -6
- pulumi_aiven/account_authentication.py +2 -2
- pulumi_aiven/account_team.py +6 -6
- pulumi_aiven/account_team_member.py +6 -10
- pulumi_aiven/account_team_project.py +12 -12
- pulumi_aiven/aws_privatelink.py +18 -22
- pulumi_aiven/aws_vpc_peering_connection.py +8 -12
- pulumi_aiven/azure_privatelink.py +18 -22
- pulumi_aiven/azure_privatelink_connection_approval.py +112 -14
- pulumi_aiven/azure_vpc_peering_connection.py +6 -10
- pulumi_aiven/billing_group.py +18 -18
- pulumi_aiven/cassandra.py +25 -57
- pulumi_aiven/cassandra_user.py +18 -22
- pulumi_aiven/clickhouse.py +25 -57
- pulumi_aiven/clickhouse_database.py +24 -26
- pulumi_aiven/clickhouse_grant.py +35 -37
- pulumi_aiven/clickhouse_role.py +16 -20
- pulumi_aiven/clickhouse_user.py +18 -22
- pulumi_aiven/connection_pool.py +24 -28
- pulumi_aiven/dragonfly.py +124 -263
- pulumi_aiven/flink.py +32 -36
- pulumi_aiven/flink_application.py +22 -24
- pulumi_aiven/flink_application_deployment.py +21 -21
- pulumi_aiven/flink_application_version.py +96 -14
- pulumi_aiven/gcp_privatelink.py +21 -21
- pulumi_aiven/gcp_privatelink_connection_approval.py +21 -21
- pulumi_aiven/gcp_vpc_peering_connection.py +4 -8
- pulumi_aiven/get_account.py +0 -4
- pulumi_aiven/get_aws_privatelink.py +10 -14
- pulumi_aiven/get_aws_vpc_peering_connection.py +6 -10
- pulumi_aiven/get_azure_privatelink.py +10 -14
- pulumi_aiven/get_azure_vpc_peering_connection.py +2 -6
- pulumi_aiven/get_billing_group.py +2 -2
- pulumi_aiven/get_cassanda.py +7 -24
- pulumi_aiven/get_cassandra.py +7 -24
- pulumi_aiven/get_cassandra_user.py +10 -14
- pulumi_aiven/get_clickhouse.py +7 -24
- pulumi_aiven/get_clickhouse_database.py +10 -14
- pulumi_aiven/get_clickhouse_user.py +10 -14
- pulumi_aiven/get_connection_pool.py +10 -14
- pulumi_aiven/get_dragonfly.py +27 -20
- pulumi_aiven/get_flink.py +6 -10
- pulumi_aiven/get_flink_application.py +8 -12
- pulumi_aiven/get_flink_application_version.py +8 -12
- pulumi_aiven/get_gcp_vpc_peering_connection.py +2 -6
- pulumi_aiven/get_grafana.py +7 -24
- pulumi_aiven/get_kafka.py +13 -17
- pulumi_aiven/get_kafka_acl.py +10 -14
- pulumi_aiven/get_kafka_connect.py +7 -24
- pulumi_aiven/get_kafka_connector.py +10 -14
- pulumi_aiven/get_kafka_mirror_maker.py +7 -24
- pulumi_aiven/get_kafka_schema.py +10 -14
- pulumi_aiven/get_kafka_schema_configuration.py +10 -14
- pulumi_aiven/get_kafka_schema_registry_acl.py +6 -6
- pulumi_aiven/get_kafka_topic.py +16 -20
- pulumi_aiven/get_kafka_user.py +10 -14
- pulumi_aiven/get_m3_aggregator.py +7 -24
- pulumi_aiven/get_m3_db.py +7 -24
- pulumi_aiven/get_m3db_user.py +10 -14
- pulumi_aiven/get_mirror_maker_replication_flow.py +14 -18
- pulumi_aiven/get_my_sql.py +7 -24
- pulumi_aiven/get_mysql_database.py +10 -14
- pulumi_aiven/get_mysql_user.py +10 -14
- pulumi_aiven/get_open_search.py +6 -10
- pulumi_aiven/get_open_search_acl_config.py +10 -14
- pulumi_aiven/get_open_search_acl_rule.py +10 -14
- pulumi_aiven/get_opensearch_security_plugin_config.py +10 -14
- pulumi_aiven/get_opensearch_user.py +10 -14
- pulumi_aiven/get_organization.py +0 -4
- pulumi_aiven/get_organization_user_group.py +2 -6
- pulumi_aiven/get_pg.py +6 -10
- pulumi_aiven/get_pg_database.py +10 -14
- pulumi_aiven/get_pg_user.py +10 -14
- pulumi_aiven/get_project.py +17 -21
- pulumi_aiven/get_project_user.py +9 -13
- pulumi_aiven/get_project_vpc.py +2 -6
- pulumi_aiven/get_redis.py +7 -24
- pulumi_aiven/get_redis_user.py +10 -14
- pulumi_aiven/get_service_component.py +4 -8
- pulumi_aiven/get_service_integration.py +19 -33
- pulumi_aiven/get_service_integration_endpoint.py +2 -6
- pulumi_aiven/get_transit_gateway_vpc_attachment.py +2 -6
- pulumi_aiven/grafana.py +82 -267
- pulumi_aiven/influx_db.py +21 -21
- pulumi_aiven/influxdb_database.py +21 -21
- pulumi_aiven/influxdb_user.py +21 -21
- pulumi_aiven/kafka.py +50 -54
- pulumi_aiven/kafka_acl.py +20 -24
- pulumi_aiven/kafka_connect.py +80 -267
- pulumi_aiven/kafka_connector.py +26 -30
- pulumi_aiven/kafka_mirror_maker.py +80 -267
- pulumi_aiven/kafka_schema.py +18 -22
- pulumi_aiven/kafka_schema_configuration.py +20 -24
- pulumi_aiven/kafka_schema_registry_acl.py +54 -14
- pulumi_aiven/kafka_topic.py +84 -46
- pulumi_aiven/kafka_user.py +18 -22
- pulumi_aiven/m3_aggregator.py +80 -267
- pulumi_aiven/m3_db.py +80 -267
- pulumi_aiven/m3db_user.py +16 -20
- pulumi_aiven/mirror_maker_replication_flow.py +22 -26
- pulumi_aiven/my_sql.py +80 -267
- pulumi_aiven/mysql_database.py +20 -24
- pulumi_aiven/mysql_user.py +18 -22
- pulumi_aiven/open_search.py +27 -31
- pulumi_aiven/open_search_acl_config.py +28 -36
- pulumi_aiven/open_search_acl_rule.py +36 -40
- pulumi_aiven/opensearch_security_plugin_config.py +28 -32
- pulumi_aiven/opensearch_user.py +18 -22
- pulumi_aiven/organization.py +2 -6
- pulumi_aiven/organization_group_project.py +46 -0
- pulumi_aiven/organization_user.py +2 -20
- pulumi_aiven/organization_user_group.py +4 -6
- pulumi_aiven/organization_user_group_member.py +8 -10
- pulumi_aiven/organizational_unit.py +6 -6
- pulumi_aiven/outputs.py +271 -390
- pulumi_aiven/pg.py +30 -30
- pulumi_aiven/pg_database.py +20 -24
- pulumi_aiven/pg_user.py +18 -22
- pulumi_aiven/project.py +75 -79
- pulumi_aiven/project_user.py +24 -28
- pulumi_aiven/project_vpc.py +31 -7
- pulumi_aiven/redis.py +80 -267
- pulumi_aiven/redis_user.py +18 -22
- pulumi_aiven/service_integration.py +54 -58
- pulumi_aiven/static_ip.py +7 -7
- pulumi_aiven/transit_gateway_vpc_attachment.py +4 -8
- {pulumi_aiven-6.13.0a1711361534.dist-info → pulumi_aiven-6.14.0.dist-info}/METADATA +1 -1
- pulumi_aiven-6.14.0.dist-info/RECORD +150 -0
- pulumi_aiven-6.13.0a1711361534.dist-info/RECORD +0 -150
- {pulumi_aiven-6.13.0a1711361534.dist-info → pulumi_aiven-6.14.0.dist-info}/WHEEL +0 -0
- {pulumi_aiven-6.13.0a1711361534.dist-info → pulumi_aiven-6.14.0.dist-info}/top_level.txt +0 -0
|
@@ -83,7 +83,7 @@ class GetAzurePrivatelinkResult:
|
|
|
83
83
|
@pulumi.getter
|
|
84
84
|
def project(self) -> str:
|
|
85
85
|
"""
|
|
86
|
-
|
|
86
|
+
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.
|
|
87
87
|
"""
|
|
88
88
|
return pulumi.get(self, "project")
|
|
89
89
|
|
|
@@ -91,7 +91,7 @@ class GetAzurePrivatelinkResult:
|
|
|
91
91
|
@pulumi.getter(name="serviceName")
|
|
92
92
|
def service_name(self) -> str:
|
|
93
93
|
"""
|
|
94
|
-
|
|
94
|
+
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.
|
|
95
95
|
"""
|
|
96
96
|
return pulumi.get(self, "service_name")
|
|
97
97
|
|
|
@@ -136,19 +136,17 @@ def get_azure_privatelink(project: Optional[str] = None,
|
|
|
136
136
|
|
|
137
137
|
## Example Usage
|
|
138
138
|
|
|
139
|
-
<!--Start PulumiCodeChooser -->
|
|
140
139
|
```python
|
|
141
140
|
import pulumi
|
|
142
141
|
import pulumi_aiven as aiven
|
|
143
142
|
|
|
144
|
-
main = aiven.get_azure_privatelink(project=
|
|
145
|
-
service_name=
|
|
143
|
+
main = aiven.get_azure_privatelink(project=example_project["project"],
|
|
144
|
+
service_name=example_kafka["serviceName"])
|
|
146
145
|
```
|
|
147
|
-
<!--End PulumiCodeChooser -->
|
|
148
146
|
|
|
149
147
|
|
|
150
|
-
:param str project:
|
|
151
|
-
:param str service_name:
|
|
148
|
+
: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.
|
|
149
|
+
: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.
|
|
152
150
|
"""
|
|
153
151
|
__args__ = dict()
|
|
154
152
|
__args__['project'] = project
|
|
@@ -176,18 +174,16 @@ def get_azure_privatelink_output(project: Optional[pulumi.Input[str]] = None,
|
|
|
176
174
|
|
|
177
175
|
## Example Usage
|
|
178
176
|
|
|
179
|
-
<!--Start PulumiCodeChooser -->
|
|
180
177
|
```python
|
|
181
178
|
import pulumi
|
|
182
179
|
import pulumi_aiven as aiven
|
|
183
180
|
|
|
184
|
-
main = aiven.get_azure_privatelink(project=
|
|
185
|
-
service_name=
|
|
181
|
+
main = aiven.get_azure_privatelink(project=example_project["project"],
|
|
182
|
+
service_name=example_kafka["serviceName"])
|
|
186
183
|
```
|
|
187
|
-
<!--End PulumiCodeChooser -->
|
|
188
184
|
|
|
189
185
|
|
|
190
|
-
:param str project:
|
|
191
|
-
:param str service_name:
|
|
186
|
+
: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.
|
|
187
|
+
: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.
|
|
192
188
|
"""
|
|
193
189
|
...
|
|
@@ -164,19 +164,17 @@ def get_azure_vpc_peering_connection(azure_subscription_id: Optional[str] = None
|
|
|
164
164
|
|
|
165
165
|
## Example Usage
|
|
166
166
|
|
|
167
|
-
<!--Start PulumiCodeChooser -->
|
|
168
167
|
```python
|
|
169
168
|
import pulumi
|
|
170
169
|
import pulumi_aiven as aiven
|
|
171
170
|
|
|
172
|
-
azure_to_aiven_peering = aiven.get_azure_vpc_peering_connection(vpc_id=
|
|
171
|
+
azure_to_aiven_peering = aiven.get_azure_vpc_peering_connection(vpc_id=example_vpc["id"],
|
|
173
172
|
azure_subscription_id="00000000-0000-0000-0000-000000000000",
|
|
174
173
|
peer_resource_group="example-resource-group",
|
|
175
174
|
vnet_name="example-vnet",
|
|
176
175
|
peer_azure_app_id="00000000-0000-0000-0000-000000000000",
|
|
177
176
|
peer_azure_tenant_id="00000000-0000-0000-0000-000000000000")
|
|
178
177
|
```
|
|
179
|
-
<!--End PulumiCodeChooser -->
|
|
180
178
|
|
|
181
179
|
|
|
182
180
|
:param str azure_subscription_id: The ID of the Azure subscription in UUID4 format. Changing this property forces recreation of the resource.
|
|
@@ -222,19 +220,17 @@ def get_azure_vpc_peering_connection_output(azure_subscription_id: Optional[pulu
|
|
|
222
220
|
|
|
223
221
|
## Example Usage
|
|
224
222
|
|
|
225
|
-
<!--Start PulumiCodeChooser -->
|
|
226
223
|
```python
|
|
227
224
|
import pulumi
|
|
228
225
|
import pulumi_aiven as aiven
|
|
229
226
|
|
|
230
|
-
azure_to_aiven_peering = aiven.get_azure_vpc_peering_connection(vpc_id=
|
|
227
|
+
azure_to_aiven_peering = aiven.get_azure_vpc_peering_connection(vpc_id=example_vpc["id"],
|
|
231
228
|
azure_subscription_id="00000000-0000-0000-0000-000000000000",
|
|
232
229
|
peer_resource_group="example-resource-group",
|
|
233
230
|
vnet_name="example-vnet",
|
|
234
231
|
peer_azure_app_id="00000000-0000-0000-0000-000000000000",
|
|
235
232
|
peer_azure_tenant_id="00000000-0000-0000-0000-000000000000")
|
|
236
233
|
```
|
|
237
|
-
<!--End PulumiCodeChooser -->
|
|
238
234
|
|
|
239
235
|
|
|
240
236
|
:param str azure_subscription_id: The ID of the Azure subscription in UUID4 format. Changing this property forces recreation of the resource.
|
|
@@ -239,7 +239,7 @@ class AwaitableGetBillingGroupResult(GetBillingGroupResult):
|
|
|
239
239
|
def get_billing_group(billing_group_id: Optional[str] = None,
|
|
240
240
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetBillingGroupResult:
|
|
241
241
|
"""
|
|
242
|
-
|
|
242
|
+
Gets information about a billing group.
|
|
243
243
|
|
|
244
244
|
|
|
245
245
|
:param str billing_group_id: The ID of the billing group. To set up proper dependencies please refer to this variable as a reference.
|
|
@@ -273,7 +273,7 @@ def get_billing_group(billing_group_id: Optional[str] = None,
|
|
|
273
273
|
def get_billing_group_output(billing_group_id: Optional[pulumi.Input[str]] = None,
|
|
274
274
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetBillingGroupResult]:
|
|
275
275
|
"""
|
|
276
|
-
|
|
276
|
+
Gets information about a billing group.
|
|
277
277
|
|
|
278
278
|
|
|
279
279
|
:param str billing_group_id: The ID of the billing group. To set up proper dependencies please refer to this variable as a reference.
|
pulumi_aiven/get_cassanda.py
CHANGED
|
@@ -24,16 +24,13 @@ class GetCassandaResult:
|
|
|
24
24
|
"""
|
|
25
25
|
A collection of values returned by getCassanda.
|
|
26
26
|
"""
|
|
27
|
-
def __init__(__self__, additional_disk_space=None, cassandra_user_configs=None,
|
|
27
|
+
def __init__(__self__, additional_disk_space=None, cassandra_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):
|
|
28
28
|
if additional_disk_space and not isinstance(additional_disk_space, str):
|
|
29
29
|
raise TypeError("Expected argument 'additional_disk_space' to be a str")
|
|
30
30
|
pulumi.set(__self__, "additional_disk_space", additional_disk_space)
|
|
31
31
|
if cassandra_user_configs and not isinstance(cassandra_user_configs, list):
|
|
32
32
|
raise TypeError("Expected argument 'cassandra_user_configs' to be a list")
|
|
33
33
|
pulumi.set(__self__, "cassandra_user_configs", cassandra_user_configs)
|
|
34
|
-
if cassandras and not isinstance(cassandras, list):
|
|
35
|
-
raise TypeError("Expected argument 'cassandras' to be a list")
|
|
36
|
-
pulumi.set(__self__, "cassandras", cassandras)
|
|
37
34
|
if cloud_name and not isinstance(cloud_name, str):
|
|
38
35
|
raise TypeError("Expected argument 'cloud_name' to be a str")
|
|
39
36
|
pulumi.set(__self__, "cloud_name", cloud_name)
|
|
@@ -129,14 +126,6 @@ class GetCassandaResult:
|
|
|
129
126
|
"""
|
|
130
127
|
return pulumi.get(self, "cassandra_user_configs")
|
|
131
128
|
|
|
132
|
-
@property
|
|
133
|
-
@pulumi.getter
|
|
134
|
-
def cassandras(self) -> Sequence['outputs.GetCassandaCassandraResult']:
|
|
135
|
-
"""
|
|
136
|
-
Cassandra server provided values
|
|
137
|
-
"""
|
|
138
|
-
return pulumi.get(self, "cassandras")
|
|
139
|
-
|
|
140
129
|
@property
|
|
141
130
|
@pulumi.getter(name="cloudName")
|
|
142
131
|
def cloud_name(self) -> str:
|
|
@@ -229,7 +218,7 @@ class GetCassandaResult:
|
|
|
229
218
|
@pulumi.getter
|
|
230
219
|
def project(self) -> str:
|
|
231
220
|
"""
|
|
232
|
-
|
|
221
|
+
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.
|
|
233
222
|
"""
|
|
234
223
|
return pulumi.get(self, "project")
|
|
235
224
|
|
|
@@ -333,7 +322,7 @@ class GetCassandaResult:
|
|
|
333
322
|
@pulumi.getter(name="techEmails")
|
|
334
323
|
def tech_emails(self) -> Sequence['outputs.GetCassandaTechEmailResult']:
|
|
335
324
|
"""
|
|
336
|
-
|
|
325
|
+
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.
|
|
337
326
|
"""
|
|
338
327
|
return pulumi.get(self, "tech_emails")
|
|
339
328
|
|
|
@@ -354,7 +343,6 @@ class AwaitableGetCassandaResult(GetCassandaResult):
|
|
|
354
343
|
return GetCassandaResult(
|
|
355
344
|
additional_disk_space=self.additional_disk_space,
|
|
356
345
|
cassandra_user_configs=self.cassandra_user_configs,
|
|
357
|
-
cassandras=self.cassandras,
|
|
358
346
|
cloud_name=self.cloud_name,
|
|
359
347
|
components=self.components,
|
|
360
348
|
disk_space=self.disk_space,
|
|
@@ -391,18 +379,16 @@ def get_cassanda(project: Optional[str] = None,
|
|
|
391
379
|
|
|
392
380
|
## Example Usage
|
|
393
381
|
|
|
394
|
-
<!--Start PulumiCodeChooser -->
|
|
395
382
|
```python
|
|
396
383
|
import pulumi
|
|
397
384
|
import pulumi_aiven as aiven
|
|
398
385
|
|
|
399
|
-
bar = aiven.get_cassandra(project=
|
|
386
|
+
bar = aiven.get_cassandra(project=foo["project"],
|
|
400
387
|
service_name="<SERVICE_NAME>")
|
|
401
388
|
```
|
|
402
|
-
<!--End PulumiCodeChooser -->
|
|
403
389
|
|
|
404
390
|
|
|
405
|
-
:param str project:
|
|
391
|
+
: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.
|
|
406
392
|
: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.
|
|
407
393
|
"""
|
|
408
394
|
pulumi.log.warn("""get_cassanda is deprecated: aiven.getCassanda has been deprecated in favor of aiven.getCassandra""")
|
|
@@ -415,7 +401,6 @@ def get_cassanda(project: Optional[str] = None,
|
|
|
415
401
|
return AwaitableGetCassandaResult(
|
|
416
402
|
additional_disk_space=pulumi.get(__ret__, 'additional_disk_space'),
|
|
417
403
|
cassandra_user_configs=pulumi.get(__ret__, 'cassandra_user_configs'),
|
|
418
|
-
cassandras=pulumi.get(__ret__, 'cassandras'),
|
|
419
404
|
cloud_name=pulumi.get(__ret__, 'cloud_name'),
|
|
420
405
|
components=pulumi.get(__ret__, 'components'),
|
|
421
406
|
disk_space=pulumi.get(__ret__, 'disk_space'),
|
|
@@ -453,18 +438,16 @@ def get_cassanda_output(project: Optional[pulumi.Input[str]] = None,
|
|
|
453
438
|
|
|
454
439
|
## Example Usage
|
|
455
440
|
|
|
456
|
-
<!--Start PulumiCodeChooser -->
|
|
457
441
|
```python
|
|
458
442
|
import pulumi
|
|
459
443
|
import pulumi_aiven as aiven
|
|
460
444
|
|
|
461
|
-
bar = aiven.get_cassandra(project=
|
|
445
|
+
bar = aiven.get_cassandra(project=foo["project"],
|
|
462
446
|
service_name="<SERVICE_NAME>")
|
|
463
447
|
```
|
|
464
|
-
<!--End PulumiCodeChooser -->
|
|
465
448
|
|
|
466
449
|
|
|
467
|
-
:param str project:
|
|
450
|
+
: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.
|
|
468
451
|
: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.
|
|
469
452
|
"""
|
|
470
453
|
pulumi.log.warn("""get_cassanda is deprecated: aiven.getCassanda has been deprecated in favor of aiven.getCassandra""")
|
pulumi_aiven/get_cassandra.py
CHANGED
|
@@ -22,16 +22,13 @@ class GetCassandraResult:
|
|
|
22
22
|
"""
|
|
23
23
|
A collection of values returned by getCassandra.
|
|
24
24
|
"""
|
|
25
|
-
def __init__(__self__, additional_disk_space=None, cassandra_user_configs=None,
|
|
25
|
+
def __init__(__self__, additional_disk_space=None, cassandra_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 cassandra_user_configs and not isinstance(cassandra_user_configs, list):
|
|
30
30
|
raise TypeError("Expected argument 'cassandra_user_configs' to be a list")
|
|
31
31
|
pulumi.set(__self__, "cassandra_user_configs", cassandra_user_configs)
|
|
32
|
-
if cassandras and not isinstance(cassandras, list):
|
|
33
|
-
raise TypeError("Expected argument 'cassandras' to be a list")
|
|
34
|
-
pulumi.set(__self__, "cassandras", cassandras)
|
|
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 GetCassandraResult:
|
|
|
127
124
|
"""
|
|
128
125
|
return pulumi.get(self, "cassandra_user_configs")
|
|
129
126
|
|
|
130
|
-
@property
|
|
131
|
-
@pulumi.getter
|
|
132
|
-
def cassandras(self) -> Sequence['outputs.GetCassandraCassandraResult']:
|
|
133
|
-
"""
|
|
134
|
-
Cassandra server provided values
|
|
135
|
-
"""
|
|
136
|
-
return pulumi.get(self, "cassandras")
|
|
137
|
-
|
|
138
127
|
@property
|
|
139
128
|
@pulumi.getter(name="cloudName")
|
|
140
129
|
def cloud_name(self) -> str:
|
|
@@ -227,7 +216,7 @@ class GetCassandraResult:
|
|
|
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 GetCassandraResult:
|
|
|
331
320
|
@pulumi.getter(name="techEmails")
|
|
332
321
|
def tech_emails(self) -> Sequence['outputs.GetCassandraTechEmailResult']:
|
|
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 AwaitableGetCassandraResult(GetCassandraResult):
|
|
|
352
341
|
return GetCassandraResult(
|
|
353
342
|
additional_disk_space=self.additional_disk_space,
|
|
354
343
|
cassandra_user_configs=self.cassandra_user_configs,
|
|
355
|
-
cassandras=self.cassandras,
|
|
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_cassandra(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
|
-
bar = aiven.get_cassandra(project=
|
|
384
|
+
bar = aiven.get_cassandra(project=foo["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_cassandra(project: Optional[str] = None,
|
|
|
412
398
|
return AwaitableGetCassandraResult(
|
|
413
399
|
additional_disk_space=pulumi.get(__ret__, 'additional_disk_space'),
|
|
414
400
|
cassandra_user_configs=pulumi.get(__ret__, 'cassandra_user_configs'),
|
|
415
|
-
cassandras=pulumi.get(__ret__, 'cassandras'),
|
|
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_cassandra_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
|
-
bar = aiven.get_cassandra(project=
|
|
442
|
+
bar = aiven.get_cassandra(project=foo["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
|
...
|
|
@@ -83,7 +83,7 @@ class GetCassandraUserResult:
|
|
|
83
83
|
@pulumi.getter
|
|
84
84
|
def project(self) -> str:
|
|
85
85
|
"""
|
|
86
|
-
|
|
86
|
+
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.
|
|
87
87
|
"""
|
|
88
88
|
return pulumi.get(self, "project")
|
|
89
89
|
|
|
@@ -91,7 +91,7 @@ class GetCassandraUserResult:
|
|
|
91
91
|
@pulumi.getter(name="serviceName")
|
|
92
92
|
def service_name(self) -> str:
|
|
93
93
|
"""
|
|
94
|
-
|
|
94
|
+
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.
|
|
95
95
|
"""
|
|
96
96
|
return pulumi.get(self, "service_name")
|
|
97
97
|
|
|
@@ -137,20 +137,18 @@ def get_cassandra_user(project: Optional[str] = None,
|
|
|
137
137
|
|
|
138
138
|
## Example Usage
|
|
139
139
|
|
|
140
|
-
<!--Start PulumiCodeChooser -->
|
|
141
140
|
```python
|
|
142
141
|
import pulumi
|
|
143
142
|
import pulumi_aiven as aiven
|
|
144
143
|
|
|
145
|
-
user = aiven.get_cassandra_user(
|
|
146
|
-
|
|
144
|
+
user = aiven.get_cassandra_user(service_name="my-service",
|
|
145
|
+
project="my-project",
|
|
147
146
|
username="user1")
|
|
148
147
|
```
|
|
149
|
-
<!--End PulumiCodeChooser -->
|
|
150
148
|
|
|
151
149
|
|
|
152
|
-
:param str project:
|
|
153
|
-
:param str service_name:
|
|
150
|
+
: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.
|
|
151
|
+
: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.
|
|
154
152
|
:param str username: The actual name of the Cassandra User. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
155
153
|
"""
|
|
156
154
|
__args__ = dict()
|
|
@@ -181,20 +179,18 @@ def get_cassandra_user_output(project: Optional[pulumi.Input[str]] = None,
|
|
|
181
179
|
|
|
182
180
|
## Example Usage
|
|
183
181
|
|
|
184
|
-
<!--Start PulumiCodeChooser -->
|
|
185
182
|
```python
|
|
186
183
|
import pulumi
|
|
187
184
|
import pulumi_aiven as aiven
|
|
188
185
|
|
|
189
|
-
user = aiven.get_cassandra_user(
|
|
190
|
-
|
|
186
|
+
user = aiven.get_cassandra_user(service_name="my-service",
|
|
187
|
+
project="my-project",
|
|
191
188
|
username="user1")
|
|
192
189
|
```
|
|
193
|
-
<!--End PulumiCodeChooser -->
|
|
194
190
|
|
|
195
191
|
|
|
196
|
-
:param str project:
|
|
197
|
-
:param str service_name:
|
|
192
|
+
: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.
|
|
193
|
+
: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.
|
|
198
194
|
:param str username: The actual name of the Cassandra User. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
199
195
|
"""
|
|
200
196
|
...
|
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
|
...
|
|
@@ -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
111
|
:param str name: The name of the Clickhouse database. Changing this property forces recreation of the resource.
|
|
114
|
-
:param str project:
|
|
115
|
-
:param str service_name:
|
|
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
150
|
:param str name: The name of the Clickhouse database. Changing this property forces recreation of the resource.
|
|
155
|
-
:param str project:
|
|
156
|
-
:param str service_name:
|
|
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
|
...
|