@pulumi/confluentcloud 2.48.0-alpha.1760592912 → 2.48.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.
@@ -1,169 +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
- * ## Example Usage
6
- *
7
- * ### Azure Provider Integration
8
- *
9
- * ```typescript
10
- * import * as pulumi from "@pulumi/pulumi";
11
- * import * as confluentcloud from "@pulumi/confluentcloud";
12
- *
13
- * const staging = new confluentcloud.Environment("staging", {
14
- * displayName: "Staging",
15
- * streamGovernance: {
16
- * "package": "ESSENTIALS",
17
- * },
18
- * });
19
- * const azure = new confluentcloud.ProviderIntegrationSetup("azure", {
20
- * environment: {
21
- * id: staging.id,
22
- * },
23
- * displayName: "azure-integration",
24
- * cloud: "AZURE",
25
- * });
26
- * // Configure and validate the Azure integration
27
- * const azureProviderIntegrationAuthorization = new confluentcloud.ProviderIntegrationAuthorization("azure", {
28
- * providerIntegrationId: azure.id,
29
- * environment: {
30
- * id: staging.id,
31
- * },
32
- * azure: {
33
- * customerAzureTenantId: "12345678-1234-1234-1234-123456789abc",
34
- * },
35
- * });
36
- * ```
37
- *
38
- * ### GCP Provider Integration
39
- *
40
- * ```typescript
41
- * import * as pulumi from "@pulumi/pulumi";
42
- * import * as confluentcloud from "@pulumi/confluentcloud";
43
- *
44
- * const gcp = new confluentcloud.ProviderIntegrationSetup("gcp", {
45
- * environment: {
46
- * id: staging.id,
47
- * },
48
- * displayName: "gcp-integration",
49
- * cloud: "GCP",
50
- * });
51
- * // Configure and validate the GCP integration
52
- * const gcpProviderIntegrationAuthorization = new confluentcloud.ProviderIntegrationAuthorization("gcp", {
53
- * providerIntegrationId: gcp.id,
54
- * environment: {
55
- * id: staging.id,
56
- * },
57
- * gcp: {
58
- * customerGoogleServiceAccount: "my-sa@my-project.iam.gserviceaccount.com",
59
- * },
60
- * });
61
- * ```
62
- *
63
- * ## Getting Started
64
- *
65
- * The following end-to-end examples might help to get started with `confluentcloud.ProviderIntegrationSetup` resource:
66
- * * provider-integration-azure: Complete Azure Provider Integration setup
67
- * * provider-integration-gcp: Complete GCP Provider Integration setup
68
- *
69
- * ## Import
70
- *
71
- * You can import a Provider Integration 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:
72
- *
73
- * $ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>"
74
- *
75
- * $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>"
76
- *
77
- * ```sh
78
- * $ pulumi import confluentcloud:index/providerIntegrationSetup:ProviderIntegrationSetup main env-abc123/cspi-4xg0q
79
- * ```
80
- *
81
- * !> **Warning:** Do not forget to delete terminal command history afterwards for security purposes.
82
- */
83
- export declare class ProviderIntegrationSetup extends pulumi.CustomResource {
84
- /**
85
- * Get an existing ProviderIntegrationSetup resource's state with the given name, ID, and optional extra
86
- * properties used to qualify the lookup.
87
- *
88
- * @param name The _unique_ name of the resulting resource.
89
- * @param id The _unique_ provider ID of the resource to lookup.
90
- * @param state Any extra arguments used during the lookup.
91
- * @param opts Optional settings to control the behavior of the CustomResource.
92
- */
93
- static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ProviderIntegrationSetupState, opts?: pulumi.CustomResourceOptions): ProviderIntegrationSetup;
94
- /**
95
- * Returns true if the given object is an instance of ProviderIntegrationSetup. This is designed to work even
96
- * when multiple copies of the Pulumi SDK have been loaded into the same process.
97
- */
98
- static isInstance(obj: any): obj is ProviderIntegrationSetup;
99
- /**
100
- * The cloud service provider. Supported values are `AZURE` and `GCP`.
101
- */
102
- readonly cloud: pulumi.Output<string>;
103
- /**
104
- * The name of the Provider Integration.
105
- */
106
- readonly displayName: pulumi.Output<string>;
107
- /**
108
- * Environment objects represent an isolated namespace for your Confluent resources for organizational purposes.
109
- */
110
- readonly environment: pulumi.Output<outputs.ProviderIntegrationSetupEnvironment>;
111
- /**
112
- * (Required String) The status of the Provider Integration. Values are `DRAFT` and `CREATED`.
113
- */
114
- readonly status: pulumi.Output<string>;
115
- /**
116
- * (Required List of Strings) List of resource CRNs where this provider integration is being used.
117
- */
118
- readonly usages: pulumi.Output<string[]>;
119
- /**
120
- * Create a ProviderIntegrationSetup resource with the given unique name, arguments, and options.
121
- *
122
- * @param name The _unique_ name of the resource.
123
- * @param args The arguments to use to populate this resource's properties.
124
- * @param opts A bag of options that control this resource's behavior.
125
- */
126
- constructor(name: string, args: ProviderIntegrationSetupArgs, opts?: pulumi.CustomResourceOptions);
127
- }
128
- /**
129
- * Input properties used for looking up and filtering ProviderIntegrationSetup resources.
130
- */
131
- export interface ProviderIntegrationSetupState {
132
- /**
133
- * The cloud service provider. Supported values are `AZURE` and `GCP`.
134
- */
135
- cloud?: pulumi.Input<string>;
136
- /**
137
- * The name of the Provider Integration.
138
- */
139
- displayName?: pulumi.Input<string>;
140
- /**
141
- * Environment objects represent an isolated namespace for your Confluent resources for organizational purposes.
142
- */
143
- environment?: pulumi.Input<inputs.ProviderIntegrationSetupEnvironment>;
144
- /**
145
- * (Required String) The status of the Provider Integration. Values are `DRAFT` and `CREATED`.
146
- */
147
- status?: pulumi.Input<string>;
148
- /**
149
- * (Required List of Strings) List of resource CRNs where this provider integration is being used.
150
- */
151
- usages?: pulumi.Input<pulumi.Input<string>[]>;
152
- }
153
- /**
154
- * The set of arguments for constructing a ProviderIntegrationSetup resource.
155
- */
156
- export interface ProviderIntegrationSetupArgs {
157
- /**
158
- * The cloud service provider. Supported values are `AZURE` and `GCP`.
159
- */
160
- cloud: pulumi.Input<string>;
161
- /**
162
- * The name of the Provider Integration.
163
- */
164
- displayName: pulumi.Input<string>;
165
- /**
166
- * Environment objects represent an isolated namespace for your Confluent resources for organizational purposes.
167
- */
168
- environment: pulumi.Input<inputs.ProviderIntegrationSetupEnvironment>;
169
- }
@@ -1,145 +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.ProviderIntegrationSetup = void 0;
6
- const pulumi = require("@pulumi/pulumi");
7
- const utilities = require("./utilities");
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 staging = new confluentcloud.Environment("staging", {
18
- * displayName: "Staging",
19
- * streamGovernance: {
20
- * "package": "ESSENTIALS",
21
- * },
22
- * });
23
- * const azure = new confluentcloud.ProviderIntegrationSetup("azure", {
24
- * environment: {
25
- * id: staging.id,
26
- * },
27
- * displayName: "azure-integration",
28
- * cloud: "AZURE",
29
- * });
30
- * // Configure and validate the Azure integration
31
- * const azureProviderIntegrationAuthorization = new confluentcloud.ProviderIntegrationAuthorization("azure", {
32
- * providerIntegrationId: azure.id,
33
- * environment: {
34
- * id: staging.id,
35
- * },
36
- * azure: {
37
- * customerAzureTenantId: "12345678-1234-1234-1234-123456789abc",
38
- * },
39
- * });
40
- * ```
41
- *
42
- * ### GCP Provider Integration
43
- *
44
- * ```typescript
45
- * import * as pulumi from "@pulumi/pulumi";
46
- * import * as confluentcloud from "@pulumi/confluentcloud";
47
- *
48
- * const gcp = new confluentcloud.ProviderIntegrationSetup("gcp", {
49
- * environment: {
50
- * id: staging.id,
51
- * },
52
- * displayName: "gcp-integration",
53
- * cloud: "GCP",
54
- * });
55
- * // Configure and validate the GCP integration
56
- * const gcpProviderIntegrationAuthorization = new confluentcloud.ProviderIntegrationAuthorization("gcp", {
57
- * providerIntegrationId: gcp.id,
58
- * environment: {
59
- * id: staging.id,
60
- * },
61
- * gcp: {
62
- * customerGoogleServiceAccount: "my-sa@my-project.iam.gserviceaccount.com",
63
- * },
64
- * });
65
- * ```
66
- *
67
- * ## Getting Started
68
- *
69
- * The following end-to-end examples might help to get started with `confluentcloud.ProviderIntegrationSetup` resource:
70
- * * provider-integration-azure: Complete Azure Provider Integration setup
71
- * * provider-integration-gcp: Complete GCP Provider Integration setup
72
- *
73
- * ## Import
74
- *
75
- * You can import a Provider Integration 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:
76
- *
77
- * $ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>"
78
- *
79
- * $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>"
80
- *
81
- * ```sh
82
- * $ pulumi import confluentcloud:index/providerIntegrationSetup:ProviderIntegrationSetup main env-abc123/cspi-4xg0q
83
- * ```
84
- *
85
- * !> **Warning:** Do not forget to delete terminal command history afterwards for security purposes.
86
- */
87
- class ProviderIntegrationSetup extends pulumi.CustomResource {
88
- /**
89
- * Get an existing ProviderIntegrationSetup resource's state with the given name, ID, and optional extra
90
- * properties used to qualify the lookup.
91
- *
92
- * @param name The _unique_ name of the resulting resource.
93
- * @param id The _unique_ provider ID of the resource to lookup.
94
- * @param state Any extra arguments used during the lookup.
95
- * @param opts Optional settings to control the behavior of the CustomResource.
96
- */
97
- static get(name, id, state, opts) {
98
- return new ProviderIntegrationSetup(name, state, { ...opts, id: id });
99
- }
100
- /**
101
- * Returns true if the given object is an instance of ProviderIntegrationSetup. This is designed to work even
102
- * when multiple copies of the Pulumi SDK have been loaded into the same process.
103
- */
104
- static isInstance(obj) {
105
- if (obj === undefined || obj === null) {
106
- return false;
107
- }
108
- return obj['__pulumiType'] === ProviderIntegrationSetup.__pulumiType;
109
- }
110
- constructor(name, argsOrState, opts) {
111
- let resourceInputs = {};
112
- opts = opts || {};
113
- if (opts.id) {
114
- const state = argsOrState;
115
- resourceInputs["cloud"] = state?.cloud;
116
- resourceInputs["displayName"] = state?.displayName;
117
- resourceInputs["environment"] = state?.environment;
118
- resourceInputs["status"] = state?.status;
119
- resourceInputs["usages"] = state?.usages;
120
- }
121
- else {
122
- const args = argsOrState;
123
- if (args?.cloud === undefined && !opts.urn) {
124
- throw new Error("Missing required property 'cloud'");
125
- }
126
- if (args?.displayName === undefined && !opts.urn) {
127
- throw new Error("Missing required property 'displayName'");
128
- }
129
- if (args?.environment === undefined && !opts.urn) {
130
- throw new Error("Missing required property 'environment'");
131
- }
132
- resourceInputs["cloud"] = args?.cloud;
133
- resourceInputs["displayName"] = args?.displayName;
134
- resourceInputs["environment"] = args?.environment;
135
- resourceInputs["status"] = undefined /*out*/;
136
- resourceInputs["usages"] = undefined /*out*/;
137
- }
138
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
139
- super(ProviderIntegrationSetup.__pulumiType, name, resourceInputs, opts);
140
- }
141
- }
142
- exports.ProviderIntegrationSetup = ProviderIntegrationSetup;
143
- /** @internal */
144
- ProviderIntegrationSetup.__pulumiType = 'confluentcloud:index/providerIntegrationSetup:ProviderIntegrationSetup';
145
- //# sourceMappingURL=providerIntegrationSetup.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"providerIntegrationSetup.js","sourceRoot":"","sources":["../providerIntegrationSetup.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8EG;AACH,MAAa,wBAAyB,SAAQ,MAAM,CAAC,cAAc;IAC/D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqC,EAAE,IAAmC;QACnI,OAAO,IAAI,wBAAwB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC/E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK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