@pulumi/confluentcloud 2.58.0 → 2.59.0-alpha.1770934913

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 (176) hide show
  1. package/accessPoint.d.ts +3 -3
  2. package/accessPoint.js +3 -3
  3. package/apiKey.d.ts +12 -4
  4. package/apiKey.js +12 -4
  5. package/apiKey.js.map +1 -1
  6. package/businessMetadata.d.ts +1 -4
  7. package/businessMetadata.js +1 -4
  8. package/businessMetadata.js.map +1 -1
  9. package/businessMetadataBinding.d.ts +22 -7
  10. package/businessMetadataBinding.js +1 -4
  11. package/businessMetadataBinding.js.map +1 -1
  12. package/byokKey.d.ts +3 -3
  13. package/byokKey.js +3 -3
  14. package/catalogEntityAttributes.d.ts +36 -7
  15. package/catalogEntityAttributes.js +9 -4
  16. package/catalogEntityAttributes.js.map +1 -1
  17. package/catalogIntegration.d.ts +5 -3
  18. package/catalogIntegration.js +5 -3
  19. package/catalogIntegration.js.map +1 -1
  20. package/certificateAuthority.d.ts +3 -3
  21. package/certificateAuthority.js +3 -3
  22. package/certificatePool.d.ts +3 -3
  23. package/certificatePool.js +3 -3
  24. package/clusterLink.d.ts +10 -21
  25. package/clusterLink.js +10 -21
  26. package/clusterLink.js.map +1 -1
  27. package/connectArtifact.d.ts +11 -3
  28. package/connectArtifact.js +11 -3
  29. package/connectArtifact.js.map +1 -1
  30. package/connector.d.ts +11 -3
  31. package/connector.js +11 -3
  32. package/connector.js.map +1 -1
  33. package/customConnectorPlugin.d.ts +13 -3
  34. package/customConnectorPlugin.js +13 -3
  35. package/customConnectorPlugin.js.map +1 -1
  36. package/customConnectorPluginVersion.d.ts +13 -3
  37. package/customConnectorPluginVersion.js +13 -3
  38. package/customConnectorPluginVersion.js.map +1 -1
  39. package/dnsForwarder.d.ts +3 -3
  40. package/dnsForwarder.js +3 -3
  41. package/dnsRecord.d.ts +3 -3
  42. package/dnsRecord.js +3 -3
  43. package/environment.d.ts +9 -3
  44. package/environment.js +9 -3
  45. package/environment.js.map +1 -1
  46. package/flinkArtifact.d.ts +11 -3
  47. package/flinkArtifact.js +11 -3
  48. package/flinkArtifact.js.map +1 -1
  49. package/flinkComputePool.d.ts +9 -3
  50. package/flinkComputePool.js +9 -3
  51. package/flinkComputePool.js.map +1 -1
  52. package/flinkConnection.d.ts +97 -11
  53. package/flinkConnection.js +97 -11
  54. package/flinkConnection.js.map +1 -1
  55. package/flinkStatement.d.ts +32 -11
  56. package/flinkStatement.js +5 -8
  57. package/flinkStatement.js.map +1 -1
  58. package/gateway.d.ts +3 -3
  59. package/gateway.js +3 -3
  60. package/getNetwork.d.ts +32 -0
  61. package/getNetwork.js +32 -0
  62. package/getNetwork.js.map +1 -1
  63. package/getProviderIntegrationAuthorization.d.ts +260 -0
  64. package/getProviderIntegrationAuthorization.js +260 -0
  65. package/getProviderIntegrationAuthorization.js.map +1 -1
  66. package/groupMapping.d.ts +3 -3
  67. package/groupMapping.js +3 -3
  68. package/identityPool.d.ts +3 -3
  69. package/identityPool.js +3 -3
  70. package/identityProvider.d.ts +3 -3
  71. package/identityProvider.js +3 -3
  72. package/invitation.d.ts +12 -3
  73. package/invitation.js +3 -3
  74. package/invitation.js.map +1 -1
  75. package/ipFilter.d.ts +3 -3
  76. package/ipFilter.js +3 -3
  77. package/ipGroup.d.ts +3 -3
  78. package/ipGroup.js +3 -3
  79. package/kafkaAcl.d.ts +30 -11
  80. package/kafkaAcl.js +3 -8
  81. package/kafkaAcl.js.map +1 -1
  82. package/kafkaClientQuota.d.ts +11 -3
  83. package/kafkaClientQuota.js +11 -3
  84. package/kafkaClientQuota.js.map +1 -1
  85. package/kafkaCluster.d.ts +9 -3
  86. package/kafkaCluster.js +9 -3
  87. package/kafkaCluster.js.map +1 -1
  88. package/kafkaClusterConfig.d.ts +1 -4
  89. package/kafkaClusterConfig.js +1 -4
  90. package/kafkaClusterConfig.js.map +1 -1
  91. package/kafkaMirrorTopic.d.ts +54 -4
  92. package/kafkaMirrorTopic.js +9 -4
  93. package/kafkaMirrorTopic.js.map +1 -1
  94. package/kafkaTopic.d.ts +11 -33
  95. package/kafkaTopic.js +11 -33
  96. package/kafkaTopic.js.map +1 -1
  97. package/ksqlCluster.d.ts +3 -3
  98. package/ksqlCluster.js +3 -3
  99. package/network.d.ts +9 -3
  100. package/network.js +9 -3
  101. package/network.js.map +1 -1
  102. package/networkLinkEndpoint.d.ts +9 -3
  103. package/networkLinkEndpoint.js +9 -3
  104. package/networkLinkEndpoint.js.map +1 -1
  105. package/networkLinkService.d.ts +9 -3
  106. package/networkLinkService.js +9 -3
  107. package/networkLinkService.js.map +1 -1
  108. package/package.json +2 -2
  109. package/peering.d.ts +9 -3
  110. package/peering.js +9 -3
  111. package/peering.js.map +1 -1
  112. package/plugin.d.ts +9 -3
  113. package/plugin.js +9 -3
  114. package/plugin.js.map +1 -1
  115. package/privateLinkAccess.d.ts +9 -3
  116. package/privateLinkAccess.js +9 -3
  117. package/privateLinkAccess.js.map +1 -1
  118. package/privateLinkAttachment.d.ts +3 -3
  119. package/privateLinkAttachment.js +3 -3
  120. package/privateLinkAttachmentConnection.d.ts +3 -3
  121. package/privateLinkAttachmentConnection.js +3 -3
  122. package/providerIntegration.d.ts +9 -3
  123. package/providerIntegration.js +9 -3
  124. package/providerIntegration.js.map +1 -1
  125. package/providerIntegrationAuthorization.d.ts +161 -3
  126. package/providerIntegrationAuthorization.js +161 -3
  127. package/providerIntegrationAuthorization.js.map +1 -1
  128. package/providerIntegrationSetup.d.ts +11 -3
  129. package/providerIntegrationSetup.js +11 -3
  130. package/providerIntegrationSetup.js.map +1 -1
  131. package/roleBinding.d.ts +36 -3
  132. package/roleBinding.js +3 -3
  133. package/roleBinding.js.map +1 -1
  134. package/schema.d.ts +22 -11
  135. package/schema.js +13 -11
  136. package/schema.js.map +1 -1
  137. package/schemaExporter.d.ts +3 -5
  138. package/schemaExporter.js +3 -5
  139. package/schemaExporter.js.map +1 -1
  140. package/schemaRegistryClusterConfig.d.ts +7 -4
  141. package/schemaRegistryClusterConfig.js +7 -4
  142. package/schemaRegistryClusterConfig.js.map +1 -1
  143. package/schemaRegistryClusterMode.d.ts +7 -4
  144. package/schemaRegistryClusterMode.js +7 -4
  145. package/schemaRegistryClusterMode.js.map +1 -1
  146. package/schemaRegistryDek.d.ts +22 -7
  147. package/schemaRegistryDek.js +1 -4
  148. package/schemaRegistryDek.js.map +1 -1
  149. package/schemaRegistryKek.d.ts +22 -7
  150. package/schemaRegistryKek.js +1 -4
  151. package/schemaRegistryKek.js.map +1 -1
  152. package/serviceAccount.d.ts +3 -3
  153. package/serviceAccount.js +3 -3
  154. package/subjectConfig.d.ts +7 -4
  155. package/subjectConfig.js +7 -4
  156. package/subjectConfig.js.map +1 -1
  157. package/subjectMode.d.ts +7 -4
  158. package/subjectMode.js +7 -4
  159. package/subjectMode.js.map +1 -1
  160. package/tableflowTopic.d.ts +7 -3
  161. package/tableflowTopic.js +7 -3
  162. package/tableflowTopic.js.map +1 -1
  163. package/tag.d.ts +22 -7
  164. package/tag.js +1 -4
  165. package/tag.js.map +1 -1
  166. package/tagBinding.d.ts +28 -4
  167. package/tagBinding.js +1 -4
  168. package/tagBinding.js.map +1 -1
  169. package/tfImporter.d.ts +6 -0
  170. package/tfImporter.js +6 -0
  171. package/tfImporter.js.map +1 -1
  172. package/transitGatewayAttachment.d.ts +9 -3
  173. package/transitGatewayAttachment.js +9 -3
  174. package/transitGatewayAttachment.js.map +1 -1
  175. package/types/input.d.ts +98 -16
  176. package/types/output.d.ts +78 -12
