pulumi-aiven 6.14.0__py3-none-any.whl → 6.14.0a1711602990__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 +262 -200
- pulumi_aiven/account.py +6 -2
- pulumi_aiven/account_authentication.py +2 -2
- pulumi_aiven/account_team.py +6 -6
- pulumi_aiven/account_team_member.py +10 -6
- pulumi_aiven/account_team_project.py +12 -12
- pulumi_aiven/aws_privatelink.py +22 -18
- pulumi_aiven/aws_vpc_peering_connection.py +12 -8
- pulumi_aiven/azure_privatelink.py +22 -18
- pulumi_aiven/azure_privatelink_connection_approval.py +14 -112
- pulumi_aiven/azure_vpc_peering_connection.py +10 -6
- pulumi_aiven/billing_group.py +18 -18
- pulumi_aiven/cassandra.py +57 -25
- pulumi_aiven/cassandra_user.py +22 -18
- pulumi_aiven/clickhouse.py +57 -25
- pulumi_aiven/clickhouse_database.py +26 -24
- pulumi_aiven/clickhouse_grant.py +37 -35
- pulumi_aiven/clickhouse_role.py +20 -16
- pulumi_aiven/clickhouse_user.py +22 -18
- pulumi_aiven/connection_pool.py +28 -24
- pulumi_aiven/dragonfly.py +263 -124
- pulumi_aiven/flink.py +36 -32
- pulumi_aiven/flink_application.py +24 -22
- pulumi_aiven/flink_application_deployment.py +21 -21
- pulumi_aiven/flink_application_version.py +14 -96
- pulumi_aiven/gcp_privatelink.py +21 -21
- pulumi_aiven/gcp_privatelink_connection_approval.py +21 -21
- pulumi_aiven/gcp_vpc_peering_connection.py +8 -4
- pulumi_aiven/get_account.py +4 -0
- pulumi_aiven/get_aws_privatelink.py +14 -10
- pulumi_aiven/get_aws_vpc_peering_connection.py +10 -6
- pulumi_aiven/get_azure_privatelink.py +14 -10
- pulumi_aiven/get_azure_vpc_peering_connection.py +6 -2
- pulumi_aiven/get_billing_group.py +2 -2
- pulumi_aiven/get_cassanda.py +24 -7
- pulumi_aiven/get_cassandra.py +24 -7
- pulumi_aiven/get_cassandra_user.py +14 -10
- pulumi_aiven/get_clickhouse.py +24 -7
- pulumi_aiven/get_clickhouse_database.py +14 -10
- pulumi_aiven/get_clickhouse_user.py +14 -10
- pulumi_aiven/get_connection_pool.py +14 -10
- pulumi_aiven/get_dragonfly.py +20 -27
- pulumi_aiven/get_flink.py +10 -6
- pulumi_aiven/get_flink_application.py +12 -8
- pulumi_aiven/get_flink_application_version.py +12 -8
- pulumi_aiven/get_gcp_vpc_peering_connection.py +6 -2
- pulumi_aiven/get_grafana.py +24 -7
- pulumi_aiven/get_kafka.py +17 -13
- pulumi_aiven/get_kafka_acl.py +14 -10
- pulumi_aiven/get_kafka_connect.py +24 -7
- pulumi_aiven/get_kafka_connector.py +14 -10
- pulumi_aiven/get_kafka_mirror_maker.py +24 -7
- pulumi_aiven/get_kafka_schema.py +14 -10
- pulumi_aiven/get_kafka_schema_configuration.py +14 -10
- pulumi_aiven/get_kafka_schema_registry_acl.py +6 -6
- pulumi_aiven/get_kafka_topic.py +20 -16
- pulumi_aiven/get_kafka_user.py +14 -10
- pulumi_aiven/get_m3_aggregator.py +24 -7
- pulumi_aiven/get_m3_db.py +24 -7
- pulumi_aiven/get_m3db_user.py +14 -10
- pulumi_aiven/get_mirror_maker_replication_flow.py +18 -14
- pulumi_aiven/get_my_sql.py +24 -7
- pulumi_aiven/get_mysql_database.py +14 -10
- pulumi_aiven/get_mysql_user.py +14 -10
- pulumi_aiven/get_open_search.py +10 -6
- pulumi_aiven/get_open_search_acl_config.py +14 -10
- pulumi_aiven/get_open_search_acl_rule.py +14 -10
- pulumi_aiven/get_opensearch_security_plugin_config.py +14 -10
- pulumi_aiven/get_opensearch_user.py +14 -10
- pulumi_aiven/get_organization.py +4 -0
- pulumi_aiven/get_organization_user_group.py +6 -2
- pulumi_aiven/get_pg.py +10 -6
- pulumi_aiven/get_pg_database.py +14 -10
- pulumi_aiven/get_pg_user.py +14 -10
- pulumi_aiven/get_project.py +21 -17
- pulumi_aiven/get_project_user.py +13 -9
- pulumi_aiven/get_project_vpc.py +6 -2
- pulumi_aiven/get_redis.py +24 -7
- pulumi_aiven/get_redis_user.py +14 -10
- pulumi_aiven/get_service_component.py +8 -4
- pulumi_aiven/get_service_integration.py +33 -19
- pulumi_aiven/get_service_integration_endpoint.py +6 -2
- pulumi_aiven/get_transit_gateway_vpc_attachment.py +6 -2
- pulumi_aiven/grafana.py +267 -82
- 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 +54 -50
- pulumi_aiven/kafka_acl.py +24 -20
- pulumi_aiven/kafka_connect.py +267 -80
- pulumi_aiven/kafka_connector.py +30 -26
- pulumi_aiven/kafka_mirror_maker.py +267 -80
- pulumi_aiven/kafka_schema.py +22 -18
- pulumi_aiven/kafka_schema_configuration.py +24 -20
- pulumi_aiven/kafka_schema_registry_acl.py +14 -54
- pulumi_aiven/kafka_topic.py +46 -84
- pulumi_aiven/kafka_user.py +22 -18
- pulumi_aiven/m3_aggregator.py +267 -80
- pulumi_aiven/m3_db.py +267 -80
- pulumi_aiven/m3db_user.py +20 -16
- pulumi_aiven/mirror_maker_replication_flow.py +26 -22
- pulumi_aiven/my_sql.py +267 -80
- pulumi_aiven/mysql_database.py +24 -20
- pulumi_aiven/mysql_user.py +22 -18
- pulumi_aiven/open_search.py +31 -27
- pulumi_aiven/open_search_acl_config.py +36 -28
- pulumi_aiven/open_search_acl_rule.py +40 -36
- pulumi_aiven/opensearch_security_plugin_config.py +32 -28
- pulumi_aiven/opensearch_user.py +22 -18
- pulumi_aiven/organization.py +6 -2
- pulumi_aiven/organization_group_project.py +0 -46
- pulumi_aiven/organization_user.py +20 -2
- pulumi_aiven/organization_user_group.py +6 -4
- pulumi_aiven/organization_user_group_member.py +10 -8
- pulumi_aiven/organizational_unit.py +6 -6
- pulumi_aiven/outputs.py +390 -271
- pulumi_aiven/pg.py +30 -30
- pulumi_aiven/pg_database.py +24 -20
- pulumi_aiven/pg_user.py +22 -18
- pulumi_aiven/project.py +79 -75
- pulumi_aiven/project_user.py +28 -24
- pulumi_aiven/project_vpc.py +7 -31
- pulumi_aiven/redis.py +267 -80
- pulumi_aiven/redis_user.py +22 -18
- pulumi_aiven/service_integration.py +58 -54
- pulumi_aiven/static_ip.py +7 -7
- pulumi_aiven/transit_gateway_vpc_attachment.py +8 -4
- {pulumi_aiven-6.14.0.dist-info → pulumi_aiven-6.14.0a1711602990.dist-info}/METADATA +1 -1
- pulumi_aiven-6.14.0a1711602990.dist-info/RECORD +150 -0
- pulumi_aiven-6.14.0.dist-info/RECORD +0 -150
- {pulumi_aiven-6.14.0.dist-info → pulumi_aiven-6.14.0a1711602990.dist-info}/WHEEL +0 -0
- {pulumi_aiven-6.14.0.dist-info → pulumi_aiven-6.14.0a1711602990.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
|
+
Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
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
|
+
Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
95
95
|
"""
|
|
96
96
|
return pulumi.get(self, "service_name")
|
|
97
97
|
|
|
@@ -136,17 +136,19 @@ def get_azure_privatelink(project: Optional[str] = None,
|
|
|
136
136
|
|
|
137
137
|
## Example Usage
|
|
138
138
|
|
|
139
|
+
<!--Start PulumiCodeChooser -->
|
|
139
140
|
```python
|
|
140
141
|
import pulumi
|
|
141
142
|
import pulumi_aiven as aiven
|
|
142
143
|
|
|
143
|
-
main = aiven.get_azure_privatelink(project=example_project["project"],
|
|
144
|
-
service_name=example_kafka["
|
|
144
|
+
main = aiven.get_azure_privatelink(project=data["aiven_project"]["example_project"]["project"],
|
|
145
|
+
service_name=aiven_kafka["example_kafka"]["service_name"])
|
|
145
146
|
```
|
|
147
|
+
<!--End PulumiCodeChooser -->
|
|
146
148
|
|
|
147
149
|
|
|
148
|
-
:param str project:
|
|
149
|
-
:param str service_name:
|
|
150
|
+
:param str project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
151
|
+
:param str service_name: Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
150
152
|
"""
|
|
151
153
|
__args__ = dict()
|
|
152
154
|
__args__['project'] = project
|
|
@@ -174,16 +176,18 @@ def get_azure_privatelink_output(project: Optional[pulumi.Input[str]] = None,
|
|
|
174
176
|
|
|
175
177
|
## Example Usage
|
|
176
178
|
|
|
179
|
+
<!--Start PulumiCodeChooser -->
|
|
177
180
|
```python
|
|
178
181
|
import pulumi
|
|
179
182
|
import pulumi_aiven as aiven
|
|
180
183
|
|
|
181
|
-
main = aiven.get_azure_privatelink(project=example_project["project"],
|
|
182
|
-
service_name=example_kafka["
|
|
184
|
+
main = aiven.get_azure_privatelink(project=data["aiven_project"]["example_project"]["project"],
|
|
185
|
+
service_name=aiven_kafka["example_kafka"]["service_name"])
|
|
183
186
|
```
|
|
187
|
+
<!--End PulumiCodeChooser -->
|
|
184
188
|
|
|
185
189
|
|
|
186
|
-
:param str project:
|
|
187
|
-
:param str service_name:
|
|
190
|
+
:param str project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
191
|
+
:param str service_name: Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
188
192
|
"""
|
|
189
193
|
...
|
|
@@ -164,17 +164,19 @@ def get_azure_vpc_peering_connection(azure_subscription_id: Optional[str] = None
|
|
|
164
164
|
|
|
165
165
|
## Example Usage
|
|
166
166
|
|
|
167
|
+
<!--Start PulumiCodeChooser -->
|
|
167
168
|
```python
|
|
168
169
|
import pulumi
|
|
169
170
|
import pulumi_aiven as aiven
|
|
170
171
|
|
|
171
|
-
azure_to_aiven_peering = aiven.get_azure_vpc_peering_connection(vpc_id=example_vpc["id"],
|
|
172
|
+
azure_to_aiven_peering = aiven.get_azure_vpc_peering_connection(vpc_id=data["aiven_project_vpc"]["example_vpc"]["id"],
|
|
172
173
|
azure_subscription_id="00000000-0000-0000-0000-000000000000",
|
|
173
174
|
peer_resource_group="example-resource-group",
|
|
174
175
|
vnet_name="example-vnet",
|
|
175
176
|
peer_azure_app_id="00000000-0000-0000-0000-000000000000",
|
|
176
177
|
peer_azure_tenant_id="00000000-0000-0000-0000-000000000000")
|
|
177
178
|
```
|
|
179
|
+
<!--End PulumiCodeChooser -->
|
|
178
180
|
|
|
179
181
|
|
|
180
182
|
:param str azure_subscription_id: The ID of the Azure subscription in UUID4 format. Changing this property forces recreation of the resource.
|
|
@@ -220,17 +222,19 @@ def get_azure_vpc_peering_connection_output(azure_subscription_id: Optional[pulu
|
|
|
220
222
|
|
|
221
223
|
## Example Usage
|
|
222
224
|
|
|
225
|
+
<!--Start PulumiCodeChooser -->
|
|
223
226
|
```python
|
|
224
227
|
import pulumi
|
|
225
228
|
import pulumi_aiven as aiven
|
|
226
229
|
|
|
227
|
-
azure_to_aiven_peering = aiven.get_azure_vpc_peering_connection(vpc_id=example_vpc["id"],
|
|
230
|
+
azure_to_aiven_peering = aiven.get_azure_vpc_peering_connection(vpc_id=data["aiven_project_vpc"]["example_vpc"]["id"],
|
|
228
231
|
azure_subscription_id="00000000-0000-0000-0000-000000000000",
|
|
229
232
|
peer_resource_group="example-resource-group",
|
|
230
233
|
vnet_name="example-vnet",
|
|
231
234
|
peer_azure_app_id="00000000-0000-0000-0000-000000000000",
|
|
232
235
|
peer_azure_tenant_id="00000000-0000-0000-0000-000000000000")
|
|
233
236
|
```
|
|
237
|
+
<!--End PulumiCodeChooser -->
|
|
234
238
|
|
|
235
239
|
|
|
236
240
|
: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
|
+
Provides information about an existing 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
|
+
Provides information about an existing 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,13 +24,16 @@ 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, 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):
|
|
27
|
+
def __init__(__self__, additional_disk_space=None, cassandra_user_configs=None, cassandras=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)
|
|
34
37
|
if cloud_name and not isinstance(cloud_name, str):
|
|
35
38
|
raise TypeError("Expected argument 'cloud_name' to be a str")
|
|
36
39
|
pulumi.set(__self__, "cloud_name", cloud_name)
|
|
@@ -126,6 +129,14 @@ class GetCassandaResult:
|
|
|
126
129
|
"""
|
|
127
130
|
return pulumi.get(self, "cassandra_user_configs")
|
|
128
131
|
|
|
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
|
+
|
|
129
140
|
@property
|
|
130
141
|
@pulumi.getter(name="cloudName")
|
|
131
142
|
def cloud_name(self) -> str:
|
|
@@ -218,7 +229,7 @@ class GetCassandaResult:
|
|
|
218
229
|
@pulumi.getter
|
|
219
230
|
def project(self) -> str:
|
|
220
231
|
"""
|
|
221
|
-
|
|
232
|
+
Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
222
233
|
"""
|
|
223
234
|
return pulumi.get(self, "project")
|
|
224
235
|
|
|
@@ -322,7 +333,7 @@ class GetCassandaResult:
|
|
|
322
333
|
@pulumi.getter(name="techEmails")
|
|
323
334
|
def tech_emails(self) -> Sequence['outputs.GetCassandaTechEmailResult']:
|
|
324
335
|
"""
|
|
325
|
-
|
|
336
|
+
Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service instability.
|
|
326
337
|
"""
|
|
327
338
|
return pulumi.get(self, "tech_emails")
|
|
328
339
|
|
|
@@ -343,6 +354,7 @@ class AwaitableGetCassandaResult(GetCassandaResult):
|
|
|
343
354
|
return GetCassandaResult(
|
|
344
355
|
additional_disk_space=self.additional_disk_space,
|
|
345
356
|
cassandra_user_configs=self.cassandra_user_configs,
|
|
357
|
+
cassandras=self.cassandras,
|
|
346
358
|
cloud_name=self.cloud_name,
|
|
347
359
|
components=self.components,
|
|
348
360
|
disk_space=self.disk_space,
|
|
@@ -379,16 +391,18 @@ def get_cassanda(project: Optional[str] = None,
|
|
|
379
391
|
|
|
380
392
|
## Example Usage
|
|
381
393
|
|
|
394
|
+
<!--Start PulumiCodeChooser -->
|
|
382
395
|
```python
|
|
383
396
|
import pulumi
|
|
384
397
|
import pulumi_aiven as aiven
|
|
385
398
|
|
|
386
|
-
bar = aiven.get_cassandra(project=foo["project"],
|
|
399
|
+
bar = aiven.get_cassandra(project=data["aiven_project"]["foo"]["project"],
|
|
387
400
|
service_name="<SERVICE_NAME>")
|
|
388
401
|
```
|
|
402
|
+
<!--End PulumiCodeChooser -->
|
|
389
403
|
|
|
390
404
|
|
|
391
|
-
:param str project:
|
|
405
|
+
:param str project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
392
406
|
: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.
|
|
393
407
|
"""
|
|
394
408
|
pulumi.log.warn("""get_cassanda is deprecated: aiven.getCassanda has been deprecated in favor of aiven.getCassandra""")
|
|
@@ -401,6 +415,7 @@ def get_cassanda(project: Optional[str] = None,
|
|
|
401
415
|
return AwaitableGetCassandaResult(
|
|
402
416
|
additional_disk_space=pulumi.get(__ret__, 'additional_disk_space'),
|
|
403
417
|
cassandra_user_configs=pulumi.get(__ret__, 'cassandra_user_configs'),
|
|
418
|
+
cassandras=pulumi.get(__ret__, 'cassandras'),
|
|
404
419
|
cloud_name=pulumi.get(__ret__, 'cloud_name'),
|
|
405
420
|
components=pulumi.get(__ret__, 'components'),
|
|
406
421
|
disk_space=pulumi.get(__ret__, 'disk_space'),
|
|
@@ -438,16 +453,18 @@ def get_cassanda_output(project: Optional[pulumi.Input[str]] = None,
|
|
|
438
453
|
|
|
439
454
|
## Example Usage
|
|
440
455
|
|
|
456
|
+
<!--Start PulumiCodeChooser -->
|
|
441
457
|
```python
|
|
442
458
|
import pulumi
|
|
443
459
|
import pulumi_aiven as aiven
|
|
444
460
|
|
|
445
|
-
bar = aiven.get_cassandra(project=foo["project"],
|
|
461
|
+
bar = aiven.get_cassandra(project=data["aiven_project"]["foo"]["project"],
|
|
446
462
|
service_name="<SERVICE_NAME>")
|
|
447
463
|
```
|
|
464
|
+
<!--End PulumiCodeChooser -->
|
|
448
465
|
|
|
449
466
|
|
|
450
|
-
:param str project:
|
|
467
|
+
:param str project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
451
468
|
: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.
|
|
452
469
|
"""
|
|
453
470
|
pulumi.log.warn("""get_cassanda is deprecated: aiven.getCassanda has been deprecated in favor of aiven.getCassandra""")
|
pulumi_aiven/get_cassandra.py
CHANGED
|
@@ -22,13 +22,16 @@ 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, 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):
|
|
25
|
+
def __init__(__self__, additional_disk_space=None, cassandra_user_configs=None, cassandras=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)
|
|
32
35
|
if cloud_name and not isinstance(cloud_name, str):
|
|
33
36
|
raise TypeError("Expected argument 'cloud_name' to be a str")
|
|
34
37
|
pulumi.set(__self__, "cloud_name", cloud_name)
|
|
@@ -124,6 +127,14 @@ class GetCassandraResult:
|
|
|
124
127
|
"""
|
|
125
128
|
return pulumi.get(self, "cassandra_user_configs")
|
|
126
129
|
|
|
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
|
+
|
|
127
138
|
@property
|
|
128
139
|
@pulumi.getter(name="cloudName")
|
|
129
140
|
def cloud_name(self) -> str:
|
|
@@ -216,7 +227,7 @@ class GetCassandraResult:
|
|
|
216
227
|
@pulumi.getter
|
|
217
228
|
def project(self) -> str:
|
|
218
229
|
"""
|
|
219
|
-
|
|
230
|
+
Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
220
231
|
"""
|
|
221
232
|
return pulumi.get(self, "project")
|
|
222
233
|
|
|
@@ -320,7 +331,7 @@ class GetCassandraResult:
|
|
|
320
331
|
@pulumi.getter(name="techEmails")
|
|
321
332
|
def tech_emails(self) -> Sequence['outputs.GetCassandraTechEmailResult']:
|
|
322
333
|
"""
|
|
323
|
-
|
|
334
|
+
Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service instability.
|
|
324
335
|
"""
|
|
325
336
|
return pulumi.get(self, "tech_emails")
|
|
326
337
|
|
|
@@ -341,6 +352,7 @@ class AwaitableGetCassandraResult(GetCassandraResult):
|
|
|
341
352
|
return GetCassandraResult(
|
|
342
353
|
additional_disk_space=self.additional_disk_space,
|
|
343
354
|
cassandra_user_configs=self.cassandra_user_configs,
|
|
355
|
+
cassandras=self.cassandras,
|
|
344
356
|
cloud_name=self.cloud_name,
|
|
345
357
|
components=self.components,
|
|
346
358
|
disk_space=self.disk_space,
|
|
@@ -377,16 +389,18 @@ def get_cassandra(project: Optional[str] = None,
|
|
|
377
389
|
|
|
378
390
|
## Example Usage
|
|
379
391
|
|
|
392
|
+
<!--Start PulumiCodeChooser -->
|
|
380
393
|
```python
|
|
381
394
|
import pulumi
|
|
382
395
|
import pulumi_aiven as aiven
|
|
383
396
|
|
|
384
|
-
bar = aiven.get_cassandra(project=foo["project"],
|
|
397
|
+
bar = aiven.get_cassandra(project=data["aiven_project"]["foo"]["project"],
|
|
385
398
|
service_name="<SERVICE_NAME>")
|
|
386
399
|
```
|
|
400
|
+
<!--End PulumiCodeChooser -->
|
|
387
401
|
|
|
388
402
|
|
|
389
|
-
:param str project:
|
|
403
|
+
:param str project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
390
404
|
: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.
|
|
391
405
|
"""
|
|
392
406
|
__args__ = dict()
|
|
@@ -398,6 +412,7 @@ def get_cassandra(project: Optional[str] = None,
|
|
|
398
412
|
return AwaitableGetCassandraResult(
|
|
399
413
|
additional_disk_space=pulumi.get(__ret__, 'additional_disk_space'),
|
|
400
414
|
cassandra_user_configs=pulumi.get(__ret__, 'cassandra_user_configs'),
|
|
415
|
+
cassandras=pulumi.get(__ret__, 'cassandras'),
|
|
401
416
|
cloud_name=pulumi.get(__ret__, 'cloud_name'),
|
|
402
417
|
components=pulumi.get(__ret__, 'components'),
|
|
403
418
|
disk_space=pulumi.get(__ret__, 'disk_space'),
|
|
@@ -435,16 +450,18 @@ def get_cassandra_output(project: Optional[pulumi.Input[str]] = None,
|
|
|
435
450
|
|
|
436
451
|
## Example Usage
|
|
437
452
|
|
|
453
|
+
<!--Start PulumiCodeChooser -->
|
|
438
454
|
```python
|
|
439
455
|
import pulumi
|
|
440
456
|
import pulumi_aiven as aiven
|
|
441
457
|
|
|
442
|
-
bar = aiven.get_cassandra(project=foo["project"],
|
|
458
|
+
bar = aiven.get_cassandra(project=data["aiven_project"]["foo"]["project"],
|
|
443
459
|
service_name="<SERVICE_NAME>")
|
|
444
460
|
```
|
|
461
|
+
<!--End PulumiCodeChooser -->
|
|
445
462
|
|
|
446
463
|
|
|
447
|
-
:param str project:
|
|
464
|
+
:param str project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
448
465
|
: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.
|
|
449
466
|
"""
|
|
450
467
|
...
|
|
@@ -83,7 +83,7 @@ class GetCassandraUserResult:
|
|
|
83
83
|
@pulumi.getter
|
|
84
84
|
def project(self) -> str:
|
|
85
85
|
"""
|
|
86
|
-
|
|
86
|
+
Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
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
|
+
Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
95
95
|
"""
|
|
96
96
|
return pulumi.get(self, "service_name")
|
|
97
97
|
|
|
@@ -137,18 +137,20 @@ def get_cassandra_user(project: Optional[str] = None,
|
|
|
137
137
|
|
|
138
138
|
## Example Usage
|
|
139
139
|
|
|
140
|
+
<!--Start PulumiCodeChooser -->
|
|
140
141
|
```python
|
|
141
142
|
import pulumi
|
|
142
143
|
import pulumi_aiven as aiven
|
|
143
144
|
|
|
144
|
-
user = aiven.get_cassandra_user(
|
|
145
|
-
|
|
145
|
+
user = aiven.get_cassandra_user(project="my-project",
|
|
146
|
+
service_name="my-service",
|
|
146
147
|
username="user1")
|
|
147
148
|
```
|
|
149
|
+
<!--End PulumiCodeChooser -->
|
|
148
150
|
|
|
149
151
|
|
|
150
|
-
:param str project:
|
|
151
|
-
:param str service_name:
|
|
152
|
+
:param str project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
153
|
+
:param str service_name: Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
152
154
|
: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.
|
|
153
155
|
"""
|
|
154
156
|
__args__ = dict()
|
|
@@ -179,18 +181,20 @@ def get_cassandra_user_output(project: Optional[pulumi.Input[str]] = None,
|
|
|
179
181
|
|
|
180
182
|
## Example Usage
|
|
181
183
|
|
|
184
|
+
<!--Start PulumiCodeChooser -->
|
|
182
185
|
```python
|
|
183
186
|
import pulumi
|
|
184
187
|
import pulumi_aiven as aiven
|
|
185
188
|
|
|
186
|
-
user = aiven.get_cassandra_user(
|
|
187
|
-
|
|
189
|
+
user = aiven.get_cassandra_user(project="my-project",
|
|
190
|
+
service_name="my-service",
|
|
188
191
|
username="user1")
|
|
189
192
|
```
|
|
193
|
+
<!--End PulumiCodeChooser -->
|
|
190
194
|
|
|
191
195
|
|
|
192
|
-
:param str project:
|
|
193
|
-
:param str service_name:
|
|
196
|
+
:param str project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
197
|
+
:param str service_name: Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
194
198
|
: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.
|
|
195
199
|
"""
|
|
196
200
|
...
|
pulumi_aiven/get_clickhouse.py
CHANGED
|
@@ -22,13 +22,16 @@ 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, 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):
|
|
25
|
+
def __init__(__self__, additional_disk_space=None, clickhouse_user_configs=None, clickhouses=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)
|
|
32
35
|
if cloud_name and not isinstance(cloud_name, str):
|
|
33
36
|
raise TypeError("Expected argument 'cloud_name' to be a str")
|
|
34
37
|
pulumi.set(__self__, "cloud_name", cloud_name)
|
|
@@ -124,6 +127,14 @@ class GetClickhouseResult:
|
|
|
124
127
|
"""
|
|
125
128
|
return pulumi.get(self, "clickhouse_user_configs")
|
|
126
129
|
|
|
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
|
+
|
|
127
138
|
@property
|
|
128
139
|
@pulumi.getter(name="cloudName")
|
|
129
140
|
def cloud_name(self) -> str:
|
|
@@ -216,7 +227,7 @@ class GetClickhouseResult:
|
|
|
216
227
|
@pulumi.getter
|
|
217
228
|
def project(self) -> str:
|
|
218
229
|
"""
|
|
219
|
-
|
|
230
|
+
Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
220
231
|
"""
|
|
221
232
|
return pulumi.get(self, "project")
|
|
222
233
|
|
|
@@ -320,7 +331,7 @@ class GetClickhouseResult:
|
|
|
320
331
|
@pulumi.getter(name="techEmails")
|
|
321
332
|
def tech_emails(self) -> Sequence['outputs.GetClickhouseTechEmailResult']:
|
|
322
333
|
"""
|
|
323
|
-
|
|
334
|
+
Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service instability.
|
|
324
335
|
"""
|
|
325
336
|
return pulumi.get(self, "tech_emails")
|
|
326
337
|
|
|
@@ -341,6 +352,7 @@ class AwaitableGetClickhouseResult(GetClickhouseResult):
|
|
|
341
352
|
return GetClickhouseResult(
|
|
342
353
|
additional_disk_space=self.additional_disk_space,
|
|
343
354
|
clickhouse_user_configs=self.clickhouse_user_configs,
|
|
355
|
+
clickhouses=self.clickhouses,
|
|
344
356
|
cloud_name=self.cloud_name,
|
|
345
357
|
components=self.components,
|
|
346
358
|
disk_space=self.disk_space,
|
|
@@ -377,16 +389,18 @@ def get_clickhouse(project: Optional[str] = None,
|
|
|
377
389
|
|
|
378
390
|
## Example Usage
|
|
379
391
|
|
|
392
|
+
<!--Start PulumiCodeChooser -->
|
|
380
393
|
```python
|
|
381
394
|
import pulumi
|
|
382
395
|
import pulumi_aiven as aiven
|
|
383
396
|
|
|
384
|
-
clickhouse = aiven.get_clickhouse(project=pr1["project"],
|
|
397
|
+
clickhouse = aiven.get_clickhouse(project=data["aiven_project"]["pr1"]["project"],
|
|
385
398
|
service_name="<SERVICE_NAME>")
|
|
386
399
|
```
|
|
400
|
+
<!--End PulumiCodeChooser -->
|
|
387
401
|
|
|
388
402
|
|
|
389
|
-
:param str project:
|
|
403
|
+
:param str project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
390
404
|
: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.
|
|
391
405
|
"""
|
|
392
406
|
__args__ = dict()
|
|
@@ -398,6 +412,7 @@ def get_clickhouse(project: Optional[str] = None,
|
|
|
398
412
|
return AwaitableGetClickhouseResult(
|
|
399
413
|
additional_disk_space=pulumi.get(__ret__, 'additional_disk_space'),
|
|
400
414
|
clickhouse_user_configs=pulumi.get(__ret__, 'clickhouse_user_configs'),
|
|
415
|
+
clickhouses=pulumi.get(__ret__, 'clickhouses'),
|
|
401
416
|
cloud_name=pulumi.get(__ret__, 'cloud_name'),
|
|
402
417
|
components=pulumi.get(__ret__, 'components'),
|
|
403
418
|
disk_space=pulumi.get(__ret__, 'disk_space'),
|
|
@@ -435,16 +450,18 @@ def get_clickhouse_output(project: Optional[pulumi.Input[str]] = None,
|
|
|
435
450
|
|
|
436
451
|
## Example Usage
|
|
437
452
|
|
|
453
|
+
<!--Start PulumiCodeChooser -->
|
|
438
454
|
```python
|
|
439
455
|
import pulumi
|
|
440
456
|
import pulumi_aiven as aiven
|
|
441
457
|
|
|
442
|
-
clickhouse = aiven.get_clickhouse(project=pr1["project"],
|
|
458
|
+
clickhouse = aiven.get_clickhouse(project=data["aiven_project"]["pr1"]["project"],
|
|
443
459
|
service_name="<SERVICE_NAME>")
|
|
444
460
|
```
|
|
461
|
+
<!--End PulumiCodeChooser -->
|
|
445
462
|
|
|
446
463
|
|
|
447
|
-
:param str project:
|
|
464
|
+
:param str project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
448
465
|
: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.
|
|
449
466
|
"""
|
|
450
467
|
...
|
|
@@ -58,7 +58,7 @@ class GetClickhouseDatabaseResult:
|
|
|
58
58
|
@pulumi.getter
|
|
59
59
|
def project(self) -> str:
|
|
60
60
|
"""
|
|
61
|
-
|
|
61
|
+
Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
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
|
+
Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
70
70
|
"""
|
|
71
71
|
return pulumi.get(self, "service_name")
|
|
72
72
|
|
|
@@ -98,19 +98,21 @@ def get_clickhouse_database(name: Optional[str] = None,
|
|
|
98
98
|
|
|
99
99
|
## Example Usage
|
|
100
100
|
|
|
101
|
+
<!--Start PulumiCodeChooser -->
|
|
101
102
|
```python
|
|
102
103
|
import pulumi
|
|
103
104
|
import pulumi_aiven as aiven
|
|
104
105
|
|
|
105
|
-
clickhouse_db = aiven.get_clickhouse_database(project=ch["project"],
|
|
106
|
-
service_name=ch["
|
|
106
|
+
clickhouse_db = aiven.get_clickhouse_database(project=aiven_clickhouse["ch"]["project"],
|
|
107
|
+
service_name=aiven_clickhouse["ch"]["service_name"],
|
|
107
108
|
name="my-ch-db")
|
|
108
109
|
```
|
|
110
|
+
<!--End PulumiCodeChooser -->
|
|
109
111
|
|
|
110
112
|
|
|
111
113
|
:param str name: The name of the Clickhouse database. Changing this property forces recreation of the resource.
|
|
112
|
-
:param str project:
|
|
113
|
-
:param str service_name:
|
|
114
|
+
:param str project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
115
|
+
:param str service_name: Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
114
116
|
"""
|
|
115
117
|
__args__ = dict()
|
|
116
118
|
__args__['name'] = name
|
|
@@ -137,18 +139,20 @@ def get_clickhouse_database_output(name: Optional[pulumi.Input[str]] = None,
|
|
|
137
139
|
|
|
138
140
|
## Example Usage
|
|
139
141
|
|
|
142
|
+
<!--Start PulumiCodeChooser -->
|
|
140
143
|
```python
|
|
141
144
|
import pulumi
|
|
142
145
|
import pulumi_aiven as aiven
|
|
143
146
|
|
|
144
|
-
clickhouse_db = aiven.get_clickhouse_database(project=ch["project"],
|
|
145
|
-
service_name=ch["
|
|
147
|
+
clickhouse_db = aiven.get_clickhouse_database(project=aiven_clickhouse["ch"]["project"],
|
|
148
|
+
service_name=aiven_clickhouse["ch"]["service_name"],
|
|
146
149
|
name="my-ch-db")
|
|
147
150
|
```
|
|
151
|
+
<!--End PulumiCodeChooser -->
|
|
148
152
|
|
|
149
153
|
|
|
150
154
|
:param str name: The name of the Clickhouse database. Changing this property forces recreation of the resource.
|
|
151
|
-
:param str project:
|
|
152
|
-
:param str service_name:
|
|
155
|
+
:param str project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
156
|
+
:param str service_name: Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
153
157
|
"""
|
|
154
158
|
...
|