@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/getTeams.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.getTeamsOutput = exports.getTeams = 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
|
* Teams data source
|
|
10
33
|
*
|
|
@@ -12,16 +35,20 @@ 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
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
40
|
+
* export = async () => {
|
|
41
|
+
* const exampleTeams = await astronomer.getTeams({});
|
|
42
|
+
* const exampleTeamsFilterByNames = await astronomer.getTeams({
|
|
43
|
+
* names: [
|
|
44
|
+
* "my first team",
|
|
45
|
+
* "my second team",
|
|
46
|
+
* ],
|
|
47
|
+
* });
|
|
48
|
+
* return {
|
|
49
|
+
* exampleTeams: exampleTeams,
|
|
50
|
+
* };
|
|
51
|
+
* }
|
|
25
52
|
* ```
|
|
26
53
|
*/
|
|
27
54
|
function getTeams(args, opts) {
|
|
@@ -39,16 +66,20 @@ exports.getTeams = getTeams;
|
|
|
39
66
|
*
|
|
40
67
|
* ```typescript
|
|
41
68
|
* import * as pulumi from "@pulumi/pulumi";
|
|
42
|
-
* import * as astronomer from "@
|
|
69
|
+
* import * as astronomer from "@ryan-pip/pulumi_astronomer";
|
|
43
70
|
*
|
|
44
|
-
*
|
|
45
|
-
*
|
|
46
|
-
*
|
|
47
|
-
*
|
|
48
|
-
*
|
|
49
|
-
*
|
|
50
|
-
*
|
|
51
|
-
*
|
|
71
|
+
* export = async () => {
|
|
72
|
+
* const exampleTeams = await astronomer.getTeams({});
|
|
73
|
+
* const exampleTeamsFilterByNames = await astronomer.getTeams({
|
|
74
|
+
* names: [
|
|
75
|
+
* "my first team",
|
|
76
|
+
* "my second team",
|
|
77
|
+
* ],
|
|
78
|
+
* });
|
|
79
|
+
* return {
|
|
80
|
+
* exampleTeams: exampleTeams,
|
|
81
|
+
* };
|
|
82
|
+
* }
|
|
52
83
|
* ```
|
|
53
84
|
*/
|
|
54
85
|
function getTeamsOutput(args, opts) {
|
package/getTeams.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getTeams.js","sourceRoot":"","sources":["../getTeams.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"getTeams.js","sourceRoot":"","sources":["../getTeams.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,SAAgB,QAAQ,CAAC,IAAmB,EAAE,IAA2B;IACrE,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,oCAAoC,EAAE;QAC/D,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,4BAMC;AAoBD;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,SAAgB,cAAc,CAAC,IAAyB,EAAE,IAAiC;IACvF,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,oCAAoC,EAAE;QACrE,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,wCAMC"}
|
package/getUser.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 exampleUser = astronomer.getUser({
|
|
13
13
|
* id: "clhpichn8002m01mqa4ocs7g6",
|
|
@@ -37,6 +37,10 @@ export interface GetUserResult {
|
|
|
37
37
|
* User creation timestamp
|
|
38
38
|
*/
|
|
39
39
|
readonly createdAt: string;
|
|
40
|
+
/**
|
|
41
|
+
* The DAG roles assigned to the user
|
|
42
|
+
*/
|
|
43
|
+
readonly dagRoles: outputs.GetUserDagRole[];
|
|
40
44
|
/**
|
|
41
45
|
* The roles assigned to the deployments
|
|
42
46
|
*/
|
|
@@ -77,7 +81,7 @@ export interface GetUserResult {
|
|
|
77
81
|
*
|
|
78
82
|
* ```typescript
|
|
79
83
|
* import * as pulumi from "@pulumi/pulumi";
|
|
80
|
-
* import * as astronomer from "@
|
|
84
|
+
* import * as astronomer from "@ryan-pip/pulumi_astronomer";
|
|
81
85
|
*
|
|
82
86
|
* const exampleUser = astronomer.getUser({
|
|
83
87
|
* id: "clhpichn8002m01mqa4ocs7g6",
|
|
@@ -95,3 +99,4 @@ export interface GetUserOutputArgs {
|
|
|
95
99
|
*/
|
|
96
100
|
id: pulumi.Input<string>;
|
|
97
101
|
}
|
|
102
|
+
//# sourceMappingURL=getUser.d.ts.map
|
package/getUser.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getUser.d.ts","sourceRoot":"","sources":["../getUser.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,OAAO,CAAC,IAAI,EAAE,WAAW,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,aAAa,CAAC,CAK9F;AAED;;GAEG;AACH,MAAM,WAAW,WAAW;IACxB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;CACd;AAED;;GAEG;AACH,MAAM,WAAW,aAAa;IAC1B;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAC,cAAc,EAAE,CAAC;IAC5C;;OAEG;IACH,QAAQ,CAAC,eAAe,EAAE,OAAO,CAAC,qBAAqB,EAAE,CAAC;IAC1D;;OAEG;IACH,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,gBAAgB,EAAE,MAAM,CAAC;IAClC;;OAEG;IACH,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B;;OAEG;IACH,QAAQ,CAAC,cAAc,EAAE,OAAO,CAAC,oBAAoB,EAAE,CAAC;CAC3D;AACD;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,aAAa,CAAC,IAAI,EAAE,iBAAiB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,aAAa,CAAC,CAKtH;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAC9B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAC5B"}
|
package/getUser.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.getUserOutput = exports.getUser = 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
|
* User 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 exampleUser = astronomer.getUser({
|
|
18
41
|
* id: "clhpichn8002m01mqa4ocs7g6",
|
|
@@ -34,7 +57,7 @@ exports.getUser = getUser;
|
|
|
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 exampleUser = astronomer.getUser({
|
|
40
63
|
* id: "clhpichn8002m01mqa4ocs7g6",
|
package/getUser.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getUser.js","sourceRoot":"","sources":["../getUser.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"getUser.js","sourceRoot":"","sources":["../getUser.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;GAcG;AACH,SAAgB,OAAO,CAAC,IAAiB,EAAE,IAA2B;IAClE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kCAAkC,EAAE;QAC7D,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,0BAKC;AA6DD;;;;;;;;;;;;;;GAcG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAAiC;IACpF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,kCAAkC,EAAE;QACnE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,sCAKC"}
|
package/getUsers.d.ts
CHANGED
|
@@ -7,16 +7,20 @@ 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
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
12
|
+
* export = async () => {
|
|
13
|
+
* const exampleUsers = await astronomer.getUsers({});
|
|
14
|
+
* const exampleUsersFilterByWorkspaceId = await astronomer.getUsers({
|
|
15
|
+
* workspaceId: "clx42sxw501gl01o0gjenthnh",
|
|
16
|
+
* });
|
|
17
|
+
* const exampleUsersFilterByDeploymentId = await astronomer.getUsers({
|
|
18
|
+
* deploymentId: "clx44jyu001m201m5dzsbexqr",
|
|
19
|
+
* });
|
|
20
|
+
* return {
|
|
21
|
+
* exampleUsers: exampleUsers,
|
|
22
|
+
* };
|
|
23
|
+
* }
|
|
20
24
|
* ```
|
|
21
25
|
*/
|
|
22
26
|
export declare function getUsers(args?: GetUsersArgs, opts?: pulumi.InvokeOptions): Promise<GetUsersResult>;
|
|
@@ -46,16 +50,20 @@ export interface GetUsersResult {
|
|
|
46
50
|
*
|
|
47
51
|
* ```typescript
|
|
48
52
|
* import * as pulumi from "@pulumi/pulumi";
|
|
49
|
-
* import * as astronomer from "@
|
|
53
|
+
* import * as astronomer from "@ryan-pip/pulumi_astronomer";
|
|
50
54
|
*
|
|
51
|
-
*
|
|
52
|
-
*
|
|
53
|
-
*
|
|
54
|
-
*
|
|
55
|
-
*
|
|
56
|
-
*
|
|
57
|
-
*
|
|
58
|
-
*
|
|
55
|
+
* export = async () => {
|
|
56
|
+
* const exampleUsers = await astronomer.getUsers({});
|
|
57
|
+
* const exampleUsersFilterByWorkspaceId = await astronomer.getUsers({
|
|
58
|
+
* workspaceId: "clx42sxw501gl01o0gjenthnh",
|
|
59
|
+
* });
|
|
60
|
+
* const exampleUsersFilterByDeploymentId = await astronomer.getUsers({
|
|
61
|
+
* deploymentId: "clx44jyu001m201m5dzsbexqr",
|
|
62
|
+
* });
|
|
63
|
+
* return {
|
|
64
|
+
* exampleUsers: exampleUsers,
|
|
65
|
+
* };
|
|
66
|
+
* }
|
|
59
67
|
* ```
|
|
60
68
|
*/
|
|
61
69
|
export declare function getUsersOutput(args?: GetUsersOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetUsersResult>;
|
|
@@ -66,3 +74,4 @@ export interface GetUsersOutputArgs {
|
|
|
66
74
|
deploymentId?: pulumi.Input<string>;
|
|
67
75
|
workspaceId?: pulumi.Input<string>;
|
|
68
76
|
}
|
|
77
|
+
//# sourceMappingURL=getUsers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getUsers.d.ts","sourceRoot":"","sources":["../getUsers.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,QAAQ,CAAC,IAAI,CAAC,EAAE,YAAY,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,cAAc,CAAC,CAOlG;AAED;;GAEG;AACH,MAAM,WAAW,YAAY;IACzB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB;AAED;;GAEG;AACH,MAAM,WAAW,cAAc;IAC3B,QAAQ,CAAC,YAAY,CAAC,EAAE,MAAM,CAAC;IAC/B;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAC,YAAY,EAAE,CAAC;IACvC,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;CACjC;AACD;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,cAAc,CAAC,IAAI,CAAC,EAAE,kBAAkB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,cAAc,CAAC,CAO1H;AAED;;GAEG;AACH,MAAM,WAAW,kBAAkB;IAC/B,YAAY,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACpC,WAAW,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CACtC"}
|
package/getUsers.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.getUsersOutput = exports.getUsers = 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
|
* Users data source
|
|
10
33
|
*
|
|
@@ -12,16 +35,20 @@ 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
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
40
|
+
* export = async () => {
|
|
41
|
+
* const exampleUsers = await astronomer.getUsers({});
|
|
42
|
+
* const exampleUsersFilterByWorkspaceId = await astronomer.getUsers({
|
|
43
|
+
* workspaceId: "clx42sxw501gl01o0gjenthnh",
|
|
44
|
+
* });
|
|
45
|
+
* const exampleUsersFilterByDeploymentId = await astronomer.getUsers({
|
|
46
|
+
* deploymentId: "clx44jyu001m201m5dzsbexqr",
|
|
47
|
+
* });
|
|
48
|
+
* return {
|
|
49
|
+
* exampleUsers: exampleUsers,
|
|
50
|
+
* };
|
|
51
|
+
* }
|
|
25
52
|
* ```
|
|
26
53
|
*/
|
|
27
54
|
function getUsers(args, opts) {
|
|
@@ -40,16 +67,20 @@ exports.getUsers = getUsers;
|
|
|
40
67
|
*
|
|
41
68
|
* ```typescript
|
|
42
69
|
* import * as pulumi from "@pulumi/pulumi";
|
|
43
|
-
* import * as astronomer from "@
|
|
70
|
+
* import * as astronomer from "@ryan-pip/pulumi_astronomer";
|
|
44
71
|
*
|
|
45
|
-
*
|
|
46
|
-
*
|
|
47
|
-
*
|
|
48
|
-
*
|
|
49
|
-
*
|
|
50
|
-
*
|
|
51
|
-
*
|
|
52
|
-
*
|
|
72
|
+
* export = async () => {
|
|
73
|
+
* const exampleUsers = await astronomer.getUsers({});
|
|
74
|
+
* const exampleUsersFilterByWorkspaceId = await astronomer.getUsers({
|
|
75
|
+
* workspaceId: "clx42sxw501gl01o0gjenthnh",
|
|
76
|
+
* });
|
|
77
|
+
* const exampleUsersFilterByDeploymentId = await astronomer.getUsers({
|
|
78
|
+
* deploymentId: "clx44jyu001m201m5dzsbexqr",
|
|
79
|
+
* });
|
|
80
|
+
* return {
|
|
81
|
+
* exampleUsers: exampleUsers,
|
|
82
|
+
* };
|
|
83
|
+
* }
|
|
53
84
|
* ```
|
|
54
85
|
*/
|
|
55
86
|
function getUsersOutput(args, opts) {
|
package/getUsers.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getUsers.js","sourceRoot":"","sources":["../getUsers.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"getUsers.js","sourceRoot":"","sources":["../getUsers.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,SAAgB,QAAQ,CAAC,IAAmB,EAAE,IAA2B;IACrE,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,oCAAoC,EAAE;QAC/D,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,aAAa,EAAE,IAAI,CAAC,WAAW;KAClC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,4BAOC;AAsBD;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,SAAgB,cAAc,CAAC,IAAyB,EAAE,IAAiC;IACvF,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,oCAAoC,EAAE;QACrE,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,aAAa,EAAE,IAAI,CAAC,WAAW;KAClC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,wCAOC"}
|
package/getWorkspace.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 exampleWorkspace = astronomer.getWorkspace({
|
|
13
13
|
* id: "clozc036j01to01jrlgvueo8t",
|
|
@@ -69,7 +69,7 @@ export interface GetWorkspaceResult {
|
|
|
69
69
|
*
|
|
70
70
|
* ```typescript
|
|
71
71
|
* import * as pulumi from "@pulumi/pulumi";
|
|
72
|
-
* import * as astronomer from "@
|
|
72
|
+
* import * as astronomer from "@ryan-pip/pulumi_astronomer";
|
|
73
73
|
*
|
|
74
74
|
* const exampleWorkspace = astronomer.getWorkspace({
|
|
75
75
|
* id: "clozc036j01to01jrlgvueo8t",
|
|
@@ -87,3 +87,4 @@ export interface GetWorkspaceOutputArgs {
|
|
|
87
87
|
*/
|
|
88
88
|
id: pulumi.Input<string>;
|
|
89
89
|
}
|
|
90
|
+
//# sourceMappingURL=getWorkspace.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getWorkspace.d.ts","sourceRoot":"","sources":["../getWorkspace.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,YAAY,CAAC,IAAI,EAAE,gBAAgB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,kBAAkB,CAAC,CAK7G;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC7B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;CACd;AAED;;GAEG;AACH,MAAM,WAAW,kBAAkB;IAC/B;;OAEG;IACH,QAAQ,CAAC,mBAAmB,EAAE,OAAO,CAAC;IACtC;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC,qBAAqB,CAAC;IAClD;;OAEG;IACH,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC,qBAAqB,CAAC;CACrD;AACD;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,sBAAsB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,kBAAkB,CAAC,CAKrI;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACnC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAC5B"}
|
package/getWorkspace.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.getWorkspaceOutput = exports.getWorkspace = 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
|
* Workspace 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 exampleWorkspace = astronomer.getWorkspace({
|
|
18
41
|
* id: "clozc036j01to01jrlgvueo8t",
|
|
@@ -34,7 +57,7 @@ exports.getWorkspace = getWorkspace;
|
|
|
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 exampleWorkspace = astronomer.getWorkspace({
|
|
40
63
|
* id: "clozc036j01to01jrlgvueo8t",
|
package/getWorkspace.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getWorkspace.js","sourceRoot":"","sources":["../getWorkspace.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"getWorkspace.js","sourceRoot":"","sources":["../getWorkspace.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;GAcG;AACH,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAA2B;IAC5E,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,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,oCAKC;AAiDD;;;;;;;;;;;;;;GAcG;AACH,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAAiC;IAC9F,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,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,gDAKC"}
|
package/getWorkspaces.d.ts
CHANGED
|
@@ -7,22 +7,26 @@ 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
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
*
|
|
12
|
+
* export = async () => {
|
|
13
|
+
* const exampleWorkspaces = await astronomer.getWorkspaces({});
|
|
14
|
+
* const exampleWorkspacesFilterByWorkspaceIds = await astronomer.getWorkspaces({
|
|
15
|
+
* workspaceIds: [
|
|
16
|
+
* "clozc036j01to01jrlgvueo8t",
|
|
17
|
+
* "clozc036j01to01jrlgvueo81",
|
|
18
|
+
* ],
|
|
19
|
+
* });
|
|
20
|
+
* const exampleWorkspacesFilterByNames = await astronomer.getWorkspaces({
|
|
21
|
+
* names: [
|
|
22
|
+
* "my first workspace",
|
|
23
|
+
* "my second workspace",
|
|
24
|
+
* ],
|
|
25
|
+
* });
|
|
26
|
+
* return {
|
|
27
|
+
* exampleWorkspaces: exampleWorkspaces,
|
|
28
|
+
* };
|
|
29
|
+
* }
|
|
26
30
|
* ```
|
|
27
31
|
*/
|
|
28
32
|
export declare function getWorkspaces(args?: GetWorkspacesArgs, opts?: pulumi.InvokeOptions): Promise<GetWorkspacesResult>;
|
|
@@ -52,22 +56,26 @@ export interface GetWorkspacesResult {
|
|
|
52
56
|
*
|
|
53
57
|
* ```typescript
|
|
54
58
|
* import * as pulumi from "@pulumi/pulumi";
|
|
55
|
-
* import * as astronomer from "@
|
|
59
|
+
* import * as astronomer from "@ryan-pip/pulumi_astronomer";
|
|
56
60
|
*
|
|
57
|
-
*
|
|
58
|
-
*
|
|
59
|
-
*
|
|
60
|
-
*
|
|
61
|
-
*
|
|
62
|
-
*
|
|
63
|
-
*
|
|
64
|
-
*
|
|
65
|
-
*
|
|
66
|
-
*
|
|
67
|
-
*
|
|
68
|
-
*
|
|
69
|
-
*
|
|
70
|
-
*
|
|
61
|
+
* export = async () => {
|
|
62
|
+
* const exampleWorkspaces = await astronomer.getWorkspaces({});
|
|
63
|
+
* const exampleWorkspacesFilterByWorkspaceIds = await astronomer.getWorkspaces({
|
|
64
|
+
* workspaceIds: [
|
|
65
|
+
* "clozc036j01to01jrlgvueo8t",
|
|
66
|
+
* "clozc036j01to01jrlgvueo81",
|
|
67
|
+
* ],
|
|
68
|
+
* });
|
|
69
|
+
* const exampleWorkspacesFilterByNames = await astronomer.getWorkspaces({
|
|
70
|
+
* names: [
|
|
71
|
+
* "my first workspace",
|
|
72
|
+
* "my second workspace",
|
|
73
|
+
* ],
|
|
74
|
+
* });
|
|
75
|
+
* return {
|
|
76
|
+
* exampleWorkspaces: exampleWorkspaces,
|
|
77
|
+
* };
|
|
78
|
+
* }
|
|
71
79
|
* ```
|
|
72
80
|
*/
|
|
73
81
|
export declare function getWorkspacesOutput(args?: GetWorkspacesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetWorkspacesResult>;
|
|
@@ -78,3 +86,4 @@ export interface GetWorkspacesOutputArgs {
|
|
|
78
86
|
names?: pulumi.Input<pulumi.Input<string>[]>;
|
|
79
87
|
workspaceIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
80
88
|
}
|
|
89
|
+
//# sourceMappingURL=getWorkspaces.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getWorkspaces.d.ts","sourceRoot":"","sources":["../getWorkspaces.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,wBAAgB,aAAa,CAAC,IAAI,CAAC,EAAE,iBAAiB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAOjH;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAC9B,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IACjB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;CAC3B;AAED;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAChC;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IAC1B,QAAQ,CAAC,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACjC,QAAQ,CAAC,UAAU,EAAE,OAAO,CAAC,sBAAsB,EAAE,CAAC;CACzD;AACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,wBAAgB,mBAAmB,CAAC,IAAI,CAAC,EAAE,uBAAuB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,mBAAmB,CAAC,CAOzI;AAED;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACpC,KAAK,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;IAC7C,YAAY,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;CACvD"}
|