@@ -2,6 +2,12 @@ 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.KafkaMirrorTopic` provides a Kafka Mirror Topic resource that enables creating and deleting Kafka Mirror Topics on a Kafka cluster on Confluent Cloud.
8
+ *
9
+ * > **Note:** It is recommended to set `lifecycle { preventDestroy = true }` on production instances to prevent accidental mirror topic deletion. This setting rejects plans that would destroy or recreate the mirror topic. Read more about it in the Terraform docs.
10
+ *
5
11
  * ## Example Usage
6
12
  *
7
13
  * ```typescript
@@ -36,15 +42,14 @@ import * as outputs from "./types/output";
36
42
  *
37
43
  * ## Import
38
44
  *
45
+ * > **Note:** `IMPORT_KAFKA_API_KEY` (`kafka_cluster.credentials.key`), `IMPORT_KAFKA_API_SECRET` (`kafka_cluster.credentials.secret`), and `IMPORT_KAFKA_REST_ENDPOINT` (`kafka_cluster.rest_endpoint`) environment variables must be set before importing a Kafka mirror topic.
46
+ *
39
47
  * You can import a Kafka mirror topic by using the Kafka cluster ID, cluster link name, and Kafka topic name in the format `<Kafka cluster ID>/<Cluster link name>/<Kafka topic name>`, for example:
