@pulumi/confluentcloud 1.25.0-alpha.1695058997 → 1.25.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,167 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ /**
5
+ * ## Example Usage
6
+ *
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 main = new confluentcloud.FlinkComputePool("main", {
13
+ * displayName: "standard_compute_pool",
14
+ * cloud: "AWS",
15
+ * region: "us-east-1",
16
+ * maxCfu: 5,
17
+ * environment: {
18
+ * id: development.id,
19
+ * },
20
+ * });
21
+ * ```
22
+ *
23
+ * ## Import
24
+ *
25
+ * You can import a Flink Compute Pool by using Environment ID and Flink Compute Pool ID, in the format `<Environment ID>/<Flink Compute Pool ID>`. The following example shows how to import a Flink Compute Pool$ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>" $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>"
26
+ *
27
+ * ```sh
28
+ * $ pulumi import confluentcloud:index/flinkComputePool:FlinkComputePool main env-abc123/lfcp-abc123
29
+ * ```
30
+ *
31
+ * !> **Warning:** Do not forget to delete terminal command history afterwards for security purposes.
32
+ */
33
+ export declare class FlinkComputePool extends pulumi.CustomResource {
34
+ /**
35
+ * Get an existing FlinkComputePool resource's state with the given name, ID, and optional extra
36
+ * properties used to qualify the lookup.
37
+ *
38
+ * @param name The _unique_ name of the resulting resource.
39
+ * @param id The _unique_ provider ID of the resource to lookup.
40
+ * @param state Any extra arguments used during the lookup.
41
+ * @param opts Optional settings to control the behavior of the CustomResource.
42
+ */
43
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: FlinkComputePoolState, opts?: pulumi.CustomResourceOptions): FlinkComputePool;
44
+ /**
45
+ * Returns true if the given object is an instance of FlinkComputePool. This is designed to work even
46
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
47
+ */
48
+ static isInstance(obj: any): obj is FlinkComputePool;
49
+ /**
50
+ * (Required String) The API Version of the schema version of the Flink Compute Pool, for example, `fcpm/v2`.
51
+ */
52
+ readonly apiVersion: pulumi.Output<string>;
53
+ /**
54
+ * The cloud service provider that runs the Flink Compute Pool.
55
+ */
56
+ readonly cloud: pulumi.Output<string>;
57
+ /**
58
+ * (Required Integer) The number of Confluent Flink Units (CFUs) currently allocated to this Flink compute pool.
59
+ */
60
+ readonly currentCfu: pulumi.Output<number>;
61
+ /**
62
+ * The name of the Flink Compute Pool.
63
+ */
64
+ readonly displayName: pulumi.Output<string>;
65
+ /**
66
+ * Environment objects represent an isolated namespace for your Confluent resources for organizational purposes.
67
+ */
68
+ readonly environment: pulumi.Output<outputs.FlinkComputePoolEnvironment>;
69
+ /**
70
+ * (Required String) The kind of the Flink Compute Pool, for example, `ComputePool`.
71
+ */
72
+ readonly kind: pulumi.Output<string>;
73
+ /**
74
+ * Maximum number of Confluent Flink Units (CFUs) that the Flink compute pool should auto-scale to. The accepted values are: `5` and `10`.
75
+ */
76
+ readonly maxCfu: pulumi.Output<number>;
77
+ /**
78
+ * The cloud service provider region that hosts the Flink Compute Pool.
79
+ */
80
+ readonly region: pulumi.Output<string>;
81
+ /**
82
+ * (Required String) The Confluent Resource Name of the Flink Compute Pool.
83
+ */
84
+ readonly resourceName: pulumi.Output<string>;
85
+ /**
86
+ * (Required String) The API endpoint of the Flink Compute Pool.
87
+ */
88
+ readonly restEndpoint: pulumi.Output<string>;
89
+ /**
90
+ * Create a FlinkComputePool resource with the given unique name, arguments, and options.
91
+ *
92
+ * @param name The _unique_ name of the resource.
93
+ * @param args The arguments to use to populate this resource's properties.
94
+ * @param opts A bag of options that control this resource's behavior.
95
+ */
96
+ constructor(name: string, args: FlinkComputePoolArgs, opts?: pulumi.CustomResourceOptions);
97
+ }
98
+ /**
99
+ * Input properties used for looking up and filtering FlinkComputePool resources.
100
+ */
101
+ export interface FlinkComputePoolState {
102
+ /**
103
+ * (Required String) The API Version of the schema version of the Flink Compute Pool, for example, `fcpm/v2`.
104
+ */
105
+ apiVersion?: pulumi.Input<string>;
106
+ /**
107
+ * The cloud service provider that runs the Flink Compute Pool.
108
+ */
109
+ cloud?: pulumi.Input<string>;
110
+ /**
111
+ * (Required Integer) The number of Confluent Flink Units (CFUs) currently allocated to this Flink compute pool.
112
+ */
113
+ currentCfu?: pulumi.Input<number>;
114
+ /**
115
+ * The name of the Flink Compute Pool.
116
+ */
117
+ displayName?: pulumi.Input<string>;
118
+ /**
119
+ * Environment objects represent an isolated namespace for your Confluent resources for organizational purposes.
120
+ */
121
+ environment?: pulumi.Input<inputs.FlinkComputePoolEnvironment>;
122
+ /**
123
+ * (Required String) The kind of the Flink Compute Pool, for example, `ComputePool`.
124
+ */
125
+ kind?: pulumi.Input<string>;
126
+ /**
127
+ * Maximum number of Confluent Flink Units (CFUs) that the Flink compute pool should auto-scale to. The accepted values are: `5` and `10`.
128
+ */
129
+ maxCfu?: pulumi.Input<number>;
130
+ /**
131
+ * The cloud service provider region that hosts the Flink Compute Pool.
132
+ */
133
+ region?: pulumi.Input<string>;
134
+ /**
135
+ * (Required String) The Confluent Resource Name of the Flink Compute Pool.
136
+ */
137
+ resourceName?: pulumi.Input<string>;
138
+ /**
139
+ * (Required String) The API endpoint of the Flink Compute Pool.
140
+ */
141
+ restEndpoint?: pulumi.Input<string>;
142
+ }
143
+ /**
144
+ * The set of arguments for constructing a FlinkComputePool resource.
145
+ */
146
+ export interface FlinkComputePoolArgs {
147
+ /**
148
+ * The cloud service provider that runs the Flink Compute Pool.
149
+ */
150
+ cloud: pulumi.Input<string>;
151
+ /**
152
+ * The name of the Flink Compute Pool.
153
+ */
154
+ displayName: pulumi.Input<string>;
155
+ /**
156
+ * Environment objects represent an isolated namespace for your Confluent resources for organizational purposes.
157
+ */
158
+ environment: pulumi.Input<inputs.FlinkComputePoolEnvironment>;
159
+ /**
160
+ * Maximum number of Confluent Flink Units (CFUs) that the Flink compute pool should auto-scale to. The accepted values are: `5` and `10`.
161
+ */
162
+ maxCfu?: pulumi.Input<number>;
163
+ /**
164
+ * The cloud service provider region that hosts the Flink Compute Pool.
165
+ */
166
+ region: pulumi.Input<string>;
167
+ }
@@ -0,0 +1,108 @@
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.FlinkComputePool = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * ## Example Usage
10
+ *
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 main = new confluentcloud.FlinkComputePool("main", {
17
+ * displayName: "standard_compute_pool",
18
+ * cloud: "AWS",
19
+ * region: "us-east-1",
20
+ * maxCfu: 5,
21
+ * environment: {
22
+ * id: development.id,
23
+ * },
24
+ * });
25
+ * ```
26
+ *
27
+ * ## Import
28
+ *
29
+ * You can import a Flink Compute Pool by using Environment ID and Flink Compute Pool ID, in the format `<Environment ID>/<Flink Compute Pool ID>`. The following example shows how to import a Flink Compute Pool$ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>" $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>"
30
+ *
31
+ * ```sh
32
+ * $ pulumi import confluentcloud:index/flinkComputePool:FlinkComputePool main env-abc123/lfcp-abc123
33
+ * ```
34
+ *
35
+ * !> **Warning:** Do not forget to delete terminal command history afterwards for security purposes.
36
+ */
37
+ class FlinkComputePool extends pulumi.CustomResource {
38
+ /**
39
+ * Get an existing FlinkComputePool resource's state with the given name, ID, and optional extra
40
+ * properties used to qualify the lookup.
41
+ *
42
+ * @param name The _unique_ name of the resulting resource.
43
+ * @param id The _unique_ provider ID of the resource to lookup.
44
+ * @param state Any extra arguments used during the lookup.
45
+ * @param opts Optional settings to control the behavior of the CustomResource.
46
+ */
47
+ static get(name, id, state, opts) {
48
+ return new FlinkComputePool(name, state, Object.assign(Object.assign({}, opts), { id: id }));
49
+ }
50
+ /**
51
+ * Returns true if the given object is an instance of FlinkComputePool. This is designed to work even
52
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
53
+ */
54
+ static isInstance(obj) {
55
+ if (obj === undefined || obj === null) {
56
+ return false;
57
+ }
58
+ return obj['__pulumiType'] === FlinkComputePool.__pulumiType;
59
+ }
60
+ constructor(name, argsOrState, opts) {
61
+ let resourceInputs = {};
62
+ opts = opts || {};
63
+ if (opts.id) {
64
+ const state = argsOrState;
65
+ resourceInputs["apiVersion"] = state ? state.apiVersion : undefined;
66
+ resourceInputs["cloud"] = state ? state.cloud : undefined;
67
+ resourceInputs["currentCfu"] = state ? state.currentCfu : undefined;
68
+ resourceInputs["displayName"] = state ? state.displayName : undefined;
69
+ resourceInputs["environment"] = state ? state.environment : undefined;
70
+ resourceInputs["kind"] = state ? state.kind : undefined;
71
+ resourceInputs["maxCfu"] = state ? state.maxCfu : undefined;
72
+ resourceInputs["region"] = state ? state.region : undefined;
73
+ resourceInputs["resourceName"] = state ? state.resourceName : undefined;
74
+ resourceInputs["restEndpoint"] = state ? state.restEndpoint : undefined;
75
+ }
76
+ else {
77
+ const args = argsOrState;
78
+ if ((!args || args.cloud === undefined) && !opts.urn) {
79
+ throw new Error("Missing required property 'cloud'");
80
+ }
81
+ if ((!args || args.displayName === undefined) && !opts.urn) {
82
+ throw new Error("Missing required property 'displayName'");
83
+ }
84
+ if ((!args || args.environment === undefined) && !opts.urn) {
85
+ throw new Error("Missing required property 'environment'");
86
+ }
87
+ if ((!args || args.region === undefined) && !opts.urn) {
88
+ throw new Error("Missing required property 'region'");
89
+ }
90
+ resourceInputs["cloud"] = args ? args.cloud : undefined;
91
+ resourceInputs["displayName"] = args ? args.displayName : undefined;
92
+ resourceInputs["environment"] = args ? args.environment : undefined;
93
+ resourceInputs["maxCfu"] = args ? args.maxCfu : undefined;
94
+ resourceInputs["region"] = args ? args.region : undefined;
95
+ resourceInputs["apiVersion"] = undefined /*out*/;
96
+ resourceInputs["currentCfu"] = undefined /*out*/;
97
+ resourceInputs["kind"] = undefined /*out*/;
98
+ resourceInputs["resourceName"] = undefined /*out*/;
99
+ resourceInputs["restEndpoint"] = undefined /*out*/;
100
+ }
101
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
102
+ super(FlinkComputePool.__pulumiType, name, resourceInputs, opts);
103
+ }
104
+ }
105
+ exports.FlinkComputePool = FlinkComputePool;
106
+ /** @internal */
107
+ FlinkComputePool.__pulumiType = 'confluentcloud:index/flinkComputePool:FlinkComputePool';
108
+ //# sourceMappingURL=flinkComputePool.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"flinkComputePool.js","sourceRoot":"","sources":["../flinkComputePool.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IAAmC;QAC3H,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACvE,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,g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,CAAC;YAC1D,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnD,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,gBAAgB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrE,CAAC;;AAvHL,4CAwHC;AA1GG,gBAAgB;AACO,6BAAY,GAAG,wDAAwD,CAAC"}
@@ -0,0 +1,152 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ /**
5
+ * [![Early Access](https://img.shields.io/badge/Lifecycle%20Stage-Early%20Access-%2300afba)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
6
+ *
7
+ * > **Note:** `confluentcloud.FlinkComputePool` data source is available in **Early Access** for early adopters. Early Access features are introduced to gather customer feedback. This feature should be used only for evaluation and non-production testing purposes or to provide feedback to Confluent, particularly as it becomes more widely available in follow-on editions.\
8
+ * **Early Access** features are intended for evaluation use in development and testing environments only, and not for production use. The warranty, SLA, and Support Services provisions of your agreement with Confluent do not apply to Early Access features. Early Access features are considered to be a Proof of Concept as defined in the Confluent Cloud Terms of Service. Confluent may discontinue providing early access releases of the Early Access features at any time in Confluent’s sole discretion.
9
+ *
10
+ * `confluentcloud.FlinkComputePool` describes a Flink Compute Pool data source.
11
+ *
12
+ * ## Example Usage
13
+ *
14
+ * ```typescript
15
+ * import * as pulumi from "@pulumi/pulumi";
16
+ * import * as confluentcloud from "@pulumi/confluentcloud";
17
+ *
18
+ * const exampleUsingIdFlinkComputePool = confluentcloud.getFlinkComputePool({
19
+ * id: "lfcp-abc123",
20
+ * environment: {
21
+ * id: "env-xyz456",
22
+ * },
23
+ * });
24
+ * export const exampleUsingId = exampleUsingIdFlinkComputePool;
25
+ * const exampleUsingNameFlinkComputePool = confluentcloud.getFlinkComputePool({
26
+ * displayName: "my_compute_pool",
27
+ * environment: {
28
+ * id: "env-xyz456",
29
+ * },
30
+ * });
31
+ * export const exampleUsingName = exampleUsingNameFlinkComputePool;
32
+ * ```
33
+ */
34
+ export declare function getFlinkComputePool(args: GetFlinkComputePoolArgs, opts?: pulumi.InvokeOptions): Promise<GetFlinkComputePoolResult>;
35
+ /**
36
+ * A collection of arguments for invoking getFlinkComputePool.
37
+ */
38
+ export interface GetFlinkComputePoolArgs {
39
+ /**
40
+ * A human-readable name for the Flink Compute Pool.
41
+ */
42
+ displayName?: string;
43
+ /**
44
+ * (Required Configuration Block) supports the following:
45
+ */
46
+ environment: inputs.GetFlinkComputePoolEnvironment;
47
+ /**
48
+ * The ID of the Environment that the Flink Compute Pool belongs to, for example, `env-xyz456`.
49
+ *
50
+ * > **Note:** Exactly one from the `id` and `displayName` attributes must be specified.
51
+ */
52
+ id?: string;
53
+ }
54
+ /**
55
+ * A collection of values returned by getFlinkComputePool.
56
+ */
57
+ export interface GetFlinkComputePoolResult {
58
+ /**
59
+ * (Required String) The API Version of the schema version of the Flink Compute Pool, for example, `fcpm/v2`.
60
+ */
61
+ readonly apiVersion: string;
62
+ /**
63
+ * (Required String) The cloud service provider that runs the Flink Compute Pool.
64
+ */
65
+ readonly cloud: string;
66
+ /**
67
+ * (Required Integer) The number of Confluent Flink Units (CFUs) currently allocated to this Flink compute pool.
68
+ */
69
+ readonly currentCfu: number;
70
+ /**
71
+ * (Required String) The name of the Flink Compute Pool.
72
+ */
73
+ readonly displayName: string;
74
+ /**
75
+ * (Required Configuration Block) supports the following:
76
+ */
77
+ readonly environment: outputs.GetFlinkComputePoolEnvironment;
78
+ /**
79
+ * (Required String) The ID of the Environment that the Flink Compute Pool belongs to, for example, `env-abc123`.
80
+ */
81
+ readonly id: string;
82
+ /**
83
+ * (Required String) The kind of the Flink Compute Pool, for example, `ComputePool`.
84
+ */
85
+ readonly kind: string;
86
+ /**
87
+ * (Required Integer) Maximum number of Confluent Flink Units (CFUs) that the Flink compute pool should auto-scale to.
88
+ */
89
+ readonly maxCfu: number;
90
+ /**
91
+ * (Required String) The cloud service provider region that hosts the Flink Compute Pool.
92
+ */
93
+ readonly region: string;
94
+ /**
95
+ * (Required String) The Confluent Resource Name of the Flink Compute Pool.
96
+ */
97
+ readonly resourceName: string;
98
+ /**
99
+ * (Required String) The API endpoint of the Flink Compute Pool.
100
+ */
101
+ readonly restEndpoint: string;
102
+ }
103
+ /**
104
+ * [![Early Access](https://img.shields.io/badge/Lifecycle%20Stage-Early%20Access-%2300afba)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
105
+ *
106
+ * > **Note:** `confluentcloud.FlinkComputePool` data source is available in **Early Access** for early adopters. Early Access features are introduced to gather customer feedback. This feature should be used only for evaluation and non-production testing purposes or to provide feedback to Confluent, particularly as it becomes more widely available in follow-on editions.\
107
+ * **Early Access** features are intended for evaluation use in development and testing environments only, and not for production use. The warranty, SLA, and Support Services provisions of your agreement with Confluent do not apply to Early Access features. Early Access features are considered to be a Proof of Concept as defined in the Confluent Cloud Terms of Service. Confluent may discontinue providing early access releases of the Early Access features at any time in Confluent’s sole discretion.
108
+ *
109
+ * `confluentcloud.FlinkComputePool` describes a Flink Compute Pool data source.
110
+ *
111
+ * ## Example Usage
112
+ *
113
+ * ```typescript
114
+ * import * as pulumi from "@pulumi/pulumi";
115
+ * import * as confluentcloud from "@pulumi/confluentcloud";
116
+ *
117
+ * const exampleUsingIdFlinkComputePool = confluentcloud.getFlinkComputePool({
118
+ * id: "lfcp-abc123",
119
+ * environment: {
120
+ * id: "env-xyz456",
121
+ * },
122
+ * });
123
+ * export const exampleUsingId = exampleUsingIdFlinkComputePool;
124
+ * const exampleUsingNameFlinkComputePool = confluentcloud.getFlinkComputePool({
125
+ * displayName: "my_compute_pool",
126
+ * environment: {
127
+ * id: "env-xyz456",
128
+ * },
129
+ * });
130
+ * export const exampleUsingName = exampleUsingNameFlinkComputePool;
131
+ * ```
132
+ */
133
+ export declare function getFlinkComputePoolOutput(args: GetFlinkComputePoolOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetFlinkComputePoolResult>;
134
+ /**
135
+ * A collection of arguments for invoking getFlinkComputePool.
136
+ */
137
+ export interface GetFlinkComputePoolOutputArgs {
138
+ /**
139
+ * A human-readable name for the Flink Compute Pool.
140
+ */
141
+ displayName?: pulumi.Input<string>;
142
+ /**
143
+ * (Required Configuration Block) supports the following:
144
+ */
145
+ environment: pulumi.Input<inputs.GetFlinkComputePoolEnvironmentArgs>;
146
+ /**
147
+ * The ID of the Environment that the Flink Compute Pool belongs to, for example, `env-xyz456`.
148
+ *
149
+ * > **Note:** Exactly one from the `id` and `displayName` attributes must be specified.
150
+ */
151
+ id?: pulumi.Input<string>;
152
+ }
@@ -0,0 +1,81 @@
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.getFlinkComputePoolOutput = exports.getFlinkComputePool = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * [![Early Access](https://img.shields.io/badge/Lifecycle%20Stage-Early%20Access-%2300afba)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
10
+ *
11
+ * > **Note:** `confluentcloud.FlinkComputePool` data source is available in **Early Access** for early adopters. Early Access features are introduced to gather customer feedback. This feature should be used only for evaluation and non-production testing purposes or to provide feedback to Confluent, particularly as it becomes more widely available in follow-on editions.\
12
+ * **Early Access** features are intended for evaluation use in development and testing environments only, and not for production use. The warranty, SLA, and Support Services provisions of your agreement with Confluent do not apply to Early Access features. Early Access features are considered to be a Proof of Concept as defined in the Confluent Cloud Terms of Service. Confluent may discontinue providing early access releases of the Early Access features at any time in Confluent’s sole discretion.
13
+ *
14
+ * `confluentcloud.FlinkComputePool` describes a Flink Compute Pool data source.
15
+ *
16
+ * ## Example Usage
17
+ *
18
+ * ```typescript
19
+ * import * as pulumi from "@pulumi/pulumi";
20
+ * import * as confluentcloud from "@pulumi/confluentcloud";
21
+ *
22
+ * const exampleUsingIdFlinkComputePool = confluentcloud.getFlinkComputePool({
23
+ * id: "lfcp-abc123",
24
+ * environment: {
25
+ * id: "env-xyz456",
26
+ * },
27
+ * });
28
+ * export const exampleUsingId = exampleUsingIdFlinkComputePool;
29
+ * const exampleUsingNameFlinkComputePool = confluentcloud.getFlinkComputePool({
30
+ * displayName: "my_compute_pool",
31
+ * environment: {
32
+ * id: "env-xyz456",
33
+ * },
34
+ * });
35
+ * export const exampleUsingName = exampleUsingNameFlinkComputePool;
36
+ * ```
37
+ */
38
+ function getFlinkComputePool(args, opts) {
39
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
40
+ return pulumi.runtime.invoke("confluentcloud:index/getFlinkComputePool:getFlinkComputePool", {
41
+ "displayName": args.displayName,
42
+ "environment": args.environment,
43
+ "id": args.id,
44
+ }, opts);
45
+ }
46
+ exports.getFlinkComputePool = getFlinkComputePool;
47
+ /**
48
+ * [![Early Access](https://img.shields.io/badge/Lifecycle%20Stage-Early%20Access-%2300afba)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
49
+ *
50
+ * > **Note:** `confluentcloud.FlinkComputePool` data source is available in **Early Access** for early adopters. Early Access features are introduced to gather customer feedback. This feature should be used only for evaluation and non-production testing purposes or to provide feedback to Confluent, particularly as it becomes more widely available in follow-on editions.\
51
+ * **Early Access** features are intended for evaluation use in development and testing environments only, and not for production use. The warranty, SLA, and Support Services provisions of your agreement with Confluent do not apply to Early Access features. Early Access features are considered to be a Proof of Concept as defined in the Confluent Cloud Terms of Service. Confluent may discontinue providing early access releases of the Early Access features at any time in Confluent’s sole discretion.
52
+ *
53
+ * `confluentcloud.FlinkComputePool` describes a Flink Compute Pool data source.
54
+ *
55
+ * ## Example Usage
56
+ *
57
+ * ```typescript
58
+ * import * as pulumi from "@pulumi/pulumi";
59
+ * import * as confluentcloud from "@pulumi/confluentcloud";
60
+ *
61
+ * const exampleUsingIdFlinkComputePool = confluentcloud.getFlinkComputePool({
62
+ * id: "lfcp-abc123",
63
+ * environment: {
64
+ * id: "env-xyz456",
65
+ * },
66
+ * });
67
+ * export const exampleUsingId = exampleUsingIdFlinkComputePool;
68
+ * const exampleUsingNameFlinkComputePool = confluentcloud.getFlinkComputePool({
69
+ * displayName: "my_compute_pool",
70
+ * environment: {
71
+ * id: "env-xyz456",
72
+ * },
73
+ * });
74
+ * export const exampleUsingName = exampleUsingNameFlinkComputePool;
75
+ * ```
76
+ */
77
+ function getFlinkComputePoolOutput(args, opts) {
78
+ return pulumi.output(args).apply((a) => getFlinkComputePool(a, opts));
79
+ }
80
+ exports.getFlinkComputePoolOutput = getFlinkComputePoolOutput;
81
+ //# sourceMappingURL=getFlinkComputePool.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getFlinkComputePool.js","sourceRoot":"","sources":["../getFlinkComputePool.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAE1F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8DAA8D,EAAE;QACzF,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,kDAQC;AAuED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,SAAgB,yBAAyB,CAAC,IAAmC,EAAE,IAA2B;IACtG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,mBAAmB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC9E,CAAC;AAFD,8DAEC"}
@@ -4,6 +4,8 @@ import * as pulumi from "@pulumi/pulumi";
4
4
  *
5
5
  * `confluentcloud.RoleBinding` describes a Role Binding.
6
6
  *
7
+ * > **Note:** For more information on the Role Bindings, see [Predefined RBAC roles in Confluent Cloud](https://docs.confluent.io/cloud/current/access-management/access-control/rbac/predefined-rbac-roles.html).
8
+ *
7
9
  * ## Example Usage
8
10
  *
9
11
  * ```typescript
