@ryan-pip/pulumi_astronomer 0.2.8 → 1.2.3-alpha.4
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/agentToken.d.ts +96 -0
- package/agentToken.d.ts.map +1 -0
- package/agentToken.js +88 -0
- package/agentToken.js.map +1 -0
- package/alert.d.ts +190 -0
- package/alert.d.ts.map +1 -0
- package/alert.js +121 -0
- package/alert.js.map +1 -0
- package/apiToken.d.ts +7 -0
- package/apiToken.d.ts.map +1 -0
- package/apiToken.js +50 -27
- package/apiToken.js.map +1 -1
- package/cluster.d.ts +76 -50
- package/cluster.d.ts.map +1 -0
- package/cluster.js +76 -88
- package/cluster.js.map +1 -1
- package/config/index.d.ts +1 -0
- package/config/index.d.ts.map +1 -0
- package/config/index.js +1 -1
- package/config/index.js.map +1 -1
- package/config/vars.d.ts +1 -0
- package/config/vars.d.ts.map +1 -0
- package/config/vars.js +28 -6
- package/config/vars.js.map +1 -1
- package/customRole.d.ts +162 -0
- package/customRole.d.ts.map +1 -0
- package/customRole.js +125 -0
- package/customRole.js.map +1 -0
- package/deployment.d.ts +50 -16
- package/deployment.d.ts.map +1 -0
- package/deployment.js +114 -87
- package/deployment.js.map +1 -1
- package/getAlert.d.ts +118 -0
- package/getAlert.d.ts.map +1 -0
- package/getAlert.js +75 -0
- package/getAlert.js.map +1 -0
- package/getAlerts.d.ts +102 -0
- package/getAlerts.d.ts.map +1 -0
- package/getAlerts.js +117 -0
- package/getAlerts.js.map +1 -0
- package/getApiToken.d.ts +3 -2
- package/getApiToken.d.ts.map +1 -0
- package/getApiToken.js +28 -5
- package/getApiToken.js.map +1 -1
- package/getApiTokens.d.ts +3 -2
- package/getApiTokens.d.ts.map +1 -0
- package/getApiTokens.js +28 -5
- package/getApiTokens.js.map +1 -1
- package/getCluster.d.ts +28 -3
- package/getCluster.d.ts.map +1 -0
- package/getCluster.js +28 -5
- package/getCluster.js.map +1 -1
- package/getClusterOptions.d.ts +12 -2
- package/getClusterOptions.d.ts.map +1 -0
- package/getClusterOptions.js +28 -5
- package/getClusterOptions.js.map +1 -1
- package/getClusters.d.ts +12 -2
- package/getClusters.d.ts.map +1 -0
- package/getClusters.js +28 -5
- package/getClusters.js.map +1 -1
- package/getCustomRole.d.ts +98 -0
- package/getCustomRole.d.ts.map +1 -0
- package/getCustomRole.js +75 -0
- package/getCustomRole.js.map +1 -0
- package/getDeployment.d.ts +10 -5
- package/getDeployment.d.ts.map +1 -0
- package/getDeployment.js +28 -5
- package/getDeployment.js.map +1 -1
- package/getDeploymentOptions.d.ts +6 -5
- package/getDeploymentOptions.d.ts.map +1 -0
- package/getDeploymentOptions.js +28 -5
- package/getDeploymentOptions.js.map +1 -1
- package/getDeployments.d.ts +3 -2
- package/getDeployments.d.ts.map +1 -0
- package/getDeployments.js +28 -5
- package/getDeployments.js.map +1 -1
- package/getNotificationChannel.d.ts +114 -0
- package/getNotificationChannel.d.ts.map +1 -0
- package/getNotificationChannel.js +75 -0
- package/getNotificationChannel.js.map +1 -0
- package/getNotificationChannels.d.ts +50 -0
- package/getNotificationChannels.d.ts.map +1 -0
- package/getNotificationChannels.js +65 -0
- package/getNotificationChannels.js.map +1 -0
- package/getOrganization.d.ts +3 -2
- package/getOrganization.d.ts.map +1 -0
- package/getOrganization.js +28 -5
- package/getOrganization.js.map +1 -1
- package/getTeam.d.ts +11 -2
- package/getTeam.d.ts.map +1 -0
- package/getTeam.js +28 -5
- package/getTeam.js.map +1 -1
- package/getTeams.d.ts +27 -18
- package/getTeams.d.ts.map +1 -0
- package/getTeams.js +52 -21
- package/getTeams.js.map +1 -1
- package/getUser.d.ts +7 -2
- package/getUser.d.ts.map +1 -0
- package/getUser.js +28 -5
- package/getUser.js.map +1 -1
- package/getUsers.d.ts +27 -18
- package/getUsers.d.ts.map +1 -0
- package/getUsers.js +52 -21
- package/getUsers.js.map +1 -1
- package/getWorkspace.d.ts +3 -2
- package/getWorkspace.d.ts.map +1 -0
- package/getWorkspace.js +28 -5
- package/getWorkspace.js.map +1 -1
- package/getWorkspaces.d.ts +39 -30
- package/getWorkspaces.d.ts.map +1 -0
- package/getWorkspaces.js +64 -33
- package/getWorkspaces.js.map +1 -1
- package/hybridClusterWorkspaceAuthorization.d.ts +1 -19
- package/hybridClusterWorkspaceAuthorization.d.ts.map +1 -0
- package/hybridClusterWorkspaceAuthorization.js +34 -30
- package/hybridClusterWorkspaceAuthorization.js.map +1 -1
- package/index.d.ts +32 -3
- package/index.d.ts.map +1 -0
- package/index.js +76 -9
- package/index.js.map +1 -1
- package/notificationChannel.d.ts +170 -0
- package/notificationChannel.d.ts.map +1 -0
- package/notificationChannel.js +111 -0
- package/notificationChannel.js.map +1 -0
- package/package.json +4 -3
- package/provider.d.ts +18 -3
- package/provider.d.ts.map +1 -0
- package/provider.js +39 -12
- package/provider.js.map +1 -1
- package/team.d.ts +20 -7
- package/team.d.ts.map +1 -0
- package/team.js +51 -26
- package/team.js.map +1 -1
- package/teamMembership.d.ts +66 -0
- package/teamMembership.d.ts.map +1 -0
- package/teamMembership.js +85 -0
- package/teamMembership.js.map +1 -0
- package/teamRoles.d.ts +20 -7
- package/teamRoles.d.ts.map +1 -0
- package/teamRoles.js +42 -17
- package/teamRoles.js.map +1 -1
- package/types/index.d.ts +1 -0
- package/types/index.d.ts.map +1 -0
- package/types/index.js +26 -3
- package/types/index.js.map +1 -1
- package/types/input.d.ts +316 -3
- package/types/input.d.ts.map +1 -0
- package/types/input.js +1 -1
- package/types/input.js.map +1 -1
- package/types/output.d.ts +944 -11
- package/types/output.d.ts.map +1 -0
- package/types/output.js +1 -1
- package/types/output.js.map +1 -1
- package/userInvite.d.ts +2 -1
- package/userInvite.d.ts.map +1 -0
- package/userInvite.js +41 -18
- package/userInvite.js.map +1 -1
- package/userRoles.d.ts +20 -7
- package/userRoles.d.ts.map +1 -0
- package/userRoles.js +42 -17
- package/userRoles.js.map +1 -1
- package/utilities.d.ts +1 -4
- package/utilities.d.ts.map +1 -0
- package/utilities.js +43 -30
- package/utilities.js.map +1 -1
- package/workspace.d.ts +1 -16
- package/workspace.d.ts.map +1 -0
- package/workspace.js +41 -34
- package/workspace.js.map +1 -1
- package/package.json.bak +0 -29
package/getAlerts.js
ADDED
|
@@ -0,0 +1,117 @@
|
|
|
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.getAlertsOutput = exports.getAlerts = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Alerts data source
|
|
33
|
+
*
|
|
34
|
+
* ## Example Usage
|
|
35
|
+
*
|
|
36
|
+
* ```typescript
|
|
37
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
38
|
+
* import * as astronomer from "@ryan-pip/pulumi_astronomer";
|
|
39
|
+
*
|
|
40
|
+
* const exampleAlerts = astronomer.getAlerts({});
|
|
41
|
+
* const alertIdsExample = astronomer.getAlerts({
|
|
42
|
+
* alertIds: ["cm4ntm56001gk01mbhudv1elv"],
|
|
43
|
+
* });
|
|
44
|
+
* const workspaceIdsExample = astronomer.getAlerts({
|
|
45
|
+
* workspaceIds: ["clx42sxw501gl01o0gjenthnh"],
|
|
46
|
+
* });
|
|
47
|
+
* const deploymentIdsExample = astronomer.getAlerts({
|
|
48
|
+
* deploymentIds: ["clx44jyu001m201m5dzsbexqr"],
|
|
49
|
+
* });
|
|
50
|
+
* const alertTypesExample = astronomer.getAlerts({
|
|
51
|
+
* alertTypes: [
|
|
52
|
+
* "DAG_FAILURE",
|
|
53
|
+
* "DAG_SUCCESS",
|
|
54
|
+
* ],
|
|
55
|
+
* });
|
|
56
|
+
* const entityTypeExample = astronomer.getAlerts({
|
|
57
|
+
* entityType: "DEPLOYMENT",
|
|
58
|
+
* });
|
|
59
|
+
* export const alerts = exampleAlerts;
|
|
60
|
+
* ```
|
|
61
|
+
*/
|
|
62
|
+
function getAlerts(args, opts) {
|
|
63
|
+
args = args || {};
|
|
64
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
65
|
+
return pulumi.runtime.invoke("astronomer:index/getAlerts:getAlerts", {
|
|
66
|
+
"alertIds": args.alertIds,
|
|
67
|
+
"alertTypes": args.alertTypes,
|
|
68
|
+
"deploymentIds": args.deploymentIds,
|
|
69
|
+
"entityType": args.entityType,
|
|
70
|
+
"workspaceIds": args.workspaceIds,
|
|
71
|
+
}, opts);
|
|
72
|
+
}
|
|
73
|
+
exports.getAlerts = getAlerts;
|
|
74
|
+
/**
|
|
75
|
+
* Alerts data source
|
|
76
|
+
*
|
|
77
|
+
* ## Example Usage
|
|
78
|
+
*
|
|
79
|
+
* ```typescript
|
|
80
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
81
|
+
* import * as astronomer from "@ryan-pip/pulumi_astronomer";
|
|
82
|
+
*
|
|
83
|
+
* const exampleAlerts = astronomer.getAlerts({});
|
|
84
|
+
* const alertIdsExample = astronomer.getAlerts({
|
|
85
|
+
* alertIds: ["cm4ntm56001gk01mbhudv1elv"],
|
|
86
|
+
* });
|
|
87
|
+
* const workspaceIdsExample = astronomer.getAlerts({
|
|
88
|
+
* workspaceIds: ["clx42sxw501gl01o0gjenthnh"],
|
|
89
|
+
* });
|
|
90
|
+
* const deploymentIdsExample = astronomer.getAlerts({
|
|
91
|
+
* deploymentIds: ["clx44jyu001m201m5dzsbexqr"],
|
|
92
|
+
* });
|
|
93
|
+
* const alertTypesExample = astronomer.getAlerts({
|
|
94
|
+
* alertTypes: [
|
|
95
|
+
* "DAG_FAILURE",
|
|
96
|
+
* "DAG_SUCCESS",
|
|
97
|
+
* ],
|
|
98
|
+
* });
|
|
99
|
+
* const entityTypeExample = astronomer.getAlerts({
|
|
100
|
+
* entityType: "DEPLOYMENT",
|
|
101
|
+
* });
|
|
102
|
+
* export const alerts = exampleAlerts;
|
|
103
|
+
* ```
|
|
104
|
+
*/
|
|
105
|
+
function getAlertsOutput(args, opts) {
|
|
106
|
+
args = args || {};
|
|
107
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
108
|
+
return pulumi.runtime.invokeOutput("astronomer:index/getAlerts:getAlerts", {
|
|
109
|
+
"alertIds": args.alertIds,
|
|
110
|
+
"alertTypes": args.alertTypes,
|
|
111
|
+
"deploymentIds": args.deploymentIds,
|
|
112
|
+
"entityType": args.entityType,
|
|
113
|
+
"workspaceIds": args.workspaceIds,
|
|
114
|
+
}, opts);
|
|
115
|
+
}
|
|
116
|
+
exports.getAlertsOutput = getAlertsOutput;
|
|
117
|
+
//# sourceMappingURL=getAlerts.js.map
|
package/getAlerts.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAlerts.js","sourceRoot":"","sources":["../getAlerts.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,SAAgB,SAAS,CAAC,IAAoB,EAAE,IAA2B;IACvE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sCAAsC,EAAE;QACjE,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,8BAUC;AA4BD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,SAAgB,eAAe,CAAC,IAA0B,EAAE,IAAiC;IACzF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,sCAAsC,EAAE;QACvE,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,0CAUC"}
|
package/getApiToken.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ import * as outputs from "./types/output";
|
|
|
7
7
|
*
|
|
8
8
|
* ```typescript
|
|
9
9
|
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
-
* import * as astronomer from "@
|
|
10
|
+
* import * as astronomer from "@ryan-pip/pulumi_astronomer";
|
|
11
11
|
*
|
|
12
12
|
* const exampleApiToken = astronomer.getApiToken({
|
|
13
13
|
* id: "clxm4836f00ql01me3nigmcr6",
|
|
@@ -93,7 +93,7 @@ export interface GetApiTokenResult {
|
|
|
93
93
|
*
|
|
94
94
|
* ```typescript
|
|
95
95
|
* import * as pulumi from "@pulumi/pulumi";
|
|
96
|
-
* import * as astronomer from "@
|
|
96
|
+
* import * as astronomer from "@ryan-pip/pulumi_astronomer";
|
|
97
97
|
*
|
|
98
98
|
* const exampleApiToken = astronomer.getApiToken({
|
|
99
99
|
* id: "clxm4836f00ql01me3nigmcr6",
|
|
@@ -111,3 +111,4 @@ export interface GetApiTokenOutputArgs {
|
|
|
111
111
|
*/
|
|
112
112
|
id: pulumi.Input<string>;
|
|
113
113
|
}
|
|
114
|
+
//# sourceMappingURL=getApiToken.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getApiToken.d.ts","sourceRoot":"","sources":["../getApiToken.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,WAAW,CAAC,IAAI,EAAE,eAAe,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,iBAAiB,CAA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AAM,CAAC,CAAC;CAC5B"}
|
package/getApiToken.js
CHANGED
|
@@ -1,10 +1,33 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// *** WARNING: this file was generated by
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
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
|
+
};
|
|
4
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
28
|
exports.getApiTokenOutput = exports.getApiToken = void 0;
|
|
6
|
-
const pulumi = require("@pulumi/pulumi");
|
|
7
|
-
const utilities = require("./utilities");
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
8
31
|
/**
|
|
9
32
|
* API Token data source
|
|
10
33
|
*
|
|
@@ -12,7 +35,7 @@ const utilities = require("./utilities");
|
|
|
12
35
|
*
|
|
13
36
|
* ```typescript
|
|
14
37
|
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
-
* import * as astronomer from "@
|
|
38
|
+
* import * as astronomer from "@ryan-pip/pulumi_astronomer";
|
|
16
39
|
*
|
|
17
40
|
* const exampleApiToken = astronomer.getApiToken({
|
|
18
41
|
* id: "clxm4836f00ql01me3nigmcr6",
|
|
@@ -34,7 +57,7 @@ exports.getApiToken = getApiToken;
|
|
|
34
57
|
*
|
|
35
58
|
* ```typescript
|
|
36
59
|
* import * as pulumi from "@pulumi/pulumi";
|
|
37
|
-
* import * as astronomer from "@
|
|
60
|
+
* import * as astronomer from "@ryan-pip/pulumi_astronomer";
|
|
38
61
|
*
|
|
39
62
|
* const exampleApiToken = astronomer.getApiToken({
|
|
40
63
|
* id: "clxm4836f00ql01me3nigmcr6",
|
package/getApiToken.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getApiToken.js","sourceRoot":"","sources":["../getApiToken.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"getApiToken.js","sourceRoot":"","sources":["../getApiToken.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;GAcG;AACH,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;IAC1E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0CAA0C,EAAE;QACrE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,kCAKC;AAyED;;;;;;;;;;;;;;GAcG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAAiC;IAC5F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,0CAA0C,EAAE;QAC3E,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,8CAKC"}
|
package/getApiTokens.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ import * as outputs from "./types/output";
|
|
|
7
7
|
*
|
|
8
8
|
* ```typescript
|
|
9
9
|
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
-
* import * as astronomer from "@
|
|
10
|
+
* import * as astronomer from "@ryan-pip/pulumi_astronomer";
|
|
11
11
|
*
|
|
12
12
|
* const exampleApiTokens = astronomer.getApiTokens({});
|
|
13
13
|
* const organizationOnlyExample = astronomer.getApiTokens({
|
|
@@ -51,7 +51,7 @@ export interface GetApiTokensResult {
|
|
|
51
51
|
*
|
|
52
52
|
* ```typescript
|
|
53
53
|
* import * as pulumi from "@pulumi/pulumi";
|
|
54
|
-
* import * as astronomer from "@
|
|
54
|
+
* import * as astronomer from "@ryan-pip/pulumi_astronomer";
|
|
55
55
|
*
|
|
56
56
|
* const exampleApiTokens = astronomer.getApiTokens({});
|
|
57
57
|
* const organizationOnlyExample = astronomer.getApiTokens({
|
|
@@ -75,3 +75,4 @@ export interface GetApiTokensOutputArgs {
|
|
|
75
75
|
includeOnlyOrganizationTokens?: pulumi.Input<boolean>;
|
|
76
76
|
workspaceId?: pulumi.Input<string>;
|
|
77
77
|
}
|
|
78
|
+
//# sourceMappingURL=getApiTokens.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getApiTokens.d.ts","sourceRoot":"","sources":["../getApiTok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|
|
|
1
1
|
"use strict";
|
|
2
|
-
// *** WARNING: this file was generated by
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
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
|
+
};
|
|
4
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
28
|
exports.getApiTokensOutput = exports.getApiTokens = void 0;
|
|
6
|
-
const pulumi = require("@pulumi/pulumi");
|
|
7
|
-
const utilities = require("./utilities");
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
8
31
|
/**
|
|
9
32
|
* API Tokens data source
|
|
10
33
|
*
|
|
@@ -12,7 +35,7 @@ const utilities = require("./utilities");
|
|
|
12
35
|
*
|
|
13
36
|
* ```typescript
|
|
14
37
|
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
-
* import * as astronomer from "@
|
|
38
|
+
* import * as astronomer from "@ryan-pip/pulumi_astronomer";
|
|
16
39
|
*
|
|
17
40
|
* const exampleApiTokens = astronomer.getApiTokens({});
|
|
18
41
|
* const organizationOnlyExample = astronomer.getApiTokens({
|
|
@@ -44,7 +67,7 @@ exports.getApiTokens = getApiTokens;
|
|
|
44
67
|
*
|
|
45
68
|
* ```typescript
|
|
46
69
|
* import * as pulumi from "@pulumi/pulumi";
|
|
47
|
-
* import * as astronomer from "@
|
|
70
|
+
* import * as astronomer from "@ryan-pip/pulumi_astronomer";
|
|
48
71
|
*
|
|
49
72
|
* const exampleApiTokens = astronomer.getApiTokens({});
|
|
50
73
|
* const organizationOnlyExample = astronomer.getApiTokens({
|
package/getApiTokens.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getApiTokens.js","sourceRoot":"","sources":["../getApiTokens.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"getApiTokens.js","sourceRoot":"","sources":["../getApiTokens.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,SAAgB,YAAY,CAAC,IAAuB,EAAE,IAA2B;IAC7E,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4CAA4C,EAAE;QACvE,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,+BAA+B,EAAE,IAAI,CAAC,6BAA6B;QACnE,aAAa,EAAE,IAAI,CAAC,WAAW;KAClC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,oCAQC;AAwBD;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,SAAgB,kBAAkB,CAAC,IAA6B,EAAE,IAAiC;IAC/F,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,4CAA4C,EAAE;QAC7E,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,+BAA+B,EAAE,IAAI,CAAC,6BAA6B;QACnE,aAAa,EAAE,IAAI,CAAC,WAAW;KAClC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,gDAQC"}
|
package/getCluster.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ import * as outputs from "./types/output";
|
|
|
7
7
|
*
|
|
8
8
|
* ```typescript
|
|
9
9
|
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
-
* import * as astronomer from "@
|
|
10
|
+
* import * as astronomer from "@ryan-pip/pulumi_astronomer";
|
|
11
11
|
*
|
|
12
12
|
* const exampleCluster = astronomer.getCluster({
|
|
13
13
|
* id: "clozc036j01to01jrlgvueo8t",
|
|
@@ -30,7 +30,7 @@ export interface GetClusterArgs {
|
|
|
30
30
|
*/
|
|
31
31
|
export interface GetClusterResult {
|
|
32
32
|
/**
|
|
33
|
-
* Cluster cloud provider
|
|
33
|
+
* Cluster cloud provider. Allowed values: `AWS`, `GCP`, `AZURE`.
|
|
34
34
|
*/
|
|
35
35
|
readonly cloudProvider: string;
|
|
36
36
|
/**
|
|
@@ -41,6 +41,22 @@ export interface GetClusterResult {
|
|
|
41
41
|
* Cluster database instance type
|
|
42
42
|
*/
|
|
43
43
|
readonly dbInstanceType: string;
|
|
44
|
+
/**
|
|
45
|
+
* The secondary region for Disaster Recovery
|
|
46
|
+
*/
|
|
47
|
+
readonly drRegion: string;
|
|
48
|
+
/**
|
|
49
|
+
* Secondary CIDR for pod networking in the DR region (AWS only)
|
|
50
|
+
*/
|
|
51
|
+
readonly drSecondaryVpcCidr: string;
|
|
52
|
+
/**
|
|
53
|
+
* The VPC subnet range for the Disaster Recovery region
|
|
54
|
+
*/
|
|
55
|
+
readonly drVpcSubnetRange: string;
|
|
56
|
+
/**
|
|
57
|
+
* Whether S3 Replication Time Control is enabled for Disaster Recovery (AWS only)
|
|
58
|
+
*/
|
|
59
|
+
readonly enableReplicationTimeControl: boolean;
|
|
44
60
|
/**
|
|
45
61
|
* Cluster health status
|
|
46
62
|
*/
|
|
@@ -49,6 +65,14 @@ export interface GetClusterResult {
|
|
|
49
65
|
* Cluster identifier
|
|
50
66
|
*/
|
|
51
67
|
readonly id: string;
|
|
68
|
+
/**
|
|
69
|
+
* Whether Disaster Recovery is enabled on the cluster
|
|
70
|
+
*/
|
|
71
|
+
readonly isDrEnabled: boolean;
|
|
72
|
+
/**
|
|
73
|
+
* Whether the cluster is currently failed over to the DR region
|
|
74
|
+
*/
|
|
75
|
+
readonly isFailedOver: boolean;
|
|
52
76
|
/**
|
|
53
77
|
* Whether the cluster is limited
|
|
54
78
|
*/
|
|
@@ -121,7 +145,7 @@ export interface GetClusterResult {
|
|
|
121
145
|
*
|
|
122
146
|
* ```typescript
|
|
123
147
|
* import * as pulumi from "@pulumi/pulumi";
|
|
124
|
-
* import * as astronomer from "@
|
|
148
|
+
* import * as astronomer from "@ryan-pip/pulumi_astronomer";
|
|
125
149
|
*
|
|
126
150
|
* const exampleCluster = astronomer.getCluster({
|
|
127
151
|
* id: "clozc036j01to01jrlgvueo8t",
|
|
@@ -139,3 +163,4 @@ export interface GetClusterOutputArgs {
|
|
|
139
163
|
*/
|
|
140
164
|
id: pulumi.Input<string>;
|
|
141
165
|
}
|
|
166
|
+
//# sourceMappingURL=getCluster.d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2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
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
|
+
};
|
|
4
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
28
|
exports.getClusterOutput = exports.getCluster = void 0;
|
|
6
|
-
const pulumi = require("@pulumi/pulumi");
|
|
7
|
-
const utilities = require("./utilities");
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
8
31
|
/**
|
|
9
32
|
* Cluster data source
|
|
10
33
|
*
|
|
@@ -12,7 +35,7 @@ const utilities = require("./utilities");
|
|
|
12
35
|
*
|
|
13
36
|
* ```typescript
|
|
14
37
|
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
-
* import * as astronomer from "@
|
|
38
|
+
* import * as astronomer from "@ryan-pip/pulumi_astronomer";
|
|
16
39
|
*
|
|
17
40
|
* const exampleCluster = astronomer.getCluster({
|
|
18
41
|
* id: "clozc036j01to01jrlgvueo8t",
|
|
@@ -34,7 +57,7 @@ exports.getCluster = getCluster;
|
|
|
34
57
|
*
|
|
35
58
|
* ```typescript
|
|
36
59
|
* import * as pulumi from "@pulumi/pulumi";
|
|
37
|
-
* import * as astronomer from "@
|
|
60
|
+
* import * as astronomer from "@ryan-pip/pulumi_astronomer";
|
|
38
61
|
*
|
|
39
62
|
* const exampleCluster = astronomer.getCluster({
|
|
40
63
|
* id: "clozc036j01to01jrlgvueo8t",
|
package/getCluster.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getCluster.js","sourceRoot":"","sources":["../getCluster.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"getCluster.js","sourceRoot":"","sources":["../getCluster.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;GAcG;AACH,SAAgB,UAAU,CAAC,IAAoB,EAAE,IAA2B;IACxE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wCAAwC,EAAE;QACnE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,gCAKC;AA6HD;;;;;;;;;;;;;;GAcG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAAiC;IAC1F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,wCAAwC,EAAE;QACzE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,4CAKC"}
|
package/getClusterOptions.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ import * as outputs from "./types/output";
|
|
|
7
7
|
*
|
|
8
8
|
* ```typescript
|
|
9
9
|
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
-
* import * as astronomer from "@
|
|
10
|
+
* import * as astronomer from "@ryan-pip/pulumi_astronomer";
|
|
11
11
|
*
|
|
12
12
|
* const exampleClusterOptions = astronomer.getClusterOptions({
|
|
13
13
|
* type: "HYBRID",
|
|
@@ -24,6 +24,9 @@ export declare function getClusterOptions(args: GetClusterOptionsArgs, opts?: pu
|
|
|
24
24
|
* A collection of arguments for invoking getClusterOptions.
|
|
25
25
|
*/
|
|
26
26
|
export interface GetClusterOptionsArgs {
|
|
27
|
+
/**
|
|
28
|
+
* ClusterOptions cloud provider. Allowed values: `AWS`, `GCP`, `AZURE`.
|
|
29
|
+
*/
|
|
27
30
|
cloudProvider?: string;
|
|
28
31
|
type: string;
|
|
29
32
|
}
|
|
@@ -31,6 +34,9 @@ export interface GetClusterOptionsArgs {
|
|
|
31
34
|
* A collection of values returned by getClusterOptions.
|
|
32
35
|
*/
|
|
33
36
|
export interface GetClusterOptionsResult {
|
|
37
|
+
/**
|
|
38
|
+
* ClusterOptions cloud provider. Allowed values: `AWS`, `GCP`, `AZURE`.
|
|
39
|
+
*/
|
|
34
40
|
readonly cloudProvider?: string;
|
|
35
41
|
readonly clusterOptions: outputs.GetClusterOptionsClusterOption[];
|
|
36
42
|
/**
|
|
@@ -46,7 +52,7 @@ export interface GetClusterOptionsResult {
|
|
|
46
52
|
*
|
|
47
53
|
* ```typescript
|
|
48
54
|
* import * as pulumi from "@pulumi/pulumi";
|
|
49
|
-
* import * as astronomer from "@
|
|
55
|
+
* import * as astronomer from "@ryan-pip/pulumi_astronomer";
|
|
50
56
|
*
|
|
51
57
|
* const exampleClusterOptions = astronomer.getClusterOptions({
|
|
52
58
|
* type: "HYBRID",
|
|
@@ -63,6 +69,10 @@ export declare function getClusterOptionsOutput(args: GetClusterOptionsOutputArg
|
|
|
63
69
|
* A collection of arguments for invoking getClusterOptions.
|
|
64
70
|
*/
|
|
65
71
|
export interface GetClusterOptionsOutputArgs {
|
|
72
|
+
/**
|
|
73
|
+
* ClusterOptions cloud provider. Allowed values: `AWS`, `GCP`, `AZURE`.
|
|
74
|
+
*/
|
|
66
75
|
cloudProvider?: pulumi.Input<string>;
|
|
67
76
|
type: pulumi.Input<string>;
|
|
68
77
|
}
|
|
78
|
+
//# sourceMappingURL=getClusterOptions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getClusterOptions.d.ts","sourceRoot":"","sources":["../getClusterOptions.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,qBAAqB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,uBAAuB,CAAC,CAM5H;AAED;;GAEG;AACH,MAAM,WAAW,qBAAqB;IAClC;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,IAAI,EAAE,MAAM,CAAC;CAChB;AAED;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACpC;;OAEG;IACH,QAAQ,CAAC,aAAa,CAAC,EAAE,MAAM,CAAC;IAChC,QAAQ,CAAC,cAAc,EAAE,OAAO,CAAC,8BAA8B,EAAE,CAAC;IAClE;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;CACzB;AACD;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,2BAA2B,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,uBAAuB,CAAC,CAMpJ;AAED;;GAEG;AACH,MAAM,WAAW,2BAA2B;IACxC;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACrC,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAC9B"}
|
package/getClusterOptions.js
CHANGED
|
@@ -1,10 +1,33 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// *** WARNING: this file was generated by
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
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
|
+
};
|
|
4
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
28
|
exports.getClusterOptionsOutput = exports.getClusterOptions = void 0;
|
|
6
|
-
const pulumi = require("@pulumi/pulumi");
|
|
7
|
-
const utilities = require("./utilities");
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
8
31
|
/**
|
|
9
32
|
* ClusterOptions data source
|
|
10
33
|
*
|
|
@@ -12,7 +35,7 @@ const utilities = require("./utilities");
|
|
|
12
35
|
*
|
|
13
36
|
* ```typescript
|
|
14
37
|
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
-
* import * as astronomer from "@
|
|
38
|
+
* import * as astronomer from "@ryan-pip/pulumi_astronomer";
|
|
16
39
|
*
|
|
17
40
|
* const exampleClusterOptions = astronomer.getClusterOptions({
|
|
18
41
|
* type: "HYBRID",
|
|
@@ -39,7 +62,7 @@ exports.getClusterOptions = getClusterOptions;
|
|
|
39
62
|
*
|
|
40
63
|
* ```typescript
|
|
41
64
|
* import * as pulumi from "@pulumi/pulumi";
|
|
42
|
-
* import * as astronomer from "@
|
|
65
|
+
* import * as astronomer from "@ryan-pip/pulumi_astronomer";
|
|
43
66
|
*
|
|
44
67
|
* const exampleClusterOptions = astronomer.getClusterOptions({
|
|
45
68
|
* type: "HYBRID",
|
package/getClusterOptions.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getClusterOptions.js","sourceRoot":"","sources":["../getClusterOptions.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"getClusterOptions.js","sourceRoot":"","sources":["../getClusterOptions.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IACtF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sDAAsD,EAAE;QACjF,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,8CAMC;AA4BD;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,uBAAuB,CAAC,IAAiC,EAAE,IAAiC;IACxG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,sDAAsD,EAAE;QACvF,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,0DAMC"}
|
package/getClusters.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ import * as outputs from "./types/output";
|
|
|
7
7
|
*
|
|
8
8
|
* ```typescript
|
|
9
9
|
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
-
* import * as astronomer from "@
|
|
10
|
+
* import * as astronomer from "@ryan-pip/pulumi_astronomer";
|
|
11
11
|
*
|
|
12
12
|
* const exampleClusters = astronomer.getClusters({});
|
|
13
13
|
* const exampleClustersFilterByNames = astronomer.getClusters({
|
|
@@ -24,6 +24,9 @@ export declare function getClusters(args?: GetClustersArgs, opts?: pulumi.Invoke
|
|
|
24
24
|
* A collection of arguments for invoking getClusters.
|
|
25
25
|
*/
|
|
26
26
|
export interface GetClustersArgs {
|
|
27
|
+
/**
|
|
28
|
+
* Clusters cloud provider. Allowed values: `AWS`, `GCP`, `AZURE`.
|
|
29
|
+
*/
|
|
27
30
|
cloudProvider?: string;
|
|
28
31
|
names?: string[];
|
|
29
32
|
}
|
|
@@ -31,6 +34,9 @@ export interface GetClustersArgs {
|
|
|
31
34
|
* A collection of values returned by getClusters.
|
|
32
35
|
*/
|
|
33
36
|
export interface GetClustersResult {
|
|
37
|
+
/**
|
|
38
|
+
* Clusters cloud provider. Allowed values: `AWS`, `GCP`, `AZURE`.
|
|
39
|
+
*/
|
|
34
40
|
readonly cloudProvider?: string;
|
|
35
41
|
readonly clusters: outputs.GetClustersCluster[];
|
|
36
42
|
/**
|
|
@@ -46,7 +52,7 @@ export interface GetClustersResult {
|
|
|
46
52
|
*
|
|
47
53
|
* ```typescript
|
|
48
54
|
* import * as pulumi from "@pulumi/pulumi";
|
|
49
|
-
* import * as astronomer from "@
|
|
55
|
+
* import * as astronomer from "@ryan-pip/pulumi_astronomer";
|
|
50
56
|
*
|
|
51
57
|
* const exampleClusters = astronomer.getClusters({});
|
|
52
58
|
* const exampleClustersFilterByNames = astronomer.getClusters({
|
|
@@ -63,6 +69,10 @@ export declare function getClustersOutput(args?: GetClustersOutputArgs, opts?: p
|
|
|
63
69
|
* A collection of arguments for invoking getClusters.
|
|
64
70
|
*/
|
|
65
71
|
export interface GetClustersOutputArgs {
|
|
72
|
+
/**
|
|
73
|
+
* Clusters cloud provider. Allowed values: `AWS`, `GCP`, `AZURE`.
|
|
74
|
+
*/
|
|
66
75
|
cloudProvider?: pulumi.Input<string>;
|
|
67
76
|
names?: pulumi.Input<pulumi.Input<string>[]>;
|
|
68
77
|
}
|
|
78
|
+
//# sourceMappingURL=getClusters.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getClusters.d.ts","sourceRoot":"","sources":["../getClusters.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