40
48
  *
49
+ * ```sh
41
50
  * $ export IMPORT_KAFKA_API_KEY="<kafka_api_key>"
42
- *
43
51
  * $ export IMPORT_KAFKA_API_SECRET="<kafka_api_secret>"
44
- *
45
52
  * $ export IMPORT_KAFKA_REST_ENDPOINT="<kafka_rest_endpoint>"
46
- *
47
- * ```sh
48
53
  * $ pulumi import confluentcloud:index/kafkaMirrorTopic:KafkaMirrorTopic my_mirror_topic lkc-abc123/my-cluster-link/orders-123
49
54
  * ```
50
55
  *
@@ -73,6 +78,21 @@ export declare class KafkaMirrorTopic extends pulumi.CustomResource {
73
78
  */
74
79
  readonly mirrorTopicName: pulumi.Output<string>;
75
80
  readonly sourceKafkaTopic: pulumi.Output<outputs.KafkaMirrorTopicSourceKafkaTopic>;
81
+ /**
82
+ * The status of the mirror topic. The supported values are `"ACTIVE"`, `"PAUSED"`, `"PROMOTED"`, `"FAILED_OVER"`. Pausing (`"ACTIVE" > "PAUSED"`), resuming (`"PAUSED" > "ACTIVE"`), promoting, and failing over a mirror topic is supported via an update operation. Defaults to `"ACTIVE"`.
83
+ *
84
+ * > **Note:** A Kafka API key consists of a key and a secret. Kafka API keys are required to interact with Kafka clusters in Confluent Cloud. Each Kafka API key is valid for one specific Kafka cluster.
85
+ *
86
+ * > **Note:** To rotate a Kafka API key, create a new Kafka API key, update the `credentials` block in all configuration files to use the new Kafka API key, run `pulumi up -target="confluent_kafka_mirror_topic.example"`, and remove the old Kafka API key. Alternatively, in case the old Kafka API Key was deleted already, you might need to run `pulumi preview -refresh=false -target="confluent_kafka_mirror_topic.example" -out=rotate-kafka-api-key` and `pulumi up rotate-kafka-api-key` instead.
87
+ *
88
+ * > **Note:** Setting or updating mirror topic settings is currently not supported.
89
+ *
90
+ * > **Note:** For more information on the topic settings, see [Cluster Linking configurations](https://docs.confluent.io/cloud/current/multi-cloud/cluster-linking/mirror-topics-cc.html#configurations).
91
+ *
92
+ * !> **Warning:** Terraform doesn't encrypt the sensitive `credentials` value of the `confluentcloud.KafkaMirrorTopic` resource, so you must keep your state file secure to avoid exposing it. Refer to the Terraform documentation to learn more about securing your state file.
93
+ *
94
+ * !> **Warning:** When promoting or failing over a mirror topic, don't destroy a mirror topic. Instead, import a Kafka topic, and then save have both resource definitions in Terraform configuration or run `terraform state rm confluent_kafka_mirror_topic.example` command to delete a mirror topic from Terraform state.
95
+ */
76
96
  readonly status: pulumi.Output<string>;
77
97
  /**
78
98
  * Create a KafkaMirrorTopic resource with the given unique name, arguments, and options.
@@ -94,6 +114,21 @@ export interface KafkaMirrorTopicState {
94
114
  */
95
115
  mirrorTopicName?: pulumi.Input<string>;
96
116
  sourceKafkaTopic?: pulumi.Input<inputs.KafkaMirrorTopicSourceKafkaTopic>;
117
+ /**
118
+ * The status of the mirror topic. The supported values are `"ACTIVE"`, `"PAUSED"`, `"PROMOTED"`, `"FAILED_OVER"`. Pausing (`"ACTIVE" > "PAUSED"`), resuming (`"PAUSED" > "ACTIVE"`), promoting, and failing over a mirror topic is supported via an update operation. Defaults to `"ACTIVE"`.
119
+ *
120
+ * > **Note:** A Kafka API key consists of a key and a secret. Kafka API keys are required to interact with Kafka clusters in Confluent Cloud. Each Kafka API key is valid for one specific Kafka cluster.
121
+ *
122
+ * > **Note:** To rotate a Kafka API key, create a new Kafka API key, update the `credentials` block in all configuration files to use the new Kafka API key, run `pulumi up -target="confluent_kafka_mirror_topic.example"`, and remove the old Kafka API key. Alternatively, in case the old Kafka API Key was deleted already, you might need to run `pulumi preview -refresh=false -target="confluent_kafka_mirror_topic.example" -out=rotate-kafka-api-key` and `pulumi up rotate-kafka-api-key` instead.
123
+ *
124
+ * > **Note:** Setting or updating mirror topic settings is currently not supported.
125
+ *
126
+ * > **Note:** For more information on the topic settings, see [Cluster Linking configurations](https://docs.confluent.io/cloud/current/multi-cloud/cluster-linking/mirror-topics-cc.html#configurations).
127
+ *
128
+ * !> **Warning:** Terraform doesn't encrypt the sensitive `credentials` value of the `confluentcloud.KafkaMirrorTopic` resource, so you must keep your state file secure to avoid exposing it. Refer to the Terraform documentation to learn more about securing your state file.
129
+ *
130
+ * !> **Warning:** When promoting or failing over a mirror topic, don't destroy a mirror topic. Instead, import a Kafka topic, and then save have both resource definitions in Terraform configuration or run `terraform state rm confluent_kafka_mirror_topic.example` command to delete a mirror topic from Terraform state.
131
+ */
97
132
  status?: pulumi.Input<string>;
98
133
  }
99
134
  /**
@@ -107,5 +142,20 @@ export interface KafkaMirrorTopicArgs {
107
142
  */
108
143
  mirrorTopicName?: pulumi.Input<string>;
109
144
  sourceKafkaTopic: pulumi.Input<inputs.KafkaMirrorTopicSourceKafkaTopic>;
145
+ /**
146
+ * The status of the mirror topic. The supported values are `"ACTIVE"`, `"PAUSED"`, `"PROMOTED"`, `"FAILED_OVER"`. Pausing (`"ACTIVE" > "PAUSED"`), resuming (`"PAUSED" > "ACTIVE"`), promoting, and failing over a mirror topic is supported via an update operation. Defaults to `"ACTIVE"`.
147
+ *
148
+ * > **Note:** A Kafka API key consists of a key and a secret. Kafka API keys are required to interact with Kafka clusters in Confluent Cloud. Each Kafka API key is valid for one specific Kafka cluster.
149
+ *
150
+ * > **Note:** To rotate a Kafka API key, create a new Kafka API key, update the `credentials` block in all configuration files to use the new Kafka API key, run `pulumi up -target="confluent_kafka_mirror_topic.example"`, and remove the old Kafka API key. Alternatively, in case the old Kafka API Key was deleted already, you might need to run `pulumi preview -refresh=false -target="confluent_kafka_mirror_topic.example" -out=rotate-kafka-api-key` and `pulumi up rotate-kafka-api-key` instead.
151
+ *
152
+ * > **Note:** Setting or updating mirror topic settings is currently not supported.
153
+ *
154
+ * > **Note:** For more information on the topic settings, see [Cluster Linking configurations](https://docs.confluent.io/cloud/current/multi-cloud/cluster-linking/mirror-topics-cc.html#configurations).
155
+ *
156
+ * !> **Warning:** Terraform doesn't encrypt the sensitive `credentials` value of the `confluentcloud.KafkaMirrorTopic` resource, so you must keep your state file secure to avoid exposing it. Refer to the Terraform documentation to learn more about securing your state file.
157
+ *
158
+ * !> **Warning:** When promoting or failing over a mirror topic, don't destroy a mirror topic. Instead, import a Kafka topic, and then save have both resource definitions in Terraform configuration or run `terraform state rm confluent_kafka_mirror_topic.example` command to delete a mirror topic from Terraform state.
159
+ */
110
160
  status?: pulumi.Input<string>;
111
161
  }
@@ -6,6 +6,12 @@ exports.KafkaMirrorTopic = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
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.KafkaMirrorTopic` provides a Kafka Mirror Topic resource that enables creating and deleting Kafka Mirror Topics on a Kafka cluster on Confluent Cloud.
12
+ *
13
+ * > **Note:** It is recommended to set `lifecycle { preventDestroy = true }` on production instances to prevent accidental mirror topic deletion. This setting rejects plans that would destroy or recreate the mirror topic. Read more about it in the Terraform docs.
14
+ *
9
15
  * ## Example Usage
