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
|
@@ -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')))
|
|
@@ -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
|
|
@@ -40,30 +40,30 @@ class GetRoleBindingResult:
|
|
|
40
40
|
raise TypeError("Expected argument 'role_name' to be a str")
|
|
41
41
|
pulumi.set(__self__, "role_name", role_name)
|
|
42
42
|
|
|
43
|
-
@property
|
|
43
|
+
@_builtins.property
|
|
44
44
|
@pulumi.getter(name="crnPattern")
|
|
45
|
-
def crn_pattern(self) -> str:
|
|
45
|
+
def crn_pattern(self) -> _builtins.str:
|
|
46
46
|
"""
|
|
47
47
|
(Required String) A [Confluent Resource Name(CRN)](https://docs.confluent.io/cloud/current/api.html#section/Identifiers-and-URLs/Confluent-Resource-Names-(CRNs)) that specifies the scope and resource patterns necessary for the role to bind.
|
|
48
48
|
"""
|
|
49
49
|
return pulumi.get(self, "crn_pattern")
|
|
50
50
|
|
|
51
|
-
@property
|
|
51
|
+
@_builtins.property
|
|
52
52
|
@pulumi.getter
|
|
53
|
-
def id(self) -> str:
|
|
53
|
+
def id(self) -> _builtins.str:
|
|
54
54
|
return pulumi.get(self, "id")
|
|
55
55
|
|
|
56
|
-
@property
|
|
56
|
+
@_builtins.property
|
|
57
57
|
@pulumi.getter
|
|
58
|
-
def principal(self) -> str:
|
|
58
|
+
def principal(self) -> _builtins.str:
|
|
59
59
|
"""
|
|
60
60
|
(Required String) A principal User to bind the role to, for example, "User:u-111aaa" for binding to a user "u-111aaa", or "User:sa-111aaa" for binding to a service account "sa-111aaa".
|
|
61
61
|
"""
|
|
62
62
|
return pulumi.get(self, "principal")
|
|
63
63
|
|
|
64
|
-
@property
|
|
64
|
+
@_builtins.property
|
|
65
65
|
@pulumi.getter(name="roleName")
|
|
66
|
-
def role_name(self) -> str:
|
|
66
|
+
def role_name(self) -> _builtins.str:
|
|
67
67
|
"""
|
|
68
68
|
(Required String) A name of the role to bind to the principal. See [Confluent Cloud RBAC Roles](https://docs.confluent.io/cloud/current/access-management/access-control/cloud-rbac.html#ccloud-rbac-roles) for a full list of supported role names.
|
|
69
69
|
"""
|
|
@@ -82,7 +82,7 @@ class AwaitableGetRoleBindingResult(GetRoleBindingResult):
|
|
|
82
82
|
role_name=self.role_name)
|
|
83
83
|
|
|
84
84
|
|
|
85
|
-
def get_role_binding(id: Optional[str] = None,
|
|
85
|
+
def get_role_binding(id: Optional[_builtins.str] = None,
|
|
86
86
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetRoleBindingResult:
|
|
87
87
|
"""
|
|
88
88
|
[](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
|
|
@@ -102,7 +102,7 @@ def get_role_binding(id: Optional[str] = None,
|
|
|
102
102
|
```
|
|
103
103
|
|
|
104
104
|
|
|
105
|
-
:param str id: The ID of the Role Binding (for example, `rb-abc123`).
|
|
105
|
+
:param _builtins.str id: The ID of the Role Binding (for example, `rb-abc123`).
|
|
106
106
|
"""
|
|
107
107
|
__args__ = dict()
|
|
108
108
|
__args__['id'] = id
|
|
@@ -114,8 +114,8 @@ def get_role_binding(id: Optional[str] = None,
|
|
|
114
114
|
id=pulumi.get(__ret__, 'id'),
|
|
115
115
|
principal=pulumi.get(__ret__, 'principal'),
|
|
116
116
|
role_name=pulumi.get(__ret__, 'role_name'))
|
|
117
|
-
def get_role_binding_output(id: Optional[pulumi.Input[str]] = None,
|
|
118
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRoleBindingResult]:
|
|
117
|
+
def get_role_binding_output(id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
118
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetRoleBindingResult]:
|
|
119
119
|
"""
|
|
120
120
|
[](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
|
|
121
121
|
|
|
@@ -134,11 +134,11 @@ def get_role_binding_output(id: Optional[pulumi.Input[str]] = None,
|
|
|
134
134
|
```
|
|
135
135
|
|
|
136
136
|
|
|
137
|
-
:param str id: The ID of the Role Binding (for example, `rb-abc123`).
|
|
137
|
+
:param _builtins.str id: The ID of the Role Binding (for example, `rb-abc123`).
|
|
138
138
|
"""
|
|
139
139
|
__args__ = dict()
|
|
140
140
|
__args__['id'] = id
|
|
141
|
-
opts = pulumi.
|
|
141
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
142
142
|
__ret__ = pulumi.runtime.invoke_output('confluentcloud:index/getRoleBinding:getRoleBinding', __args__, opts=opts, typ=GetRoleBindingResult)
|
|
143
143
|
return __ret__.apply(lambda __response__: GetRoleBindingResult(
|
|
144
144
|
crn_pattern=pulumi.get(__response__, 'crn_pattern'),
|
|
@@ -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
|
|
@@ -75,33 +75,33 @@ class GetSchemaResult:
|
|
|
75
75
|
raise TypeError("Expected argument 'version' to be a int")
|
|
76
76
|
pulumi.set(__self__, "version", version)
|
|
77
77
|
|
|
78
|
-
@property
|
|
78
|
+
@_builtins.property
|
|
79
79
|
@pulumi.getter
|
|
80
80
|
def credentials(self) -> Optional['outputs.GetSchemaCredentialsResult']:
|
|
81
81
|
return pulumi.get(self, "credentials")
|
|
82
82
|
|
|
83
|
-
@property
|
|
83
|
+
@_builtins.property
|
|
84
84
|
@pulumi.getter
|
|
85
|
-
def format(self) -> str:
|
|
85
|
+
def format(self) -> _builtins.str:
|
|
86
86
|
"""
|
|
87
87
|
(Required String) The format of the schema. Accepted values are: `AVRO`, `PROTOBUF`, and `JSON`.
|
|
88
88
|
"""
|
|
89
89
|
return pulumi.get(self, "format")
|
|
90
90
|
|
|
91
|
-
@property
|
|
91
|
+
@_builtins.property
|
|
92
92
|
@pulumi.getter(name="hardDelete")
|
|
93
|
-
def hard_delete(self) -> bool:
|
|
93
|
+
def hard_delete(self) -> _builtins.bool:
|
|
94
94
|
return pulumi.get(self, "hard_delete")
|
|
95
95
|
|
|
96
|
-
@property
|
|
96
|
+
@_builtins.property
|
|
97
97
|
@pulumi.getter
|
|
98
|
-
def id(self) -> str:
|
|
98
|
+
def id(self) -> _builtins.str:
|
|
99
99
|
"""
|
|
100
100
|
The provider-assigned unique ID for this managed resource.
|
|
101
101
|
"""
|
|
102
102
|
return pulumi.get(self, "id")
|
|
103
103
|
|
|
104
|
-
@property
|
|
104
|
+
@_builtins.property
|
|
105
105
|
@pulumi.getter
|
|
106
106
|
def metadata(self) -> 'outputs.GetSchemaMetadataResult':
|
|
107
107
|
"""
|
|
@@ -109,38 +109,38 @@ class GetSchemaResult:
|
|
|
109
109
|
"""
|
|
110
110
|
return pulumi.get(self, "metadata")
|
|
111
111
|
|
|
112
|
-
@property
|
|
112
|
+
@_builtins.property
|
|
113
113
|
@pulumi.getter(name="recreateOnUpdate")
|
|
114
|
-
def recreate_on_update(self) -> bool:
|
|
114
|
+
def recreate_on_update(self) -> _builtins.bool:
|
|
115
115
|
return pulumi.get(self, "recreate_on_update")
|
|
116
116
|
|
|
117
|
-
@property
|
|
117
|
+
@_builtins.property
|
|
118
118
|
@pulumi.getter(name="restEndpoint")
|
|
119
|
-
def rest_endpoint(self) -> Optional[str]:
|
|
119
|
+
def rest_endpoint(self) -> Optional[_builtins.str]:
|
|
120
120
|
return pulumi.get(self, "rest_endpoint")
|
|
121
121
|
|
|
122
|
-
@property
|
|
122
|
+
@_builtins.property
|
|
123
123
|
@pulumi.getter
|
|
124
|
-
def ruleset(self) -> 'outputs.GetSchemaRulesetResult':
|
|
124
|
+
def ruleset(self) -> Optional['outputs.GetSchemaRulesetResult']:
|
|
125
125
|
"""
|
|
126
126
|
(Optional Block) The list of schema rules. See [Data Contracts for Schema Registry](https://docs.confluent.io/platform/7.5/schema-registry/fundamentals/data-contracts.html#rules) for more details. For example, these rules can enforce that a field that contains sensitive information must be encrypted, or that a message containing an invalid age must be sent to a dead letter queue.
|
|
127
127
|
"""
|
|
128
128
|
return pulumi.get(self, "ruleset")
|
|
129
129
|
|
|
130
|
-
@property
|
|
130
|
+
@_builtins.property
|
|
131
131
|
@pulumi.getter
|
|
132
|
-
def schema(self) -> str:
|
|
132
|
+
def schema(self) -> _builtins.str:
|
|
133
133
|
"""
|
|
134
134
|
(Required String) The schema string, for example, `file("./schema_version_1.avsc")`.
|
|
135
135
|
"""
|
|
136
136
|
return pulumi.get(self, "schema")
|
|
137
137
|
|
|
138
|
-
@property
|
|
138
|
+
@_builtins.property
|
|
139
139
|
@pulumi.getter(name="schemaIdentifier")
|
|
140
|
-
def schema_identifier(self) -> int:
|
|
140
|
+
def schema_identifier(self) -> _builtins.int:
|
|
141
141
|
return pulumi.get(self, "schema_identifier")
|
|
142
142
|
|
|
143
|
-
@property
|
|
143
|
+
@_builtins.property
|
|
144
144
|
@pulumi.getter(name="schemaReferences")
|
|
145
145
|
def schema_references(self) -> Sequence['outputs.GetSchemaSchemaReferenceResult']:
|
|
146
146
|
"""
|
|
@@ -148,27 +148,27 @@ class GetSchemaResult:
|
|
|
148
148
|
"""
|
|
149
149
|
return pulumi.get(self, "schema_references")
|
|
150
150
|
|
|
151
|
-
@property
|
|
151
|
+
@_builtins.property
|
|
152
152
|
@pulumi.getter(name="schemaRegistryCluster")
|
|
153
153
|
def schema_registry_cluster(self) -> Optional['outputs.GetSchemaSchemaRegistryClusterResult']:
|
|
154
154
|
return pulumi.get(self, "schema_registry_cluster")
|
|
155
155
|
|
|
156
|
-
@property
|
|
156
|
+
@_builtins.property
|
|
157
157
|
@pulumi.getter(name="skipValidationDuringPlan")
|
|
158
|
-
def skip_validation_during_plan(self) -> bool:
|
|
158
|
+
def skip_validation_during_plan(self) -> _builtins.bool:
|
|
159
159
|
return pulumi.get(self, "skip_validation_during_plan")
|
|
160
160
|
|
|
161
|
-
@property
|
|
161
|
+
@_builtins.property
|
|
162
162
|
@pulumi.getter(name="subjectName")
|
|
163
|
-
def subject_name(self) -> str:
|
|
163
|
+
def subject_name(self) -> _builtins.str:
|
|
164
164
|
"""
|
|
165
165
|
(Required String) The name for the reference. (For Avro Schema, the reference name is the fully qualified schema name, for JSON Schema it is a URL, and for Protobuf Schema, it is the name of another Protobuf file.)
|
|
166
166
|
"""
|
|
167
167
|
return pulumi.get(self, "subject_name")
|
|
168
168
|
|
|
169
|
-
@property
|
|
169
|
+
@_builtins.property
|
|
170
170
|
@pulumi.getter
|
|
171
|
-
def version(self) -> int:
|
|
171
|
+
def version(self) -> _builtins.int:
|
|
172
172
|
"""
|
|
173
173
|
(Required Integer) The version of the Schema, for example, `4`.
|
|
174
174
|
"""
|
|
@@ -200,11 +200,11 @@ class AwaitableGetSchemaResult(GetSchemaResult):
|
|
|
200
200
|
|
|
201
201
|
def get_schema(credentials: Optional[Union['GetSchemaCredentialsArgs', 'GetSchemaCredentialsArgsDict']] = None,
|
|
202
202
|
metadata: Optional[Union['GetSchemaMetadataArgs', 'GetSchemaMetadataArgsDict']] = None,
|
|
203
|
-
rest_endpoint: Optional[str] = None,
|
|
203
|
+
rest_endpoint: Optional[_builtins.str] = None,
|
|
204
204
|
ruleset: Optional[Union['GetSchemaRulesetArgs', 'GetSchemaRulesetArgsDict']] = None,
|
|
205
|
-
schema_identifier: Optional[int] = None,
|
|
205
|
+
schema_identifier: Optional[_builtins.int] = None,
|
|
206
206
|
schema_registry_cluster: Optional[Union['GetSchemaSchemaRegistryClusterArgs', 'GetSchemaSchemaRegistryClusterArgsDict']] = None,
|
|
207
|
-
subject_name: Optional[str] = None,
|
|
207
|
+
subject_name: Optional[_builtins.str] = None,
|
|
208
208
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSchemaResult:
|
|
209
209
|
"""
|
|
210
210
|
[](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
|
|
@@ -245,12 +245,12 @@ def get_schema(credentials: Optional[Union['GetSchemaCredentialsArgs', 'GetSchem
|
|
|
245
245
|
|
|
246
246
|
|
|
247
247
|
:param Union['GetSchemaMetadataArgs', 'GetSchemaMetadataArgsDict'] metadata: (Optional Block) See [here](https://docs.confluent.io/platform/7.5/schema-registry/fundamentals/data-contracts.html) for more details. Supports the following:
|
|
248
|
-
:param str rest_endpoint: The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`).
|
|
248
|
+
:param _builtins.str rest_endpoint: The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`).
|
|
249
249
|
:param Union['GetSchemaRulesetArgs', 'GetSchemaRulesetArgsDict'] ruleset: (Optional Block) The list of schema rules. See [Data Contracts for Schema Registry](https://docs.confluent.io/platform/7.5/schema-registry/fundamentals/data-contracts.html#rules) for more details. For example, these rules can enforce that a field that contains sensitive information must be encrypted, or that a message containing an invalid age must be sent to a dead letter queue.
|
|
250
|
-
:param int schema_identifier: The globally unique ID of the Schema, for example, `100003`. If the same schema is registered under a different subject, the same identifier will be returned. However, the `version` of the schema may be different under different subjects.
|
|
250
|
+
:param _builtins.int schema_identifier: The globally unique ID of the Schema, for example, `100003`. If the same schema is registered under a different subject, the same identifier will be returned. However, the `version` of the schema may be different under different subjects.
|
|
251
251
|
|
|
252
252
|
> **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.
|
|
253
|
-
: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`. Schemas evolve safely, following a compatibility mode defined, under a subject name.
|
|
253
|
+
: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`. Schemas evolve safely, following a compatibility mode defined, under a subject name.
|
|
254
254
|
"""
|
|
255
255
|
__args__ = dict()
|
|
256
256
|
__args__['credentials'] = credentials
|
|
@@ -281,12 +281,12 @@ def get_schema(credentials: Optional[Union['GetSchemaCredentialsArgs', 'GetSchem
|
|
|
281
281
|
version=pulumi.get(__ret__, 'version'))
|
|
282
282
|
def get_schema_output(credentials: Optional[pulumi.Input[Optional[Union['GetSchemaCredentialsArgs', 'GetSchemaCredentialsArgsDict']]]] = None,
|
|
283
283
|
metadata: Optional[pulumi.Input[Optional[Union['GetSchemaMetadataArgs', 'GetSchemaMetadataArgsDict']]]] = None,
|
|
284
|
-
rest_endpoint: Optional[pulumi.Input[Optional[str]]] = None,
|
|
284
|
+
rest_endpoint: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
285
285
|
ruleset: Optional[pulumi.Input[Optional[Union['GetSchemaRulesetArgs', 'GetSchemaRulesetArgsDict']]]] = None,
|
|
286
|
-
schema_identifier: Optional[pulumi.Input[int]] = None,
|
|
286
|
+
schema_identifier: Optional[pulumi.Input[_builtins.int]] = None,
|
|
287
287
|
schema_registry_cluster: Optional[pulumi.Input[Optional[Union['GetSchemaSchemaRegistryClusterArgs', 'GetSchemaSchemaRegistryClusterArgsDict']]]] = None,
|
|
288
|
-
subject_name: Optional[pulumi.Input[str]] = None,
|
|
289
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSchemaResult]:
|
|
288
|
+
subject_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
289
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetSchemaResult]:
|
|
290
290
|
"""
|
|
291
291
|
[](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
|
|
292
292
|
|
|
@@ -326,12 +326,12 @@ def get_schema_output(credentials: Optional[pulumi.Input[Optional[Union['GetSche
|
|
|
326
326
|
|
|
327
327
|
|
|
328
328
|
:param Union['GetSchemaMetadataArgs', 'GetSchemaMetadataArgsDict'] metadata: (Optional Block) See [here](https://docs.confluent.io/platform/7.5/schema-registry/fundamentals/data-contracts.html) for more details. Supports the following:
|
|
329
|
-
:param str rest_endpoint: The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`).
|
|
329
|
+
:param _builtins.str rest_endpoint: The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`).
|
|
330
330
|
:param Union['GetSchemaRulesetArgs', 'GetSchemaRulesetArgsDict'] ruleset: (Optional Block) The list of schema rules. See [Data Contracts for Schema Registry](https://docs.confluent.io/platform/7.5/schema-registry/fundamentals/data-contracts.html#rules) for more details. For example, these rules can enforce that a field that contains sensitive information must be encrypted, or that a message containing an invalid age must be sent to a dead letter queue.
|
|
331
|
-
:param int schema_identifier: The globally unique ID of the Schema, for example, `100003`. If the same schema is registered under a different subject, the same identifier will be returned. However, the `version` of the schema may be different under different subjects.
|
|
331
|
+
:param _builtins.int schema_identifier: The globally unique ID of the Schema, for example, `100003`. If the same schema is registered under a different subject, the same identifier will be returned. However, the `version` of the schema may be different under different subjects.
|
|
332
332
|
|
|
333
333
|
> **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.
|
|
334
|
-
: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`. Schemas evolve safely, following a compatibility mode defined, under a subject name.
|
|
334
|
+
: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`. Schemas evolve safely, following a compatibility mode defined, under a subject name.
|
|
335
335
|
"""
|
|
336
336
|
__args__ = dict()
|
|
337
337
|
__args__['credentials'] = credentials
|
|
@@ -341,7 +341,7 @@ def get_schema_output(credentials: Optional[pulumi.Input[Optional[Union['GetSche
|
|
|
341
341
|
__args__['schemaIdentifier'] = schema_identifier
|
|
342
342
|
__args__['schemaRegistryCluster'] = schema_registry_cluster
|
|
343
343
|
__args__['subjectName'] = subject_name
|
|
344
|
-
opts = pulumi.
|
|
344
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
345
345
|
__ret__ = pulumi.runtime.invoke_output('confluentcloud:index/getSchema:getSchema', __args__, opts=opts, typ=GetSchemaResult)
|
|
346
346
|
return __ret__.apply(lambda __response__: GetSchemaResult(
|
|
347
347
|
credentials=pulumi.get(__response__, 'credentials'),
|