@@ -49,6 +51,8 @@ export interface GetRoleBindingResult {
49
51
  *
50
52
  * `confluentcloud.RoleBinding` describes a Role Binding.
51
53
  *
54
+ * > **Note:** For more information on the Role Bindings, see [Predefined RBAC roles in Confluent Cloud](https://docs.confluent.io/cloud/current/access-management/access-control/rbac/predefined-rbac-roles.html).
55
+ *
52
56
  * ## Example Usage
53
57
  *
54
58
  * ```typescript
package/getRoleBinding.js CHANGED
@@ -10,6 +10,8 @@ const utilities = require("./utilities");
10
10
  *
11
11
  * `confluentcloud.RoleBinding` describes a Role Binding.
12
12
  *
13
+ * > **Note:** For more information on the Role Bindings, see [Predefined RBAC roles in Confluent Cloud](https://docs.confluent.io/cloud/current/access-management/access-control/rbac/predefined-rbac-roles.html).
14
+ *
13
15
  * ## Example Usage
14
16
  *
15
17
  * ```typescript
@@ -34,6 +36,8 @@ exports.getRoleBinding = getRoleBinding;
34
36
  *
35
37
  * `confluentcloud.RoleBinding` describes a Role Binding.
36
38
  *
39
+ * > **Note:** For more information on the Role Bindings, see [Predefined RBAC roles in Confluent Cloud](https://docs.confluent.io/cloud/current/access-management/access-control/rbac/predefined-rbac-roles.html).
40
+ *
37
41
  * ## Example Usage
38
42
  *
39
43
  * ```typescript
@@ -1 +1 @@
1
- {"version":3,"file":"getRoleBinding.js","sourceRoot":"","sources":["../getRoleBinding.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;GAgBG;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,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,wCAMC;AA8BD;;;;;;;;;;;;;;;;GAgBG;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"}
1
+ {"version":3,"file":"getRoleBinding.js","sourceRoot":"","sources":["../getRoleBinding.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;GAkBG;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,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,wCAMC;AA8BD;;;;;;;;;;;;;;;;;;GAkBG;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"}
package/index.d.ts CHANGED
@@ -19,6 +19,9 @@ export declare const Connector: typeof import("./connector").Connector;
19
19
  export { EnvironmentArgs, EnvironmentState } from "./environment";
20
20
  export type Environment = import("./environment").Environment;
21
21
  export declare const Environment: typeof import("./environment").Environment;
22
+ export { FlinkComputePoolArgs, FlinkComputePoolState } from "./flinkComputePool";
23
+ export type FlinkComputePool = import("./flinkComputePool").FlinkComputePool;
24
+ export declare const FlinkComputePool: typeof import("./flinkComputePool").FlinkComputePool;
22
25
  export { GetBusinessMetadataArgs, GetBusinessMetadataResult, GetBusinessMetadataOutputArgs } from "./getBusinessMetadata";
23
26
  export declare const getBusinessMetadata: typeof import("./getBusinessMetadata").getBusinessMetadata;
24
27
  export declare const getBusinessMetadataOutput: typeof import("./getBusinessMetadata").getBusinessMetadataOutput;
@@ -34,6 +37,9 @@ export declare const getEnvironmentOutput: typeof import("./getEnvironment").get
34
37
  export { GetEnvironmentsResult } from "./getEnvironments";
35
38
  export declare const getEnvironments: typeof import("./getEnvironments").getEnvironments;
36
39
  export declare const getEnvironmentsOutput: typeof import("./getEnvironments").getEnvironmentsOutput;
40
+ export { GetFlinkComputePoolArgs, GetFlinkComputePoolResult, GetFlinkComputePoolOutputArgs } from "./getFlinkComputePool";
41
+ export declare const getFlinkComputePool: typeof import("./getFlinkComputePool").getFlinkComputePool;
42
+ export declare const getFlinkComputePoolOutput: typeof import("./getFlinkComputePool").getFlinkComputePoolOutput;
37
43
  export { GetIdentityPoolArgs, GetIdentityPoolResult, GetIdentityPoolOutputArgs } from "./getIdentityPool";
38
44
  export declare const getIdentityPool: typeof import("./getIdentityPool").getIdentityPool;
39
45
  export declare const getIdentityPoolOutput: typeof import("./getIdentityPool").getIdentityPoolOutput;
@@ -187,6 +193,9 @@ export declare const RoleBinding: typeof import("./roleBinding").RoleBinding;
187
193
  export { SchemaArgs, SchemaState } from "./schema";
188
194
  export type Schema = import("./schema").Schema;
189
195
  export declare const Schema: typeof import("./schema").Schema;
196
+ export { SchemaExporterArgs, SchemaExporterState } from "./schemaExporter";
197
+ export type SchemaExporter = import("./schemaExporter").SchemaExporter;
198
+ export declare const SchemaExporter: typeof import("./schemaExporter").SchemaExporter;
190
199
  export { SchemaRegistryClusterArgs, SchemaRegistryClusterState } from "./schemaRegistryCluster";
191
200
  export type SchemaRegistryCluster = import("./schemaRegistryCluster").SchemaRegistryCluster;
192
201
  export declare const SchemaRegistryCluster: typeof import("./schemaRegistryCluster").SchemaRegistryCluster;