pulumi-aiven 6.14.0__py3-none-any.whl → 6.14.0a1711516617__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.0a1711516617.dist-info}/METADATA +1 -1
- pulumi_aiven-6.14.0a1711516617.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.0a1711516617.dist-info}/WHEEL +0 -0
- {pulumi_aiven-6.14.0.dist-info → pulumi_aiven-6.14.0a1711516617.dist-info}/top_level.txt +0 -0
pulumi_aiven/get_kafka.py
CHANGED
|
@@ -145,7 +145,7 @@ class GetKafkaResult:
|
|
|
145
145
|
@pulumi.getter(name="defaultAcl")
|
|
146
146
|
def default_acl(self) -> bool:
|
|
147
147
|
"""
|
|
148
|
-
Create
|
|
148
|
+
Create default wildcard Kafka ACL
|
|
149
149
|
"""
|
|
150
150
|
return pulumi.get(self, "default_acl")
|
|
151
151
|
|
|
@@ -209,7 +209,7 @@ class GetKafkaResult:
|
|
|
209
209
|
@pulumi.getter
|
|
210
210
|
def kafkas(self) -> Sequence['outputs.GetKafkaKafkaResult']:
|
|
211
211
|
"""
|
|
212
|
-
Kafka server
|
|
212
|
+
Kafka server provided values
|
|
213
213
|
"""
|
|
214
214
|
return pulumi.get(self, "kafkas")
|
|
215
215
|
|
|
@@ -217,7 +217,7 @@ class GetKafkaResult:
|
|
|
217
217
|
@pulumi.getter
|
|
218
218
|
def karapace(self) -> bool:
|
|
219
219
|
"""
|
|
220
|
-
Switch the service to use
|
|
220
|
+
Switch the service to use Karapace for schema registry and REST proxy
|
|
221
221
|
"""
|
|
222
222
|
return pulumi.get(self, "karapace")
|
|
223
223
|
|
|
@@ -249,7 +249,7 @@ class GetKafkaResult:
|
|
|
249
249
|
@pulumi.getter
|
|
250
250
|
def project(self) -> str:
|
|
251
251
|
"""
|
|
252
|
-
|
|
252
|
+
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.
|
|
253
253
|
"""
|
|
254
254
|
return pulumi.get(self, "project")
|
|
255
255
|
|
|
@@ -353,7 +353,7 @@ class GetKafkaResult:
|
|
|
353
353
|
@pulumi.getter(name="techEmails")
|
|
354
354
|
def tech_emails(self) -> Sequence['outputs.GetKafkaTechEmailResult']:
|
|
355
355
|
"""
|
|
356
|
-
|
|
356
|
+
Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service instability.
|
|
357
357
|
"""
|
|
358
358
|
return pulumi.get(self, "tech_emails")
|
|
359
359
|
|
|
@@ -409,20 +409,22 @@ def get_kafka(project: Optional[str] = None,
|
|
|
409
409
|
service_name: Optional[str] = None,
|
|
410
410
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetKafkaResult:
|
|
411
411
|
"""
|
|
412
|
-
|
|
412
|
+
The Kafka data source provides information about the existing Aiven Kafka services.
|
|
413
413
|
|
|
414
414
|
## Example Usage
|
|
415
415
|
|
|
416
|
+
<!--Start PulumiCodeChooser -->
|
|
416
417
|
```python
|
|
417
418
|
import pulumi
|
|
418
419
|
import pulumi_aiven as aiven
|
|
419
420
|
|
|
420
|
-
|
|
421
|
-
service_name="
|
|
421
|
+
kafka1 = aiven.get_kafka(project=data["aiven_project"]["pr1"]["project"],
|
|
422
|
+
service_name="my-kafka1")
|
|
422
423
|
```
|
|
424
|
+
<!--End PulumiCodeChooser -->
|
|
423
425
|
|
|
424
426
|
|
|
425
|
-
:param str project:
|
|
427
|
+
: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.
|
|
426
428
|
: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.
|
|
427
429
|
"""
|
|
428
430
|
__args__ = dict()
|
|
@@ -470,20 +472,22 @@ def get_kafka_output(project: Optional[pulumi.Input[str]] = None,
|
|
|
470
472
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
471
473
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetKafkaResult]:
|
|
472
474
|
"""
|
|
473
|
-
|
|
475
|
+
The Kafka data source provides information about the existing Aiven Kafka services.
|
|
474
476
|
|
|
475
477
|
## Example Usage
|
|
476
478
|
|
|
479
|
+
<!--Start PulumiCodeChooser -->
|
|
477
480
|
```python
|
|
478
481
|
import pulumi
|
|
479
482
|
import pulumi_aiven as aiven
|
|
480
483
|
|
|
481
|
-
|
|
482
|
-
service_name="
|
|
484
|
+
kafka1 = aiven.get_kafka(project=data["aiven_project"]["pr1"]["project"],
|
|
485
|
+
service_name="my-kafka1")
|
|
483
486
|
```
|
|
487
|
+
<!--End PulumiCodeChooser -->
|
|
484
488
|
|
|
485
489
|
|
|
486
|
-
:param str project:
|
|
490
|
+
: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.
|
|
487
491
|
: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.
|
|
488
492
|
"""
|
|
489
493
|
...
|
pulumi_aiven/get_kafka_acl.py
CHANGED
|
@@ -72,7 +72,7 @@ class GetKafkaAclResult:
|
|
|
72
72
|
@pulumi.getter
|
|
73
73
|
def project(self) -> str:
|
|
74
74
|
"""
|
|
75
|
-
|
|
75
|
+
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.
|
|
76
76
|
"""
|
|
77
77
|
return pulumi.get(self, "project")
|
|
78
78
|
|
|
@@ -80,7 +80,7 @@ class GetKafkaAclResult:
|
|
|
80
80
|
@pulumi.getter(name="serviceName")
|
|
81
81
|
def service_name(self) -> str:
|
|
82
82
|
"""
|
|
83
|
-
|
|
83
|
+
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.
|
|
84
84
|
"""
|
|
85
85
|
return pulumi.get(self, "service_name")
|
|
86
86
|
|
|
@@ -127,21 +127,23 @@ def get_kafka_acl(permission: Optional[str] = None,
|
|
|
127
127
|
|
|
128
128
|
## Example Usage
|
|
129
129
|
|
|
130
|
+
<!--Start PulumiCodeChooser -->
|
|
130
131
|
```python
|
|
131
132
|
import pulumi
|
|
132
133
|
import pulumi_aiven as aiven
|
|
133
134
|
|
|
134
|
-
mytestacl = aiven.get_kafka_acl(project=myproject["project"],
|
|
135
|
-
service_name=mykafka["
|
|
135
|
+
mytestacl = aiven.get_kafka_acl(project=aiven_project["myproject"]["project"],
|
|
136
|
+
service_name=aiven_kafka["mykafka"]["service_name"],
|
|
136
137
|
topic="<TOPIC_NAME_PATTERN>",
|
|
137
138
|
permission="<PERMISSON>",
|
|
138
139
|
username="<USERNAME_PATTERN>")
|
|
139
140
|
```
|
|
141
|
+
<!--End PulumiCodeChooser -->
|
|
140
142
|
|
|
141
143
|
|
|
142
144
|
:param str permission: Kafka permission to grant. The possible values are `admin`, `read`, `readwrite` and `write`. Changing this property forces recreation of the resource.
|
|
143
|
-
:param str project:
|
|
144
|
-
:param str service_name:
|
|
145
|
+
: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.
|
|
146
|
+
: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.
|
|
145
147
|
:param str topic: Topic name pattern for the ACL entry. Changing this property forces recreation of the resource.
|
|
146
148
|
:param str username: Username pattern for the ACL entry. Changing this property forces recreation of the resource.
|
|
147
149
|
"""
|
|
@@ -176,21 +178,23 @@ def get_kafka_acl_output(permission: Optional[pulumi.Input[str]] = None,
|
|
|
176
178
|
|
|
177
179
|
## Example Usage
|
|
178
180
|
|
|
181
|
+
<!--Start PulumiCodeChooser -->
|
|
179
182
|
```python
|
|
180
183
|
import pulumi
|
|
181
184
|
import pulumi_aiven as aiven
|
|
182
185
|
|
|
183
|
-
mytestacl = aiven.get_kafka_acl(project=myproject["project"],
|
|
184
|
-
service_name=mykafka["
|
|
186
|
+
mytestacl = aiven.get_kafka_acl(project=aiven_project["myproject"]["project"],
|
|
187
|
+
service_name=aiven_kafka["mykafka"]["service_name"],
|
|
185
188
|
topic="<TOPIC_NAME_PATTERN>",
|
|
186
189
|
permission="<PERMISSON>",
|
|
187
190
|
username="<USERNAME_PATTERN>")
|
|
188
191
|
```
|
|
192
|
+
<!--End PulumiCodeChooser -->
|
|
189
193
|
|
|
190
194
|
|
|
191
195
|
:param str permission: Kafka permission to grant. The possible values are `admin`, `read`, `readwrite` and `write`. Changing this property forces recreation of the resource.
|
|
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 topic: Topic name pattern for the ACL entry. Changing this property forces recreation of the resource.
|
|
195
199
|
:param str username: Username pattern for the ACL entry. Changing this property forces recreation of the resource.
|
|
196
200
|
"""
|
|
@@ -22,7 +22,7 @@ class GetKafkaConnectResult:
|
|
|
22
22
|
"""
|
|
23
23
|
A collection of values returned by getKafkaConnect.
|
|
24
24
|
"""
|
|
25
|
-
def __init__(__self__, additional_disk_space=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, kafka_connect_user_configs=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, 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, kafka_connect_user_configs=None, kafka_connects=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)
|
|
@@ -53,6 +53,9 @@ class GetKafkaConnectResult:
|
|
|
53
53
|
if kafka_connect_user_configs and not isinstance(kafka_connect_user_configs, list):
|
|
54
54
|
raise TypeError("Expected argument 'kafka_connect_user_configs' to be a list")
|
|
55
55
|
pulumi.set(__self__, "kafka_connect_user_configs", kafka_connect_user_configs)
|
|
56
|
+
if kafka_connects and not isinstance(kafka_connects, list):
|
|
57
|
+
raise TypeError("Expected argument 'kafka_connects' to be a list")
|
|
58
|
+
pulumi.set(__self__, "kafka_connects", kafka_connects)
|
|
56
59
|
if maintenance_window_dow and not isinstance(maintenance_window_dow, str):
|
|
57
60
|
raise TypeError("Expected argument 'maintenance_window_dow' to be a str")
|
|
58
61
|
pulumi.set(__self__, "maintenance_window_dow", maintenance_window_dow)
|
|
@@ -188,6 +191,14 @@ class GetKafkaConnectResult:
|
|
|
188
191
|
"""
|
|
189
192
|
return pulumi.get(self, "kafka_connect_user_configs")
|
|
190
193
|
|
|
194
|
+
@property
|
|
195
|
+
@pulumi.getter(name="kafkaConnects")
|
|
196
|
+
def kafka_connects(self) -> Sequence['outputs.GetKafkaConnectKafkaConnectResult']:
|
|
197
|
+
"""
|
|
198
|
+
Kafka Connect server provided values
|
|
199
|
+
"""
|
|
200
|
+
return pulumi.get(self, "kafka_connects")
|
|
201
|
+
|
|
191
202
|
@property
|
|
192
203
|
@pulumi.getter(name="maintenanceWindowDow")
|
|
193
204
|
def maintenance_window_dow(self) -> str:
|
|
@@ -216,7 +227,7 @@ class GetKafkaConnectResult:
|
|
|
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 GetKafkaConnectResult:
|
|
|
320
331
|
@pulumi.getter(name="techEmails")
|
|
321
332
|
def tech_emails(self) -> Sequence['outputs.GetKafkaConnectTechEmailResult']:
|
|
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
|
|
|
@@ -349,6 +360,7 @@ class AwaitableGetKafkaConnectResult(GetKafkaConnectResult):
|
|
|
349
360
|
disk_space_used=self.disk_space_used,
|
|
350
361
|
id=self.id,
|
|
351
362
|
kafka_connect_user_configs=self.kafka_connect_user_configs,
|
|
363
|
+
kafka_connects=self.kafka_connects,
|
|
352
364
|
maintenance_window_dow=self.maintenance_window_dow,
|
|
353
365
|
maintenance_window_time=self.maintenance_window_time,
|
|
354
366
|
plan=self.plan,
|
|
@@ -377,16 +389,18 @@ def get_kafka_connect(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
|
-
kc1 = aiven.get_kafka_connect(project=pr1["project"],
|
|
397
|
+
kc1 = aiven.get_kafka_connect(project=data["aiven_project"]["pr1"]["project"],
|
|
385
398
|
service_name="my-kc1")
|
|
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()
|
|
@@ -406,6 +420,7 @@ def get_kafka_connect(project: Optional[str] = None,
|
|
|
406
420
|
disk_space_used=pulumi.get(__ret__, 'disk_space_used'),
|
|
407
421
|
id=pulumi.get(__ret__, 'id'),
|
|
408
422
|
kafka_connect_user_configs=pulumi.get(__ret__, 'kafka_connect_user_configs'),
|
|
423
|
+
kafka_connects=pulumi.get(__ret__, 'kafka_connects'),
|
|
409
424
|
maintenance_window_dow=pulumi.get(__ret__, 'maintenance_window_dow'),
|
|
410
425
|
maintenance_window_time=pulumi.get(__ret__, 'maintenance_window_time'),
|
|
411
426
|
plan=pulumi.get(__ret__, 'plan'),
|
|
@@ -435,16 +450,18 @@ def get_kafka_connect_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
|
-
kc1 = aiven.get_kafka_connect(project=pr1["project"],
|
|
458
|
+
kc1 = aiven.get_kafka_connect(project=data["aiven_project"]["pr1"]["project"],
|
|
443
459
|
service_name="my-kc1")
|
|
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
|
...
|
|
@@ -136,7 +136,7 @@ class GetKafkaConnectorResult:
|
|
|
136
136
|
@pulumi.getter
|
|
137
137
|
def project(self) -> str:
|
|
138
138
|
"""
|
|
139
|
-
|
|
139
|
+
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.
|
|
140
140
|
"""
|
|
141
141
|
return pulumi.get(self, "project")
|
|
142
142
|
|
|
@@ -144,7 +144,7 @@ class GetKafkaConnectorResult:
|
|
|
144
144
|
@pulumi.getter(name="serviceName")
|
|
145
145
|
def service_name(self) -> str:
|
|
146
146
|
"""
|
|
147
|
-
|
|
147
|
+
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.
|
|
148
148
|
"""
|
|
149
149
|
return pulumi.get(self, "service_name")
|
|
150
150
|
|
|
@@ -186,19 +186,21 @@ def get_kafka_connector(connector_name: Optional[str] = None,
|
|
|
186
186
|
|
|
187
187
|
## Example Usage
|
|
188
188
|
|
|
189
|
+
<!--Start PulumiCodeChooser -->
|
|
189
190
|
```python
|
|
190
191
|
import pulumi
|
|
191
192
|
import pulumi_aiven as aiven
|
|
192
193
|
|
|
193
|
-
kafka_es_con1 = aiven.get_kafka_connector(project=
|
|
194
|
-
service_name=
|
|
194
|
+
kafka_es_con1 = aiven.get_kafka_connector(project=aiven_project["kafka-con-project1"]["project"],
|
|
195
|
+
service_name=aiven_kafka["kafka-service1"]["service_name"],
|
|
195
196
|
connector_name="kafka-es-con1")
|
|
196
197
|
```
|
|
198
|
+
<!--End PulumiCodeChooser -->
|
|
197
199
|
|
|
198
200
|
|
|
199
201
|
:param str connector_name: The kafka connector name. Changing this property forces recreation of the resource.
|
|
200
|
-
:param str project:
|
|
201
|
-
:param str service_name:
|
|
202
|
+
: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.
|
|
203
|
+
: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.
|
|
202
204
|
"""
|
|
203
205
|
__args__ = dict()
|
|
204
206
|
__args__['connectorName'] = connector_name
|
|
@@ -232,18 +234,20 @@ def get_kafka_connector_output(connector_name: Optional[pulumi.Input[str]] = Non
|
|
|
232
234
|
|
|
233
235
|
## Example Usage
|
|
234
236
|
|
|
237
|
+
<!--Start PulumiCodeChooser -->
|
|
235
238
|
```python
|
|
236
239
|
import pulumi
|
|
237
240
|
import pulumi_aiven as aiven
|
|
238
241
|
|
|
239
|
-
kafka_es_con1 = aiven.get_kafka_connector(project=
|
|
240
|
-
service_name=
|
|
242
|
+
kafka_es_con1 = aiven.get_kafka_connector(project=aiven_project["kafka-con-project1"]["project"],
|
|
243
|
+
service_name=aiven_kafka["kafka-service1"]["service_name"],
|
|
241
244
|
connector_name="kafka-es-con1")
|
|
242
245
|
```
|
|
246
|
+
<!--End PulumiCodeChooser -->
|
|
243
247
|
|
|
244
248
|
|
|
245
249
|
:param str connector_name: The kafka connector name. Changing this property forces recreation of the resource.
|
|
246
|
-
:param str project:
|
|
247
|
-
:param str service_name:
|
|
250
|
+
: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.
|
|
251
|
+
: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.
|
|
248
252
|
"""
|
|
249
253
|
...
|
|
@@ -22,7 +22,7 @@ class GetKafkaMirrorMakerResult:
|
|
|
22
22
|
"""
|
|
23
23
|
A collection of values returned by getKafkaMirrorMaker.
|
|
24
24
|
"""
|
|
25
|
-
def __init__(__self__, additional_disk_space=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, kafka_mirrormaker_user_configs=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, 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, kafka_mirrormaker_user_configs=None, kafka_mirrormakers=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)
|
|
@@ -53,6 +53,9 @@ class GetKafkaMirrorMakerResult:
|
|
|
53
53
|
if kafka_mirrormaker_user_configs and not isinstance(kafka_mirrormaker_user_configs, list):
|
|
54
54
|
raise TypeError("Expected argument 'kafka_mirrormaker_user_configs' to be a list")
|
|
55
55
|
pulumi.set(__self__, "kafka_mirrormaker_user_configs", kafka_mirrormaker_user_configs)
|
|
56
|
+
if kafka_mirrormakers and not isinstance(kafka_mirrormakers, list):
|
|
57
|
+
raise TypeError("Expected argument 'kafka_mirrormakers' to be a list")
|
|
58
|
+
pulumi.set(__self__, "kafka_mirrormakers", kafka_mirrormakers)
|
|
56
59
|
if maintenance_window_dow and not isinstance(maintenance_window_dow, str):
|
|
57
60
|
raise TypeError("Expected argument 'maintenance_window_dow' to be a str")
|
|
58
61
|
pulumi.set(__self__, "maintenance_window_dow", maintenance_window_dow)
|
|
@@ -188,6 +191,14 @@ class GetKafkaMirrorMakerResult:
|
|
|
188
191
|
"""
|
|
189
192
|
return pulumi.get(self, "kafka_mirrormaker_user_configs")
|
|
190
193
|
|
|
194
|
+
@property
|
|
195
|
+
@pulumi.getter(name="kafkaMirrormakers")
|
|
196
|
+
def kafka_mirrormakers(self) -> Sequence['outputs.GetKafkaMirrorMakerKafkaMirrormakerResult']:
|
|
197
|
+
"""
|
|
198
|
+
Kafka MirrorMaker 2 server provided values
|
|
199
|
+
"""
|
|
200
|
+
return pulumi.get(self, "kafka_mirrormakers")
|
|
201
|
+
|
|
191
202
|
@property
|
|
192
203
|
@pulumi.getter(name="maintenanceWindowDow")
|
|
193
204
|
def maintenance_window_dow(self) -> str:
|
|
@@ -216,7 +227,7 @@ class GetKafkaMirrorMakerResult:
|
|
|
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 GetKafkaMirrorMakerResult:
|
|
|
320
331
|
@pulumi.getter(name="techEmails")
|
|
321
332
|
def tech_emails(self) -> Sequence['outputs.GetKafkaMirrorMakerTechEmailResult']:
|
|
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
|
|
|
@@ -349,6 +360,7 @@ class AwaitableGetKafkaMirrorMakerResult(GetKafkaMirrorMakerResult):
|
|
|
349
360
|
disk_space_used=self.disk_space_used,
|
|
350
361
|
id=self.id,
|
|
351
362
|
kafka_mirrormaker_user_configs=self.kafka_mirrormaker_user_configs,
|
|
363
|
+
kafka_mirrormakers=self.kafka_mirrormakers,
|
|
352
364
|
maintenance_window_dow=self.maintenance_window_dow,
|
|
353
365
|
maintenance_window_time=self.maintenance_window_time,
|
|
354
366
|
plan=self.plan,
|
|
@@ -377,16 +389,18 @@ def get_kafka_mirror_maker(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
|
-
mm1 = aiven.get_kafka_mirror_maker(project=pr1["project"],
|
|
397
|
+
mm1 = aiven.get_kafka_mirror_maker(project=data["aiven_project"]["pr1"]["project"],
|
|
385
398
|
service_name="my-mm1")
|
|
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()
|
|
@@ -406,6 +420,7 @@ def get_kafka_mirror_maker(project: Optional[str] = None,
|
|
|
406
420
|
disk_space_used=pulumi.get(__ret__, 'disk_space_used'),
|
|
407
421
|
id=pulumi.get(__ret__, 'id'),
|
|
408
422
|
kafka_mirrormaker_user_configs=pulumi.get(__ret__, 'kafka_mirrormaker_user_configs'),
|
|
423
|
+
kafka_mirrormakers=pulumi.get(__ret__, 'kafka_mirrormakers'),
|
|
409
424
|
maintenance_window_dow=pulumi.get(__ret__, 'maintenance_window_dow'),
|
|
410
425
|
maintenance_window_time=pulumi.get(__ret__, 'maintenance_window_time'),
|
|
411
426
|
plan=pulumi.get(__ret__, 'plan'),
|
|
@@ -435,16 +450,18 @@ def get_kafka_mirror_maker_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
|
-
mm1 = aiven.get_kafka_mirror_maker(project=pr1["project"],
|
|
458
|
+
mm1 = aiven.get_kafka_mirror_maker(project=data["aiven_project"]["pr1"]["project"],
|
|
443
459
|
service_name="my-mm1")
|
|
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
|
...
|
pulumi_aiven/get_kafka_schema.py
CHANGED
|
@@ -67,7 +67,7 @@ class GetKafkaSchemaResult:
|
|
|
67
67
|
@pulumi.getter
|
|
68
68
|
def project(self) -> str:
|
|
69
69
|
"""
|
|
70
|
-
|
|
70
|
+
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.
|
|
71
71
|
"""
|
|
72
72
|
return pulumi.get(self, "project")
|
|
73
73
|
|
|
@@ -91,7 +91,7 @@ class GetKafkaSchemaResult:
|
|
|
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,17 +137,19 @@ def get_kafka_schema(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
|
-
config = aiven.get_kafka_schema_configuration(project=
|
|
145
|
-
service_name=
|
|
145
|
+
config = aiven.get_kafka_schema_configuration(project=aiven_project["kafka-schemas-project1"]["project"],
|
|
146
|
+
service_name=aiven_kafka["kafka-service1"]["service_name"])
|
|
146
147
|
```
|
|
148
|
+
<!--End PulumiCodeChooser -->
|
|
147
149
|
|
|
148
150
|
|
|
149
|
-
:param str project:
|
|
150
|
-
:param str service_name:
|
|
151
|
+
: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.
|
|
152
|
+
: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.
|
|
151
153
|
:param str subject_name: The Kafka Schema Subject name. Changing this property forces recreation of the resource.
|
|
152
154
|
"""
|
|
153
155
|
__args__ = dict()
|
|
@@ -178,17 +180,19 @@ def get_kafka_schema_output(project: Optional[pulumi.Input[str]] = None,
|
|
|
178
180
|
|
|
179
181
|
## Example Usage
|
|
180
182
|
|
|
183
|
+
<!--Start PulumiCodeChooser -->
|
|
181
184
|
```python
|
|
182
185
|
import pulumi
|
|
183
186
|
import pulumi_aiven as aiven
|
|
184
187
|
|
|
185
|
-
config = aiven.get_kafka_schema_configuration(project=
|
|
186
|
-
service_name=
|
|
188
|
+
config = aiven.get_kafka_schema_configuration(project=aiven_project["kafka-schemas-project1"]["project"],
|
|
189
|
+
service_name=aiven_kafka["kafka-service1"]["service_name"])
|
|
187
190
|
```
|
|
191
|
+
<!--End PulumiCodeChooser -->
|
|
188
192
|
|
|
189
193
|
|
|
190
|
-
:param str project:
|
|
191
|
-
:param str service_name:
|
|
194
|
+
: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.
|
|
195
|
+
: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.
|
|
192
196
|
:param str subject_name: The Kafka Schema Subject name. Changing this property forces recreation of the resource.
|
|
193
197
|
"""
|
|
194
198
|
...
|
|
@@ -67,7 +67,7 @@ class GetKafkaSchemaConfigurationResult:
|
|
|
67
67
|
@pulumi.getter
|
|
68
68
|
def project(self) -> str:
|
|
69
69
|
"""
|
|
70
|
-
|
|
70
|
+
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.
|
|
71
71
|
"""
|
|
72
72
|
return pulumi.get(self, "project")
|
|
73
73
|
|
|
@@ -91,7 +91,7 @@ class GetKafkaSchemaConfigurationResult:
|
|
|
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,19 +136,21 @@ def get_kafka_schema_configuration(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
144
|
config = aiven.KafkaSchemaConfiguration("config",
|
|
144
|
-
project=
|
|
145
|
-
service_name=
|
|
145
|
+
project=aiven_project["kafka-schemas-project1"]["project"],
|
|
146
|
+
service_name=aiven_kafka["kafka-service1"]["service_name"],
|
|
146
147
|
compatibility_level="BACKWARD")
|
|
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
|
"""
|
|
153
155
|
__args__ = dict()
|
|
154
156
|
__args__['project'] = project
|
|
@@ -176,18 +178,20 @@ def get_kafka_schema_configuration_output(project: Optional[pulumi.Input[str]] =
|
|
|
176
178
|
|
|
177
179
|
## Example Usage
|
|
178
180
|
|
|
181
|
+
<!--Start PulumiCodeChooser -->
|
|
179
182
|
```python
|
|
180
183
|
import pulumi
|
|
181
184
|
import pulumi_aiven as aiven
|
|
182
185
|
|
|
183
186
|
config = aiven.KafkaSchemaConfiguration("config",
|
|
184
|
-
project=
|
|
185
|
-
service_name=
|
|
187
|
+
project=aiven_project["kafka-schemas-project1"]["project"],
|
|
188
|
+
service_name=aiven_kafka["kafka-service1"]["service_name"],
|
|
186
189
|
compatibility_level="BACKWARD")
|
|
187
190
|
```
|
|
191
|
+
<!--End PulumiCodeChooser -->
|
|
188
192
|
|
|
189
193
|
|
|
190
|
-
:param str project:
|
|
191
|
-
:param str service_name:
|
|
194
|
+
: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.
|
|
195
|
+
: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.
|
|
192
196
|
"""
|
|
193
197
|
...
|