pulumi-confluentcloud 2.50.0a1763185030__py3-none-any.whl → 2.51.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.
@@ -54,6 +54,7 @@ from .get_ip_filter import *
54
54
  from .get_ip_group import *
55
55
  from .get_kafka_client_quota import *
56
56
  from .get_kafka_cluster import *
57
+ from .get_kafka_clusters import *
57
58
  from .get_kafka_topic import *
58
59
  from .get_ksql_cluster import *
59
60
  from .get_network import *
@@ -65,6 +66,8 @@ from .get_private_link_access import *
65
66
  from .get_private_link_attachment import *
66
67
  from .get_private_link_attachment_connection import *
67
68
  from .get_provider_integration import *
69
+ from .get_provider_integration_authorization import *
70
+ from .get_provider_integration_setup import *
68
71
  from .get_role_binding import *
69
72
  from .get_schema import *
70
73
  from .get_schema_registry_cluster import *
@@ -106,6 +109,8 @@ from .private_link_attachment import *
106
109
  from .private_link_attachment_connection import *
107
110
  from .provider import *
108
111
  from .provider_integration import *
112
+ from .provider_integration_authorization import *
113
+ from .provider_integration_setup import *
109
114
  from .role_binding import *
110
115
  from .schema import *
111
116
  from .schema_exporter import *
@@ -486,6 +491,22 @@ _utilities.register(
486
491
  "confluentcloud:index/providerIntegration:ProviderIntegration": "ProviderIntegration"
487
492
  }
488
493
  },
