@pulumi/confluentcloud 2.9.0 → 2.9.1

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.
Files changed (91) hide show
  1. package/businessMetadata.d.ts +59 -0
  2. package/businessMetadata.js +59 -0
  3. package/businessMetadata.js.map +1 -1
  4. package/businessMetadataBinding.d.ts +59 -0
  5. package/businessMetadataBinding.js +59 -0
  6. package/businessMetadataBinding.js.map +1 -1
  7. package/catalogEntityAttributes.d.ts +116 -0
  8. package/catalogEntityAttributes.js +116 -0
  9. package/catalogEntityAttributes.js.map +1 -1
  10. package/flinkStatement.d.ts +57 -2
  11. package/flinkStatement.js +57 -2
  12. package/flinkStatement.js.map +1 -1
  13. package/getBusinessMetadata.d.ts +74 -0
  14. package/getBusinessMetadata.js +74 -0
  15. package/getBusinessMetadata.js.map +1 -1
  16. package/getBusinessMetadataBinding.d.ts +82 -0
  17. package/getBusinessMetadataBinding.js +82 -0
  18. package/getBusinessMetadataBinding.js.map +1 -1
  19. package/getKafkaTopic.d.ts +78 -0
  20. package/getKafkaTopic.js +78 -0
  21. package/getKafkaTopic.js.map +1 -1
  22. package/getSchema.d.ts +82 -0
  23. package/getSchema.js +82 -0
  24. package/getSchema.js.map +1 -1
  25. package/getSchemaRegistryClusterConfig.d.ts +72 -0
  26. package/getSchemaRegistryClusterConfig.js +72 -0
  27. package/getSchemaRegistryClusterConfig.js.map +1 -1
  28. package/getSchemaRegistryClusterMode.d.ts +72 -0
  29. package/getSchemaRegistryClusterMode.js +72 -0
  30. package/getSchemaRegistryClusterMode.js.map +1 -1
  31. package/getSchemaRegistryDek.d.ts +78 -0
  32. package/getSchemaRegistryDek.js +78 -0
  33. package/getSchemaRegistryDek.js.map +1 -1
  34. package/getSchemaRegistryKek.d.ts +74 -0
  35. package/getSchemaRegistryKek.js +74 -0
  36. package/getSchemaRegistryKek.js.map +1 -1
  37. package/getSchemas.d.ts +94 -0
  38. package/getSchemas.js +94 -0
  39. package/getSchemas.js.map +1 -1
  40. package/getSubjectConfig.d.ts +14 -0
  41. package/getSubjectConfig.js +14 -0
  42. package/getSubjectConfig.js.map +1 -1
  43. package/getSubjectMode.d.ts +78 -0
  44. package/getSubjectMode.js +78 -0
  45. package/getSubjectMode.js.map +1 -1
  46. package/getTag.d.ts +74 -0
  47. package/getTag.js +74 -0
  48. package/getTag.js.map +1 -1
  49. package/getTagBinding.d.ts +82 -0
  50. package/getTagBinding.js +82 -0
  51. package/getTagBinding.js.map +1 -1
  52. package/kafkaAcl.d.ts +86 -2
  53. package/kafkaAcl.js +86 -2
  54. package/kafkaAcl.js.map +1 -1
  55. package/kafkaClusterConfig.d.ts +42 -2
  56. package/kafkaClusterConfig.js +42 -2
  57. package/kafkaClusterConfig.js.map +1 -1
  58. package/kafkaTopic.d.ts +57 -2
  59. package/kafkaTopic.js +57 -2
  60. package/kafkaTopic.js.map +1 -1
  61. package/package.json +2 -2
  62. package/schema.d.ts +2 -0
  63. package/schema.js +2 -0
  64. package/schema.js.map +1 -1
  65. package/schemaExporter.d.ts +52 -0
  66. package/schemaExporter.js +52 -0
  67. package/schemaExporter.js.map +1 -1
  68. package/schemaRegistryClusterConfig.d.ts +30 -0
  69. package/schemaRegistryClusterConfig.js +30 -0
  70. package/schemaRegistryClusterConfig.js.map +1 -1
  71. package/schemaRegistryClusterMode.d.ts +30 -0
  72. package/schemaRegistryClusterMode.js +30 -0
  73. package/schemaRegistryClusterMode.js.map +1 -1
  74. package/schemaRegistryDek.d.ts +45 -0
  75. package/schemaRegistryDek.js +45 -0
  76. package/schemaRegistryDek.js.map +1 -1
  77. package/schemaRegistryKek.d.ts +51 -0
  78. package/schemaRegistryKek.js +51 -0
  79. package/schemaRegistryKek.js.map +1 -1
  80. package/subjectConfig.d.ts +34 -0
  81. package/subjectConfig.js +34 -0
  82. package/subjectConfig.js.map +1 -1
  83. package/subjectMode.d.ts +34 -0
  84. package/subjectMode.js +34 -0
  85. package/subjectMode.js.map +1 -1
  86. package/tag.d.ts +43 -0
  87. package/tag.js +43 -0
  88. package/tag.js.map +1 -1
  89. package/tagBinding.d.ts +51 -0
  90. package/tagBinding.js +51 -0
  91. package/tagBinding.js.map +1 -1
