pulumi-confluentcloud 2.49.0a1761153138__py3-none-any.whl → 2.50.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_confluentcloud/__init__.py +21 -0
- pulumi_confluentcloud/_inputs.py +340 -9
- pulumi_confluentcloud/api_key.py +168 -0
- pulumi_confluentcloud/dns_forwarder.py +48 -0
- pulumi_confluentcloud/get_catalog_integration.py +60 -0
- pulumi_confluentcloud/get_kafka_clusters.py +136 -0
- pulumi_confluentcloud/get_private_link_attachment.py +0 -1
- pulumi_confluentcloud/get_provider_integration_authorization.py +142 -0
- pulumi_confluentcloud/get_provider_integration_setup.py +270 -0
- pulumi_confluentcloud/get_tableflow_topic.py +16 -2
- pulumi_confluentcloud/outputs.py +859 -97
- pulumi_confluentcloud/private_link_attachment.py +0 -4
- 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/schema.py +228 -0
- pulumi_confluentcloud/tableflow_topic.py +43 -0
- {pulumi_confluentcloud-2.49.0a1761153138.dist-info → pulumi_confluentcloud-2.50.0.dist-info}/METADATA +1 -1
- {pulumi_confluentcloud-2.49.0a1761153138.dist-info → pulumi_confluentcloud-2.50.0.dist-info}/RECORD +21 -16
- {pulumi_confluentcloud-2.49.0a1761153138.dist-info → pulumi_confluentcloud-2.50.0.dist-info}/WHEEL +0 -0
- {pulumi_confluentcloud-2.49.0a1761153138.dist-info → pulumi_confluentcloud-2.50.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,270 @@
|
|
|
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
|
+
'GetProviderIntegrationSetupResult',
|
|
21
|
+
'AwaitableGetProviderIntegrationSetupResult',
|
|
22
|
+
'get_provider_integration_setup',
|
|
23
|
+
'get_provider_integration_setup_output',
|
|
24
|
+
]
|
|
25
|
+
|
|
26
|
+
@pulumi.output_type
|
|
27
|
+
class GetProviderIntegrationSetupResult:
|
|
28
|
+
"""
|
|
29
|
+
A collection of values returned by getProviderIntegrationSetup.
|
|
30
|
+
"""
|
|
31
|
+
def __init__(__self__, cloud=None, display_name=None, environment=None, id=None, status=None, usages=None):
|
|
32
|
+
if cloud and not isinstance(cloud, str):
|
|
33
|
+
raise TypeError("Expected argument 'cloud' to be a str")
|
|
34
|
+
pulumi.set(__self__, "cloud", cloud)
|
|
35
|
+
if display_name and not isinstance(display_name, str):
|
|
36
|
+
raise TypeError("Expected argument 'display_name' to be a str")
|
|
37
|
+
pulumi.set(__self__, "display_name", display_name)
|
|
38
|
+
if environment and not isinstance(environment, dict):
|
|
39
|
+
raise TypeError("Expected argument 'environment' to be a dict")
|
|
40
|
+
pulumi.set(__self__, "environment", environment)
|
|
41
|
+
if id and not isinstance(id, str):
|
|
42
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
43
|
+
pulumi.set(__self__, "id", id)
|
|
44
|
+
if status and not isinstance(status, str):
|
|
45
|
+
raise TypeError("Expected argument 'status' to be a str")
|
|
46
|
+
pulumi.set(__self__, "status", status)
|
|
47
|
+
if usages and not isinstance(usages, list):
|
|
48
|
+
raise TypeError("Expected argument 'usages' to be a list")
|
|
49
|
+
pulumi.set(__self__, "usages", usages)
|
|
50
|
+
|
|
51
|
+
@_builtins.property
|
|
52
|
+
@pulumi.getter
|
|
53
|
+
def cloud(self) -> _builtins.str:
|
|
54
|
+
"""
|
|
55
|
+
(Computed String) The cloud service provider. Values are `AZURE` and `GCP`.
|
|
56
|
+
"""
|
|
57
|
+
return pulumi.get(self, "cloud")
|
|
58
|
+
|
|
59
|
+
@_builtins.property
|
|
60
|
+
@pulumi.getter(name="displayName")
|
|
61
|
+
def display_name(self) -> _builtins.str:
|
|
62
|
+
"""
|
|
63
|
+
(Required String) The display name of the Provider Integration.
|
|
64
|
+
"""
|
|
65
|
+
return pulumi.get(self, "display_name")
|
|
66
|
+
|
|
67
|
+
@_builtins.property
|
|
68
|
+
@pulumi.getter
|
|
69
|
+
def environment(self) -> 'outputs.GetProviderIntegrationSetupEnvironmentResult':
|
|
70
|
+
"""
|
|
71
|
+
(Required Configuration Block) supports the following:
|
|
72
|
+
"""
|
|
73
|
+
return pulumi.get(self, "environment")
|
|
74
|
+
|
|
75
|
+
@_builtins.property
|
|
76
|
+
@pulumi.getter
|
|
77
|
+
def id(self) -> _builtins.str:
|
|
78
|
+
"""
|
|
79
|
+
(Required String) The ID of the Environment that the Provider Integration belongs to, for example, `env-abc123`.
|
|
80
|
+
"""
|
|
81
|
+
return pulumi.get(self, "id")
|
|
82
|
+
|
|
83
|
+
@_builtins.property
|
|
84
|
+
@pulumi.getter
|
|
85
|
+
def status(self) -> _builtins.str:
|
|
86
|
+
"""
|
|
87
|
+
(Required String) The status of the Provider Integration. Values are `DRAFT` and `CREATED`.
|
|
88
|
+
"""
|
|
89
|
+
return pulumi.get(self, "status")
|
|
90
|
+
|
|
91
|
+
@_builtins.property
|
|
92
|
+
@pulumi.getter
|
|
93
|
+
def usages(self) -> Sequence[_builtins.str]:
|
|
94
|
+
"""
|
|
95
|
+
(Required List of Strings) List of resource CRNs where this provider integration is being used.
|
|
96
|
+
"""
|
|
97
|
+
return pulumi.get(self, "usages")
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
class AwaitableGetProviderIntegrationSetupResult(GetProviderIntegrationSetupResult):
|
|
101
|
+
# pylint: disable=using-constant-test
|
|
102
|
+
def __await__(self):
|
|
103
|
+
if False:
|
|
104
|
+
yield self
|
|
105
|
+
return GetProviderIntegrationSetupResult(
|
|
106
|
+
cloud=self.cloud,
|
|
107
|
+
display_name=self.display_name,
|
|
108
|
+
environment=self.environment,
|
|
109
|
+
id=self.id,
|
|
110
|
+
status=self.status,
|
|
111
|
+
usages=self.usages)
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
def get_provider_integration_setup(display_name: Optional[_builtins.str] = None,
|
|
115
|
+
environment: Optional[Union['GetProviderIntegrationSetupEnvironmentArgs', 'GetProviderIntegrationSetupEnvironmentArgsDict']] = None,
|
|
116
|
+
id: Optional[_builtins.str] = None,
|
|
117
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetProviderIntegrationSetupResult:
|
|
118
|
+
"""
|
|
119
|
+
[](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
|
|
120
|
+
|
|
121
|
+
`ProviderIntegrationSetup` describes a Cloud Service Provider (CSP) integration that allows Confluent Cloud to access resources in your cloud provider account.
|
|
122
|
+
|
|
123
|
+
## Example Usage
|
|
124
|
+
|
|
125
|
+
### Azure Provider Integration
|
|
126
|
+
|
|
127
|
+
```python
|
|
128
|
+
import pulumi
|
|
129
|
+
import pulumi_confluentcloud as confluentcloud
|
|
130
|
+
|
|
131
|
+
azure = confluentcloud.get_provider_integration_setup(id="cspi-abc123",
|
|
132
|
+
environment={
|
|
133
|
+
"id": "env-xyz456",
|
|
134
|
+
})
|
|
135
|
+
pulumi.export("azureIntegrationStatus", azure.status)
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
### GCP Provider Integration
|
|
139
|
+
|
|
140
|
+
```python
|
|
141
|
+
import pulumi
|
|
142
|
+
import pulumi_confluentcloud as confluentcloud
|
|
143
|
+
|
|
144
|
+
gcp = confluentcloud.get_provider_integration_setup(display_name="my-gcp-integration",
|
|
145
|
+
environment={
|
|
146
|
+
"id": "env-xyz456",
|
|
147
|
+
})
|
|
148
|
+
pulumi.export("gcpIntegrationId", gcp.id)
|
|
149
|
+
```
|
|
150
|
+
|
|
151
|
+
### Using with Authorization Resource
|
|
152
|
+
|
|
153
|
+
```python
|
|
154
|
+
import pulumi
|
|
155
|
+
import pulumi_confluentcloud as confluentcloud
|
|
156
|
+
|
|
157
|
+
main = confluentcloud.get_provider_integration_setup(id="cspi-abc123",
|
|
158
|
+
environment={
|
|
159
|
+
"id": "env-xyz456",
|
|
160
|
+
})
|
|
161
|
+
# Use the integration with authorization data source
|
|
162
|
+
main_get_provider_integration_authorization = confluentcloud.get_provider_integration_authorization(id=main.id,
|
|
163
|
+
environment={
|
|
164
|
+
"id": "env-xyz456",
|
|
165
|
+
})
|
|
166
|
+
```
|
|
167
|
+
|
|
168
|
+
## Getting Started
|
|
169
|
+
|
|
170
|
+
The following end-to-end examples might help to get started with `ProviderIntegrationSetup` data source:
|
|
171
|
+
* provider-integration-azure: Complete Azure Provider Integration setup
|
|
172
|
+
* provider-integration-gcp: Complete GCP Provider Integration setup
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
:param _builtins.str display_name: The display name of the Provider Integration. Exactly one of `id` or `display_name` must be specified.
|
|
176
|
+
:param Union['GetProviderIntegrationSetupEnvironmentArgs', 'GetProviderIntegrationSetupEnvironmentArgsDict'] environment: (Required Configuration Block) supports the following:
|
|
177
|
+
:param _builtins.str id: The ID of the Provider Integration, for example, `cspi-4xg0q`. Exactly one of `id` or `display_name` must be specified.
|
|
178
|
+
"""
|
|
179
|
+
__args__ = dict()
|
|
180
|
+
__args__['displayName'] = display_name
|
|
181
|
+
__args__['environment'] = environment
|
|
182
|
+
__args__['id'] = id
|
|
183
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
184
|
+
__ret__ = pulumi.runtime.invoke('confluentcloud:index/getProviderIntegrationSetup:getProviderIntegrationSetup', __args__, opts=opts, typ=GetProviderIntegrationSetupResult).value
|
|
185
|
+
|
|
186
|
+
return AwaitableGetProviderIntegrationSetupResult(
|
|
187
|
+
cloud=pulumi.get(__ret__, 'cloud'),
|
|
188
|
+
display_name=pulumi.get(__ret__, 'display_name'),
|
|
189
|
+
environment=pulumi.get(__ret__, 'environment'),
|
|
190
|
+
id=pulumi.get(__ret__, 'id'),
|
|
191
|
+
status=pulumi.get(__ret__, 'status'),
|
|
192
|
+
usages=pulumi.get(__ret__, 'usages'))
|
|
193
|
+
def get_provider_integration_setup_output(display_name: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
194
|
+
environment: Optional[pulumi.Input[Union['GetProviderIntegrationSetupEnvironmentArgs', 'GetProviderIntegrationSetupEnvironmentArgsDict']]] = None,
|
|
195
|
+
id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
196
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetProviderIntegrationSetupResult]:
|
|
197
|
+
"""
|
|
198
|
+
[](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
|
|
199
|
+
|
|
200
|
+
`ProviderIntegrationSetup` describes a Cloud Service Provider (CSP) integration that allows Confluent Cloud to access resources in your cloud provider account.
|
|
201
|
+
|
|
202
|
+
## Example Usage
|
|
203
|
+
|
|
204
|
+
### Azure Provider Integration
|
|
205
|
+
|
|
206
|
+
```python
|
|
207
|
+
import pulumi
|
|
208
|
+
import pulumi_confluentcloud as confluentcloud
|
|
209
|
+
|
|
210
|
+
azure = confluentcloud.get_provider_integration_setup(id="cspi-abc123",
|
|
211
|
+
environment={
|
|
212
|
+
"id": "env-xyz456",
|
|
213
|
+
})
|
|
214
|
+
pulumi.export("azureIntegrationStatus", azure.status)
|
|
215
|
+
```
|
|
216
|
+
|
|
217
|
+
### GCP Provider Integration
|
|
218
|
+
|
|
219
|
+
```python
|
|
220
|
+
import pulumi
|
|
221
|
+
import pulumi_confluentcloud as confluentcloud
|
|
222
|
+
|
|
223
|
+
gcp = confluentcloud.get_provider_integration_setup(display_name="my-gcp-integration",
|
|
224
|
+
environment={
|
|
225
|
+
"id": "env-xyz456",
|
|
226
|
+
})
|
|
227
|
+
pulumi.export("gcpIntegrationId", gcp.id)
|
|
228
|
+
```
|
|
229
|
+
|
|
230
|
+
### Using with Authorization Resource
|
|
231
|
+
|
|
232
|
+
```python
|
|
233
|
+
import pulumi
|
|
234
|
+
import pulumi_confluentcloud as confluentcloud
|
|
235
|
+
|
|
236
|
+
main = confluentcloud.get_provider_integration_setup(id="cspi-abc123",
|
|
237
|
+
environment={
|
|
238
|
+
"id": "env-xyz456",
|
|
239
|
+
})
|
|
240
|
+
# Use the integration with authorization data source
|
|
241
|
+
main_get_provider_integration_authorization = confluentcloud.get_provider_integration_authorization(id=main.id,
|
|
242
|
+
environment={
|
|
243
|
+
"id": "env-xyz456",
|
|
244
|
+
})
|
|
245
|
+
```
|
|
246
|
+
|
|
247
|
+
## Getting Started
|
|
248
|
+
|
|
249
|
+
The following end-to-end examples might help to get started with `ProviderIntegrationSetup` data source:
|
|
250
|
+
* provider-integration-azure: Complete Azure Provider Integration setup
|
|
251
|
+
* provider-integration-gcp: Complete GCP Provider Integration setup
|
|
252
|
+
|
|
253
|
+
|
|
254
|
+
:param _builtins.str display_name: The display name of the Provider Integration. Exactly one of `id` or `display_name` must be specified.
|
|
255
|
+
:param Union['GetProviderIntegrationSetupEnvironmentArgs', 'GetProviderIntegrationSetupEnvironmentArgsDict'] environment: (Required Configuration Block) supports the following:
|
|
256
|
+
:param _builtins.str id: The ID of the Provider Integration, for example, `cspi-4xg0q`. Exactly one of `id` or `display_name` must be specified.
|
|
257
|
+
"""
|
|
258
|
+
__args__ = dict()
|
|
259
|
+
__args__['displayName'] = display_name
|
|
260
|
+
__args__['environment'] = environment
|
|
261
|
+
__args__['id'] = id
|
|
262
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
263
|
+
__ret__ = pulumi.runtime.invoke_output('confluentcloud:index/getProviderIntegrationSetup:getProviderIntegrationSetup', __args__, opts=opts, typ=GetProviderIntegrationSetupResult)
|
|
264
|
+
return __ret__.apply(lambda __response__: GetProviderIntegrationSetupResult(
|
|
265
|
+
cloud=pulumi.get(__response__, 'cloud'),
|
|
266
|
+
display_name=pulumi.get(__response__, 'display_name'),
|
|
267
|
+
environment=pulumi.get(__response__, 'environment'),
|
|
268
|
+
id=pulumi.get(__response__, 'id'),
|
|
269
|
+
status=pulumi.get(__response__, 'status'),
|
|
270
|
+
usages=pulumi.get(__response__, 'usages')))
|
|
@@ -28,7 +28,7 @@ class GetTableflowTopicResult:
|
|
|
28
28
|
"""
|
|
29
29
|
A collection of values returned by getTableflowTopic.
|
|
30
30
|
"""
|
|
31
|
-
def __init__(__self__, byob_aws=None, credentials=None, display_name=None, enable_compaction=None, enable_partitioning=None, environment=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):
|
|
31
|
+
def __init__(__self__, 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
32
|
if byob_aws and not isinstance(byob_aws, list):
|
|
33
33
|
raise TypeError("Expected argument 'byob_aws' to be a list")
|
|
34
34
|
pulumi.set(__self__, "byob_aws", byob_aws)
|
|
@@ -47,6 +47,9 @@ class GetTableflowTopicResult:
|
|
|
47
47
|
if environment and not isinstance(environment, dict):
|
|
48
48
|
raise TypeError("Expected argument 'environment' to be a dict")
|
|
49
49
|
pulumi.set(__self__, "environment", environment)
|
|
50
|
+
if error_handlings and not isinstance(error_handlings, list):
|
|
51
|
+
raise TypeError("Expected argument 'error_handlings' to be a list")
|
|
52
|
+
pulumi.set(__self__, "error_handlings", error_handlings)
|
|
50
53
|
if id and not isinstance(id, str):
|
|
51
54
|
raise TypeError("Expected argument 'id' to be a str")
|
|
52
55
|
pulumi.set(__self__, "id", id)
|
|
@@ -114,6 +117,14 @@ class GetTableflowTopicResult:
|
|
|
114
117
|
def environment(self) -> 'outputs.GetTableflowTopicEnvironmentResult':
|
|
115
118
|
return pulumi.get(self, "environment")
|
|
116
119
|
|
|
120
|
+
@_builtins.property
|
|
121
|
+
@pulumi.getter(name="errorHandlings")
|
|
122
|
+
def error_handlings(self) -> Sequence['outputs.GetTableflowTopicErrorHandlingResult']:
|
|
123
|
+
"""
|
|
124
|
+
(Optional Configuration Block) supports the following:
|
|
125
|
+
"""
|
|
126
|
+
return pulumi.get(self, "error_handlings")
|
|
127
|
+
|
|
117
128
|
@_builtins.property
|
|
118
129
|
@pulumi.getter
|
|
119
130
|
def id(self) -> _builtins.str:
|
|
@@ -139,7 +150,7 @@ class GetTableflowTopicResult:
|
|
|
139
150
|
@pulumi.getter(name="recordFailureStrategy")
|
|
140
151
|
def record_failure_strategy(self) -> _builtins.str:
|
|
141
152
|
"""
|
|
142
|
-
(Optional String) 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.
|
|
153
|
+
(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.
|
|
143
154
|
"""
|
|
144
155
|
return pulumi.get(self, "record_failure_strategy")
|
|
145
156
|
|
|
@@ -196,6 +207,7 @@ class AwaitableGetTableflowTopicResult(GetTableflowTopicResult):
|
|
|
196
207
|
enable_compaction=self.enable_compaction,
|
|
197
208
|
enable_partitioning=self.enable_partitioning,
|
|
198
209
|
environment=self.environment,
|
|
210
|
+
error_handlings=self.error_handlings,
|
|
199
211
|
id=self.id,
|
|
200
212
|
kafka_cluster=self.kafka_cluster,
|
|
201
213
|
managed_storages=self.managed_storages,
|
|
@@ -267,6 +279,7 @@ def get_tableflow_topic(credentials: Optional[Union['GetTableflowTopicCredential
|
|
|
267
279
|
enable_compaction=pulumi.get(__ret__, 'enable_compaction'),
|
|
268
280
|
enable_partitioning=pulumi.get(__ret__, 'enable_partitioning'),
|
|
269
281
|
environment=pulumi.get(__ret__, 'environment'),
|
|
282
|
+
error_handlings=pulumi.get(__ret__, 'error_handlings'),
|
|
270
283
|
id=pulumi.get(__ret__, 'id'),
|
|
271
284
|
kafka_cluster=pulumi.get(__ret__, 'kafka_cluster'),
|
|
272
285
|
managed_storages=pulumi.get(__ret__, 'managed_storages'),
|
|
@@ -335,6 +348,7 @@ def get_tableflow_topic_output(credentials: Optional[pulumi.Input[Optional[Union
|
|
|
335
348
|
enable_compaction=pulumi.get(__response__, 'enable_compaction'),
|
|
336
349
|
enable_partitioning=pulumi.get(__response__, 'enable_partitioning'),
|
|
337
350
|
environment=pulumi.get(__response__, 'environment'),
|
|
351
|
+
error_handlings=pulumi.get(__response__, 'error_handlings'),
|
|
338
352
|
id=pulumi.get(__response__, 'id'),
|
|
339
353
|
kafka_cluster=pulumi.get(__response__, 'kafka_cluster'),
|
|
340
354
|
managed_storages=pulumi.get(__response__, 'managed_storages'),
|