494
+ {
495
+ "pkg": "confluentcloud",
496
+ "mod": "index/providerIntegrationAuthorization",
497
+ "fqn": "pulumi_confluentcloud",
498
+ "classes": {
499
+ "confluentcloud:index/providerIntegrationAuthorization:ProviderIntegrationAuthorization": "ProviderIntegrationAuthorization"
500
+ }
501
+ },
502
+ {
503
+ "pkg": "confluentcloud",
504
+ "mod": "index/providerIntegrationSetup",
505
+ "fqn": "pulumi_confluentcloud",
506
+ "classes": {
507
+ "confluentcloud:index/providerIntegrationSetup:ProviderIntegrationSetup": "ProviderIntegrationSetup"
508
+ }
509
+ },
489
510
  {
490
511
  "pkg": "confluentcloud",
491
512
  "mod": "index/roleBinding",
@@ -265,10 +265,18 @@ __all__ = [
265
265
  'PrivateLinkAttachmentEnvironmentArgsDict',
266
266
  'PrivateLinkAttachmentGcpArgs',
267
267
  'PrivateLinkAttachmentGcpArgsDict',
268
+ 'ProviderIntegrationAuthorizationAzureArgs',
269
+ 'ProviderIntegrationAuthorizationAzureArgsDict',
270
+ 'ProviderIntegrationAuthorizationEnvironmentArgs',
271
+ 'ProviderIntegrationAuthorizationEnvironmentArgsDict',
272
+ 'ProviderIntegrationAuthorizationGcpArgs',
273
+ 'ProviderIntegrationAuthorizationGcpArgsDict',
268
274
  'ProviderIntegrationAwsArgs',
269
275
  'ProviderIntegrationAwsArgsDict',
270
276
  'ProviderIntegrationEnvironmentArgs',
271
277
  'ProviderIntegrationEnvironmentArgsDict',
278
+ 'ProviderIntegrationSetupEnvironmentArgs',
279
+ 'ProviderIntegrationSetupEnvironmentArgsDict',
272
280
  'ProviderOauthArgs',
273
281
  'ProviderOauthArgsDict',
274
282
  'SchemaCredentialsArgs',
@@ -407,6 +415,8 @@ __all__ = [
407
415
  'GetKafkaClusterFreightArgsDict',
408
416
  'GetKafkaClusterStandardArgs',
409
417
  'GetKafkaClusterStandardArgsDict',
418
+ 'GetKafkaClustersEnvironmentArgs',
419
+ 'GetKafkaClustersEnvironmentArgsDict',
410
420
  'GetKafkaTopicCredentialsArgs',
411
421
  'GetKafkaTopicCredentialsArgsDict',
412
422
  'GetKafkaTopicKafkaClusterArgs',
@@ -437,8 +447,12 @@ __all__ = [
437
447
  'GetPrivateLinkAttachmentConnectionEnvironmentArgsDict',
438
448
  'GetPrivateLinkAttachmentEnvironmentArgs',
439
449
  'GetPrivateLinkAttachmentEnvironmentArgsDict',
450
+ 'GetProviderIntegrationAuthorizationEnvironmentArgs',
451
+ 'GetProviderIntegrationAuthorizationEnvironmentArgsDict',
440
452
  'GetProviderIntegrationEnvironmentArgs',
441
453
  'GetProviderIntegrationEnvironmentArgsDict',
454
+ 'GetProviderIntegrationSetupEnvironmentArgs',
455
+ 'GetProviderIntegrationSetupEnvironmentArgsDict',
442
456
  'GetSchemaCredentialsArgs',
443
457
  'GetSchemaCredentialsArgsDict',
444
458
  'GetSchemaMetadataArgs',
@@ -6109,6 +6123,145 @@ class PrivateLinkAttachmentGcpArgs:
6109
6123
  pulumi.set(self, "private_service_connect_service_attachment", value)
6110
6124
 
6111
6125
 
6126
+ if not MYPY:
6127
+ class ProviderIntegrationAuthorizationAzureArgsDict(TypedDict):
6128
+ customer_azure_tenant_id: pulumi.Input[_builtins.str]
6129
+ """
6130
+ Customer's Azure Tenant ID.
6131
+ """
6132
+ confluent_multi_tenant_app_id: NotRequired[pulumi.Input[_builtins.str]]
6133
+ """
6134
+ (Computed String) Confluent Multi-Tenant App ID used to access customer Azure resources.
6135
+ """
6136
+ elif False:
6137
+ ProviderIntegrationAuthorizationAzureArgsDict: TypeAlias = Mapping[str, Any]
6138
+
6139
+ @pulumi.input_type
6140
+ class ProviderIntegrationAuthorizationAzureArgs:
6141
+ def __init__(__self__, *,
6142
+ customer_azure_tenant_id: pulumi.Input[_builtins.str],
6143
+ confluent_multi_tenant_app_id: Optional[pulumi.Input[_builtins.str]] = None):
6144
+ """
6145
+ :param pulumi.Input[_builtins.str] customer_azure_tenant_id: Customer's Azure Tenant ID.
6146
+ :param pulumi.Input[_builtins.str] confluent_multi_tenant_app_id: (Computed String) Confluent Multi-Tenant App ID used to access customer Azure resources.
6147
+ """
6148
+ pulumi.set(__self__, "customer_azure_tenant_id", customer_azure_tenant_id)
6149
+ if confluent_multi_tenant_app_id is not None:
6150
+ pulumi.set(__self__, "confluent_multi_tenant_app_id", confluent_multi_tenant_app_id)
6151
+
6152
+ @_builtins.property
6153
+ @pulumi.getter(name="customerAzureTenantId")
6154
+ def customer_azure_tenant_id(self) -> pulumi.Input[_builtins.str]:
6155
+ """
6156
+ Customer's Azure Tenant ID.
6157
+ """
6158
+ return pulumi.get(self, "customer_azure_tenant_id")
6159
+
6160
+ @customer_azure_tenant_id.setter
6161
+ def customer_azure_tenant_id(self, value: pulumi.Input[_builtins.str]):
6162
+ pulumi.set(self, "customer_azure_tenant_id", value)
6163
+
6164
+ @_builtins.property
6165
+ @pulumi.getter(name="confluentMultiTenantAppId")
6166
+ def confluent_multi_tenant_app_id(self) -> Optional[pulumi.Input[_builtins.str]]:
6167
+ """
6168
+ (Computed String) Confluent Multi-Tenant App ID used to access customer Azure resources.
6169
+ """
6170
+ return pulumi.get(self, "confluent_multi_tenant_app_id")
6171
+
6172
+ @confluent_multi_tenant_app_id.setter
6173
+ def confluent_multi_tenant_app_id(self, value: Optional[pulumi.Input[_builtins.str]]):
6174
+ pulumi.set(self, "confluent_multi_tenant_app_id", value)
6175
+
6176
+
6177
+ if not MYPY:
6178
+ class ProviderIntegrationAuthorizationEnvironmentArgsDict(TypedDict):
6179
+ id: pulumi.Input[_builtins.str]
6180
+ """
6181
+ The ID of the Environment that the Provider Integration belongs to, for example, `env-abc123`.
6182
+ """
6183
+ elif False:
6184
+ ProviderIntegrationAuthorizationEnvironmentArgsDict: TypeAlias = Mapping[str, Any]
6185
+
6186
+ @pulumi.input_type
6187
+ class ProviderIntegrationAuthorizationEnvironmentArgs:
6188
+ def __init__(__self__, *,
6189
+ id: pulumi.Input[_builtins.str]):
6190
+ """
6191
+ :param pulumi.Input[_builtins.str] id: The ID of the Environment that the Provider Integration belongs to, for example, `env-abc123`.
6192
+ """
6193
+ pulumi.set(__self__, "id", id)
6194
+
6195
+ @_builtins.property
6196
+ @pulumi.getter
6197
+ def id(self) -> pulumi.Input[_builtins.str]:
6198
+ """
6199
+ The ID of the Environment that the Provider Integration belongs to, for example, `env-abc123`.
6200
+ """
6201
+ return pulumi.get(self, "id")
6202
+
6203
+ @id.setter
6204
+ def id(self, value: pulumi.Input[_builtins.str]):
6205
+ pulumi.set(self, "id", value)
6206
+
6207
+
6208
+ if not MYPY:
6209
+ class ProviderIntegrationAuthorizationGcpArgsDict(TypedDict):
6210
+ customer_google_service_account: pulumi.Input[_builtins.str]
6211
+ """
6212
+ Customer's Google Service Account that Confluent Cloud impersonates.
6213
+
6214
+ > **Note:** Exactly one of `azure` or `gcp` configuration blocks must be provided, matching the cloud provider of the associated provider integration.
6215
+ """
6216
+ google_service_account: NotRequired[pulumi.Input[_builtins.str]]
6217
+ """
6218
+ (Computed String) Google Service Account that Confluent Cloud uses for impersonation.
6219
+ """
6220
+ elif False:
6221
+ ProviderIntegrationAuthorizationGcpArgsDict: TypeAlias = Mapping[str, Any]
6222
+
6223
+ @pulumi.input_type
6224
+ class ProviderIntegrationAuthorizationGcpArgs:
6225
+ def __init__(__self__, *,
6226
+ customer_google_service_account: pulumi.Input[_builtins.str],
6227
+ google_service_account: Optional[pulumi.Input[_builtins.str]] = None):
6228
+ """
6229
+ :param pulumi.Input[_builtins.str] customer_google_service_account: Customer's Google Service Account that Confluent Cloud impersonates.
6230
+
6231
+ > **Note:** Exactly one of `azure` or `gcp` configuration blocks must be provided, matching the cloud provider of the associated provider integration.
6232
+ :param pulumi.Input[_builtins.str] google_service_account: (Computed String) Google Service Account that Confluent Cloud uses for impersonation.
6233
+ """
6234
+ pulumi.set(__self__, "customer_google_service_account", customer_google_service_account)
6235
+ if google_service_account is not None:
6236
+ pulumi.set(__self__, "google_service_account", google_service_account)
6237
+
6238
+ @_builtins.property
6239
+ @pulumi.getter(name="customerGoogleServiceAccount")
6240
+ def customer_google_service_account(self) -> pulumi.Input[_builtins.str]:
6241
+ """
6242
+ Customer's Google Service Account that Confluent Cloud impersonates.
6243
+
6244
+ > **Note:** Exactly one of `azure` or `gcp` configuration blocks must be provided, matching the cloud provider of the associated provider integration.
6245
+ """
6246
+ return pulumi.get(self, "customer_google_service_account")
6247
+
6248
+ @customer_google_service_account.setter
6249
+ def customer_google_service_account(self, value: pulumi.Input[_builtins.str]):
6250
+ pulumi.set(self, "customer_google_service_account", value)
6251
+
6252
+ @_builtins.property
6253
+ @pulumi.getter(name="googleServiceAccount")
6254
+ def google_service_account(self) -> Optional[pulumi.Input[_builtins.str]]:
6255
+ """
6256
+ (Computed String) Google Service Account that Confluent Cloud uses for impersonation.
6257
+ """
6258
+ return pulumi.get(self, "google_service_account")
6259
+
6260
+ @google_service_account.setter
6261
+ def google_service_account(self, value: Optional[pulumi.Input[_builtins.str]]):
6262
+ pulumi.set(self, "google_service_account", value)
6263
+
6264
+
6112
6265
  if not MYPY:
6113
6266
  class ProviderIntegrationAwsArgsDict(TypedDict):
6114
6267
  customer_role_arn: pulumi.Input[_builtins.str]
@@ -6223,6 +6376,37 @@ class ProviderIntegrationEnvironmentArgs:
6223
6376
  pulumi.set(self, "id", value)
6224
6377
 
6225
6378
 
6379
+ if not MYPY:
6380
+ class ProviderIntegrationSetupEnvironmentArgsDict(TypedDict):
6381
+ id: pulumi.Input[_builtins.str]
6382
+ """
6383
+ The ID of the Environment that the Provider Integration belongs to, for example, `env-abc123`.
6384
+ """
6385
+ elif False:
6386
+ ProviderIntegrationSetupEnvironmentArgsDict: TypeAlias = Mapping[str, Any]
6387
+
6388
+ @pulumi.input_type
6389
+ class ProviderIntegrationSetupEnvironmentArgs:
6390
+ def __init__(__self__, *,
6391
+ id: pulumi.Input[_builtins.str]):
6392
+ """
6393
+ :param pulumi.Input[_builtins.str] id: The ID of the Environment that the Provider Integration belongs to, for example, `env-abc123`.
6394
+ """
6395
+ pulumi.set(__self__, "id", id)
6396
+
6397
+ @_builtins.property
6398
+ @pulumi.getter
6399
+ def id(self) -> pulumi.Input[_builtins.str]:
6400
+ """
6401
+ The ID of the Environment that the Provider Integration belongs to, for example, `env-abc123`.
6402
+ """
6403
+ return pulumi.get(self, "id")
6404
+
6405
+ @id.setter
6406
+ def id(self, value: pulumi.Input[_builtins.str]):
6407
+ pulumi.set(self, "id", value)
6408
+
6409
+
6226
6410
  if not MYPY:
6227
6411
  class ProviderOauthArgsDict(TypedDict):
6228
6412
  oauth_identity_pool_id: pulumi.Input[_builtins.str]
@@ -9430,6 +9614,37 @@ class GetKafkaClusterStandardArgs:
9430
9614
  pass
9431
9615
 
9432
9616
 
9617
+ if not MYPY:
9618
+ class GetKafkaClustersEnvironmentArgsDict(TypedDict):
9619
+ id: _builtins.str
9620
+ """
9621
+ The ID of the Environment that the Kafka clusters belongs to, for example, `env-xyz456`.
9622
+ """
9623
+ elif False:
9624
+ GetKafkaClustersEnvironmentArgsDict: TypeAlias = Mapping[str, Any]
9625
+
9626
+ @pulumi.input_type
9627
+ class GetKafkaClustersEnvironmentArgs:
9628
+ def __init__(__self__, *,
9629
+ id: _builtins.str):
9630
+ """
9631
+ :param _builtins.str id: The ID of the Environment that the Kafka clusters belongs to, for example, `env-xyz456`.
9632
+ """
9633
+ pulumi.set(__self__, "id", id)
9634
+
9635
+ @_builtins.property
9636
+ @pulumi.getter
9637
+ def id(self) -> _builtins.str:
9638
+ """
9639
+ The ID of the Environment that the Kafka clusters belongs to, for example, `env-xyz456`.
9640
+ """
9641
+ return pulumi.get(self, "id")
9642
+
9643
+ @id.setter
9644
+ def id(self, value: _builtins.str):
9645
+ pulumi.set(self, "id", value)
9646
+
9647
+
9433
9648
  if not MYPY:
9434
9649
  class GetKafkaTopicCredentialsArgsDict(TypedDict):
9435
9650
  key: _builtins.str
@@ -10045,6 +10260,37 @@ class GetPrivateLinkAttachmentEnvironmentArgs:
10045
10260
  pulumi.set(self, "id", value)
10046
10261
 
10047
10262
 
10263
+ if not MYPY:
10264
+ class GetProviderIntegrationAuthorizationEnvironmentArgsDict(TypedDict):
10265
+ id: _builtins.str
10266
+ """
10267
+ The ID of the Environment that the Provider Integration belongs to, for example, `env-abc123`.
10268
+ """
10269
+ elif False:
10270
+ GetProviderIntegrationAuthorizationEnvironmentArgsDict: TypeAlias = Mapping[str, Any]
10271
+
10272
+ @pulumi.input_type
10273
+ class GetProviderIntegrationAuthorizationEnvironmentArgs:
10274
+ def __init__(__self__, *,
10275
+ id: _builtins.str):
10276
+ """
10277
+ :param _builtins.str id: The ID of the Environment that the Provider Integration belongs to, for example, `env-abc123`.
10278
+ """
10279
+ pulumi.set(__self__, "id", id)
10280
+
10281
+ @_builtins.property
10282
+ @pulumi.getter
10283
+ def id(self) -> _builtins.str:
10284
+ """
10285
+ The ID of the Environment that the Provider Integration belongs to, for example, `env-abc123`.
10286
+ """
10287
+ return pulumi.get(self, "id")
10288
+
10289
+ @id.setter
10290
+ def id(self, value: _builtins.str):
10291
+ pulumi.set(self, "id", value)
10292
+
10293
+
10048
10294
  if not MYPY:
10049
10295
  class GetProviderIntegrationEnvironmentArgsDict(TypedDict):
10050
10296
  id: _builtins.str
@@ -10082,6 +10328,37 @@ class GetProviderIntegrationEnvironmentArgs:
10082
10328
  pulumi.set(self, "id", value)
10083
10329
 
10084
10330
 
10331
+ if not MYPY:
10332
+ class GetProviderIntegrationSetupEnvironmentArgsDict(TypedDict):
10333
+ id: _builtins.str
10334
+ """
10335
+ The ID of the Environment that the Provider Integration belongs to, for example, `env-abc123`.
10336
+ """
10337
+ elif False:
10338
+ GetProviderIntegrationSetupEnvironmentArgsDict: TypeAlias = Mapping[str, Any]
10339
+
10340
+ @pulumi.input_type
10341
+ class GetProviderIntegrationSetupEnvironmentArgs:
10342
+ def __init__(__self__, *,
10343
+ id: _builtins.str):
10344
+ """
10345
+ :param _builtins.str id: The ID of the Environment that the Provider Integration belongs to, for example, `env-abc123`.
10346
+ """
10347
+ pulumi.set(__self__, "id", id)
10348
+
10349
+ @_builtins.property
10350
+ @pulumi.getter
10351
+ def id(self) -> _builtins.str:
10352
+ """
10353
+ The ID of the Environment that the Provider Integration belongs to, for example, `env-abc123`.
10354
+ """
10355
+ return pulumi.get(self, "id")
10356
+
10357
+ @id.setter
10358
+ def id(self, value: _builtins.str):
10359
+ pulumi.set(self, "id", value)
10360
+
10361
+
10085
10362
  if not MYPY:
10086
10363
  class GetSchemaCredentialsArgsDict(TypedDict):
10087
10364
  key: _builtins.str
@@ -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
+ [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](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
+ [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](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')))
@@ -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')))