@pulumi/confluentcloud 0.0.1-alpha.1654438618

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 (84) hide show
  1. package/LICENSE +202 -0
  2. package/README.md +336 -0
  3. package/apiKey.d.ts +110 -0
  4. package/apiKey.js +77 -0
  5. package/apiKey.js.map +1 -0
  6. package/config/index.d.ts +1 -0
  7. package/config/index.js +21 -0
  8. package/config/index.js.map +1 -0
  9. package/config/vars.d.ts +12 -0
  10. package/config/vars.js +25 -0
  11. package/config/vars.js.map +1 -0
  12. package/connector.d.ts +97 -0
  13. package/connector.js +73 -0
  14. package/connector.js.map +1 -0
  15. package/environment.d.ts +67 -0
  16. package/environment.js +65 -0
  17. package/environment.js.map +1 -0
  18. package/getEnvironment.d.ts +72 -0
  19. package/getEnvironment.js +50 -0
  20. package/getEnvironment.js.map +1 -0
  21. package/getKafkaCluster.d.ts +143 -0
  22. package/getKafkaCluster.js +55 -0
  23. package/getKafkaCluster.js.map +1 -0
  24. package/getKafkaTopic.d.ts +80 -0
  25. package/getKafkaTopic.js +48 -0
  26. package/getKafkaTopic.js.map +1 -0
  27. package/getNetwork.d.ts +142 -0
  28. package/getNetwork.js +55 -0
  29. package/getNetwork.js.map +1 -0
  30. package/getOrganization.d.ts +28 -0
  31. package/getOrganization.js +29 -0
  32. package/getOrganization.js.map +1 -0
  33. package/getServiceAccount.d.ts +73 -0
  34. package/getServiceAccount.js +43 -0
  35. package/getServiceAccount.js.map +1 -0
  36. package/getUser.d.ts +99 -0
  37. package/getUser.js +62 -0
  38. package/getUser.js.map +1 -0
  39. package/index.d.ts +22 -0
  40. package/index.js +111 -0
  41. package/index.js.map +1 -0
  42. package/kafkaAcl.d.ts +159 -0
  43. package/kafkaAcl.js +108 -0
  44. package/kafkaAcl.js.map +1 -0
  45. package/kafkaCluster.d.ts +190 -0
  46. package/kafkaCluster.js +101 -0
  47. package/kafkaCluster.js.map +1 -0
  48. package/kafkaTopic.d.ts +117 -0
  49. package/kafkaTopic.js +82 -0
  50. package/kafkaTopic.js.map +1 -0
  51. package/network.d.ts +208 -0
  52. package/network.js +96 -0
  53. package/network.js.map +1 -0
  54. package/package.json +28 -0
  55. package/package.json.bak +28 -0
  56. package/package.json.dev +28 -0
  57. package/peering.d.ts +96 -0
  58. package/peering.js +76 -0
  59. package/peering.js.map +1 -0
  60. package/privateLinkAccess.d.ts +93 -0
  61. package/privateLinkAccess.js +74 -0
  62. package/privateLinkAccess.js.map +1 -0
  63. package/provider.d.ts +51 -0
  64. package/provider.js +47 -0
  65. package/provider.js.map +1 -0
  66. package/roleBinding.d.ts +83 -0
  67. package/roleBinding.js +73 -0
  68. package/roleBinding.js.map +1 -0
  69. package/scripts/install-pulumi-plugin.js +21 -0
  70. package/serviceAccount.d.ts +87 -0
  71. package/serviceAccount.js +69 -0
  72. package/serviceAccount.js.map +1 -0
  73. package/types/index.d.ts +3 -0
  74. package/types/index.js +11 -0
  75. package/types/index.js.map +1 -0
  76. package/types/input.d.ts +363 -0
  77. package/types/input.js +5 -0
  78. package/types/input.js.map +1 -0
  79. package/types/output.d.ts +298 -0
  80. package/types/output.js +5 -0
  81. package/types/output.js.map +1 -0
  82. package/utilities.d.ts +4 -0
  83. package/utilities.js +57 -0
  84. package/utilities.js.map +1 -0
