pulumi-confluentcloud 2.10.0a1731389320__py3-none-any.whl → 2.54.0a1766503424__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.
- pulumi_confluentcloud/__init__.py +102 -1
- pulumi_confluentcloud/_inputs.py +4870 -2499
- pulumi_confluentcloud/_utilities.py +9 -5
- pulumi_confluentcloud/access_point.py +188 -33
- pulumi_confluentcloud/api_key.py +178 -144
- pulumi_confluentcloud/business_metadata.py +76 -73
- pulumi_confluentcloud/business_metadata_binding.py +101 -98
- pulumi_confluentcloud/byok_key.py +12 -11
- pulumi_confluentcloud/catalog_entity_attributes.py +133 -92
- pulumi_confluentcloud/catalog_integration.py +544 -0
- pulumi_confluentcloud/certificate_authority.py +158 -157
- pulumi_confluentcloud/certificate_pool.py +76 -75
- pulumi_confluentcloud/cluster_link.py +168 -91
- pulumi_confluentcloud/config/__init__.py +2 -1
- pulumi_confluentcloud/config/__init__.pyi +23 -2
- pulumi_confluentcloud/config/outputs.py +110 -0
- pulumi_confluentcloud/config/vars.py +50 -21
- pulumi_confluentcloud/connect_artifact.py +478 -0
- pulumi_confluentcloud/connector.py +399 -87
- pulumi_confluentcloud/custom_connector_plugin.py +142 -141
- pulumi_confluentcloud/custom_connector_plugin_version.py +614 -0
- pulumi_confluentcloud/dns_forwarder.py +136 -45
- pulumi_confluentcloud/dns_record.py +46 -45
- pulumi_confluentcloud/environment.py +74 -73
- pulumi_confluentcloud/flink_artifact.py +254 -198
- pulumi_confluentcloud/flink_compute_pool.py +101 -100
- pulumi_confluentcloud/flink_connection.py +935 -0
- pulumi_confluentcloud/flink_statement.py +218 -124
- pulumi_confluentcloud/gateway.py +88 -28
- pulumi_confluentcloud/get_access_point.py +51 -17
- pulumi_confluentcloud/get_business_metadata.py +27 -25
- pulumi_confluentcloud/get_business_metadata_binding.py +36 -34
- pulumi_confluentcloud/get_byok_key.py +13 -13
- pulumi_confluentcloud/get_catalog_integration.py +248 -0
- pulumi_confluentcloud/get_certificate_authority.py +42 -42
- pulumi_confluentcloud/get_certificate_pool.py +21 -21
- pulumi_confluentcloud/get_cluster_link.py +274 -0
- pulumi_confluentcloud/get_connect_artifact.py +191 -0
- pulumi_confluentcloud/get_dns_record.py +17 -17
- pulumi_confluentcloud/get_environment.py +19 -19
- pulumi_confluentcloud/get_environments.py +8 -8
- pulumi_confluentcloud/get_flink_artifact.py +61 -43
- pulumi_confluentcloud/get_flink_compute_pool.py +29 -29
- pulumi_confluentcloud/get_flink_connection.py +267 -0
- pulumi_confluentcloud/get_flink_region.py +26 -26
- pulumi_confluentcloud/get_gateway.py +60 -18
- pulumi_confluentcloud/get_group_mapping.py +20 -20
- pulumi_confluentcloud/get_identity_pool.py +23 -23
- pulumi_confluentcloud/get_identity_provider.py +37 -23
- pulumi_confluentcloud/get_invitation.py +22 -22
- pulumi_confluentcloud/get_ip_addresses.py +8 -8
- pulumi_confluentcloud/get_ip_filter.py +175 -0
- pulumi_confluentcloud/get_ip_group.py +133 -0
- pulumi_confluentcloud/get_kafka_client_quota.py +19 -19
- pulumi_confluentcloud/get_kafka_cluster.py +57 -43
- pulumi_confluentcloud/get_kafka_clusters.py +136 -0
- pulumi_confluentcloud/get_kafka_topic.py +24 -24
- pulumi_confluentcloud/get_ksql_cluster.py +35 -35
- pulumi_confluentcloud/get_network.py +56 -42
- pulumi_confluentcloud/get_network_link_endpoint.py +19 -19
- pulumi_confluentcloud/get_network_link_service.py +25 -19
- pulumi_confluentcloud/get_organization.py +8 -8
- pulumi_confluentcloud/get_peering.py +21 -21
- pulumi_confluentcloud/get_private_link_access.py +21 -21
- pulumi_confluentcloud/get_private_link_attachment.py +31 -29
- pulumi_confluentcloud/get_private_link_attachment_connection.py +26 -23
- pulumi_confluentcloud/get_provider_integration.py +30 -20
- pulumi_confluentcloud/get_provider_integration_authorization.py +142 -0
- pulumi_confluentcloud/get_provider_integration_setup.py +270 -0
- pulumi_confluentcloud/get_role_binding.py +16 -16
- pulumi_confluentcloud/get_schema.py +42 -42
- pulumi_confluentcloud/get_schema_registry_cluster.py +53 -38
- pulumi_confluentcloud/get_schema_registry_cluster_config.py +31 -17
- pulumi_confluentcloud/get_schema_registry_cluster_mode.py +16 -16
- pulumi_confluentcloud/get_schema_registry_clusters.py +8 -8
- pulumi_confluentcloud/get_schema_registry_dek.py +44 -44
- pulumi_confluentcloud/get_schema_registry_kek.py +32 -32
- pulumi_confluentcloud/get_schemas.py +16 -16
- pulumi_confluentcloud/get_service_account.py +22 -22
- pulumi_confluentcloud/get_subject_config.py +37 -23
- pulumi_confluentcloud/get_subject_mode.py +22 -22
- pulumi_confluentcloud/get_tableflow_topic.py +374 -0
- pulumi_confluentcloud/get_tag.py +28 -26
- pulumi_confluentcloud/get_tag_binding.py +34 -32
- pulumi_confluentcloud/get_transit_gateway_attachment.py +19 -19
- pulumi_confluentcloud/get_user.py +26 -26
- pulumi_confluentcloud/get_users.py +8 -8
- pulumi_confluentcloud/group_mapping.py +54 -53
- pulumi_confluentcloud/identity_pool.py +74 -73
- pulumi_confluentcloud/identity_provider.py +138 -76
- pulumi_confluentcloud/invitation.py +81 -80
- pulumi_confluentcloud/ip_filter.py +420 -0
- pulumi_confluentcloud/ip_group.py +264 -0
- pulumi_confluentcloud/kafka_acl.py +173 -172
- pulumi_confluentcloud/kafka_client_quota.py +63 -62
- pulumi_confluentcloud/kafka_cluster.py +227 -207
- pulumi_confluentcloud/kafka_cluster_config.py +43 -42
- pulumi_confluentcloud/kafka_mirror_topic.py +46 -45
- pulumi_confluentcloud/kafka_topic.py +132 -131
- pulumi_confluentcloud/ksql_cluster.py +117 -120
- pulumi_confluentcloud/network.py +235 -198
- pulumi_confluentcloud/network_link_endpoint.py +62 -68
- pulumi_confluentcloud/network_link_service.py +62 -68
- pulumi_confluentcloud/outputs.py +4735 -2224
- pulumi_confluentcloud/peering.py +128 -48
- pulumi_confluentcloud/plugin.py +428 -0
- pulumi_confluentcloud/private_link_access.py +54 -60
- pulumi_confluentcloud/private_link_attachment.py +93 -88
- pulumi_confluentcloud/private_link_attachment_connection.py +70 -47
- pulumi_confluentcloud/provider.py +318 -192
- pulumi_confluentcloud/provider_integration.py +45 -34
- pulumi_confluentcloud/provider_integration_authorization.py +320 -0
- pulumi_confluentcloud/provider_integration_setup.py +448 -0
- pulumi_confluentcloud/pulumi-plugin.json +1 -1
- pulumi_confluentcloud/role_binding.py +153 -56
- pulumi_confluentcloud/schema.py +416 -212
- pulumi_confluentcloud/schema_exporter.py +217 -164
- pulumi_confluentcloud/schema_registry_cluster_config.py +96 -44
- pulumi_confluentcloud/schema_registry_cluster_mode.py +90 -42
- pulumi_confluentcloud/schema_registry_dek.py +140 -146
- pulumi_confluentcloud/schema_registry_kek.py +148 -154
- pulumi_confluentcloud/service_account.py +97 -96
- pulumi_confluentcloud/subject_config.py +142 -62
- pulumi_confluentcloud/subject_mode.py +107 -59
- pulumi_confluentcloud/tableflow_topic.py +883 -0
- pulumi_confluentcloud/tag.py +82 -79
- pulumi_confluentcloud/tag_binding.py +121 -84
- pulumi_confluentcloud/tf_importer.py +39 -36
- pulumi_confluentcloud/transit_gateway_attachment.py +38 -44
- {pulumi_confluentcloud-2.10.0a1731389320.dist-info → pulumi_confluentcloud-2.54.0a1766503424.dist-info}/METADATA +7 -7
- pulumi_confluentcloud-2.54.0a1766503424.dist-info/RECORD +134 -0
- {pulumi_confluentcloud-2.10.0a1731389320.dist-info → pulumi_confluentcloud-2.54.0a1766503424.dist-info}/WHEEL +1 -1
- pulumi_confluentcloud-2.10.0a1731389320.dist-info/RECORD +0 -113
- {pulumi_confluentcloud-2.10.0a1731389320.dist-info → pulumi_confluentcloud-2.54.0a1766503424.dist-info}/top_level.txt +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# coding=utf-8
|
|
2
|
-
# *** WARNING: this file was generated by
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import
|
|
5
|
+
import builtins as _builtins
|
|
6
6
|
import warnings
|
|
7
7
|
import sys
|
|
8
8
|
import pulumi
|
|
@@ -28,7 +28,10 @@ class GetSubjectConfigResult:
|
|
|
28
28
|
"""
|
|
29
29
|
A collection of values returned by getSubjectConfig.
|
|
30
30
|
"""
|
|
31
|
-
def __init__(__self__, compatibility_level=None, credentials=None, id=None, rest_endpoint=None, schema_registry_cluster=None, subject_name=None):
|
|
31
|
+
def __init__(__self__, compatibility_group=None, compatibility_level=None, credentials=None, id=None, rest_endpoint=None, schema_registry_cluster=None, subject_name=None):
|
|
32
|
+
if compatibility_group and not isinstance(compatibility_group, str):
|
|
33
|
+
raise TypeError("Expected argument 'compatibility_group' to be a str")
|
|
34
|
+
pulumi.set(__self__, "compatibility_group", compatibility_group)
|
|
32
35
|
if compatibility_level and not isinstance(compatibility_level, str):
|
|
33
36
|
raise TypeError("Expected argument 'compatibility_level' to be a str")
|
|
34
37
|
pulumi.set(__self__, "compatibility_level", compatibility_level)
|
|
@@ -48,40 +51,48 @@ class GetSubjectConfigResult:
|
|
|
48
51
|
raise TypeError("Expected argument 'subject_name' to be a str")
|
|
49
52
|
pulumi.set(__self__, "subject_name", subject_name)
|
|
50
53
|
|
|
51
|
-
@property
|
|
54
|
+
@_builtins.property
|
|
55
|
+
@pulumi.getter(name="compatibilityGroup")
|
|
56
|
+
def compatibility_group(self) -> _builtins.str:
|
|
57
|
+
"""
|
|
58
|
+
(Required String) The Compatibility Group of the specified subject.
|
|
59
|
+
"""
|
|
60
|
+
return pulumi.get(self, "compatibility_group")
|
|
61
|
+
|
|
62
|
+
@_builtins.property
|
|
52
63
|
@pulumi.getter(name="compatibilityLevel")
|
|
53
|
-
def compatibility_level(self) -> str:
|
|
64
|
+
def compatibility_level(self) -> _builtins.str:
|
|
54
65
|
"""
|
|
55
66
|
(Required String) The Compatibility Level of the specified subject. Accepted values are: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, and `NONE`. See the [Compatibility Types](https://docs.confluent.io/platform/current/schema-registry/avro.html#compatibility-types) for more details.
|
|
56
67
|
"""
|
|
57
68
|
return pulumi.get(self, "compatibility_level")
|
|
58
69
|
|
|
59
|
-
@property
|
|
70
|
+
@_builtins.property
|
|
60
71
|
@pulumi.getter
|
|
61
72
|
def credentials(self) -> Optional['outputs.GetSubjectConfigCredentialsResult']:
|
|
62
73
|
return pulumi.get(self, "credentials")
|
|
63
74
|
|
|
64
|
-
@property
|
|
75
|
+
@_builtins.property
|
|
65
76
|
@pulumi.getter
|
|
66
|
-
def id(self) -> str:
|
|
77
|
+
def id(self) -> _builtins.str:
|
|
67
78
|
"""
|
|
68
79
|
The provider-assigned unique ID for this managed resource.
|
|
69
80
|
"""
|
|
70
81
|
return pulumi.get(self, "id")
|
|
71
82
|
|
|
72
|
-
@property
|
|
83
|
+
@_builtins.property
|
|
73
84
|
@pulumi.getter(name="restEndpoint")
|
|
74
|
-
def rest_endpoint(self) -> Optional[str]:
|
|
85
|
+
def rest_endpoint(self) -> Optional[_builtins.str]:
|
|
75
86
|
return pulumi.get(self, "rest_endpoint")
|
|
76
87
|
|
|
77
|
-
@property
|
|
88
|
+
@_builtins.property
|
|
78
89
|
@pulumi.getter(name="schemaRegistryCluster")
|
|
79
90
|
def schema_registry_cluster(self) -> Optional['outputs.GetSubjectConfigSchemaRegistryClusterResult']:
|
|
80
91
|
return pulumi.get(self, "schema_registry_cluster")
|
|
81
92
|
|
|
82
|
-
@property
|
|
93
|
+
@_builtins.property
|
|
83
94
|
@pulumi.getter(name="subjectName")
|
|
84
|
-
def subject_name(self) -> str:
|
|
95
|
+
def subject_name(self) -> _builtins.str:
|
|
85
96
|
return pulumi.get(self, "subject_name")
|
|
86
97
|
|
|
87
98
|
|
|
@@ -91,6 +102,7 @@ class AwaitableGetSubjectConfigResult(GetSubjectConfigResult):
|
|
|
91
102
|
if False:
|
|
92
103
|
yield self
|
|
93
104
|
return GetSubjectConfigResult(
|
|
105
|
+
compatibility_group=self.compatibility_group,
|
|
94
106
|
compatibility_level=self.compatibility_level,
|
|
95
107
|
credentials=self.credentials,
|
|
96
108
|
id=self.id,
|
|
@@ -100,9 +112,9 @@ class AwaitableGetSubjectConfigResult(GetSubjectConfigResult):
|
|
|
100
112
|
|
|
101
113
|
|
|
102
114
|
def get_subject_config(credentials: Optional[Union['GetSubjectConfigCredentialsArgs', 'GetSubjectConfigCredentialsArgsDict']] = None,
|
|
103
|
-
rest_endpoint: Optional[str] = None,
|
|
115
|
+
rest_endpoint: Optional[_builtins.str] = None,
|
|
104
116
|
schema_registry_cluster: Optional[Union['GetSubjectConfigSchemaRegistryClusterArgs', 'GetSubjectConfigSchemaRegistryClusterArgsDict']] = None,
|
|
105
|
-
subject_name: Optional[str] = None,
|
|
117
|
+
subject_name: Optional[_builtins.str] = None,
|
|
106
118
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSubjectConfigResult:
|
|
107
119
|
"""
|
|
108
120
|
[](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
|
|
@@ -112,8 +124,8 @@ def get_subject_config(credentials: Optional[Union['GetSubjectConfigCredentialsA
|
|
|
112
124
|
## Example Usage
|
|
113
125
|
|
|
114
126
|
|
|
115
|
-
:param str rest_endpoint: The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`).
|
|
116
|
-
:param str subject_name: The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`.
|
|
127
|
+
:param _builtins.str rest_endpoint: The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`).
|
|
128
|
+
:param _builtins.str subject_name: The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`.
|
|
117
129
|
"""
|
|
118
130
|
__args__ = dict()
|
|
119
131
|
__args__['credentials'] = credentials
|
|
@@ -124,6 +136,7 @@ def get_subject_config(credentials: Optional[Union['GetSubjectConfigCredentialsA
|
|
|
124
136
|
__ret__ = pulumi.runtime.invoke('confluentcloud:index/getSubjectConfig:getSubjectConfig', __args__, opts=opts, typ=GetSubjectConfigResult).value
|
|
125
137
|
|
|
126
138
|
return AwaitableGetSubjectConfigResult(
|
|
139
|
+
compatibility_group=pulumi.get(__ret__, 'compatibility_group'),
|
|
127
140
|
compatibility_level=pulumi.get(__ret__, 'compatibility_level'),
|
|
128
141
|
credentials=pulumi.get(__ret__, 'credentials'),
|
|
129
142
|
id=pulumi.get(__ret__, 'id'),
|
|
@@ -131,10 +144,10 @@ def get_subject_config(credentials: Optional[Union['GetSubjectConfigCredentialsA
|
|
|
131
144
|
schema_registry_cluster=pulumi.get(__ret__, 'schema_registry_cluster'),
|
|
132
145
|
subject_name=pulumi.get(__ret__, 'subject_name'))
|
|
133
146
|
def get_subject_config_output(credentials: Optional[pulumi.Input[Optional[Union['GetSubjectConfigCredentialsArgs', 'GetSubjectConfigCredentialsArgsDict']]]] = None,
|
|
134
|
-
rest_endpoint: Optional[pulumi.Input[Optional[str]]] = None,
|
|
147
|
+
rest_endpoint: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
135
148
|
schema_registry_cluster: Optional[pulumi.Input[Optional[Union['GetSubjectConfigSchemaRegistryClusterArgs', 'GetSubjectConfigSchemaRegistryClusterArgsDict']]]] = None,
|
|
136
|
-
subject_name: Optional[pulumi.Input[str]] = None,
|
|
137
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSubjectConfigResult]:
|
|
149
|
+
subject_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
150
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetSubjectConfigResult]:
|
|
138
151
|
"""
|
|
139
152
|
[](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
|
|
140
153
|
|
|
@@ -143,17 +156,18 @@ def get_subject_config_output(credentials: Optional[pulumi.Input[Optional[Union[
|
|
|
143
156
|
## Example Usage
|
|
144
157
|
|
|
145
158
|
|
|
146
|
-
:param str rest_endpoint: The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`).
|
|
147
|
-
:param str subject_name: The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`.
|
|
159
|
+
:param _builtins.str rest_endpoint: The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`).
|
|
160
|
+
:param _builtins.str subject_name: The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`.
|
|
148
161
|
"""
|
|
149
162
|
__args__ = dict()
|
|
150
163
|
__args__['credentials'] = credentials
|
|
151
164
|
__args__['restEndpoint'] = rest_endpoint
|
|
152
165
|
__args__['schemaRegistryCluster'] = schema_registry_cluster
|
|
153
166
|
__args__['subjectName'] = subject_name
|
|
154
|
-
opts = pulumi.
|
|
167
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
155
168
|
__ret__ = pulumi.runtime.invoke_output('confluentcloud:index/getSubjectConfig:getSubjectConfig', __args__, opts=opts, typ=GetSubjectConfigResult)
|
|
156
169
|
return __ret__.apply(lambda __response__: GetSubjectConfigResult(
|
|
170
|
+
compatibility_group=pulumi.get(__response__, 'compatibility_group'),
|
|
157
171
|
compatibility_level=pulumi.get(__response__, 'compatibility_level'),
|
|
158
172
|
credentials=pulumi.get(__response__, 'credentials'),
|
|
159
173
|
id=pulumi.get(__response__, 'id'),
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# coding=utf-8
|
|
2
|
-
# *** WARNING: this file was generated by
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import
|
|
5
|
+
import builtins as _builtins
|
|
6
6
|
import warnings
|
|
7
7
|
import sys
|
|
8
8
|
import pulumi
|
|
@@ -48,40 +48,40 @@ class GetSubjectModeResult:
|
|
|
48
48
|
raise TypeError("Expected argument 'subject_name' to be a str")
|
|
49
49
|
pulumi.set(__self__, "subject_name", subject_name)
|
|
50
50
|
|
|
51
|
-
@property
|
|
51
|
+
@_builtins.property
|
|
52
52
|
@pulumi.getter
|
|
53
53
|
def credentials(self) -> Optional['outputs.GetSubjectModeCredentialsResult']:
|
|
54
54
|
return pulumi.get(self, "credentials")
|
|
55
55
|
|
|
56
|
-
@property
|
|
56
|
+
@_builtins.property
|
|
57
57
|
@pulumi.getter
|
|
58
|
-
def id(self) -> str:
|
|
58
|
+
def id(self) -> _builtins.str:
|
|
59
59
|
"""
|
|
60
60
|
The provider-assigned unique ID for this managed resource.
|
|
61
61
|
"""
|
|
62
62
|
return pulumi.get(self, "id")
|
|
63
63
|
|
|
64
|
-
@property
|
|
64
|
+
@_builtins.property
|
|
65
65
|
@pulumi.getter
|
|
66
|
-
def mode(self) -> str:
|
|
66
|
+
def mode(self) -> _builtins.str:
|
|
67
67
|
"""
|
|
68
68
|
(Required String) The mode of the specified subject. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`.
|
|
69
69
|
"""
|
|
70
70
|
return pulumi.get(self, "mode")
|
|
71
71
|
|
|
72
|
-
@property
|
|
72
|
+
@_builtins.property
|
|
73
73
|
@pulumi.getter(name="restEndpoint")
|
|
74
|
-
def rest_endpoint(self) -> Optional[str]:
|
|
74
|
+
def rest_endpoint(self) -> Optional[_builtins.str]:
|
|
75
75
|
return pulumi.get(self, "rest_endpoint")
|
|
76
76
|
|
|
77
|
-
@property
|
|
77
|
+
@_builtins.property
|
|
78
78
|
@pulumi.getter(name="schemaRegistryCluster")
|
|
79
79
|
def schema_registry_cluster(self) -> Optional['outputs.GetSubjectModeSchemaRegistryClusterResult']:
|
|
80
80
|
return pulumi.get(self, "schema_registry_cluster")
|
|
81
81
|
|
|
82
|
-
@property
|
|
82
|
+
@_builtins.property
|
|
83
83
|
@pulumi.getter(name="subjectName")
|
|
84
|
-
def subject_name(self) -> str:
|
|
84
|
+
def subject_name(self) -> _builtins.str:
|
|
85
85
|
return pulumi.get(self, "subject_name")
|
|
86
86
|
|
|
87
87
|
|
|
@@ -100,9 +100,9 @@ class AwaitableGetSubjectModeResult(GetSubjectModeResult):
|
|
|
100
100
|
|
|
101
101
|
|
|
102
102
|
def get_subject_mode(credentials: Optional[Union['GetSubjectModeCredentialsArgs', 'GetSubjectModeCredentialsArgsDict']] = None,
|
|
103
|
-
rest_endpoint: Optional[str] = None,
|
|
103
|
+
rest_endpoint: Optional[_builtins.str] = None,
|
|
104
104
|
schema_registry_cluster: Optional[Union['GetSubjectModeSchemaRegistryClusterArgs', 'GetSubjectModeSchemaRegistryClusterArgsDict']] = None,
|
|
105
|
-
subject_name: Optional[str] = None,
|
|
105
|
+
subject_name: Optional[_builtins.str] = None,
|
|
106
106
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSubjectModeResult:
|
|
107
107
|
"""
|
|
108
108
|
[](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
|
|
@@ -140,8 +140,8 @@ def get_subject_mode(credentials: Optional[Union['GetSubjectModeCredentialsArgs'
|
|
|
140
140
|
```
|
|
141
141
|
|
|
142
142
|
|
|
143
|
-
:param str rest_endpoint: The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`).
|
|
144
|
-
:param str subject_name: The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`.
|
|
143
|
+
:param _builtins.str rest_endpoint: The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`).
|
|
144
|
+
:param _builtins.str subject_name: The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`.
|
|
145
145
|
|
|
146
146
|
> **Note:** A Schema Registry API key consists of a key and a secret. Schema Registry API keys are required to interact with Schema Registry clusters in Confluent Cloud. Each Schema Registry API key is valid for one specific Schema Registry cluster.
|
|
147
147
|
"""
|
|
@@ -161,10 +161,10 @@ def get_subject_mode(credentials: Optional[Union['GetSubjectModeCredentialsArgs'
|
|
|
161
161
|
schema_registry_cluster=pulumi.get(__ret__, 'schema_registry_cluster'),
|
|
162
162
|
subject_name=pulumi.get(__ret__, 'subject_name'))
|
|
163
163
|
def get_subject_mode_output(credentials: Optional[pulumi.Input[Optional[Union['GetSubjectModeCredentialsArgs', 'GetSubjectModeCredentialsArgsDict']]]] = None,
|
|
164
|
-
rest_endpoint: Optional[pulumi.Input[Optional[str]]] = None,
|
|
164
|
+
rest_endpoint: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
165
165
|
schema_registry_cluster: Optional[pulumi.Input[Optional[Union['GetSubjectModeSchemaRegistryClusterArgs', 'GetSubjectModeSchemaRegistryClusterArgsDict']]]] = None,
|
|
166
|
-
subject_name: Optional[pulumi.Input[str]] = None,
|
|
167
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSubjectModeResult]:
|
|
166
|
+
subject_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
167
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetSubjectModeResult]:
|
|
168
168
|
"""
|
|
169
169
|
[](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
|
|
170
170
|
|
|
@@ -201,8 +201,8 @@ def get_subject_mode_output(credentials: Optional[pulumi.Input[Optional[Union['G
|
|
|
201
201
|
```
|
|
202
202
|
|
|
203
203
|
|
|
204
|
-
:param str rest_endpoint: The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`).
|
|
205
|
-
:param str subject_name: The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`.
|
|
204
|
+
:param _builtins.str rest_endpoint: The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`).
|
|
205
|
+
:param _builtins.str subject_name: The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`.
|
|
206
206
|
|
|
207
207
|
> **Note:** A Schema Registry API key consists of a key and a secret. Schema Registry API keys are required to interact with Schema Registry clusters in Confluent Cloud. Each Schema Registry API key is valid for one specific Schema Registry cluster.
|
|
208
208
|
"""
|
|
@@ -211,7 +211,7 @@ def get_subject_mode_output(credentials: Optional[pulumi.Input[Optional[Union['G
|
|
|
211
211
|
__args__['restEndpoint'] = rest_endpoint
|
|
212
212
|
__args__['schemaRegistryCluster'] = schema_registry_cluster
|
|
213
213
|
__args__['subjectName'] = subject_name
|
|
214
|
-
opts = pulumi.
|
|
214
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
215
215
|
__ret__ = pulumi.runtime.invoke_output('confluentcloud:index/getSubjectMode:getSubjectMode', __args__, opts=opts, typ=GetSubjectModeResult)
|
|
216
216
|
return __ret__.apply(lambda __response__: GetSubjectModeResult(
|
|
217
217
|
credentials=pulumi.get(__response__, 'credentials'),
|
|
@@ -0,0 +1,374 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
|
|
5
|
+
import builtins as _builtins
|
|
6
|
+
import warnings
|
|
7
|
+
import sys
|
|
8
|
+
import pulumi
|
|
9
|
+
import pulumi.runtime
|
|
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
|
|
15
|
+
from . import _utilities
|
|
16
|
+
from . import outputs
|
|
17
|
+
from ._inputs import *
|
|
18
|
+
|
|
19
|
+
__all__ = [
|
|
20
|
+
'GetTableflowTopicResult',
|
|
21
|
+
'AwaitableGetTableflowTopicResult',
|
|
22
|
+
'get_tableflow_topic',
|
|
23
|
+
'get_tableflow_topic_output',
|
|
24
|
+
]
|
|
25
|
+
|
|
26
|
+
@pulumi.output_type
|
|
27
|
+
class GetTableflowTopicResult:
|
|
28
|
+
"""
|
|
29
|
+
A collection of values returned by getTableflowTopic.
|
|
30
|
+
"""
|
|
31
|
+
def __init__(__self__, azure_data_lake_storage_gen2s=None, byob_aws=None, credentials=None, display_name=None, enable_compaction=None, enable_partitioning=None, environment=None, error_handlings=None, id=None, kafka_cluster=None, managed_storages=None, record_failure_strategy=None, retention_ms=None, suspended=None, table_formats=None, table_path=None, write_mode=None):
|
|
32
|
+
if azure_data_lake_storage_gen2s and not isinstance(azure_data_lake_storage_gen2s, list):
|
|
33
|
+
raise TypeError("Expected argument 'azure_data_lake_storage_gen2s' to be a list")
|
|
34
|
+
pulumi.set(__self__, "azure_data_lake_storage_gen2s", azure_data_lake_storage_gen2s)
|
|
35
|
+
if byob_aws and not isinstance(byob_aws, list):
|
|
36
|
+
raise TypeError("Expected argument 'byob_aws' to be a list")
|
|
37
|
+
pulumi.set(__self__, "byob_aws", byob_aws)
|
|
38
|
+
if credentials and not isinstance(credentials, dict):
|
|
39
|
+
raise TypeError("Expected argument 'credentials' to be a dict")
|
|
40
|
+
pulumi.set(__self__, "credentials", credentials)
|
|
41
|
+
if display_name and not isinstance(display_name, str):
|
|
42
|
+
raise TypeError("Expected argument 'display_name' to be a str")
|
|
43
|
+
pulumi.set(__self__, "display_name", display_name)
|
|
44
|
+
if enable_compaction and not isinstance(enable_compaction, bool):
|
|
45
|
+
raise TypeError("Expected argument 'enable_compaction' to be a bool")
|
|
46
|
+
pulumi.set(__self__, "enable_compaction", enable_compaction)
|
|
47
|
+
if enable_partitioning and not isinstance(enable_partitioning, bool):
|
|
48
|
+
raise TypeError("Expected argument 'enable_partitioning' to be a bool")
|
|
49
|
+
pulumi.set(__self__, "enable_partitioning", enable_partitioning)
|
|
50
|
+
if environment and not isinstance(environment, dict):
|
|
51
|
+
raise TypeError("Expected argument 'environment' to be a dict")
|
|
52
|
+
pulumi.set(__self__, "environment", environment)
|
|
53
|
+
if error_handlings and not isinstance(error_handlings, list):
|
|
54
|
+
raise TypeError("Expected argument 'error_handlings' to be a list")
|
|
55
|
+
pulumi.set(__self__, "error_handlings", error_handlings)
|
|
56
|
+
if id and not isinstance(id, str):
|
|
57
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
58
|
+
pulumi.set(__self__, "id", id)
|
|
59
|
+
if kafka_cluster and not isinstance(kafka_cluster, dict):
|
|
60
|
+
raise TypeError("Expected argument 'kafka_cluster' to be a dict")
|
|
61
|
+
pulumi.set(__self__, "kafka_cluster", kafka_cluster)
|
|
62
|
+
if managed_storages and not isinstance(managed_storages, list):
|
|
63
|
+
raise TypeError("Expected argument 'managed_storages' to be a list")
|
|
64
|
+
pulumi.set(__self__, "managed_storages", managed_storages)
|
|
65
|
+
if record_failure_strategy and not isinstance(record_failure_strategy, str):
|
|
66
|
+
raise TypeError("Expected argument 'record_failure_strategy' to be a str")
|
|
67
|
+
pulumi.set(__self__, "record_failure_strategy", record_failure_strategy)
|
|
68
|
+
if retention_ms and not isinstance(retention_ms, str):
|
|
69
|
+
raise TypeError("Expected argument 'retention_ms' to be a str")
|
|
70
|
+
pulumi.set(__self__, "retention_ms", retention_ms)
|
|
71
|
+
if suspended and not isinstance(suspended, bool):
|
|
72
|
+
raise TypeError("Expected argument 'suspended' to be a bool")
|
|
73
|
+
pulumi.set(__self__, "suspended", suspended)
|
|
74
|
+
if table_formats and not isinstance(table_formats, list):
|
|
75
|
+
raise TypeError("Expected argument 'table_formats' to be a list")
|
|
76
|
+
pulumi.set(__self__, "table_formats", table_formats)
|
|
77
|
+
if table_path and not isinstance(table_path, str):
|
|
78
|
+
raise TypeError("Expected argument 'table_path' to be a str")
|
|
79
|
+
pulumi.set(__self__, "table_path", table_path)
|
|
80
|
+
if write_mode and not isinstance(write_mode, str):
|
|
81
|
+
raise TypeError("Expected argument 'write_mode' to be a str")
|
|
82
|
+
pulumi.set(__self__, "write_mode", write_mode)
|
|
83
|
+
|
|
84
|
+
@_builtins.property
|
|
85
|
+
@pulumi.getter(name="azureDataLakeStorageGen2s")
|
|
86
|
+
def azure_data_lake_storage_gen2s(self) -> Sequence['outputs.GetTableflowTopicAzureDataLakeStorageGen2Result']:
|
|
87
|
+
"""
|
|
88
|
+
(Optional Configuration Block) supports the following:
|
|
89
|
+
"""
|
|
90
|
+
return pulumi.get(self, "azure_data_lake_storage_gen2s")
|
|
91
|
+
|
|
92
|
+
@_builtins.property
|
|
93
|
+
@pulumi.getter(name="byobAws")
|
|
94
|
+
def byob_aws(self) -> Sequence['outputs.GetTableflowTopicByobAwResult']:
|
|
95
|
+
"""
|
|
96
|
+
(Optional Configuration Block) supports the following:
|
|
97
|
+
"""
|
|
98
|
+
return pulumi.get(self, "byob_aws")
|
|
99
|
+
|
|
100
|
+
@_builtins.property
|
|
101
|
+
@pulumi.getter
|
|
102
|
+
def credentials(self) -> Optional['outputs.GetTableflowTopicCredentialsResult']:
|
|
103
|
+
return pulumi.get(self, "credentials")
|
|
104
|
+
|
|
105
|
+
@_builtins.property
|
|
106
|
+
@pulumi.getter(name="displayName")
|
|
107
|
+
def display_name(self) -> _builtins.str:
|
|
108
|
+
return pulumi.get(self, "display_name")
|
|
109
|
+
|
|
110
|
+
@_builtins.property
|
|
111
|
+
@pulumi.getter(name="enableCompaction")
|
|
112
|
+
def enable_compaction(self) -> _builtins.bool:
|
|
113
|
+
"""
|
|
114
|
+
(Optional Boolean) This flag determines whether to enable compaction for the Tableflow enabled topic.
|
|
115
|
+
"""
|
|
116
|
+
return pulumi.get(self, "enable_compaction")
|
|
117
|
+
|
|
118
|
+
@_builtins.property
|
|
119
|
+
@pulumi.getter(name="enablePartitioning")
|
|
120
|
+
def enable_partitioning(self) -> _builtins.bool:
|
|
121
|
+
"""
|
|
122
|
+
(Optional Boolean) This flag determines whether to enable partitioning for the Tableflow enabled topic.
|
|
123
|
+
"""
|
|
124
|
+
return pulumi.get(self, "enable_partitioning")
|
|
125
|
+
|
|
126
|
+
@_builtins.property
|
|
127
|
+
@pulumi.getter
|
|
128
|
+
def environment(self) -> 'outputs.GetTableflowTopicEnvironmentResult':
|
|
129
|
+
return pulumi.get(self, "environment")
|
|
130
|
+
|
|
131
|
+
@_builtins.property
|
|
132
|
+
@pulumi.getter(name="errorHandlings")
|
|
133
|
+
def error_handlings(self) -> Sequence['outputs.GetTableflowTopicErrorHandlingResult']:
|
|
134
|
+
"""
|
|
135
|
+
(Optional Configuration Block) supports the following:
|
|
136
|
+
"""
|
|
137
|
+
return pulumi.get(self, "error_handlings")
|
|
138
|
+
|
|
139
|
+
@_builtins.property
|
|
140
|
+
@pulumi.getter
|
|
141
|
+
def id(self) -> _builtins.str:
|
|
142
|
+
"""
|
|
143
|
+
The provider-assigned unique ID for this managed resource.
|
|
144
|
+
"""
|
|
145
|
+
return pulumi.get(self, "id")
|
|
146
|
+
|
|
147
|
+
@_builtins.property
|
|
148
|
+
@pulumi.getter(name="kafkaCluster")
|
|
149
|
+
def kafka_cluster(self) -> 'outputs.GetTableflowTopicKafkaClusterResult':
|
|
150
|
+
return pulumi.get(self, "kafka_cluster")
|
|
151
|
+
|
|
152
|
+
@_builtins.property
|
|
153
|
+
@pulumi.getter(name="managedStorages")
|
|
154
|
+
def managed_storages(self) -> Sequence['outputs.GetTableflowTopicManagedStorageResult']:
|
|
155
|
+
"""
|
|
156
|
+
(Optional Configuration Block) The configuration of the Confluent managed bucket.
|
|
157
|
+
"""
|
|
158
|
+
return pulumi.get(self, "managed_storages")
|
|
159
|
+
|
|
160
|
+
@_builtins.property
|
|
161
|
+
@pulumi.getter(name="recordFailureStrategy")
|
|
162
|
+
def record_failure_strategy(self) -> _builtins.str:
|
|
163
|
+
"""
|
|
164
|
+
(Optional String, **Deprecated**) The strategy to handle record failures in the Tableflow enabled topic during materialization. For `SKIP`, we skip the bad records and move to the next record. For `SUSPEND`, we suspend the materialization of the topic.
|
|
165
|
+
"""
|
|
166
|
+
return pulumi.get(self, "record_failure_strategy")
|
|
167
|
+
|
|
168
|
+
@_builtins.property
|
|
169
|
+
@pulumi.getter(name="retentionMs")
|
|
170
|
+
def retention_ms(self) -> _builtins.str:
|
|
171
|
+
"""
|
|
172
|
+
(Optional String) The max age of snapshots (Iceberg) or versions (Delta) (snapshot/version expiration) to keep on the table in milliseconds for the Tableflow enabled topic.
|
|
173
|
+
"""
|
|
174
|
+
return pulumi.get(self, "retention_ms")
|
|
175
|
+
|
|
176
|
+
@_builtins.property
|
|
177
|
+
@pulumi.getter
|
|
178
|
+
def suspended(self) -> _builtins.bool:
|
|
179
|
+
"""
|
|
180
|
+
(Optional Boolean) Indicates whether the Tableflow should be suspended.
|
|
181
|
+
"""
|
|
182
|
+
return pulumi.get(self, "suspended")
|
|
183
|
+
|
|
184
|
+
@_builtins.property
|
|
185
|
+
@pulumi.getter(name="tableFormats")
|
|
186
|
+
def table_formats(self) -> Sequence[_builtins.str]:
|
|
187
|
+
"""
|
|
188
|
+
(Optional List) The supported table formats for the Tableflow-enabled topic.
|
|
189
|
+
"""
|
|
190
|
+
return pulumi.get(self, "table_formats")
|
|
191
|
+
|
|
192
|
+
@_builtins.property
|
|
193
|
+
@pulumi.getter(name="tablePath")
|
|
194
|
+
def table_path(self) -> _builtins.str:
|
|
195
|
+
"""
|
|
196
|
+
(Optional String) The current storage path where the data and metadata is stored for this table.
|
|
197
|
+
"""
|
|
198
|
+
return pulumi.get(self, "table_path")
|
|
199
|
+
|
|
200
|
+
@_builtins.property
|
|
201
|
+
@pulumi.getter(name="writeMode")
|
|
202
|
+
def write_mode(self) -> _builtins.str:
|
|
203
|
+
"""
|
|
204
|
+
(Optional String) Indicates the write mode of the Tableflow topic.
|
|
205
|
+
"""
|
|
206
|
+
return pulumi.get(self, "write_mode")
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
class AwaitableGetTableflowTopicResult(GetTableflowTopicResult):
|
|
210
|
+
# pylint: disable=using-constant-test
|
|
211
|
+
def __await__(self):
|
|
212
|
+
if False:
|
|
213
|
+
yield self
|
|
214
|
+
return GetTableflowTopicResult(
|
|
215
|
+
azure_data_lake_storage_gen2s=self.azure_data_lake_storage_gen2s,
|
|
216
|
+
byob_aws=self.byob_aws,
|
|
217
|
+
credentials=self.credentials,
|
|
218
|
+
display_name=self.display_name,
|
|
219
|
+
enable_compaction=self.enable_compaction,
|
|
220
|
+
enable_partitioning=self.enable_partitioning,
|
|
221
|
+
environment=self.environment,
|
|
222
|
+
error_handlings=self.error_handlings,
|
|
223
|
+
id=self.id,
|
|
224
|
+
kafka_cluster=self.kafka_cluster,
|
|
225
|
+
managed_storages=self.managed_storages,
|
|
226
|
+
record_failure_strategy=self.record_failure_strategy,
|
|
227
|
+
retention_ms=self.retention_ms,
|
|
228
|
+
suspended=self.suspended,
|
|
229
|
+
table_formats=self.table_formats,
|
|
230
|
+
table_path=self.table_path,
|
|
231
|
+
write_mode=self.write_mode)
|
|
232
|
+
|
|
233
|
+
|
|
234
|
+
def get_tableflow_topic(credentials: Optional[Union['GetTableflowTopicCredentialsArgs', 'GetTableflowTopicCredentialsArgsDict']] = None,
|
|
235
|
+
display_name: Optional[_builtins.str] = None,
|
|
236
|
+
environment: Optional[Union['GetTableflowTopicEnvironmentArgs', 'GetTableflowTopicEnvironmentArgsDict']] = None,
|
|
237
|
+
kafka_cluster: Optional[Union['GetTableflowTopicKafkaClusterArgs', 'GetTableflowTopicKafkaClusterArgsDict']] = None,
|
|
238
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetTableflowTopicResult:
|
|
239
|
+
"""
|
|
240
|
+
[](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
|
|
241
|
+
|
|
242
|
+
`TableflowTopic` describes a Tableflow Topic data source.
|
|
243
|
+
|
|
244
|
+
## Example Usage
|
|
245
|
+
|
|
246
|
+
### Option #1: Manage multiple Tableflow Topics in the same Pulumi Stack
|
|
247
|
+
|
|
248
|
+
```python
|
|
249
|
+
import pulumi
|
|
250
|
+
import pulumi_confluentcloud as confluentcloud
|
|
251
|
+
|
|
252
|
+
example = confluentcloud.get_tableflow_topic(environment={
|
|
253
|
+
"id": staging["id"],
|
|
254
|
+
},
|
|
255
|
+
kafka_cluster={
|
|
256
|
+
"id": staging_confluent_kafka_cluster["id"],
|
|
257
|
+
},
|
|
258
|
+
display_name="tableflow-example",
|
|
259
|
+
credentials={
|
|
260
|
+
"key": env_admin_tableflow_api_key["id"],
|
|
261
|
+
"secret": env_admin_tableflow_api_key["secret"],
|
|
262
|
+
})
|
|
263
|
+
pulumi.export("retention-ms", example.retention_ms)
|
|
264
|
+
```
|
|
265
|
+
|
|
266
|
+
### Option #2: Manage a single Tableflow Topic in the same Pulumi Stack
|
|
267
|
+
|
|
268
|
+
```python
|
|
269
|
+
import pulumi
|
|
270
|
+
import pulumi_confluentcloud as confluentcloud
|
|
271
|
+
|
|
272
|
+
example = confluentcloud.get_tableflow_topic(display_name="tableflow-example")
|
|
273
|
+
pulumi.export("retention-ms", example.retention_ms)
|
|
274
|
+
```
|
|
275
|
+
|
|
276
|
+
|
|
277
|
+
:param _builtins.str display_name: The name of the Tableflow Topic.
|
|
278
|
+
"""
|
|
279
|
+
__args__ = dict()
|
|
280
|
+
__args__['credentials'] = credentials
|
|
281
|
+
__args__['displayName'] = display_name
|
|
282
|
+
__args__['environment'] = environment
|
|
283
|
+
__args__['kafkaCluster'] = kafka_cluster
|
|
284
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
285
|
+
__ret__ = pulumi.runtime.invoke('confluentcloud:index/getTableflowTopic:getTableflowTopic', __args__, opts=opts, typ=GetTableflowTopicResult).value
|
|
286
|
+
|
|
287
|
+
return AwaitableGetTableflowTopicResult(
|
|
288
|
+
azure_data_lake_storage_gen2s=pulumi.get(__ret__, 'azure_data_lake_storage_gen2s'),
|
|
289
|
+
byob_aws=pulumi.get(__ret__, 'byob_aws'),
|
|
290
|
+
credentials=pulumi.get(__ret__, 'credentials'),
|
|
291
|
+
display_name=pulumi.get(__ret__, 'display_name'),
|
|
292
|
+
enable_compaction=pulumi.get(__ret__, 'enable_compaction'),
|
|
293
|
+
enable_partitioning=pulumi.get(__ret__, 'enable_partitioning'),
|
|
294
|
+
environment=pulumi.get(__ret__, 'environment'),
|
|
295
|
+
error_handlings=pulumi.get(__ret__, 'error_handlings'),
|
|
296
|
+
id=pulumi.get(__ret__, 'id'),
|
|
297
|
+
kafka_cluster=pulumi.get(__ret__, 'kafka_cluster'),
|
|
298
|
+
managed_storages=pulumi.get(__ret__, 'managed_storages'),
|
|
299
|
+
record_failure_strategy=pulumi.get(__ret__, 'record_failure_strategy'),
|
|
300
|
+
retention_ms=pulumi.get(__ret__, 'retention_ms'),
|
|
301
|
+
suspended=pulumi.get(__ret__, 'suspended'),
|
|
302
|
+
table_formats=pulumi.get(__ret__, 'table_formats'),
|
|
303
|
+
table_path=pulumi.get(__ret__, 'table_path'),
|
|
304
|
+
write_mode=pulumi.get(__ret__, 'write_mode'))
|
|
305
|
+
def get_tableflow_topic_output(credentials: Optional[pulumi.Input[Optional[Union['GetTableflowTopicCredentialsArgs', 'GetTableflowTopicCredentialsArgsDict']]]] = None,
|
|
306
|
+
display_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
307
|
+
environment: Optional[pulumi.Input[Union['GetTableflowTopicEnvironmentArgs', 'GetTableflowTopicEnvironmentArgsDict']]] = None,
|
|
308
|
+
kafka_cluster: Optional[pulumi.Input[Union['GetTableflowTopicKafkaClusterArgs', 'GetTableflowTopicKafkaClusterArgsDict']]] = None,
|
|
309
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetTableflowTopicResult]:
|
|
310
|
+
"""
|
|
311
|
+
[](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
|
|
312
|
+
|
|
313
|
+
`TableflowTopic` describes a Tableflow Topic data source.
|
|
314
|
+
|
|
315
|
+
## Example Usage
|
|
316
|
+
|
|
317
|
+
### Option #1: Manage multiple Tableflow Topics in the same Pulumi Stack
|
|
318
|
+
|
|
319
|
+
```python
|
|
320
|
+
import pulumi
|
|
321
|
+
import pulumi_confluentcloud as confluentcloud
|
|
322
|
+
|
|
323
|
+
example = confluentcloud.get_tableflow_topic(environment={
|
|
324
|
+
"id": staging["id"],
|
|
325
|
+
},
|
|
326
|
+
kafka_cluster={
|
|
327
|
+
"id": staging_confluent_kafka_cluster["id"],
|
|
328
|
+
},
|
|
329
|
+
display_name="tableflow-example",
|
|
330
|
+
credentials={
|
|
331
|
+
"key": env_admin_tableflow_api_key["id"],
|
|
332
|
+
"secret": env_admin_tableflow_api_key["secret"],
|
|
333
|
+
})
|
|
334
|
+
pulumi.export("retention-ms", example.retention_ms)
|
|
335
|
+
```
|
|
336
|
+
|
|
337
|
+
### Option #2: Manage a single Tableflow Topic in the same Pulumi Stack
|
|
338
|
+
|
|
339
|
+
```python
|
|
340
|
+
import pulumi
|
|
341
|
+
import pulumi_confluentcloud as confluentcloud
|
|
342
|
+
|
|
343
|
+
example = confluentcloud.get_tableflow_topic(display_name="tableflow-example")
|
|
344
|
+
pulumi.export("retention-ms", example.retention_ms)
|
|
345
|
+
```
|
|
346
|
+
|
|
347
|
+
|
|
348
|
+
:param _builtins.str display_name: The name of the Tableflow Topic.
|
|
349
|
+
"""
|
|
350
|
+
__args__ = dict()
|
|
351
|
+
__args__['credentials'] = credentials
|
|
352
|
+
__args__['displayName'] = display_name
|
|
353
|
+
__args__['environment'] = environment
|
|
354
|
+
__args__['kafkaCluster'] = kafka_cluster
|
|
355
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
356
|
+
__ret__ = pulumi.runtime.invoke_output('confluentcloud:index/getTableflowTopic:getTableflowTopic', __args__, opts=opts, typ=GetTableflowTopicResult)
|
|
357
|
+
return __ret__.apply(lambda __response__: GetTableflowTopicResult(
|
|
358
|
+
azure_data_lake_storage_gen2s=pulumi.get(__response__, 'azure_data_lake_storage_gen2s'),
|
|
359
|
+
byob_aws=pulumi.get(__response__, 'byob_aws'),
|
|
360
|
+
credentials=pulumi.get(__response__, 'credentials'),
|
|
361
|
+
display_name=pulumi.get(__response__, 'display_name'),
|
|
362
|
+
enable_compaction=pulumi.get(__response__, 'enable_compaction'),
|
|
363
|
+
enable_partitioning=pulumi.get(__response__, 'enable_partitioning'),
|
|
364
|
+
environment=pulumi.get(__response__, 'environment'),
|
|
365
|
+
error_handlings=pulumi.get(__response__, 'error_handlings'),
|
|
366
|
+
id=pulumi.get(__response__, 'id'),
|
|
367
|
+
kafka_cluster=pulumi.get(__response__, 'kafka_cluster'),
|
|
368
|
+
managed_storages=pulumi.get(__response__, 'managed_storages'),
|
|
369
|
+
record_failure_strategy=pulumi.get(__response__, 'record_failure_strategy'),
|
|
370
|
+
retention_ms=pulumi.get(__response__, 'retention_ms'),
|
|
371
|
+
suspended=pulumi.get(__response__, 'suspended'),
|
|
372
|
+
table_formats=pulumi.get(__response__, 'table_formats'),
|
|
373
|
+
table_path=pulumi.get(__response__, 'table_path'),
|
|
374
|
+
write_mode=pulumi.get(__response__, 'write_mode')))
|