@pulumi/confluentcloud 1.32.0 → 1.33.0-alpha.1706307303
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/apiKey.d.ts +128 -0
- package/apiKey.js +128 -0
- package/apiKey.js.map +1 -1
- package/byokKey.d.ts +35 -0
- package/byokKey.js +35 -0
- package/byokKey.js.map +1 -1
- package/clusterLink.d.ts +56 -0
- package/clusterLink.js +56 -0
- package/clusterLink.js.map +1 -1
- package/connector.d.ts +191 -0
- package/connector.js +170 -0
- package/connector.js.map +1 -1
- package/environment.d.ts +25 -0
- package/environment.js +25 -0
- package/environment.js.map +1 -1
- package/kafkaCluster.d.ts +137 -0
- package/kafkaCluster.js +137 -0
- package/kafkaCluster.js.map +1 -1
- package/kafkaMirrorTopic.d.ts +31 -0
- package/kafkaMirrorTopic.js +31 -0
- package/kafkaMirrorTopic.js.map +1 -1
- package/ksqlCluster.d.ts +14 -0
- package/ksqlCluster.js +14 -0
- package/ksqlCluster.js.map +1 -1
- package/network.d.ts +99 -0
- package/network.js +99 -0
- package/network.js.map +1 -1
- package/networkLinkEndpoint.d.ts +26 -0
- package/networkLinkEndpoint.js +26 -0
- package/networkLinkEndpoint.js.map +1 -1
- package/networkLinkService.d.ts +45 -0
- package/networkLinkService.js +45 -0
- package/networkLinkService.js.map +1 -1
- package/package.json +1 -1
- package/peering.d.ts +79 -0
- package/peering.js +79 -0
- package/peering.js.map +1 -1
- package/privateLinkAccess.d.ts +108 -0
- package/privateLinkAccess.js +108 -0
- package/privateLinkAccess.js.map +1 -1
- package/roleBinding.d.ts +20 -0
- package/roleBinding.js +20 -0
- package/roleBinding.js.map +1 -1
- package/serviceAccount.d.ts +37 -0
- package/serviceAccount.js +37 -0
- package/serviceAccount.js.map +1 -1
- package/tfImporter.d.ts +60 -0
- package/tfImporter.js +18 -0
- package/tfImporter.js.map +1 -1
- package/transitGatewayAttachment.d.ts +44 -0
- package/transitGatewayAttachment.js +44 -0
- package/transitGatewayAttachment.js.map +1 -1
- package/types/input.d.ts +9 -0
- package/types/output.d.ts +9 -0
package/kafkaCluster.js
CHANGED
|
@@ -6,6 +6,143 @@ exports.KafkaCluster = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
* ### Example Kafka clusters on AWS
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
15
|
+
*
|
|
16
|
+
* const development = new confluentcloud.Environment("development", {});
|
|
17
|
+
* const basic = new confluentcloud.KafkaCluster("basic", {
|
|
18
|
+
* availability: "SINGLE_ZONE",
|
|
19
|
+
* cloud: "AWS",
|
|
20
|
+
* region: "us-east-2",
|
|
21
|
+
* basic: {},
|
|
22
|
+
* environment: {
|
|
23
|
+
* id: development.id,
|
|
24
|
+
* },
|
|
25
|
+
* });
|
|
26
|
+
* const standard = new confluentcloud.KafkaCluster("standard", {
|
|
27
|
+
* availability: "SINGLE_ZONE",
|
|
28
|
+
* cloud: "AWS",
|
|
29
|
+
* region: "us-east-2",
|
|
30
|
+
* standard: {},
|
|
31
|
+
* environment: {
|
|
32
|
+
* id: development.id,
|
|
33
|
+
* },
|
|
34
|
+
* });
|
|
35
|
+
* const dedicated = new confluentcloud.KafkaCluster("dedicated", {
|
|
36
|
+
* availability: "MULTI_ZONE",
|
|
37
|
+
* cloud: "AWS",
|
|
38
|
+
* region: "us-east-2",
|
|
39
|
+
* dedicated: {
|
|
40
|
+
* cku: 2,
|
|
41
|
+
* },
|
|
42
|
+
* environment: {
|
|
43
|
+
* id: development.id,
|
|
44
|
+
* },
|
|
45
|
+
* });
|
|
46
|
+
* ```
|
|
47
|
+
* ### Example Kafka clusters on Azure
|
|
48
|
+
*
|
|
49
|
+
* ```typescript
|
|
50
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
51
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
52
|
+
*
|
|
53
|
+
* const development = new confluentcloud.Environment("development", {});
|
|
54
|
+
* const basic = new confluentcloud.KafkaCluster("basic", {
|
|
55
|
+
* availability: "SINGLE_ZONE",
|
|
56
|
+
* cloud: "AZURE",
|
|
57
|
+
* region: "centralus",
|
|
58
|
+
* basic: {},
|
|
59
|
+
* environment: {
|
|
60
|
+
* id: development.id,
|
|
61
|
+
* },
|
|
62
|
+
* });
|
|
63
|
+
* const standard = new confluentcloud.KafkaCluster("standard", {
|
|
64
|
+
* availability: "SINGLE_ZONE",
|
|
65
|
+
* cloud: "AZURE",
|
|
66
|
+
* region: "centralus",
|
|
67
|
+
* standard: {},
|
|
68
|
+
* environment: {
|
|
69
|
+
* id: development.id,
|
|
70
|
+
* },
|
|
71
|
+
* });
|
|
72
|
+
* const dedicated = new confluentcloud.KafkaCluster("dedicated", {
|
|
73
|
+
* availability: "MULTI_ZONE",
|
|
74
|
+
* cloud: "AZURE",
|
|
75
|
+
* region: "centralus",
|
|
76
|
+
* dedicated: {
|
|
77
|
+
* cku: 2,
|
|
78
|
+
* },
|
|
79
|
+
* environment: {
|
|
80
|
+
* id: development.id,
|
|
81
|
+
* },
|
|
82
|
+
* });
|
|
83
|
+
* ```
|
|
84
|
+
* ### Example Kafka clusters on GCP
|
|
85
|
+
*
|
|
86
|
+
* ```typescript
|
|
87
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
88
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
89
|
+
*
|
|
90
|
+
* const development = new confluentcloud.Environment("development", {});
|
|
91
|
+
* const basic = new confluentcloud.KafkaCluster("basic", {
|
|
92
|
+
* availability: "SINGLE_ZONE",
|
|
93
|
+
* cloud: "GCP",
|
|
94
|
+
* region: "us-central1",
|
|
95
|
+
* basic: {},
|
|
96
|
+
* environment: {
|
|
97
|
+
* id: development.id,
|
|
98
|
+
* },
|
|
99
|
+
* });
|
|
100
|
+
* const standard = new confluentcloud.KafkaCluster("standard", {
|
|
101
|
+
* availability: "SINGLE_ZONE",
|
|
102
|
+
* cloud: "GCP",
|
|
103
|
+
* region: "us-central1",
|
|
104
|
+
* standard: {},
|
|
105
|
+
* environment: {
|
|
106
|
+
* id: development.id,
|
|
107
|
+
* },
|
|
108
|
+
* });
|
|
109
|
+
* const dedicated = new confluentcloud.KafkaCluster("dedicated", {
|
|
110
|
+
* availability: "MULTI_ZONE",
|
|
111
|
+
* cloud: "GCP",
|
|
112
|
+
* region: "us-central1",
|
|
113
|
+
* dedicated: {
|
|
114
|
+
* cku: 2,
|
|
115
|
+
* },
|
|
116
|
+
* environment: {
|
|
117
|
+
* id: development.id,
|
|
118
|
+
* },
|
|
119
|
+
* });
|
|
120
|
+
* ```
|
|
121
|
+
* ## Getting Started
|
|
122
|
+
*
|
|
123
|
+
* The following end-to-end examples might help to get started with `confluentcloud.KafkaCluster` resource:
|
|
124
|
+
* * `basic-kafka-acls`: _Basic_ Kafka cluster with authorization using ACLs
|
|
125
|
+
* * `basic-kafka-acls-with-alias`: _Basic_ Kafka cluster with authorization using ACLs
|
|
126
|
+
* * `standard-kafka-acls`: _Standard_ Kafka cluster with authorization using ACLs
|
|
127
|
+
* * `standard-kafka-rbac`: _Standard_ Kafka cluster with authorization using RBAC
|
|
128
|
+
* * `dedicated-public-kafka-acls`: _Dedicated_ Kafka cluster that is accessible over the public internet with authorization using ACLs
|
|
129
|
+
* * `dedicated-public-kafka-rbac`: _Dedicated_ Kafka cluster that is accessible over the public internet with authorization using RBAC
|
|
130
|
+
* * `dedicated-privatelink-aws-kafka-acls`: _Dedicated_ Kafka cluster on AWS that is accessible via PrivateLink connections with authorization using ACLs
|
|
131
|
+
* * `dedicated-privatelink-aws-kafka-rbac`: _Dedicated_ Kafka cluster on AWS that is accessible via PrivateLink connections with authorization using RBAC
|
|
132
|
+
* * `dedicated-privatelink-azure-kafka-rbac`: _Dedicated_ Kafka cluster on Azure that is accessible via PrivateLink connections with authorization using RBAC
|
|
133
|
+
* * `dedicated-privatelink-azure-kafka-acls`: _Dedicated_ Kafka cluster on Azure that is accessible via PrivateLink connections with authorization using ACLs
|
|
134
|
+
* * `dedicated-private-service-connect-gcp-kafka-acls`: _Dedicated_ Kafka cluster on GCP that is accessible via Private Service Connect connections with authorization using ACLs
|
|
135
|
+
* * `dedicated-private-service-connect-gcp-kafka-rbac`: _Dedicated_ Kafka cluster on GCP that is accessible via Private Service Connect connections with authorization using RBAC
|
|
136
|
+
* * `dedicated-vnet-peering-azure-kafka-acls`: _Dedicated_ Kafka cluster on Azure that is accessible via VPC Peering connections with authorization using ACLs
|
|
137
|
+
* * `dedicated-vnet-peering-azure-kafka-rbac`: _Dedicated_ Kafka cluster on Azure that is accessible via VPC Peering connections with authorization using RBAC
|
|
138
|
+
* * `dedicated-vpc-peering-aws-kafka-acls`: _Dedicated_ Kafka cluster on AWS that is accessible via VPC Peering connections with authorization using ACLs
|
|
139
|
+
* * `dedicated-vpc-peering-aws-kafka-rbac`: _Dedicated_ Kafka cluster on AWS that is accessible via VPC Peering connections with authorization using RBAC
|
|
140
|
+
* * `dedicated-vpc-peering-gcp-kafka-acls`: _Dedicated_ Kafka cluster on GCP that is accessible via VPC Peering connections with authorization using ACLs
|
|
141
|
+
* * `dedicated-vpc-peering-gcp-kafka-rbac`: _Dedicated_ Kafka cluster on GCP that is accessible via VPC Peering connections with authorization using RBAC
|
|
142
|
+
* * `dedicated-transit-gateway-attachment-aws-kafka-acls`: _Dedicated_ Kafka cluster on AWS that is accessible via Transit Gateway Endpoint with authorization using ACLs
|
|
143
|
+
* * `dedicated-transit-gateway-attachment-aws-kafka-rbac`: _Dedicated_ Kafka cluster on AWS that is accessible via Transit Gateway Endpoint with authorization using RBAC
|
|
144
|
+
* * `enterprise-privatelinkattachment-aws-kafka-acls`: _Enterprise_ Kafka cluster on AWS that is accessible via PrivateLink connections with authorization using ACLs
|
|
145
|
+
*
|
|
9
146
|
* ## Import
|
|
10
147
|
*
|
|
11
148
|
* You can import a Kafka cluster by using Environment ID and Kafka cluster ID, in the format `<Environment ID>/<Kafka cluster ID>`, e.g. $ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>" $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>"
|
package/kafkaCluster.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"kafkaCluster.js","sourceRoot":"","sources":["../kafkaCluster.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"kafkaCluster.js","sourceRoot":"","sources":["../kafkaCluster.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmJG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IAAI,YAAY,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACnE,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,YAAY,CAAC,YAAY,CAAC;IAC7D,CAAC;IAyED,YAAY,IAAY,EAAE,WAAkD,EAAE,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S,CAAC;YAC1D,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,mBAAmB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACxD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,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,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;;AAzJL,oCA0JC;AA5IG,gBAAgB;AACO,yBAAY,GAAG,gDAAgD,CAAC"}
|
package/kafkaMirrorTopic.d.ts
CHANGED
|
@@ -2,6 +2,37 @@ 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
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
10
|
+
*
|
|
11
|
+
* const example = new confluentcloud.KafkaMirrorTopic("example", {
|
|
12
|
+
* sourceKafkaTopic: {
|
|
13
|
+
* topicName: "orders",
|
|
14
|
+
* },
|
|
15
|
+
* clusterLink: {
|
|
16
|
+
* linkName: confluent_cluster_link["source-outbound"].link_name,
|
|
17
|
+
* },
|
|
18
|
+
* kafkaCluster: {
|
|
19
|
+
* id: data.confluent_kafka_cluster.destination.id,
|
|
20
|
+
* restEndpoint: data.confluent_kafka_cluster.destination.rest_endpoint,
|
|
21
|
+
* credentials: {
|
|
22
|
+
* key: confluent_api_key["app-manager-destination-cluster-api-key"].id,
|
|
23
|
+
* secret: confluent_api_key["app-manager-destination-cluster-api-key"].secret,
|
|
24
|
+
* },
|
|
25
|
+
* },
|
|
26
|
+
* });
|
|
27
|
+
* ```
|
|
28
|
+
* ## Getting Started
|
|
29
|
+
*
|
|
30
|
+
* The following end-to-end examples might help to get started with `confluentcloud.KafkaMirrorTopic` resource:
|
|
31
|
+
* * `destination-initiated-cluster-link-rbac`: An example of setting up a _destination_ initiated cluster link with a mirror topic
|
|
32
|
+
* * `source-initiated-cluster-link-rbac`: An example of setting up a _source_ initiated cluster link with a mirror topic
|
|
33
|
+
*
|
|
34
|
+
* See [Mirror Topics on Confluent Cloud](https://docs.confluent.io/cloud/current/multi-cloud/cluster-linking/mirror-topics-cc.html) to learn more about Mirror Topics on Confluent Cloud.
|
|
35
|
+
*
|
|
5
36
|
* ## Import
|
|
6
37
|
*
|
|
7
38
|
* 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$ export IMPORT_KAFKA_API_KEY="<kafka_api_key>" $ export IMPORT_KAFKA_API_SECRET="<kafka_api_secret>" $ export IMPORT_KAFKA_REST_ENDPOINT="<kafka_rest_endpoint>"
|
package/kafkaMirrorTopic.js
CHANGED
|
@@ -6,6 +6,37 @@ exports.KafkaMirrorTopic = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
14
|
+
*
|
|
15
|
+
* const example = new confluentcloud.KafkaMirrorTopic("example", {
|
|
16
|
+
* sourceKafkaTopic: {
|
|
17
|
+
* topicName: "orders",
|
|
18
|
+
* },
|
|
19
|
+
* clusterLink: {
|
|
20
|
+
* linkName: confluent_cluster_link["source-outbound"].link_name,
|
|
21
|
+
* },
|
|
22
|
+
* kafkaCluster: {
|
|
23
|
+
* id: data.confluent_kafka_cluster.destination.id,
|
|
24
|
+
* restEndpoint: data.confluent_kafka_cluster.destination.rest_endpoint,
|
|
25
|
+
* credentials: {
|
|
26
|
+
* key: confluent_api_key["app-manager-destination-cluster-api-key"].id,
|
|
27
|
+
* secret: confluent_api_key["app-manager-destination-cluster-api-key"].secret,
|
|
28
|
+
* },
|
|
29
|
+
* },
|
|
30
|
+
* });
|
|
31
|
+
* ```
|
|
32
|
+
* ## Getting Started
|
|
33
|
+
*
|
|
34
|
+
* The following end-to-end examples might help to get started with `confluentcloud.KafkaMirrorTopic` resource:
|
|
35
|
+
* * `destination-initiated-cluster-link-rbac`: An example of setting up a _destination_ initiated cluster link with a mirror topic
|
|
36
|
+
* * `source-initiated-cluster-link-rbac`: An example of setting up a _source_ initiated cluster link with a mirror topic
|
|
37
|
+
*
|
|
38
|
+
* See [Mirror Topics on Confluent Cloud](https://docs.confluent.io/cloud/current/multi-cloud/cluster-linking/mirror-topics-cc.html) to learn more about Mirror Topics on Confluent Cloud.
|
|
39
|
+
*
|
|
9
40
|
* ## Import
|
|
10
41
|
*
|
|
11
42
|
* 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$ export IMPORT_KAFKA_API_KEY="<kafka_api_key>" $ export IMPORT_KAFKA_API_SECRET="<kafka_api_secret>" $ export IMPORT_KAFKA_REST_ENDPOINT="<kafka_rest_endpoint>"
|
package/kafkaMirrorTopic.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"kafkaMirrorTopic.js","sourceR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,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9E,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7D;QACD,IAAI,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;;AA1EL,4CA2EC;AA7DG,gBAAgB;AACO,6BAAY,GAAG,wDAAwD,CAAC"}
|
package/ksqlCluster.d.ts
CHANGED
|
@@ -2,6 +2,20 @@ 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
|
+
* ## # confluentcloud.KsqlCluster Resource
|
|
6
|
+
*
|
|
7
|
+
* [](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
|
|
8
|
+
*
|
|
9
|
+
* !> **Warning:** It is strongly recommended that you provision a `confluentcloud.SchemaRegistryCluster` resource before you provision a `confluentcloud.KsqlCluster` resource in a given environment. If you're provisioning the `confluentcloud.SchemaRegistryCluster` and the `confluentcloud.KsqlCluster` resource in the same pulumi up command, reference the `confluentcloud.SchemaRegistryCluster` from the `dependsOn` argument inside the `confluentcloud.KsqlCluster` resource. This ensures that the `confluentcloud.SchemaRegistryCluster` resource is created before the `confluentcloud.KsqlCluster` resource. If you provision a `confluentcloud.KsqlCluster` resource without a `confluentcloud.SchemaRegistryCluster` resource, and later, you want to add a `confluentcloud.SchemaRegistryCluster` resource, you must destroy and re-create your `confluentcloud.KsqlCluster` resource after provisioning a `confluentcloud.SchemaRegistryCluster` resource.
|
|
10
|
+
*
|
|
11
|
+
* `confluentcloud.KsqlCluster` provides a ksqlDB cluster resource that enables creating, editing, and deleting ksqlDB clusters on Confluent Cloud.
|
|
12
|
+
*
|
|
13
|
+
* ## Getting Started
|
|
14
|
+
*
|
|
15
|
+
* The following end-to-end examples might help to get started with `confluentcloud.KsqlCluster` resource:
|
|
16
|
+
* * `ksql-acls`
|
|
17
|
+
* * `ksql-rbac`
|
|
18
|
+
*
|
|
5
19
|
* ## Import
|
|
6
20
|
*
|
|
7
21
|
* You can import a ksqlDB cluster by using Environment ID and ksqlDB cluster ID, in the format `<Environment ID>/<ksqlDB cluster ID>`, for example$ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>" $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>"
|
package/ksqlCluster.js
CHANGED
|
@@ -6,6 +6,20 @@ exports.KsqlCluster = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
+
* ## # confluentcloud.KsqlCluster Resource
|
|
10
|
+
*
|
|
11
|
+
* [](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
|
|
12
|
+
*
|
|
13
|
+
* !> **Warning:** It is strongly recommended that you provision a `confluentcloud.SchemaRegistryCluster` resource before you provision a `confluentcloud.KsqlCluster` resource in a given environment. If you're provisioning the `confluentcloud.SchemaRegistryCluster` and the `confluentcloud.KsqlCluster` resource in the same pulumi up command, reference the `confluentcloud.SchemaRegistryCluster` from the `dependsOn` argument inside the `confluentcloud.KsqlCluster` resource. This ensures that the `confluentcloud.SchemaRegistryCluster` resource is created before the `confluentcloud.KsqlCluster` resource. If you provision a `confluentcloud.KsqlCluster` resource without a `confluentcloud.SchemaRegistryCluster` resource, and later, you want to add a `confluentcloud.SchemaRegistryCluster` resource, you must destroy and re-create your `confluentcloud.KsqlCluster` resource after provisioning a `confluentcloud.SchemaRegistryCluster` resource.
|
|
14
|
+
*
|
|
15
|
+
* `confluentcloud.KsqlCluster` provides a ksqlDB cluster resource that enables creating, editing, and deleting ksqlDB clusters on Confluent Cloud.
|
|
16
|
+
*
|
|
17
|
+
* ## Getting Started
|
|
18
|
+
*
|
|
19
|
+
* The following end-to-end examples might help to get started with `confluentcloud.KsqlCluster` resource:
|
|
20
|
+
* * `ksql-acls`
|
|
21
|
+
* * `ksql-rbac`
|
|
22
|
+
*
|
|
9
23
|
* ## Import
|
|
10
24
|
*
|
|
11
25
|
* You can import a ksqlDB cluster by using Environment ID and ksqlDB cluster ID, in the format `<Environment ID>/<ksqlDB cluster ID>`, for example$ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>" $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>"
|
package/ksqlCluster.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ksqlCluster.js","sourceRoot":"","sources":["../ksqlCluster.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"ksqlCluster.js","sourceRoot":"","sources":["../ksqlCluster.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAClE,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,GA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gBAAgB;AACO,wBAAY,GAAG,8CAA8C,CAAC"}
|
package/network.d.ts
CHANGED
|
@@ -2,6 +2,105 @@ 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
|
+
* ## Example Usage
|
|
6
|
+
* ### Example Network that supports Private Link Connections
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
10
|
+
*
|
|
11
|
+
* const development = new confluentcloud.Environment("development", {});
|
|
12
|
+
* const aws_private_link = new confluentcloud.Network("aws-private-link", {
|
|
13
|
+
* displayName: "AWS Private Link Network",
|
|
14
|
+
* cloud: "AWS",
|
|
15
|
+
* region: "us-east-1",
|
|
16
|
+
* connectionTypes: ["PRIVATELINK"],
|
|
17
|
+
* zones: [
|
|
18
|
+
* "use1-az1",
|
|
19
|
+
* "use1-az2",
|
|
20
|
+
* "use1-az6",
|
|
21
|
+
* ],
|
|
22
|
+
* environment: {
|
|
23
|
+
* id: development.id,
|
|
24
|
+
* },
|
|
25
|
+
* });
|
|
26
|
+
* ```
|
|
27
|
+
* ### Example Network that supports Peering Connections
|
|
28
|
+
* ```typescript
|
|
29
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
30
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
31
|
+
*
|
|
32
|
+
* const development = new confluentcloud.Environment("development", {});
|
|
33
|
+
* const azure_peering = new confluentcloud.Network("azure-peering", {
|
|
34
|
+
* displayName: "Azure Peering Network",
|
|
35
|
+
* cloud: "AZURE",
|
|
36
|
+
* region: "eastus2",
|
|
37
|
+
* cidr: "10.10.0.0/16",
|
|
38
|
+
* connectionTypes: ["PEERING"],
|
|
39
|
+
* environment: {
|
|
40
|
+
* id: development.id,
|
|
41
|
+
* },
|
|
42
|
+
* });
|
|
43
|
+
* ```
|
|
44
|
+
* ### Example Network that supports Private Service Connect Connections
|
|
45
|
+
* ```typescript
|
|
46
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
47
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
48
|
+
*
|
|
49
|
+
* const development = new confluentcloud.Environment("development", {});
|
|
50
|
+
* const gcp_private_service_connect = new confluentcloud.Network("gcp-private-service-connect", {
|
|
51
|
+
* displayName: "GCP Private Service Connect Network",
|
|
52
|
+
* cloud: "GCP",
|
|
53
|
+
* region: "us-central1",
|
|
54
|
+
* connectionTypes: ["PRIVATELINK"],
|
|
55
|
+
* zones: [
|
|
56
|
+
* "us-central1-a",
|
|
57
|
+
* "us-central1-b",
|
|
58
|
+
* "us-central1-c",
|
|
59
|
+
* ],
|
|
60
|
+
* environment: {
|
|
61
|
+
* id: development.id,
|
|
62
|
+
* },
|
|
63
|
+
* dnsConfig: {
|
|
64
|
+
* resolution: "PRIVATE",
|
|
65
|
+
* },
|
|
66
|
+
* });
|
|
67
|
+
* ```
|
|
68
|
+
* ### Example Network that supports Transit Gateway Endpoints
|
|
69
|
+
* ```typescript
|
|
70
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
71
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
72
|
+
*
|
|
73
|
+
* const development = new confluentcloud.Environment("development", {});
|
|
74
|
+
* const aws_transit_gateway_attachment = new confluentcloud.Network("aws-transit-gateway-attachment", {
|
|
75
|
+
* displayName: "AWS Transit Gateway Attachment Network",
|
|
76
|
+
* cloud: "AWS",
|
|
77
|
+
* region: "us-east-1",
|
|
78
|
+
* cidr: "10.10.0.0/16",
|
|
79
|
+
* connectionTypes: ["TRANSITGATEWAY"],
|
|
80
|
+
* environment: {
|
|
81
|
+
* id: development.id,
|
|
82
|
+
* },
|
|
83
|
+
* });
|
|
84
|
+
* ```
|
|
85
|
+
* ## Getting Started
|
|
86
|
+
*
|
|
87
|
+
* The following end-to-end examples might help to get started with `confluentcloud.Network` resource:
|
|
88
|
+
* * `dedicated-privatelink-aws-kafka-acls`: _Dedicated_ Kafka cluster on AWS that is accessible via PrivateLink connections with authorization using ACLs
|
|
89
|
+
* * `dedicated-privatelink-aws-kafka-rbac`: _Dedicated_ Kafka cluster on AWS that is accessible via PrivateLink connections with authorization using RBAC
|
|
90
|
+
* * `dedicated-privatelink-azure-kafka-rbac`: _Dedicated_ Kafka cluster on Azure that is accessible via PrivateLink connections with authorization using RBAC
|
|
91
|
+
* * `dedicated-privatelink-azure-kafka-acls`: _Dedicated_ Kafka cluster on Azure that is accessible via PrivateLink connections with authorization using ACLs
|
|
92
|
+
* * `dedicated-private-service-connect-gcp-kafka-acls`: _Dedicated_ Kafka cluster on GCP that is accessible via Private Service Connect connections with authorization using ACLs
|
|
93
|
+
* * `dedicated-private-service-connect-gcp-kafka-rbac`: _Dedicated_ Kafka cluster on GCP that is accessible via Private Service Connect connections with authorization using RBAC
|
|
94
|
+
* * `dedicated-vnet-peering-azure-kafka-acls`: _Dedicated_ Kafka cluster on Azure that is accessible via VPC Peering connections with authorization using ACLs
|
|
95
|
+
* * `dedicated-vnet-peering-azure-kafka-rbac`: _Dedicated_ Kafka cluster on Azure that is accessible via VPC Peering connections with authorization using RBAC
|
|
96
|
+
* * `dedicated-vpc-peering-aws-kafka-acls`: _Dedicated_ Kafka cluster on AWS that is accessible via VPC Peering connections with authorization using ACLs
|
|
97
|
+
* * `dedicated-vpc-peering-aws-kafka-rbac`: _Dedicated_ Kafka cluster on AWS that is accessible via VPC Peering connections with authorization using RBAC
|
|
98
|
+
* * `dedicated-vpc-peering-gcp-kafka-acls`: _Dedicated_ Kafka cluster on GCP that is accessible via VPC Peering connections with authorization using ACLs
|
|
99
|
+
* * `dedicated-vpc-peering-gcp-kafka-rbac`: _Dedicated_ Kafka cluster on GCP that is accessible via VPC Peering connections with authorization using RBAC
|
|
100
|
+
* * `dedicated-transit-gateway-attachment-aws-kafka-acls`: _Dedicated_ Kafka cluster on AWS that is accessible via Transit Gateway Endpoint with authorization using ACLs
|
|
101
|
+
* * `dedicated-transit-gateway-attachment-aws-kafka-rbac`: _Dedicated_ Kafka cluster on AWS that is accessible via Transit Gateway Endpoint with authorization using RBAC
|
|
102
|
+
* * `enterprise-privatelinkattachment-aws-kafka-acls`: _Enterprise_ Kafka cluster on AWS that is accessible via PrivateLink connections with authorization using ACLs
|
|
103
|
+
*
|
|
5
104
|
* ## Import
|
|
6
105
|
*
|
|
7
106
|
* 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$ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>" $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>"
|
package/network.js
CHANGED
|
@@ -6,6 +6,105 @@ exports.Network = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
* ### Example Network that supports Private Link Connections
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
14
|
+
*
|
|
15
|
+
* const development = new confluentcloud.Environment("development", {});
|
|
16
|
+
* const aws_private_link = new confluentcloud.Network("aws-private-link", {
|
|
17
|
+
* displayName: "AWS Private Link Network",
|
|
18
|
+
* cloud: "AWS",
|
|
19
|
+
* region: "us-east-1",
|
|
20
|
+
* connectionTypes: ["PRIVATELINK"],
|
|
21
|
+
* zones: [
|
|
22
|
+
* "use1-az1",
|
|
23
|
+
* "use1-az2",
|
|
24
|
+
* "use1-az6",
|
|
25
|
+
* ],
|
|
26
|
+
* environment: {
|
|
27
|
+
* id: development.id,
|
|
28
|
+
* },
|
|
29
|
+
* });
|
|
30
|
+
* ```
|
|
31
|
+
* ### Example Network that supports Peering Connections
|
|
32
|
+
* ```typescript
|
|
33
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
34
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
35
|
+
*
|
|
36
|
+
* const development = new confluentcloud.Environment("development", {});
|
|
37
|
+
* const azure_peering = new confluentcloud.Network("azure-peering", {
|
|
38
|
+
* displayName: "Azure Peering Network",
|
|
39
|
+
* cloud: "AZURE",
|
|
40
|
+
* region: "eastus2",
|
|
41
|
+
* cidr: "10.10.0.0/16",
|
|
42
|
+
* connectionTypes: ["PEERING"],
|
|
43
|
+
* environment: {
|
|
44
|
+
* id: development.id,
|
|
45
|
+
* },
|
|
46
|
+
* });
|
|
47
|
+
* ```
|
|
48
|
+
* ### Example Network that supports Private Service Connect Connections
|
|
49
|
+
* ```typescript
|
|
50
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
51
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
52
|
+
*
|
|
53
|
+
* const development = new confluentcloud.Environment("development", {});
|
|
54
|
+
* const gcp_private_service_connect = new confluentcloud.Network("gcp-private-service-connect", {
|
|
55
|
+
* displayName: "GCP Private Service Connect Network",
|
|
56
|
+
* cloud: "GCP",
|
|
57
|
+
* region: "us-central1",
|
|
58
|
+
* connectionTypes: ["PRIVATELINK"],
|
|
59
|
+
* zones: [
|
|
60
|
+
* "us-central1-a",
|
|
61
|
+
* "us-central1-b",
|
|
62
|
+
* "us-central1-c",
|
|
63
|
+
* ],
|
|
64
|
+
* environment: {
|
|
65
|
+
* id: development.id,
|
|
66
|
+
* },
|
|
67
|
+
* dnsConfig: {
|
|
68
|
+
* resolution: "PRIVATE",
|
|
69
|
+
* },
|
|
70
|
+
* });
|
|
71
|
+
* ```
|
|
72
|
+
* ### Example Network that supports Transit Gateway Endpoints
|
|
73
|
+
* ```typescript
|
|
74
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
75
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
76
|
+
*
|
|
77
|
+
* const development = new confluentcloud.Environment("development", {});
|
|
78
|
+
* const aws_transit_gateway_attachment = new confluentcloud.Network("aws-transit-gateway-attachment", {
|
|
79
|
+
* displayName: "AWS Transit Gateway Attachment Network",
|
|
80
|
+
* cloud: "AWS",
|
|
81
|
+
* region: "us-east-1",
|
|
82
|
+
* cidr: "10.10.0.0/16",
|
|
83
|
+
* connectionTypes: ["TRANSITGATEWAY"],
|
|
84
|
+
* environment: {
|
|
85
|
+
* id: development.id,
|
|
86
|
+
* },
|
|
87
|
+
* });
|
|
88
|
+
* ```
|
|
89
|
+
* ## Getting Started
|
|
90
|
+
*
|
|
91
|
+
* The following end-to-end examples might help to get started with `confluentcloud.Network` resource:
|
|
92
|
+
* * `dedicated-privatelink-aws-kafka-acls`: _Dedicated_ Kafka cluster on AWS that is accessible via PrivateLink connections with authorization using ACLs
|
|
93
|
+
* * `dedicated-privatelink-aws-kafka-rbac`: _Dedicated_ Kafka cluster on AWS that is accessible via PrivateLink connections with authorization using RBAC
|
|
94
|
+
* * `dedicated-privatelink-azure-kafka-rbac`: _Dedicated_ Kafka cluster on Azure that is accessible via PrivateLink connections with authorization using RBAC
|
|
95
|
+
* * `dedicated-privatelink-azure-kafka-acls`: _Dedicated_ Kafka cluster on Azure that is accessible via PrivateLink connections with authorization using ACLs
|
|
96
|
+
* * `dedicated-private-service-connect-gcp-kafka-acls`: _Dedicated_ Kafka cluster on GCP that is accessible via Private Service Connect connections with authorization using ACLs
|
|
97
|
+
* * `dedicated-private-service-connect-gcp-kafka-rbac`: _Dedicated_ Kafka cluster on GCP that is accessible via Private Service Connect connections with authorization using RBAC
|
|
98
|
+
* * `dedicated-vnet-peering-azure-kafka-acls`: _Dedicated_ Kafka cluster on Azure that is accessible via VPC Peering connections with authorization using ACLs
|
|
99
|
+
* * `dedicated-vnet-peering-azure-kafka-rbac`: _Dedicated_ Kafka cluster on Azure that is accessible via VPC Peering connections with authorization using RBAC
|
|
100
|
+
* * `dedicated-vpc-peering-aws-kafka-acls`: _Dedicated_ Kafka cluster on AWS that is accessible via VPC Peering connections with authorization using ACLs
|
|
101
|
+
* * `dedicated-vpc-peering-aws-kafka-rbac`: _Dedicated_ Kafka cluster on AWS that is accessible via VPC Peering connections with authorization using RBAC
|
|
102
|
+
* * `dedicated-vpc-peering-gcp-kafka-acls`: _Dedicated_ Kafka cluster on GCP that is accessible via VPC Peering connections with authorization using ACLs
|
|
103
|
+
* * `dedicated-vpc-peering-gcp-kafka-rbac`: _Dedicated_ Kafka cluster on GCP that is accessible via VPC Peering connections with authorization using RBAC
|
|
104
|
+
* * `dedicated-transit-gateway-attachment-aws-kafka-acls`: _Dedicated_ Kafka cluster on AWS that is accessible via Transit Gateway Endpoint with authorization using ACLs
|
|
105
|
+
* * `dedicated-transit-gateway-attachment-aws-kafka-rbac`: _Dedicated_ Kafka cluster on AWS that is accessible via Transit Gateway Endpoint with authorization using RBAC
|
|
106
|
+
* * `enterprise-privatelinkattachment-aws-kafka-acls`: _Enterprise_ Kafka cluster on AWS that is accessible via PrivateLink connections with authorization using ACLs
|
|
107
|
+
*
|
|
9
108
|
* ## Import
|
|
10
109
|
*
|
|
11
110
|
* 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$ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>" $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>"
|
package/network.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"network.js","sourceRoot":"","sources":["../network.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"network.js","sourceRoot":"","sources":["../network.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA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L,0BAmKC;AArJG,gBAAgB;AACO,oBAAY,GAAG,sCAAsC,CAAC"}
|
package/networkLinkEndpoint.d.ts
CHANGED
|
@@ -2,6 +2,32 @@ 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
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
10
|
+
*
|
|
11
|
+
* const nle = new confluentcloud.NetworkLinkEndpoint("nle", {
|
|
12
|
+
* displayName: "nle1",
|
|
13
|
+
* description: "TEST-NLE1",
|
|
14
|
+
* environment: {
|
|
15
|
+
* id: "env-xyz456",
|
|
16
|
+
* },
|
|
17
|
+
* network: {
|
|
18
|
+
* id: "n-abc123",
|
|
19
|
+
* },
|
|
20
|
+
* networkLinkService: {
|
|
21
|
+
* id: "nls-g3e1ox",
|
|
22
|
+
* },
|
|
23
|
+
* });
|
|
24
|
+
* export const networkLinkEndpoint = nle;
|
|
25
|
+
* ```
|
|
26
|
+
* ## Getting Started
|
|
27
|
+
*
|
|
28
|
+
* The following end-to-end examples might help to get started with `confluentcloud.NetworkLinkEndpoint` resource:
|
|
29
|
+
* * `cluster-link-over-aws-private-link-networks`: Cluster link over two dedicated clusters in separate AWS PrivateLink networks
|
|
30
|
+
*
|
|
5
31
|
* ## Import
|
|
6
32
|
*
|
|
7
33
|
* 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$ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>" $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>"
|
package/networkLinkEndpoint.js
CHANGED
|
@@ -6,6 +6,32 @@ exports.NetworkLinkEndpoint = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
14
|
+
*
|
|
15
|
+
* const nle = new confluentcloud.NetworkLinkEndpoint("nle", {
|
|
16
|
+
* displayName: "nle1",
|
|
17
|
+
* description: "TEST-NLE1",
|
|
18
|
+
* environment: {
|
|
19
|
+
* id: "env-xyz456",
|
|
20
|
+
* },
|
|
21
|
+
* network: {
|
|
22
|
+
* id: "n-abc123",
|
|
23
|
+
* },
|
|
24
|
+
* networkLinkService: {
|
|
25
|
+
* id: "nls-g3e1ox",
|
|
26
|
+
* },
|
|
27
|
+
* });
|
|
28
|
+
* export const networkLinkEndpoint = nle;
|
|
29
|
+
* ```
|
|
30
|
+
* ## Getting Started
|
|
31
|
+
*
|
|
32
|
+
* The following end-to-end examples might help to get started with `confluentcloud.NetworkLinkEndpoint` resource:
|
|
33
|
+
* * `cluster-link-over-aws-private-link-networks`: Cluster link over two dedicated clusters in separate AWS PrivateLink networks
|
|
34
|
+
*
|
|
9
35
|
* ## Import
|
|
10
36
|
*
|
|
11
37
|
* 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$ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>" $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"networkLinkEndpoint.js","sourceRoot":"","sources":["../networkLinkEndpoint.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"networkLinkEndpoint.js","sourceRoot":"","sources":["../networkLinkEndp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