@pulumi/confluentcloud 2.84.0-alpha.1790573792 → 2.84.0-alpha.1790825753

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,98 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "./types/output";
3
+ /**
4
+ * [![Preview](https://img.shields.io/badge/Lifecycle%20Stage-Preview-%2300afba)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
5
+ *
6
+ * > **Warning:** Switchover is a preview feature. Preview features are introduced to gather customer feedback and may change based on that feedback. They are intended for evaluation and non-production use only, and are not covered by Confluent SLAs. Preview features may be discontinued at any time.
7
+ *
8
+ * `confluentcloud.SwitchoverEndpoint` describes a switchover endpoint data source.
9
+ *
10
+ * ## Example Usage
11
+ *
12
+ * ```typescript
13
+ * import * as pulumi from "@pulumi/pulumi";
14
+ * import * as confluentcloud from "@pulumi/confluentcloud";
15
+ *
16
+ * const example = confluentcloud.getSwitchoverEndpoint({
17
+ * id: "se-abc123",
18
+ * environmentCrn: "crn://confluent.cloud/organization=org-abc/environment=env-abc123",
19
+ * });
20
+ * export const switchoverEndpoint = example;
21
+ * ```
22
+ */
23
+ export declare function getSwitchoverEndpoint(args: GetSwitchoverEndpointArgs, opts?: pulumi.InvokeOptions): Promise<GetSwitchoverEndpointResult>;
24
+ /**
25
+ * A collection of arguments for invoking getSwitchoverEndpoint.
26
+ */
27
+ export interface GetSwitchoverEndpointArgs {
28
+ /**
29
+ * The CRN of the environment that owns this switchover endpoint, for example, `crn://confluent.cloud/organization=org-abc/environment=env-abc123`.
30
+ */
31
+ environmentCrn: string;
32
+ /**
33
+ * The ID of the switchover endpoint, for example, `se-abc123`.
34
+ */
35
+ id: string;
36
+ }
37
+ /**
38
+ * A collection of values returned by getSwitchoverEndpoint.
39
+ */
40
+ export interface GetSwitchoverEndpointResult {
41
+ /**
42
+ * (Required String) A human-readable name for the switchover endpoint.
43
+ */
44
+ readonly displayName: string;
45
+ /**
46
+ * (Required Configuration Block) The endpoint definitions, one per side. Each block exports the following:
47
+ */
48
+ readonly endpoints: outputs.GetSwitchoverEndpointEndpoint[];
49
+ readonly environmentCrn: string;
50
+ readonly id: string;
51
+ /**
52
+ * (Required String) The CRN of the switchover pair this endpoint is bound to.
53
+ */
54
+ readonly parentResourceCrn: string;
55
+ /**
56
+ * (Required String) The lifecycle phase of the switchover endpoint.
57
+ */
58
+ readonly phase: string;
59
+ /**
60
+ * (Required String) The name of the endpoint that is currently active.
61
+ */
62
+ readonly target: string;
63
+ }
64
+ /**
65
+ * [![Preview](https://img.shields.io/badge/Lifecycle%20Stage-Preview-%2300afba)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
66
+ *
67
+ * > **Warning:** Switchover is a preview feature. Preview features are introduced to gather customer feedback and may change based on that feedback. They are intended for evaluation and non-production use only, and are not covered by Confluent SLAs. Preview features may be discontinued at any time.
68
+ *
69
+ * `confluentcloud.SwitchoverEndpoint` describes a switchover endpoint data source.
70
+ *
71
+ * ## Example Usage
72
+ *
73
+ * ```typescript
74
+ * import * as pulumi from "@pulumi/pulumi";
75
+ * import * as confluentcloud from "@pulumi/confluentcloud";
76
+ *
77
+ * const example = confluentcloud.getSwitchoverEndpoint({
78
+ * id: "se-abc123",
79
+ * environmentCrn: "crn://confluent.cloud/organization=org-abc/environment=env-abc123",
80
+ * });
81
+ * export const switchoverEndpoint = example;
82
+ * ```
83
+ */
84
+ export declare function getSwitchoverEndpointOutput(args: GetSwitchoverEndpointOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSwitchoverEndpointResult>;
85
+ /**
86
+ * A collection of arguments for invoking getSwitchoverEndpoint.
87
+ */
88
+ export interface GetSwitchoverEndpointOutputArgs {
89
+ /**
90
+ * The CRN of the environment that owns this switchover endpoint, for example, `crn://confluent.cloud/organization=org-abc/environment=env-abc123`.
91
+ */
92
+ environmentCrn: pulumi.Input<string>;
93
+ /**
94
+ * The ID of the switchover endpoint, for example, `se-abc123`.
95
+ */
96
+ id: pulumi.Input<string>;
97
+ }
98
+ //# sourceMappingURL=getSwitchoverEndpoint.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getSwitchoverEndpoint.d.ts","sourceRoot":"","sources":["../getSwitchoverEndpoint.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,yBAAyB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,2BAA2B,CAAC,CAMxI;AAED;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACtC;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;CACd;AAED;;GAEG;AACH,MAAM,WAAW,2BAA2B;IACxC;;OAEG;IACH,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC,6BAA6B,EAAE,CAAC;IAC5D,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;IAChC,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,iBAAiB,EAAE,MAAM,CAAC;IACnC;;OAEG;IACH,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;CAC3B;AACD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,+BAA+B,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,2BAA2B,CAAC,CAMhK;AAED;;GAEG;AACH,MAAM,WAAW,+BAA+B;IAC5C;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACrC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAC5B"}
@@ -0,0 +1,87 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
17
+ }) : function(o, v) {
18
+ o["default"] = v;
19
+ });
20
+ var __importStar = (this && this.__importStar) || function (mod) {
21
+ if (mod && mod.__esModule) return mod;
22
+ var result = {};
23
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
+ __setModuleDefault(result, mod);
25
+ return result;
26
+ };
27
+ Object.defineProperty(exports, "__esModule", { value: true });
28
+ exports.getSwitchoverEndpointOutput = exports.getSwitchoverEndpoint = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("./utilities"));
31
+ /**
32
+ * [![Preview](https://img.shields.io/badge/Lifecycle%20Stage-Preview-%2300afba)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
33
+ *
34
+ * > **Warning:** Switchover is a preview feature. Preview features are introduced to gather customer feedback and may change based on that feedback. They are intended for evaluation and non-production use only, and are not covered by Confluent SLAs. Preview features may be discontinued at any time.
35
+ *
36
+ * `confluentcloud.SwitchoverEndpoint` describes a switchover endpoint data source.
37
+ *
38
+ * ## Example Usage
39
+ *
40
+ * ```typescript
41
+ * import * as pulumi from "@pulumi/pulumi";
42
+ * import * as confluentcloud from "@pulumi/confluentcloud";
43
+ *
44
+ * const example = confluentcloud.getSwitchoverEndpoint({
45
+ * id: "se-abc123",
46
+ * environmentCrn: "crn://confluent.cloud/organization=org-abc/environment=env-abc123",
47
+ * });
48
+ * export const switchoverEndpoint = example;
49
+ * ```
50
+ */
51
+ function getSwitchoverEndpoint(args, opts) {
52
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
53
+ return pulumi.runtime.invoke("confluentcloud:index/getSwitchoverEndpoint:getSwitchoverEndpoint", {
54
+ "environmentCrn": args.environmentCrn,
55
+ "id": args.id,
56
+ }, opts);
57
+ }
58
+ exports.getSwitchoverEndpoint = getSwitchoverEndpoint;
59
+ /**
60
+ * [![Preview](https://img.shields.io/badge/Lifecycle%20Stage-Preview-%2300afba)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
61
+ *
62
+ * > **Warning:** Switchover is a preview feature. Preview features are introduced to gather customer feedback and may change based on that feedback. They are intended for evaluation and non-production use only, and are not covered by Confluent SLAs. Preview features may be discontinued at any time.
63
+ *
64
+ * `confluentcloud.SwitchoverEndpoint` describes a switchover endpoint data source.
65
+ *
66
+ * ## Example Usage
67
+ *
68
+ * ```typescript
69
+ * import * as pulumi from "@pulumi/pulumi";
70
+ * import * as confluentcloud from "@pulumi/confluentcloud";
71
+ *
72
+ * const example = confluentcloud.getSwitchoverEndpoint({
73
+ * id: "se-abc123",
74
+ * environmentCrn: "crn://confluent.cloud/organization=org-abc/environment=env-abc123",
75
+ * });
76
+ * export const switchoverEndpoint = example;
77
+ * ```
78
+ */
79
+ function getSwitchoverEndpointOutput(args, opts) {
80
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
81
+ return pulumi.runtime.invokeOutput("confluentcloud:index/getSwitchoverEndpoint:getSwitchoverEndpoint", {
82
+ "environmentCrn": args.environmentCrn,
83
+ "id": args.id,
84
+ }, opts);
85
+ }
86
+ exports.getSwitchoverEndpointOutput = getSwitchoverEndpointOutput;
87
+ //# sourceMappingURL=getSwitchoverEndpoint.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getSwitchoverEndpoint.js","sourceRoot":"","sources":["../getSwitchoverEndpoint.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAA2B;IAC9F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kEAAkE,EAAE;QAC7F,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,sDAMC;AA2CD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,2BAA2B,CAAC,IAAqC,EAAE,IAAiC;IAChH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,kEAAkE,EAAE;QACnG,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kEAMC"}
@@ -0,0 +1,60 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "./types/output";
3
+ /**
4
+ * [![Preview](https://img.shields.io/badge/Lifecycle%20Stage-Preview-%2300afba)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
5
+ *
6
+ * > **Warning:** Switchover is a preview feature. Preview features are introduced to gather customer feedback and may change based on that feedback. They are intended for evaluation and non-production use only, and are not covered by Confluent SLAs. Preview features may be discontinued at any time.
7
+ *
8
+ * `confluentcloud.getSwitchoverEndpoints` lists the switchover endpoints in an environment, optionally only those bound to one switchover pair.
9
+ */
10
+ export declare function getSwitchoverEndpoints(args: GetSwitchoverEndpointsArgs, opts?: pulumi.InvokeOptions): Promise<GetSwitchoverEndpointsResult>;
11
+ /**
12
+ * A collection of arguments for invoking getSwitchoverEndpoints.
13
+ */
14
+ export interface GetSwitchoverEndpointsArgs {
15
+ /**
16
+ * The CRN of the environment whose switchover endpoints to list, for example, `crn://confluent.cloud/organization=org-abc/environment=env-abc123`.
17
+ */
18
+ environmentCrn: string;
19
+ /**
20
+ * Only list endpoints bound to this switchover pair, for example, `sw-abc123`.
21
+ */
22
+ switchoverPairId?: string;
23
+ }
24
+ /**
25
+ * A collection of values returned by getSwitchoverEndpoints.
26
+ */
27
+ export interface GetSwitchoverEndpointsResult {
28
+ readonly environmentCrn: string;
29
+ /**
30
+ * The provider-assigned unique ID for this managed resource.
31
+ */
32
+ readonly id: string;
33
+ /**
34
+ * (Required List of Object) The matching switchover endpoints. Each object exports the same attributes as the `confluentcloud.SwitchoverEndpoint` data source:
35
+ */
36
+ readonly switchoverEndpoints: outputs.GetSwitchoverEndpointsSwitchoverEndpoint[];
37
+ readonly switchoverPairId?: string;
38
+ }
39
+ /**
40
+ * [![Preview](https://img.shields.io/badge/Lifecycle%20Stage-Preview-%2300afba)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
41
+ *
42
+ * > **Warning:** Switchover is a preview feature. Preview features are introduced to gather customer feedback and may change based on that feedback. They are intended for evaluation and non-production use only, and are not covered by Confluent SLAs. Preview features may be discontinued at any time.
43
+ *
44
+ * `confluentcloud.getSwitchoverEndpoints` lists the switchover endpoints in an environment, optionally only those bound to one switchover pair.
45
+ */
46
+ export declare function getSwitchoverEndpointsOutput(args: GetSwitchoverEndpointsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSwitchoverEndpointsResult>;
47
+ /**
48
+ * A collection of arguments for invoking getSwitchoverEndpoints.
49
+ */
50
+ export interface GetSwitchoverEndpointsOutputArgs {
51
+ /**
52
+ * The CRN of the environment whose switchover endpoints to list, for example, `crn://confluent.cloud/organization=org-abc/environment=env-abc123`.
53
+ */
54
+ environmentCrn: pulumi.Input<string>;
55
+ /**
56
+ * Only list endpoints bound to this switchover pair, for example, `sw-abc123`.
57
+ */
58
+ switchoverPairId?: pulumi.Input<string | undefined>;
59
+ }
60
+ //# sourceMappingURL=getSwitchoverEndpoints.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getSwitchoverEndpoints.d.ts","sourceRoot":"","sources":["../getSwitchoverEndpoints.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;GAMG;AACH,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,0BAA0B,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,4BAA4B,CAAC,CAM3I;AAED;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACvC;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED;;GAEG;AACH,MAAM,WAAW,4BAA4B;IACzC,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;IAChC;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,mBAAmB,EAAE,OAAO,CAAC,wCAAwC,EAAE,CAAC;IACjF,QAAQ,CAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC;CACtC;AACD;;;;;;GAMG;AACH,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,gCAAgC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,4BAA4B,CAAC,CAMnK;AAED;;GAEG;AACH,MAAM,WAAW,gCAAgC;IAC7C;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACrC;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CACvD"}
@@ -0,0 +1,61 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
17
+ }) : function(o, v) {
18
+ o["default"] = v;
19
+ });
20
+ var __importStar = (this && this.__importStar) || function (mod) {
21
+ if (mod && mod.__esModule) return mod;
22
+ var result = {};
23
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
+ __setModuleDefault(result, mod);
25
+ return result;
26
+ };
27
+ Object.defineProperty(exports, "__esModule", { value: true });
28
+ exports.getSwitchoverEndpointsOutput = exports.getSwitchoverEndpoints = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("./utilities"));
31
+ /**
32
+ * [![Preview](https://img.shields.io/badge/Lifecycle%20Stage-Preview-%2300afba)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
33
+ *
34
+ * > **Warning:** Switchover is a preview feature. Preview features are introduced to gather customer feedback and may change based on that feedback. They are intended for evaluation and non-production use only, and are not covered by Confluent SLAs. Preview features may be discontinued at any time.
35
+ *
36
+ * `confluentcloud.getSwitchoverEndpoints` lists the switchover endpoints in an environment, optionally only those bound to one switchover pair.
37
+ */
38
+ function getSwitchoverEndpoints(args, opts) {
39
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
40
+ return pulumi.runtime.invoke("confluentcloud:index/getSwitchoverEndpoints:getSwitchoverEndpoints", {
41
+ "environmentCrn": args.environmentCrn,
42
+ "switchoverPairId": args.switchoverPairId,
43
+ }, opts);
44
+ }
45
+ exports.getSwitchoverEndpoints = getSwitchoverEndpoints;
46
+ /**
47
+ * [![Preview](https://img.shields.io/badge/Lifecycle%20Stage-Preview-%2300afba)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
48
+ *
49
+ * > **Warning:** Switchover is a preview feature. Preview features are introduced to gather customer feedback and may change based on that feedback. They are intended for evaluation and non-production use only, and are not covered by Confluent SLAs. Preview features may be discontinued at any time.
50
+ *
51
+ * `confluentcloud.getSwitchoverEndpoints` lists the switchover endpoints in an environment, optionally only those bound to one switchover pair.
52
+ */
53
+ function getSwitchoverEndpointsOutput(args, opts) {
54
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
55
+ return pulumi.runtime.invokeOutput("confluentcloud:index/getSwitchoverEndpoints:getSwitchoverEndpoints", {
56
+ "environmentCrn": args.environmentCrn,
57
+ "switchoverPairId": args.switchoverPairId,
58
+ }, opts);
59
+ }
60
+ exports.getSwitchoverEndpointsOutput = getSwitchoverEndpointsOutput;
61
+ //# sourceMappingURL=getSwitchoverEndpoints.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getSwitchoverEndpoints.js","sourceRoot":"","sources":["../getSwitchoverEndpoints.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;GAMG;AACH,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAA2B;IAChG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oEAAoE,EAAE;QAC/F,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;KAC5C,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,wDAMC;AA+BD;;;;;;GAMG;AACH,SAAgB,4BAA4B,CAAC,IAAsC,EAAE,IAAiC;IAClH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,oEAAoE,EAAE;QACrG,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;KAC5C,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,oEAMC"}
@@ -0,0 +1,102 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "./types/output";
3
+ /**
4
+ * [![Preview](https://img.shields.io/badge/Lifecycle%20Stage-Preview-%2300afba)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
5
+ *
6
+ * > **Warning:** Switchover is a preview feature. Preview features are introduced to gather customer feedback and may change based on that feedback. They are intended for evaluation and non-production use only, and are not covered by Confluent SLAs. Preview features may be discontinued at any time.
7
+ *
8
+ * `confluentcloud.SwitchoverPair` describes a switchover pair data source.
9
+ *
10
+ * ## Example Usage
11
+ *
12
+ * ```typescript
13
+ * import * as pulumi from "@pulumi/pulumi";
14
+ * import * as confluentcloud from "@pulumi/confluentcloud";
15
+ *
16
+ * const example = confluentcloud.getSwitchoverPair({
17
+ * id: "sw-abc123",
18
+ * environmentCrn: "crn://confluent.cloud/organization=org-abc/environment=env-abc123",
19
+ * });
20
+ * export const switchoverPair = example;
21
+ * ```
22
+ */
23
+ export declare function getSwitchoverPair(args: GetSwitchoverPairArgs, opts?: pulumi.InvokeOptions): Promise<GetSwitchoverPairResult>;
24
+ /**
25
+ * A collection of arguments for invoking getSwitchoverPair.
26
+ */
27
+ export interface GetSwitchoverPairArgs {
28
+ /**
29
+ * The CRN of the environment that owns this switchover pair, for example, `crn://confluent.cloud/organization=org-abc/environment=env-abc123`.
30
+ */
31
+ environmentCrn: string;
32
+ /**
33
+ * The ID of the switchover pair, for example, `sw-abc123`.
34
+ */
35
+ id: string;
36
+ }
37
+ /**
38
+ * A collection of values returned by getSwitchoverPair.
39
+ */
40
+ export interface GetSwitchoverPairResult {
41
+ /**
42
+ * (Required String) The name of the member that is currently active.
43
+ */
44
+ readonly activeMember: string;
45
+ /**
46
+ * (Required String) A human-readable name for the switchover pair.
47
+ */
48
+ readonly displayName: string;
49
+ readonly environmentCrn: string;
50
+ /**
51
+ * (Required String) The failover semantics most recently applied to this pair.
52
+ */
53
+ readonly failoverType: string;
54
+ /**
55
+ * (Required String) The name of the member that was active when the pair was first created.
56
+ */
57
+ readonly firstActive: string;
58
+ readonly id: string;
59
+ /**
60
+ * (Required Configuration Block) The two clusters participating in this switchover pair. Each block exports the following:
61
+ */
62
+ readonly members: outputs.GetSwitchoverPairMember[];
63
+ /**
64
+ * (Required String) The lifecycle phase of the switchover pair.
65
+ */
66
+ readonly phase: string;
67
+ }
68
+ /**
69
+ * [![Preview](https://img.shields.io/badge/Lifecycle%20Stage-Preview-%2300afba)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
70
+ *
71
+ * > **Warning:** Switchover is a preview feature. Preview features are introduced to gather customer feedback and may change based on that feedback. They are intended for evaluation and non-production use only, and are not covered by Confluent SLAs. Preview features may be discontinued at any time.
72
+ *
73
+ * `confluentcloud.SwitchoverPair` describes a switchover pair data source.
74
+ *
75
+ * ## Example Usage
76
+ *
77
+ * ```typescript
78
+ * import * as pulumi from "@pulumi/pulumi";
79
+ * import * as confluentcloud from "@pulumi/confluentcloud";
80
+ *
81
+ * const example = confluentcloud.getSwitchoverPair({
82
+ * id: "sw-abc123",
83
+ * environmentCrn: "crn://confluent.cloud/organization=org-abc/environment=env-abc123",
84
+ * });
85
+ * export const switchoverPair = example;
86
+ * ```
87
+ */
88
+ export declare function getSwitchoverPairOutput(args: GetSwitchoverPairOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSwitchoverPairResult>;
89
+ /**
90
+ * A collection of arguments for invoking getSwitchoverPair.
91
+ */
92
+ export interface GetSwitchoverPairOutputArgs {
93
+ /**
94
+ * The CRN of the environment that owns this switchover pair, for example, `crn://confluent.cloud/organization=org-abc/environment=env-abc123`.
95
+ */
96
+ environmentCrn: pulumi.Input<string>;
97
+ /**
98
+ * The ID of the switchover pair, for example, `sw-abc123`.
99
+ */
100
+ id: pulumi.Input<string>;
101
+ }
102
+ //# sourceMappingURL=getSwitchoverPair.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getSwitchoverPair.d.ts","sourceRoot":"","sources":["../getSwitchoverPair.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,qBAAqB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,uBAAuB,CAAC,CAM5H;AAED;;GAEG;AACH,MAAM,WAAW,qBAAqB;IAClC;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;CACd;AAED;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACpC;;OAEG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B;;OAEG;IACH,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;IAChC;;OAEG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B;;OAEG;IACH,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC,uBAAuB,EAAE,CAAC;IACpD;;OAEG;IACH,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;CAC1B;AACD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,2BAA2B,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,uBAAuB,CAAC,CAMpJ;AAED;;GAEG;AACH,MAAM,WAAW,2BAA2B;IACxC;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACrC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAC5B"}
@@ -0,0 +1,87 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
17
+ }) : function(o, v) {
18
+ o["default"] = v;
19
+ });
20
+ var __importStar = (this && this.__importStar) || function (mod) {
21
+ if (mod && mod.__esModule) return mod;
22
+ var result = {};
23
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
+ __setModuleDefault(result, mod);
25
+ return result;
26
+ };
27
+ Object.defineProperty(exports, "__esModule", { value: true });
28
+ exports.getSwitchoverPairOutput = exports.getSwitchoverPair = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("./utilities"));
31
+ /**
32
+ * [![Preview](https://img.shields.io/badge/Lifecycle%20Stage-Preview-%2300afba)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
33
+ *
34
+ * > **Warning:** Switchover is a preview feature. Preview features are introduced to gather customer feedback and may change based on that feedback. They are intended for evaluation and non-production use only, and are not covered by Confluent SLAs. Preview features may be discontinued at any time.
35
+ *
36
+ * `confluentcloud.SwitchoverPair` describes a switchover pair data source.
37
+ *
38
+ * ## Example Usage
39
+ *
40
+ * ```typescript
41
+ * import * as pulumi from "@pulumi/pulumi";
42
+ * import * as confluentcloud from "@pulumi/confluentcloud";
43
+ *
44
+ * const example = confluentcloud.getSwitchoverPair({
45
+ * id: "sw-abc123",
46
+ * environmentCrn: "crn://confluent.cloud/organization=org-abc/environment=env-abc123",
47
+ * });
48
+ * export const switchoverPair = example;
49
+ * ```
50
+ */
51
+ function getSwitchoverPair(args, opts) {
52
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
53
+ return pulumi.runtime.invoke("confluentcloud:index/getSwitchoverPair:getSwitchoverPair", {
54
+ "environmentCrn": args.environmentCrn,
55
+ "id": args.id,
56
+ }, opts);
57
+ }
58
+ exports.getSwitchoverPair = getSwitchoverPair;
59
+ /**
60
+ * [![Preview](https://img.shields.io/badge/Lifecycle%20Stage-Preview-%2300afba)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
61
+ *
62
+ * > **Warning:** Switchover is a preview feature. Preview features are introduced to gather customer feedback and may change based on that feedback. They are intended for evaluation and non-production use only, and are not covered by Confluent SLAs. Preview features may be discontinued at any time.
63
+ *
64
+ * `confluentcloud.SwitchoverPair` describes a switchover pair data source.
65
+ *
66
+ * ## Example Usage
67
+ *
68
+ * ```typescript
69
+ * import * as pulumi from "@pulumi/pulumi";
70
+ * import * as confluentcloud from "@pulumi/confluentcloud";
71
+ *
72
+ * const example = confluentcloud.getSwitchoverPair({
73
+ * id: "sw-abc123",
74
+ * environmentCrn: "crn://confluent.cloud/organization=org-abc/environment=env-abc123",
75
+ * });
76
+ * export const switchoverPair = example;
77
+ * ```
78
+ */
79
+ function getSwitchoverPairOutput(args, opts) {
80
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
81
+ return pulumi.runtime.invokeOutput("confluentcloud:index/getSwitchoverPair:getSwitchoverPair", {
82
+ "environmentCrn": args.environmentCrn,
83
+ "id": args.id,
84
+ }, opts);
85
+ }
86
+ exports.getSwitchoverPairOutput = getSwitchoverPairOutput;
87
+ //# sourceMappingURL=getSwitchoverPair.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getSwitchoverPair.js","sourceRoot":"","sources":["../getSwitchoverPair.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IACtF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0DAA0D,EAAE;QACrF,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,8CAMC;AA+CD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,uBAAuB,CAAC,IAAiC,EAAE,IAAiC;IACxG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,0DAA0D,EAAE;QAC3F,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,0DAMC"}
@@ -0,0 +1,54 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "./types/output";
3
+ /**
4
+ * [![Preview](https://img.shields.io/badge/Lifecycle%20Stage-Preview-%2300afba)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
5
+ *
6
+ * > **Warning:** Switchover is a preview feature. Preview features are introduced to gather customer feedback and may change based on that feedback. They are intended for evaluation and non-production use only, and are not covered by Confluent SLAs. Preview features may be discontinued at any time.
7
+ *
8
+ * `confluentcloud.getSwitchoverPairs` lists every switchover pair in an environment. Use it to discover pairs without knowing their IDs — for example, to find the pair for a given cluster, or to see which pairs are currently failed over, from a configuration that did not create them.
9
+ */
10
+ export declare function getSwitchoverPairs(args: GetSwitchoverPairsArgs, opts?: pulumi.InvokeOptions): Promise<GetSwitchoverPairsResult>;
11
+ /**
12
+ * A collection of arguments for invoking getSwitchoverPairs.
13
+ */
14
+ export interface GetSwitchoverPairsArgs {
15
+ /**
16
+ * The CRN of the environment whose switchover pairs to list, for example, `crn://confluent.cloud/organization=org-abc/environment=env-abc123`.
17
+ */
18
+ environmentCrn: string;
19
+ }
20
+ /**
21
+ * A collection of values returned by getSwitchoverPairs.
22
+ */
23
+ export interface GetSwitchoverPairsResult {
24
+ /**
25
+ * (Required String) The CRN of the environment that owns the pair.
26
+ */
27
+ readonly environmentCrn: string;
28
+ /**
29
+ * The provider-assigned unique ID for this managed resource.
30
+ */
31
+ readonly id: string;
32
+ /**
33
+ * (Required List of Object) The switchover pairs in the environment. Each object exports the same attributes as the `confluentcloud.SwitchoverPair` data source:
34
+ */
35
+ readonly switchoverPairs: outputs.GetSwitchoverPairsSwitchoverPair[];
36
+ }
37
+ /**
38
+ * [![Preview](https://img.shields.io/badge/Lifecycle%20Stage-Preview-%2300afba)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
39
+ *
40
+ * > **Warning:** Switchover is a preview feature. Preview features are introduced to gather customer feedback and may change based on that feedback. They are intended for evaluation and non-production use only, and are not covered by Confluent SLAs. Preview features may be discontinued at any time.
41
+ *
42
+ * `confluentcloud.getSwitchoverPairs` lists every switchover pair in an environment. Use it to discover pairs without knowing their IDs — for example, to find the pair for a given cluster, or to see which pairs are currently failed over, from a configuration that did not create them.
43
+ */
44
+ export declare function getSwitchoverPairsOutput(args: GetSwitchoverPairsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSwitchoverPairsResult>;
45
+ /**
46
+ * A collection of arguments for invoking getSwitchoverPairs.
47
+ */
48
+ export interface GetSwitchoverPairsOutputArgs {
49
+ /**
50
+ * The CRN of the environment whose switchover pairs to list, for example, `crn://confluent.cloud/organization=org-abc/environment=env-abc123`.
51
+ */
52
+ environmentCrn: pulumi.Input<string>;
53
+ }
54
+ //# sourceMappingURL=getSwitchoverPairs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getSwitchoverPairs.d.ts","sourceRoot":"","sources":["../getSwitchoverPairs.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;GAMG;AACH,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,sBAAsB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,wBAAwB,CAAC,CAK/H;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACnC;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;CAC1B;AAED;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACrC;;OAEG;IACH,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;IAChC;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,eAAe,EAAE,OAAO,CAAC,gCAAgC,EAAE,CAAC;CACxE;AACD;;;;;;GAMG;AACH,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,4BAA4B,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,wBAAwB,CAAC,CAKvJ;AAED;;GAEG;AACH,MAAM,WAAW,4BAA4B;IACzC;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CACxC"}
@@ -0,0 +1,59 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
17
+ }) : function(o, v) {
18
+ o["default"] = v;
19
+ });
20
+ var __importStar = (this && this.__importStar) || function (mod) {
21
+ if (mod && mod.__esModule) return mod;
22
+ var result = {};
23
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
+ __setModuleDefault(result, mod);
25
+ return result;
26
+ };
27
+ Object.defineProperty(exports, "__esModule", { value: true });
28
+ exports.getSwitchoverPairsOutput = exports.getSwitchoverPairs = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("./utilities"));
31
+ /**
32
+ * [![Preview](https://img.shields.io/badge/Lifecycle%20Stage-Preview-%2300afba)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
33
+ *
34
+ * > **Warning:** Switchover is a preview feature. Preview features are introduced to gather customer feedback and may change based on that feedback. They are intended for evaluation and non-production use only, and are not covered by Confluent SLAs. Preview features may be discontinued at any time.
35
+ *
36
+ * `confluentcloud.getSwitchoverPairs` lists every switchover pair in an environment. Use it to discover pairs without knowing their IDs — for example, to find the pair for a given cluster, or to see which pairs are currently failed over, from a configuration that did not create them.
37
+ */
38
+ function getSwitchoverPairs(args, opts) {
39
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
40
+ return pulumi.runtime.invoke("confluentcloud:index/getSwitchoverPairs:getSwitchoverPairs", {
41
+ "environmentCrn": args.environmentCrn,
42
+ }, opts);
43
+ }
44
+ exports.getSwitchoverPairs = getSwitchoverPairs;
45
+ /**
46
+ * [![Preview](https://img.shields.io/badge/Lifecycle%20Stage-Preview-%2300afba)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
47
+ *
48
+ * > **Warning:** Switchover is a preview feature. Preview features are introduced to gather customer feedback and may change based on that feedback. They are intended for evaluation and non-production use only, and are not covered by Confluent SLAs. Preview features may be discontinued at any time.
49
+ *
50
+ * `confluentcloud.getSwitchoverPairs` lists every switchover pair in an environment. Use it to discover pairs without knowing their IDs — for example, to find the pair for a given cluster, or to see which pairs are currently failed over, from a configuration that did not create them.
51
+ */
52
+ function getSwitchoverPairsOutput(args, opts) {
53
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
54
+ return pulumi.runtime.invokeOutput("confluentcloud:index/getSwitchoverPairs:getSwitchoverPairs", {
55
+ "environmentCrn": args.environmentCrn,
56
+ }, opts);
57
+ }
58
+ exports.getSwitchoverPairsOutput = getSwitchoverPairsOutput;
59
+ //# sourceMappingURL=getSwitchoverPairs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getSwitchoverPairs.js","sourceRoot":"","sources":["../getSwitchoverPairs.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;GAMG;AACH,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAA2B;IACxF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4DAA4D,EAAE;QACvF,gBAAgB,EAAE,IAAI,CAAC,cAAc;KACxC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,gDAKC;AA6BD;;;;;;GAMG;AACH,SAAgB,wBAAwB,CAAC,IAAkC,EAAE,IAAiC;IAC1G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,4DAA4D,EAAE;QAC7F,gBAAgB,EAAE,IAAI,CAAC,cAAc;KACxC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,4DAKC"}