10
16
  *
11
17
  * ```typescript
@@ -40,15 +46,14 @@ const utilities = require("./utilities");
40
46
  *
41
47
  * ## Import
42
48
  *
49
+ * > **Note:** `IMPORT_KAFKA_API_KEY` (`kafka_cluster.credentials.key`), `IMPORT_KAFKA_API_SECRET` (`kafka_cluster.credentials.secret`), and `IMPORT_KAFKA_REST_ENDPOINT` (`kafka_cluster.rest_endpoint`) environment variables must be set before importing a Kafka mirror topic.
50
+ *
43
51
  * You can import a Kafka mirror topic by using the Kafka cluster ID, cluster link name, and Kafka topic name in the format `<Kafka cluster ID>/<Cluster link name>/<Kafka topic name>`, for example:
44
52
  *
53
+ * ```sh
45
54
  * $ export IMPORT_KAFKA_API_KEY="<kafka_api_key>"
46
- *
47
55
  * $ export IMPORT_KAFKA_API_SECRET="<kafka_api_secret>"
48
- *
49
56
  * $ export IMPORT_KAFKA_REST_ENDPOINT="<kafka_rest_endpoint>"
50
- *
51
- * ```sh
52
57
  * $ pulumi import confluentcloud:index/kafkaMirrorTopic:KafkaMirrorTopic my_mirror_topic lkc-abc123/my-cluster-link/orders-123
53
58
  * ```
54
59
  *
