@pulumi/confluentcloud 2.47.0 → 2.48.0-alpha.1760671683
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/index.d.ts +0 -12
- package/index.js +3 -19
- package/index.js.map +1 -1
- package/package.json +2 -2
- package/types/input.d.ts +0 -58
- package/types/output.d.ts +0 -66
- package/getProviderIntegrationAuthorization.d.ts +0 -56
- package/getProviderIntegrationAuthorization.js +0 -24
- package/getProviderIntegrationAuthorization.js.map +0 -1
- package/getProviderIntegrationSetup.d.ts +0 -196
- package/getProviderIntegrationSetup.js +0 -154
- package/getProviderIntegrationSetup.js.map +0 -1
- package/providerIntegrationAuthorization.d.ts +0 -101
- package/providerIntegrationAuthorization.js +0 -76
- package/providerIntegrationAuthorization.js.map +0 -1
- package/providerIntegrationSetup.d.ts +0 -169
- package/providerIntegrationSetup.js +0 -145
- package/providerIntegrationSetup.js.map +0 -1
|
@@ -1,196 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,154 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
import * as inputs from "./types/input";
|
|
3
|
-
import * as outputs from "./types/output";
|
|
4
|
-
/**
|
|
5
|
-
* ## Import
|
|
6
|
-
*
|
|
7
|
-
* You can import a Provider Integration Authorization by using Environment ID and Provider Integration ID, in the format `<Environment ID>/<Provider Integration ID>`. The following example shows how to import a Provider Integration Authorization:
|
|
8
|
-
*
|
|
9
|
-
* $ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>"
|
|
10
|
-
*
|
|
11
|
-
* $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>"
|
|
12
|
-
*
|
|
13
|
-
* ```sh
|
|
14
|
-
* $ pulumi import confluentcloud:index/providerIntegrationAuthorization:ProviderIntegrationAuthorization main env-abc123/cspi-4xg0q
|
|
15
|
-
* ```
|
|
16
|
-
*
|
|
17
|
-
* !> **Warning:** Do not forget to delete terminal command history afterwards for security purposes.
|
|
18
|
-
*/
|
|
19
|
-
export declare class ProviderIntegrationAuthorization extends pulumi.CustomResource {
|
|
20
|
-
/**
|
|
21
|
-
* Get an existing ProviderIntegrationAuthorization resource's state with the given name, ID, and optional extra
|
|
22
|
-
* properties used to qualify the lookup.
|
|
23
|
-
*
|
|
24
|
-
* @param name The _unique_ name of the resulting resource.
|
|
25
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
26
|
-
* @param state Any extra arguments used during the lookup.
|
|
27
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
28
|
-
*/
|
|
29
|
-
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ProviderIntegrationAuthorizationState, opts?: pulumi.CustomResourceOptions): ProviderIntegrationAuthorization;
|
|
30
|
-
/**
|
|
31
|
-
* Returns true if the given object is an instance of ProviderIntegrationAuthorization. This is designed to work even
|
|
32
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
33
|
-
*/
|
|
34
|
-
static isInstance(obj: any): obj is ProviderIntegrationAuthorization;
|
|
35
|
-
/**
|
|
36
|
-
* (Optional Configuration Block) Azure-specific configuration details. It supports the following:
|
|
37
|
-
*/
|
|
38
|
-
readonly azure: pulumi.Output<outputs.ProviderIntegrationAuthorizationAzure | undefined>;
|
|
39
|
-
/**
|
|
40
|
-
* Environment objects represent an isolated namespace for your Confluent resources for organizational purposes.
|
|
41
|
-
*/
|
|
42
|
-
readonly environment: pulumi.Output<outputs.ProviderIntegrationAuthorizationEnvironment>;
|
|
43
|
-
/**
|
|
44
|
-
* (Optional Configuration Block) GCP-specific configuration details. It supports the following:
|
|
45
|
-
*/
|
|
46
|
-
readonly gcp: pulumi.Output<outputs.ProviderIntegrationAuthorizationGcp | undefined>;
|
|
47
|
-
/**
|
|
48
|
-
* The ID of the provider integration to authorize.
|
|
49
|
-
*/
|
|
50
|
-
readonly providerIntegrationId: pulumi.Output<string>;
|
|
51
|
-
/**
|
|
52
|
-
* Create a ProviderIntegrationAuthorization resource with the given unique name, arguments, and options.
|
|
53
|
-
*
|
|
54
|
-
* @param name The _unique_ name of the resource.
|
|
55
|
-
* @param args The arguments to use to populate this resource's properties.
|
|
56
|
-
* @param opts A bag of options that control this resource's behavior.
|
|
57
|
-
*/
|
|
58
|
-
constructor(name: string, args: ProviderIntegrationAuthorizationArgs, opts?: pulumi.CustomResourceOptions);
|
|
59
|
-
}
|
|
60
|
-
/**
|
|
61
|
-
* Input properties used for looking up and filtering ProviderIntegrationAuthorization resources.
|
|
62
|
-
*/
|
|
63
|
-
export interface ProviderIntegrationAuthorizationState {
|
|
64
|
-
/**
|
|
65
|
-
* (Optional Configuration Block) Azure-specific configuration details. It supports the following:
|
|
66
|
-
*/
|
|
67
|
-
azure?: pulumi.Input<inputs.ProviderIntegrationAuthorizationAzure>;
|
|
68
|
-
/**
|
|
69
|
-
* Environment objects represent an isolated namespace for your Confluent resources for organizational purposes.
|
|
70
|
-
*/
|
|
71
|
-
environment?: pulumi.Input<inputs.ProviderIntegrationAuthorizationEnvironment>;
|
|
72
|
-
/**
|
|
73
|
-
* (Optional Configuration Block) GCP-specific configuration details. It supports the following:
|
|
74
|
-
*/
|
|
75
|
-
gcp?: pulumi.Input<inputs.ProviderIntegrationAuthorizationGcp>;
|
|
76
|
-
/**
|
|
77
|
-
* The ID of the provider integration to authorize.
|
|
78
|
-
*/
|
|
79
|
-
providerIntegrationId?: pulumi.Input<string>;
|
|
80
|
-
}
|
|
81
|
-
/**
|
|
82
|
-
* The set of arguments for constructing a ProviderIntegrationAuthorization resource.
|
|
83
|
-
*/
|
|
84
|
-
export interface ProviderIntegrationAuthorizationArgs {
|
|
85
|
-
/**
|
|
86
|
-
* (Optional Configuration Block) Azure-specific configuration details. It supports the following:
|
|
87
|
-
*/
|
|
88
|
-
azure?: pulumi.Input<inputs.ProviderIntegrationAuthorizationAzure>;
|
|
89
|
-
/**
|
|
90
|
-
* Environment objects represent an isolated namespace for your Confluent resources for organizational purposes.
|
|
91
|
-
*/
|
|
92
|
-
environment: pulumi.Input<inputs.ProviderIntegrationAuthorizationEnvironment>;
|
|
93
|
-
/**
|
|
94
|
-
* (Optional Configuration Block) GCP-specific configuration details. It supports the following:
|
|
95
|
-
*/
|
|
96
|
-
gcp?: pulumi.Input<inputs.ProviderIntegrationAuthorizationGcp>;
|
|
97
|
-
/**
|
|
98
|
-
* The ID of the provider integration to authorize.
|
|
99
|
-
*/
|
|
100
|
-
providerIntegrationId: pulumi.Input<string>;
|
|
101
|
-
}
|
|
@@ -1,76 +0,0 @@
|
|
|
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.ProviderIntegrationAuthorization = void 0;
|
|
6
|
-
const pulumi = require("@pulumi/pulumi");
|
|
7
|
-
const utilities = require("./utilities");
|
|
8
|
-
/**
|
|
9
|
-
* ## Import
|
|
10
|
-
*
|
|
11
|
-
* You can import a Provider Integration Authorization by using Environment ID and Provider Integration ID, in the format `<Environment ID>/<Provider Integration ID>`. The following example shows how to import a Provider Integration Authorization:
|
|
12
|
-
*
|
|
13
|
-
* $ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>"
|
|
14
|
-
*
|
|
15
|
-
* $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>"
|
|
16
|
-
*
|
|
17
|
-
* ```sh
|
|
18
|
-
* $ pulumi import confluentcloud:index/providerIntegrationAuthorization:ProviderIntegrationAuthorization main env-abc123/cspi-4xg0q
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* !> **Warning:** Do not forget to delete terminal command history afterwards for security purposes.
|
|
22
|
-
*/
|
|
23
|
-
class ProviderIntegrationAuthorization extends pulumi.CustomResource {
|
|
24
|
-
/**
|
|
25
|
-
* Get an existing ProviderIntegrationAuthorization resource's state with the given name, ID, and optional extra
|
|
26
|
-
* properties used to qualify the lookup.
|
|
27
|
-
*
|
|
28
|
-
* @param name The _unique_ name of the resulting resource.
|
|
29
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
30
|
-
* @param state Any extra arguments used during the lookup.
|
|
31
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
32
|
-
*/
|
|
33
|
-
static get(name, id, state, opts) {
|
|
34
|
-
return new ProviderIntegrationAuthorization(name, state, { ...opts, id: id });
|
|
35
|
-
}
|
|
36
|
-
/**
|
|
37
|
-
* Returns true if the given object is an instance of ProviderIntegrationAuthorization. This is designed to work even
|
|
38
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
39
|
-
*/
|
|
40
|
-
static isInstance(obj) {
|
|
41
|
-
if (obj === undefined || obj === null) {
|
|
42
|
-
return false;
|
|
43
|
-
}
|
|
44
|
-
return obj['__pulumiType'] === ProviderIntegrationAuthorization.__pulumiType;
|
|
45
|
-
}
|
|
46
|
-
constructor(name, argsOrState, opts) {
|
|
47
|
-
let resourceInputs = {};
|
|
48
|
-
opts = opts || {};
|
|
49
|
-
if (opts.id) {
|
|
50
|
-
const state = argsOrState;
|
|
51
|
-
resourceInputs["azure"] = state?.azure;
|
|
52
|
-
resourceInputs["environment"] = state?.environment;
|
|
53
|
-
resourceInputs["gcp"] = state?.gcp;
|
|
54
|
-
resourceInputs["providerIntegrationId"] = state?.providerIntegrationId;
|
|
55
|
-
}
|
|
56
|
-
else {
|
|
57
|
-
const args = argsOrState;
|
|
58
|
-
if (args?.environment === undefined && !opts.urn) {
|
|
59
|
-
throw new Error("Missing required property 'environment'");
|
|
60
|
-
}
|
|
61
|
-
if (args?.providerIntegrationId === undefined && !opts.urn) {
|
|
62
|
-
throw new Error("Missing required property 'providerIntegrationId'");
|
|
63
|
-
}
|
|
64
|
-
resourceInputs["azure"] = args?.azure;
|
|
65
|
-
resourceInputs["environment"] = args?.environment;
|
|
66
|
-
resourceInputs["gcp"] = args?.gcp;
|
|
67
|
-
resourceInputs["providerIntegrationId"] = args?.providerIntegrationId;
|
|
68
|
-
}
|
|
69
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
70
|
-
super(ProviderIntegrationAuthorization.__pulumiType, name, resourceInputs, opts);
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
exports.ProviderIntegrationAuthorization = ProviderIntegrationAuthorization;
|
|
74
|
-
/** @internal */
|
|
75
|
-
ProviderIntegrationAuthorization.__pulumiType = 'confluentcloud:index/providerIntegrationAuthorization:ProviderIntegrationAuthorization';
|
|
76
|
-
//# sourceMappingURL=providerIntegrationAuthorization.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"providerIntegrationAuthorization.js","sourceRoot":"","sources":["../providerIntegrationAuthorization.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;GAcG;AACH,MAAa,gCAAiC,SAAQ,MAAM,CAAC,cAAc;IACvE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6C,EAAE,IAAmC;QAC3I,OAAO,IAAI,gCAAgC,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACvF,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,gCAAgC,CAAC,YAAY,CAAC;IACjF,CAAC;IA2BD,YAAY,IAAY,EAAE,WAA0F,EAAE,IAAmC;QACrJ,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAgE,CAAC;YAC/E,cAAc,CAAC,OAAO,CAAC,GAAG,KAAK,EAAE,KAAK,CAAC;YACvC,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,EAAE,WAAW,CAAC;YACnD,cAAc,CAAC,KAAK,CAAC,GAAG,KAAK,EAAE,GAAG,CAAC;YACnC,cAAc,CAAC,uBAAuB,CAAC,GAAG,KAAK,EAAE,qBAAqB,CAAC;SAC1E;aAAM;YACH,MAAM,IAAI,GAAG,WAA+D,CAAC;YAC7E,IAAI,IAAI,EAAE,WAAW,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC9C,MAAM,IAAI,KAAK,CAAC,yCAAyC,CAAC,CAAC;aAC9D;YACD,IAAI,IAAI,EAAE,qBAAqB,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACxD,MAAM,IAAI,KAAK,CAAC,mDAAmD,CAAC,CAAC;aACxE;YACD,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC;YACtC,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,KAAK,CAAC,GAAG,IAAI,EAAE,GAAG,CAAC;YAClC,cAAc,CAAC,uBAAuB,CAAC,GAAG,IAAI,EAAE,qBAAqB,CAAC;SACzE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,gCAAgC,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrF,CAAC;;AA7EL,4EA8EC;AAhEG,gBAAgB;AACO,6CAAY,GAAG,wFAAwF,CAAC"}
|