@pulumi/confluentcloud 2.9.0 → 2.9.1-alpha.1730411108
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/businessMetadata.d.ts +59 -0
- package/businessMetadata.js +59 -0
- package/businessMetadata.js.map +1 -1
- package/businessMetadataBinding.d.ts +59 -0
- package/businessMetadataBinding.js +59 -0
- package/businessMetadataBinding.js.map +1 -1
- package/catalogEntityAttributes.d.ts +116 -0
- package/catalogEntityAttributes.js +116 -0
- package/catalogEntityAttributes.js.map +1 -1
- package/flinkStatement.d.ts +57 -2
- package/flinkStatement.js +57 -2
- package/flinkStatement.js.map +1 -1
- package/getBusinessMetadata.d.ts +74 -0
- package/getBusinessMetadata.js +74 -0
- package/getBusinessMetadata.js.map +1 -1
- package/getBusinessMetadataBinding.d.ts +82 -0
- package/getBusinessMetadataBinding.js +82 -0
- package/getBusinessMetadataBinding.js.map +1 -1
- package/getKafkaTopic.d.ts +78 -0
- package/getKafkaTopic.js +78 -0
- package/getKafkaTopic.js.map +1 -1
- package/getSchema.d.ts +82 -0
- package/getSchema.js +82 -0
- package/getSchema.js.map +1 -1
- package/getSchemaRegistryClusterConfig.d.ts +72 -0
- package/getSchemaRegistryClusterConfig.js +72 -0
- package/getSchemaRegistryClusterConfig.js.map +1 -1
- package/getSchemaRegistryClusterMode.d.ts +72 -0
- package/getSchemaRegistryClusterMode.js +72 -0
- package/getSchemaRegistryClusterMode.js.map +1 -1
- package/getSchemaRegistryDek.d.ts +78 -0
- package/getSchemaRegistryDek.js +78 -0
- package/getSchemaRegistryDek.js.map +1 -1
- package/getSchemaRegistryKek.d.ts +74 -0
- package/getSchemaRegistryKek.js +74 -0
- package/getSchemaRegistryKek.js.map +1 -1
- package/getSchemas.d.ts +94 -0
- package/getSchemas.js +94 -0
- package/getSchemas.js.map +1 -1
- package/getSubjectConfig.d.ts +14 -0
- package/getSubjectConfig.js +14 -0
- package/getSubjectConfig.js.map +1 -1
- package/getSubjectMode.d.ts +78 -0
- package/getSubjectMode.js +78 -0
- package/getSubjectMode.js.map +1 -1
- package/getTag.d.ts +74 -0
- package/getTag.js +74 -0
- package/getTag.js.map +1 -1
- package/getTagBinding.d.ts +82 -0
- package/getTagBinding.js +82 -0
- package/getTagBinding.js.map +1 -1
- package/kafkaAcl.d.ts +86 -2
- package/kafkaAcl.js +86 -2
- package/kafkaAcl.js.map +1 -1
- package/kafkaClusterConfig.d.ts +42 -2
- package/kafkaClusterConfig.js +42 -2
- package/kafkaClusterConfig.js.map +1 -1
- package/kafkaTopic.d.ts +57 -2
- package/kafkaTopic.js +57 -2
- package/kafkaTopic.js.map +1 -1
- package/package.json +2 -2
- package/schema.d.ts +2 -0
- package/schema.js +2 -0
- package/schema.js.map +1 -1
- package/schemaExporter.d.ts +52 -0
- package/schemaExporter.js +52 -0
- package/schemaExporter.js.map +1 -1
- package/schemaRegistryClusterConfig.d.ts +30 -0
- package/schemaRegistryClusterConfig.js +30 -0
- package/schemaRegistryClusterConfig.js.map +1 -1
- package/schemaRegistryClusterMode.d.ts +30 -0
- package/schemaRegistryClusterMode.js +30 -0
- package/schemaRegistryClusterMode.js.map +1 -1
- package/schemaRegistryDek.d.ts +45 -0
- package/schemaRegistryDek.js +45 -0
- package/schemaRegistryDek.js.map +1 -1
- package/schemaRegistryKek.d.ts +51 -0
- package/schemaRegistryKek.js +51 -0
- package/schemaRegistryKek.js.map +1 -1
- package/subjectConfig.d.ts +34 -0
- package/subjectConfig.js +34 -0
- package/subjectConfig.js.map +1 -1
- package/subjectMode.d.ts +34 -0
- package/subjectMode.js +34 -0
- package/subjectMode.js.map +1 -1
- package/tag.d.ts +43 -0
- package/tag.js +43 -0
- package/tag.js.map +1 -1
- package/tagBinding.d.ts +51 -0
- package/tagBinding.js +51 -0
- package/tagBinding.js.map +1 -1
package/getSchemaRegistryDek.js
CHANGED
|
@@ -5,6 +5,45 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.getSchemaRegistryDekOutput = exports.getSchemaRegistryDek = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* [](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
|
|
10
|
+
*
|
|
11
|
+
* `confluentcloud.SchemaRegistryDek` describes a Schema Registry Data Encryption Key (DEK) data source.
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* ### Option #1: Manage multiple Schema Registry clusters in the same Pulumi Stack
|
|
16
|
+
*
|
|
17
|
+
* ```typescript
|
|
18
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
19
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
20
|
+
*
|
|
21
|
+
* const myKey = confluentcloud.getSchemaRegistryDek({
|
|
22
|
+
* schemaRegistryCluster: {
|
|
23
|
+
* id: essentials.id,
|
|
24
|
+
* },
|
|
25
|
+
* restEndpoint: essentials.restEndpoint,
|
|
26
|
+
* credentials: {
|
|
27
|
+
* key: "<Schema Registry API Key for data.confluent_schema_registry_cluster.essentials>",
|
|
28
|
+
* secret: "<Schema Registry API Secret for data.confluent_schema_registry_cluster.essentials>",
|
|
29
|
+
* },
|
|
30
|
+
* kekName: "my_kek",
|
|
31
|
+
* subjectName: "my_subject",
|
|
32
|
+
* });
|
|
33
|
+
* ```
|
|
34
|
+
*
|
|
35
|
+
* ### Option #2: Manage a single Schema Registry cluster in the same Pulumi Stack
|
|
36
|
+
*
|
|
37
|
+
* ```typescript
|
|
38
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
39
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
40
|
+
*
|
|
41
|
+
* const myKey = confluentcloud.getSchemaRegistryDek({
|
|
42
|
+
* kekName: "my_kek",
|
|
43
|
+
* subjectName: "my_subject",
|
|
44
|
+
* });
|
|
45
|
+
* ```
|
|
46
|
+
*/
|
|
8
47
|
function getSchemaRegistryDek(args, opts) {
|
|
9
48
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
10
49
|
return pulumi.runtime.invoke("confluentcloud:index/getSchemaRegistryDek:getSchemaRegistryDek", {
|
|
@@ -18,6 +57,45 @@ function getSchemaRegistryDek(args, opts) {
|
|
|
18
57
|
}, opts);
|
|
19
58
|
}
|
|
20
59
|
exports.getSchemaRegistryDek = getSchemaRegistryDek;
|
|
60
|
+
/**
|
|
61
|
+
* [](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
|
|
62
|
+
*
|
|
63
|
+
* `confluentcloud.SchemaRegistryDek` describes a Schema Registry Data Encryption Key (DEK) data source.
|
|
64
|
+
*
|
|
65
|
+
* ## Example Usage
|
|
66
|
+
*
|
|
67
|
+
* ### Option #1: Manage multiple Schema Registry clusters in the same Pulumi Stack
|
|
68
|
+
*
|
|
69
|
+
* ```typescript
|
|
70
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
71
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
72
|
+
*
|
|
73
|
+
* const myKey = confluentcloud.getSchemaRegistryDek({
|
|
74
|
+
* schemaRegistryCluster: {
|
|
75
|
+
* id: essentials.id,
|
|
76
|
+
* },
|
|
77
|
+
* restEndpoint: essentials.restEndpoint,
|
|
78
|
+
* credentials: {
|
|
79
|
+
* key: "<Schema Registry API Key for data.confluent_schema_registry_cluster.essentials>",
|
|
80
|
+
* secret: "<Schema Registry API Secret for data.confluent_schema_registry_cluster.essentials>",
|
|
81
|
+
* },
|
|
82
|
+
* kekName: "my_kek",
|
|
83
|
+
* subjectName: "my_subject",
|
|
84
|
+
* });
|
|
85
|
+
* ```
|
|
86
|
+
*
|
|
87
|
+
* ### Option #2: Manage a single Schema Registry cluster in the same Pulumi Stack
|
|
88
|
+
*
|
|
89
|
+
* ```typescript
|
|
90
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
91
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
92
|
+
*
|
|
93
|
+
* const myKey = confluentcloud.getSchemaRegistryDek({
|
|
94
|
+
* kekName: "my_kek",
|
|
95
|
+
* subjectName: "my_subject",
|
|
96
|
+
* });
|
|
97
|
+
* ```
|
|
98
|
+
*/
|
|
21
99
|
function getSchemaRegistryDekOutput(args, opts) {
|
|
22
100
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
23
101
|
return pulumi.runtime.invokeOutput("confluentcloud:index/getSchemaRegistryDek:getSchemaRegistryDek", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getSchemaRegistryDek.js","sourceRoot":"","sources":["../getSchemaRegistryDek.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAA2B;IAC5F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gEAAgE,EAAE;QAC3F,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,uBAAuB,EAAE,IAAI,CAAC,qBAAqB;QACnD,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,oDAWC;AA4DD,SAAgB,0BAA0B,CAAC,IAAoC,EAAE,IAA2B;IACxG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;I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ACxG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,gEAAgE,EAAE;QACjG,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,uBAAuB,EAAE,IAAI,CAAC,qBAAqB;QACnD,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,gEAWC"}
|
|
@@ -1,6 +1,43 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import * as inputs from "./types/input";
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* [](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
|
|
6
|
+
*
|
|
7
|
+
* `confluentcloud.SchemaRegistryKek` describes a Schema Registry Key Encryption Key (KEK) data source.
|
|
8
|
+
*
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* ### Option #1: Manage multiple Schema Registry clusters in the same Pulumi Stack
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
16
|
+
*
|
|
17
|
+
* const myKey = confluentcloud.getSchemaRegistryKek({
|
|
18
|
+
* schemaRegistryCluster: {
|
|
19
|
+
* id: essentials.id,
|
|
20
|
+
* },
|
|
21
|
+
* restEndpoint: essentials.restEndpoint,
|
|
22
|
+
* credentials: {
|
|
23
|
+
* key: "<Schema Registry API Key for data.confluent_schema_registry_cluster.essentials>",
|
|
24
|
+
* secret: "<Schema Registry API Secret for data.confluent_schema_registry_cluster.essentials>",
|
|
25
|
+
* },
|
|
26
|
+
* name: "my_key",
|
|
27
|
+
* });
|
|
28
|
+
* ```
|
|
29
|
+
*
|
|
30
|
+
* ### Option #2: Manage a single Schema Registry cluster in the same Pulumi Stack
|
|
31
|
+
*
|
|
32
|
+
* ```typescript
|
|
33
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
34
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
35
|
+
*
|
|
36
|
+
* const myKey = confluentcloud.getSchemaRegistryKek({
|
|
37
|
+
* name: "my_key",
|
|
38
|
+
* });
|
|
39
|
+
* ```
|
|
40
|
+
*/
|
|
4
41
|
export declare function getSchemaRegistryKek(args: GetSchemaRegistryKekArgs, opts?: pulumi.InvokeOptions): Promise<GetSchemaRegistryKekResult>;
|
|
5
42
|
/**
|
|
6
43
|
* A collection of arguments for invoking getSchemaRegistryKek.
|
|
@@ -64,6 +101,43 @@ export interface GetSchemaRegistryKekResult {
|
|
|
64
101
|
*/
|
|
65
102
|
readonly shared: boolean;
|
|
66
103
|
}
|
|
104
|
+
/**
|
|
105
|
+
* [](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
|
|
106
|
+
*
|
|
107
|
+
* `confluentcloud.SchemaRegistryKek` describes a Schema Registry Key Encryption Key (KEK) data source.
|
|
108
|
+
*
|
|
109
|
+
* ## Example Usage
|
|
110
|
+
*
|
|
111
|
+
* ### Option #1: Manage multiple Schema Registry clusters in the same Pulumi Stack
|
|
112
|
+
*
|
|
113
|
+
* ```typescript
|
|
114
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
115
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
116
|
+
*
|
|
117
|
+
* const myKey = confluentcloud.getSchemaRegistryKek({
|
|
118
|
+
* schemaRegistryCluster: {
|
|
119
|
+
* id: essentials.id,
|
|
120
|
+
* },
|
|
121
|
+
* restEndpoint: essentials.restEndpoint,
|
|
122
|
+
* credentials: {
|
|
123
|
+
* key: "<Schema Registry API Key for data.confluent_schema_registry_cluster.essentials>",
|
|
124
|
+
* secret: "<Schema Registry API Secret for data.confluent_schema_registry_cluster.essentials>",
|
|
125
|
+
* },
|
|
126
|
+
* name: "my_key",
|
|
127
|
+
* });
|
|
128
|
+
* ```
|
|
129
|
+
*
|
|
130
|
+
* ### Option #2: Manage a single Schema Registry cluster in the same Pulumi Stack
|
|
131
|
+
*
|
|
132
|
+
* ```typescript
|
|
133
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
134
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
135
|
+
*
|
|
136
|
+
* const myKey = confluentcloud.getSchemaRegistryKek({
|
|
137
|
+
* name: "my_key",
|
|
138
|
+
* });
|
|
139
|
+
* ```
|
|
140
|
+
*/
|
|
67
141
|
export declare function getSchemaRegistryKekOutput(args: GetSchemaRegistryKekOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetSchemaRegistryKekResult>;
|
|
68
142
|
/**
|
|
69
143
|
* A collection of arguments for invoking getSchemaRegistryKek.
|
package/getSchemaRegistryKek.js
CHANGED
|
@@ -5,6 +5,43 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.getSchemaRegistryKekOutput = exports.getSchemaRegistryKek = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* [](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
|
|
10
|
+
*
|
|
11
|
+
* `confluentcloud.SchemaRegistryKek` describes a Schema Registry Key Encryption Key (KEK) data source.
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* ### Option #1: Manage multiple Schema Registry clusters in the same Pulumi Stack
|
|
16
|
+
*
|
|
17
|
+
* ```typescript
|
|
18
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
19
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
20
|
+
*
|
|
21
|
+
* const myKey = confluentcloud.getSchemaRegistryKek({
|
|
22
|
+
* schemaRegistryCluster: {
|
|
23
|
+
* id: essentials.id,
|
|
24
|
+
* },
|
|
25
|
+
* restEndpoint: essentials.restEndpoint,
|
|
26
|
+
* credentials: {
|
|
27
|
+
* key: "<Schema Registry API Key for data.confluent_schema_registry_cluster.essentials>",
|
|
28
|
+
* secret: "<Schema Registry API Secret for data.confluent_schema_registry_cluster.essentials>",
|
|
29
|
+
* },
|
|
30
|
+
* name: "my_key",
|
|
31
|
+
* });
|
|
32
|
+
* ```
|
|
33
|
+
*
|
|
34
|
+
* ### Option #2: Manage a single Schema Registry cluster in the same Pulumi Stack
|
|
35
|
+
*
|
|
36
|
+
* ```typescript
|
|
37
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
38
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
39
|
+
*
|
|
40
|
+
* const myKey = confluentcloud.getSchemaRegistryKek({
|
|
41
|
+
* name: "my_key",
|
|
42
|
+
* });
|
|
43
|
+
* ```
|
|
44
|
+
*/
|
|
8
45
|
function getSchemaRegistryKek(args, opts) {
|
|
9
46
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
10
47
|
return pulumi.runtime.invoke("confluentcloud:index/getSchemaRegistryKek:getSchemaRegistryKek", {
|
|
@@ -15,6 +52,43 @@ function getSchemaRegistryKek(args, opts) {
|
|
|
15
52
|
}, opts);
|
|
16
53
|
}
|
|
17
54
|
exports.getSchemaRegistryKek = getSchemaRegistryKek;
|
|
55
|
+
/**
|
|
56
|
+
* [](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
|
|
57
|
+
*
|
|
58
|
+
* `confluentcloud.SchemaRegistryKek` describes a Schema Registry Key Encryption Key (KEK) data source.
|
|
59
|
+
*
|
|
60
|
+
* ## Example Usage
|
|
61
|
+
*
|
|
62
|
+
* ### Option #1: Manage multiple Schema Registry clusters in the same Pulumi Stack
|
|
63
|
+
*
|
|
64
|
+
* ```typescript
|
|
65
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
66
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
67
|
+
*
|
|
68
|
+
* const myKey = confluentcloud.getSchemaRegistryKek({
|
|
69
|
+
* schemaRegistryCluster: {
|
|
70
|
+
* id: essentials.id,
|
|
71
|
+
* },
|
|
72
|
+
* restEndpoint: essentials.restEndpoint,
|
|
73
|
+
* credentials: {
|
|
74
|
+
* key: "<Schema Registry API Key for data.confluent_schema_registry_cluster.essentials>",
|
|
75
|
+
* secret: "<Schema Registry API Secret for data.confluent_schema_registry_cluster.essentials>",
|
|
76
|
+
* },
|
|
77
|
+
* name: "my_key",
|
|
78
|
+
* });
|
|
79
|
+
* ```
|
|
80
|
+
*
|
|
81
|
+
* ### Option #2: Manage a single Schema Registry cluster in the same Pulumi Stack
|
|
82
|
+
*
|
|
83
|
+
* ```typescript
|
|
84
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
85
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
86
|
+
*
|
|
87
|
+
* const myKey = confluentcloud.getSchemaRegistryKek({
|
|
88
|
+
* name: "my_key",
|
|
89
|
+
* });
|
|
90
|
+
* ```
|
|
91
|
+
*/
|
|
18
92
|
function getSchemaRegistryKekOutput(args, opts) {
|
|
19
93
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
20
94
|
return pulumi.runtime.invokeOutput("confluentcloud:index/getSchemaRegistryKek:getSchemaRegistryKek", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getSchemaRegistryKek.js","sourceRoot":"","sources":["../getSchemaRegistryKek.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,S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C,MAAM,CAAC,gEAAgE,EAAE;QAC3F,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,uBAAuB,EAAE,IAAI,CAAC,qBAAqB;KACtD,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,oDAQC;AA+DD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,SAAgB,0BAA0B,CAAC,IAAoC,EAAE,IAA2B;IACxG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,gEAAgE,EAAE;QACjG,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,uBAAuB,EAAE,IAAI,CAAC,qBAAqB;KACtD,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,gEAQC"}
|
package/getSchemas.d.ts
CHANGED
|
@@ -1,6 +1,53 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import * as inputs from "./types/input";
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* [](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
|
|
6
|
+
*
|
|
7
|
+
* `confluentcloud.getSchemas` describes a Schema data source.
|
|
8
|
+
*
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* ### Option #1: Manage multiple Schema Registry clusters in the same Pulumi Stack
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
16
|
+
*
|
|
17
|
+
* const main = confluentcloud.getSchemas({
|
|
18
|
+
* schemaRegistryCluster: {
|
|
19
|
+
* id: essentials.id,
|
|
20
|
+
* },
|
|
21
|
+
* restEndpoint: essentials.restEndpoint,
|
|
22
|
+
* filter: {
|
|
23
|
+
* subjectPrefix: "examples.record",
|
|
24
|
+
* latestOnly: false,
|
|
25
|
+
* deleted: true,
|
|
26
|
+
* },
|
|
27
|
+
* credentials: {
|
|
28
|
+
* key: "<Schema Registry API Key for data.confluent_schema_registry_cluster.essentials>",
|
|
29
|
+
* secret: "<Schema Registry API Secret for data.confluent_schema_registry_cluster.essentials>",
|
|
30
|
+
* },
|
|
31
|
+
* });
|
|
32
|
+
* export const schemas = main.then(main => main.schemas);
|
|
33
|
+
* ```
|
|
34
|
+
*
|
|
35
|
+
* ### Option #2: Manage a single Schema Registry cluster in the same Pulumi Stack
|
|
36
|
+
*
|
|
37
|
+
* ```typescript
|
|
38
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
39
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
40
|
+
*
|
|
41
|
+
* const main = confluentcloud.getSchemas({
|
|
42
|
+
* filter: {
|
|
43
|
+
* subjectPrefix: "examples.record",
|
|
44
|
+
* latestOnly: false,
|
|
45
|
+
* deleted: true,
|
|
46
|
+
* },
|
|
47
|
+
* });
|
|
48
|
+
* export const schemas = main.then(main => main.schemas);
|
|
49
|
+
* ```
|
|
50
|
+
*/
|
|
4
51
|
export declare function getSchemas(args?: GetSchemasArgs, opts?: pulumi.InvokeOptions): Promise<GetSchemasResult>;
|
|
5
52
|
/**
|
|
6
53
|
* A collection of arguments for invoking getSchemas.
|
|
@@ -31,6 +78,53 @@ export interface GetSchemasResult {
|
|
|
31
78
|
*/
|
|
32
79
|
readonly schemas: outputs.GetSchemasSchema[];
|
|
33
80
|
}
|
|
81
|
+
/**
|
|
82
|
+
* [](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
|
|
83
|
+
*
|
|
84
|
+
* `confluentcloud.getSchemas` describes a Schema data source.
|
|
85
|
+
*
|
|
86
|
+
* ## Example Usage
|
|
87
|
+
*
|
|
88
|
+
* ### Option #1: Manage multiple Schema Registry clusters in the same Pulumi Stack
|
|
89
|
+
*
|
|
90
|
+
* ```typescript
|
|
91
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
92
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
93
|
+
*
|
|
94
|
+
* const main = confluentcloud.getSchemas({
|
|
95
|
+
* schemaRegistryCluster: {
|
|
96
|
+
* id: essentials.id,
|
|
97
|
+
* },
|
|
98
|
+
* restEndpoint: essentials.restEndpoint,
|
|
99
|
+
* filter: {
|
|
100
|
+
* subjectPrefix: "examples.record",
|
|
101
|
+
* latestOnly: false,
|
|
102
|
+
* deleted: true,
|
|
103
|
+
* },
|
|
104
|
+
* credentials: {
|
|
105
|
+
* key: "<Schema Registry API Key for data.confluent_schema_registry_cluster.essentials>",
|
|
106
|
+
* secret: "<Schema Registry API Secret for data.confluent_schema_registry_cluster.essentials>",
|
|
107
|
+
* },
|
|
108
|
+
* });
|
|
109
|
+
* export const schemas = main.then(main => main.schemas);
|
|
110
|
+
* ```
|
|
111
|
+
*
|
|
112
|
+
* ### Option #2: Manage a single Schema Registry cluster in the same Pulumi Stack
|
|
113
|
+
*
|
|
114
|
+
* ```typescript
|
|
115
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
116
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
117
|
+
*
|
|
118
|
+
* const main = confluentcloud.getSchemas({
|
|
119
|
+
* filter: {
|
|
120
|
+
* subjectPrefix: "examples.record",
|
|
121
|
+
* latestOnly: false,
|
|
122
|
+
* deleted: true,
|
|
123
|
+
* },
|
|
124
|
+
* });
|
|
125
|
+
* export const schemas = main.then(main => main.schemas);
|
|
126
|
+
* ```
|
|
127
|
+
*/
|
|
34
128
|
export declare function getSchemasOutput(args?: GetSchemasOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetSchemasResult>;
|
|
35
129
|
/**
|
|
36
130
|
* A collection of arguments for invoking getSchemas.
|
package/getSchemas.js
CHANGED
|
@@ -5,6 +5,53 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.getSchemasOutput = exports.getSchemas = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* [](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
|
|
10
|
+
*
|
|
11
|
+
* `confluentcloud.getSchemas` describes a Schema data source.
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* ### Option #1: Manage multiple Schema Registry clusters in the same Pulumi Stack
|
|
16
|
+
*
|
|
17
|
+
* ```typescript
|
|
18
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
19
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
20
|
+
*
|
|
21
|
+
* const main = confluentcloud.getSchemas({
|
|
22
|
+
* schemaRegistryCluster: {
|
|
23
|
+
* id: essentials.id,
|
|
24
|
+
* },
|
|
25
|
+
* restEndpoint: essentials.restEndpoint,
|
|
26
|
+
* filter: {
|
|
27
|
+
* subjectPrefix: "examples.record",
|
|
28
|
+
* latestOnly: false,
|
|
29
|
+
* deleted: true,
|
|
30
|
+
* },
|
|
31
|
+
* credentials: {
|
|
32
|
+
* key: "<Schema Registry API Key for data.confluent_schema_registry_cluster.essentials>",
|
|
33
|
+
* secret: "<Schema Registry API Secret for data.confluent_schema_registry_cluster.essentials>",
|
|
34
|
+
* },
|
|
35
|
+
* });
|
|
36
|
+
* export const schemas = main.then(main => main.schemas);
|
|
37
|
+
* ```
|
|
38
|
+
*
|
|
39
|
+
* ### Option #2: Manage a single Schema Registry cluster in the same Pulumi Stack
|
|
40
|
+
*
|
|
41
|
+
* ```typescript
|
|
42
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
43
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
44
|
+
*
|
|
45
|
+
* const main = confluentcloud.getSchemas({
|
|
46
|
+
* filter: {
|
|
47
|
+
* subjectPrefix: "examples.record",
|
|
48
|
+
* latestOnly: false,
|
|
49
|
+
* deleted: true,
|
|
50
|
+
* },
|
|
51
|
+
* });
|
|
52
|
+
* export const schemas = main.then(main => main.schemas);
|
|
53
|
+
* ```
|
|
54
|
+
*/
|
|
8
55
|
function getSchemas(args, opts) {
|
|
9
56
|
args = args || {};
|
|
10
57
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -16,6 +63,53 @@ function getSchemas(args, opts) {
|
|
|
16
63
|
}, opts);
|
|
17
64
|
}
|
|
18
65
|
exports.getSchemas = getSchemas;
|
|
66
|
+
/**
|
|
67
|
+
* [](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
|
|
68
|
+
*
|
|
69
|
+
* `confluentcloud.getSchemas` describes a Schema data source.
|
|
70
|
+
*
|
|
71
|
+
* ## Example Usage
|
|
72
|
+
*
|
|
73
|
+
* ### Option #1: Manage multiple Schema Registry clusters in the same Pulumi Stack
|
|
74
|
+
*
|
|
75
|
+
* ```typescript
|
|
76
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
77
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
78
|
+
*
|
|
79
|
+
* const main = confluentcloud.getSchemas({
|
|
80
|
+
* schemaRegistryCluster: {
|
|
81
|
+
* id: essentials.id,
|
|
82
|
+
* },
|
|
83
|
+
* restEndpoint: essentials.restEndpoint,
|
|
84
|
+
* filter: {
|
|
85
|
+
* subjectPrefix: "examples.record",
|
|
86
|
+
* latestOnly: false,
|
|
87
|
+
* deleted: true,
|
|
88
|
+
* },
|
|
89
|
+
* credentials: {
|
|
90
|
+
* key: "<Schema Registry API Key for data.confluent_schema_registry_cluster.essentials>",
|
|
91
|
+
* secret: "<Schema Registry API Secret for data.confluent_schema_registry_cluster.essentials>",
|
|
92
|
+
* },
|
|
93
|
+
* });
|
|
94
|
+
* export const schemas = main.then(main => main.schemas);
|
|
95
|
+
* ```
|
|
96
|
+
*
|
|
97
|
+
* ### Option #2: Manage a single Schema Registry cluster in the same Pulumi Stack
|
|
98
|
+
*
|
|
99
|
+
* ```typescript
|
|
100
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
101
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
102
|
+
*
|
|
103
|
+
* const main = confluentcloud.getSchemas({
|
|
104
|
+
* filter: {
|
|
105
|
+
* subjectPrefix: "examples.record",
|
|
106
|
+
* latestOnly: false,
|
|
107
|
+
* deleted: true,
|
|
108
|
+
* },
|
|
109
|
+
* });
|
|
110
|
+
* export const schemas = main.then(main => main.schemas);
|
|
111
|
+
* ```
|
|
112
|
+
*/
|
|
19
113
|
function getSchemasOutput(args, opts) {
|
|
20
114
|
args = args || {};
|
|
21
115
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
package/getSchemas.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getSchemas.js","sourceRoot":"","sources":["../getSchemas.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,SAAgB,UAAU,CAAC,IAAqB,EAAE,IAA2B;IACzE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4CAA4C,EAAE;QACvE,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AACH,SAAgB,gBAAgB,CAAC,IAA2B,EAAE,IAA2B;IACrF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,4CAA4C,EAAE;QAC7E,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,uBAAuB,EAAE,IAAI,CAAC,qBAAqB;KACtD,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,4CASC"}
|
package/getSubjectConfig.d.ts
CHANGED
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import * as inputs from "./types/input";
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* [](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
|
|
6
|
+
*
|
|
7
|
+
* `confluentSubjectCompatibilityLevel` describes a Subject Config data source.
|
|
8
|
+
*
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*/
|
|
4
11
|
export declare function getSubjectConfig(args: GetSubjectConfigArgs, opts?: pulumi.InvokeOptions): Promise<GetSubjectConfigResult>;
|
|
5
12
|
/**
|
|
6
13
|
* A collection of arguments for invoking getSubjectConfig.
|
|
@@ -34,6 +41,13 @@ export interface GetSubjectConfigResult {
|
|
|
34
41
|
readonly schemaRegistryCluster?: outputs.GetSubjectConfigSchemaRegistryCluster;
|
|
35
42
|
readonly subjectName: string;
|
|
36
43
|
}
|
|
44
|
+
/**
|
|
45
|
+
* [](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
|
|
46
|
+
*
|
|
47
|
+
* `confluentSubjectCompatibilityLevel` describes a Subject Config data source.
|
|
48
|
+
*
|
|
49
|
+
* ## Example Usage
|
|
50
|
+
*/
|
|
37
51
|
export declare function getSubjectConfigOutput(args: GetSubjectConfigOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetSubjectConfigResult>;
|
|
38
52
|
/**
|
|
39
53
|
* A collection of arguments for invoking getSubjectConfig.
|
package/getSubjectConfig.js
CHANGED
|
@@ -5,6 +5,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.getSubjectConfigOutput = exports.getSubjectConfig = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* [](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
|
|
10
|
+
*
|
|
11
|
+
* `confluentSubjectCompatibilityLevel` describes a Subject Config data source.
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*/
|
|
8
15
|
function getSubjectConfig(args, opts) {
|
|
9
16
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
10
17
|
return pulumi.runtime.invoke("confluentcloud:index/getSubjectConfig:getSubjectConfig", {
|
|
@@ -15,6 +22,13 @@ function getSubjectConfig(args, opts) {
|
|
|
15
22
|
}, opts);
|
|
16
23
|
}
|
|
17
24
|
exports.getSubjectConfig = getSubjectConfig;
|
|
25
|
+
/**
|
|
26
|
+
* [](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
|
|
27
|
+
*
|
|
28
|
+
* `confluentSubjectCompatibilityLevel` describes a Subject Config data source.
|
|
29
|
+
*
|
|
30
|
+
* ## Example Usage
|
|
31
|
+
*/
|
|
18
32
|
function getSubjectConfigOutput(args, opts) {
|
|
19
33
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
20
34
|
return pulumi.runtime.invokeOutput("confluentcloud:index/getSubjectConfig:getSubjectConfig", {
|
package/getSubjectConfig.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getSubjectConfig.js","sourceRoot":"","sources":["../getSubjectConfig.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IACpF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wDAAwD,EAAE;QACnF,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,uBAAuB,EAAE,IAAI,CAAC,qBAAqB;QACnD,aAAa,EAAE,IAAI,CAAC,WAAW;KAClC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,4CAQC;AAmCD,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAA2B;IAChG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,wDAAwD,EAAE;QACzF,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,uBAAuB,EAAE,IAAI,CAAC,qBAAqB;QACnD,aAAa,EAAE,IAAI,CAAC,WAAW;KAClC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,wDAQC"}
|
|
1
|
+
{"version":3,"file":"getSubjectConfig.js","sourceRoot":"","sources":["../getSubjectConfig.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;GAMG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IACpF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wDAAwD,EAAE;QACnF,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,uBAAuB,EAAE,IAAI,CAAC,qBAAqB;QACnD,aAAa,EAAE,IAAI,CAAC,WAAW;KAClC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,4CAQC;AAmCD;;;;;;GAMG;AACH,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAA2B;IAChG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,wDAAwD,EAAE;QACzF,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,uBAAuB,EAAE,IAAI,CAAC,qBAAqB;QACnD,aAAa,EAAE,IAAI,CAAC,WAAW;KAClC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,wDAQC"}
|
package/getSubjectMode.d.ts
CHANGED
|
@@ -1,6 +1,45 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import * as inputs from "./types/input";
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* [](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
|
|
6
|
+
*
|
|
7
|
+
* `confluentcloud.SubjectMode` describes a Subject Mode data source.
|
|
8
|
+
*
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* ### Option #1: Manage multiple Schema Registry clusters in the same Pulumi Stack
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
16
|
+
*
|
|
17
|
+
* const purchase-v1 = confluentcloud.getSubjectMode({
|
|
18
|
+
* schemaRegistryCluster: {
|
|
19
|
+
* id: essentials.id,
|
|
20
|
+
* },
|
|
21
|
+
* restEndpoint: essentials.restEndpoint,
|
|
22
|
+
* subjectName: "proto-purchase-value",
|
|
23
|
+
* credentials: {
|
|
24
|
+
* key: "<Schema Registry API Key for data.confluent_schema_registry_cluster.essentials>",
|
|
25
|
+
* secret: "<Schema Registry API Secret for data.confluent_schema_registry_cluster.essentials>",
|
|
26
|
+
* },
|
|
27
|
+
* });
|
|
28
|
+
* export const mode = purchase_v1.then(purchase_v1 => purchase_v1.mode);
|
|
29
|
+
* ```
|
|
30
|
+
*
|
|
31
|
+
* ### Option #2: Manage a single Schema Registry cluster in the same Pulumi Stack
|
|
32
|
+
*
|
|
33
|
+
* ```typescript
|
|
34
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
35
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
36
|
+
*
|
|
37
|
+
* const purchase-v1 = confluentcloud.getSubjectMode({
|
|
38
|
+
* subjectName: "proto-purchase-value",
|
|
39
|
+
* });
|
|
40
|
+
* export const mode = purchase_v1.then(purchase_v1 => purchase_v1.mode);
|
|
41
|
+
* ```
|
|
42
|
+
*/
|
|
4
43
|
export declare function getSubjectMode(args: GetSubjectModeArgs, opts?: pulumi.InvokeOptions): Promise<GetSubjectModeResult>;
|
|
5
44
|
/**
|
|
6
45
|
* A collection of arguments for invoking getSubjectMode.
|
|
@@ -36,6 +75,45 @@ export interface GetSubjectModeResult {
|
|
|
36
75
|
readonly schemaRegistryCluster?: outputs.GetSubjectModeSchemaRegistryCluster;
|
|
37
76
|
readonly subjectName: string;
|
|
38
77
|
}
|
|
78
|
+
/**
|
|
79
|
+
* [](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
|
|
80
|
+
*
|
|
81
|
+
* `confluentcloud.SubjectMode` describes a Subject Mode data source.
|
|
82
|
+
*
|
|
83
|
+
* ## Example Usage
|
|
84
|
+
*
|
|
85
|
+
* ### Option #1: Manage multiple Schema Registry clusters in the same Pulumi Stack
|
|
86
|
+
*
|
|
87
|
+
* ```typescript
|
|
88
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
89
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
90
|
+
*
|
|
91
|
+
* const purchase-v1 = confluentcloud.getSubjectMode({
|
|
92
|
+
* schemaRegistryCluster: {
|
|
93
|
+
* id: essentials.id,
|
|
94
|
+
* },
|
|
95
|
+
* restEndpoint: essentials.restEndpoint,
|
|
96
|
+
* subjectName: "proto-purchase-value",
|
|
97
|
+
* credentials: {
|
|
98
|
+
* key: "<Schema Registry API Key for data.confluent_schema_registry_cluster.essentials>",
|
|
99
|
+
* secret: "<Schema Registry API Secret for data.confluent_schema_registry_cluster.essentials>",
|
|
100
|
+
* },
|
|
101
|
+
* });
|
|
102
|
+
* export const mode = purchase_v1.then(purchase_v1 => purchase_v1.mode);
|
|
103
|
+
* ```
|
|
104
|
+
*
|
|
105
|
+
* ### Option #2: Manage a single Schema Registry cluster in the same Pulumi Stack
|
|
106
|
+
*
|
|
107
|
+
* ```typescript
|
|
108
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
109
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
110
|
+
*
|
|
111
|
+
* const purchase-v1 = confluentcloud.getSubjectMode({
|
|
112
|
+
* subjectName: "proto-purchase-value",
|
|
113
|
+
* });
|
|
114
|
+
* export const mode = purchase_v1.then(purchase_v1 => purchase_v1.mode);
|
|
115
|
+
* ```
|
|
116
|
+
*/
|
|
39
117
|
export declare function getSubjectModeOutput(args: GetSubjectModeOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetSubjectModeResult>;
|
|
40
118
|
/**
|
|
41
119
|
* A collection of arguments for invoking getSubjectMode.
|