@ryan-pip/pulumi_astronomer 1.2.4 → 1.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,398 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ /**
5
+ * Environment Object resource. Manages Airflow connections, variables, and metrics exports scoped to a Workspace or Deployment.
6
+ */
7
+ export declare class EnvironmentObject extends pulumi.CustomResource {
8
+ /**
9
+ * Get an existing EnvironmentObject resource's state with the given name, ID, and optional extra
10
+ * properties used to qualify the lookup.
11
+ *
12
+ * @param name The _unique_ name of the resulting resource.
13
+ * @param id The _unique_ provider ID of the resource to lookup.
14
+ * @param state Any extra arguments used during the lookup.
15
+ * @param opts Optional settings to control the behavior of the CustomResource.
16
+ */
17
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: EnvironmentObjectState, opts?: pulumi.CustomResourceOptions): EnvironmentObject;
18
+ /**
19
+ * Returns true if the given object is an instance of EnvironmentObject. This is designed to work even
20
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
21
+ */
22
+ static isInstance(obj: any): obj is EnvironmentObject;
23
+ /**
24
+ * The type of authentication (only valid when object*type=METRICS*EXPORT). Values: AUTH_TOKEN, BASIC
25
+ */
26
+ readonly authType: pulumi.Output<string>;
27
+ /**
28
+ * The ID for the connection auth type (only valid when object_type=CONNECTION). Provided on create/update; not returned by the API
29
+ */
30
+ readonly authTypeId: pulumi.Output<string | undefined>;
31
+ /**
32
+ * Whether to automatically link Deployments to the environment object. Only applicable for WORKSPACE scope
33
+ */
34
+ readonly autoLinkDeployments: pulumi.Output<boolean>;
35
+ /**
36
+ * The bearer token to connect to the remote endpoint (only valid when object*type=METRICS*EXPORT)
37
+ */
38
+ readonly basicToken: pulumi.Output<string | undefined>;
39
+ /**
40
+ * The resolved auth type of the connection, populated from auth*type*id (only set when object*type=CONNECTION)
41
+ */
42
+ readonly connectionAuthType: pulumi.Output<outputs.EnvironmentObjectConnectionAuthType>;
43
+ /**
44
+ * Environment Object creation timestamp
45
+ */
46
+ readonly createdAt: pulumi.Output<string>;
47
+ /**
48
+ * Environment Object creator
49
+ */
50
+ readonly createdBy: pulumi.Output<outputs.EnvironmentObjectCreatedBy>;
51
+ /**
52
+ * The Prometheus endpoint where the metrics are exported (required when object*type=METRICS*EXPORT)
53
+ */
54
+ readonly endpoint: pulumi.Output<string>;
55
+ /**
56
+ * The excluded links for the environment object. Only applicable for WORKSPACE scope
57
+ */
58
+ readonly excludeLinks: pulumi.Output<outputs.EnvironmentObjectExcludeLink[]>;
59
+ /**
60
+ * The type of exporter (required when object*type=METRICS*EXPORT)
61
+ */
62
+ readonly exporterType: pulumi.Output<string>;
63
+ /**
64
+ * Extra connection details as JSON string (only valid when object_type=CONNECTION). Use jsonencode({...})
65
+ */
66
+ readonly extra: pulumi.Output<string>;
67
+ /**
68
+ * HTTP request headers for the remote endpoint (only valid when object*type=METRICS*EXPORT)
69
+ */
70
+ readonly headers: pulumi.Output<{
71
+ [key: string]: string;
72
+ }>;
73
+ /**
74
+ * The host address for the connection (only valid when object_type=CONNECTION)
75
+ */
76
+ readonly host: pulumi.Output<string>;
77
+ /**
78
+ * Whether the value is a secret (only valid when object*type=AIRFLOW*VARIABLE). Immutable on the API; toggling forces resource replacement.
79
+ */
80
+ readonly isSecret: pulumi.Output<boolean>;
81
+ /**
82
+ * Key-value pair metrics labels for your export (only valid when object*type=METRICS*EXPORT)
83
+ */
84
+ readonly labels: pulumi.Output<{
85
+ [key: string]: string;
86
+ }>;
87
+ /**
88
+ * The Deployments linked to the environment object. Only applicable for WORKSPACE scope
89
+ */
90
+ readonly links: pulumi.Output<outputs.EnvironmentObjectLink[]>;
91
+ /**
92
+ * The username used for the connection (only valid when object_type=CONNECTION)
93
+ */
94
+ readonly login: pulumi.Output<string>;
95
+ /**
96
+ * The key for the environment object
97
+ */
98
+ readonly objectKey: pulumi.Output<string>;
99
+ /**
100
+ * The type of environment object (AIRFLOW*VARIABLE, CONNECTION, METRICS*EXPORT). Determines which type-specific fields are required.
101
+ */
102
+ readonly objectType: pulumi.Output<string>;
103
+ /**
104
+ * The password — the connection password when object*type=CONNECTION, the HTTP Basic-auth password when object*type=METRICS_EXPORT
105
+ */
106
+ readonly password: pulumi.Output<string | undefined>;
107
+ /**
108
+ * The port for the connection (only valid when object_type=CONNECTION)
109
+ */
110
+ readonly port: pulumi.Output<number>;
111
+ /**
112
+ * The schema for the connection (only valid when object_type=CONNECTION)
113
+ */
114
+ readonly schema: pulumi.Output<string>;
115
+ /**
116
+ * The scope of the environment object (WORKSPACE, DEPLOYMENT)
117
+ */
118
+ readonly scope: pulumi.Output<string>;
119
+ /**
120
+ * The ID of the scope entity where the environment object is created
121
+ */
122
+ readonly scopeEntityId: pulumi.Output<string>;
123
+ /**
124
+ * The source scope, if resolved from a link
125
+ */
126
+ readonly sourceScope: pulumi.Output<string>;
127
+ /**
128
+ * The source scope entity ID, if resolved from a link
129
+ */
130
+ readonly sourceScopeEntityId: pulumi.Output<string>;
131
+ /**
132
+ * The connection type (required when object_type=CONNECTION). Immutable on the API; changing it forces resource replacement.
133
+ */
134
+ readonly type: pulumi.Output<string>;
135
+ /**
136
+ * Environment Object last updated timestamp
137
+ */
138
+ readonly updatedAt: pulumi.Output<string>;
139
+ /**
140
+ * Environment Object updater
141
+ */
142
+ readonly updatedBy: pulumi.Output<outputs.EnvironmentObjectUpdatedBy>;
143
+ /**
144
+ * The username to connect to the remote endpoint (only valid when object*type=METRICS*EXPORT)
145
+ */
146
+ readonly username: pulumi.Output<string>;
147
+ /**
148
+ * The value of the Airflow variable (only valid when object*type=AIRFLOW*VARIABLE)
149
+ */
150
+ readonly value: pulumi.Output<string | undefined>;
151
+ /**
152
+ * Create a EnvironmentObject resource with the given unique name, arguments, and options.
153
+ *
154
+ * @param name The _unique_ name of the resource.
155
+ * @param args The arguments to use to populate this resource's properties.
156
+ * @param opts A bag of options that control this resource's behavior.
157
+ */
158
+ constructor(name: string, args: EnvironmentObjectArgs, opts?: pulumi.CustomResourceOptions);
159
+ }
160
+ /**
161
+ * Input properties used for looking up and filtering EnvironmentObject resources.
162
+ */
163
+ export interface EnvironmentObjectState {
164
+ /**
165
+ * The type of authentication (only valid when object*type=METRICS*EXPORT). Values: AUTH_TOKEN, BASIC
166
+ */
167
+ authType?: pulumi.Input<string | undefined>;
168
+ /**
169
+ * The ID for the connection auth type (only valid when object_type=CONNECTION). Provided on create/update; not returned by the API
170
+ */
171
+ authTypeId?: pulumi.Input<string | undefined>;
172
+ /**
173
+ * Whether to automatically link Deployments to the environment object. Only applicable for WORKSPACE scope
174
+ */
175
+ autoLinkDeployments?: pulumi.Input<boolean | undefined>;
176
+ /**
177
+ * The bearer token to connect to the remote endpoint (only valid when object*type=METRICS*EXPORT)
178
+ */
179
+ basicToken?: pulumi.Input<string | undefined>;
180
+ /**
181
+ * The resolved auth type of the connection, populated from auth*type*id (only set when object*type=CONNECTION)
182
+ */
183
+ connectionAuthType?: pulumi.Input<inputs.EnvironmentObjectConnectionAuthType | undefined>;
184
+ /**
185
+ * Environment Object creation timestamp
186
+ */
187
+ createdAt?: pulumi.Input<string | undefined>;
188
+ /**
189
+ * Environment Object creator
190
+ */
191
+ createdBy?: pulumi.Input<inputs.EnvironmentObjectCreatedBy | undefined>;
192
+ /**
193
+ * The Prometheus endpoint where the metrics are exported (required when object*type=METRICS*EXPORT)
194
+ */
195
+ endpoint?: pulumi.Input<string | undefined>;
196
+ /**
197
+ * The excluded links for the environment object. Only applicable for WORKSPACE scope
198
+ */
199
+ excludeLinks?: pulumi.Input<pulumi.Input<inputs.EnvironmentObjectExcludeLink>[] | undefined>;
200
+ /**
201
+ * The type of exporter (required when object*type=METRICS*EXPORT)
202
+ */
203
+ exporterType?: pulumi.Input<string | undefined>;
204
+ /**
205
+ * Extra connection details as JSON string (only valid when object_type=CONNECTION). Use jsonencode({...})
206
+ */
207
+ extra?: pulumi.Input<string | undefined>;
208
+ /**
209
+ * HTTP request headers for the remote endpoint (only valid when object*type=METRICS*EXPORT)
210
+ */
211
+ headers?: pulumi.Input<{
212
+ [key: string]: pulumi.Input<string>;
213
+ } | undefined>;
214
+ /**
215
+ * The host address for the connection (only valid when object_type=CONNECTION)
216
+ */
217
+ host?: pulumi.Input<string | undefined>;
218
+ /**
219
+ * Whether the value is a secret (only valid when object*type=AIRFLOW*VARIABLE). Immutable on the API; toggling forces resource replacement.
220
+ */
221
+ isSecret?: pulumi.Input<boolean | undefined>;
222
+ /**
223
+ * Key-value pair metrics labels for your export (only valid when object*type=METRICS*EXPORT)
224
+ */
225
+ labels?: pulumi.Input<{
226
+ [key: string]: pulumi.Input<string>;
227
+ } | undefined>;
228
+ /**
229
+ * The Deployments linked to the environment object. Only applicable for WORKSPACE scope
230
+ */
231
+ links?: pulumi.Input<pulumi.Input<inputs.EnvironmentObjectLink>[] | undefined>;
232
+ /**
233
+ * The username used for the connection (only valid when object_type=CONNECTION)
234
+ */
235
+ login?: pulumi.Input<string | undefined>;
236
+ /**
237
+ * The key for the environment object
238
+ */
239
+ objectKey?: pulumi.Input<string | undefined>;
240
+ /**
241
+ * The type of environment object (AIRFLOW*VARIABLE, CONNECTION, METRICS*EXPORT). Determines which type-specific fields are required.
242
+ */
243
+ objectType?: pulumi.Input<string | undefined>;
244
+ /**
245
+ * The password — the connection password when object*type=CONNECTION, the HTTP Basic-auth password when object*type=METRICS_EXPORT
246
+ */
247
+ password?: pulumi.Input<string | undefined>;
248
+ /**
249
+ * The port for the connection (only valid when object_type=CONNECTION)
250
+ */
251
+ port?: pulumi.Input<number | undefined>;
252
+ /**
253
+ * The schema for the connection (only valid when object_type=CONNECTION)
254
+ */
255
+ schema?: pulumi.Input<string | undefined>;
256
+ /**
257
+ * The scope of the environment object (WORKSPACE, DEPLOYMENT)
258
+ */
259
+ scope?: pulumi.Input<string | undefined>;
260
+ /**
261
+ * The ID of the scope entity where the environment object is created
262
+ */
263
+ scopeEntityId?: pulumi.Input<string | undefined>;
264
+ /**
265
+ * The source scope, if resolved from a link
266
+ */
267
+ sourceScope?: pulumi.Input<string | undefined>;
268
+ /**
269
+ * The source scope entity ID, if resolved from a link
270
+ */
271
+ sourceScopeEntityId?: pulumi.Input<string | undefined>;
272
+ /**
273
+ * The connection type (required when object_type=CONNECTION). Immutable on the API; changing it forces resource replacement.
274
+ */
275
+ type?: pulumi.Input<string | undefined>;
276
+ /**
277
+ * Environment Object last updated timestamp
278
+ */
279
+ updatedAt?: pulumi.Input<string | undefined>;
280
+ /**
281
+ * Environment Object updater
282
+ */
283
+ updatedBy?: pulumi.Input<inputs.EnvironmentObjectUpdatedBy | undefined>;
284
+ /**
285
+ * The username to connect to the remote endpoint (only valid when object*type=METRICS*EXPORT)
286
+ */
287
+ username?: pulumi.Input<string | undefined>;
288
+ /**
289
+ * The value of the Airflow variable (only valid when object*type=AIRFLOW*VARIABLE)
290
+ */
291
+ value?: pulumi.Input<string | undefined>;
292
+ }
293
+ /**
294
+ * The set of arguments for constructing a EnvironmentObject resource.
295
+ */
296
+ export interface EnvironmentObjectArgs {
297
+ /**
298
+ * The type of authentication (only valid when object*type=METRICS*EXPORT). Values: AUTH_TOKEN, BASIC
299
+ */
300
+ authType?: pulumi.Input<string | undefined>;
301
+ /**
302
+ * The ID for the connection auth type (only valid when object_type=CONNECTION). Provided on create/update; not returned by the API
303
+ */
304
+ authTypeId?: pulumi.Input<string | undefined>;
305
+ /**
306
+ * Whether to automatically link Deployments to the environment object. Only applicable for WORKSPACE scope
307
+ */
308
+ autoLinkDeployments?: pulumi.Input<boolean | undefined>;
309
+ /**
310
+ * The bearer token to connect to the remote endpoint (only valid when object*type=METRICS*EXPORT)
311
+ */
312
+ basicToken?: pulumi.Input<string | undefined>;
313
+ /**
314
+ * The Prometheus endpoint where the metrics are exported (required when object*type=METRICS*EXPORT)
315
+ */
316
+ endpoint?: pulumi.Input<string | undefined>;
317
+ /**
318
+ * The excluded links for the environment object. Only applicable for WORKSPACE scope
319
+ */
320
+ excludeLinks?: pulumi.Input<pulumi.Input<inputs.EnvironmentObjectExcludeLink>[] | undefined>;
321
+ /**
322
+ * The type of exporter (required when object*type=METRICS*EXPORT)
323
+ */
324
+ exporterType?: pulumi.Input<string | undefined>;
325
+ /**
326
+ * Extra connection details as JSON string (only valid when object_type=CONNECTION). Use jsonencode({...})
327
+ */
328
+ extra?: pulumi.Input<string | undefined>;
329
+ /**
330
+ * HTTP request headers for the remote endpoint (only valid when object*type=METRICS*EXPORT)
331
+ */
332
+ headers?: pulumi.Input<{
333
+ [key: string]: pulumi.Input<string>;
334
+ } | undefined>;
335
+ /**
336
+ * The host address for the connection (only valid when object_type=CONNECTION)
337
+ */
338
+ host?: pulumi.Input<string | undefined>;
339
+ /**
340
+ * Whether the value is a secret (only valid when object*type=AIRFLOW*VARIABLE). Immutable on the API; toggling forces resource replacement.
341
+ */
342
+ isSecret?: pulumi.Input<boolean | undefined>;
343
+ /**
344
+ * Key-value pair metrics labels for your export (only valid when object*type=METRICS*EXPORT)
345
+ */
346
+ labels?: pulumi.Input<{
347
+ [key: string]: pulumi.Input<string>;
348
+ } | undefined>;
349
+ /**
350
+ * The Deployments linked to the environment object. Only applicable for WORKSPACE scope
351
+ */
352
+ links?: pulumi.Input<pulumi.Input<inputs.EnvironmentObjectLink>[] | undefined>;
353
+ /**
354
+ * The username used for the connection (only valid when object_type=CONNECTION)
355
+ */
356
+ login?: pulumi.Input<string | undefined>;
357
+ /**
358
+ * The key for the environment object
359
+ */
360
+ objectKey: pulumi.Input<string>;
361
+ /**
362
+ * The type of environment object (AIRFLOW*VARIABLE, CONNECTION, METRICS*EXPORT). Determines which type-specific fields are required.
363
+ */
364
+ objectType: pulumi.Input<string>;
365
+ /**
366
+ * The password — the connection password when object*type=CONNECTION, the HTTP Basic-auth password when object*type=METRICS_EXPORT
367
+ */
368
+ password?: pulumi.Input<string | undefined>;
369
+ /**
370
+ * The port for the connection (only valid when object_type=CONNECTION)
371
+ */
372
+ port?: pulumi.Input<number | undefined>;
373
+ /**
374
+ * The schema for the connection (only valid when object_type=CONNECTION)
375
+ */
376
+ schema?: pulumi.Input<string | undefined>;
377
+ /**
378
+ * The scope of the environment object (WORKSPACE, DEPLOYMENT)
379
+ */
380
+ scope: pulumi.Input<string>;
381
+ /**
382
+ * The ID of the scope entity where the environment object is created
383
+ */
384
+ scopeEntityId: pulumi.Input<string>;
385
+ /**
386
+ * The connection type (required when object_type=CONNECTION). Immutable on the API; changing it forces resource replacement.
387
+ */
388
+ type?: pulumi.Input<string | undefined>;
389
+ /**
390
+ * The username to connect to the remote endpoint (only valid when object*type=METRICS*EXPORT)
391
+ */
392
+ username?: pulumi.Input<string | undefined>;
393
+ /**
394
+ * The value of the Airflow variable (only valid when object*type=AIRFLOW*VARIABLE)
395
+ */
396
+ value?: pulumi.Input<string | undefined>;
397
+ }
398
+ //# sourceMappingURL=environmentObject.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"environmentObject.d.ts","sourceRoot":"","sources":["../environmentObject.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;GAEG;AACH,qBAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,sBAAsB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,iBAAiB;IAOpJ;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,iBAAiB;IAO5D;;OAEG;IACH,SAAwB,QAAQ,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACx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,SAAS,CAAC,CAAC;IAC/E;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACzC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAChC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACjC;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC5C;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC1C;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC5B;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACpC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxC;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC5C;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAC5C"}
@@ -0,0 +1,149 @@
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.EnvironmentObject = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("./utilities"));
31
+ /**
32
+ * Environment Object resource. Manages Airflow connections, variables, and metrics exports scoped to a Workspace or Deployment.
33
+ */
34
+ class EnvironmentObject extends pulumi.CustomResource {
35
+ /**
36
+ * Get an existing EnvironmentObject resource's state with the given name, ID, and optional extra
37
+ * properties used to qualify the lookup.
38
+ *
39
+ * @param name The _unique_ name of the resulting resource.
40
+ * @param id The _unique_ provider ID of the resource to lookup.
41
+ * @param state Any extra arguments used during the lookup.
42
+ * @param opts Optional settings to control the behavior of the CustomResource.
43
+ */
44
+ static get(name, id, state, opts) {
45
+ return new EnvironmentObject(name, state, { ...opts, id: id });
46
+ }
47
+ /** @internal */
48
+ static __pulumiType = 'astronomer:index/environmentObject:EnvironmentObject';
49
+ /**
50
+ * Returns true if the given object is an instance of EnvironmentObject. This is designed to work even
51
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
52
+ */
53
+ static isInstance(obj) {
54
+ if (obj === undefined || obj === null) {
55
+ return false;
56
+ }
57
+ return obj['__pulumiType'] === EnvironmentObject.__pulumiType;
58
+ }
59
+ constructor(name, argsOrState, opts) {
60
+ let resourceInputs = {};
61
+ opts = opts || {};
62
+ if (opts.id) {
63
+ const state = argsOrState;
64
+ resourceInputs["authType"] = state?.authType;
65
+ resourceInputs["authTypeId"] = state?.authTypeId;
66
+ resourceInputs["autoLinkDeployments"] = state?.autoLinkDeployments;
67
+ resourceInputs["basicToken"] = state?.basicToken;
68
+ resourceInputs["connectionAuthType"] = state?.connectionAuthType;
69
+ resourceInputs["createdAt"] = state?.createdAt;
70
+ resourceInputs["createdBy"] = state?.createdBy;
71
+ resourceInputs["endpoint"] = state?.endpoint;
72
+ resourceInputs["excludeLinks"] = state?.excludeLinks;
73
+ resourceInputs["exporterType"] = state?.exporterType;
74
+ resourceInputs["extra"] = state?.extra;
75
+ resourceInputs["headers"] = state?.headers;
76
+ resourceInputs["host"] = state?.host;
77
+ resourceInputs["isSecret"] = state?.isSecret;
78
+ resourceInputs["labels"] = state?.labels;
79
+ resourceInputs["links"] = state?.links;
80
+ resourceInputs["login"] = state?.login;
81
+ resourceInputs["objectKey"] = state?.objectKey;
82
+ resourceInputs["objectType"] = state?.objectType;
83
+ resourceInputs["password"] = state?.password;
84
+ resourceInputs["port"] = state?.port;
85
+ resourceInputs["schema"] = state?.schema;
86
+ resourceInputs["scope"] = state?.scope;
87
+ resourceInputs["scopeEntityId"] = state?.scopeEntityId;
88
+ resourceInputs["sourceScope"] = state?.sourceScope;
89
+ resourceInputs["sourceScopeEntityId"] = state?.sourceScopeEntityId;
90
+ resourceInputs["type"] = state?.type;
91
+ resourceInputs["updatedAt"] = state?.updatedAt;
92
+ resourceInputs["updatedBy"] = state?.updatedBy;
93
+ resourceInputs["username"] = state?.username;
94
+ resourceInputs["value"] = state?.value;
95
+ }
96
+ else {
97
+ const args = argsOrState;
98
+ if (args?.objectKey === undefined && !opts.urn) {
99
+ throw new Error("Missing required property 'objectKey'");
100
+ }
101
+ if (args?.objectType === undefined && !opts.urn) {
102
+ throw new Error("Missing required property 'objectType'");
103
+ }
104
+ if (args?.scope === undefined && !opts.urn) {
105
+ throw new Error("Missing required property 'scope'");
106
+ }
107
+ if (args?.scopeEntityId === undefined && !opts.urn) {
108
+ throw new Error("Missing required property 'scopeEntityId'");
109
+ }
110
+ resourceInputs["authType"] = args?.authType;
111
+ resourceInputs["authTypeId"] = args?.authTypeId;
112
+ resourceInputs["autoLinkDeployments"] = args?.autoLinkDeployments;
113
+ resourceInputs["basicToken"] = args?.basicToken ? pulumi.secret(args.basicToken) : undefined;
114
+ resourceInputs["endpoint"] = args?.endpoint;
115
+ resourceInputs["excludeLinks"] = args?.excludeLinks;
116
+ resourceInputs["exporterType"] = args?.exporterType;
117
+ resourceInputs["extra"] = args?.extra;
118
+ resourceInputs["headers"] = args?.headers;
119
+ resourceInputs["host"] = args?.host;
120
+ resourceInputs["isSecret"] = args?.isSecret;
121
+ resourceInputs["labels"] = args?.labels;
122
+ resourceInputs["links"] = args?.links;
123
+ resourceInputs["login"] = args?.login;
124
+ resourceInputs["objectKey"] = args?.objectKey;
125
+ resourceInputs["objectType"] = args?.objectType;
126
+ resourceInputs["password"] = args?.password ? pulumi.secret(args.password) : undefined;
127
+ resourceInputs["port"] = args?.port;
128
+ resourceInputs["schema"] = args?.schema;
129
+ resourceInputs["scope"] = args?.scope;
130
+ resourceInputs["scopeEntityId"] = args?.scopeEntityId;
131
+ resourceInputs["type"] = args?.type;
132
+ resourceInputs["username"] = args?.username;
133
+ resourceInputs["value"] = args?.value ? pulumi.secret(args.value) : undefined;
134
+ resourceInputs["connectionAuthType"] = undefined /*out*/;
135
+ resourceInputs["createdAt"] = undefined /*out*/;
136
+ resourceInputs["createdBy"] = undefined /*out*/;
137
+ resourceInputs["sourceScope"] = undefined /*out*/;
138
+ resourceInputs["sourceScopeEntityId"] = undefined /*out*/;
139
+ resourceInputs["updatedAt"] = undefined /*out*/;
140
+ resourceInputs["updatedBy"] = undefined /*out*/;
141
+ }
142
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
143
+ const secretOpts = { additionalSecretOutputs: ["basicToken", "password", "value"] };
144
+ opts = pulumi.mergeOptions(opts, secretOpts);
145
+ super(EnvironmentObject.__pulumiType, name, resourceInputs, opts);
146
+ }
147
+ }
148
+ exports.EnvironmentObject = EnvironmentObject;
149
+ //# sourceMappingURL=environmentObject.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"environmentObject.js","sourceRoot":"","sources":["../environmentObject.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;GAEG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA8B,EAAE,IAAmC;QAC5H,OAAO,IAAI,iBAAiB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACxE,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,sDAAsD,CAAC;IAE7F;;;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,iBAAiB,CAAC,YAAY,CAAC;IAClE,CAAC;IAuID,YAAY,IAAY,EAAE,WAA4D,EAAE,IAAmC;QACvH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAiD,CAAC;YAChE,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,EAAE,QAAQ,CAAC;YAC7C,cAAc,CAAC,YAAY,CAAC,G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,CAAC;;AAvPL,8CAwPC"}
package/getCluster.d.ts CHANGED
@@ -41,6 +41,10 @@ export interface GetClusterResult {
41
41
  * Cluster database instance type
42
42
  */
43
43
  readonly dbInstanceType: string;
44
+ /**
45
+ * The disaster recovery subnet range for pods (GCP Only).
46
+ */
47
+ readonly drPodSubnetRange: string;
44
48
  /**
45
49
  * The secondary region for Disaster Recovery
46
50
  */
@@ -49,6 +53,14 @@ export interface GetClusterResult {
49
53
  * Secondary CIDR for pod networking in the DR region (AWS only)
50
54
  */
51
55
  readonly drSecondaryVpcCidr: string;
56
+ /**
57
+ * The disaster recovery service peering range (GCP Only).
58
+ */
59
+ readonly drServicePeeringRange: string;
60
+ /**
61
+ * The disaster recovery service subnet range (GCP Only).
62
+ */
63
+ readonly drServiceSubnetRange: string;
52
64
  /**
53
65
  * The VPC subnet range for the Disaster Recovery region
54
66
  */
@@ -1 +1 @@
1
- {"version":3,"file":"getCluster.d.ts","sourceRoot":"","sources":["../getCluster.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,UAAU,CAAC,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAKvG;AAED;;GAEG;AACH,MAAM,WAAW,cAAc;IAC3B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;CACd;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC7B;;OAEG;IACH,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAC/B;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;IAChC;;OAEG;IACH,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B;;OAEG;I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