package/getSubjectMode.js CHANGED
@@ -5,6 +5,45 @@ Object.defineProperty(exports, "__esModule", { value: true });
5
5
  exports.getSubjectModeOutput = exports.getSubjectMode = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
+ /**
9
+ * [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
10
+ *
11
+ * `confluentcloud.SubjectMode` describes a Subject Mode 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 purchase-v1 = confluentcloud.getSubjectMode({
22
+ * schemaRegistryCluster: {
23
+ * id: essentials.id,
24
+ * },
25
+ * restEndpoint: essentials.restEndpoint,
26
+ * subjectName: "proto-purchase-value",
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 mode = purchase_v1.then(purchase_v1 => purchase_v1.mode);
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 purchase-v1 = confluentcloud.getSubjectMode({
42
+ * subjectName: "proto-purchase-value",
43
+ * });
44
+ * export const mode = purchase_v1.then(purchase_v1 => purchase_v1.mode);
45
+ * ```
46
+ */
8
47
  function getSubjectMode(args, opts) {
9
48
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
10
49
  return pulumi.runtime.invoke("confluentcloud:index/getSubjectMode:getSubjectMode", {
@@ -15,6 +54,45 @@ function getSubjectMode(args, opts) {
15
54
  }, opts);
16
55
  }
17
56
  exports.getSubjectMode = getSubjectMode;
57
+ /**
58
+ * [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
59
+ *
60
+ * `confluentcloud.SubjectMode` describes a Subject Mode data source.
61
+ *
62
+ * ## Example Usage
63
+ *
64
+ * ### Option #1: Manage multiple Schema Registry clusters in the same Pulumi Stack
65
+ *
66
+ * ```typescript
67
+ * import * as pulumi from "@pulumi/pulumi";
68
+ * import * as confluentcloud from "@pulumi/confluentcloud";
69
+ *
70
+ * const purchase-v1 = confluentcloud.getSubjectMode({
71
+ * schemaRegistryCluster: {
72
+ * id: essentials.id,
73
+ * },
74
+ * restEndpoint: essentials.restEndpoint,
75
+ * subjectName: "proto-purchase-value",
76
+ * credentials: {
77
+ * key: "<Schema Registry API Key for data.confluent_schema_registry_cluster.essentials>",
78
+ * secret: "<Schema Registry API Secret for data.confluent_schema_registry_cluster.essentials>",
79
+ * },
80
+ * });
81
+ * export const mode = purchase_v1.then(purchase_v1 => purchase_v1.mode);
82
+ * ```
83
+ *
84
+ * ### Option #2: Manage a single Schema Registry cluster in the same Pulumi Stack
85
+ *
86
+ * ```typescript
87
+ * import * as pulumi from "@pulumi/pulumi";
88
+ * import * as confluentcloud from "@pulumi/confluentcloud";
89
+ *
90
+ * const purchase-v1 = confluentcloud.getSubjectMode({
91
+ * subjectName: "proto-purchase-value",
92
+ * });
93
+ * export const mode = purchase_v1.then(purchase_v1 => purchase_v1.mode);
94
+ * ```
95
+ */
18
96
  function getSubjectModeOutput(args, opts) {
19
97
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
20
98
  return pulumi.runtime.invokeOutput("confluentcloud:index/getSubjectMode:getSubjectMode", {
@@ -1 +1 @@
1
- {"version":3,"file":"getSubjectMode.js","sourceRoot":"","sources":["../getSubjectMode.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAChF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oDAAoD,EAAE;QAC/E,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,wCAQC;AAqCD,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,YAAY,CAAC,oDAAoD,EAAE;QACrF,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,oDAQC"}
1
+ {"version":3,"file":"getSubjectMode.js","sourceRoot":"","sources":["../getSubjectMode.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAChF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oDAAoD,EAAE;QAC/E,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,wCAQC;AAqCD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,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,YAAY,CAAC,oDAAoD,EAAE;QACrF,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,oDAQC"}
package/getTag.d.ts CHANGED
@@ -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
+ * [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
6
+ *
7
+ * `confluentcloud.Tag` describes a Tag 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 pii = confluentcloud.getTag({
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: "PII",
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 pii = confluentcloud.getTag({
37
+ * name: "PII",
38
+ * });
39
+ * ```
40
+ */
4
41
  export declare function getTag(args: GetTagArgs, opts?: pulumi.InvokeOptions): Promise<GetTagResult>;
5
42
  /**
6
43
  * A collection of arguments for invoking getTag.
@@ -44,6 +81,43 @@ export interface GetTagResult {
44
81
  */
45
82
  readonly version: number;
46
83
  }
84
+ /**
85
+ * [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
86
+ *
87
+ * `confluentcloud.Tag` describes a Tag data source.
88
+ *
89
+ * ## Example Usage
90
+ *
91
+ * ### Option #1: Manage multiple Schema Registry clusters in the same Pulumi Stack
92
+ *
93
+ * ```typescript
94
+ * import * as pulumi from "@pulumi/pulumi";
95
+ * import * as confluentcloud from "@pulumi/confluentcloud";
96
+ *
97
+ * const pii = confluentcloud.getTag({
98
+ * schemaRegistryCluster: {
99
+ * id: essentials.id,
100
+ * },
101
+ * restEndpoint: essentials.restEndpoint,
102
+ * credentials: {
103
+ * key: "<Schema Registry API Key for data.confluent_schema_registry_cluster.essentials>",
104
+ * secret: "<Schema Registry API Secret for data.confluent_schema_registry_cluster.essentials>",
105
+ * },
106
+ * name: "PII",
107
+ * });
108
+ * ```
109
+ *
110
+ * ### Option #2: Manage a single Schema Registry cluster in the same Pulumi Stack
111
+ *
112
+ * ```typescript
113
+ * import * as pulumi from "@pulumi/pulumi";
114
+ * import * as confluentcloud from "@pulumi/confluentcloud";
115
+ *
116
+ * const pii = confluentcloud.getTag({
117
+ * name: "PII",
118
+ * });
119
+ * ```
120
+ */
47
121
  export declare function getTagOutput(args: GetTagOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetTagResult>;
48
122
  /**
49
123
  * A collection of arguments for invoking getTag.
package/getTag.js CHANGED
@@ -5,6 +5,43 @@ Object.defineProperty(exports, "__esModule", { value: true });
5
5
  exports.getTagOutput = exports.getTag = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
+ /**
9
+ * [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
10
+ *
11
+ * `confluentcloud.Tag` describes a Tag 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 pii = confluentcloud.getTag({
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: "PII",
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 pii = confluentcloud.getTag({
41
+ * name: "PII",
42
+ * });
43
+ * ```
44
+ */
8
45
  function getTag(args, opts) {
9
46
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
10
47
  return pulumi.runtime.invoke("confluentcloud:index/getTag:getTag", {
@@ -15,6 +52,43 @@ function getTag(args, opts) {
15
52
  }, opts);
16
53
  }
17
54
  exports.getTag = getTag;
55
+ /**
56
+ * [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
57
+ *
58
+ * `confluentcloud.Tag` describes a Tag 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 pii = confluentcloud.getTag({
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: "PII",
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 pii = confluentcloud.getTag({
88
+ * name: "PII",
89
+ * });
90
+ * ```
91
+ */
18
92
  function getTagOutput(args, opts) {
19
93
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
20
94
  return pulumi.runtime.invokeOutput("confluentcloud:index/getTag:getTag", {
package/getTag.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"getTag.js","sourceRoot":"","sources":["../getTag.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,SAAgB,MAAM,CAAC,IAAgB,EAAE,IAA2B;IAChE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oCAAoC,EAAE;QAC/D,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,wBAQC;AA6CD,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAA2B;IAC5E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,oCAAoC,EAAE;QACrE,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,oCAQC"}
1
+ {"version":3,"file":"getTag.js","sourceRoot":"","sources":["../getTag.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,SAAgB,MAAM,CAAC,IAAgB,EAAE,IAA2B;IAChE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oCAAoC,EAAE;QAC/D,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,wBAQC;AA6CD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAA2B;IAC5E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,oCAAoC,EAAE;QACrE,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,oCAQC"}
@@ -1,6 +1,47 @@
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
+ * [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
6
+ *
7
+ * `confluentcloud.TagBinding` describes a Tag Binding 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.getTagBinding({
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
+ * tagName: "PII",
27
+ * entityName: "lsrc-8wrx70:.:100001",
28
+ * entityType: "sr_schema",
29
+ * });
30
+ * ```
31
+ *
32
+ * ### Option #2: Manage a single Schema Registry cluster in the same Pulumi Stack
33
+ *
34
+ * ```typescript
35
+ * import * as pulumi from "@pulumi/pulumi";
36
+ * import * as confluentcloud from "@pulumi/confluentcloud";
37
+ *
38
+ * const main = confluentcloud.getTagBinding({
39
+ * tagName: "PII",
40
+ * entityName: "lsrc-8wrx70:.:100001",
41
+ * entityType: "sr_schema",
42
+ * });
43
+ * ```
44
+ */
4
45
  export declare function getTagBinding(args: GetTagBindingArgs, opts?: pulumi.InvokeOptions): Promise<GetTagBindingResult>;
5
46
  /**
6
47
  * A collection of arguments for invoking getTagBinding.
@@ -42,6 +83,47 @@ export interface GetTagBindingResult {
42
83
  readonly schemaRegistryCluster?: outputs.GetTagBindingSchemaRegistryCluster;
43
84
  readonly tagName: string;
44
85
  }
86
+ /**
87
+ * [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
88
+ *
89
+ * `confluentcloud.TagBinding` describes a Tag Binding data source.
90
+ *
91
+ * ## Example Usage
92
+ *
93
+ * ### Option #1: Manage multiple Schema Registry clusters in the same Pulumi Stack
94
+ *
95
+ * ```typescript
96
+ * import * as pulumi from "@pulumi/pulumi";
97
+ * import * as confluentcloud from "@pulumi/confluentcloud";
98
+ *
99
+ * const main = confluentcloud.getTagBinding({
100
+ * schemaRegistryCluster: {
101
+ * id: essentials.id,
102
+ * },
103
+ * restEndpoint: essentials.restEndpoint,
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
+ * tagName: "PII",
109
+ * entityName: "lsrc-8wrx70:.:100001",
110
+ * entityType: "sr_schema",
111
+ * });
112
+ * ```
113
+ *
114
+ * ### Option #2: Manage a single Schema Registry cluster in the same Pulumi Stack
115
+ *
116
+ * ```typescript
117
+ * import * as pulumi from "@pulumi/pulumi";
118
+ * import * as confluentcloud from "@pulumi/confluentcloud";
119
+ *
120
+ * const main = confluentcloud.getTagBinding({
121
+ * tagName: "PII",
122
+ * entityName: "lsrc-8wrx70:.:100001",
123
+ * entityType: "sr_schema",
124
+ * });
125
+ * ```
126
+ */
45
127
  export declare function getTagBindingOutput(args: GetTagBindingOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetTagBindingResult>;
46
128
  /**
47
129
  * A collection of arguments for invoking getTagBinding.
package/getTagBinding.js CHANGED
@@ -5,6 +5,47 @@ Object.defineProperty(exports, "__esModule", { value: true });
5
5
  exports.getTagBindingOutput = exports.getTagBinding = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
+ /**
9
+ * [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
10
+ *
11
+ * `confluentcloud.TagBinding` describes a Tag Binding 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.getTagBinding({
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
+ * tagName: "PII",
31
+ * entityName: "lsrc-8wrx70:.:100001",
32
+ * entityType: "sr_schema",
33
+ * });
34
+ * ```
35
+ *
36
+ * ### Option #2: Manage a single Schema Registry cluster in the same Pulumi Stack
37
+ *
38
+ * ```typescript
39
+ * import * as pulumi from "@pulumi/pulumi";
40
+ * import * as confluentcloud from "@pulumi/confluentcloud";
41
+ *
42
+ * const main = confluentcloud.getTagBinding({
43
+ * tagName: "PII",
44
+ * entityName: "lsrc-8wrx70:.:100001",
45
+ * entityType: "sr_schema",
46
+ * });
47
+ * ```
48
+ */
8
49
  function getTagBinding(args, opts) {
9
50
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
10
51
  return pulumi.runtime.invoke("confluentcloud:index/getTagBinding:getTagBinding", {
@@ -17,6 +58,47 @@ function getTagBinding(args, opts) {
17
58
  }, opts);
18
59
  }
19
60
  exports.getTagBinding = getTagBinding;
61
+ /**
62
+ * [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
63
+ *
64
+ * `confluentcloud.TagBinding` describes a Tag Binding data source.
65
+ *
66
+ * ## Example Usage
67
+ *
68
+ * ### Option #1: Manage multiple Schema Registry clusters in the same Pulumi Stack
69
+ *
70
+ * ```typescript
71
+ * import * as pulumi from "@pulumi/pulumi";
72
+ * import * as confluentcloud from "@pulumi/confluentcloud";
73
+ *
74
+ * const main = confluentcloud.getTagBinding({
75
+ * schemaRegistryCluster: {
76
+ * id: essentials.id,
77
+ * },
78
+ * restEndpoint: essentials.restEndpoint,
79
+ * credentials: {
80
+ * key: "<Schema Registry API Key for data.confluent_schema_registry_cluster.essentials>",
81
+ * secret: "<Schema Registry API Secret for data.confluent_schema_registry_cluster.essentials>",
82
+ * },
83
+ * tagName: "PII",
84
+ * entityName: "lsrc-8wrx70:.:100001",
85
+ * entityType: "sr_schema",
86
+ * });
87
+ * ```
88
+ *
89
+ * ### Option #2: Manage a single Schema Registry cluster in the same Pulumi Stack
90
+ *
91
+ * ```typescript
92
+ * import * as pulumi from "@pulumi/pulumi";
93
+ * import * as confluentcloud from "@pulumi/confluentcloud";
94
+ *
95
+ * const main = confluentcloud.getTagBinding({
96
+ * tagName: "PII",
97
+ * entityName: "lsrc-8wrx70:.:100001",
98
+ * entityType: "sr_schema",
99
+ * });
100
+ * ```
101
+ */
20
102
  function getTagBindingOutput(args, opts) {
21
103
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
22
104
  return pulumi.runtime.invokeOutput("confluentcloud:index/getTagBinding:getTagBinding", {
@@ -1 +1 @@
1
- {"version":3,"file":"getTagBinding.js","sourceRoot":"","sources":["../getTagBinding.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAC9E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kDAAkD,EAAE;QAC7E,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,uBAAuB,EAAE,IAAI,CAAC,qBAAqB;QACnD,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,sCAUC;AA2CD,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,kDAAkD,EAAE;QACnF,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,uBAAuB,EAAE,IAAI,CAAC,qBAAqB;QACnD,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,kDAUC"}
1
+ {"version":3,"file":"getTagBinding.js","sourceRoot":"","sources":["../getTagBinding.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAC9E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kDAAkD,EAAE;QAC7E,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,uBAAuB,EAAE,IAAI,CAAC,qBAAqB;QACnD,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,sCAUC;AA2CD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,kDAAkD,EAAE;QACnF,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,uBAAuB,EAAE,IAAI,CAAC,qBAAqB;QACnD,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,kDAUC"}
package/kafkaAcl.d.ts CHANGED
@@ -2,11 +2,95 @@ import * as pulumi from "@pulumi/pulumi";
2
2
  import * as inputs from "./types/input";
3
3
  import * as outputs from "./types/output";
4
4
  /**
5
+ * [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
6
+ *
7
+ * `confluentcloud.KafkaAcl` provides a Kafka ACL resource that enables creating and deleting Kafka ACLs on Confluent Cloud.
8
+ *
9
+ * ## Example Usage
10
+ *
11
+ * ### Option #1: Manage multiple Kafka 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 describe_basic_cluster = new confluentcloud.KafkaAcl("describe-basic-cluster", {
18
+ * kafkaCluster: {
19
+ * id: basic_cluster.id,
20
+ * },
21
+ * resourceType: "CLUSTER",
22
+ * resourceName: "kafka-cluster",
23
+ * patternType: "LITERAL",
24
+ * principal: "User:sa-xyz123",
25
+ * host: "*",
26
+ * operation: "DESCRIBE",
27
+ * permission: "ALLOW",
28
+ * restEndpoint: basic_cluster.restEndpoint,
29
+ * credentials: {
30
+ * key: app_manager_kafka_api_key.id,
31
+ * secret: app_manager_kafka_api_key.secret,
32
+ * },
33
+ * });
34
+ * ```
35
+ *
36
+ * ### Option #2: Manage a single Kafka cluster in the same Pulumi Stack
37
+ *
38
+ * ```typescript
39
+ * import * as pulumi from "@pulumi/pulumi";
40
+ * import * as confluentcloud from "@pulumi/confluentcloud";
41
+ *
42
+ * const describe_basic_cluster = new confluentcloud.KafkaAcl("describe-basic-cluster", {
43
+ * resourceType: "CLUSTER",
44
+ * resourceName: "kafka-cluster",
45
+ * patternType: "LITERAL",
46
+ * principal: "User:sa-xyz123",
47
+ * host: "*",
48
+ * operation: "DESCRIBE",
49
+ * permission: "ALLOW",
50
+ * });
51
+ * ```
52
+ *
53
+ * ## Getting Started
54
+ *
55
+ * The following end-to-end examples might help to get started with `confluentcloud.KafkaAcl` resource:
56
+ * * `basic-kafka-acls`: _Basic_ Kafka cluster with authorization using ACLs
57
+ * * `basic-kafka-acls-with-alias`: _Basic_ Kafka cluster with authorization using ACLs
58
+ * * `standard-kafka-acls`: _Standard_ Kafka cluster with authorization using ACLs
59
+ * * `dedicated-public-kafka-acls`: _Dedicated_ Kafka cluster that is accessible over the public internet with authorization using ACLs
60
+ * * `dedicated-privatelink-aws-kafka-acls`: _Dedicated_ Kafka cluster on AWS that is accessible via PrivateLink connections with authorization using ACLs
61
+ * * `dedicated-privatelink-azure-kafka-acls`: _Dedicated_ Kafka cluster on Azure that is accessible via PrivateLink connections with authorization using ACLs
62
+ * * `dedicated-private-service-connect-gcp-kafka-acls`: _Dedicated_ Kafka cluster on GCP that is accessible via Private Service Connect connections with authorization using ACLs
63
+ * * `dedicated-private-service-connect-gcp-kafka-rbac`: _Dedicated_ Kafka cluster on GCP that is accessible via Private Service Connect connections with authorization using RBAC
64
+ * * `dedicated-vnet-peering-azure-kafka-acls`: _Dedicated_ Kafka cluster on Azure that is accessible via VPC Peering connections with authorization using ACLs
65
+ * * `dedicated-vpc-peering-aws-kafka-acls`: _Dedicated_ Kafka cluster on AWS that is accessible via VPC Peering connections with authorization using ACLs
66
+ * * `dedicated-vpc-peering-gcp-kafka-acls`: _Dedicated_ Kafka cluster on GCP that is accessible via VPC Peering connections with authorization using ACLs
67
+ * * `dedicated-transit-gateway-attachment-aws-kafka-acls`: _Dedicated_ Kafka cluster on AWS that is accessible via Transit Gateway Endpoint with authorization using ACLs
68
+ * * `dedicated-transit-gateway-attachment-aws-kafka-rbac`: _Dedicated_ Kafka cluster on AWS that is accessible via Transit Gateway Endpoint with authorization using RBAC
69
+ * * `enterprise-privatelinkattachment-aws-kafka-acls`: _Enterprise_ Kafka cluster on AWS that is accessible via PrivateLink connections with authorization using ACLs
70
+ *
71
+ * ## Other Example Usages
72
+ *
73
+ * ```typescript
74
+ * import * as pulumi from "@pulumi/pulumi";
75
+ * import * as confluentcloud from "@pulumi/confluentcloud";
76
+ *
77
+ * // https://github.com/confluentinc/terraform-provider-confluent/issues/241
78
+ * const app_producer_write_on_topic = new confluentcloud.KafkaAcl("app-producer-write-on-topic", {
79
+ * resourceType: "TOPIC",
80
+ * resourceName: orders.topicName,
81
+ * patternType: "LITERAL",
82
+ * principal: `User:${_this.id}`,
83
+ * host: "*",
84
+ * operation: "WRITE",
85
+ * permission: "ALLOW",
86
+ * });
87
+ * ```
88
+ *
5
89
  * ## Import
6
90
  *
7
91
  * You can import Kafka ACLs by using the Kafka cluster ID and attributes of `confluent_kafka_acl` resource in the format `<Kafka cluster ID>/<Kafka ACL resource type>#<Kafka ACL resource name>#<Kafka ACL pattern type>#<Kafka ACL principal>#<Kafka ACL host>#<Kafka ACL operation>#<Kafka ACL permission>`, for example:
8
92
  *
9
- * Option #1: Manage multiple Kafka clusters in the same Terraform workspace
93
+ * Option #1: Manage multiple Kafka clusters in the same Pulumi Stack
10
94
  *
11
95
  * $ export IMPORT_KAFKA_API_KEY="<kafka_api_key>"
12
96
  *
@@ -18,7 +102,7 @@ import * as outputs from "./types/output";
18
102
  * $ pulumi import confluentcloud:index/kafkaAcl:KafkaAcl describe-cluster "lkc-12345/CLUSTER#kafka-cluster#LITERAL#User:sa-xyz123#*#DESCRIBE#ALLOW"
19
103
  * ```
20
104
  *
21
- * Option #2: Manage a single Kafka cluster in the same Terraform workspace
105
+ * Option #2: Manage a single Kafka cluster in the same Pulumi Stack
22
106
  *
23
107
  * $ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>"
24
108
  *