@pulumi/confluentcloud 2.47.0-alpha.1760420152 → 2.47.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.
- package/getProviderIntegrationAuthorization.d.ts +56 -0
- package/getProviderIntegrationAuthorization.js +24 -0
- package/getProviderIntegrationAuthorization.js.map +1 -0
- package/getProviderIntegrationSetup.d.ts +196 -0
- package/getProviderIntegrationSetup.js +154 -0
- package/getProviderIntegrationSetup.js.map +1 -0
- package/index.d.ts +12 -0
- package/index.js +19 -3
- package/index.js.map +1 -1
- package/package.json +2 -2
- package/providerIntegrationAuthorization.d.ts +101 -0
- package/providerIntegrationAuthorization.js +76 -0
- package/providerIntegrationAuthorization.js.map +1 -0
- package/providerIntegrationSetup.d.ts +169 -0
- package/providerIntegrationSetup.js +145 -0
- package/providerIntegrationSetup.js.map +1 -0
- package/types/input.d.ts +58 -0
- package/types/output.d.ts +66 -0
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
export declare function getProviderIntegrationAuthorization(args: GetProviderIntegrationAuthorizationArgs, opts?: pulumi.InvokeOptions): Promise<GetProviderIntegrationAuthorizationResult>;
|
|
5
|
+
/**
|
|
6
|
+
* A collection of arguments for invoking getProviderIntegrationAuthorization.
|
|
7
|
+
*/
|
|
8
|
+
export interface GetProviderIntegrationAuthorizationArgs {
|
|
9
|
+
/**
|
|
10
|
+
* (Required Configuration Block) supports the following:
|
|
11
|
+
*/
|
|
12
|
+
environment: inputs.GetProviderIntegrationAuthorizationEnvironment;
|
|
13
|
+
/**
|
|
14
|
+
* The ID of the Provider Integration Authorization, for example, `cspi-4xg0q`.
|
|
15
|
+
*/
|
|
16
|
+
id: string;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* A collection of values returned by getProviderIntegrationAuthorization.
|
|
20
|
+
*/
|
|
21
|
+
export interface GetProviderIntegrationAuthorizationResult {
|
|
22
|
+
/**
|
|
23
|
+
* (Optional Configuration Block) Azure-specific configuration details. Present for Azure integrations. It supports the following:
|
|
24
|
+
*/
|
|
25
|
+
readonly azures: outputs.GetProviderIntegrationAuthorizationAzure[];
|
|
26
|
+
/**
|
|
27
|
+
* (Required Configuration Block) supports the following:
|
|
28
|
+
*/
|
|
29
|
+
readonly environment: outputs.GetProviderIntegrationAuthorizationEnvironment;
|
|
30
|
+
/**
|
|
31
|
+
* (Optional Configuration Block) GCP-specific configuration details. Present for GCP integrations. It supports the following:
|
|
32
|
+
*/
|
|
33
|
+
readonly gcps: outputs.GetProviderIntegrationAuthorizationGcp[];
|
|
34
|
+
/**
|
|
35
|
+
* (Required String) The ID of the Environment that the Provider Integration belongs to, for example, `env-abc123`.
|
|
36
|
+
*/
|
|
37
|
+
readonly id: string;
|
|
38
|
+
/**
|
|
39
|
+
* (Required String) The ID of the provider integration.
|
|
40
|
+
*/
|
|
41
|
+
readonly providerIntegrationId: string;
|
|
42
|
+
}
|
|
43
|
+
export declare function getProviderIntegrationAuthorizationOutput(args: GetProviderIntegrationAuthorizationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetProviderIntegrationAuthorizationResult>;
|
|
44
|
+
/**
|
|
45
|
+
* A collection of arguments for invoking getProviderIntegrationAuthorization.
|
|
46
|
+
*/
|
|
47
|
+
export interface GetProviderIntegrationAuthorizationOutputArgs {
|
|
48
|
+
/**
|
|
49
|
+
* (Required Configuration Block) supports the following:
|
|
50
|
+
*/
|
|
51
|
+
environment: pulumi.Input<inputs.GetProviderIntegrationAuthorizationEnvironmentArgs>;
|
|
52
|
+
/**
|
|
53
|
+
* The ID of the Provider Integration Authorization, for example, `cspi-4xg0q`.
|
|
54
|
+
*/
|
|
55
|
+
id: pulumi.Input<string>;
|
|
56
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getProviderIntegrationAuthorizationOutput = exports.getProviderIntegrationAuthorization = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
function getProviderIntegrationAuthorization(args, opts) {
|
|
9
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
10
|
+
return pulumi.runtime.invoke("confluentcloud:index/getProviderIntegrationAuthorization:getProviderIntegrationAuthorization", {
|
|
11
|
+
"environment": args.environment,
|
|
12
|
+
"id": args.id,
|
|
13
|
+
}, opts);
|
|
14
|
+
}
|
|
15
|
+
exports.getProviderIntegrationAuthorization = getProviderIntegrationAuthorization;
|
|
16
|
+
function getProviderIntegrationAuthorizationOutput(args, opts) {
|
|
17
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
18
|
+
return pulumi.runtime.invokeOutput("confluentcloud:index/getProviderIntegrationAuthorization:getProviderIntegrationAuthorization", {
|
|
19
|
+
"environment": args.environment,
|
|
20
|
+
"id": args.id,
|
|
21
|
+
}, opts);
|
|
22
|
+
}
|
|
23
|
+
exports.getProviderIntegrationAuthorizationOutput = getProviderIntegrationAuthorizationOutput;
|
|
24
|
+
//# sourceMappingURL=getProviderIntegrationAuthorization.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getProviderIntegrationAuthorization.js","sourceRoot":"","sources":["../getProviderIntegrationAuthorization.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,SAAgB,mCAAmC,CAAC,IAA6C,EAAE,IAA2B;IAC1H,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8FAA8F,EAAE;QACzH,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kFAMC;AAyCD,SAAgB,yCAAyC,CAAC,IAAmD,EAAE,IAAiC;IAC5I,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,8FAA8F,EAAE;QAC/H,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,8FAMC"}
|
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* [](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
|
|
6
|
+
*
|
|
7
|
+
* `confluentcloud.ProviderIntegrationSetup` describes a Cloud Service Provider (CSP) integration that allows Confluent Cloud to access resources in your cloud provider account.
|
|
8
|
+
*
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* ### Azure Provider Integration
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
16
|
+
*
|
|
17
|
+
* const azure = confluentcloud.getProviderIntegrationSetup({
|
|
18
|
+
* id: "cspi-abc123",
|
|
19
|
+
* environment: {
|
|
20
|
+
* id: "env-xyz456",
|
|
21
|
+
* },
|
|
22
|
+
* });
|
|
23
|
+
* export const azureIntegrationStatus = azure.then(azure => azure.status);
|
|
24
|
+
* ```
|
|
25
|
+
*
|
|
26
|
+
* ### GCP Provider Integration
|
|
27
|
+
*
|
|
28
|
+
* ```typescript
|
|
29
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
30
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
31
|
+
*
|
|
32
|
+
* const gcp = confluentcloud.getProviderIntegrationSetup({
|
|
33
|
+
* displayName: "my-gcp-integration",
|
|
34
|
+
* environment: {
|
|
35
|
+
* id: "env-xyz456",
|
|
36
|
+
* },
|
|
37
|
+
* });
|
|
38
|
+
* export const gcpIntegrationId = gcp.then(gcp => gcp.id);
|
|
39
|
+
* ```
|
|
40
|
+
*
|
|
41
|
+
* ### Using with Authorization Resource
|
|
42
|
+
*
|
|
43
|
+
* ```typescript
|
|
44
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
45
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
46
|
+
*
|
|
47
|
+
* const main = confluentcloud.getProviderIntegrationSetup({
|
|
48
|
+
* id: "cspi-abc123",
|
|
49
|
+
* environment: {
|
|
50
|
+
* id: "env-xyz456",
|
|
51
|
+
* },
|
|
52
|
+
* });
|
|
53
|
+
* // Use the integration with authorization data source
|
|
54
|
+
* const mainGetProviderIntegrationAuthorization = main.then(main => confluentcloud.getProviderIntegrationAuthorization({
|
|
55
|
+
* id: main.id,
|
|
56
|
+
* environment: {
|
|
57
|
+
* id: "env-xyz456",
|
|
58
|
+
* },
|
|
59
|
+
* }));
|
|
60
|
+
* ```
|
|
61
|
+
*
|
|
62
|
+
* ## Getting Started
|
|
63
|
+
*
|
|
64
|
+
* The following end-to-end examples might help to get started with `confluentcloud.ProviderIntegrationSetup` data source:
|
|
65
|
+
* * provider-integration-azure: Complete Azure Provider Integration setup
|
|
66
|
+
* * provider-integration-gcp: Complete GCP Provider Integration setup
|
|
67
|
+
*/
|
|
68
|
+
export declare function getProviderIntegrationSetup(args: GetProviderIntegrationSetupArgs, opts?: pulumi.InvokeOptions): Promise<GetProviderIntegrationSetupResult>;
|
|
69
|
+
/**
|
|
70
|
+
* A collection of arguments for invoking getProviderIntegrationSetup.
|
|
71
|
+
*/
|
|
72
|
+
export interface GetProviderIntegrationSetupArgs {
|
|
73
|
+
/**
|
|
74
|
+
* The display name of the Provider Integration. Exactly one of `id` or `displayName` must be specified.
|
|
75
|
+
*/
|
|
76
|
+
displayName?: string;
|
|
77
|
+
/**
|
|
78
|
+
* (Required Configuration Block) supports the following:
|
|
79
|
+
*/
|
|
80
|
+
environment: inputs.GetProviderIntegrationSetupEnvironment;
|
|
81
|
+
/**
|
|
82
|
+
* The ID of the Provider Integration, for example, `cspi-4xg0q`. Exactly one of `id` or `displayName` must be specified.
|
|
83
|
+
*/
|
|
84
|
+
id?: string;
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* A collection of values returned by getProviderIntegrationSetup.
|
|
88
|
+
*/
|
|
89
|
+
export interface GetProviderIntegrationSetupResult {
|
|
90
|
+
/**
|
|
91
|
+
* (Computed String) The cloud service provider. Values are `AZURE` and `GCP`.
|
|
92
|
+
*/
|
|
93
|
+
readonly cloud: string;
|
|
94
|
+
/**
|
|
95
|
+
* (Required String) The display name of the Provider Integration.
|
|
96
|
+
*/
|
|
97
|
+
readonly displayName: string;
|
|
98
|
+
/**
|
|
99
|
+
* (Required Configuration Block) supports the following:
|
|
100
|
+
*/
|
|
101
|
+
readonly environment: outputs.GetProviderIntegrationSetupEnvironment;
|
|
102
|
+
/**
|
|
103
|
+
* (Required String) The ID of the Environment that the Provider Integration belongs to, for example, `env-abc123`.
|
|
104
|
+
*/
|
|
105
|
+
readonly id: string;
|
|
106
|
+
/**
|
|
107
|
+
* (Required String) The status of the Provider Integration. Values are `DRAFT` and `CREATED`.
|
|
108
|
+
*/
|
|
109
|
+
readonly status: string;
|
|
110
|
+
/**
|
|
111
|
+
* (Required List of Strings) List of resource CRNs where this provider integration is being used.
|
|
112
|
+
*/
|
|
113
|
+
readonly usages: string[];
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* [](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
|
|
117
|
+
*
|
|
118
|
+
* `confluentcloud.ProviderIntegrationSetup` describes a Cloud Service Provider (CSP) integration that allows Confluent Cloud to access resources in your cloud provider account.
|
|
119
|
+
*
|
|
120
|
+
* ## Example Usage
|
|
121
|
+
*
|
|
122
|
+
* ### Azure Provider Integration
|
|
123
|
+
*
|
|
124
|
+
* ```typescript
|
|
125
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
126
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
127
|
+
*
|
|
128
|
+
* const azure = confluentcloud.getProviderIntegrationSetup({
|
|
129
|
+
* id: "cspi-abc123",
|
|
130
|
+
* environment: {
|
|
131
|
+
* id: "env-xyz456",
|
|
132
|
+
* },
|
|
133
|
+
* });
|
|
134
|
+
* export const azureIntegrationStatus = azure.then(azure => azure.status);
|
|
135
|
+
* ```
|
|
136
|
+
*
|
|
137
|
+
* ### GCP Provider Integration
|
|
138
|
+
*
|
|
139
|
+
* ```typescript
|
|
140
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
141
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
142
|
+
*
|
|
143
|
+
* const gcp = confluentcloud.getProviderIntegrationSetup({
|
|
144
|
+
* displayName: "my-gcp-integration",
|
|
145
|
+
* environment: {
|
|
146
|
+
* id: "env-xyz456",
|
|
147
|
+
* },
|
|
148
|
+
* });
|
|
149
|
+
* export const gcpIntegrationId = gcp.then(gcp => gcp.id);
|
|
150
|
+
* ```
|
|
151
|
+
*
|
|
152
|
+
* ### Using with Authorization Resource
|
|
153
|
+
*
|
|
154
|
+
* ```typescript
|
|
155
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
156
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
157
|
+
*
|
|
158
|
+
* const main = confluentcloud.getProviderIntegrationSetup({
|
|
159
|
+
* id: "cspi-abc123",
|
|
160
|
+
* environment: {
|
|
161
|
+
* id: "env-xyz456",
|
|
162
|
+
* },
|
|
163
|
+
* });
|
|
164
|
+
* // Use the integration with authorization data source
|
|
165
|
+
* const mainGetProviderIntegrationAuthorization = main.then(main => confluentcloud.getProviderIntegrationAuthorization({
|
|
166
|
+
* id: main.id,
|
|
167
|
+
* environment: {
|
|
168
|
+
* id: "env-xyz456",
|
|
169
|
+
* },
|
|
170
|
+
* }));
|
|
171
|
+
* ```
|
|
172
|
+
*
|
|
173
|
+
* ## Getting Started
|
|
174
|
+
*
|
|
175
|
+
* The following end-to-end examples might help to get started with `confluentcloud.ProviderIntegrationSetup` data source:
|
|
176
|
+
* * provider-integration-azure: Complete Azure Provider Integration setup
|
|
177
|
+
* * provider-integration-gcp: Complete GCP Provider Integration setup
|
|
178
|
+
*/
|
|
179
|
+
export declare function getProviderIntegrationSetupOutput(args: GetProviderIntegrationSetupOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetProviderIntegrationSetupResult>;
|
|
180
|
+
/**
|
|
181
|
+
* A collection of arguments for invoking getProviderIntegrationSetup.
|
|
182
|
+
*/
|
|
183
|
+
export interface GetProviderIntegrationSetupOutputArgs {
|
|
184
|
+
/**
|
|
185
|
+
* The display name of the Provider Integration. Exactly one of `id` or `displayName` must be specified.
|
|
186
|
+
*/
|
|
187
|
+
displayName?: pulumi.Input<string>;
|
|
188
|
+
/**
|
|
189
|
+
* (Required Configuration Block) supports the following:
|
|
190
|
+
*/
|
|
191
|
+
environment: pulumi.Input<inputs.GetProviderIntegrationSetupEnvironmentArgs>;
|
|
192
|
+
/**
|
|
193
|
+
* The ID of the Provider Integration, for example, `cspi-4xg0q`. Exactly one of `id` or `displayName` must be specified.
|
|
194
|
+
*/
|
|
195
|
+
id?: pulumi.Input<string>;
|
|
196
|
+
}
|
|
@@ -0,0 +1,154 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getProviderIntegrationSetupOutput = exports.getProviderIntegrationSetup = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* [](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
|
|
10
|
+
*
|
|
11
|
+
* `confluentcloud.ProviderIntegrationSetup` describes a Cloud Service Provider (CSP) integration that allows Confluent Cloud to access resources in your cloud provider account.
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* ### Azure Provider Integration
|
|
16
|
+
*
|
|
17
|
+
* ```typescript
|
|
18
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
19
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
20
|
+
*
|
|
21
|
+
* const azure = confluentcloud.getProviderIntegrationSetup({
|
|
22
|
+
* id: "cspi-abc123",
|
|
23
|
+
* environment: {
|
|
24
|
+
* id: "env-xyz456",
|
|
25
|
+
* },
|
|
26
|
+
* });
|
|
27
|
+
* export const azureIntegrationStatus = azure.then(azure => azure.status);
|
|
28
|
+
* ```
|
|
29
|
+
*
|
|
30
|
+
* ### GCP Provider Integration
|
|
31
|
+
*
|
|
32
|
+
* ```typescript
|
|
33
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
34
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
35
|
+
*
|
|
36
|
+
* const gcp = confluentcloud.getProviderIntegrationSetup({
|
|
37
|
+
* displayName: "my-gcp-integration",
|
|
38
|
+
* environment: {
|
|
39
|
+
* id: "env-xyz456",
|
|
40
|
+
* },
|
|
41
|
+
* });
|
|
42
|
+
* export const gcpIntegrationId = gcp.then(gcp => gcp.id);
|
|
43
|
+
* ```
|
|
44
|
+
*
|
|
45
|
+
* ### Using with Authorization Resource
|
|
46
|
+
*
|
|
47
|
+
* ```typescript
|
|
48
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
49
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
50
|
+
*
|
|
51
|
+
* const main = confluentcloud.getProviderIntegrationSetup({
|
|
52
|
+
* id: "cspi-abc123",
|
|
53
|
+
* environment: {
|
|
54
|
+
* id: "env-xyz456",
|
|
55
|
+
* },
|
|
56
|
+
* });
|
|
57
|
+
* // Use the integration with authorization data source
|
|
58
|
+
* const mainGetProviderIntegrationAuthorization = main.then(main => confluentcloud.getProviderIntegrationAuthorization({
|
|
59
|
+
* id: main.id,
|
|
60
|
+
* environment: {
|
|
61
|
+
* id: "env-xyz456",
|
|
62
|
+
* },
|
|
63
|
+
* }));
|
|
64
|
+
* ```
|
|
65
|
+
*
|
|
66
|
+
* ## Getting Started
|
|
67
|
+
*
|
|
68
|
+
* The following end-to-end examples might help to get started with `confluentcloud.ProviderIntegrationSetup` data source:
|
|
69
|
+
* * provider-integration-azure: Complete Azure Provider Integration setup
|
|
70
|
+
* * provider-integration-gcp: Complete GCP Provider Integration setup
|
|
71
|
+
*/
|
|
72
|
+
function getProviderIntegrationSetup(args, opts) {
|
|
73
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
74
|
+
return pulumi.runtime.invoke("confluentcloud:index/getProviderIntegrationSetup:getProviderIntegrationSetup", {
|
|
75
|
+
"displayName": args.displayName,
|
|
76
|
+
"environment": args.environment,
|
|
77
|
+
"id": args.id,
|
|
78
|
+
}, opts);
|
|
79
|
+
}
|
|
80
|
+
exports.getProviderIntegrationSetup = getProviderIntegrationSetup;
|
|
81
|
+
/**
|
|
82
|
+
* [](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
|
|
83
|
+
*
|
|
84
|
+
* `confluentcloud.ProviderIntegrationSetup` describes a Cloud Service Provider (CSP) integration that allows Confluent Cloud to access resources in your cloud provider account.
|
|
85
|
+
*
|
|
86
|
+
* ## Example Usage
|
|
87
|
+
*
|
|
88
|
+
* ### Azure Provider Integration
|
|
89
|
+
*
|
|
90
|
+
* ```typescript
|
|
91
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
92
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
93
|
+
*
|
|
94
|
+
* const azure = confluentcloud.getProviderIntegrationSetup({
|
|
95
|
+
* id: "cspi-abc123",
|
|
96
|
+
* environment: {
|
|
97
|
+
* id: "env-xyz456",
|
|
98
|
+
* },
|
|
99
|
+
* });
|
|
100
|
+
* export const azureIntegrationStatus = azure.then(azure => azure.status);
|
|
101
|
+
* ```
|
|
102
|
+
*
|
|
103
|
+
* ### GCP Provider Integration
|
|
104
|
+
*
|
|
105
|
+
* ```typescript
|
|
106
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
107
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
108
|
+
*
|
|
109
|
+
* const gcp = confluentcloud.getProviderIntegrationSetup({
|
|
110
|
+
* displayName: "my-gcp-integration",
|
|
111
|
+
* environment: {
|
|
112
|
+
* id: "env-xyz456",
|
|
113
|
+
* },
|
|
114
|
+
* });
|
|
115
|
+
* export const gcpIntegrationId = gcp.then(gcp => gcp.id);
|
|
116
|
+
* ```
|
|
117
|
+
*
|
|
118
|
+
* ### Using with Authorization Resource
|
|
119
|
+
*
|
|
120
|
+
* ```typescript
|
|
121
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
122
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
123
|
+
*
|
|
124
|
+
* const main = confluentcloud.getProviderIntegrationSetup({
|
|
125
|
+
* id: "cspi-abc123",
|
|
126
|
+
* environment: {
|
|
127
|
+
* id: "env-xyz456",
|
|
128
|
+
* },
|
|
129
|
+
* });
|
|
130
|
+
* // Use the integration with authorization data source
|
|
131
|
+
* const mainGetProviderIntegrationAuthorization = main.then(main => confluentcloud.getProviderIntegrationAuthorization({
|
|
132
|
+
* id: main.id,
|
|
133
|
+
* environment: {
|
|
134
|
+
* id: "env-xyz456",
|
|
135
|
+
* },
|
|
136
|
+
* }));
|
|
137
|
+
* ```
|
|
138
|
+
*
|
|
139
|
+
* ## Getting Started
|
|
140
|
+
*
|
|
141
|
+
* The following end-to-end examples might help to get started with `confluentcloud.ProviderIntegrationSetup` data source:
|
|
142
|
+
* * provider-integration-azure: Complete Azure Provider Integration setup
|
|
143
|
+
* * provider-integration-gcp: Complete GCP Provider Integration setup
|
|
144
|
+
*/
|
|
145
|
+
function getProviderIntegrationSetupOutput(args, opts) {
|
|
146
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
147
|
+
return pulumi.runtime.invokeOutput("confluentcloud:index/getProviderIntegrationSetup:getProviderIntegrationSetup", {
|
|
148
|
+
"displayName": args.displayName,
|
|
149
|
+
"environment": args.environment,
|
|
150
|
+
"id": args.id,
|
|
151
|
+
}, opts);
|
|
152
|
+
}
|
|
153
|
+
exports.getProviderIntegrationSetupOutput = getProviderIntegrationSetupOutput;
|
|
154
|
+
//# sourceMappingURL=getProviderIntegrationSetup.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getProviderIntegrationSetup.js","sourceRoot":"","sources":["../getProviderIntegrationSetup.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+DG;AACH,SAAgB,2BAA2B,CAAC,IAAqC,EAAE,IAA2B;IAC1G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8EAA8E,EAAE;QACzG,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;AAPD,kEAOC;AAiDD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+DG;AACH,SAAgB,iCAAiC,CAAC,IAA2C,EAAE,IAAiC;IAC5H,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,8EAA8E,EAAE;QAC/G,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;AAPD,8EAOC"}
|
package/index.d.ts
CHANGED
|
@@ -175,6 +175,12 @@ export declare const getPrivateLinkAttachmentConnectionOutput: typeof import("./
|
|
|
175
175
|
export { GetProviderIntegrationArgs, GetProviderIntegrationResult, GetProviderIntegrationOutputArgs } from "./getProviderIntegration";
|
|
176
176
|
export declare const getProviderIntegration: typeof import("./getProviderIntegration").getProviderIntegration;
|
|
177
177
|
export declare const getProviderIntegrationOutput: typeof import("./getProviderIntegration").getProviderIntegrationOutput;
|
|
178
|
+
export { GetProviderIntegrationAuthorizationArgs, GetProviderIntegrationAuthorizationResult, GetProviderIntegrationAuthorizationOutputArgs } from "./getProviderIntegrationAuthorization";
|
|
179
|
+
export declare const getProviderIntegrationAuthorization: typeof import("./getProviderIntegrationAuthorization").getProviderIntegrationAuthorization;
|
|
180
|
+
export declare const getProviderIntegrationAuthorizationOutput: typeof import("./getProviderIntegrationAuthorization").getProviderIntegrationAuthorizationOutput;
|
|
181
|
+
export { GetProviderIntegrationSetupArgs, GetProviderIntegrationSetupResult, GetProviderIntegrationSetupOutputArgs } from "./getProviderIntegrationSetup";
|
|
182
|
+
export declare const getProviderIntegrationSetup: typeof import("./getProviderIntegrationSetup").getProviderIntegrationSetup;
|
|
183
|
+
export declare const getProviderIntegrationSetupOutput: typeof import("./getProviderIntegrationSetup").getProviderIntegrationSetupOutput;
|
|
178
184
|
export { GetRoleBindingArgs, GetRoleBindingResult, GetRoleBindingOutputArgs } from "./getRoleBinding";
|
|
179
185
|
export declare const getRoleBinding: typeof import("./getRoleBinding").getRoleBinding;
|
|
180
186
|
export declare const getRoleBindingOutput: typeof import("./getRoleBinding").getRoleBindingOutput;
|
|
@@ -296,6 +302,12 @@ export * from "./provider";
|
|
|
296
302
|
export { ProviderIntegrationArgs, ProviderIntegrationState } from "./providerIntegration";
|
|
297
303
|
export type ProviderIntegration = import("./providerIntegration").ProviderIntegration;
|
|
298
304
|
export declare const ProviderIntegration: typeof import("./providerIntegration").ProviderIntegration;
|
|
305
|
+
export { ProviderIntegrationAuthorizationArgs, ProviderIntegrationAuthorizationState } from "./providerIntegrationAuthorization";
|
|
306
|
+
export type ProviderIntegrationAuthorization = import("./providerIntegrationAuthorization").ProviderIntegrationAuthorization;
|
|
307
|
+
export declare const ProviderIntegrationAuthorization: typeof import("./providerIntegrationAuthorization").ProviderIntegrationAuthorization;
|
|
308
|
+
export { ProviderIntegrationSetupArgs, ProviderIntegrationSetupState } from "./providerIntegrationSetup";
|
|
309
|
+
export type ProviderIntegrationSetup = import("./providerIntegrationSetup").ProviderIntegrationSetup;
|
|
310
|
+
export declare const ProviderIntegrationSetup: typeof import("./providerIntegrationSetup").ProviderIntegrationSetup;
|
|
299
311
|
export { RoleBindingArgs, RoleBindingState } from "./roleBinding";
|
|
300
312
|
export type RoleBinding = import("./roleBinding").RoleBinding;
|
|
301
313
|
export declare const RoleBinding: typeof import("./roleBinding").RoleBinding;
|
package/index.js
CHANGED
|
@@ -17,9 +17,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
17
17
|
};
|
|
18
18
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
19
|
exports.getFlinkComputePoolOutput = exports.getFlinkComputePool = exports.getFlinkArtifactOutput = exports.getFlinkArtifact = exports.getEnvironmentsOutput = exports.getEnvironments = exports.getEnvironmentOutput = exports.getEnvironment = exports.getDnsRecordOutput = exports.getDnsRecord = exports.getConnectArtifactOutput = exports.getConnectArtifact = exports.getClusterLinkOutput = exports.getClusterLink = exports.getCertificatePoolOutput = exports.getCertificatePool = exports.getCertificateAuthorityOutput = exports.getCertificateAuthority = exports.getCatalogIntegrationOutput = exports.getCatalogIntegration = exports.getByokKeyOutput = exports.getByokKey = exports.getBusinessMetadataBindingOutput = exports.getBusinessMetadataBinding = exports.getBusinessMetadataOutput = exports.getBusinessMetadata = exports.getAccessPointOutput = exports.getAccessPoint = exports.Gateway = exports.FlinkStatement = exports.FlinkConnection = exports.FlinkComputePool = exports.FlinkArtifact = exports.Environment = exports.DnsRecord = exports.DnsForwarder = exports.CustomConnectorPluginVersion = exports.CustomConnectorPlugin = exports.Connector = exports.ConnectArtifact = exports.ClusterLink = exports.CertificatePool = exports.CertificateAuthority = exports.CatalogIntegration = exports.CatalogEntityAttributes = exports.ByokKey = exports.BusinessMetadataBinding = exports.BusinessMetadata = exports.ApiKey = exports.AccessPoint = void 0;
|
|
20
|
-
exports.
|
|
21
|
-
exports.
|
|
22
|
-
exports.types = exports.config = exports.TransitGatewayAttachment = exports.TfImporter = exports.TagBinding = exports.Tag = exports.TableflowTopic = exports.SubjectMode = exports.SubjectConfig = exports.ServiceAccount = exports.SchemaRegistryKek = exports.SchemaRegistryDek = exports.SchemaRegistryClusterMode = exports.SchemaRegistryClusterConfig = exports.SchemaExporter = exports.Schema = exports.RoleBinding = exports.ProviderIntegration = exports.PrivateLinkAttachmentConnection = exports.PrivateLinkAttachment = exports.PrivateLinkAccess = void 0;
|
|
20
|
+
exports.getProviderIntegrationSetupOutput = exports.getProviderIntegrationSetup = exports.getProviderIntegrationAuthorizationOutput = exports.getProviderIntegrationAuthorization = exports.getProviderIntegrationOutput = exports.getProviderIntegration = exports.getPrivateLinkAttachmentConnectionOutput = exports.getPrivateLinkAttachmentConnection = exports.getPrivateLinkAttachmentOutput = exports.getPrivateLinkAttachment = exports.getPrivateLinkAccessOutput = exports.getPrivateLinkAccess = exports.getPeeringOutput = exports.getPeering = exports.getOrganizationOutput = exports.getOrganization = exports.getNetworkLinkServiceOutput = exports.getNetworkLinkService = exports.getNetworkLinkEndpointOutput = exports.getNetworkLinkEndpoint = exports.getNetworkOutput = exports.getNetwork = exports.getKsqlClusterOutput = exports.getKsqlCluster = exports.getKafkaTopicOutput = exports.getKafkaTopic = exports.getKafkaClusterOutput = exports.getKafkaCluster = exports.getKafkaClientQuotaOutput = exports.getKafkaClientQuota = exports.getIpGroupOutput = exports.getIpGroup = exports.getIpFilterOutput = exports.getIpFilter = exports.getIpAddressesOutput = exports.getIpAddresses = exports.getInvitationOutput = exports.getInvitation = exports.getIdentityProviderOutput = exports.getIdentityProvider = exports.getIdentityPoolOutput = exports.getIdentityPool = exports.getGroupMappingOutput = exports.getGroupMapping = exports.getGatewayOutput = exports.getGateway = exports.getFlinkRegionOutput = exports.getFlinkRegion = exports.getFlinkConnectionOutput = exports.getFlinkConnection = void 0;
|
|
21
|
+
exports.Network = exports.KsqlCluster = exports.KafkaTopic = exports.KafkaMirrorTopic = exports.KafkaClusterConfig = exports.KafkaCluster = exports.KafkaClientQuota = exports.KafkaAcl = exports.IpGroup = exports.IpFilter = exports.Invitation = exports.IdentityProvider = exports.IdentityPool = exports.GroupMapping = exports.getUsersOutput = exports.getUsers = exports.getUserOutput = exports.getUser = exports.getTransitGatewayAttachmentOutput = exports.getTransitGatewayAttachment = exports.getTagBindingOutput = exports.getTagBinding = exports.getTagOutput = exports.getTag = exports.getTableflowTopicOutput = exports.getTableflowTopic = exports.getSubjectModeOutput = exports.getSubjectMode = exports.getSubjectConfigOutput = exports.getSubjectConfig = exports.getServiceAccountOutput = exports.getServiceAccount = exports.getSchemasOutput = exports.getSchemas = exports.getSchemaRegistryKekOutput = exports.getSchemaRegistryKek = exports.getSchemaRegistryDekOutput = exports.getSchemaRegistryDek = exports.getSchemaRegistryClustersOutput = exports.getSchemaRegistryClusters = exports.getSchemaRegistryClusterModeOutput = exports.getSchemaRegistryClusterMode = exports.getSchemaRegistryClusterConfigOutput = exports.getSchemaRegistryClusterConfig = exports.getSchemaRegistryClusterOutput = exports.getSchemaRegistryCluster = exports.getSchemaOutput = exports.getSchema = exports.getRoleBindingOutput = exports.getRoleBinding = void 0;
|
|
22
|
+
exports.types = exports.config = exports.TransitGatewayAttachment = exports.TfImporter = exports.TagBinding = exports.Tag = exports.TableflowTopic = exports.SubjectMode = exports.SubjectConfig = exports.ServiceAccount = exports.SchemaRegistryKek = exports.SchemaRegistryDek = exports.SchemaRegistryClusterMode = exports.SchemaRegistryClusterConfig = exports.SchemaExporter = exports.Schema = exports.RoleBinding = exports.ProviderIntegrationSetup = exports.ProviderIntegrationAuthorization = exports.ProviderIntegration = exports.PrivateLinkAttachmentConnection = exports.PrivateLinkAttachment = exports.PrivateLinkAccess = exports.Plugin = exports.Peering = exports.NetworkLinkService = exports.NetworkLinkEndpoint = void 0;
|
|
23
23
|
const pulumi = require("@pulumi/pulumi");
|
|
24
24
|
const utilities = require("./utilities");
|
|
25
25
|
exports.AccessPoint = null;
|
|
@@ -177,6 +177,12 @@ utilities.lazyLoad(exports, ["getPrivateLinkAttachmentConnection", "getPrivateLi
|
|
|
177
177
|
exports.getProviderIntegration = null;
|
|
178
178
|
exports.getProviderIntegrationOutput = null;
|
|
179
179
|
utilities.lazyLoad(exports, ["getProviderIntegration", "getProviderIntegrationOutput"], () => require("./getProviderIntegration"));
|
|
180
|
+
exports.getProviderIntegrationAuthorization = null;
|
|
181
|
+
exports.getProviderIntegrationAuthorizationOutput = null;
|
|
182
|
+
utilities.lazyLoad(exports, ["getProviderIntegrationAuthorization", "getProviderIntegrationAuthorizationOutput"], () => require("./getProviderIntegrationAuthorization"));
|
|
183
|
+
exports.getProviderIntegrationSetup = null;
|
|
184
|
+
exports.getProviderIntegrationSetupOutput = null;
|
|
185
|
+
utilities.lazyLoad(exports, ["getProviderIntegrationSetup", "getProviderIntegrationSetupOutput"], () => require("./getProviderIntegrationSetup"));
|
|
180
186
|
exports.getRoleBinding = null;
|
|
181
187
|
exports.getRoleBindingOutput = null;
|
|
182
188
|
utilities.lazyLoad(exports, ["getRoleBinding", "getRoleBindingOutput"], () => require("./getRoleBinding"));
|
|
@@ -277,6 +283,10 @@ __exportStar(require("./provider"), exports);
|
|
|
277
283
|
const provider_1 = require("./provider");
|
|
278
284
|
exports.ProviderIntegration = null;
|
|
279
285
|
utilities.lazyLoad(exports, ["ProviderIntegration"], () => require("./providerIntegration"));
|
|
286
|
+
exports.ProviderIntegrationAuthorization = null;
|
|
287
|
+
utilities.lazyLoad(exports, ["ProviderIntegrationAuthorization"], () => require("./providerIntegrationAuthorization"));
|
|
288
|
+
exports.ProviderIntegrationSetup = null;
|
|
289
|
+
utilities.lazyLoad(exports, ["ProviderIntegrationSetup"], () => require("./providerIntegrationSetup"));
|
|
280
290
|
exports.RoleBinding = null;
|
|
281
291
|
utilities.lazyLoad(exports, ["RoleBinding"], () => require("./roleBinding"));
|
|
282
292
|
exports.Schema = null;
|
|
@@ -404,6 +414,10 @@ const _module = {
|
|
|
404
414
|
return new exports.PrivateLinkAttachmentConnection(name, undefined, { urn });
|
|
405
415
|
case "confluentcloud:index/providerIntegration:ProviderIntegration":
|
|
406
416
|
return new exports.ProviderIntegration(name, undefined, { urn });
|
|
417
|
+
case "confluentcloud:index/providerIntegrationAuthorization:ProviderIntegrationAuthorization":
|
|
418
|
+
return new exports.ProviderIntegrationAuthorization(name, undefined, { urn });
|
|
419
|
+
case "confluentcloud:index/providerIntegrationSetup:ProviderIntegrationSetup":
|
|
420
|
+
return new exports.ProviderIntegrationSetup(name, undefined, { urn });
|
|
407
421
|
case "confluentcloud:index/roleBinding:RoleBinding":
|
|
408
422
|
return new exports.RoleBinding(name, undefined, { urn });
|
|
409
423
|
case "confluentcloud:index/schema:Schema":
|
|
@@ -483,6 +497,8 @@ pulumi.runtime.registerResourceModule("confluentcloud", "index/privateLinkAccess
|
|
|
483
497
|
pulumi.runtime.registerResourceModule("confluentcloud", "index/privateLinkAttachment", _module);
|
|
484
498
|
pulumi.runtime.registerResourceModule("confluentcloud", "index/privateLinkAttachmentConnection", _module);
|
|
485
499
|
pulumi.runtime.registerResourceModule("confluentcloud", "index/providerIntegration", _module);
|
|
500
|
+
pulumi.runtime.registerResourceModule("confluentcloud", "index/providerIntegrationAuthorization", _module);
|
|
501
|
+
pulumi.runtime.registerResourceModule("confluentcloud", "index/providerIntegrationSetup", _module);
|
|
486
502
|
pulumi.runtime.registerResourceModule("confluentcloud", "index/roleBinding", _module);
|
|
487
503
|
pulumi.runtime.registerResourceModule("confluentcloud", "index/schema", _module);
|
|
488
504
|
pulumi.runtime.registerResourceModule("confluentcloud", "index/schemaExporter", _module);
|