pulumi-confluentcloud 2.42.0__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 +21 -0
- pulumi_confluentcloud/_inputs.py +611 -27
- pulumi_confluentcloud/api_key.py +184 -0
- pulumi_confluentcloud/catalog_entity_attributes.py +48 -0
- pulumi_confluentcloud/dns_forwarder.py +52 -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 +30 -2
- pulumi_confluentcloud/outputs.py +1147 -29
- 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 +90 -18
- {pulumi_confluentcloud-2.42.0.dist-info → pulumi_confluentcloud-2.54.0a1766503424.dist-info}/METADATA +1 -1
- {pulumi_confluentcloud-2.42.0.dist-info → pulumi_confluentcloud-2.54.0a1766503424.dist-info}/RECORD +22 -17
- {pulumi_confluentcloud-2.42.0.dist-info → pulumi_confluentcloud-2.54.0a1766503424.dist-info}/WHEEL +0 -0
- {pulumi_confluentcloud-2.42.0.dist-info → pulumi_confluentcloud-2.54.0a1766503424.dist-info}/top_level.txt +0 -0
|
@@ -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')))
|
|
@@ -0,0 +1,270 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
|
|
5
|
+
import builtins as _builtins
|
|
6
|
+
import warnings
|
|
7
|
+
import sys
|
|
8
|
+
import pulumi
|
|
9
|
+
import pulumi.runtime
|
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
15
|
+
from . import _utilities
|
|
16
|
+
from . import outputs
|
|
17
|
+
from ._inputs import *
|
|
18
|
+
|
|
19
|
+
__all__ = [
|
|
20
|
+
'GetProviderIntegrationSetupResult',
|
|
21
|
+
'AwaitableGetProviderIntegrationSetupResult',
|
|
22
|
+
'get_provider_integration_setup',
|
|
23
|
+
'get_provider_integration_setup_output',
|
|
24
|
+
]
|
|
25
|
+
|
|
26
|
+
@pulumi.output_type
|
|
27
|
+
class GetProviderIntegrationSetupResult:
|
|
28
|
+
"""
|
|
29
|
+
A collection of values returned by getProviderIntegrationSetup.
|
|
30
|
+
"""
|
|
31
|
+
def __init__(__self__, cloud=None, display_name=None, environment=None, id=None, status=None, usages=None):
|
|
32
|
+
if cloud and not isinstance(cloud, str):
|
|
33
|
+
raise TypeError("Expected argument 'cloud' to be a str")
|
|
34
|
+
pulumi.set(__self__, "cloud", cloud)
|
|
35
|
+
if display_name and not isinstance(display_name, str):
|
|
36
|
+
raise TypeError("Expected argument 'display_name' to be a str")
|
|
37
|
+
pulumi.set(__self__, "display_name", display_name)
|
|
38
|
+
if environment and not isinstance(environment, dict):
|
|
39
|
+
raise TypeError("Expected argument 'environment' to be a dict")
|
|
40
|
+
pulumi.set(__self__, "environment", environment)
|
|
41
|
+
if id and not isinstance(id, str):
|
|
42
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
43
|
+
pulumi.set(__self__, "id", id)
|
|
44
|
+
if status and not isinstance(status, str):
|
|
45
|
+
raise TypeError("Expected argument 'status' to be a str")
|
|
46
|
+
pulumi.set(__self__, "status", status)
|
|
47
|
+
if usages and not isinstance(usages, list):
|
|
48
|
+
raise TypeError("Expected argument 'usages' to be a list")
|
|
49
|
+
pulumi.set(__self__, "usages", usages)
|
|
50
|
+
|
|
51
|
+
@_builtins.property
|
|
52
|
+
@pulumi.getter
|
|
53
|
+
def cloud(self) -> _builtins.str:
|
|
54
|
+
"""
|
|
55
|
+
(Computed String) The cloud service provider. Values are `AZURE` and `GCP`.
|
|
56
|
+
"""
|
|
57
|
+
return pulumi.get(self, "cloud")
|
|
58
|
+
|
|
59
|
+
@_builtins.property
|
|
60
|
+
@pulumi.getter(name="displayName")
|
|
61
|
+
def display_name(self) -> _builtins.str:
|
|
62
|
+
"""
|
|
63
|
+
(Required String) The display name of the Provider Integration.
|
|
64
|
+
"""
|
|
65
|
+
return pulumi.get(self, "display_name")
|
|
66
|
+
|
|
67
|
+
@_builtins.property
|
|
68
|
+
@pulumi.getter
|
|
69
|
+
def environment(self) -> 'outputs.GetProviderIntegrationSetupEnvironmentResult':
|
|
70
|
+
"""
|
|
71
|
+
(Required Configuration Block) supports the following:
|
|
72
|
+
"""
|
|
73
|
+
return pulumi.get(self, "environment")
|
|
74
|
+
|
|
75
|
+
@_builtins.property
|
|
76
|
+
@pulumi.getter
|
|
77
|
+
def id(self) -> _builtins.str:
|
|
78
|
+
"""
|
|
79
|
+
(Required String) The ID of the Environment that the Provider Integration belongs to, for example, `env-abc123`.
|
|
80
|
+
"""
|
|
81
|
+
return pulumi.get(self, "id")
|
|
82
|
+
|
|
83
|
+
@_builtins.property
|
|
84
|
+
@pulumi.getter
|
|
85
|
+
def status(self) -> _builtins.str:
|
|
86
|
+
"""
|
|
87
|
+
(Required String) The status of the Provider Integration. Values are `DRAFT` and `CREATED`.
|
|
88
|
+
"""
|
|
89
|
+
return pulumi.get(self, "status")
|
|
90
|
+
|
|
91
|
+
@_builtins.property
|
|
92
|
+
@pulumi.getter
|
|
93
|
+
def usages(self) -> Sequence[_builtins.str]:
|
|
94
|
+
"""
|
|
95
|
+
(Required List of Strings) List of resource CRNs where this provider integration is being used.
|
|
96
|
+
"""
|
|
97
|
+
return pulumi.get(self, "usages")
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
class AwaitableGetProviderIntegrationSetupResult(GetProviderIntegrationSetupResult):
|
|
101
|
+
# pylint: disable=using-constant-test
|
|
102
|
+
def __await__(self):
|
|
103
|
+
if False:
|
|
104
|
+
yield self
|
|
105
|
+
return GetProviderIntegrationSetupResult(
|
|
106
|
+
cloud=self.cloud,
|
|
107
|
+
display_name=self.display_name,
|
|
108
|
+
environment=self.environment,
|
|
109
|
+
id=self.id,
|
|
110
|
+
status=self.status,
|
|
111
|
+
usages=self.usages)
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
def get_provider_integration_setup(display_name: Optional[_builtins.str] = None,
|
|
115
|
+
environment: Optional[Union['GetProviderIntegrationSetupEnvironmentArgs', 'GetProviderIntegrationSetupEnvironmentArgsDict']] = None,
|
|
116
|
+
id: Optional[_builtins.str] = None,
|
|
117
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetProviderIntegrationSetupResult:
|
|
118
|
+
"""
|
|
119
|
+
[](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
|
|
120
|
+
|
|
121
|
+
`ProviderIntegrationSetup` describes a Cloud Service Provider (CSP) integration that allows Confluent Cloud to access resources in your cloud provider account.
|
|
122
|
+
|
|
123
|
+
## Example Usage
|
|
124
|
+
|
|
125
|
+
### Azure Provider Integration
|
|
126
|
+
|
|
127
|
+
```python
|
|
128
|
+
import pulumi
|
|
129
|
+
import pulumi_confluentcloud as confluentcloud
|
|
130
|
+
|
|
131
|
+
azure = confluentcloud.get_provider_integration_setup(id="cspi-abc123",
|
|
132
|
+
environment={
|
|
133
|
+
"id": "env-xyz456",
|
|
134
|
+
})
|
|
135
|
+
pulumi.export("azureIntegrationStatus", azure.status)
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
### GCP Provider Integration
|
|
139
|
+
|
|
140
|
+
```python
|
|
141
|
+
import pulumi
|
|
142
|
+
import pulumi_confluentcloud as confluentcloud
|
|
143
|
+
|
|
144
|
+
gcp = confluentcloud.get_provider_integration_setup(display_name="my-gcp-integration",
|
|
145
|
+
environment={
|
|
146
|
+
"id": "env-xyz456",
|
|
147
|
+
})
|
|
148
|
+
pulumi.export("gcpIntegrationId", gcp.id)
|
|
149
|
+
```
|
|
150
|
+
|
|
151
|
+
### Using with Authorization Resource
|
|
152
|
+
|
|
153
|
+
```python
|
|
154
|
+
import pulumi
|
|
155
|
+
import pulumi_confluentcloud as confluentcloud
|
|
156
|
+
|
|
157
|
+
main = confluentcloud.get_provider_integration_setup(id="cspi-abc123",
|
|
158
|
+
environment={
|
|
159
|
+
"id": "env-xyz456",
|
|
160
|
+
})
|
|
161
|
+
# Use the integration with authorization data source
|
|
162
|
+
main_get_provider_integration_authorization = confluentcloud.get_provider_integration_authorization(id=main.id,
|
|
163
|
+
environment={
|
|
164
|
+
"id": "env-xyz456",
|
|
165
|
+
})
|
|
166
|
+
```
|
|
167
|
+
|
|
168
|
+
## Getting Started
|
|
169
|
+
|
|
170
|
+
The following end-to-end examples might help to get started with `ProviderIntegrationSetup` data source:
|
|
171
|
+
* provider-integration-azure: Complete Azure Provider Integration setup
|
|
172
|
+
* provider-integration-gcp: Complete GCP Provider Integration setup
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
:param _builtins.str display_name: The display name of the Provider Integration. Exactly one of `id` or `display_name` must be specified.
|
|
176
|
+
:param Union['GetProviderIntegrationSetupEnvironmentArgs', 'GetProviderIntegrationSetupEnvironmentArgsDict'] environment: (Required Configuration Block) supports the following:
|
|
177
|
+
:param _builtins.str id: The ID of the Provider Integration, for example, `cspi-4xg0q`. Exactly one of `id` or `display_name` must be specified.
|
|
178
|
+
"""
|
|
179
|
+
__args__ = dict()
|
|
180
|
+
__args__['displayName'] = display_name
|
|
181
|
+
__args__['environment'] = environment
|
|
182
|
+
__args__['id'] = id
|
|
183
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
184
|
+
__ret__ = pulumi.runtime.invoke('confluentcloud:index/getProviderIntegrationSetup:getProviderIntegrationSetup', __args__, opts=opts, typ=GetProviderIntegrationSetupResult).value
|
|
185
|
+
|
|
186
|
+
return AwaitableGetProviderIntegrationSetupResult(
|
|
187
|
+
cloud=pulumi.get(__ret__, 'cloud'),
|
|
188
|
+
display_name=pulumi.get(__ret__, 'display_name'),
|
|
189
|
+
environment=pulumi.get(__ret__, 'environment'),
|
|
190
|
+
id=pulumi.get(__ret__, 'id'),
|
|
191
|
+
status=pulumi.get(__ret__, 'status'),
|
|
192
|
+
usages=pulumi.get(__ret__, 'usages'))
|
|
193
|
+
def get_provider_integration_setup_output(display_name: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
194
|
+
environment: Optional[pulumi.Input[Union['GetProviderIntegrationSetupEnvironmentArgs', 'GetProviderIntegrationSetupEnvironmentArgsDict']]] = None,
|
|
195
|
+
id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
196
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetProviderIntegrationSetupResult]:
|
|
197
|
+
"""
|
|
198
|
+
[](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
|
|
199
|
+
|
|
200
|
+
`ProviderIntegrationSetup` describes a Cloud Service Provider (CSP) integration that allows Confluent Cloud to access resources in your cloud provider account.
|
|
201
|
+
|
|
202
|
+
## Example Usage
|
|
203
|
+
|
|
204
|
+
### Azure Provider Integration
|
|
205
|
+
|
|
206
|
+
```python
|
|
207
|
+
import pulumi
|
|
208
|
+
import pulumi_confluentcloud as confluentcloud
|
|
209
|
+
|
|
210
|
+
azure = confluentcloud.get_provider_integration_setup(id="cspi-abc123",
|
|
211
|
+
environment={
|
|
212
|
+
"id": "env-xyz456",
|
|
213
|
+
})
|
|
214
|
+
pulumi.export("azureIntegrationStatus", azure.status)
|
|
215
|
+
```
|
|
216
|
+
|
|
217
|
+
### GCP Provider Integration
|
|
218
|
+
|
|
219
|
+
```python
|
|
220
|
+
import pulumi
|
|
221
|
+
import pulumi_confluentcloud as confluentcloud
|
|
222
|
+
|
|
223
|
+
gcp = confluentcloud.get_provider_integration_setup(display_name="my-gcp-integration",
|
|
224
|
+
environment={
|
|
225
|
+
"id": "env-xyz456",
|
|
226
|
+
})
|
|
227
|
+
pulumi.export("gcpIntegrationId", gcp.id)
|
|
228
|
+
```
|
|
229
|
+
|
|
230
|
+
### Using with Authorization Resource
|
|
231
|
+
|
|
232
|
+
```python
|
|
233
|
+
import pulumi
|
|
234
|
+
import pulumi_confluentcloud as confluentcloud
|
|
235
|
+
|
|
236
|
+
main = confluentcloud.get_provider_integration_setup(id="cspi-abc123",
|
|
237
|
+
environment={
|
|
238
|
+
"id": "env-xyz456",
|
|
239
|
+
})
|
|
240
|
+
# Use the integration with authorization data source
|
|
241
|
+
main_get_provider_integration_authorization = confluentcloud.get_provider_integration_authorization(id=main.id,
|
|
242
|
+
environment={
|
|
243
|
+
"id": "env-xyz456",
|
|
244
|
+
})
|
|
245
|
+
```
|
|
246
|
+
|
|
247
|
+
## Getting Started
|
|
248
|
+
|
|
249
|
+
The following end-to-end examples might help to get started with `ProviderIntegrationSetup` data source:
|
|
250
|
+
* provider-integration-azure: Complete Azure Provider Integration setup
|
|
251
|
+
* provider-integration-gcp: Complete GCP Provider Integration setup
|
|
252
|
+
|
|
253
|
+
|
|
254
|
+
:param _builtins.str display_name: The display name of the Provider Integration. Exactly one of `id` or `display_name` must be specified.
|
|
255
|
+
:param Union['GetProviderIntegrationSetupEnvironmentArgs', 'GetProviderIntegrationSetupEnvironmentArgsDict'] environment: (Required Configuration Block) supports the following:
|
|
256
|
+
:param _builtins.str id: The ID of the Provider Integration, for example, `cspi-4xg0q`. Exactly one of `id` or `display_name` must be specified.
|
|
257
|
+
"""
|
|
258
|
+
__args__ = dict()
|
|
259
|
+
__args__['displayName'] = display_name
|
|
260
|
+
__args__['environment'] = environment
|
|
261
|
+
__args__['id'] = id
|
|
262
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
263
|
+
__ret__ = pulumi.runtime.invoke_output('confluentcloud:index/getProviderIntegrationSetup:getProviderIntegrationSetup', __args__, opts=opts, typ=GetProviderIntegrationSetupResult)
|
|
264
|
+
return __ret__.apply(lambda __response__: GetProviderIntegrationSetupResult(
|
|
265
|
+
cloud=pulumi.get(__response__, 'cloud'),
|
|
266
|
+
display_name=pulumi.get(__response__, 'display_name'),
|
|
267
|
+
environment=pulumi.get(__response__, 'environment'),
|
|
268
|
+
id=pulumi.get(__response__, 'id'),
|
|
269
|
+
status=pulumi.get(__response__, 'status'),
|
|
270
|
+
usages=pulumi.get(__response__, 'usages')))
|
|
@@ -28,7 +28,10 @@ class GetTableflowTopicResult:
|
|
|
28
28
|
"""
|
|
29
29
|
A collection of values returned by getTableflowTopic.
|
|
30
30
|
"""
|
|
31
|
-
def __init__(__self__, byob_aws=None, credentials=None, display_name=None, enable_compaction=None, enable_partitioning=None, environment=None, id=None, kafka_cluster=None, managed_storages=None, record_failure_strategy=None, retention_ms=None, suspended=None, table_formats=None, table_path=None, write_mode=None):
|
|
31
|
+
def __init__(__self__, azure_data_lake_storage_gen2s=None, byob_aws=None, credentials=None, display_name=None, enable_compaction=None, enable_partitioning=None, environment=None, error_handlings=None, id=None, kafka_cluster=None, managed_storages=None, record_failure_strategy=None, retention_ms=None, suspended=None, table_formats=None, table_path=None, write_mode=None):
|
|
32
|
+
if azure_data_lake_storage_gen2s and not isinstance(azure_data_lake_storage_gen2s, list):
|
|
33
|
+
raise TypeError("Expected argument 'azure_data_lake_storage_gen2s' to be a list")
|
|
34
|
+
pulumi.set(__self__, "azure_data_lake_storage_gen2s", azure_data_lake_storage_gen2s)
|
|
32
35
|
if byob_aws and not isinstance(byob_aws, list):
|
|
33
36
|
raise TypeError("Expected argument 'byob_aws' to be a list")
|
|
34
37
|
pulumi.set(__self__, "byob_aws", byob_aws)
|
|
@@ -47,6 +50,9 @@ class GetTableflowTopicResult:
|
|
|
47
50
|
if environment and not isinstance(environment, dict):
|
|
48
51
|
raise TypeError("Expected argument 'environment' to be a dict")
|
|
49
52
|
pulumi.set(__self__, "environment", environment)
|
|
53
|
+
if error_handlings and not isinstance(error_handlings, list):
|
|
54
|
+
raise TypeError("Expected argument 'error_handlings' to be a list")
|
|
55
|
+
pulumi.set(__self__, "error_handlings", error_handlings)
|
|
50
56
|
if id and not isinstance(id, str):
|
|
51
57
|
raise TypeError("Expected argument 'id' to be a str")
|
|
52
58
|
pulumi.set(__self__, "id", id)
|
|
@@ -75,6 +81,14 @@ class GetTableflowTopicResult:
|
|
|
75
81
|
raise TypeError("Expected argument 'write_mode' to be a str")
|
|
76
82
|
pulumi.set(__self__, "write_mode", write_mode)
|
|
77
83
|
|
|
84
|
+
@_builtins.property
|
|
85
|
+
@pulumi.getter(name="azureDataLakeStorageGen2s")
|
|
86
|
+
def azure_data_lake_storage_gen2s(self) -> Sequence['outputs.GetTableflowTopicAzureDataLakeStorageGen2Result']:
|
|
87
|
+
"""
|
|
88
|
+
(Optional Configuration Block) supports the following:
|
|
89
|
+
"""
|
|
90
|
+
return pulumi.get(self, "azure_data_lake_storage_gen2s")
|
|
91
|
+
|
|
78
92
|
@_builtins.property
|
|
79
93
|
@pulumi.getter(name="byobAws")
|
|
80
94
|
def byob_aws(self) -> Sequence['outputs.GetTableflowTopicByobAwResult']:
|
|
@@ -114,6 +128,14 @@ class GetTableflowTopicResult:
|
|
|
114
128
|
def environment(self) -> 'outputs.GetTableflowTopicEnvironmentResult':
|
|
115
129
|
return pulumi.get(self, "environment")
|
|
116
130
|
|
|
131
|
+
@_builtins.property
|
|
132
|
+
@pulumi.getter(name="errorHandlings")
|
|
133
|
+
def error_handlings(self) -> Sequence['outputs.GetTableflowTopicErrorHandlingResult']:
|
|
134
|
+
"""
|
|
135
|
+
(Optional Configuration Block) supports the following:
|
|
136
|
+
"""
|
|
137
|
+
return pulumi.get(self, "error_handlings")
|
|
138
|
+
|
|
117
139
|
@_builtins.property
|
|
118
140
|
@pulumi.getter
|
|
119
141
|
def id(self) -> _builtins.str:
|
|
@@ -139,7 +161,7 @@ class GetTableflowTopicResult:
|
|
|
139
161
|
@pulumi.getter(name="recordFailureStrategy")
|
|
140
162
|
def record_failure_strategy(self) -> _builtins.str:
|
|
141
163
|
"""
|
|
142
|
-
(Optional String) The strategy to handle record failures in the Tableflow enabled topic during materialization. For `SKIP`, we skip the bad records and move to the next record. For `SUSPEND`, we suspend the materialization of the topic.
|
|
164
|
+
(Optional String, **Deprecated**) The strategy to handle record failures in the Tableflow enabled topic during materialization. For `SKIP`, we skip the bad records and move to the next record. For `SUSPEND`, we suspend the materialization of the topic.
|
|
143
165
|
"""
|
|
144
166
|
return pulumi.get(self, "record_failure_strategy")
|
|
145
167
|
|
|
@@ -190,12 +212,14 @@ class AwaitableGetTableflowTopicResult(GetTableflowTopicResult):
|
|
|
190
212
|
if False:
|
|
191
213
|
yield self
|
|
192
214
|
return GetTableflowTopicResult(
|
|
215
|
+
azure_data_lake_storage_gen2s=self.azure_data_lake_storage_gen2s,
|
|
193
216
|
byob_aws=self.byob_aws,
|
|
194
217
|
credentials=self.credentials,
|
|
195
218
|
display_name=self.display_name,
|
|
196
219
|
enable_compaction=self.enable_compaction,
|
|
197
220
|
enable_partitioning=self.enable_partitioning,
|
|
198
221
|
environment=self.environment,
|
|
222
|
+
error_handlings=self.error_handlings,
|
|
199
223
|
id=self.id,
|
|
200
224
|
kafka_cluster=self.kafka_cluster,
|
|
201
225
|
managed_storages=self.managed_storages,
|
|
@@ -261,12 +285,14 @@ def get_tableflow_topic(credentials: Optional[Union['GetTableflowTopicCredential
|
|
|
261
285
|
__ret__ = pulumi.runtime.invoke('confluentcloud:index/getTableflowTopic:getTableflowTopic', __args__, opts=opts, typ=GetTableflowTopicResult).value
|
|
262
286
|
|
|
263
287
|
return AwaitableGetTableflowTopicResult(
|
|
288
|
+
azure_data_lake_storage_gen2s=pulumi.get(__ret__, 'azure_data_lake_storage_gen2s'),
|
|
264
289
|
byob_aws=pulumi.get(__ret__, 'byob_aws'),
|
|
265
290
|
credentials=pulumi.get(__ret__, 'credentials'),
|
|
266
291
|
display_name=pulumi.get(__ret__, 'display_name'),
|
|
267
292
|
enable_compaction=pulumi.get(__ret__, 'enable_compaction'),
|
|
268
293
|
enable_partitioning=pulumi.get(__ret__, 'enable_partitioning'),
|
|
269
294
|
environment=pulumi.get(__ret__, 'environment'),
|
|
295
|
+
error_handlings=pulumi.get(__ret__, 'error_handlings'),
|
|
270
296
|
id=pulumi.get(__ret__, 'id'),
|
|
271
297
|
kafka_cluster=pulumi.get(__ret__, 'kafka_cluster'),
|
|
272
298
|
managed_storages=pulumi.get(__ret__, 'managed_storages'),
|
|
@@ -329,12 +355,14 @@ def get_tableflow_topic_output(credentials: Optional[pulumi.Input[Optional[Union
|
|
|
329
355
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
330
356
|
__ret__ = pulumi.runtime.invoke_output('confluentcloud:index/getTableflowTopic:getTableflowTopic', __args__, opts=opts, typ=GetTableflowTopicResult)
|
|
331
357
|
return __ret__.apply(lambda __response__: GetTableflowTopicResult(
|
|
358
|
+
azure_data_lake_storage_gen2s=pulumi.get(__response__, 'azure_data_lake_storage_gen2s'),
|
|
332
359
|
byob_aws=pulumi.get(__response__, 'byob_aws'),
|
|
333
360
|
credentials=pulumi.get(__response__, 'credentials'),
|
|
334
361
|
display_name=pulumi.get(__response__, 'display_name'),
|
|
335
362
|
enable_compaction=pulumi.get(__response__, 'enable_compaction'),
|
|
336
363
|
enable_partitioning=pulumi.get(__response__, 'enable_partitioning'),
|
|
337
364
|
environment=pulumi.get(__response__, 'environment'),
|
|
365
|
+
error_handlings=pulumi.get(__response__, 'error_handlings'),
|
|
338
366
|
id=pulumi.get(__response__, 'id'),
|
|
339
367
|
kafka_cluster=pulumi.get(__response__, 'kafka_cluster'),
|
|
340
368
|
managed_storages=pulumi.get(__response__, 'managed_storages'),
|