pulumi-aiven 6.13.0a1710156545__py3-none-any.whl → 6.31.0a1736831339__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-aiven might be problematic. Click here for more details.
- pulumi_aiven/__init__.py +127 -0
- pulumi_aiven/_inputs.py +32615 -13711
- pulumi_aiven/_utilities.py +41 -5
- pulumi_aiven/account.py +32 -45
- pulumi_aiven/account_authentication.py +24 -9
- pulumi_aiven/account_team.py +35 -14
- pulumi_aiven/account_team_member.py +48 -39
- pulumi_aiven/account_team_project.py +40 -27
- pulumi_aiven/alloydbomni.py +1335 -0
- pulumi_aiven/alloydbomni_database.py +347 -0
- pulumi_aiven/alloydbomni_user.py +433 -0
- pulumi_aiven/aws_privatelink.py +44 -43
- pulumi_aiven/aws_vpc_peering_connection.py +72 -61
- pulumi_aiven/azure_privatelink.py +54 -53
- pulumi_aiven/azure_privatelink_connection_approval.py +136 -33
- pulumi_aiven/azure_vpc_peering_connection.py +86 -77
- pulumi_aiven/billing_group.py +33 -34
- pulumi_aiven/cassandra.py +145 -126
- pulumi_aiven/cassandra_user.py +59 -58
- pulumi_aiven/clickhouse.py +133 -114
- pulumi_aiven/clickhouse_database.py +58 -62
- pulumi_aiven/clickhouse_grant.py +135 -134
- pulumi_aiven/clickhouse_role.py +36 -49
- pulumi_aiven/clickhouse_user.py +50 -49
- pulumi_aiven/config/__init__.pyi +5 -0
- pulumi_aiven/config/vars.py +5 -0
- pulumi_aiven/connection_pool.py +67 -66
- pulumi_aiven/dragonfly.py +1256 -0
- pulumi_aiven/flink.py +104 -104
- pulumi_aiven/flink_application.py +58 -55
- pulumi_aiven/flink_application_deployment.py +178 -73
- pulumi_aiven/flink_application_version.py +179 -96
- pulumi_aiven/gcp_privatelink.py +69 -42
- pulumi_aiven/gcp_privatelink_connection_approval.py +78 -49
- pulumi_aiven/gcp_vpc_peering_connection.py +49 -48
- pulumi_aiven/get_account.py +20 -9
- pulumi_aiven/get_account_authentication.py +31 -5
- pulumi_aiven/get_account_team.py +18 -5
- pulumi_aiven/get_account_team_member.py +29 -14
- pulumi_aiven/get_account_team_project.py +19 -6
- pulumi_aiven/get_alloydbomni.py +499 -0
- pulumi_aiven/get_alloydbomni_database.py +168 -0
- pulumi_aiven/get_alloydbomni_user.py +210 -0
- pulumi_aiven/get_aws_privatelink.py +33 -24
- pulumi_aiven/get_aws_vpc_peering_connection.py +56 -33
- pulumi_aiven/get_azure_privatelink.py +37 -26
- pulumi_aiven/get_azure_vpc_peering_connection.py +77 -28
- pulumi_aiven/get_billing_group.py +31 -8
- pulumi_aiven/get_cassanda.py +55 -23
- pulumi_aiven/get_cassandra.py +55 -23
- pulumi_aiven/get_cassandra_user.py +42 -30
- pulumi_aiven/get_clickhouse.py +55 -23
- pulumi_aiven/get_clickhouse_database.py +35 -26
- pulumi_aiven/get_clickhouse_user.py +40 -29
- pulumi_aiven/get_connection_pool.py +43 -30
- pulumi_aiven/get_dragonfly.py +499 -0
- pulumi_aiven/get_external_identity.py +160 -0
- pulumi_aiven/get_flink.py +55 -23
- pulumi_aiven/get_flink_application.py +44 -31
- pulumi_aiven/get_flink_application_version.py +55 -37
- pulumi_aiven/get_gcp_privatelink.py +63 -7
- pulumi_aiven/get_gcp_vpc_peering_connection.py +39 -28
- pulumi_aiven/get_grafana.py +55 -23
- pulumi_aiven/get_influx_db.py +41 -5
- pulumi_aiven/get_influxdb_database.py +18 -5
- pulumi_aiven/get_influxdb_user.py +21 -5
- pulumi_aiven/get_kafka.py +59 -25
- pulumi_aiven/get_kafka_acl.py +50 -37
- pulumi_aiven/get_kafka_connect.py +54 -36
- pulumi_aiven/get_kafka_connector.py +44 -28
- pulumi_aiven/get_kafka_mirror_maker.py +50 -32
- pulumi_aiven/get_kafka_schema.py +35 -23
- pulumi_aiven/get_kafka_schema_configuration.py +32 -21
- pulumi_aiven/get_kafka_schema_registry_acl.py +37 -20
- pulumi_aiven/get_kafka_topic.py +70 -29
- pulumi_aiven/get_kafka_user.py +42 -30
- pulumi_aiven/get_m3_aggregator.py +51 -19
- pulumi_aiven/get_m3_db.py +55 -23
- pulumi_aiven/get_m3db_user.py +38 -28
- pulumi_aiven/get_mirror_maker_replication_flow.py +86 -25
- pulumi_aiven/get_my_sql.py +50 -18
- pulumi_aiven/get_mysql_database.py +31 -22
- pulumi_aiven/get_mysql_user.py +36 -23
- pulumi_aiven/get_open_search.py +50 -18
- pulumi_aiven/get_open_search_acl_config.py +27 -19
- pulumi_aiven/get_open_search_acl_rule.py +37 -25
- pulumi_aiven/get_opensearch_security_plugin_config.py +29 -19
- pulumi_aiven/get_opensearch_user.py +32 -22
- pulumi_aiven/get_organization.py +25 -17
- pulumi_aiven/get_organization_application_user.py +176 -0
- pulumi_aiven/get_organization_user.py +18 -5
- pulumi_aiven/get_organization_user_group.py +48 -14
- pulumi_aiven/get_organization_user_list.py +121 -0
- pulumi_aiven/get_organizational_unit.py +26 -14
- pulumi_aiven/get_pg.py +55 -23
- pulumi_aiven/get_pg_database.py +39 -28
- pulumi_aiven/get_pg_user.py +44 -31
- pulumi_aiven/get_project.py +43 -26
- pulumi_aiven/get_project_user.py +27 -19
- pulumi_aiven/get_project_vpc.py +31 -23
- pulumi_aiven/get_redis.py +50 -18
- pulumi_aiven/get_redis_user.py +40 -26
- pulumi_aiven/get_service_component.py +40 -22
- pulumi_aiven/get_service_integration.py +163 -53
- pulumi_aiven/get_service_integration_endpoint.py +128 -37
- pulumi_aiven/get_thanos.py +499 -0
- pulumi_aiven/get_transit_gateway_vpc_attachment.py +35 -22
- pulumi_aiven/get_valkey.py +499 -0
- pulumi_aiven/get_valkey_user.py +218 -0
- pulumi_aiven/grafana.py +188 -322
- pulumi_aiven/influx_db.py +127 -90
- pulumi_aiven/influxdb_database.py +40 -55
- pulumi_aiven/influxdb_user.py +47 -42
- pulumi_aiven/kafka.py +157 -144
- pulumi_aiven/kafka_acl.py +64 -57
- pulumi_aiven/kafka_connect.py +201 -332
- pulumi_aiven/kafka_connector.py +67 -60
- pulumi_aiven/kafka_mirror_maker.py +137 -320
- pulumi_aiven/kafka_native_acl.py +588 -0
- pulumi_aiven/kafka_schema.py +63 -58
- pulumi_aiven/kafka_schema_configuration.py +25 -24
- pulumi_aiven/kafka_schema_registry_acl.py +80 -35
- pulumi_aiven/kafka_topic.py +184 -65
- pulumi_aiven/kafka_user.py +59 -58
- pulumi_aiven/m3_aggregator.py +174 -310
- pulumi_aiven/m3_db.py +190 -326
- pulumi_aiven/m3db_user.py +51 -50
- pulumi_aiven/mirror_maker_replication_flow.py +215 -55
- pulumi_aiven/my_sql.py +188 -324
- pulumi_aiven/mysql_database.py +32 -51
- pulumi_aiven/mysql_user.py +37 -36
- pulumi_aiven/open_search.py +126 -107
- pulumi_aiven/open_search_acl_config.py +33 -36
- pulumi_aiven/open_search_acl_rule.py +55 -54
- pulumi_aiven/opensearch_security_plugin_config.py +69 -16
- pulumi_aiven/opensearch_user.py +30 -29
- pulumi_aiven/organization.py +18 -17
- pulumi_aiven/organization_application_user.py +345 -0
- pulumi_aiven/organization_application_user_token.py +711 -0
- pulumi_aiven/organization_group_project.py +349 -0
- pulumi_aiven/organization_permission.py +421 -0
- pulumi_aiven/organization_user.py +25 -46
- pulumi_aiven/organization_user_group.py +64 -23
- pulumi_aiven/organization_user_group_member.py +359 -0
- pulumi_aiven/organizational_unit.py +41 -36
- pulumi_aiven/outputs.py +38355 -21458
- pulumi_aiven/pg.py +92 -88
- pulumi_aiven/pg_database.py +52 -71
- pulumi_aiven/pg_user.py +80 -65
- pulumi_aiven/project.py +111 -102
- pulumi_aiven/project_user.py +44 -35
- pulumi_aiven/project_vpc.py +58 -29
- pulumi_aiven/provider.py +5 -0
- pulumi_aiven/pulumi-plugin.json +2 -1
- pulumi_aiven/redis.py +161 -297
- pulumi_aiven/redis_user.py +58 -57
- pulumi_aiven/service_integration.py +511 -165
- pulumi_aiven/service_integration_endpoint.py +466 -158
- pulumi_aiven/static_ip.py +21 -16
- pulumi_aiven/thanos.py +1262 -0
- pulumi_aiven/transit_gateway_vpc_attachment.py +44 -58
- pulumi_aiven/valkey.py +1256 -0
- pulumi_aiven/valkey_user.py +606 -0
- {pulumi_aiven-6.13.0a1710156545.dist-info → pulumi_aiven-6.31.0a1736831339.dist-info}/METADATA +7 -6
- pulumi_aiven-6.31.0a1736831339.dist-info/RECORD +169 -0
- {pulumi_aiven-6.13.0a1710156545.dist-info → pulumi_aiven-6.31.0a1736831339.dist-info}/WHEEL +1 -1
- pulumi_aiven-6.13.0a1710156545.dist-info/RECORD +0 -146
- {pulumi_aiven-6.13.0a1710156545.dist-info → pulumi_aiven-6.31.0a1736831339.dist-info}/top_level.txt +0 -0
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
10
15
|
from . import _utilities
|
|
11
16
|
from . import outputs
|
|
12
17
|
|
|
@@ -64,7 +69,7 @@ class GetKafkaConnectorResult:
|
|
|
64
69
|
@pulumi.getter
|
|
65
70
|
def config(self) -> Mapping[str, str]:
|
|
66
71
|
"""
|
|
67
|
-
The Kafka
|
|
72
|
+
The Kafka connector configuration parameters.
|
|
68
73
|
"""
|
|
69
74
|
return pulumi.get(self, "config")
|
|
70
75
|
|
|
@@ -72,7 +77,7 @@ class GetKafkaConnectorResult:
|
|
|
72
77
|
@pulumi.getter(name="connectorName")
|
|
73
78
|
def connector_name(self) -> str:
|
|
74
79
|
"""
|
|
75
|
-
The
|
|
80
|
+
The Kafka connector name. Changing this property forces recreation of the resource.
|
|
76
81
|
"""
|
|
77
82
|
return pulumi.get(self, "connector_name")
|
|
78
83
|
|
|
@@ -128,7 +133,7 @@ class GetKafkaConnectorResult:
|
|
|
128
133
|
@pulumi.getter(name="pluginVersion")
|
|
129
134
|
def plugin_version(self) -> str:
|
|
130
135
|
"""
|
|
131
|
-
The version of the
|
|
136
|
+
The version of the Kafka connector.
|
|
132
137
|
"""
|
|
133
138
|
return pulumi.get(self, "plugin_version")
|
|
134
139
|
|
|
@@ -136,7 +141,7 @@ class GetKafkaConnectorResult:
|
|
|
136
141
|
@pulumi.getter
|
|
137
142
|
def project(self) -> str:
|
|
138
143
|
"""
|
|
139
|
-
|
|
144
|
+
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.
|
|
140
145
|
"""
|
|
141
146
|
return pulumi.get(self, "project")
|
|
142
147
|
|
|
@@ -144,7 +149,7 @@ class GetKafkaConnectorResult:
|
|
|
144
149
|
@pulumi.getter(name="serviceName")
|
|
145
150
|
def service_name(self) -> str:
|
|
146
151
|
"""
|
|
147
|
-
|
|
152
|
+
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
153
|
"""
|
|
149
154
|
return pulumi.get(self, "service_name")
|
|
150
155
|
|
|
@@ -182,25 +187,23 @@ def get_kafka_connector(connector_name: Optional[str] = None,
|
|
|
182
187
|
service_name: Optional[str] = None,
|
|
183
188
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetKafkaConnectorResult:
|
|
184
189
|
"""
|
|
185
|
-
|
|
190
|
+
Gets information about an Aiven for Apache Kafka® connector.
|
|
186
191
|
|
|
187
192
|
## Example Usage
|
|
188
193
|
|
|
189
|
-
<!--Start PulumiCodeChooser -->
|
|
190
194
|
```python
|
|
191
195
|
import pulumi
|
|
192
196
|
import pulumi_aiven as aiven
|
|
193
197
|
|
|
194
|
-
|
|
195
|
-
service_name=
|
|
196
|
-
connector_name="kafka-
|
|
198
|
+
kafka_os_connector = aiven.get_kafka_connector(project=example_project["project"],
|
|
199
|
+
service_name=example_kafka["serviceName"],
|
|
200
|
+
connector_name="kafka-opensearch-connector")
|
|
197
201
|
```
|
|
198
|
-
<!--End PulumiCodeChooser -->
|
|
199
202
|
|
|
200
203
|
|
|
201
|
-
:param str connector_name: The
|
|
202
|
-
:param str project:
|
|
203
|
-
:param str service_name:
|
|
204
|
+
:param str connector_name: The Kafka connector name. Changing this property forces recreation of the resource.
|
|
205
|
+
: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.
|
|
206
|
+
: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.
|
|
204
207
|
"""
|
|
205
208
|
__args__ = dict()
|
|
206
209
|
__args__['connectorName'] = connector_name
|
|
@@ -222,32 +225,45 @@ def get_kafka_connector(connector_name: Optional[str] = None,
|
|
|
222
225
|
project=pulumi.get(__ret__, 'project'),
|
|
223
226
|
service_name=pulumi.get(__ret__, 'service_name'),
|
|
224
227
|
tasks=pulumi.get(__ret__, 'tasks'))
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
@_utilities.lift_output_func(get_kafka_connector)
|
|
228
228
|
def get_kafka_connector_output(connector_name: Optional[pulumi.Input[str]] = None,
|
|
229
229
|
project: Optional[pulumi.Input[str]] = None,
|
|
230
230
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
231
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetKafkaConnectorResult]:
|
|
231
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetKafkaConnectorResult]:
|
|
232
232
|
"""
|
|
233
|
-
|
|
233
|
+
Gets information about an Aiven for Apache Kafka® connector.
|
|
234
234
|
|
|
235
235
|
## Example Usage
|
|
236
236
|
|
|
237
|
-
<!--Start PulumiCodeChooser -->
|
|
238
237
|
```python
|
|
239
238
|
import pulumi
|
|
240
239
|
import pulumi_aiven as aiven
|
|
241
240
|
|
|
242
|
-
|
|
243
|
-
service_name=
|
|
244
|
-
connector_name="kafka-
|
|
241
|
+
kafka_os_connector = aiven.get_kafka_connector(project=example_project["project"],
|
|
242
|
+
service_name=example_kafka["serviceName"],
|
|
243
|
+
connector_name="kafka-opensearch-connector")
|
|
245
244
|
```
|
|
246
|
-
<!--End PulumiCodeChooser -->
|
|
247
245
|
|
|
248
246
|
|
|
249
|
-
:param str connector_name: The
|
|
250
|
-
:param str project:
|
|
251
|
-
:param str service_name:
|
|
247
|
+
:param str connector_name: The Kafka connector name. Changing this property forces recreation of the resource.
|
|
248
|
+
: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.
|
|
249
|
+
: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.
|
|
252
250
|
"""
|
|
253
|
-
|
|
251
|
+
__args__ = dict()
|
|
252
|
+
__args__['connectorName'] = connector_name
|
|
253
|
+
__args__['project'] = project
|
|
254
|
+
__args__['serviceName'] = service_name
|
|
255
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
256
|
+
__ret__ = pulumi.runtime.invoke_output('aiven:index/getKafkaConnector:getKafkaConnector', __args__, opts=opts, typ=GetKafkaConnectorResult)
|
|
257
|
+
return __ret__.apply(lambda __response__: GetKafkaConnectorResult(
|
|
258
|
+
config=pulumi.get(__response__, 'config'),
|
|
259
|
+
connector_name=pulumi.get(__response__, 'connector_name'),
|
|
260
|
+
id=pulumi.get(__response__, 'id'),
|
|
261
|
+
plugin_author=pulumi.get(__response__, 'plugin_author'),
|
|
262
|
+
plugin_class=pulumi.get(__response__, 'plugin_class'),
|
|
263
|
+
plugin_doc_url=pulumi.get(__response__, 'plugin_doc_url'),
|
|
264
|
+
plugin_title=pulumi.get(__response__, 'plugin_title'),
|
|
265
|
+
plugin_type=pulumi.get(__response__, 'plugin_type'),
|
|
266
|
+
plugin_version=pulumi.get(__response__, 'plugin_version'),
|
|
267
|
+
project=pulumi.get(__response__, 'project'),
|
|
268
|
+
service_name=pulumi.get(__response__, 'service_name'),
|
|
269
|
+
tasks=pulumi.get(__response__, 'tasks')))
|
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
10
15
|
from . import _utilities
|
|
11
16
|
from . import outputs
|
|
12
17
|
|
|
@@ -22,7 +27,7 @@ class GetKafkaMirrorMakerResult:
|
|
|
22
27
|
"""
|
|
23
28
|
A collection of values returned by getKafkaMirrorMaker.
|
|
24
29
|
"""
|
|
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,
|
|
30
|
+
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):
|
|
26
31
|
if additional_disk_space and not isinstance(additional_disk_space, str):
|
|
27
32
|
raise TypeError("Expected argument 'additional_disk_space' to be a str")
|
|
28
33
|
pulumi.set(__self__, "additional_disk_space", additional_disk_space)
|
|
@@ -53,9 +58,6 @@ class GetKafkaMirrorMakerResult:
|
|
|
53
58
|
if kafka_mirrormaker_user_configs and not isinstance(kafka_mirrormaker_user_configs, list):
|
|
54
59
|
raise TypeError("Expected argument 'kafka_mirrormaker_user_configs' to be a list")
|
|
55
60
|
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)
|
|
59
61
|
if maintenance_window_dow and not isinstance(maintenance_window_dow, str):
|
|
60
62
|
raise TypeError("Expected argument 'maintenance_window_dow' to be a str")
|
|
61
63
|
pulumi.set(__self__, "maintenance_window_dow", maintenance_window_dow)
|
|
@@ -115,7 +117,7 @@ class GetKafkaMirrorMakerResult:
|
|
|
115
117
|
@pulumi.getter(name="additionalDiskSpace")
|
|
116
118
|
def additional_disk_space(self) -> str:
|
|
117
119
|
"""
|
|
118
|
-
|
|
120
|
+
Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
|
|
119
121
|
"""
|
|
120
122
|
return pulumi.get(self, "additional_disk_space")
|
|
121
123
|
|
|
@@ -187,18 +189,10 @@ class GetKafkaMirrorMakerResult:
|
|
|
187
189
|
@pulumi.getter(name="kafkaMirrormakerUserConfigs")
|
|
188
190
|
def kafka_mirrormaker_user_configs(self) -> Sequence['outputs.GetKafkaMirrorMakerKafkaMirrormakerUserConfigResult']:
|
|
189
191
|
"""
|
|
190
|
-
KafkaMirrormaker user configurable settings
|
|
192
|
+
KafkaMirrormaker user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
191
193
|
"""
|
|
192
194
|
return pulumi.get(self, "kafka_mirrormaker_user_configs")
|
|
193
195
|
|
|
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
|
-
|
|
202
196
|
@property
|
|
203
197
|
@pulumi.getter(name="maintenanceWindowDow")
|
|
204
198
|
def maintenance_window_dow(self) -> str:
|
|
@@ -219,7 +213,7 @@ class GetKafkaMirrorMakerResult:
|
|
|
219
213
|
@pulumi.getter
|
|
220
214
|
def plan(self) -> str:
|
|
221
215
|
"""
|
|
222
|
-
Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be
|
|
216
|
+
Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
223
217
|
"""
|
|
224
218
|
return pulumi.get(self, "plan")
|
|
225
219
|
|
|
@@ -227,7 +221,7 @@ class GetKafkaMirrorMakerResult:
|
|
|
227
221
|
@pulumi.getter
|
|
228
222
|
def project(self) -> str:
|
|
229
223
|
"""
|
|
230
|
-
|
|
224
|
+
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
225
|
"""
|
|
232
226
|
return pulumi.get(self, "project")
|
|
233
227
|
|
|
@@ -331,7 +325,7 @@ class GetKafkaMirrorMakerResult:
|
|
|
331
325
|
@pulumi.getter(name="techEmails")
|
|
332
326
|
def tech_emails(self) -> Sequence['outputs.GetKafkaMirrorMakerTechEmailResult']:
|
|
333
327
|
"""
|
|
334
|
-
|
|
328
|
+
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
329
|
"""
|
|
336
330
|
return pulumi.get(self, "tech_emails")
|
|
337
331
|
|
|
@@ -360,7 +354,6 @@ class AwaitableGetKafkaMirrorMakerResult(GetKafkaMirrorMakerResult):
|
|
|
360
354
|
disk_space_used=self.disk_space_used,
|
|
361
355
|
id=self.id,
|
|
362
356
|
kafka_mirrormaker_user_configs=self.kafka_mirrormaker_user_configs,
|
|
363
|
-
kafka_mirrormakers=self.kafka_mirrormakers,
|
|
364
357
|
maintenance_window_dow=self.maintenance_window_dow,
|
|
365
358
|
maintenance_window_time=self.maintenance_window_time,
|
|
366
359
|
plan=self.plan,
|
|
@@ -389,18 +382,16 @@ def get_kafka_mirror_maker(project: Optional[str] = None,
|
|
|
389
382
|
|
|
390
383
|
## Example Usage
|
|
391
384
|
|
|
392
|
-
<!--Start PulumiCodeChooser -->
|
|
393
385
|
```python
|
|
394
386
|
import pulumi
|
|
395
387
|
import pulumi_aiven as aiven
|
|
396
388
|
|
|
397
|
-
mm1 = aiven.get_kafka_mirror_maker(project=
|
|
389
|
+
mm1 = aiven.get_kafka_mirror_maker(project=pr1["project"],
|
|
398
390
|
service_name="my-mm1")
|
|
399
391
|
```
|
|
400
|
-
<!--End PulumiCodeChooser -->
|
|
401
392
|
|
|
402
393
|
|
|
403
|
-
:param str project:
|
|
394
|
+
: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
395
|
: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
396
|
"""
|
|
406
397
|
__args__ = dict()
|
|
@@ -420,7 +411,6 @@ def get_kafka_mirror_maker(project: Optional[str] = None,
|
|
|
420
411
|
disk_space_used=pulumi.get(__ret__, 'disk_space_used'),
|
|
421
412
|
id=pulumi.get(__ret__, 'id'),
|
|
422
413
|
kafka_mirrormaker_user_configs=pulumi.get(__ret__, 'kafka_mirrormaker_user_configs'),
|
|
423
|
-
kafka_mirrormakers=pulumi.get(__ret__, 'kafka_mirrormakers'),
|
|
424
414
|
maintenance_window_dow=pulumi.get(__ret__, 'maintenance_window_dow'),
|
|
425
415
|
maintenance_window_time=pulumi.get(__ret__, 'maintenance_window_time'),
|
|
426
416
|
plan=pulumi.get(__ret__, 'plan'),
|
|
@@ -439,29 +429,57 @@ def get_kafka_mirror_maker(project: Optional[str] = None,
|
|
|
439
429
|
tags=pulumi.get(__ret__, 'tags'),
|
|
440
430
|
tech_emails=pulumi.get(__ret__, 'tech_emails'),
|
|
441
431
|
termination_protection=pulumi.get(__ret__, 'termination_protection'))
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
@_utilities.lift_output_func(get_kafka_mirror_maker)
|
|
445
432
|
def get_kafka_mirror_maker_output(project: Optional[pulumi.Input[str]] = None,
|
|
446
433
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
447
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetKafkaMirrorMakerResult]:
|
|
434
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetKafkaMirrorMakerResult]:
|
|
448
435
|
"""
|
|
449
436
|
The Kafka MirrorMaker data source provides information about the existing Aiven Kafka MirrorMaker 2 service.
|
|
450
437
|
|
|
451
438
|
## Example Usage
|
|
452
439
|
|
|
453
|
-
<!--Start PulumiCodeChooser -->
|
|
454
440
|
```python
|
|
455
441
|
import pulumi
|
|
456
442
|
import pulumi_aiven as aiven
|
|
457
443
|
|
|
458
|
-
mm1 = aiven.get_kafka_mirror_maker(project=
|
|
444
|
+
mm1 = aiven.get_kafka_mirror_maker(project=pr1["project"],
|
|
459
445
|
service_name="my-mm1")
|
|
460
446
|
```
|
|
461
|
-
<!--End PulumiCodeChooser -->
|
|
462
447
|
|
|
463
448
|
|
|
464
|
-
:param str project:
|
|
449
|
+
: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
450
|
: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
451
|
"""
|
|
467
|
-
|
|
452
|
+
__args__ = dict()
|
|
453
|
+
__args__['project'] = project
|
|
454
|
+
__args__['serviceName'] = service_name
|
|
455
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
456
|
+
__ret__ = pulumi.runtime.invoke_output('aiven:index/getKafkaMirrorMaker:getKafkaMirrorMaker', __args__, opts=opts, typ=GetKafkaMirrorMakerResult)
|
|
457
|
+
return __ret__.apply(lambda __response__: GetKafkaMirrorMakerResult(
|
|
458
|
+
additional_disk_space=pulumi.get(__response__, 'additional_disk_space'),
|
|
459
|
+
cloud_name=pulumi.get(__response__, 'cloud_name'),
|
|
460
|
+
components=pulumi.get(__response__, 'components'),
|
|
461
|
+
disk_space=pulumi.get(__response__, 'disk_space'),
|
|
462
|
+
disk_space_cap=pulumi.get(__response__, 'disk_space_cap'),
|
|
463
|
+
disk_space_default=pulumi.get(__response__, 'disk_space_default'),
|
|
464
|
+
disk_space_step=pulumi.get(__response__, 'disk_space_step'),
|
|
465
|
+
disk_space_used=pulumi.get(__response__, 'disk_space_used'),
|
|
466
|
+
id=pulumi.get(__response__, 'id'),
|
|
467
|
+
kafka_mirrormaker_user_configs=pulumi.get(__response__, 'kafka_mirrormaker_user_configs'),
|
|
468
|
+
maintenance_window_dow=pulumi.get(__response__, 'maintenance_window_dow'),
|
|
469
|
+
maintenance_window_time=pulumi.get(__response__, 'maintenance_window_time'),
|
|
470
|
+
plan=pulumi.get(__response__, 'plan'),
|
|
471
|
+
project=pulumi.get(__response__, 'project'),
|
|
472
|
+
project_vpc_id=pulumi.get(__response__, 'project_vpc_id'),
|
|
473
|
+
service_host=pulumi.get(__response__, 'service_host'),
|
|
474
|
+
service_integrations=pulumi.get(__response__, 'service_integrations'),
|
|
475
|
+
service_name=pulumi.get(__response__, 'service_name'),
|
|
476
|
+
service_password=pulumi.get(__response__, 'service_password'),
|
|
477
|
+
service_port=pulumi.get(__response__, 'service_port'),
|
|
478
|
+
service_type=pulumi.get(__response__, 'service_type'),
|
|
479
|
+
service_uri=pulumi.get(__response__, 'service_uri'),
|
|
480
|
+
service_username=pulumi.get(__response__, 'service_username'),
|
|
481
|
+
state=pulumi.get(__response__, 'state'),
|
|
482
|
+
static_ips=pulumi.get(__response__, 'static_ips'),
|
|
483
|
+
tags=pulumi.get(__response__, 'tags'),
|
|
484
|
+
tech_emails=pulumi.get(__response__, 'tech_emails'),
|
|
485
|
+
termination_protection=pulumi.get(__response__, 'termination_protection')))
|
pulumi_aiven/get_kafka_schema.py
CHANGED
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
10
15
|
from . import _utilities
|
|
11
16
|
|
|
12
17
|
__all__ = [
|
|
@@ -67,7 +72,7 @@ class GetKafkaSchemaResult:
|
|
|
67
72
|
@pulumi.getter
|
|
68
73
|
def project(self) -> str:
|
|
69
74
|
"""
|
|
70
|
-
|
|
75
|
+
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.
|
|
71
76
|
"""
|
|
72
77
|
return pulumi.get(self, "project")
|
|
73
78
|
|
|
@@ -83,7 +88,7 @@ class GetKafkaSchemaResult:
|
|
|
83
88
|
@pulumi.getter(name="schemaType")
|
|
84
89
|
def schema_type(self) -> str:
|
|
85
90
|
"""
|
|
86
|
-
Kafka Schema configuration type. Defaults to AVRO.
|
|
91
|
+
Kafka Schema configuration type. Defaults to AVRO. The possible values are `AVRO`, `JSON` and `PROTOBUF`.
|
|
87
92
|
"""
|
|
88
93
|
return pulumi.get(self, "schema_type")
|
|
89
94
|
|
|
@@ -91,7 +96,7 @@ class GetKafkaSchemaResult:
|
|
|
91
96
|
@pulumi.getter(name="serviceName")
|
|
92
97
|
def service_name(self) -> str:
|
|
93
98
|
"""
|
|
94
|
-
|
|
99
|
+
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
100
|
"""
|
|
96
101
|
return pulumi.get(self, "service_name")
|
|
97
102
|
|
|
@@ -99,7 +104,7 @@ class GetKafkaSchemaResult:
|
|
|
99
104
|
@pulumi.getter(name="subjectName")
|
|
100
105
|
def subject_name(self) -> str:
|
|
101
106
|
"""
|
|
102
|
-
The Kafka Schema Subject name.
|
|
107
|
+
The Kafka Schema Subject name. Changing this property forces recreation of the resource.
|
|
103
108
|
"""
|
|
104
109
|
return pulumi.get(self, "subject_name")
|
|
105
110
|
|
|
@@ -137,20 +142,18 @@ def get_kafka_schema(project: Optional[str] = None,
|
|
|
137
142
|
|
|
138
143
|
## Example Usage
|
|
139
144
|
|
|
140
|
-
<!--Start PulumiCodeChooser -->
|
|
141
145
|
```python
|
|
142
146
|
import pulumi
|
|
143
147
|
import pulumi_aiven as aiven
|
|
144
148
|
|
|
145
|
-
config = aiven.get_kafka_schema_configuration(project=
|
|
146
|
-
service_name=
|
|
149
|
+
config = aiven.get_kafka_schema_configuration(project=kafka_schemas_project1["project"],
|
|
150
|
+
service_name=kafka_service1["serviceName"])
|
|
147
151
|
```
|
|
148
|
-
<!--End PulumiCodeChooser -->
|
|
149
152
|
|
|
150
153
|
|
|
151
|
-
:param str project:
|
|
152
|
-
:param str service_name:
|
|
153
|
-
:param str subject_name: The Kafka Schema Subject name.
|
|
154
|
+
: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.
|
|
155
|
+
: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.
|
|
156
|
+
:param str subject_name: The Kafka Schema Subject name. Changing this property forces recreation of the resource.
|
|
154
157
|
"""
|
|
155
158
|
__args__ = dict()
|
|
156
159
|
__args__['project'] = project
|
|
@@ -168,31 +171,40 @@ def get_kafka_schema(project: Optional[str] = None,
|
|
|
168
171
|
service_name=pulumi.get(__ret__, 'service_name'),
|
|
169
172
|
subject_name=pulumi.get(__ret__, 'subject_name'),
|
|
170
173
|
version=pulumi.get(__ret__, 'version'))
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
@_utilities.lift_output_func(get_kafka_schema)
|
|
174
174
|
def get_kafka_schema_output(project: Optional[pulumi.Input[str]] = None,
|
|
175
175
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
176
176
|
subject_name: Optional[pulumi.Input[str]] = None,
|
|
177
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetKafkaSchemaResult]:
|
|
177
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetKafkaSchemaResult]:
|
|
178
178
|
"""
|
|
179
179
|
The Kafka Schema data source provides information about the existing Aiven Kafka Schema.
|
|
180
180
|
|
|
181
181
|
## Example Usage
|
|
182
182
|
|
|
183
|
-
<!--Start PulumiCodeChooser -->
|
|
184
183
|
```python
|
|
185
184
|
import pulumi
|
|
186
185
|
import pulumi_aiven as aiven
|
|
187
186
|
|
|
188
|
-
config = aiven.get_kafka_schema_configuration(project=
|
|
189
|
-
service_name=
|
|
187
|
+
config = aiven.get_kafka_schema_configuration(project=kafka_schemas_project1["project"],
|
|
188
|
+
service_name=kafka_service1["serviceName"])
|
|
190
189
|
```
|
|
191
|
-
<!--End PulumiCodeChooser -->
|
|
192
190
|
|
|
193
191
|
|
|
194
|
-
:param str project:
|
|
195
|
-
:param str service_name:
|
|
196
|
-
:param str subject_name: The Kafka Schema Subject 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.
|
|
194
|
+
:param str subject_name: The Kafka Schema Subject name. Changing this property forces recreation of the resource.
|
|
197
195
|
"""
|
|
198
|
-
|
|
196
|
+
__args__ = dict()
|
|
197
|
+
__args__['project'] = project
|
|
198
|
+
__args__['serviceName'] = service_name
|
|
199
|
+
__args__['subjectName'] = subject_name
|
|
200
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
201
|
+
__ret__ = pulumi.runtime.invoke_output('aiven:index/getKafkaSchema:getKafkaSchema', __args__, opts=opts, typ=GetKafkaSchemaResult)
|
|
202
|
+
return __ret__.apply(lambda __response__: GetKafkaSchemaResult(
|
|
203
|
+
compatibility_level=pulumi.get(__response__, 'compatibility_level'),
|
|
204
|
+
id=pulumi.get(__response__, 'id'),
|
|
205
|
+
project=pulumi.get(__response__, 'project'),
|
|
206
|
+
schema=pulumi.get(__response__, 'schema'),
|
|
207
|
+
schema_type=pulumi.get(__response__, 'schema_type'),
|
|
208
|
+
service_name=pulumi.get(__response__, 'service_name'),
|
|
209
|
+
subject_name=pulumi.get(__response__, 'subject_name'),
|
|
210
|
+
version=pulumi.get(__response__, 'version')))
|
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
10
15
|
from . import _utilities
|
|
11
16
|
|
|
12
17
|
__all__ = [
|
|
@@ -67,7 +72,7 @@ class GetKafkaSchemaConfigurationResult:
|
|
|
67
72
|
@pulumi.getter
|
|
68
73
|
def project(self) -> str:
|
|
69
74
|
"""
|
|
70
|
-
|
|
75
|
+
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.
|
|
71
76
|
"""
|
|
72
77
|
return pulumi.get(self, "project")
|
|
73
78
|
|
|
@@ -83,7 +88,7 @@ class GetKafkaSchemaConfigurationResult:
|
|
|
83
88
|
@pulumi.getter(name="schemaType")
|
|
84
89
|
def schema_type(self) -> str:
|
|
85
90
|
"""
|
|
86
|
-
Kafka Schema configuration type. Defaults to AVRO.
|
|
91
|
+
Kafka Schema configuration type. Defaults to AVRO. The possible values are `AVRO`, `JSON` and `PROTOBUF`.
|
|
87
92
|
"""
|
|
88
93
|
return pulumi.get(self, "schema_type")
|
|
89
94
|
|
|
@@ -91,7 +96,7 @@ class GetKafkaSchemaConfigurationResult:
|
|
|
91
96
|
@pulumi.getter(name="serviceName")
|
|
92
97
|
def service_name(self) -> str:
|
|
93
98
|
"""
|
|
94
|
-
|
|
99
|
+
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
100
|
"""
|
|
96
101
|
return pulumi.get(self, "service_name")
|
|
97
102
|
|
|
@@ -99,7 +104,7 @@ class GetKafkaSchemaConfigurationResult:
|
|
|
99
104
|
@pulumi.getter(name="subjectName")
|
|
100
105
|
def subject_name(self) -> str:
|
|
101
106
|
"""
|
|
102
|
-
The Kafka Schema Subject name.
|
|
107
|
+
The Kafka Schema Subject name. Changing this property forces recreation of the resource.
|
|
103
108
|
"""
|
|
104
109
|
return pulumi.get(self, "subject_name")
|
|
105
110
|
|
|
@@ -136,21 +141,19 @@ def get_kafka_schema_configuration(project: Optional[str] = None,
|
|
|
136
141
|
|
|
137
142
|
## Example Usage
|
|
138
143
|
|
|
139
|
-
<!--Start PulumiCodeChooser -->
|
|
140
144
|
```python
|
|
141
145
|
import pulumi
|
|
142
146
|
import pulumi_aiven as aiven
|
|
143
147
|
|
|
144
148
|
config = aiven.KafkaSchemaConfiguration("config",
|
|
145
|
-
project=
|
|
146
|
-
service_name=
|
|
149
|
+
project=kafka_schemas_project1["project"],
|
|
150
|
+
service_name=kafka_service1["serviceName"],
|
|
147
151
|
compatibility_level="BACKWARD")
|
|
148
152
|
```
|
|
149
|
-
<!--End PulumiCodeChooser -->
|
|
150
153
|
|
|
151
154
|
|
|
152
|
-
:param str project:
|
|
153
|
-
:param str service_name:
|
|
155
|
+
: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.
|
|
156
|
+
: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
157
|
"""
|
|
155
158
|
__args__ = dict()
|
|
156
159
|
__args__['project'] = project
|
|
@@ -167,31 +170,39 @@ def get_kafka_schema_configuration(project: Optional[str] = None,
|
|
|
167
170
|
service_name=pulumi.get(__ret__, 'service_name'),
|
|
168
171
|
subject_name=pulumi.get(__ret__, 'subject_name'),
|
|
169
172
|
version=pulumi.get(__ret__, 'version'))
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
@_utilities.lift_output_func(get_kafka_schema_configuration)
|
|
173
173
|
def get_kafka_schema_configuration_output(project: Optional[pulumi.Input[str]] = None,
|
|
174
174
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
175
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetKafkaSchemaConfigurationResult]:
|
|
175
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetKafkaSchemaConfigurationResult]:
|
|
176
176
|
"""
|
|
177
177
|
The Kafka Schema Configuration data source provides information about the existing Aiven Kafka Schema Configuration.
|
|
178
178
|
|
|
179
179
|
## Example Usage
|
|
180
180
|
|
|
181
|
-
<!--Start PulumiCodeChooser -->
|
|
182
181
|
```python
|
|
183
182
|
import pulumi
|
|
184
183
|
import pulumi_aiven as aiven
|
|
185
184
|
|
|
186
185
|
config = aiven.KafkaSchemaConfiguration("config",
|
|
187
|
-
project=
|
|
188
|
-
service_name=
|
|
186
|
+
project=kafka_schemas_project1["project"],
|
|
187
|
+
service_name=kafka_service1["serviceName"],
|
|
189
188
|
compatibility_level="BACKWARD")
|
|
190
189
|
```
|
|
191
|
-
<!--End PulumiCodeChooser -->
|
|
192
190
|
|
|
193
191
|
|
|
194
|
-
:param str project:
|
|
195
|
-
: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.
|
|
196
194
|
"""
|
|
197
|
-
|
|
195
|
+
__args__ = dict()
|
|
196
|
+
__args__['project'] = project
|
|
197
|
+
__args__['serviceName'] = service_name
|
|
198
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
199
|
+
__ret__ = pulumi.runtime.invoke_output('aiven:index/getKafkaSchemaConfiguration:getKafkaSchemaConfiguration', __args__, opts=opts, typ=GetKafkaSchemaConfigurationResult)
|
|
200
|
+
return __ret__.apply(lambda __response__: GetKafkaSchemaConfigurationResult(
|
|
201
|
+
compatibility_level=pulumi.get(__response__, 'compatibility_level'),
|
|
202
|
+
id=pulumi.get(__response__, 'id'),
|
|
203
|
+
project=pulumi.get(__response__, 'project'),
|
|
204
|
+
schema=pulumi.get(__response__, 'schema'),
|
|
205
|
+
schema_type=pulumi.get(__response__, 'schema_type'),
|
|
206
|
+
service_name=pulumi.get(__response__, 'service_name'),
|
|
207
|
+
subject_name=pulumi.get(__response__, 'subject_name'),
|
|
208
|
+
version=pulumi.get(__response__, 'version')))
|