@@ -1 +1 @@
1
- {"version":3,"file":"kafkaMirrorTopic.js","sourceRoot":"","sources":["../kafkaMirrorTopic.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgDG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IAAmC;QAC3H,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACvE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI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I,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,gBAAgB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrE,CAAC;;AAzFL,4CA0FC;AA5EG,gBAAgB;AACO,6BAAY,GAAG,wDAAwD,CAAC"}
package/kafkaTopic.d.ts CHANGED
@@ -2,6 +2,12 @@ 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.KafkaTopic` provides a Kafka Topic resource that enables creating and deleting Kafka Topics on a Kafka cluster on Confluent Cloud.
8
+ *
9
+ * > **Note:** It is recommended to set `lifecycle { preventDestroy = true }` on production instances to prevent accidental topic deletion. This setting rejects plans that would destroy or recreate the topic, such as attempting to change uneditable attributes. Read more about it in the Terraform docs.
10
+ *
5
11
  * ## Example Usage
6
12
  *
7
13
  * ### Option #1: Manage multiple Kafka clusters in the same Pulumi Stack
@@ -63,13 +69,10 @@ import * as outputs from "./types/output";
63
69
  *
64
70
  * Option #1: Manage multiple Kafka clusters in the same Pulumi Stack
65
71
  *
72
+ * ```sh
66
73
  * $ export IMPORT_KAFKA_API_KEY="<kafka_api_key>"
67
- *
68
74
  * $ export IMPORT_KAFKA_API_SECRET="<kafka_api_secret>"
69
- *
70
75
  * $ export IMPORT_KAFKA_REST_ENDPOINT="<kafka_rest_endpoint>"
71
- *
72
- * ```sh
73
76
  * $ pulumi import confluentcloud:index/kafkaTopic:KafkaTopic my_topic lkc-abc123/orders-123
74
77
  * ```
75
78
  *
@@ -79,63 +82,38 @@ import * as outputs from "./types/output";
79
82
  * $ pulumi import confluentcloud:index/kafkaTopic:KafkaTopic my_topic lkc-abc123/orders-123
80
83
  * ```
81
84
  *
85
+ * > **Note:** When importing a Kafka topic that was created by using the Confluent Cloud Console, you must list all the default topic settings under the `config` block. Your Terraform configuration will look like this:
86
+ * ```sh
82
87
  * resource "confluent_kafka_topic" "orders" {
83
- *
84
88
  * kafka_cluster {
85
- *
86
89
  * id = confluent_kafka_cluster.basic-cluster.id
87
- *
88
90
  * }
89
- *
90
91
  * topic_name = "orders"
91
- *
92
92
  * partitions_count = 4
93
- *
94
93
  * rest_endpoint = confluent_kafka_cluster.basic-cluster.rest_endpoint
95
- *
96
- * # https://docs.confluent.io/cloud/current/client-apps/topics/manage.html#ak-topic-configurations-for-all-ccloud-cluster-types
97
- *
94
+ * # https://docs.confluent.io/cloud/current/client-apps/topics/manage.html#ak-topic-configurations-for-all-ccloud-cluster-types
98
95
  * config = {
99
- *
100
96
  * "cleanup.policy" = "delete"
101
- *
102
97
  * "delete.retention.ms" = "86400000"
103
- *
104
98
  * "max.compaction.lag.ms" = "9223372036854775807"
105
- *
106
99
  * "max.message.bytes" = "2097164"
107
- *
108
100
  * "message.timestamp.after.max.ms" = "9223372036854775807"
109
- *
110
101
  * "message.timestamp.before.max.ms" = "9223372036854775807"
111
- *
112
102
  * "message.timestamp.difference.max.ms" = "9223372036854775807"
113
- *
114
103
  * "message.timestamp.type" = "CreateTime"
115
- *
116
104
  * "min.compaction.lag.ms" = "0"
117
- *
118
105
  * "min.insync.replicas" = "2"
119
- *
120
106
  * "retention.bytes" = "-1"
121
- *
122
107
  * "retention.ms" = "604800000"
123
- *
124
108
  * "segment.bytes" = "104857600"
125
- *
126
109
  * "segment.ms" = "604800000"
127
- *
128
110
  * }
129
- *
130
111
  * credentials {
131
- *
132
112
  * key = confluent_api_key.app-manager-kafka-api-key.id
133
- *
134
113
  * secret = confluent_api_key.app-manager-kafka-api-key.secret
135
- *
136
114
  * }
137
- *
138
115
  * }
116
+ * ```
139
117
  *
140
118
  * !> **Warning:** Do not forget to delete terminal command history afterwards for security purposes.
141
119
  */
package/kafkaTopic.js CHANGED
@@ -6,6 +6,12 @@ exports.KafkaTopic = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
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.KafkaTopic` provides a Kafka Topic resource that enables creating and deleting Kafka Topics on a Kafka cluster on Confluent Cloud.
12
+ *
13
+ * > **Note:** It is recommended to set `lifecycle { preventDestroy = true }` on production instances to prevent accidental topic deletion. This setting rejects plans that would destroy or recreate the topic, such as attempting to change uneditable attributes. Read more about it in the Terraform docs.
14
+ *
9
15
  * ## Example Usage
10
16
  *
11
17
  * ### Option #1: Manage multiple Kafka clusters in the same Pulumi Stack
@@ -67,13 +73,10 @@ const utilities = require("./utilities");
67
73
  *
68
74
  * Option #1: Manage multiple Kafka clusters in the same Pulumi Stack
69
75
  *
76
+ * ```sh
70
77
  * $ export IMPORT_KAFKA_API_KEY="<kafka_api_key>"
71
- *
72
78
  * $ export IMPORT_KAFKA_API_SECRET="<kafka_api_secret>"
73
- *
74
79
  * $ export IMPORT_KAFKA_REST_ENDPOINT="<kafka_rest_endpoint>"
75
- *
76
- * ```sh
77
80
  * $ pulumi import confluentcloud:index/kafkaTopic:KafkaTopic my_topic lkc-abc123/orders-123
78
81
  * ```
79
82
  *
@@ -83,63 +86,38 @@ const utilities = require("./utilities");
83
86
  * $ pulumi import confluentcloud:index/kafkaTopic:KafkaTopic my_topic lkc-abc123/orders-123
84
87
  * ```
85
88
  *
89
+ * > **Note:** When importing a Kafka topic that was created by using the Confluent Cloud Console, you must list all the default topic settings under the `config` block. Your Terraform configuration will look like this:
90
+ * ```sh
86
91
  * resource "confluent_kafka_topic" "orders" {
87
- *
88
92
  * kafka_cluster {
89
- *
90
93
  * id = confluent_kafka_cluster.basic-cluster.id
91
- *
92
94
  * }
93
- *
94
95
  * topic_name = "orders"
95
- *
96
96
  * partitions_count = 4
97
- *
98
97
  * rest_endpoint = confluent_kafka_cluster.basic-cluster.rest_endpoint
99
- *
100
- * # https://docs.confluent.io/cloud/current/client-apps/topics/manage.html#ak-topic-configurations-for-all-ccloud-cluster-types
101
- *
98
+ * # https://docs.confluent.io/cloud/current/client-apps/topics/manage.html#ak-topic-configurations-for-all-ccloud-cluster-types
102
99
  * config = {
103
- *
104
100
  * "cleanup.policy" = "delete"
105
- *
106
101
  * "delete.retention.ms" = "86400000"
107
- *
108
102
  * "max.compaction.lag.ms" = "9223372036854775807"
109
- *
110
103
  * "max.message.bytes" = "2097164"
111
- *
112
104
  * "message.timestamp.after.max.ms" = "9223372036854775807"
113
- *
114
105
  * "message.timestamp.before.max.ms" = "9223372036854775807"
115
- *
116
106
  * "message.timestamp.difference.max.ms" = "9223372036854775807"
117
- *
118
107
  * "message.timestamp.type" = "CreateTime"
119
- *
120
108
  * "min.compaction.lag.ms" = "0"
121
- *
122
109
  * "min.insync.replicas" = "2"
123
- *
124
110
  * "retention.bytes" = "-1"
125
- *
126
111
  * "retention.ms" = "604800000"
127
- *
128
112
  * "segment.bytes" = "104857600"
129
- *
130
113
  * "segment.ms" = "604800000"
131
- *
132
114
  * }
133
- *
134
115
  * credentials {
135
- *
136
116
  * key = confluent_api_key.app-manager-kafka-api-key.id
137
- *
138
117
  * secret = confluent_api_key.app-manager-kafka-api-key.secret
139
- *
140
118
  * }
141
- *
142
119
  * }
120
+ * ```
143
121
  *
144
122
  * !> **Warning:** Do not forget to delete terminal command history afterwards for security purposes.
145
123
  */
package/kafkaTopic.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"kafkaTopic.js","sourceRoot":"","sources":["../kafkaTopic.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;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  *
11
11
  * ## Import
12
12
  *
13
+ * > **Note:** `CONFLUENT_CLOUD_API_KEY` and `CONFLUENT_CLOUD_API_SECRET` environment variables must be set before importing a ksqlDB cluster.
14
+ *
13
15
  * You can import a ksqlDB cluster by using Environment ID and ksqlDB cluster ID, in the format `<Environment ID>/<ksqlDB cluster ID>`, for example:
14
16
  *
17
+ * ```sh
15
18
  * $ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>"
16
- *
17
19
  * $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>"
18
- *
19
- * ```sh
20
20
  * $ pulumi import confluentcloud:index/ksqlCluster:KsqlCluster example env-abc123/lksqlc-abc123
21
21
  * ```
22
22
  *
package/ksqlCluster.js CHANGED
@@ -14,13 +14,13 @@ const utilities = require("./utilities");
14
14
  *
15
15
  * ## Import
16
16
  *
17
+ * > **Note:** `CONFLUENT_CLOUD_API_KEY` and `CONFLUENT_CLOUD_API_SECRET` environment variables must be set before importing a ksqlDB cluster.
18
+ *
17
19
  * You can import a ksqlDB cluster by using Environment ID and ksqlDB cluster ID, in the format `<Environment ID>/<ksqlDB cluster ID>`, for example:
18
20
  *
21
+ * ```sh
19
22
  * $ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>"
20
- *
21
23
  * $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>"
22
- *
23
- * ```sh
24
24
  * $ pulumi import confluentcloud:index/ksqlCluster:KsqlCluster example env-abc123/lksqlc-abc123
25
25
  * ```
26
26
  *
package/network.d.ts CHANGED
@@ -2,6 +2,12 @@ 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.Network` provides a Network resource that enables creating, editing, and deleting Networks on Confluent Cloud.
8
+ *
9
+ * > **Note:** It is recommended to set `lifecycle { preventDestroy = true }` on production instances to prevent accidental network deletion. This setting rejects plans that would destroy or recreate the network, such as attempting to change uneditable attributes. Read more about it in the Terraform docs.
10
+ *
5
11
  * ## Example Usage
6
12
  *
7
13
  * ### Example Network that supports Private Link Connections
@@ -108,13 +114,13 @@ import * as outputs from "./types/output";
108
114
  *
109
115
  * ## Import
110
116
  *
117
+ * > **Note:** `CONFLUENT_CLOUD_API_KEY` and `CONFLUENT_CLOUD_API_SECRET` environment variables must be set before importing a Network.
118
+ *
111
119
  * You can import a Network by using Environment ID and Network ID, in the format `<Environment ID>/<Network ID>`. The following example shows how to import a Network:
112
120
  *
121
+ * ```sh
113
122
  * $ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>"
114
- *
115
123
  * $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>"
116
- *
117
- * ```sh
118
124
  * $ pulumi import confluentcloud:index/network:Network my_network env-abc123/n-abc123
119
125
  * ```
120
126
  *
package/network.js CHANGED
@@ -6,6 +6,12 @@ exports.Network = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
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.Network` provides a Network resource that enables creating, editing, and deleting Networks on Confluent Cloud.
12
+ *
13
+ * > **Note:** It is recommended to set `lifecycle { preventDestroy = true }` on production instances to prevent accidental network deletion. This setting rejects plans that would destroy or recreate the network, such as attempting to change uneditable attributes. Read more about it in the Terraform docs.
14
+ *
9
15
  * ## Example Usage
10
16
  *
11
17
  * ### Example Network that supports Private Link Connections
@@ -112,13 +118,13 @@ const utilities = require("./utilities");
112
118
  *
113
119
  * ## Import
114
120
  *
121
+ * > **Note:** `CONFLUENT_CLOUD_API_KEY` and `CONFLUENT_CLOUD_API_SECRET` environment variables must be set before importing a Network.
122
+ *
115
123
  * You can import a Network by using Environment ID and Network ID, in the format `<Environment ID>/<Network ID>`. The following example shows how to import a Network:
116
124
  *
125
+ * ```sh
117
126
  * $ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>"
118
- *
119
127
  * $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>"
120
- *
121
- * ```sh
122
128
  * $ pulumi import confluentcloud:index/network:Network my_network env-abc123/n-abc123
123
129
  * ```
124
130
  *
package/network.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"network.js","sourceRoot":"","sources":["../network.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsHG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoB,EAAE,IAAmC;QAClH,OAAO,IAAI,OAAO,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC9D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,OAAO,CAAC,YAAY,CAAC;IACxD,CAAC;IA0FD,YAAY,IAAY,EAAE,WAAwC,EAAE,IAAmC;QACnG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI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,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;YACpD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC;YACtC,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACrD,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnD,cAAc,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACzD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AA9KL,0BA+KC;AAjKG,gBAAgB;AACO,oBAAY,GAAG,sCAAsC,CAAC"}
@@ -2,6 +2,12 @@ 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.NetworkLinkEndpoint` provides a Network Link Endpoint resource that enables creating, editing, and deleting Network Link Endpoints on Confluent Cloud.
8
+ *
9
+ * > **Note:** It is recommended to set `lifecycle { preventDestroy = true }` on production instances to prevent accidental Network Link Endpoint deletion. This setting rejects plans that would destroy or recreate the Network Link Endpoint, such as attempting to change uneditable attributes. Read more about it in the Terraform docs.
10
+ *
5
11
  * ## Example Usage
6
12
  *
7
13
  * ```typescript
@@ -31,13 +37,13 @@ import * as outputs from "./types/output";
31
37
  *
32
38
  * ## Import
33
39
  *
40
+ * > **Note:** `CONFLUENT_CLOUD_API_KEY` and `CONFLUENT_CLOUD_API_SECRET` environment variables must be set before importing a Network Link Endpoint.
41
+ *
34
42
  * You can import a Network Link Endpoint by using Environment ID and Network Link Endpoint ID, in the format `<Environment ID>/<Network Link Endpoint ID>`. The following example shows how to import a Network Link Endpoint:
35
43
  *
44
+ * ```sh
36
45
  * $ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>"
37
- *
38
46
  * $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>"
39
- *
40
- * ```sh
41
47
  * $ pulumi import confluentcloud:index/networkLinkEndpoint:NetworkLinkEndpoint my_nle env-abc123/nle-abc123
42
48
  * ```
43
49
  *
@@ -6,6 +6,12 @@ exports.NetworkLinkEndpoint = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
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.NetworkLinkEndpoint` provides a Network Link Endpoint resource that enables creating, editing, and deleting Network Link Endpoints on Confluent Cloud.
12
+ *
13
+ * > **Note:** It is recommended to set `lifecycle { preventDestroy = true }` on production instances to prevent accidental Network Link Endpoint deletion. This setting rejects plans that would destroy or recreate the Network Link Endpoint, such as attempting to change uneditable attributes. Read more about it in the Terraform docs.
14
+ *
9
15
  * ## Example Usage
10
16
  *
11
17
  * ```typescript
@@ -35,13 +41,13 @@ const utilities = require("./utilities");
35
41
  *
36
42
  * ## Import
37
43
  *
44
+ * > **Note:** `CONFLUENT_CLOUD_API_KEY` and `CONFLUENT_CLOUD_API_SECRET` environment variables must be set before importing a Network Link Endpoint.
45
+ *
38
46
  * You can import a Network Link Endpoint by using Environment ID and Network Link Endpoint ID, in the format `<Environment ID>/<Network Link Endpoint ID>`. The following example shows how to import a Network Link Endpoint:
39
47
  *
48
+ * ```sh
40
49
  * $ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>"
41
- *
42
50
  * $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>"
43
- *
44
- * ```sh
45
51
  * $ pulumi import confluentcloud:index/networkLinkEndpoint:NetworkLinkEndpoint my_nle env-abc123/nle-abc123
46
52
  * ```
47
53
  *
@@ -1 +1 @@
1
- {"version":3,"file":"networkLinkEndpoint.js","sourceRoot":"","sources":["../networkLinkEndpoint.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAC1D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgC,EAAE,IAAmC;QAC9H,OAAO,IAAI,mBAAmB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC1E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,mBAAmB,CAAC,YAAY,CAAC;IACp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CAAC;YAChE,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACtD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,mBAAmB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxE,CAAC;;AAzFL,kDA0FC;AA5EG,gBAAgB;AACO,gCAAY,GAAG,8DAA8D,CAAC"}
@@ -2,6 +2,12 @@ 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.NetworkLinkService` provides a Network Link Service resource that enables creating, editing, and deleting Network Link Services on Confluent Cloud.
8
+ *
9
+ * > **Note:** It is recommended to set `lifecycle { preventDestroy = true }` on production instances to prevent accidental Network Link Service deletion. This setting rejects plans that would destroy or recreate the Network Link Service, such as attempting to change uneditable attributes. Read more about it in the Terraform docs.
10
+ *
5
11
  * ## Example Usage
6
12
  *
7
13
  * ### Example Network Link Service on AWS
@@ -51,13 +57,13 @@ import * as outputs from "./types/output";
51
57
  *
52
58
  * ## Import
53
59
  *
60
+ * > **Note:** `CONFLUENT_CLOUD_API_KEY` and `CONFLUENT_CLOUD_API_SECRET` environment variables must be set before importing a Network Link Service.
61
+ *
54
62
  * You can import a Network Link Service by using Environment ID and Network Link Service ID, in the format `<Environment ID>/<Network Link Service ID>`. The following example shows how to import a Network Link Service:
55
63
  *
64
+ * ```sh
56
65
  * $ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>"
57
- *
58
66
  * $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>"
59
- *
60
- * ```sh
61
67
  * $ pulumi import confluentcloud:index/networkLinkService:NetworkLinkService my_nls env-abc123/nls-abc123
62
68
  * ```
63
69
  *
@@ -6,6 +6,12 @@ exports.NetworkLinkService = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
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.NetworkLinkService` provides a Network Link Service resource that enables creating, editing, and deleting Network Link Services on Confluent Cloud.
12
+ *
13
+ * > **Note:** It is recommended to set `lifecycle { preventDestroy = true }` on production instances to prevent accidental Network Link Service deletion. This setting rejects plans that would destroy or recreate the Network Link Service, such as attempting to change uneditable attributes. Read more about it in the Terraform docs.
14
+ *
9
15
  * ## Example Usage
10
16
  *
11
17
  * ### Example Network Link Service on AWS
@@ -55,13 +61,13 @@ const utilities = require("./utilities");
55
61
  *
56
62
  * ## Import
57
63
  *
64
+ * > **Note:** `CONFLUENT_CLOUD_API_KEY` and `CONFLUENT_CLOUD_API_SECRET` environment variables must be set before importing a Network Link Service.
65
+ *
58
66
  * You can import a Network Link Service by using Environment ID and Network Link Service ID, in the format `<Environment ID>/<Network Link Service ID>`. The following example shows how to import a Network Link Service:
59
67
  *
68
+ * ```sh
60
69
  * $ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>"
61
- *
62
70
  * $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>"
63
- *
64
- * ```sh
65
71
  * $ pulumi import confluentcloud:index/networkLinkService:NetworkLinkService my_nls env-abc123/nls-abc123
66
72
  * ```
67
73
  *
@@ -1 +1 @@
1
- {"version":3,"file":"networkLinkService.js","sourceRoot":"","sources":["../networkLinkService.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,MAAM,CAAC;YACxC,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACtD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,kBAAkB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACvE,CAAC;;AAtFL,gDAuFC;AAzEG,gBAAgB;AACO,+BAAY,GAAG,4DAA4D,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/confluentcloud",
3
- "version": "2.58.0",
3
+ "version": "2.59.0-alpha.1770934913",
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.58.0"
27
+ "version": "2.59.0-alpha.1770934913"
28
28
  }
29
29
  }