@pulumi/confluentcloud 1.22.0 → 1.23.0
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.
- package/clusterLink.d.ts +23 -9
- package/clusterLink.js +13 -7
- package/clusterLink.js.map +1 -1
- package/package.json +2 -2
- package/types/input.d.ts +64 -6
- package/types/output.d.ts +64 -6
package/clusterLink.d.ts
CHANGED
|
@@ -4,12 +4,20 @@ import * as outputs from "./types/output";
|
|
|
4
4
|
/**
|
|
5
5
|
* ## Import
|
|
6
6
|
*
|
|
7
|
-
* You can import a Kafka mirror topic by using the cluster link name, cluster link mode, cluster link connection mode, source
|
|
7
|
+
* You can import a Kafka mirror topic by using the cluster link name, cluster link mode, cluster link connection mode, source (or local for bidirectional cluster links) Kafka cluster ID, and destination (or remote
|
|
8
|
+
*
|
|
9
|
+
* for bidirectional cluster links) Kafka cluster ID, in the format `<Cluster link name>/<Cluster link mode>/<Cluster connection mode>/<Source (Local) Kafka cluster ID>/<Destination (Remote) Kafka cluster ID>`, for exampleOption #1 when using source-initiated or destination-initiated cluster links $ export IMPORT_SOURCE_KAFKA_BOOTSTRAP_ENDPOINT="<source_kafka_bootstrap_endpoint>" $ export IMPORT_SOURCE_KAFKA_API_KEY="<source_kafka_api_key>" $ export IMPORT_SOURCE_KAFKA_API_SECRET="<source_kafka_api_secret>" $ export IMPORT_DESTINATION_KAFKA_REST_ENDPOINT="<destination_kafka_rest_endpoint>" $ export IMPORT_DESTINATION_KAFKA_API_KEY="<destination_kafka_api_key>" $ export IMPORT_DESTINATION_KAFKA_API_SECRET="<destination_kafka_api_secret>"
|
|
8
10
|
*
|
|
9
11
|
* ```sh
|
|
10
12
|
* $ pulumi import confluentcloud:index/clusterLink:ClusterLink my_cluster_link my-cluster-link/DESTINATION/OUTBOUND/lkc-abc123/lkc-xyz456
|
|
11
13
|
* ```
|
|
12
14
|
*
|
|
15
|
+
* Option #2 when using bidirectional cluster links $ export IMPORT_LOCAL_KAFKA_BOOTSTRAP_ENDPOINT="<local_kafka_bootstrap_endpoint>" $ export IMPORT_LOCAL_KAFKA_API_KEY="<local_kafka_api_key>" $ export IMPORT_LOCAL_KAFKA_API_SECRET="<local_kafka_api_secret>" $ export IMPORT_REMOTE_KAFKA_REST_ENDPOINT="<remote_kafka_rest_endpoint>" $ export IMPORT_REMOTE_KAFKA_API_KEY="<remote_kafka_api_key>" $ export IMPORT_REMOTE_KAFKA_API_SECRET="<remote_kafka_api_secret>"
|
|
16
|
+
*
|
|
17
|
+
* ```sh
|
|
18
|
+
* $ pulumi import confluentcloud:index/clusterLink:ClusterLink my_cluster_link my-cluster-link/BIDIRECTIONAL/OUTBOUND/lkc-abc123/lkc-xyz456
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
13
21
|
* !> **Warning:** Do not forget to delete terminal command history afterwards for security purposes.
|
|
14
22
|
*/
|
|
15
23
|
export declare class ClusterLink extends pulumi.CustomResource {
|
|
@@ -38,16 +46,18 @@ export declare class ClusterLink extends pulumi.CustomResource {
|
|
|
38
46
|
* The connection mode of the cluster link. The supported values are `"INBOUND"` and `"OUTBOUND"`. Defaults to `"OUTBOUND"`.
|
|
39
47
|
*/
|
|
40
48
|
readonly connectionMode: pulumi.Output<string | undefined>;
|
|
41
|
-
readonly destinationKafkaCluster: pulumi.Output<outputs.ClusterLinkDestinationKafkaCluster>;
|
|
49
|
+
readonly destinationKafkaCluster: pulumi.Output<outputs.ClusterLinkDestinationKafkaCluster | undefined>;
|
|
42
50
|
/**
|
|
43
51
|
* The name of the cluster link, for example, `my-cluster-link`.
|
|
44
52
|
*/
|
|
45
53
|
readonly link: pulumi.Output<string>;
|
|
46
54
|
/**
|
|
47
|
-
* The mode of the cluster link. The supported values are `"DESTINATION"` and `"
|
|
55
|
+
* The mode of the cluster link. The supported values are `"DESTINATION"`, `"SOURCE"`, and `"BIDIRECTIONAL"`. Defaults to `"DESTINATION"`.
|
|
48
56
|
*/
|
|
49
57
|
readonly linkMode: pulumi.Output<string | undefined>;
|
|
50
|
-
readonly
|
|
58
|
+
readonly localKafkaCluster: pulumi.Output<outputs.ClusterLinkLocalKafkaCluster | undefined>;
|
|
59
|
+
readonly remoteKafkaCluster: pulumi.Output<outputs.ClusterLinkRemoteKafkaCluster | undefined>;
|
|
60
|
+
readonly sourceKafkaCluster: pulumi.Output<outputs.ClusterLinkSourceKafkaCluster | undefined>;
|
|
51
61
|
/**
|
|
52
62
|
* Create a ClusterLink resource with the given unique name, arguments, and options.
|
|
53
63
|
*
|
|
@@ -55,7 +65,7 @@ export declare class ClusterLink extends pulumi.CustomResource {
|
|
|
55
65
|
* @param args The arguments to use to populate this resource's properties.
|
|
56
66
|
* @param opts A bag of options that control this resource's behavior.
|
|
57
67
|
*/
|
|
58
|
-
constructor(name: string, args
|
|
68
|
+
constructor(name: string, args?: ClusterLinkArgs, opts?: pulumi.CustomResourceOptions);
|
|
59
69
|
}
|
|
60
70
|
/**
|
|
61
71
|
* Input properties used for looking up and filtering ClusterLink resources.
|
|
@@ -77,9 +87,11 @@ export interface ClusterLinkState {
|
|
|
77
87
|
*/
|
|
78
88
|
link?: pulumi.Input<string>;
|
|
79
89
|
/**
|
|
80
|
-
* The mode of the cluster link. The supported values are `"DESTINATION"` and `"
|
|
90
|
+
* The mode of the cluster link. The supported values are `"DESTINATION"`, `"SOURCE"`, and `"BIDIRECTIONAL"`. Defaults to `"DESTINATION"`.
|
|
81
91
|
*/
|
|
82
92
|
linkMode?: pulumi.Input<string>;
|
|
93
|
+
localKafkaCluster?: pulumi.Input<inputs.ClusterLinkLocalKafkaCluster>;
|
|
94
|
+
remoteKafkaCluster?: pulumi.Input<inputs.ClusterLinkRemoteKafkaCluster>;
|
|
83
95
|
sourceKafkaCluster?: pulumi.Input<inputs.ClusterLinkSourceKafkaCluster>;
|
|
84
96
|
}
|
|
85
97
|
/**
|
|
@@ -96,14 +108,16 @@ export interface ClusterLinkArgs {
|
|
|
96
108
|
* The connection mode of the cluster link. The supported values are `"INBOUND"` and `"OUTBOUND"`. Defaults to `"OUTBOUND"`.
|
|
97
109
|
*/
|
|
98
110
|
connectionMode?: pulumi.Input<string>;
|
|
99
|
-
destinationKafkaCluster
|
|
111
|
+
destinationKafkaCluster?: pulumi.Input<inputs.ClusterLinkDestinationKafkaCluster>;
|
|
100
112
|
/**
|
|
101
113
|
* The name of the cluster link, for example, `my-cluster-link`.
|
|
102
114
|
*/
|
|
103
115
|
link?: pulumi.Input<string>;
|
|
104
116
|
/**
|
|
105
|
-
* The mode of the cluster link. The supported values are `"DESTINATION"` and `"
|
|
117
|
+
* The mode of the cluster link. The supported values are `"DESTINATION"`, `"SOURCE"`, and `"BIDIRECTIONAL"`. Defaults to `"DESTINATION"`.
|
|
106
118
|
*/
|
|
107
119
|
linkMode?: pulumi.Input<string>;
|
|
108
|
-
|
|
120
|
+
localKafkaCluster?: pulumi.Input<inputs.ClusterLinkLocalKafkaCluster>;
|
|
121
|
+
remoteKafkaCluster?: pulumi.Input<inputs.ClusterLinkRemoteKafkaCluster>;
|
|
122
|
+
sourceKafkaCluster?: pulumi.Input<inputs.ClusterLinkSourceKafkaCluster>;
|
|
109
123
|
}
|
package/clusterLink.js
CHANGED
|
@@ -8,12 +8,20 @@ const utilities = require("./utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* ## Import
|
|
10
10
|
*
|
|
11
|
-
* You can import a Kafka mirror topic by using the cluster link name, cluster link mode, cluster link connection mode, source
|
|
11
|
+
* You can import a Kafka mirror topic by using the cluster link name, cluster link mode, cluster link connection mode, source (or local for bidirectional cluster links) Kafka cluster ID, and destination (or remote
|
|
12
|
+
*
|
|
13
|
+
* for bidirectional cluster links) Kafka cluster ID, in the format `<Cluster link name>/<Cluster link mode>/<Cluster connection mode>/<Source (Local) Kafka cluster ID>/<Destination (Remote) Kafka cluster ID>`, for exampleOption #1 when using source-initiated or destination-initiated cluster links $ export IMPORT_SOURCE_KAFKA_BOOTSTRAP_ENDPOINT="<source_kafka_bootstrap_endpoint>" $ export IMPORT_SOURCE_KAFKA_API_KEY="<source_kafka_api_key>" $ export IMPORT_SOURCE_KAFKA_API_SECRET="<source_kafka_api_secret>" $ export IMPORT_DESTINATION_KAFKA_REST_ENDPOINT="<destination_kafka_rest_endpoint>" $ export IMPORT_DESTINATION_KAFKA_API_KEY="<destination_kafka_api_key>" $ export IMPORT_DESTINATION_KAFKA_API_SECRET="<destination_kafka_api_secret>"
|
|
12
14
|
*
|
|
13
15
|
* ```sh
|
|
14
16
|
* $ pulumi import confluentcloud:index/clusterLink:ClusterLink my_cluster_link my-cluster-link/DESTINATION/OUTBOUND/lkc-abc123/lkc-xyz456
|
|
15
17
|
* ```
|
|
16
18
|
*
|
|
19
|
+
* Option #2 when using bidirectional cluster links $ export IMPORT_LOCAL_KAFKA_BOOTSTRAP_ENDPOINT="<local_kafka_bootstrap_endpoint>" $ export IMPORT_LOCAL_KAFKA_API_KEY="<local_kafka_api_key>" $ export IMPORT_LOCAL_KAFKA_API_SECRET="<local_kafka_api_secret>" $ export IMPORT_REMOTE_KAFKA_REST_ENDPOINT="<remote_kafka_rest_endpoint>" $ export IMPORT_REMOTE_KAFKA_API_KEY="<remote_kafka_api_key>" $ export IMPORT_REMOTE_KAFKA_API_SECRET="<remote_kafka_api_secret>"
|
|
20
|
+
*
|
|
21
|
+
* ```sh
|
|
22
|
+
* $ pulumi import confluentcloud:index/clusterLink:ClusterLink my_cluster_link my-cluster-link/BIDIRECTIONAL/OUTBOUND/lkc-abc123/lkc-xyz456
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
17
25
|
* !> **Warning:** Do not forget to delete terminal command history afterwards for security purposes.
|
|
18
26
|
*/
|
|
19
27
|
class ClusterLink extends pulumi.CustomResource {
|
|
@@ -49,21 +57,19 @@ class ClusterLink extends pulumi.CustomResource {
|
|
|
49
57
|
resourceInputs["destinationKafkaCluster"] = state ? state.destinationKafkaCluster : undefined;
|
|
50
58
|
resourceInputs["link"] = state ? state.link : undefined;
|
|
51
59
|
resourceInputs["linkMode"] = state ? state.linkMode : undefined;
|
|
60
|
+
resourceInputs["localKafkaCluster"] = state ? state.localKafkaCluster : undefined;
|
|
61
|
+
resourceInputs["remoteKafkaCluster"] = state ? state.remoteKafkaCluster : undefined;
|
|
52
62
|
resourceInputs["sourceKafkaCluster"] = state ? state.sourceKafkaCluster : undefined;
|
|
53
63
|
}
|
|
54
64
|
else {
|
|
55
65
|
const args = argsOrState;
|
|
56
|
-
if ((!args || args.destinationKafkaCluster === undefined) && !opts.urn) {
|
|
57
|
-
throw new Error("Missing required property 'destinationKafkaCluster'");
|
|
58
|
-
}
|
|
59
|
-
if ((!args || args.sourceKafkaCluster === undefined) && !opts.urn) {
|
|
60
|
-
throw new Error("Missing required property 'sourceKafkaCluster'");
|
|
61
|
-
}
|
|
62
66
|
resourceInputs["config"] = args ? args.config : undefined;
|
|
63
67
|
resourceInputs["connectionMode"] = args ? args.connectionMode : undefined;
|
|
64
68
|
resourceInputs["destinationKafkaCluster"] = args ? args.destinationKafkaCluster : undefined;
|
|
65
69
|
resourceInputs["link"] = args ? args.link : undefined;
|
|
66
70
|
resourceInputs["linkMode"] = args ? args.linkMode : undefined;
|
|
71
|
+
resourceInputs["localKafkaCluster"] = args ? args.localKafkaCluster : undefined;
|
|
72
|
+
resourceInputs["remoteKafkaCluster"] = args ? args.remoteKafkaCluster : undefined;
|
|
67
73
|
resourceInputs["sourceKafkaCluster"] = args ? args.sourceKafkaCluster : undefined;
|
|
68
74
|
}
|
|
69
75
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
package/clusterLink.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clusterLink.js","sourceRoot":"","sources":["../clusterLink.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"clusterLink.js","sourceRoot":"","sources":["../clusterLink.ts"],"names":[],"mappings":";AA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AC,CAAC,SAAS,CAAC;YAClF,cAAc,CAAC,oBAAoB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC,CAAC,SAAS,CAAC;SACrF;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;;AAnFL,kCAoFC;AAtEG,gBAAgB;AACO,wBAAY,GAAG,8CAA8C,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/confluentcloud",
|
|
3
|
-
"version": "v1.
|
|
3
|
+
"version": "v1.23.0",
|
|
4
4
|
"description": "A Pulumi package for creating and managing Confluent cloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"license": "Apache-2.0",
|
|
13
13
|
"scripts": {
|
|
14
14
|
"build": "tsc",
|
|
15
|
-
"install": "node scripts/install-pulumi-plugin.js resource confluentcloud v1.
|
|
15
|
+
"install": "node scripts/install-pulumi-plugin.js resource confluentcloud v1.23.0"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@pulumi/pulumi": "^3.0.0"
|
package/types/input.d.ts
CHANGED
|
@@ -122,16 +122,16 @@ export interface ByokKeyAzure {
|
|
|
122
122
|
}
|
|
123
123
|
export interface ClusterLinkDestinationKafkaCluster {
|
|
124
124
|
/**
|
|
125
|
-
* The bootstrap endpoint of the
|
|
125
|
+
* The bootstrap endpoint of the remote Kafka cluster, for example, `SASL_SSL://pkc-00000.us-central1.gcp.confluent.cloud:9092` or `pkc-00000.us-central1.gcp.confluent.cloud:9092`).
|
|
126
126
|
*/
|
|
127
127
|
bootstrapEndpoint?: pulumi.Input<string>;
|
|
128
128
|
credentials?: pulumi.Input<inputs.ClusterLinkDestinationKafkaClusterCredentials>;
|
|
129
129
|
/**
|
|
130
|
-
* The ID of the
|
|
130
|
+
* The ID of the remote Kafka cluster, for example, `lkc-abc123`.
|
|
131
131
|
*/
|
|
132
132
|
id: pulumi.Input<string>;
|
|
133
133
|
/**
|
|
134
|
-
* The REST endpoint of the
|
|
134
|
+
* The REST endpoint of the remote Kafka cluster, for example, `https://pkc-00000.us-central1.gcp.confluent.cloud:443`).
|
|
135
135
|
*/
|
|
136
136
|
restEndpoint?: pulumi.Input<string>;
|
|
137
137
|
}
|
|
@@ -142,21 +142,77 @@ export interface ClusterLinkDestinationKafkaClusterCredentials {
|
|
|
142
142
|
key: pulumi.Input<string>;
|
|
143
143
|
/**
|
|
144
144
|
* The Kafka API Secret.
|
|
145
|
+
*
|
|
146
|
+
* > **Note:** The `localKafkaCluster`, `remoteKafkaCluster` configuration block and `linkMode = BIDIRECTIONAL` are in a [Preview lifecycle stage](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy).
|
|
147
|
+
*/
|
|
148
|
+
secret: pulumi.Input<string>;
|
|
149
|
+
}
|
|
150
|
+
export interface ClusterLinkLocalKafkaCluster {
|
|
151
|
+
/**
|
|
152
|
+
* The bootstrap endpoint of the remote Kafka cluster, for example, `SASL_SSL://pkc-00000.us-central1.gcp.confluent.cloud:9092` or `pkc-00000.us-central1.gcp.confluent.cloud:9092`).
|
|
153
|
+
*/
|
|
154
|
+
bootstrapEndpoint?: pulumi.Input<string>;
|
|
155
|
+
credentials?: pulumi.Input<inputs.ClusterLinkLocalKafkaClusterCredentials>;
|
|
156
|
+
/**
|
|
157
|
+
* The ID of the remote Kafka cluster, for example, `lkc-abc123`.
|
|
158
|
+
*/
|
|
159
|
+
id: pulumi.Input<string>;
|
|
160
|
+
/**
|
|
161
|
+
* The REST endpoint of the remote Kafka cluster, for example, `https://pkc-00000.us-central1.gcp.confluent.cloud:443`).
|
|
162
|
+
*/
|
|
163
|
+
restEndpoint?: pulumi.Input<string>;
|
|
164
|
+
}
|
|
165
|
+
export interface ClusterLinkLocalKafkaClusterCredentials {
|
|
166
|
+
/**
|
|
167
|
+
* The Kafka API Key.
|
|
168
|
+
*/
|
|
169
|
+
key: pulumi.Input<string>;
|
|
170
|
+
/**
|
|
171
|
+
* The Kafka API Secret.
|
|
172
|
+
*
|
|
173
|
+
* > **Note:** The `localKafkaCluster`, `remoteKafkaCluster` configuration block and `linkMode = BIDIRECTIONAL` are in a [Preview lifecycle stage](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy).
|
|
174
|
+
*/
|
|
175
|
+
secret: pulumi.Input<string>;
|
|
176
|
+
}
|
|
177
|
+
export interface ClusterLinkRemoteKafkaCluster {
|
|
178
|
+
/**
|
|
179
|
+
* The bootstrap endpoint of the remote Kafka cluster, for example, `SASL_SSL://pkc-00000.us-central1.gcp.confluent.cloud:9092` or `pkc-00000.us-central1.gcp.confluent.cloud:9092`).
|
|
180
|
+
*/
|
|
181
|
+
bootstrapEndpoint?: pulumi.Input<string>;
|
|
182
|
+
credentials?: pulumi.Input<inputs.ClusterLinkRemoteKafkaClusterCredentials>;
|
|
183
|
+
/**
|
|
184
|
+
* The ID of the remote Kafka cluster, for example, `lkc-abc123`.
|
|
185
|
+
*/
|
|
186
|
+
id: pulumi.Input<string>;
|
|
187
|
+
/**
|
|
188
|
+
* The REST endpoint of the remote Kafka cluster, for example, `https://pkc-00000.us-central1.gcp.confluent.cloud:443`).
|
|
189
|
+
*/
|
|
190
|
+
restEndpoint?: pulumi.Input<string>;
|
|
191
|
+
}
|
|
192
|
+
export interface ClusterLinkRemoteKafkaClusterCredentials {
|
|
193
|
+
/**
|
|
194
|
+
* The Kafka API Key.
|
|
195
|
+
*/
|
|
196
|
+
key: pulumi.Input<string>;
|
|
197
|
+
/**
|
|
198
|
+
* The Kafka API Secret.
|
|
199
|
+
*
|
|
200
|
+
* > **Note:** The `localKafkaCluster`, `remoteKafkaCluster` configuration block and `linkMode = BIDIRECTIONAL` are in a [Preview lifecycle stage](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy).
|
|
145
201
|
*/
|
|
146
202
|
secret: pulumi.Input<string>;
|
|
147
203
|
}
|
|
148
204
|
export interface ClusterLinkSourceKafkaCluster {
|
|
149
205
|
/**
|
|
150
|
-
* The bootstrap endpoint of the
|
|
206
|
+
* The bootstrap endpoint of the remote Kafka cluster, for example, `SASL_SSL://pkc-00000.us-central1.gcp.confluent.cloud:9092` or `pkc-00000.us-central1.gcp.confluent.cloud:9092`).
|
|
151
207
|
*/
|
|
152
208
|
bootstrapEndpoint?: pulumi.Input<string>;
|
|
153
209
|
credentials?: pulumi.Input<inputs.ClusterLinkSourceKafkaClusterCredentials>;
|
|
154
210
|
/**
|
|
155
|
-
* The ID of the
|
|
211
|
+
* The ID of the remote Kafka cluster, for example, `lkc-abc123`.
|
|
156
212
|
*/
|
|
157
213
|
id: pulumi.Input<string>;
|
|
158
214
|
/**
|
|
159
|
-
* The REST endpoint of the
|
|
215
|
+
* The REST endpoint of the remote Kafka cluster, for example, `https://pkc-00000.us-central1.gcp.confluent.cloud:443`).
|
|
160
216
|
*/
|
|
161
217
|
restEndpoint?: pulumi.Input<string>;
|
|
162
218
|
}
|
|
@@ -167,6 +223,8 @@ export interface ClusterLinkSourceKafkaClusterCredentials {
|
|
|
167
223
|
key: pulumi.Input<string>;
|
|
168
224
|
/**
|
|
169
225
|
* The Kafka API Secret.
|
|
226
|
+
*
|
|
227
|
+
* > **Note:** The `localKafkaCluster`, `remoteKafkaCluster` configuration block and `linkMode = BIDIRECTIONAL` are in a [Preview lifecycle stage](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy).
|
|
170
228
|
*/
|
|
171
229
|
secret: pulumi.Input<string>;
|
|
172
230
|
}
|
package/types/output.d.ts
CHANGED
|
@@ -121,16 +121,16 @@ export interface ByokKeyAzure {
|
|
|
121
121
|
}
|
|
122
122
|
export interface ClusterLinkDestinationKafkaCluster {
|
|
123
123
|
/**
|
|
124
|
-
* The bootstrap endpoint of the
|
|
124
|
+
* The bootstrap endpoint of the remote Kafka cluster, for example, `SASL_SSL://pkc-00000.us-central1.gcp.confluent.cloud:9092` or `pkc-00000.us-central1.gcp.confluent.cloud:9092`).
|
|
125
125
|
*/
|
|
126
126
|
bootstrapEndpoint?: string;
|
|
127
127
|
credentials?: outputs.ClusterLinkDestinationKafkaClusterCredentials;
|
|
128
128
|
/**
|
|
129
|
-
* The ID of the
|
|
129
|
+
* The ID of the remote Kafka cluster, for example, `lkc-abc123`.
|
|
130
130
|
*/
|
|
131
131
|
id: string;
|
|
132
132
|
/**
|
|
133
|
-
* The REST endpoint of the
|
|
133
|
+
* The REST endpoint of the remote Kafka cluster, for example, `https://pkc-00000.us-central1.gcp.confluent.cloud:443`).
|
|
134
134
|
*/
|
|
135
135
|
restEndpoint?: string;
|
|
136
136
|
}
|
|
@@ -141,21 +141,77 @@ export interface ClusterLinkDestinationKafkaClusterCredentials {
|
|
|
141
141
|
key: string;
|
|
142
142
|
/**
|
|
143
143
|
* The Kafka API Secret.
|
|
144
|
+
*
|
|
145
|
+
* > **Note:** The `localKafkaCluster`, `remoteKafkaCluster` configuration block and `linkMode = BIDIRECTIONAL` are in a [Preview lifecycle stage](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy).
|
|
146
|
+
*/
|
|
147
|
+
secret: string;
|
|
148
|
+
}
|
|
149
|
+
export interface ClusterLinkLocalKafkaCluster {
|
|
150
|
+
/**
|
|
151
|
+
* The bootstrap endpoint of the remote Kafka cluster, for example, `SASL_SSL://pkc-00000.us-central1.gcp.confluent.cloud:9092` or `pkc-00000.us-central1.gcp.confluent.cloud:9092`).
|
|
152
|
+
*/
|
|
153
|
+
bootstrapEndpoint?: string;
|
|
154
|
+
credentials?: outputs.ClusterLinkLocalKafkaClusterCredentials;
|
|
155
|
+
/**
|
|
156
|
+
* The ID of the remote Kafka cluster, for example, `lkc-abc123`.
|
|
157
|
+
*/
|
|
158
|
+
id: string;
|
|
159
|
+
/**
|
|
160
|
+
* The REST endpoint of the remote Kafka cluster, for example, `https://pkc-00000.us-central1.gcp.confluent.cloud:443`).
|
|
161
|
+
*/
|
|
162
|
+
restEndpoint?: string;
|
|
163
|
+
}
|
|
164
|
+
export interface ClusterLinkLocalKafkaClusterCredentials {
|
|
165
|
+
/**
|
|
166
|
+
* The Kafka API Key.
|
|
167
|
+
*/
|
|
168
|
+
key: string;
|
|
169
|
+
/**
|
|
170
|
+
* The Kafka API Secret.
|
|
171
|
+
*
|
|
172
|
+
* > **Note:** The `localKafkaCluster`, `remoteKafkaCluster` configuration block and `linkMode = BIDIRECTIONAL` are in a [Preview lifecycle stage](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy).
|
|
173
|
+
*/
|
|
174
|
+
secret: string;
|
|
175
|
+
}
|
|
176
|
+
export interface ClusterLinkRemoteKafkaCluster {
|
|
177
|
+
/**
|
|
178
|
+
* The bootstrap endpoint of the remote Kafka cluster, for example, `SASL_SSL://pkc-00000.us-central1.gcp.confluent.cloud:9092` or `pkc-00000.us-central1.gcp.confluent.cloud:9092`).
|
|
179
|
+
*/
|
|
180
|
+
bootstrapEndpoint?: string;
|
|
181
|
+
credentials?: outputs.ClusterLinkRemoteKafkaClusterCredentials;
|
|
182
|
+
/**
|
|
183
|
+
* The ID of the remote Kafka cluster, for example, `lkc-abc123`.
|
|
184
|
+
*/
|
|
185
|
+
id: string;
|
|
186
|
+
/**
|
|
187
|
+
* The REST endpoint of the remote Kafka cluster, for example, `https://pkc-00000.us-central1.gcp.confluent.cloud:443`).
|
|
188
|
+
*/
|
|
189
|
+
restEndpoint?: string;
|
|
190
|
+
}
|
|
191
|
+
export interface ClusterLinkRemoteKafkaClusterCredentials {
|
|
192
|
+
/**
|
|
193
|
+
* The Kafka API Key.
|
|
194
|
+
*/
|
|
195
|
+
key: string;
|
|
196
|
+
/**
|
|
197
|
+
* The Kafka API Secret.
|
|
198
|
+
*
|
|
199
|
+
* > **Note:** The `localKafkaCluster`, `remoteKafkaCluster` configuration block and `linkMode = BIDIRECTIONAL` are in a [Preview lifecycle stage](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy).
|
|
144
200
|
*/
|
|
145
201
|
secret: string;
|
|
146
202
|
}
|
|
147
203
|
export interface ClusterLinkSourceKafkaCluster {
|
|
148
204
|
/**
|
|
149
|
-
* The bootstrap endpoint of the
|
|
205
|
+
* The bootstrap endpoint of the remote Kafka cluster, for example, `SASL_SSL://pkc-00000.us-central1.gcp.confluent.cloud:9092` or `pkc-00000.us-central1.gcp.confluent.cloud:9092`).
|
|
150
206
|
*/
|
|
151
207
|
bootstrapEndpoint?: string;
|
|
152
208
|
credentials?: outputs.ClusterLinkSourceKafkaClusterCredentials;
|
|
153
209
|
/**
|
|
154
|
-
* The ID of the
|
|
210
|
+
* The ID of the remote Kafka cluster, for example, `lkc-abc123`.
|
|
155
211
|
*/
|
|
156
212
|
id: string;
|
|
157
213
|
/**
|
|
158
|
-
* The REST endpoint of the
|
|
214
|
+
* The REST endpoint of the remote Kafka cluster, for example, `https://pkc-00000.us-central1.gcp.confluent.cloud:443`).
|
|
159
215
|
*/
|
|
160
216
|
restEndpoint?: string;
|
|
161
217
|
}
|
|
@@ -166,6 +222,8 @@ export interface ClusterLinkSourceKafkaClusterCredentials {
|
|
|
166
222
|
key: string;
|
|
167
223
|
/**
|
|
168
224
|
* The Kafka API Secret.
|
|
225
|
+
*
|
|
226
|
+
* > **Note:** The `localKafkaCluster`, `remoteKafkaCluster` configuration block and `linkMode = BIDIRECTIONAL` are in a [Preview lifecycle stage](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy).
|
|
169
227
|
*/
|
|
170
228
|
secret: string;
|
|
171
229
|
}
|