@pulumi/confluentcloud 2.41.0-alpha.1759210676 → 2.41.0-alpha.1759241385
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/package.json +2 -2
- package/schemaExporter.d.ts +26 -0
- package/schemaExporter.js +20 -0
- package/schemaExporter.js.map +1 -1
- package/types/input.d.ts +5 -1
- package/types/output.d.ts +5 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/confluentcloud",
|
|
3
|
-
"version": "2.41.0-alpha.
|
|
3
|
+
"version": "2.41.0-alpha.1759241385",
|
|
4
4
|
"description": "A Pulumi package for creating and managing Confluent cloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -24,6 +24,6 @@
|
|
|
24
24
|
"pulumi": {
|
|
25
25
|
"resource": true,
|
|
26
26
|
"name": "confluentcloud",
|
|
27
|
-
"version": "2.41.0-alpha.
|
|
27
|
+
"version": "2.41.0-alpha.1759241385"
|
|
28
28
|
}
|
|
29
29
|
}
|
package/schemaExporter.d.ts
CHANGED
|
@@ -54,6 +54,26 @@ import * as outputs from "./types/output";
|
|
|
54
54
|
* });
|
|
55
55
|
* ```
|
|
56
56
|
*
|
|
57
|
+
* ### Option #3: Manage multiple Schema Registry clusters in the same Pulumi Stack using OAuth authentication
|
|
58
|
+
*
|
|
59
|
+
* ```typescript
|
|
60
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
61
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
62
|
+
*
|
|
63
|
+
* const main = new confluentcloud.SchemaExporter("main", {
|
|
64
|
+
* schemaRegistryCluster: {
|
|
65
|
+
* id: essentials.id,
|
|
66
|
+
* },
|
|
67
|
+
* restEndpoint: essentials.restEndpoint,
|
|
68
|
+
* name: "test-exporter",
|
|
69
|
+
* subjects: ["foo"],
|
|
70
|
+
* destinationSchemaRegistryCluster: {
|
|
71
|
+
* id: destination.id,
|
|
72
|
+
* restEndpoint: destination.restEndpoint,
|
|
73
|
+
* },
|
|
74
|
+
* });
|
|
75
|
+
* ```
|
|
76
|
+
*
|
|
57
77
|
* ## Import
|
|
58
78
|
*
|
|
59
79
|
* You can import a Schema Exporter by using the Schema Registry cluster ID, Schema Exporter name in the format `<Schema Registry cluster ID>/<Schema Exporter name>`, for example:
|
|
@@ -113,6 +133,8 @@ export declare class SchemaExporter extends pulumi.CustomResource {
|
|
|
113
133
|
readonly name: pulumi.Output<string>;
|
|
114
134
|
/**
|
|
115
135
|
* The flag to control whether to reset the exporter when updating configs. Defaults to `false`.
|
|
136
|
+
*
|
|
137
|
+
* > **Note:** When using OAuth authentication in the provider block, `destination_schema_registry_cluster.id` is required and credentials blocks for both source and destination schema registry clusters must be removed.
|
|
116
138
|
*/
|
|
117
139
|
readonly resetOnUpdate: pulumi.Output<boolean | undefined>;
|
|
118
140
|
/**
|
|
@@ -170,6 +192,8 @@ export interface SchemaExporterState {
|
|
|
170
192
|
name?: pulumi.Input<string>;
|
|
171
193
|
/**
|
|
172
194
|
* The flag to control whether to reset the exporter when updating configs. Defaults to `false`.
|
|
195
|
+
*
|
|
196
|
+
* > **Note:** When using OAuth authentication in the provider block, `destination_schema_registry_cluster.id` is required and credentials blocks for both source and destination schema registry clusters must be removed.
|
|
173
197
|
*/
|
|
174
198
|
resetOnUpdate?: pulumi.Input<boolean>;
|
|
175
199
|
/**
|
|
@@ -219,6 +243,8 @@ export interface SchemaExporterArgs {
|
|
|
219
243
|
name?: pulumi.Input<string>;
|
|
220
244
|
/**
|
|
221
245
|
* The flag to control whether to reset the exporter when updating configs. Defaults to `false`.
|
|
246
|
+
*
|
|
247
|
+
* > **Note:** When using OAuth authentication in the provider block, `destination_schema_registry_cluster.id` is required and credentials blocks for both source and destination schema registry clusters must be removed.
|
|
222
248
|
*/
|
|
223
249
|
resetOnUpdate?: pulumi.Input<boolean>;
|
|
224
250
|
/**
|
package/schemaExporter.js
CHANGED
|
@@ -58,6 +58,26 @@ const utilities = require("./utilities");
|
|
|
58
58
|
* });
|
|
59
59
|
* ```
|
|
60
60
|
*
|
|
61
|
+
* ### Option #3: Manage multiple Schema Registry clusters in the same Pulumi Stack using OAuth authentication
|
|
62
|
+
*
|
|
63
|
+
* ```typescript
|
|
64
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
65
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
66
|
+
*
|
|
67
|
+
* const main = new confluentcloud.SchemaExporter("main", {
|
|
68
|
+
* schemaRegistryCluster: {
|
|
69
|
+
* id: essentials.id,
|
|
70
|
+
* },
|
|
71
|
+
* restEndpoint: essentials.restEndpoint,
|
|
72
|
+
* name: "test-exporter",
|
|
73
|
+
* subjects: ["foo"],
|
|
74
|
+
* destinationSchemaRegistryCluster: {
|
|
75
|
+
* id: destination.id,
|
|
76
|
+
* restEndpoint: destination.restEndpoint,
|
|
77
|
+
* },
|
|
78
|
+
* });
|
|
79
|
+
* ```
|
|
80
|
+
*
|
|
61
81
|
* ## Import
|
|
62
82
|
*
|
|
63
83
|
* You can import a Schema Exporter by using the Schema Registry cluster ID, Schema Exporter name in the format `<Schema Registry cluster ID>/<Schema Exporter name>`, for example:
|
package/schemaExporter.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemaExporter.js","sourceRoot":"","sources":["../schemaExporter.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"schemaExporter.js","sourceRoot":"","sources":["../schemaExporter.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0FG;AACH,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AAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,aAAa,CAAC,EAAE,CAAC;QAChE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,cAAc,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACnE,CAAC;;AAxHL,wCAyHC;AA3GG,gBAAgB;AACO,2BAAY,GAAG,oDAAoD,CAAC"}
|
package/types/input.d.ts
CHANGED
|
@@ -2665,7 +2665,11 @@ export interface SchemaExporterCredentials {
|
|
|
2665
2665
|
secret: pulumi.Input<string>;
|
|
2666
2666
|
}
|
|
2667
2667
|
export interface SchemaExporterDestinationSchemaRegistryCluster {
|
|
2668
|
-
credentials
|
|
2668
|
+
credentials?: pulumi.Input<inputs.SchemaExporterDestinationSchemaRegistryClusterCredentials>;
|
|
2669
|
+
/**
|
|
2670
|
+
* The ID of the destination Schema Registry cluster, for example, `lsrc-abc123`.
|
|
2671
|
+
*/
|
|
2672
|
+
id?: pulumi.Input<string>;
|
|
2669
2673
|
/**
|
|
2670
2674
|
* The REST endpoint of the destination Schema Registry cluster, for example, `https://pkc-00000.us-central1.gcp.confluent.cloud:443`).
|
|
2671
2675
|
*/
|
package/types/output.d.ts
CHANGED
|
@@ -2570,7 +2570,11 @@ export interface SchemaExporterCredentials {
|
|
|
2570
2570
|
secret: string;
|
|
2571
2571
|
}
|
|
2572
2572
|
export interface SchemaExporterDestinationSchemaRegistryCluster {
|
|
2573
|
-
credentials
|
|
2573
|
+
credentials?: outputs.SchemaExporterDestinationSchemaRegistryClusterCredentials;
|
|
2574
|
+
/**
|
|
2575
|
+
* The ID of the destination Schema Registry cluster, for example, `lsrc-abc123`.
|
|
2576
|
+
*/
|
|
2577
|
+
id: string;
|
|
2574
2578
|
/**
|
|
2575
2579
|
* The REST endpoint of the destination Schema Registry cluster, for example, `https://pkc-00000.us-central1.gcp.confluent.cloud:443`).
|
|
2576
2580
|
*/
|