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
pulumi_confluentcloud/api_key.py
CHANGED
|
@@ -225,12 +225,96 @@ class ApiKey(pulumi.CustomResource):
|
|
|
225
225
|
## Example Usage
|
|
226
226
|
|
|
227
227
|
### Example Kafka API Key
|
|
228
|
+
```python
|
|
229
|
+
import pulumi
|
|
230
|
+
import pulumi_confluentcloud as confluentcloud
|
|
231
|
+
|
|
232
|
+
app_manager_kafka_api_key = confluentcloud.ApiKey("app-manager-kafka-api-key",
|
|
233
|
+
display_name="app-manager-kafka-api-key",
|
|
234
|
+
description="Kafka API Key that is owned by 'app-manager' service account",
|
|
235
|
+
owner={
|
|
236
|
+
"id": app_manager["id"],
|
|
237
|
+
"api_version": app_manager["apiVersion"],
|
|
238
|
+
"kind": app_manager["kind"],
|
|
239
|
+
},
|
|
240
|
+
managed_resource={
|
|
241
|
+
"id": basic["id"],
|
|
242
|
+
"api_version": basic["apiVersion"],
|
|
243
|
+
"kind": basic["kind"],
|
|
244
|
+
"environments": [{
|
|
245
|
+
"id": staging["id"],
|
|
246
|
+
}],
|
|
247
|
+
})
|
|
248
|
+
```
|
|
228
249
|
|
|
229
250
|
### Example ksqlDB API Key
|
|
251
|
+
```python
|
|
252
|
+
import pulumi
|
|
253
|
+
import pulumi_confluentcloud as confluentcloud
|
|
254
|
+
|
|
255
|
+
ksqldb_api_key = confluentcloud.ApiKey("ksqldb-api-key",
|
|
256
|
+
display_name="ksqldb-api-key",
|
|
257
|
+
description="KsqlDB API Key that is owned by 'app-manager' service account",
|
|
258
|
+
owner={
|
|
259
|
+
"id": app_manager["id"],
|
|
260
|
+
"api_version": app_manager["apiVersion"],
|
|
261
|
+
"kind": app_manager["kind"],
|
|
262
|
+
},
|
|
263
|
+
managed_resource={
|
|
264
|
+
"id": main["id"],
|
|
265
|
+
"api_version": main["apiVersion"],
|
|
266
|
+
"kind": main["kind"],
|
|
267
|
+
"environments": [{
|
|
268
|
+
"id": staging["id"],
|
|
269
|
+
}],
|
|
270
|
+
})
|
|
271
|
+
```
|
|
230
272
|
|
|
231
273
|
### Example Schema Registry API Key
|
|
274
|
+
```python
|
|
275
|
+
import pulumi
|
|
276
|
+
import pulumi_confluentcloud as confluentcloud
|
|
277
|
+
|
|
278
|
+
env_manager_schema_registry_api_key = confluentcloud.ApiKey("env-manager-schema-registry-api-key",
|
|
279
|
+
display_name="env-manager-schema-registry-api-key",
|
|
280
|
+
description="Schema Registry API Key that is owned by 'env-manager' service account",
|
|
281
|
+
owner={
|
|
282
|
+
"id": env_manager["id"],
|
|
283
|
+
"api_version": env_manager["apiVersion"],
|
|
284
|
+
"kind": env_manager["kind"],
|
|
285
|
+
},
|
|
286
|
+
managed_resource={
|
|
287
|
+
"id": essentials["id"],
|
|
288
|
+
"api_version": essentials["apiVersion"],
|
|
289
|
+
"kind": essentials["kind"],
|
|
290
|
+
"environments": [{
|
|
291
|
+
"id": staging["id"],
|
|
292
|
+
}],
|
|
293
|
+
})
|
|
294
|
+
```
|
|
232
295
|
|
|
233
296
|
### Example Flink API Key
|
|
297
|
+
```python
|
|
298
|
+
import pulumi
|
|
299
|
+
import pulumi_confluentcloud as confluentcloud
|
|
300
|
+
|
|
301
|
+
env_manager_flink_api_key = confluentcloud.ApiKey("env-manager-flink-api-key",
|
|
302
|
+
display_name="env-manager-flink-api-key",
|
|
303
|
+
description="Flink API Key that is owned by 'env-manager' service account",
|
|
304
|
+
owner={
|
|
305
|
+
"id": env_manager["id"],
|
|
306
|
+
"api_version": env_manager["apiVersion"],
|
|
307
|
+
"kind": env_manager["kind"],
|
|
308
|
+
},
|
|
309
|
+
managed_resource={
|
|
310
|
+
"id": example["id"],
|
|
311
|
+
"api_version": example["apiVersion"],
|
|
312
|
+
"kind": example["kind"],
|
|
313
|
+
"environments": [{
|
|
314
|
+
"id": staging["id"],
|
|
315
|
+
}],
|
|
316
|
+
})
|
|
317
|
+
```
|
|
234
318
|
|
|
235
319
|
### Example Tableflow API Key
|
|
236
320
|
```python
|
|
@@ -342,12 +426,96 @@ class ApiKey(pulumi.CustomResource):
|
|
|
342
426
|
## Example Usage
|
|
343
427
|
|
|
344
428
|
### Example Kafka API Key
|
|
429
|
+
```python
|
|
430
|
+
import pulumi
|
|
431
|
+
import pulumi_confluentcloud as confluentcloud
|
|
432
|
+
|
|
433
|
+
app_manager_kafka_api_key = confluentcloud.ApiKey("app-manager-kafka-api-key",
|
|
434
|
+
display_name="app-manager-kafka-api-key",
|
|
435
|
+
description="Kafka API Key that is owned by 'app-manager' service account",
|
|
436
|
+
owner={
|
|
437
|
+
"id": app_manager["id"],
|
|
438
|
+
"api_version": app_manager["apiVersion"],
|
|
439
|
+
"kind": app_manager["kind"],
|
|
440
|
+
},
|
|
441
|
+
managed_resource={
|
|
442
|
+
"id": basic["id"],
|
|
443
|
+
"api_version": basic["apiVersion"],
|
|
444
|
+
"kind": basic["kind"],
|
|
445
|
+
"environments": [{
|
|
446
|
+
"id": staging["id"],
|
|
447
|
+
}],
|
|
448
|
+
})
|
|
449
|
+
```
|
|
345
450
|
|
|
346
451
|
### Example ksqlDB API Key
|
|
452
|
+
```python
|
|
453
|
+
import pulumi
|
|
454
|
+
import pulumi_confluentcloud as confluentcloud
|
|
455
|
+
|
|
456
|
+
ksqldb_api_key = confluentcloud.ApiKey("ksqldb-api-key",
|
|
457
|
+
display_name="ksqldb-api-key",
|
|
458
|
+
description="KsqlDB API Key that is owned by 'app-manager' service account",
|
|
459
|
+
owner={
|
|
460
|
+
"id": app_manager["id"],
|
|
461
|
+
"api_version": app_manager["apiVersion"],
|
|
462
|
+
"kind": app_manager["kind"],
|
|
463
|
+
},
|
|
464
|
+
managed_resource={
|
|
465
|
+
"id": main["id"],
|
|
466
|
+
"api_version": main["apiVersion"],
|
|
467
|
+
"kind": main["kind"],
|
|
468
|
+
"environments": [{
|
|
469
|
+
"id": staging["id"],
|
|
470
|
+
}],
|
|
471
|
+
})
|
|
472
|
+
```
|
|
347
473
|
|
|
348
474
|
### Example Schema Registry API Key
|
|
475
|
+
```python
|
|
476
|
+
import pulumi
|
|
477
|
+
import pulumi_confluentcloud as confluentcloud
|
|
478
|
+
|
|
479
|
+
env_manager_schema_registry_api_key = confluentcloud.ApiKey("env-manager-schema-registry-api-key",
|
|
480
|
+
display_name="env-manager-schema-registry-api-key",
|
|
481
|
+
description="Schema Registry API Key that is owned by 'env-manager' service account",
|
|
482
|
+
owner={
|
|
483
|
+
"id": env_manager["id"],
|
|
484
|
+
"api_version": env_manager["apiVersion"],
|
|
485
|
+
"kind": env_manager["kind"],
|
|
486
|
+
},
|
|
487
|
+
managed_resource={
|
|
488
|
+
"id": essentials["id"],
|
|
489
|
+
"api_version": essentials["apiVersion"],
|
|
490
|
+
"kind": essentials["kind"],
|
|
491
|
+
"environments": [{
|
|
492
|
+
"id": staging["id"],
|
|
493
|
+
}],
|
|
494
|
+
})
|
|
495
|
+
```
|
|
349
496
|
|
|
350
497
|
### Example Flink API Key
|
|
498
|
+
```python
|
|
499
|
+
import pulumi
|
|
500
|
+
import pulumi_confluentcloud as confluentcloud
|
|
501
|
+
|
|
502
|
+
env_manager_flink_api_key = confluentcloud.ApiKey("env-manager-flink-api-key",
|
|
503
|
+
display_name="env-manager-flink-api-key",
|
|
504
|
+
description="Flink API Key that is owned by 'env-manager' service account",
|
|
505
|
+
owner={
|
|
506
|
+
"id": env_manager["id"],
|
|
507
|
+
"api_version": env_manager["apiVersion"],
|
|
508
|
+
"kind": env_manager["kind"],
|
|
509
|
+
},
|
|
510
|
+
managed_resource={
|
|
511
|
+
"id": example["id"],
|
|
512
|
+
"api_version": example["apiVersion"],
|
|
513
|
+
"kind": example["kind"],
|
|
514
|
+
"environments": [{
|
|
515
|
+
"id": staging["id"],
|
|
516
|
+
}],
|
|
517
|
+
})
|
|
518
|
+
```
|
|
351
519
|
|
|
352
520
|
### Example Tableflow API Key
|
|
353
521
|
```python
|
|
@@ -248,6 +248,30 @@ class DnsForwarder(pulumi.CustomResource):
|
|
|
248
248
|
|
|
249
249
|
### Option #2: Create using ForwardViaGcpDnsZones method
|
|
250
250
|
|
|
251
|
+
```python
|
|
252
|
+
import pulumi
|
|
253
|
+
import pulumi_confluentcloud as confluentcloud
|
|
254
|
+
|
|
255
|
+
development = confluentcloud.Environment("development", display_name="Development")
|
|
256
|
+
main = confluentcloud.DnsForwarder("main",
|
|
257
|
+
display_name="dns_forwarder",
|
|
258
|
+
environment={
|
|
259
|
+
"id": development.id,
|
|
260
|
+
},
|
|
261
|
+
domains=[
|
|
262
|
+
"example.com",
|
|
263
|
+
"domainname.com",
|
|
264
|
+
],
|
|
265
|
+
gateway={
|
|
266
|
+
"id": main_confluent_network["gateway"][0]["id"],
|
|
267
|
+
},
|
|
268
|
+
forward_via_gcp_zones=[{
|
|
269
|
+
"domainMappings": {
|
|
270
|
+
"example.com": "zone-1,project-1",
|
|
271
|
+
},
|
|
272
|
+
}])
|
|
273
|
+
```
|
|
274
|
+
|
|
251
275
|
## Import
|
|
252
276
|
|
|
253
277
|
You can import a DNS Forwarder by using Environment ID and DNS Forwarder ID, in the format `<Environment ID>/<DNS Forwarder ID>`. The following example shows how to import a DNS Forwarder:
|
|
@@ -310,6 +334,30 @@ class DnsForwarder(pulumi.CustomResource):
|
|
|
310
334
|
|
|
311
335
|
### Option #2: Create using ForwardViaGcpDnsZones method
|
|
312
336
|
|
|
337
|
+
```python
|
|
338
|
+
import pulumi
|
|
339
|
+
import pulumi_confluentcloud as confluentcloud
|
|
340
|
+
|
|
341
|
+
development = confluentcloud.Environment("development", display_name="Development")
|
|
342
|
+
main = confluentcloud.DnsForwarder("main",
|
|
343
|
+
display_name="dns_forwarder",
|
|
344
|
+
environment={
|
|
345
|
+
"id": development.id,
|
|
346
|
+
},
|
|
347
|
+
domains=[
|
|
348
|
+
"example.com",
|
|
349
|
+
"domainname.com",
|
|
350
|
+
],
|
|
351
|
+
gateway={
|
|
352
|
+
"id": main_confluent_network["gateway"][0]["id"],
|
|
353
|
+
},
|
|
354
|
+
forward_via_gcp_zones=[{
|
|
355
|
+
"domainMappings": {
|
|
356
|
+
"example.com": "zone-1,project-1",
|
|
357
|
+
},
|
|
358
|
+
}])
|
|
359
|
+
```
|
|
360
|
+
|
|
313
361
|
## Import
|
|
314
362
|
|
|
315
363
|
You can import a DNS Forwarder by using Environment ID and DNS Forwarder ID, in the format `<Environment ID>/<DNS Forwarder ID>`. The following example shows how to import a DNS Forwarder:
|
|
@@ -135,6 +135,36 @@ def get_catalog_integration(credentials: Optional[Union['GetCatalogIntegrationCr
|
|
|
135
135
|
|
|
136
136
|
## Example Usage
|
|
137
137
|
|
|
138
|
+
### Option #1: Manage multiple Catalog Integrations in the same Pulumi Stack
|
|
139
|
+
|
|
140
|
+
```python
|
|
141
|
+
import pulumi
|
|
142
|
+
import pulumi_confluentcloud as confluentcloud
|
|
143
|
+
|
|
144
|
+
example = confluentcloud.get_catalog_integration(environment={
|
|
145
|
+
"id": staging["id"],
|
|
146
|
+
},
|
|
147
|
+
kafka_cluster={
|
|
148
|
+
"id": staging_confluent_kafka_cluster["id"],
|
|
149
|
+
},
|
|
150
|
+
id="tci-abc123",
|
|
151
|
+
credentials={
|
|
152
|
+
"key": env_admin_tableflow_api_key["id"],
|
|
153
|
+
"secret": env_admin_tableflow_api_key["secret"],
|
|
154
|
+
})
|
|
155
|
+
pulumi.export("retention-ms", example.retention_ms)
|
|
156
|
+
```
|
|
157
|
+
|
|
158
|
+
### Option #2: Manage a single Catalog Integration in the same Pulumi Stack
|
|
159
|
+
|
|
160
|
+
```python
|
|
161
|
+
import pulumi
|
|
162
|
+
import pulumi_confluentcloud as confluentcloud
|
|
163
|
+
|
|
164
|
+
example = confluentcloud.get_catalog_integration(id="tci-abc123")
|
|
165
|
+
pulumi.export("retention-ms", example.retention_ms)
|
|
166
|
+
```
|
|
167
|
+
|
|
138
168
|
|
|
139
169
|
:param _builtins.str id: The ID of the Catalog Integration, for example, `tci-abc123`.
|
|
140
170
|
"""
|
|
@@ -167,6 +197,36 @@ def get_catalog_integration_output(credentials: Optional[pulumi.Input[Optional[U
|
|
|
167
197
|
|
|
168
198
|
## Example Usage
|
|
169
199
|
|
|
200
|
+
### Option #1: Manage multiple Catalog Integrations in the same Pulumi Stack
|
|
201
|
+
|
|
202
|
+
```python
|
|
203
|
+
import pulumi
|
|
204
|
+
import pulumi_confluentcloud as confluentcloud
|
|
205
|
+
|
|
206
|
+
example = confluentcloud.get_catalog_integration(environment={
|
|
207
|
+
"id": staging["id"],
|
|
208
|
+
},
|
|
209
|
+
kafka_cluster={
|
|
210
|
+
"id": staging_confluent_kafka_cluster["id"],
|
|
211
|
+
},
|
|
212
|
+
id="tci-abc123",
|
|
213
|
+
credentials={
|
|
214
|
+
"key": env_admin_tableflow_api_key["id"],
|
|
215
|
+
"secret": env_admin_tableflow_api_key["secret"],
|
|
216
|
+
})
|
|
217
|
+
pulumi.export("retention-ms", example.retention_ms)
|
|
218
|
+
```
|
|
219
|
+
|
|
220
|
+
### Option #2: Manage a single Catalog Integration in the same Pulumi Stack
|
|
221
|
+
|
|
222
|
+
```python
|
|
223
|
+
import pulumi
|
|
224
|
+
import pulumi_confluentcloud as confluentcloud
|
|
225
|
+
|
|
226
|
+
example = confluentcloud.get_catalog_integration(id="tci-abc123")
|
|
227
|
+
pulumi.export("retention-ms", example.retention_ms)
|
|
228
|
+
```
|
|
229
|
+
|
|
170
230
|
|
|
171
231
|
:param _builtins.str id: The ID of the Catalog Integration, for example, `tci-abc123`.
|
|
172
232
|
"""
|
|
@@ -0,0 +1,136 @@
|
|
|
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
|
+
'GetKafkaClustersResult',
|
|
21
|
+
'AwaitableGetKafkaClustersResult',
|
|
22
|
+
'get_kafka_clusters',
|
|
23
|
+
'get_kafka_clusters_output',
|
|
24
|
+
]
|
|
25
|
+
|
|
26
|
+
@pulumi.output_type
|
|
27
|
+
class GetKafkaClustersResult:
|
|
28
|
+
"""
|
|
29
|
+
A collection of values returned by getKafkaClusters.
|
|
30
|
+
"""
|
|
31
|
+
def __init__(__self__, clusters=None, environment=None, id=None):
|
|
32
|
+
if clusters and not isinstance(clusters, list):
|
|
33
|
+
raise TypeError("Expected argument 'clusters' to be a list")
|
|
34
|
+
pulumi.set(__self__, "clusters", clusters)
|
|
35
|
+
if environment and not isinstance(environment, dict):
|
|
36
|
+
raise TypeError("Expected argument 'environment' to be a dict")
|
|
37
|
+
pulumi.set(__self__, "environment", environment)
|
|
38
|
+
if id and not isinstance(id, str):
|
|
39
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
40
|
+
pulumi.set(__self__, "id", id)
|
|
41
|
+
|
|
42
|
+
@_builtins.property
|
|
43
|
+
@pulumi.getter
|
|
44
|
+
def clusters(self) -> Sequence['outputs.GetKafkaClustersClusterResult']:
|
|
45
|
+
"""
|
|
46
|
+
(Required List of Object) List of Kafka clusters. Each Kafka cluster object exports the following attributes:
|
|
47
|
+
"""
|
|
48
|
+
return pulumi.get(self, "clusters")
|
|
49
|
+
|
|
50
|
+
@_builtins.property
|
|
51
|
+
@pulumi.getter
|
|
52
|
+
def environment(self) -> 'outputs.GetKafkaClustersEnvironmentResult':
|
|
53
|
+
"""
|
|
54
|
+
(Required Object) exports the following attributes:
|
|
55
|
+
"""
|
|
56
|
+
return pulumi.get(self, "environment")
|
|
57
|
+
|
|
58
|
+
@_builtins.property
|
|
59
|
+
@pulumi.getter
|
|
60
|
+
def id(self) -> _builtins.str:
|
|
61
|
+
"""
|
|
62
|
+
The provider-assigned unique ID for this managed resource.
|
|
63
|
+
"""
|
|
64
|
+
return pulumi.get(self, "id")
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
class AwaitableGetKafkaClustersResult(GetKafkaClustersResult):
|
|
68
|
+
# pylint: disable=using-constant-test
|
|
69
|
+
def __await__(self):
|
|
70
|
+
if False:
|
|
71
|
+
yield self
|
|
72
|
+
return GetKafkaClustersResult(
|
|
73
|
+
clusters=self.clusters,
|
|
74
|
+
environment=self.environment,
|
|
75
|
+
id=self.id)
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
def get_kafka_clusters(environment: Optional[Union['GetKafkaClustersEnvironmentArgs', 'GetKafkaClustersEnvironmentArgsDict']] = None,
|
|
79
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetKafkaClustersResult:
|
|
80
|
+
"""
|
|
81
|
+
[](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
|
|
82
|
+
|
|
83
|
+
`get_kafka_clusters` describes a data source for Kafka Clusters.
|
|
84
|
+
|
|
85
|
+
## Example Usage
|
|
86
|
+
|
|
87
|
+
```python
|
|
88
|
+
import pulumi
|
|
89
|
+
import pulumi_confluentcloud as confluentcloud
|
|
90
|
+
|
|
91
|
+
main = confluentcloud.get_kafka_clusters(environment={
|
|
92
|
+
"id": "env-123abc",
|
|
93
|
+
})
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
:param Union['GetKafkaClustersEnvironmentArgs', 'GetKafkaClustersEnvironmentArgsDict'] environment: (Required Object) exports the following attributes:
|
|
98
|
+
"""
|
|
99
|
+
__args__ = dict()
|
|
100
|
+
__args__['environment'] = environment
|
|
101
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
102
|
+
__ret__ = pulumi.runtime.invoke('confluentcloud:index/getKafkaClusters:getKafkaClusters', __args__, opts=opts, typ=GetKafkaClustersResult).value
|
|
103
|
+
|
|
104
|
+
return AwaitableGetKafkaClustersResult(
|
|
105
|
+
clusters=pulumi.get(__ret__, 'clusters'),
|
|
106
|
+
environment=pulumi.get(__ret__, 'environment'),
|
|
107
|
+
id=pulumi.get(__ret__, 'id'))
|
|
108
|
+
def get_kafka_clusters_output(environment: Optional[pulumi.Input[Union['GetKafkaClustersEnvironmentArgs', 'GetKafkaClustersEnvironmentArgsDict']]] = None,
|
|
109
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetKafkaClustersResult]:
|
|
110
|
+
"""
|
|
111
|
+
[](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
|
|
112
|
+
|
|
113
|
+
`get_kafka_clusters` describes a data source for Kafka Clusters.
|
|
114
|
+
|
|
115
|
+
## Example Usage
|
|
116
|
+
|
|
117
|
+
```python
|
|
118
|
+
import pulumi
|
|
119
|
+
import pulumi_confluentcloud as confluentcloud
|
|
120
|
+
|
|
121
|
+
main = confluentcloud.get_kafka_clusters(environment={
|
|
122
|
+
"id": "env-123abc",
|
|
123
|
+
})
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
:param Union['GetKafkaClustersEnvironmentArgs', 'GetKafkaClustersEnvironmentArgsDict'] environment: (Required Object) exports the following attributes:
|
|
128
|
+
"""
|
|
129
|
+
__args__ = dict()
|
|
130
|
+
__args__['environment'] = environment
|
|
131
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
132
|
+
__ret__ = pulumi.runtime.invoke_output('confluentcloud:index/getKafkaClusters:getKafkaClusters', __args__, opts=opts, typ=GetKafkaClustersResult)
|
|
133
|
+
return __ret__.apply(lambda __response__: GetKafkaClustersResult(
|
|
134
|
+
clusters=pulumi.get(__response__, 'clusters'),
|
|
135
|
+
environment=pulumi.get(__response__, 'environment'),
|
|
136
|
+
id=pulumi.get(__response__, 'id')))
|
|
@@ -73,7 +73,6 @@ class GetPrivateLinkAttachmentResult:
|
|
|
73
73
|
def azures(self) -> Sequence['outputs.GetPrivateLinkAttachmentAzureResult']:
|
|
74
74
|
"""
|
|
75
75
|
(Optional Configuration Block) supports the following:
|
|
76
|
-
- `private_link_service_alias ` - (Required String) Azure Private Link service alias for the availability zone.
|
|
77
76
|
"""
|
|
78
77
|
return pulumi.get(self, "azures")
|
|
79
78
|
|
|
@@ -0,0 +1,142 @@
|
|
|
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
|
+
'GetProviderIntegrationAuthorizationResult',
|
|
21
|
+
'AwaitableGetProviderIntegrationAuthorizationResult',
|
|
22
|
+
'get_provider_integration_authorization',
|
|
23
|
+
'get_provider_integration_authorization_output',
|
|
24
|
+
]
|
|
25
|
+
|
|
26
|
+
@pulumi.output_type
|
|
27
|
+
class GetProviderIntegrationAuthorizationResult:
|
|
28
|
+
"""
|
|
29
|
+
A collection of values returned by getProviderIntegrationAuthorization.
|
|
30
|
+
"""
|
|
31
|
+
def __init__(__self__, azures=None, environment=None, gcps=None, id=None, provider_integration_id=None):
|
|
32
|
+
if azures and not isinstance(azures, list):
|
|
33
|
+
raise TypeError("Expected argument 'azures' to be a list")
|
|
34
|
+
pulumi.set(__self__, "azures", azures)
|
|
35
|
+
if environment and not isinstance(environment, dict):
|
|
36
|
+
raise TypeError("Expected argument 'environment' to be a dict")
|
|
37
|
+
pulumi.set(__self__, "environment", environment)
|
|
38
|
+
if gcps and not isinstance(gcps, list):
|
|
39
|
+
raise TypeError("Expected argument 'gcps' to be a list")
|
|
40
|
+
pulumi.set(__self__, "gcps", gcps)
|
|
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 provider_integration_id and not isinstance(provider_integration_id, str):
|
|
45
|
+
raise TypeError("Expected argument 'provider_integration_id' to be a str")
|
|
46
|
+
pulumi.set(__self__, "provider_integration_id", provider_integration_id)
|
|
47
|
+
|
|
48
|
+
@_builtins.property
|
|
49
|
+
@pulumi.getter
|
|
50
|
+
def azures(self) -> Sequence['outputs.GetProviderIntegrationAuthorizationAzureResult']:
|
|
51
|
+
"""
|
|
52
|
+
(Optional Configuration Block) Azure-specific configuration details. Present for Azure integrations. It supports the following:
|
|
53
|
+
"""
|
|
54
|
+
return pulumi.get(self, "azures")
|
|
55
|
+
|
|
56
|
+
@_builtins.property
|
|
57
|
+
@pulumi.getter
|
|
58
|
+
def environment(self) -> 'outputs.GetProviderIntegrationAuthorizationEnvironmentResult':
|
|
59
|
+
"""
|
|
60
|
+
(Required Configuration Block) supports the following:
|
|
61
|
+
"""
|
|
62
|
+
return pulumi.get(self, "environment")
|
|
63
|
+
|
|
64
|
+
@_builtins.property
|
|
65
|
+
@pulumi.getter
|
|
66
|
+
def gcps(self) -> Sequence['outputs.GetProviderIntegrationAuthorizationGcpResult']:
|
|
67
|
+
"""
|
|
68
|
+
(Optional Configuration Block) GCP-specific configuration details. Present for GCP integrations. It supports the following:
|
|
69
|
+
"""
|
|
70
|
+
return pulumi.get(self, "gcps")
|
|
71
|
+
|
|
72
|
+
@_builtins.property
|
|
73
|
+
@pulumi.getter
|
|
74
|
+
def id(self) -> _builtins.str:
|
|
75
|
+
"""
|
|
76
|
+
(Required String) The ID of the Environment that the Provider Integration belongs to, for example, `env-abc123`.
|
|
77
|
+
"""
|
|
78
|
+
return pulumi.get(self, "id")
|
|
79
|
+
|
|
80
|
+
@_builtins.property
|
|
81
|
+
@pulumi.getter(name="providerIntegrationId")
|
|
82
|
+
def provider_integration_id(self) -> _builtins.str:
|
|
83
|
+
"""
|
|
84
|
+
(Required String) The ID of the provider integration.
|
|
85
|
+
"""
|
|
86
|
+
return pulumi.get(self, "provider_integration_id")
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
class AwaitableGetProviderIntegrationAuthorizationResult(GetProviderIntegrationAuthorizationResult):
|
|
90
|
+
# pylint: disable=using-constant-test
|
|
91
|
+
def __await__(self):
|
|
92
|
+
if False:
|
|
93
|
+
yield self
|
|
94
|
+
return GetProviderIntegrationAuthorizationResult(
|
|
95
|
+
azures=self.azures,
|
|
96
|
+
environment=self.environment,
|
|
97
|
+
gcps=self.gcps,
|
|
98
|
+
id=self.id,
|
|
99
|
+
provider_integration_id=self.provider_integration_id)
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
def get_provider_integration_authorization(environment: Optional[Union['GetProviderIntegrationAuthorizationEnvironmentArgs', 'GetProviderIntegrationAuthorizationEnvironmentArgsDict']] = None,
|
|
103
|
+
id: Optional[_builtins.str] = None,
|
|
104
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetProviderIntegrationAuthorizationResult:
|
|
105
|
+
"""
|
|
106
|
+
Use this data source to access information about an existing resource.
|
|
107
|
+
|
|
108
|
+
:param Union['GetProviderIntegrationAuthorizationEnvironmentArgs', 'GetProviderIntegrationAuthorizationEnvironmentArgsDict'] environment: (Required Configuration Block) supports the following:
|
|
109
|
+
:param _builtins.str id: The ID of the Provider Integration Authorization, for example, `cspi-4xg0q`.
|
|
110
|
+
"""
|
|
111
|
+
__args__ = dict()
|
|
112
|
+
__args__['environment'] = environment
|
|
113
|
+
__args__['id'] = id
|
|
114
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
115
|
+
__ret__ = pulumi.runtime.invoke('confluentcloud:index/getProviderIntegrationAuthorization:getProviderIntegrationAuthorization', __args__, opts=opts, typ=GetProviderIntegrationAuthorizationResult).value
|
|
116
|
+
|
|
117
|
+
return AwaitableGetProviderIntegrationAuthorizationResult(
|
|
118
|
+
azures=pulumi.get(__ret__, 'azures'),
|
|
119
|
+
environment=pulumi.get(__ret__, 'environment'),
|
|
120
|
+
gcps=pulumi.get(__ret__, 'gcps'),
|
|
121
|
+
id=pulumi.get(__ret__, 'id'),
|
|
122
|
+
provider_integration_id=pulumi.get(__ret__, 'provider_integration_id'))
|
|
123
|
+
def get_provider_integration_authorization_output(environment: Optional[pulumi.Input[Union['GetProviderIntegrationAuthorizationEnvironmentArgs', 'GetProviderIntegrationAuthorizationEnvironmentArgsDict']]] = None,
|
|
124
|
+
id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
125
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetProviderIntegrationAuthorizationResult]:
|
|
126
|
+
"""
|
|
127
|
+
Use this data source to access information about an existing resource.
|
|
128
|
+
|
|
129
|
+
:param Union['GetProviderIntegrationAuthorizationEnvironmentArgs', 'GetProviderIntegrationAuthorizationEnvironmentArgsDict'] environment: (Required Configuration Block) supports the following:
|
|
130
|
+
:param _builtins.str id: The ID of the Provider Integration Authorization, for example, `cspi-4xg0q`.
|
|
131
|
+
"""
|
|
132
|
+
__args__ = dict()
|
|
133
|
+
__args__['environment'] = environment
|
|
134
|
+
__args__['id'] = id
|
|
135
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
136
|
+
__ret__ = pulumi.runtime.invoke_output('confluentcloud:index/getProviderIntegrationAuthorization:getProviderIntegrationAuthorization', __args__, opts=opts, typ=GetProviderIntegrationAuthorizationResult)
|
|
137
|
+
return __ret__.apply(lambda __response__: GetProviderIntegrationAuthorizationResult(
|
|
138
|
+
azures=pulumi.get(__response__, 'azures'),
|
|
139
|
+
environment=pulumi.get(__response__, 'environment'),
|
|
140
|
+
gcps=pulumi.get(__response__, 'gcps'),
|
|
141
|
+
id=pulumi.get(__response__, 'id'),
|
|
142
|
+
provider_integration_id=pulumi.get(__response__, 'provider_integration_id')))
|