@pulumi/confluentcloud 1.39.0-alpha.1711735164 → 1.39.0

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.
@@ -0,0 +1,110 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ /**
5
+ * [![General Availability](<https://img.shields.io/badge/Lifecycle%!S(MISSING)tage-General%!A(MISSING)vailability-%!c(MISSING)6e8>)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
6
+ *
7
+ * `confluentcloud.AccessPoint` provides a Access Point resource that enables creating, editing, and deleting Access Points on Confluent Cloud.
8
+ *
9
+ * ## Example Usage
10
+ *
11
+ * <!--Start PulumiCodeChooser -->
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 main = new confluentcloud.AccessPoint("main", {
18
+ * displayName: "access_point",
19
+ * environment: {
20
+ * id: development.id,
21
+ * },
22
+ * gateway: {
23
+ * id: confluent_network.main.gateway[0].id,
24
+ * },
25
+ * awsEgressPrivateLinkEndpoint: {
26
+ * vpcEndpointServiceName: "com.amazonaws.vpce.us-west-2.vpce-svc-00000000000000000",
27
+ * },
28
+ * });
29
+ * ```
30
+ * <!--End PulumiCodeChooser -->
31
+ *
32
+ * ## Import
33
+ *
34
+ * You can import a Access Point by using Environment ID and Access Point ID, in the format `<Environment ID>/<Access Point ID>`. The following example shows how to import a Access Point:
35
+ *
36
+ * $ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>"
37
+ *
38
+ * $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>"
39
+ *
40
+ * ```sh
41
+ * $ pulumi import confluentcloud:index/accessPoint:AccessPoint main env-abc123/ap-abc123
42
+ * ```
43
+ *
44
+ * !> **Warning:** Do not forget to delete terminal command history afterwards for security purposes.
45
+ */
46
+ export declare class AccessPoint extends pulumi.CustomResource {
47
+ /**
48
+ * Get an existing AccessPoint resource's state with the given name, ID, and optional extra
49
+ * properties used to qualify the lookup.
50
+ *
51
+ * @param name The _unique_ name of the resulting resource.
52
+ * @param id The _unique_ provider ID of the resource to lookup.
53
+ * @param state Any extra arguments used during the lookup.
54
+ * @param opts Optional settings to control the behavior of the CustomResource.
55
+ */
56
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AccessPointState, opts?: pulumi.CustomResourceOptions): AccessPoint;
57
+ /**
58
+ * Returns true if the given object is an instance of AccessPoint. This is designed to work even
59
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
60
+ */
61
+ static isInstance(obj: any): obj is AccessPoint;
62
+ readonly awsEgressPrivateLinkEndpoint: pulumi.Output<outputs.AccessPointAwsEgressPrivateLinkEndpoint | undefined>;
63
+ /**
64
+ * The name of the Access Point.
65
+ */
66
+ readonly displayName: pulumi.Output<string>;
67
+ /**
68
+ * Environment objects represent an isolated namespace for your Confluent resources for organizational purposes.
69
+ */
70
+ readonly environment: pulumi.Output<outputs.AccessPointEnvironment>;
71
+ readonly gateway: pulumi.Output<outputs.AccessPointGateway>;
72
+ /**
73
+ * Create a AccessPoint resource with the given unique name, arguments, and options.
74
+ *
75
+ * @param name The _unique_ name of the resource.
76
+ * @param args The arguments to use to populate this resource's properties.
77
+ * @param opts A bag of options that control this resource's behavior.
78
+ */
79
+ constructor(name: string, args: AccessPointArgs, opts?: pulumi.CustomResourceOptions);
80
+ }
81
+ /**
82
+ * Input properties used for looking up and filtering AccessPoint resources.
83
+ */
84
+ export interface AccessPointState {
85
+ awsEgressPrivateLinkEndpoint?: pulumi.Input<inputs.AccessPointAwsEgressPrivateLinkEndpoint>;
86
+ /**
87
+ * The name of the Access Point.
88
+ */
89
+ displayName?: pulumi.Input<string>;
90
+ /**
91
+ * Environment objects represent an isolated namespace for your Confluent resources for organizational purposes.
92
+ */
93
+ environment?: pulumi.Input<inputs.AccessPointEnvironment>;
94
+ gateway?: pulumi.Input<inputs.AccessPointGateway>;
95
+ }
96
+ /**
97
+ * The set of arguments for constructing a AccessPoint resource.
98
+ */
99
+ export interface AccessPointArgs {
100
+ awsEgressPrivateLinkEndpoint?: pulumi.Input<inputs.AccessPointAwsEgressPrivateLinkEndpoint>;
101
+ /**
102
+ * The name of the Access Point.
103
+ */
104
+ displayName?: pulumi.Input<string>;
105
+ /**
106
+ * Environment objects represent an isolated namespace for your Confluent resources for organizational purposes.
107
+ */
108
+ environment: pulumi.Input<inputs.AccessPointEnvironment>;
109
+ gateway: pulumi.Input<inputs.AccessPointGateway>;
110
+ }
package/accessPoint.js ADDED
@@ -0,0 +1,103 @@
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.AccessPoint = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * [![General Availability](<https://img.shields.io/badge/Lifecycle%!S(MISSING)tage-General%!A(MISSING)vailability-%!c(MISSING)6e8>)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
10
+ *
11
+ * `confluentcloud.AccessPoint` provides a Access Point resource that enables creating, editing, and deleting Access Points on Confluent Cloud.
12
+ *
13
+ * ## Example Usage
14
+ *
15
+ * <!--Start PulumiCodeChooser -->
16
+ * ```typescript
17
+ * import * as pulumi from "@pulumi/pulumi";
18
+ * import * as confluentcloud from "@pulumi/confluentcloud";
19
+ *
20
+ * const development = new confluentcloud.Environment("development", {});
21
+ * const main = new confluentcloud.AccessPoint("main", {
22
+ * displayName: "access_point",
23
+ * environment: {
24
+ * id: development.id,
25
+ * },
26
+ * gateway: {
27
+ * id: confluent_network.main.gateway[0].id,
28
+ * },
29
+ * awsEgressPrivateLinkEndpoint: {
30
+ * vpcEndpointServiceName: "com.amazonaws.vpce.us-west-2.vpce-svc-00000000000000000",
31
+ * },
32
+ * });
33
+ * ```
34
+ * <!--End PulumiCodeChooser -->
35
+ *
36
+ * ## Import
37
+ *
38
+ * You can import a Access Point by using Environment ID and Access Point ID, in the format `<Environment ID>/<Access Point ID>`. The following example shows how to import a Access Point:
39
+ *
40
+ * $ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>"
41
+ *
42
+ * $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>"
43
+ *
44
+ * ```sh
45
+ * $ pulumi import confluentcloud:index/accessPoint:AccessPoint main env-abc123/ap-abc123
46
+ * ```
47
+ *
48
+ * !> **Warning:** Do not forget to delete terminal command history afterwards for security purposes.
49
+ */
50
+ class AccessPoint extends pulumi.CustomResource {
51
+ /**
52
+ * Get an existing AccessPoint resource's state with the given name, ID, and optional extra
53
+ * properties used to qualify the lookup.
54
+ *
55
+ * @param name The _unique_ name of the resulting resource.
56
+ * @param id The _unique_ provider ID of the resource to lookup.
57
+ * @param state Any extra arguments used during the lookup.
58
+ * @param opts Optional settings to control the behavior of the CustomResource.
59
+ */
60
+ static get(name, id, state, opts) {
61
+ return new AccessPoint(name, state, Object.assign(Object.assign({}, opts), { id: id }));
62
+ }
63
+ /**
64
+ * Returns true if the given object is an instance of AccessPoint. This is designed to work even
65
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
66
+ */
67
+ static isInstance(obj) {
68
+ if (obj === undefined || obj === null) {
69
+ return false;
70
+ }
71
+ return obj['__pulumiType'] === AccessPoint.__pulumiType;
72
+ }
73
+ constructor(name, argsOrState, opts) {
74
+ let resourceInputs = {};
75
+ opts = opts || {};
76
+ if (opts.id) {
77
+ const state = argsOrState;
78
+ resourceInputs["awsEgressPrivateLinkEndpoint"] = state ? state.awsEgressPrivateLinkEndpoint : undefined;
79
+ resourceInputs["displayName"] = state ? state.displayName : undefined;
80
+ resourceInputs["environment"] = state ? state.environment : undefined;
81
+ resourceInputs["gateway"] = state ? state.gateway : undefined;
82
+ }
83
+ else {
84
+ const args = argsOrState;
85
+ if ((!args || args.environment === undefined) && !opts.urn) {
86
+ throw new Error("Missing required property 'environment'");
87
+ }
88
+ if ((!args || args.gateway === undefined) && !opts.urn) {
89
+ throw new Error("Missing required property 'gateway'");
90
+ }
91
+ resourceInputs["awsEgressPrivateLinkEndpoint"] = args ? args.awsEgressPrivateLinkEndpoint : undefined;
92
+ resourceInputs["displayName"] = args ? args.displayName : undefined;
93
+ resourceInputs["environment"] = args ? args.environment : undefined;
94
+ resourceInputs["gateway"] = args ? args.gateway : undefined;
95
+ }
96
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
97
+ super(AccessPoint.__pulumiType, name, resourceInputs, opts);
98
+ }
99
+ }
100
+ exports.AccessPoint = AccessPoint;
101
+ /** @internal */
102
+ AccessPoint.__pulumiType = 'confluentcloud:index/accessPoint:AccessPoint';
103
+ //# sourceMappingURL=accessPoint.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accessPoint.js","sourceRoot":"","sources":["../accessPoint.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;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,GAAG,CAAC,cA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CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;SAC/D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;;AAvEL,kCAwEC;AA1DG,gBAAgB;AACO,wBAAY,GAAG,8CAA8C,CAAC"}
package/dnsRecord.d.ts ADDED
@@ -0,0 +1,123 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ /**
5
+ * [![General Availability](<https://img.shields.io/badge/Lifecycle%!S(MISSING)tage-General%!A(MISSING)vailability-%!c(MISSING)6e8>)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
6
+ *
7
+ * `confluentcloud.DnsRecord` provides a DNS Record resource that enables creating, editing, and deleting DNS Records on Confluent Cloud.
8
+ *
9
+ * ## Example Usage
10
+ *
11
+ * <!--Start PulumiCodeChooser -->
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 main = new confluentcloud.DnsRecord("main", {
18
+ * displayName: "dns_record",
19
+ * environment: {
20
+ * id: development.id,
21
+ * },
22
+ * domain: "example.com",
23
+ * gateway: {
24
+ * id: confluent_network.main.gateway[0].id,
25
+ * },
26
+ * privateLinkAccessPoint: {
27
+ * id: confluent_access_point.main.id,
28
+ * },
29
+ * });
30
+ * ```
31
+ * <!--End PulumiCodeChooser -->
32
+ *
33
+ * ## Import
34
+ *
35
+ * You can import a DNS Record by using Environment ID and DNS Record ID, in the format `<Environment ID>/<DNS Record ID>`. The following example shows how to import a DNS Record:
36
+ *
37
+ * $ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>"
38
+ *
39
+ * $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>"
40
+ *
41
+ * ```sh
42
+ * $ pulumi import confluentcloud:index/dnsRecord:DnsRecord main env-abc123/dnsrec-abc123
43
+ * ```
44
+ *
45
+ * !> **Warning:** Do not forget to delete terminal command history afterwards for security purposes.
46
+ */
47
+ export declare class DnsRecord extends pulumi.CustomResource {
48
+ /**
49
+ * Get an existing DnsRecord resource's state with the given name, ID, and optional extra
50
+ * properties used to qualify the lookup.
51
+ *
52
+ * @param name The _unique_ name of the resulting resource.
53
+ * @param id The _unique_ provider ID of the resource to lookup.
54
+ * @param state Any extra arguments used during the lookup.
55
+ * @param opts Optional settings to control the behavior of the CustomResource.
56
+ */
57
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DnsRecordState, opts?: pulumi.CustomResourceOptions): DnsRecord;
58
+ /**
59
+ * Returns true if the given object is an instance of DnsRecord. This is designed to work even
60
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
61
+ */
62
+ static isInstance(obj: any): obj is DnsRecord;
63
+ /**
64
+ * The name of the DNS Record.
65
+ */
66
+ readonly displayName: pulumi.Output<string>;
67
+ /**
68
+ * The fully qualified domain name of the DNS Record.
69
+ */
70
+ readonly domain: pulumi.Output<string>;
71
+ /**
72
+ * Environment objects represent an isolated namespace for your Confluent resources for organizational purposes.
73
+ */
74
+ readonly environment: pulumi.Output<outputs.DnsRecordEnvironment>;
75
+ readonly gateway: pulumi.Output<outputs.DnsRecordGateway>;
76
+ readonly privateLinkAccessPoint: pulumi.Output<outputs.DnsRecordPrivateLinkAccessPoint | undefined>;
77
+ /**
78
+ * Create a DnsRecord resource with the given unique name, arguments, and options.
79
+ *
80
+ * @param name The _unique_ name of the resource.
81
+ * @param args The arguments to use to populate this resource's properties.
82
+ * @param opts A bag of options that control this resource's behavior.
83
+ */
84
+ constructor(name: string, args: DnsRecordArgs, opts?: pulumi.CustomResourceOptions);
85
+ }
86
+ /**
87
+ * Input properties used for looking up and filtering DnsRecord resources.
88
+ */
89
+ export interface DnsRecordState {
90
+ /**
91
+ * The name of the DNS Record.
92
+ */
93
+ displayName?: pulumi.Input<string>;
94
+ /**
95
+ * The fully qualified domain name of the DNS Record.
96
+ */
97
+ domain?: pulumi.Input<string>;
98
+ /**
99
+ * Environment objects represent an isolated namespace for your Confluent resources for organizational purposes.
100
+ */
101
+ environment?: pulumi.Input<inputs.DnsRecordEnvironment>;
102
+ gateway?: pulumi.Input<inputs.DnsRecordGateway>;
103
+ privateLinkAccessPoint?: pulumi.Input<inputs.DnsRecordPrivateLinkAccessPoint>;
104
+ }
105
+ /**
106
+ * The set of arguments for constructing a DnsRecord resource.
107
+ */
108
+ export interface DnsRecordArgs {
109
+ /**
110
+ * The name of the DNS Record.
111
+ */
112
+ displayName?: pulumi.Input<string>;
113
+ /**
114
+ * The fully qualified domain name of the DNS Record.
115
+ */
116
+ domain: pulumi.Input<string>;
117
+ /**
118
+ * Environment objects represent an isolated namespace for your Confluent resources for organizational purposes.
119
+ */
120
+ environment: pulumi.Input<inputs.DnsRecordEnvironment>;
121
+ gateway: pulumi.Input<inputs.DnsRecordGateway>;
122
+ privateLinkAccessPoint?: pulumi.Input<inputs.DnsRecordPrivateLinkAccessPoint>;
123
+ }
package/dnsRecord.js ADDED
@@ -0,0 +1,109 @@
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.DnsRecord = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * [![General Availability](<https://img.shields.io/badge/Lifecycle%!S(MISSING)tage-General%!A(MISSING)vailability-%!c(MISSING)6e8>)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
10
+ *
11
+ * `confluentcloud.DnsRecord` provides a DNS Record resource that enables creating, editing, and deleting DNS Records on Confluent Cloud.
12
+ *
13
+ * ## Example Usage
14
+ *
15
+ * <!--Start PulumiCodeChooser -->
16
+ * ```typescript
17
+ * import * as pulumi from "@pulumi/pulumi";
18
+ * import * as confluentcloud from "@pulumi/confluentcloud";
19
+ *
20
+ * const development = new confluentcloud.Environment("development", {});
21
+ * const main = new confluentcloud.DnsRecord("main", {
22
+ * displayName: "dns_record",
23
+ * environment: {
24
+ * id: development.id,
25
+ * },
26
+ * domain: "example.com",
27
+ * gateway: {
28
+ * id: confluent_network.main.gateway[0].id,
29
+ * },
30
+ * privateLinkAccessPoint: {
31
+ * id: confluent_access_point.main.id,
32
+ * },
33
+ * });
34
+ * ```
35
+ * <!--End PulumiCodeChooser -->
36
+ *
37
+ * ## Import
38
+ *
39
+ * You can import a DNS Record by using Environment ID and DNS Record ID, in the format `<Environment ID>/<DNS Record ID>`. The following example shows how to import a DNS Record:
40
+ *
41
+ * $ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>"
42
+ *
43
+ * $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>"
44
+ *
45
+ * ```sh
46
+ * $ pulumi import confluentcloud:index/dnsRecord:DnsRecord main env-abc123/dnsrec-abc123
47
+ * ```
48
+ *
49
+ * !> **Warning:** Do not forget to delete terminal command history afterwards for security purposes.
50
+ */
51
+ class DnsRecord extends pulumi.CustomResource {
52
+ /**
53
+ * Get an existing DnsRecord resource's state with the given name, ID, and optional extra
54
+ * properties used to qualify the lookup.
55
+ *
56
+ * @param name The _unique_ name of the resulting resource.
57
+ * @param id The _unique_ provider ID of the resource to lookup.
58
+ * @param state Any extra arguments used during the lookup.
59
+ * @param opts Optional settings to control the behavior of the CustomResource.
60
+ */
61
+ static get(name, id, state, opts) {
62
+ return new DnsRecord(name, state, Object.assign(Object.assign({}, opts), { id: id }));
63
+ }
64
+ /**
65
+ * Returns true if the given object is an instance of DnsRecord. This is designed to work even
66
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
67
+ */
68
+ static isInstance(obj) {
69
+ if (obj === undefined || obj === null) {
70
+ return false;
71
+ }
72
+ return obj['__pulumiType'] === DnsRecord.__pulumiType;
73
+ }
74
+ constructor(name, argsOrState, opts) {
75
+ let resourceInputs = {};
76
+ opts = opts || {};
77
+ if (opts.id) {
78
+ const state = argsOrState;
79
+ resourceInputs["displayName"] = state ? state.displayName : undefined;
80
+ resourceInputs["domain"] = state ? state.domain : undefined;
81
+ resourceInputs["environment"] = state ? state.environment : undefined;
82
+ resourceInputs["gateway"] = state ? state.gateway : undefined;
83
+ resourceInputs["privateLinkAccessPoint"] = state ? state.privateLinkAccessPoint : undefined;
84
+ }
85
+ else {
86
+ const args = argsOrState;
87
+ if ((!args || args.domain === undefined) && !opts.urn) {
88
+ throw new Error("Missing required property 'domain'");
89
+ }
90
+ if ((!args || args.environment === undefined) && !opts.urn) {
91
+ throw new Error("Missing required property 'environment'");
92
+ }
93
+ if ((!args || args.gateway === undefined) && !opts.urn) {
94
+ throw new Error("Missing required property 'gateway'");
95
+ }
96
+ resourceInputs["displayName"] = args ? args.displayName : undefined;
97
+ resourceInputs["domain"] = args ? args.domain : undefined;
98
+ resourceInputs["environment"] = args ? args.environment : undefined;
99
+ resourceInputs["gateway"] = args ? args.gateway : undefined;
100
+ resourceInputs["privateLinkAccessPoint"] = args ? args.privateLinkAccessPoint : undefined;
101
+ }
102
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
103
+ super(DnsRecord.__pulumiType, name, resourceInputs, opts);
104
+ }
105
+ }
106
+ exports.DnsRecord = DnsRecord;
107
+ /** @internal */
108
+ DnsRecord.__pulumiType = 'confluentcloud:index/dnsRecord:DnsRecord';
109
+ //# sourceMappingURL=dnsRecord.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dnsRecord.js","sourceRoot":"","sources":["../dnsRecord.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAChD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsB,EAAE,IAAmC;QACpH,OAAO,IAAI,SAAS,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAChE,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,SAAS,CAAC,YAAY,CAAC;IAC1D,CAAC;IAyBD,YAAY,IAAY,EAAE,WAA4C,EAAE,IAAmC;QACvG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAyC,CAAC;YACxD,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAA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AAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,wBAAwB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,sBAAsB,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7F;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,SAAS,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9D,CAAC;;AAhFL,8BAiFC;AAnEG,gBAAgB;AACO,sBAAY,GAAG,0CAA0C,CAAC"}
@@ -0,0 +1,91 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ /**
5
+ * [![General Availability](<https://img.shields.io/badge/Lifecycle%!S(MISSING)tage-General%!A(MISSING)vailability-%!c(MISSING)6e8>)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
6
+ *
7
+ * `confluentcloud.AccessPoint` describes a Access Point data source.
8
+ *
9
+ * ## Example Usage
10
+ *
11
+ * <!--Start PulumiCodeChooser -->
12
+ * ```typescript
13
+ * import * as pulumi from "@pulumi/pulumi";
14
+ * import * as confluentcloud from "@pulumi/confluentcloud";
15
+ *
16
+ * const main = confluentcloud.getAccessPoint({
17
+ * id: "ap-abc123",
18
+ * environment: {
19
+ * id: "env-123abc",
20
+ * },
21
+ * });
22
+ * export const accessPoint = main;
23
+ * ```
24
+ * <!--End PulumiCodeChooser -->
25
+ */
26
+ export declare function getAccessPoint(args: GetAccessPointArgs, opts?: pulumi.InvokeOptions): Promise<GetAccessPointResult>;
27
+ /**
28
+ * A collection of arguments for invoking getAccessPoint.
29
+ */
30
+ export interface GetAccessPointArgs {
31
+ environment: inputs.GetAccessPointEnvironment;
32
+ /**
33
+ * The ID of the Environment that the Access Point belongs to, for example, `env-123abc`.
34
+ */
35
+ id: string;
36
+ }
37
+ /**
38
+ * A collection of values returned by getAccessPoint.
39
+ */
40
+ export interface GetAccessPointResult {
41
+ /**
42
+ * (Required Configuration Block) supports the following:
43
+ */
44
+ readonly awsEgressPrivateLinkEndpoints: outputs.GetAccessPointAwsEgressPrivateLinkEndpoint[];
45
+ /**
46
+ * (Required String) A human-readable name for the Access Point.
47
+ */
48
+ readonly displayName: string;
49
+ readonly environment: outputs.GetAccessPointEnvironment;
50
+ /**
51
+ * (Required Configuration Block) supports the following:
52
+ */
53
+ readonly gateways: outputs.GetAccessPointGateway[];
54
+ /**
55
+ * (Required String) The ID of the gateway to which the Access Point belongs, for example, `gw-abc123`.
56
+ */
57
+ readonly id: string;
58
+ }
59
+ /**
60
+ * [![General Availability](<https://img.shields.io/badge/Lifecycle%!S(MISSING)tage-General%!A(MISSING)vailability-%!c(MISSING)6e8>)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
61
+ *
62
+ * `confluentcloud.AccessPoint` describes a Access Point data source.
63
+ *
64
+ * ## Example Usage
65
+ *
66
+ * <!--Start PulumiCodeChooser -->
67
+ * ```typescript
68
+ * import * as pulumi from "@pulumi/pulumi";
69
+ * import * as confluentcloud from "@pulumi/confluentcloud";
70
+ *
71
+ * const main = confluentcloud.getAccessPoint({
72
+ * id: "ap-abc123",
73
+ * environment: {
74
+ * id: "env-123abc",
75
+ * },
76
+ * });
77
+ * export const accessPoint = main;
78
+ * ```
79
+ * <!--End PulumiCodeChooser -->
80
+ */
81
+ export declare function getAccessPointOutput(args: GetAccessPointOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetAccessPointResult>;
82
+ /**
83
+ * A collection of arguments for invoking getAccessPoint.
84
+ */
85
+ export interface GetAccessPointOutputArgs {
86
+ environment: pulumi.Input<inputs.GetAccessPointEnvironmentArgs>;
87
+ /**
88
+ * The ID of the Environment that the Access Point belongs to, for example, `env-123abc`.
89
+ */
90
+ id: pulumi.Input<string>;
91
+ }
@@ -0,0 +1,64 @@
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.getAccessPointOutput = exports.getAccessPoint = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * [![General Availability](<https://img.shields.io/badge/Lifecycle%!S(MISSING)tage-General%!A(MISSING)vailability-%!c(MISSING)6e8>)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
10
+ *
11
+ * `confluentcloud.AccessPoint` describes a Access Point data source.
12
+ *
13
+ * ## Example Usage
14
+ *
15
+ * <!--Start PulumiCodeChooser -->
16
+ * ```typescript
17
+ * import * as pulumi from "@pulumi/pulumi";
18
+ * import * as confluentcloud from "@pulumi/confluentcloud";
19
+ *
20
+ * const main = confluentcloud.getAccessPoint({
21
+ * id: "ap-abc123",
22
+ * environment: {
23
+ * id: "env-123abc",
24
+ * },
25
+ * });
26
+ * export const accessPoint = main;
27
+ * ```
28
+ * <!--End PulumiCodeChooser -->
29
+ */
30
+ function getAccessPoint(args, opts) {
31
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
32
+ return pulumi.runtime.invoke("confluentcloud:index/getAccessPoint:getAccessPoint", {
33
+ "environment": args.environment,
34
+ "id": args.id,
35
+ }, opts);
36
+ }
37
+ exports.getAccessPoint = getAccessPoint;
38
+ /**
39
+ * [![General Availability](<https://img.shields.io/badge/Lifecycle%!S(MISSING)tage-General%!A(MISSING)vailability-%!c(MISSING)6e8>)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
40
+ *
41
+ * `confluentcloud.AccessPoint` describes a Access Point data source.
42
+ *
43
+ * ## Example Usage
44
+ *
45
+ * <!--Start PulumiCodeChooser -->
46
+ * ```typescript
47
+ * import * as pulumi from "@pulumi/pulumi";
48
+ * import * as confluentcloud from "@pulumi/confluentcloud";
49
+ *
50
+ * const main = confluentcloud.getAccessPoint({
51
+ * id: "ap-abc123",
52
+ * environment: {
53
+ * id: "env-123abc",
54
+ * },
55
+ * });
56
+ * export const accessPoint = main;
57
+ * ```
58
+ * <!--End PulumiCodeChooser -->
59
+ */
60
+ function getAccessPointOutput(args, opts) {
61
+ return pulumi.output(args).apply((a) => getAccessPoint(a, opts));
62
+ }
63
+ exports.getAccessPointOutput = getAccessPointOutput;
64
+ //# sourceMappingURL=getAccessPoint.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getAccessPoint.js","sourceRoot":"","sources":["../getAccessPoint.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAEhF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oDAAoD,EAAE;QAC/E,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,wCAOC;AAmCD;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAA2B;IAC5F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,cAAc,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACzE,CAAC;AAFD,oDAEC"}