package/network.d.ts ADDED
@@ -0,0 +1,208 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import { input as inputs, output as outputs } from "./types";
3
+ /**
4
+ * ## Import
5
+ *
6
+ * 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>"
7
+ *
8
+ * ```sh
9
+ * $ pulumi import confluentcloud:index/network:Network my_network env-abc123/n-abc123
10
+ * ```
11
+ *
12
+ * !> **Warning:** Do not forget to delete terminal command history afterwards for security purposes.
13
+ */
14
+ export declare class Network extends pulumi.CustomResource {
15
+ /**
16
+ * Get an existing Network resource's state with the given name, ID, and optional extra
17
+ * properties used to qualify the lookup.
18
+ *
19
+ * @param name The _unique_ name of the resulting resource.
20
+ * @param id The _unique_ provider ID of the resource to lookup.
21
+ * @param state Any extra arguments used during the lookup.
22
+ * @param opts Optional settings to control the behavior of the CustomResource.
23
+ */
24
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: NetworkState, opts?: pulumi.CustomResourceOptions): Network;
25
+ /**
26
+ * Returns true if the given object is an instance of Network. This is designed to work even
27
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
28
+ */
29
+ static isInstance(obj: any): obj is Network;
30
+ /**
31
+ * (Optional Configuration Block) The AWS-specific network details if available. It supports the following:
32
+ */
33
+ readonly aws: pulumi.Output<outputs.NetworkAw[]>;
34
+ /**
35
+ * (Optional Configuration Block) The Azure-specific network details if available. It supports the following:
36
+ */
37
+ readonly azures: pulumi.Output<outputs.NetworkAzure[]>;
38
+ /**
39
+ * The IPv4 CIDR block to used for the network. Must be `/16`. Required for VPC peering and AWS TransitGateway.
40
+ */
41
+ readonly cidr: pulumi.Output<string>;
42
+ /**
43
+ * The cloud service provider in which the network exists. Accepted values are: `AWS`, `AZURE`, and `GCP`.
44
+ */
45
+ readonly cloud: pulumi.Output<string>;
46
+ /**
47
+ * The list of connection types that may be used with the network. Accepted connection types are: `PEERING`, `TRANSITGATEWAY`, and `PRIVATELINK`.
48
+ */
49
+ readonly connectionTypes: pulumi.Output<string[]>;
50
+ /**
51
+ * The name of the Network.
52
+ */
53
+ readonly displayName: pulumi.Output<string>;
54
+ /**
55
+ * (Optional String) The root DNS domain for the network, for example, `pr123a.us-east-2.aws.confluent.cloud` if applicable. Present on Networks that support Private Link.
56
+ */
57
+ readonly dnsDomain: pulumi.Output<string>;
58
+ /**
59
+ * Environment objects represent an isolated namespace for your Confluent resources for organizational purposes.
60
+ */
61
+ readonly environment: pulumi.Output<outputs.NetworkEnvironment>;
62
+ /**
63
+ * (Optional Configuration Block) The GCP-specific network details if available. It supports the following:
64
+ */
65
+ readonly gcps: pulumi.Output<outputs.NetworkGcp[]>;
66
+ /**
67
+ * The cloud provider region where the network exists.
68
+ */
69
+ readonly region: pulumi.Output<string>;
70
+ /**
71
+ * (Required String) The Confluent Resource Name of the Network.
72
+ */
73
+ readonly resourceName: pulumi.Output<string>;
74
+ /**
75
+ * (Optional Map) The DNS subdomain for each zone. Present on networks that support Private Link. Keys are zone names, for example, `use2-az1` and values are DNS domains, for example, `use2-az1.pr123a.us-east-2.aws.confluent.cloud`.
76
+ */
77
+ readonly zonalSubdomains: pulumi.Output<{
78
+ [key: string]: string;
79
+ }>;
80
+ /**
81
+ * The 3 availability zones for this network. They can optionally be specified for AWS networks
82
+ * used with Private Link. Otherwise, they are automatically chosen by Confluent Cloud.
83
+ * On AWS, zones are AWS [AZ IDs](https://docs.aws.amazon.com/ram/latest/userguide/working-with-az-ids.html), for example, `use1-az3`.
84
+ * On GCP, zones are GCP [zones](https://cloud.google.com/compute/docs/regions-zones), for example, `us-central1-c`.
85
+ * On Azure, zones are Confluent-chosen names (for example, `1`, `2`, `3`) since Azure does not have universal zone identifiers.
86
+ */
87
+ readonly zones: pulumi.Output<string[]>;
88
+ /**
89
+ * Create a Network resource with the given unique name, arguments, and options.
90
+ *
91
+ * @param name The _unique_ name of the resource.
92
+ * @param args The arguments to use to populate this resource's properties.
93
+ * @param opts A bag of options that control this resource's behavior.
94
+ */
95
+ constructor(name: string, args: NetworkArgs, opts?: pulumi.CustomResourceOptions);
96
+ }
97
+ /**
98
+ * Input properties used for looking up and filtering Network resources.
99
+ */
100
+ export interface NetworkState {
101
+ /**
102
+ * (Optional Configuration Block) The AWS-specific network details if available. It supports the following:
103
+ */
104
+ aws?: pulumi.Input<pulumi.Input<inputs.NetworkAw>[]>;
105
+ /**
106
+ * (Optional Configuration Block) The Azure-specific network details if available. It supports the following:
107
+ */
108
+ azures?: pulumi.Input<pulumi.Input<inputs.NetworkAzure>[]>;
109
+ /**
110
+ * The IPv4 CIDR block to used for the network. Must be `/16`. Required for VPC peering and AWS TransitGateway.
111
+ */
112
+ cidr?: pulumi.Input<string>;
113
+ /**
114
+ * The cloud service provider in which the network exists. Accepted values are: `AWS`, `AZURE`, and `GCP`.
115
+ */
116
+ cloud?: pulumi.Input<string>;
117
+ /**
118
+ * The list of connection types that may be used with the network. Accepted connection types are: `PEERING`, `TRANSITGATEWAY`, and `PRIVATELINK`.
119
+ */
120
+ connectionTypes?: pulumi.Input<pulumi.Input<string>[]>;
121
+ /**
122
+ * The name of the Network.
123
+ */
124
+ displayName?: pulumi.Input<string>;
125
+ /**
126
+ * (Optional String) The root DNS domain for the network, for example, `pr123a.us-east-2.aws.confluent.cloud` if applicable. Present on Networks that support Private Link.
127
+ */
128
+ dnsDomain?: pulumi.Input<string>;
129
+ /**
130
+ * Environment objects represent an isolated namespace for your Confluent resources for organizational purposes.
131
+ */
132
+ environment?: pulumi.Input<inputs.NetworkEnvironment>;
133
+ /**
134
+ * (Optional Configuration Block) The GCP-specific network details if available. It supports the following:
135
+ */
136
+ gcps?: pulumi.Input<pulumi.Input<inputs.NetworkGcp>[]>;
137
+ /**
138
+ * The cloud provider region where the network exists.
139
+ */
140
+ region?: pulumi.Input<string>;
141
+ /**
142
+ * (Required String) The Confluent Resource Name of the Network.
143
+ */
144
+ resourceName?: pulumi.Input<string>;
145
+ /**
146
+ * (Optional Map) The DNS subdomain for each zone. Present on networks that support Private Link. Keys are zone names, for example, `use2-az1` and values are DNS domains, for example, `use2-az1.pr123a.us-east-2.aws.confluent.cloud`.
147
+ */
148
+ zonalSubdomains?: pulumi.Input<{
149
+ [key: string]: pulumi.Input<string>;
150
+ }>;
151
+ /**
152
+ * The 3 availability zones for this network. They can optionally be specified for AWS networks
153
+ * used with Private Link. Otherwise, they are automatically chosen by Confluent Cloud.
154
+ * On AWS, zones are AWS [AZ IDs](https://docs.aws.amazon.com/ram/latest/userguide/working-with-az-ids.html), for example, `use1-az3`.
155
+ * On GCP, zones are GCP [zones](https://cloud.google.com/compute/docs/regions-zones), for example, `us-central1-c`.
156
+ * On Azure, zones are Confluent-chosen names (for example, `1`, `2`, `3`) since Azure does not have universal zone identifiers.
157
+ */
158
+ zones?: pulumi.Input<pulumi.Input<string>[]>;
159
+ }
160
+ /**
161
+ * The set of arguments for constructing a Network resource.
162
+ */
163
+ export interface NetworkArgs {
164
+ /**
165
+ * (Optional Configuration Block) The AWS-specific network details if available. It supports the following:
166
+ */
167
+ aws?: pulumi.Input<pulumi.Input<inputs.NetworkAw>[]>;
168
+ /**
169
+ * (Optional Configuration Block) The Azure-specific network details if available. It supports the following:
170
+ */
171
+ azures?: pulumi.Input<pulumi.Input<inputs.NetworkAzure>[]>;
172
+ /**
173
+ * The IPv4 CIDR block to used for the network. Must be `/16`. Required for VPC peering and AWS TransitGateway.
174
+ */
175
+ cidr?: pulumi.Input<string>;
176
+ /**
177
+ * The cloud service provider in which the network exists. Accepted values are: `AWS`, `AZURE`, and `GCP`.
178
+ */
179
+ cloud: pulumi.Input<string>;
180
+ /**
181
+ * The list of connection types that may be used with the network. Accepted connection types are: `PEERING`, `TRANSITGATEWAY`, and `PRIVATELINK`.
182
+ */
183
+ connectionTypes: pulumi.Input<pulumi.Input<string>[]>;
184
+ /**
185
+ * The name of the Network.
186
+ */
187
+ displayName?: pulumi.Input<string>;
188
+ /**
189
+ * Environment objects represent an isolated namespace for your Confluent resources for organizational purposes.
190
+ */
191
+ environment: pulumi.Input<inputs.NetworkEnvironment>;
192
+ /**
193
+ * (Optional Configuration Block) The GCP-specific network details if available. It supports the following:
194
+ */
195
+ gcps?: pulumi.Input<pulumi.Input<inputs.NetworkGcp>[]>;
196
+ /**
197
+ * The cloud provider region where the network exists.
198
+ */
199
+ region: pulumi.Input<string>;
200
+ /**
201
+ * The 3 availability zones for this network. They can optionally be specified for AWS networks
202
+ * used with Private Link. Otherwise, they are automatically chosen by Confluent Cloud.
203
+ * On AWS, zones are AWS [AZ IDs](https://docs.aws.amazon.com/ram/latest/userguide/working-with-az-ids.html), for example, `use1-az3`.
204
+ * On GCP, zones are GCP [zones](https://cloud.google.com/compute/docs/regions-zones), for example, `us-central1-c`.
205
+ * On Azure, zones are Confluent-chosen names (for example, `1`, `2`, `3`) since Azure does not have universal zone identifiers.
206
+ */
207
+ zones?: pulumi.Input<pulumi.Input<string>[]>;
208
+ }
package/network.js ADDED
@@ -0,0 +1,96 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.Network = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * ## Import
10
+ *
11
+ * 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>"
12
+ *
13
+ * ```sh
14
+ * $ pulumi import confluentcloud:index/network:Network my_network env-abc123/n-abc123
15
+ * ```
16
+ *
17
+ * !> **Warning:** Do not forget to delete terminal command history afterwards for security purposes.
18
+ */
19
+ class Network extends pulumi.CustomResource {
20
+ constructor(name, argsOrState, opts) {
21
+ let resourceInputs = {};
22
+ opts = opts || {};
23
+ if (opts.id) {
24
+ const state = argsOrState;
25
+ resourceInputs["aws"] = state ? state.aws : undefined;
26
+ resourceInputs["azures"] = state ? state.azures : undefined;
27
+ resourceInputs["cidr"] = state ? state.cidr : undefined;
28
+ resourceInputs["cloud"] = state ? state.cloud : undefined;
29
+ resourceInputs["connectionTypes"] = state ? state.connectionTypes : undefined;
30
+ resourceInputs["displayName"] = state ? state.displayName : undefined;
31
+ resourceInputs["dnsDomain"] = state ? state.dnsDomain : undefined;
32
+ resourceInputs["environment"] = state ? state.environment : undefined;
33
+ resourceInputs["gcps"] = state ? state.gcps : undefined;
34
+ resourceInputs["region"] = state ? state.region : undefined;
35
+ resourceInputs["resourceName"] = state ? state.resourceName : undefined;
36
+ resourceInputs["zonalSubdomains"] = state ? state.zonalSubdomains : undefined;
37
+ resourceInputs["zones"] = state ? state.zones : undefined;
38
+ }
39
+ else {
40
+ const args = argsOrState;
41
+ if ((!args || args.cloud === undefined) && !opts.urn) {
42
+ throw new Error("Missing required property 'cloud'");
43
+ }
44
+ if ((!args || args.connectionTypes === undefined) && !opts.urn) {
45
+ throw new Error("Missing required property 'connectionTypes'");
46
+ }
47
+ if ((!args || args.environment === undefined) && !opts.urn) {
48
+ throw new Error("Missing required property 'environment'");
49
+ }
50
+ if ((!args || args.region === undefined) && !opts.urn) {
51
+ throw new Error("Missing required property 'region'");
52
+ }
53
+ resourceInputs["aws"] = args ? args.aws : undefined;
54
+ resourceInputs["azures"] = args ? args.azures : undefined;
55
+ resourceInputs["cidr"] = args ? args.cidr : undefined;
56
+ resourceInputs["cloud"] = args ? args.cloud : undefined;
57
+ resourceInputs["connectionTypes"] = args ? args.connectionTypes : undefined;
58
+ resourceInputs["displayName"] = args ? args.displayName : undefined;
59
+ resourceInputs["environment"] = args ? args.environment : undefined;
60
+ resourceInputs["gcps"] = args ? args.gcps : undefined;
61
+ resourceInputs["region"] = args ? args.region : undefined;
62
+ resourceInputs["zones"] = args ? args.zones : undefined;
63
+ resourceInputs["dnsDomain"] = undefined /*out*/;
64
+ resourceInputs["resourceName"] = undefined /*out*/;
65
+ resourceInputs["zonalSubdomains"] = undefined /*out*/;
66
+ }
67
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
68
+ super(Network.__pulumiType, name, resourceInputs, opts);
69
+ }
70
+ /**
71
+ * Get an existing Network resource's state with the given name, ID, and optional extra
72
+ * properties used to qualify the lookup.
73
+ *
74
+ * @param name The _unique_ name of the resulting resource.
75
+ * @param id The _unique_ provider ID of the resource to lookup.
76
+ * @param state Any extra arguments used during the lookup.
77
+ * @param opts Optional settings to control the behavior of the CustomResource.
78
+ */
79
+ static get(name, id, state, opts) {
80
+ return new Network(name, state, Object.assign(Object.assign({}, opts), { id: id }));
81
+ }
82
+ /**
83
+ * Returns true if the given object is an instance of Network. This is designed to work even
84
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
85
+ */
86
+ static isInstance(obj) {
87
+ if (obj === undefined || obj === null) {
88
+ return false;
89
+ }
90
+ return obj['__pulumiType'] === Network.__pulumiType;
91
+ }
92
+ }
93
+ exports.Network = Network;
94
+ /** @internal */
95
+ Network.__pulumiType = 'confluentcloud:index/network:Network';
96
+ //# sourceMappingURL=network.js.map
package/network.js.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"network.js","sourceRoot":"","sources":["../network.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;GAUG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IA6F9C,YAAY,IAAY,EAAE,WAAwC,EAAE,IAAmC;QACnG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAuC,CAAC;YACtD,cAAc,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAA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0,0 +1,28 @@
1
+ {
2
+ "name": "@pulumi/confluentcloud",
3
+ "version": "v0.0.1-alpha.1654438618+fdf29d09",
4
+ "description": "A Pulumi package for creating and managing Confluent cloud resources.",
5
+ "keywords": [
6
+ "pulumi",
7
+ "confluentcloud",
8
+ "category/cloud"
9
+ ],
10
+ "homepage": "https://www.pulumi.com",
11
+ "repository": "https://github.com/pulumi/pulumi-confluentcloud",
12
+ "license": "Apache-2.0",
13
+ "scripts": {
14
+ "build": "tsc",
15
+ "install": "node scripts/install-pulumi-plugin.js resource confluentcloud v0.0.1-alpha.1654438618+fdf29d09"
16
+ },
17
+ "dependencies": {
18
+ "@pulumi/pulumi": "^3.0.0"
19
+ },
20
+ "devDependencies": {
21
+ "@types/mime": "^2.0.0",
22
+ "@types/node": "^10.0.0",
23
+ "typescript": "^4.3.5"
24
+ },
25
+ "pulumi": {
26
+ "resource": true
27
+ }
28
+ }
@@ -0,0 +1,28 @@
1
+ {
2
+ "name": "@pulumi/confluentcloud",
3
+ "version": "${VERSION}",
4
+ "description": "A Pulumi package for creating and managing Confluent cloud resources.",
5
+ "keywords": [
6
+ "pulumi",
7
+ "confluentcloud",
8
+ "category/cloud"
9
+ ],
10
+ "homepage": "https://www.pulumi.com",
11
+ "repository": "https://github.com/pulumi/pulumi-confluentcloud",
12
+ "license": "Apache-2.0",
13
+ "scripts": {
14
+ "build": "tsc",
15
+ "install": "node scripts/install-pulumi-plugin.js resource confluentcloud ${VERSION}"
16
+ },
17
+ "dependencies": {
18
+ "@pulumi/pulumi": "^3.0.0"
19
+ },
20
+ "devDependencies": {
21
+ "@types/mime": "^2.0.0",
22
+ "@types/node": "^10.0.0",
23
+ "typescript": "^4.3.5"
24
+ },
25
+ "pulumi": {
26
+ "resource": true
27
+ }
28
+ }
@@ -0,0 +1,28 @@
1
+ {
2
+ "name": "@pulumi/confluentcloud",
3
+ "version": "v0.0.1-alpha.1654438618+fdf29d09",
4
+ "description": "A Pulumi package for creating and managing Confluent cloud resources.",
5
+ "keywords": [
6
+ "pulumi",
7
+ "confluentcloud",
8
+ "category/cloud"
9
+ ],
10
+ "homepage": "https://www.pulumi.com",
11
+ "repository": "https://github.com/pulumi/pulumi-confluentcloud",
12
+ "license": "Apache-2.0",
13
+ "scripts": {
14
+ "build": "tsc",
15
+ "install": "node scripts/install-pulumi-plugin.js resource confluentcloud v0.0.1-alpha.1654438618+fdf29d09"
16
+ },
17
+ "dependencies": {
18
+ "@pulumi/pulumi": "^3.0.0"
19
+ },
20
+ "devDependencies": {
21
+ "@types/mime": "^2.0.0",
22
+ "@types/node": "^10.0.0",
23
+ "typescript": "^4.3.5"
24
+ },
25
+ "pulumi": {
26
+ "resource": true
27
+ }
28
+ }
package/peering.d.ts ADDED
@@ -0,0 +1,96 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import { input as inputs, output as outputs } from "./types";
3
+ /**
4
+ * ## Import
5
+ *
6
+ * You can import a Peering by using Environment ID and Peering ID, in the format `<Environment ID>/<Peering ID>`. The following example shows how to import a Peering$ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>" $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>"
7
+ *
8
+ * ```sh
9
+ * $ pulumi import confluentcloud:index/peering:Peering my_peer env-abc123/peer-abc123
10
+ * ```
11
+ *
12
+ * !> **Warning:** Do not forget to delete terminal command history afterwards for security purposes.
13
+ */
14
+ export declare class Peering extends pulumi.CustomResource {
15
+ /**
16
+ * Get an existing Peering resource's state with the given name, ID, and optional extra
17
+ * properties used to qualify the lookup.
18
+ *
19
+ * @param name The _unique_ name of the resulting resource.
20
+ * @param id The _unique_ provider ID of the resource to lookup.
21
+ * @param state Any extra arguments used during the lookup.
22
+ * @param opts Optional settings to control the behavior of the CustomResource.
23
+ */
24
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: PeeringState, opts?: pulumi.CustomResourceOptions): Peering;
25
+ /**
26
+ * Returns true if the given object is an instance of Peering. This is designed to work even
27
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
28
+ */
29
+ static isInstance(obj: any): obj is Peering;
30
+ readonly aws: pulumi.Output<outputs.PeeringAws | undefined>;
31
+ readonly azure: pulumi.Output<outputs.PeeringAzure | undefined>;
32
+ /**
33
+ * The name of the Peering.
34
+ */
35
+ readonly displayName: pulumi.Output<string>;
36
+ /**
37
+ * Environment objects represent an isolated namespace for your Confluent resources for organizational purposes.
38
+ */
39
+ readonly environment: pulumi.Output<outputs.PeeringEnvironment>;
40
+ readonly gcp: pulumi.Output<outputs.PeeringGcp | undefined>;
41
+ /**
42
+ * Network represents a network (VPC) in Confluent Cloud. All Networks exist within Confluent-managed cloud provider
43
+ * accounts.
44
+ */
45
+ readonly network: pulumi.Output<outputs.PeeringNetwork>;
46
+ /**
47
+ * Create a Peering resource with the given unique name, arguments, and options.
48
+ *
49
+ * @param name The _unique_ name of the resource.
50
+ * @param args The arguments to use to populate this resource's properties.
51
+ * @param opts A bag of options that control this resource's behavior.
52
+ */
53
+ constructor(name: string, args: PeeringArgs, opts?: pulumi.CustomResourceOptions);
54
+ }
55
+ /**
56
+ * Input properties used for looking up and filtering Peering resources.
57
+ */
58
+ export interface PeeringState {
59
+ aws?: pulumi.Input<inputs.PeeringAws>;
60
+ azure?: pulumi.Input<inputs.PeeringAzure>;
61
+ /**
62
+ * The name of the Peering.
63
+ */
64
+ displayName?: pulumi.Input<string>;
65
+ /**
66
+ * Environment objects represent an isolated namespace for your Confluent resources for organizational purposes.
67
+ */
68
+ environment?: pulumi.Input<inputs.PeeringEnvironment>;
69
+ gcp?: pulumi.Input<inputs.PeeringGcp>;
70
+ /**
71
+ * Network represents a network (VPC) in Confluent Cloud. All Networks exist within Confluent-managed cloud provider
72
+ * accounts.
73
+ */
74
+ network?: pulumi.Input<inputs.PeeringNetwork>;
75
+ }
76
+ /**
77
+ * The set of arguments for constructing a Peering resource.
78
+ */
79
+ export interface PeeringArgs {
80
+ aws?: pulumi.Input<inputs.PeeringAws>;
81
+ azure?: pulumi.Input<inputs.PeeringAzure>;
82
+ /**
83
+ * The name of the Peering.
84
+ */
85
+ displayName?: pulumi.Input<string>;
86
+ /**
87
+ * Environment objects represent an isolated namespace for your Confluent resources for organizational purposes.
88
+ */
89
+ environment: pulumi.Input<inputs.PeeringEnvironment>;
90
+ gcp?: pulumi.Input<inputs.PeeringGcp>;
91
+ /**
92
+ * Network represents a network (VPC) in Confluent Cloud. All Networks exist within Confluent-managed cloud provider
93
+ * accounts.
94
+ */
95
+ network: pulumi.Input<inputs.PeeringNetwork>;
96
+ }
package/peering.js ADDED
@@ -0,0 +1,76 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.Peering = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * ## Import
10
+ *
11
+ * You can import a Peering by using Environment ID and Peering ID, in the format `<Environment ID>/<Peering ID>`. The following example shows how to import a Peering$ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>" $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>"
12
+ *
13
+ * ```sh
14
+ * $ pulumi import confluentcloud:index/peering:Peering my_peer env-abc123/peer-abc123
15
+ * ```
16
+ *
17
+ * !> **Warning:** Do not forget to delete terminal command history afterwards for security purposes.
18
+ */
19
+ class Peering extends pulumi.CustomResource {
20
+ constructor(name, argsOrState, opts) {
21
+ let resourceInputs = {};
22
+ opts = opts || {};
23
+ if (opts.id) {
24
+ const state = argsOrState;
25
+ resourceInputs["aws"] = state ? state.aws : undefined;
26
+ resourceInputs["azure"] = state ? state.azure : undefined;
27
+ resourceInputs["displayName"] = state ? state.displayName : undefined;
28
+ resourceInputs["environment"] = state ? state.environment : undefined;
29
+ resourceInputs["gcp"] = state ? state.gcp : undefined;
30
+ resourceInputs["network"] = state ? state.network : undefined;
31
+ }
32
+ else {
33
+ const args = argsOrState;
34
+ if ((!args || args.environment === undefined) && !opts.urn) {
35
+ throw new Error("Missing required property 'environment'");
36
+ }
37
+ if ((!args || args.network === undefined) && !opts.urn) {
38
+ throw new Error("Missing required property 'network'");
39
+ }
40
+ resourceInputs["aws"] = args ? args.aws : undefined;
41
+ resourceInputs["azure"] = args ? args.azure : undefined;
42
+ resourceInputs["displayName"] = args ? args.displayName : undefined;
43
+ resourceInputs["environment"] = args ? args.environment : undefined;
44
+ resourceInputs["gcp"] = args ? args.gcp : undefined;
45
+ resourceInputs["network"] = args ? args.network : undefined;
46
+ }
47
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
48
+ super(Peering.__pulumiType, name, resourceInputs, opts);
49
+ }
50
+ /**
51
+ * Get an existing Peering resource's state with the given name, ID, and optional extra
52
+ * properties used to qualify the lookup.
53
+ *
54
+ * @param name The _unique_ name of the resulting resource.
55
+ * @param id The _unique_ provider ID of the resource to lookup.
56
+ * @param state Any extra arguments used during the lookup.
57
+ * @param opts Optional settings to control the behavior of the CustomResource.
58
+ */
59
+ static get(name, id, state, opts) {
60
+ return new Peering(name, state, Object.assign(Object.assign({}, opts), { id: id }));
61
+ }
62
+ /**
63
+ * Returns true if the given object is an instance of Peering. This is designed to work even
64
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
65
+ */
66
+ static isInstance(obj) {
67
+ if (obj === undefined || obj === null) {
68
+ return false;
69
+ }
70
+ return obj['__pulumiType'] === Peering.__pulumiType;
71
+ }
72
+ }
73
+ exports.Peering = Peering;
74
+ /** @internal */
75
+ Peering.__pulumiType = 'confluentcloud:index/peering:Peering';
76
+ //# sourceMappingURL=peering.js.map
package/peering.js.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"peering.js","sourceRoot":"","sources":["../peering.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;GAU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