@ryan-pip/pulumi_astronomer 0.0.11 → 0.2.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.
- package/README.md +1 -2
- package/apiToken.d.ts +167 -0
- package/apiToken.js +86 -0
- package/apiToken.js.map +1 -0
- package/cluster.d.ts +110 -85
- package/cluster.js +51 -19
- package/cluster.js.map +1 -1
- package/config/vars.d.ts +6 -2
- package/config/vars.js +7 -1
- package/config/vars.js.map +1 -1
- package/deployment.d.ts +305 -90
- package/deployment.js +61 -21
- package/deployment.js.map +1 -1
- package/getApiToken.d.ts +113 -0
- package/getApiToken.js +49 -0
- package/getApiToken.js.map +1 -0
- package/getApiTokens.d.ts +77 -0
- package/getApiTokens.js +66 -0
- package/getApiTokens.js.map +1 -0
- package/getCluster.d.ts +46 -32
- package/getCluster.js +8 -6
- package/getCluster.js.map +1 -1
- package/getClusterOptions.d.ts +68 -0
- package/getClusterOptions.js +58 -0
- package/getClusterOptions.js.map +1 -0
- package/getClusters.d.ts +68 -0
- package/getClusters.js +59 -0
- package/getClusters.js.map +1 -0
- package/getDeployment.d.ts +198 -13
- package/getDeployment.js +26 -2
- package/getDeployment.js.map +1 -1
- package/getDeploymentOptions.d.ts +149 -0
- package/getDeploymentOptions.js +73 -0
- package/getDeploymentOptions.js.map +1 -0
- package/getDeployments.d.ts +77 -0
- package/getDeployments.js +66 -0
- package/getDeployments.js.map +1 -0
- package/getOrganization.d.ts +28 -46
- package/getOrganization.js +10 -15
- package/getOrganization.js.map +1 -1
- package/getTeam.d.ts +105 -0
- package/getTeam.js +49 -0
- package/getTeam.js.map +1 -0
- package/getTeams.d.ts +65 -0
- package/getTeams.js +58 -0
- package/getTeams.js.map +1 -0
- package/getUser.d.ts +97 -0
- package/getUser.js +49 -0
- package/getUser.js.map +1 -0
- package/getUsers.d.ts +68 -0
- package/getUsers.js +59 -0
- package/getUsers.js.map +1 -0
- package/getWorkspace.d.ts +31 -12
- package/getWorkspace.js +8 -6
- package/getWorkspace.js.map +1 -1
- package/getWorkspaces.d.ts +80 -0
- package/getWorkspaces.js +71 -0
- package/getWorkspaces.js.map +1 -0
- package/hybridClusterWorkspaceAuthorization.d.ts +82 -0
- package/hybridClusterWorkspaceAuthorization.js +76 -0
- package/hybridClusterWorkspaceAuthorization.js.map +1 -0
- package/index.d.ts +52 -1
- package/index.js +64 -1
- package/index.js.map +1 -1
- package/package.json +2 -2
- package/package.json.bak +1 -1
- package/provider.d.ts +13 -5
- package/provider.js +3 -2
- package/provider.js.map +1 -1
- package/team.d.ts +161 -0
- package/team.js +77 -0
- package/team.js.map +1 -0
- package/teamRoles.d.ts +89 -0
- package/teamRoles.js +64 -0
- package/teamRoles.js.map +1 -0
- package/types/input.d.ts +303 -17
- package/types/output.d.ts +1737 -33
- package/userInvite.d.ts +117 -0
- package/userInvite.js +82 -0
- package/userInvite.js.map +1 -0
- package/userRoles.d.ts +89 -0
- package/userRoles.js +64 -0
- package/userRoles.js.map +1 -0
- package/workspace.d.ts +55 -17
- package/workspace.js +21 -3
- package/workspace.js.map +1 -1
package/getOrganization.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import * as outputs from "./types/output";
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* Organization data source
|
|
5
5
|
*
|
|
6
6
|
* ## Example Usage
|
|
7
7
|
*
|
|
@@ -9,77 +9,70 @@ import * as outputs from "./types/output";
|
|
|
9
9
|
* import * as pulumi from "@pulumi/pulumi";
|
|
10
10
|
* import * as astronomer from "@pulumi/astronomer";
|
|
11
11
|
*
|
|
12
|
-
* const
|
|
13
|
-
*
|
|
14
|
-
* });
|
|
12
|
+
* const exampleOrganization = astronomer.getOrganization({});
|
|
13
|
+
* export const organization = exampleOrganization;
|
|
15
14
|
* ```
|
|
16
15
|
*/
|
|
17
|
-
export declare function getOrganization(
|
|
18
|
-
/**
|
|
19
|
-
* A collection of arguments for invoking getOrganization.
|
|
20
|
-
*/
|
|
21
|
-
export interface GetOrganizationArgs {
|
|
22
|
-
id: string;
|
|
23
|
-
/**
|
|
24
|
-
* Payment method (if set)
|
|
25
|
-
*/
|
|
26
|
-
paymentMethod?: string;
|
|
27
|
-
}
|
|
16
|
+
export declare function getOrganization(opts?: pulumi.InvokeOptions): Promise<GetOrganizationResult>;
|
|
28
17
|
/**
|
|
29
18
|
* A collection of values returned by getOrganization.
|
|
30
19
|
*/
|
|
31
20
|
export interface GetOrganizationResult {
|
|
32
21
|
/**
|
|
33
|
-
*
|
|
22
|
+
* Organization billing email
|
|
34
23
|
*/
|
|
35
24
|
readonly billingEmail: string;
|
|
36
25
|
/**
|
|
37
|
-
*
|
|
26
|
+
* Organization creation timestamp
|
|
38
27
|
*/
|
|
39
28
|
readonly createdAt: string;
|
|
40
29
|
/**
|
|
41
|
-
* Organization
|
|
30
|
+
* Organization creator
|
|
42
31
|
*/
|
|
43
|
-
readonly
|
|
32
|
+
readonly createdBy: outputs.GetOrganizationCreatedBy;
|
|
44
33
|
/**
|
|
45
|
-
*
|
|
34
|
+
* Organization identifier
|
|
46
35
|
*/
|
|
47
|
-
readonly
|
|
36
|
+
readonly id: string;
|
|
48
37
|
/**
|
|
49
|
-
*
|
|
38
|
+
* Whether SCIM is enabled for the organization
|
|
50
39
|
*/
|
|
51
|
-
readonly
|
|
40
|
+
readonly isScimEnabled: boolean;
|
|
52
41
|
/**
|
|
53
|
-
* Organization
|
|
42
|
+
* Organization name
|
|
54
43
|
*/
|
|
55
44
|
readonly name: string;
|
|
56
45
|
/**
|
|
57
|
-
*
|
|
46
|
+
* Organization payment method
|
|
58
47
|
*/
|
|
59
|
-
readonly paymentMethod
|
|
48
|
+
readonly paymentMethod: string;
|
|
60
49
|
/**
|
|
61
|
-
*
|
|
50
|
+
* Organization product type
|
|
62
51
|
*/
|
|
63
52
|
readonly product: string;
|
|
64
53
|
/**
|
|
65
|
-
*
|
|
54
|
+
* Organization status
|
|
66
55
|
*/
|
|
67
56
|
readonly status: string;
|
|
68
57
|
/**
|
|
69
|
-
*
|
|
58
|
+
* Organization support plan
|
|
70
59
|
*/
|
|
71
60
|
readonly supportPlan: string;
|
|
72
61
|
/**
|
|
73
|
-
*
|
|
62
|
+
* Organization trial expiration timestamp
|
|
74
63
|
*/
|
|
75
64
|
readonly trialExpiresAt: string;
|
|
76
65
|
/**
|
|
77
|
-
*
|
|
66
|
+
* Organization last updated timestamp
|
|
78
67
|
*/
|
|
79
68
|
readonly updatedAt: string;
|
|
69
|
+
/**
|
|
70
|
+
* Organization updater
|
|
71
|
+
*/
|
|
72
|
+
readonly updatedBy: outputs.GetOrganizationUpdatedBy;
|
|
80
73
|
}
|
|
81
74
|
/**
|
|
82
|
-
*
|
|
75
|
+
* Organization data source
|
|
83
76
|
*
|
|
84
77
|
* ## Example Usage
|
|
85
78
|
*
|
|
@@ -87,19 +80,8 @@ export interface GetOrganizationResult {
|
|
|
87
80
|
* import * as pulumi from "@pulumi/pulumi";
|
|
88
81
|
* import * as astronomer from "@pulumi/astronomer";
|
|
89
82
|
*
|
|
90
|
-
* const
|
|
91
|
-
*
|
|
92
|
-
* });
|
|
83
|
+
* const exampleOrganization = astronomer.getOrganization({});
|
|
84
|
+
* export const organization = exampleOrganization;
|
|
93
85
|
* ```
|
|
94
86
|
*/
|
|
95
|
-
export declare function getOrganizationOutput(
|
|
96
|
-
/**
|
|
97
|
-
* A collection of arguments for invoking getOrganization.
|
|
98
|
-
*/
|
|
99
|
-
export interface GetOrganizationOutputArgs {
|
|
100
|
-
id: pulumi.Input<string>;
|
|
101
|
-
/**
|
|
102
|
-
* Payment method (if set)
|
|
103
|
-
*/
|
|
104
|
-
paymentMethod?: pulumi.Input<string>;
|
|
105
|
-
}
|
|
87
|
+
export declare function getOrganizationOutput(opts?: pulumi.InvokeOptions): pulumi.Output<GetOrganizationResult>;
|
package/getOrganization.js
CHANGED
|
@@ -6,7 +6,7 @@ exports.getOrganizationOutput = exports.getOrganization = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* Organization data source
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
12
|
*
|
|
@@ -14,21 +14,17 @@ const utilities = require("./utilities");
|
|
|
14
14
|
* import * as pulumi from "@pulumi/pulumi";
|
|
15
15
|
* import * as astronomer from "@pulumi/astronomer";
|
|
16
16
|
*
|
|
17
|
-
* const
|
|
18
|
-
*
|
|
19
|
-
* });
|
|
17
|
+
* const exampleOrganization = astronomer.getOrganization({});
|
|
18
|
+
* export const organization = exampleOrganization;
|
|
20
19
|
* ```
|
|
21
20
|
*/
|
|
22
|
-
function getOrganization(
|
|
21
|
+
function getOrganization(opts) {
|
|
23
22
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
24
|
-
return pulumi.runtime.invoke("astronomer:index/getOrganization:getOrganization", {
|
|
25
|
-
"id": args.id,
|
|
26
|
-
"paymentMethod": args.paymentMethod,
|
|
27
|
-
}, opts);
|
|
23
|
+
return pulumi.runtime.invoke("astronomer:index/getOrganization:getOrganization", {}, opts);
|
|
28
24
|
}
|
|
29
25
|
exports.getOrganization = getOrganization;
|
|
30
26
|
/**
|
|
31
|
-
*
|
|
27
|
+
* Organization data source
|
|
32
28
|
*
|
|
33
29
|
* ## Example Usage
|
|
34
30
|
*
|
|
@@ -36,13 +32,12 @@ exports.getOrganization = getOrganization;
|
|
|
36
32
|
* import * as pulumi from "@pulumi/pulumi";
|
|
37
33
|
* import * as astronomer from "@pulumi/astronomer";
|
|
38
34
|
*
|
|
39
|
-
* const
|
|
40
|
-
*
|
|
41
|
-
* });
|
|
35
|
+
* const exampleOrganization = astronomer.getOrganization({});
|
|
36
|
+
* export const organization = exampleOrganization;
|
|
42
37
|
* ```
|
|
43
38
|
*/
|
|
44
|
-
function getOrganizationOutput(
|
|
45
|
-
return pulumi.output(
|
|
39
|
+
function getOrganizationOutput(opts) {
|
|
40
|
+
return pulumi.output(getOrganization(opts));
|
|
46
41
|
}
|
|
47
42
|
exports.getOrganizationOutput = getOrganizationOutput;
|
|
48
43
|
//# sourceMappingURL=getOrganization.js.map
|
package/getOrganization.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getOrganization.js","sourceRoot":"","sources":["../getOrganization.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getOrganization.js","sourceRoot":"","sources":["../getOrganization.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;GAYG;AACH,SAAgB,eAAe,CAAC,IAA2B;IAEvD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kDAAkD,EAAE,EAChF,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,0CAKC;AA2DD;;;;;;;;;;;;GAYG;AACH,SAAgB,qBAAqB,CAAC,IAA2B;IAC7D,OAAO,MAAM,CAAC,MAAM,CAAC,eAAe,CAAC,IAAI,CAAC,CAAC,CAAA;AAC/C,CAAC;AAFD,sDAEC"}
|
package/getTeam.d.ts
ADDED
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "./types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Team data source
|
|
5
|
+
*
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as astronomer from "@pulumi/astronomer";
|
|
11
|
+
*
|
|
12
|
+
* const exampleTeam = astronomer.getTeam({
|
|
13
|
+
* id: "clwbclrc100bl01ozjj5s4jmq",
|
|
14
|
+
* });
|
|
15
|
+
* export const team = exampleTeam;
|
|
16
|
+
* ```
|
|
17
|
+
*/
|
|
18
|
+
export declare function getTeam(args: GetTeamArgs, opts?: pulumi.InvokeOptions): Promise<GetTeamResult>;
|
|
19
|
+
/**
|
|
20
|
+
* A collection of arguments for invoking getTeam.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetTeamArgs {
|
|
23
|
+
/**
|
|
24
|
+
* Team ID
|
|
25
|
+
*/
|
|
26
|
+
id: string;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* A collection of values returned by getTeam.
|
|
30
|
+
*/
|
|
31
|
+
export interface GetTeamResult {
|
|
32
|
+
/**
|
|
33
|
+
* Team creation timestamp
|
|
34
|
+
*/
|
|
35
|
+
readonly createdAt: string;
|
|
36
|
+
/**
|
|
37
|
+
* Team creator
|
|
38
|
+
*/
|
|
39
|
+
readonly createdBy: outputs.GetTeamCreatedBy;
|
|
40
|
+
/**
|
|
41
|
+
* The roles assigned to the Deployments
|
|
42
|
+
*/
|
|
43
|
+
readonly deploymentRoles: outputs.GetTeamDeploymentRole[];
|
|
44
|
+
/**
|
|
45
|
+
* Team description
|
|
46
|
+
*/
|
|
47
|
+
readonly description: string;
|
|
48
|
+
/**
|
|
49
|
+
* Team ID
|
|
50
|
+
*/
|
|
51
|
+
readonly id: string;
|
|
52
|
+
/**
|
|
53
|
+
* Whether the Team is managed by an identity provider
|
|
54
|
+
*/
|
|
55
|
+
readonly isIdpManaged: boolean;
|
|
56
|
+
/**
|
|
57
|
+
* Team name
|
|
58
|
+
*/
|
|
59
|
+
readonly name: string;
|
|
60
|
+
/**
|
|
61
|
+
* The role assigned to the Organization
|
|
62
|
+
*/
|
|
63
|
+
readonly organizationRole: string;
|
|
64
|
+
/**
|
|
65
|
+
* Number of roles assigned to the Team
|
|
66
|
+
*/
|
|
67
|
+
readonly rolesCount: number;
|
|
68
|
+
/**
|
|
69
|
+
* Team last updated timestamp
|
|
70
|
+
*/
|
|
71
|
+
readonly updatedAt: string;
|
|
72
|
+
/**
|
|
73
|
+
* Team updater
|
|
74
|
+
*/
|
|
75
|
+
readonly updatedBy: outputs.GetTeamUpdatedBy;
|
|
76
|
+
/**
|
|
77
|
+
* The roles assigned to the Workspaces
|
|
78
|
+
*/
|
|
79
|
+
readonly workspaceRoles: outputs.GetTeamWorkspaceRole[];
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* Team data source
|
|
83
|
+
*
|
|
84
|
+
* ## Example Usage
|
|
85
|
+
*
|
|
86
|
+
* ```typescript
|
|
87
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
88
|
+
* import * as astronomer from "@pulumi/astronomer";
|
|
89
|
+
*
|
|
90
|
+
* const exampleTeam = astronomer.getTeam({
|
|
91
|
+
* id: "clwbclrc100bl01ozjj5s4jmq",
|
|
92
|
+
* });
|
|
93
|
+
* export const team = exampleTeam;
|
|
94
|
+
* ```
|
|
95
|
+
*/
|
|
96
|
+
export declare function getTeamOutput(args: GetTeamOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetTeamResult>;
|
|
97
|
+
/**
|
|
98
|
+
* A collection of arguments for invoking getTeam.
|
|
99
|
+
*/
|
|
100
|
+
export interface GetTeamOutputArgs {
|
|
101
|
+
/**
|
|
102
|
+
* Team ID
|
|
103
|
+
*/
|
|
104
|
+
id: pulumi.Input<string>;
|
|
105
|
+
}
|
package/getTeam.js
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getTeamOutput = exports.getTeam = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Team data source
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as astronomer from "@pulumi/astronomer";
|
|
16
|
+
*
|
|
17
|
+
* const exampleTeam = astronomer.getTeam({
|
|
18
|
+
* id: "clwbclrc100bl01ozjj5s4jmq",
|
|
19
|
+
* });
|
|
20
|
+
* export const team = exampleTeam;
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
function getTeam(args, opts) {
|
|
24
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
25
|
+
return pulumi.runtime.invoke("astronomer:index/getTeam:getTeam", {
|
|
26
|
+
"id": args.id,
|
|
27
|
+
}, opts);
|
|
28
|
+
}
|
|
29
|
+
exports.getTeam = getTeam;
|
|
30
|
+
/**
|
|
31
|
+
* Team data source
|
|
32
|
+
*
|
|
33
|
+
* ## Example Usage
|
|
34
|
+
*
|
|
35
|
+
* ```typescript
|
|
36
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
37
|
+
* import * as astronomer from "@pulumi/astronomer";
|
|
38
|
+
*
|
|
39
|
+
* const exampleTeam = astronomer.getTeam({
|
|
40
|
+
* id: "clwbclrc100bl01ozjj5s4jmq",
|
|
41
|
+
* });
|
|
42
|
+
* export const team = exampleTeam;
|
|
43
|
+
* ```
|
|
44
|
+
*/
|
|
45
|
+
function getTeamOutput(args, opts) {
|
|
46
|
+
return pulumi.output(args).apply((a) => getTeam(a, opts));
|
|
47
|
+
}
|
|
48
|
+
exports.getTeamOutput = getTeamOutput;
|
|
49
|
+
//# sourceMappingURL=getTeam.js.map
|
package/getTeam.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getTeam.js","sourceRoot":"","sources":["../getTeam.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;GAcG;AACH,SAAgB,OAAO,CAAC,IAAiB,EAAE,IAA2B;IAElE,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;AAND,0BAMC;AAiED;;;;;;;;;;;;;;GAcG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAC9E,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,OAAO,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAClE,CAAC;AAFD,sCAEC"}
|
package/getTeams.d.ts
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "./types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Teams data source
|
|
5
|
+
*
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as astronomer from "@pulumi/astronomer";
|
|
11
|
+
*
|
|
12
|
+
* const exampleTeamsTeams = astronomer.getTeams({});
|
|
13
|
+
* const exampleTeamsFilterByNames = astronomer.getTeams({
|
|
14
|
+
* names: [
|
|
15
|
+
* "my first team",
|
|
16
|
+
* "my second team",
|
|
17
|
+
* ],
|
|
18
|
+
* });
|
|
19
|
+
* export const exampleTeams = exampleTeamsTeams;
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
export declare function getTeams(args?: GetTeamsArgs, opts?: pulumi.InvokeOptions): Promise<GetTeamsResult>;
|
|
23
|
+
/**
|
|
24
|
+
* A collection of arguments for invoking getTeams.
|
|
25
|
+
*/
|
|
26
|
+
export interface GetTeamsArgs {
|
|
27
|
+
names?: string[];
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* A collection of values returned by getTeams.
|
|
31
|
+
*/
|
|
32
|
+
export interface GetTeamsResult {
|
|
33
|
+
/**
|
|
34
|
+
* The provider-assigned unique ID for this managed resource.
|
|
35
|
+
*/
|
|
36
|
+
readonly id: string;
|
|
37
|
+
readonly names?: string[];
|
|
38
|
+
readonly teams: outputs.GetTeamsTeam[];
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Teams data source
|
|
42
|
+
*
|
|
43
|
+
* ## Example Usage
|
|
44
|
+
*
|
|
45
|
+
* ```typescript
|
|
46
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
47
|
+
* import * as astronomer from "@pulumi/astronomer";
|
|
48
|
+
*
|
|
49
|
+
* const exampleTeamsTeams = astronomer.getTeams({});
|
|
50
|
+
* const exampleTeamsFilterByNames = astronomer.getTeams({
|
|
51
|
+
* names: [
|
|
52
|
+
* "my first team",
|
|
53
|
+
* "my second team",
|
|
54
|
+
* ],
|
|
55
|
+
* });
|
|
56
|
+
* export const exampleTeams = exampleTeamsTeams;
|
|
57
|
+
* ```
|
|
58
|
+
*/
|
|
59
|
+
export declare function getTeamsOutput(args?: GetTeamsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetTeamsResult>;
|
|
60
|
+
/**
|
|
61
|
+
* A collection of arguments for invoking getTeams.
|
|
62
|
+
*/
|
|
63
|
+
export interface GetTeamsOutputArgs {
|
|
64
|
+
names?: pulumi.Input<pulumi.Input<string>[]>;
|
|
65
|
+
}
|
package/getTeams.js
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getTeamsOutput = exports.getTeams = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Teams data source
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as astronomer from "@pulumi/astronomer";
|
|
16
|
+
*
|
|
17
|
+
* const exampleTeamsTeams = astronomer.getTeams({});
|
|
18
|
+
* const exampleTeamsFilterByNames = astronomer.getTeams({
|
|
19
|
+
* names: [
|
|
20
|
+
* "my first team",
|
|
21
|
+
* "my second team",
|
|
22
|
+
* ],
|
|
23
|
+
* });
|
|
24
|
+
* export const exampleTeams = exampleTeamsTeams;
|
|
25
|
+
* ```
|
|
26
|
+
*/
|
|
27
|
+
function getTeams(args, opts) {
|
|
28
|
+
args = args || {};
|
|
29
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
30
|
+
return pulumi.runtime.invoke("astronomer:index/getTeams:getTeams", {
|
|
31
|
+
"names": args.names,
|
|
32
|
+
}, opts);
|
|
33
|
+
}
|
|
34
|
+
exports.getTeams = getTeams;
|
|
35
|
+
/**
|
|
36
|
+
* Teams data source
|
|
37
|
+
*
|
|
38
|
+
* ## Example Usage
|
|
39
|
+
*
|
|
40
|
+
* ```typescript
|
|
41
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
42
|
+
* import * as astronomer from "@pulumi/astronomer";
|
|
43
|
+
*
|
|
44
|
+
* const exampleTeamsTeams = astronomer.getTeams({});
|
|
45
|
+
* const exampleTeamsFilterByNames = astronomer.getTeams({
|
|
46
|
+
* names: [
|
|
47
|
+
* "my first team",
|
|
48
|
+
* "my second team",
|
|
49
|
+
* ],
|
|
50
|
+
* });
|
|
51
|
+
* export const exampleTeams = exampleTeamsTeams;
|
|
52
|
+
* ```
|
|
53
|
+
*/
|
|
54
|
+
function getTeamsOutput(args, opts) {
|
|
55
|
+
return pulumi.output(args).apply((a) => getTeams(a, opts));
|
|
56
|
+
}
|
|
57
|
+
exports.getTeamsOutput = getTeamsOutput;
|
|
58
|
+
//# sourceMappingURL=getTeams.js.map
|
package/getTeams.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getTeams.js","sourceRoot":"","sources":["../getTeams.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,QAAQ,CAAC,IAAmB,EAAE,IAA2B;IACrE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,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;AAPD,4BAOC;AAoBD;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,cAAc,CAAC,IAAyB,EAAE,IAA2B;IACjF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,QAAQ,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACnE,CAAC;AAFD,wCAEC"}
|
package/getUser.d.ts
ADDED
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "./types/output";
|
|
3
|
+
/**
|
|
4
|
+
* User data source
|
|
5
|
+
*
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as astronomer from "@pulumi/astronomer";
|
|
11
|
+
*
|
|
12
|
+
* const exampleUser = astronomer.getUser({
|
|
13
|
+
* id: "clhpichn8002m01mqa4ocs7g6",
|
|
14
|
+
* });
|
|
15
|
+
* export const user = exampleUser;
|
|
16
|
+
* ```
|
|
17
|
+
*/
|
|
18
|
+
export declare function getUser(args: GetUserArgs, opts?: pulumi.InvokeOptions): Promise<GetUserResult>;
|
|
19
|
+
/**
|
|
20
|
+
* A collection of arguments for invoking getUser.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetUserArgs {
|
|
23
|
+
/**
|
|
24
|
+
* User identifier
|
|
25
|
+
*/
|
|
26
|
+
id: string;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* A collection of values returned by getUser.
|
|
30
|
+
*/
|
|
31
|
+
export interface GetUserResult {
|
|
32
|
+
/**
|
|
33
|
+
* User avatar URL
|
|
34
|
+
*/
|
|
35
|
+
readonly avatarUrl: string;
|
|
36
|
+
/**
|
|
37
|
+
* User creation timestamp
|
|
38
|
+
*/
|
|
39
|
+
readonly createdAt: string;
|
|
40
|
+
/**
|
|
41
|
+
* The roles assigned to the deployments
|
|
42
|
+
*/
|
|
43
|
+
readonly deploymentRoles: outputs.GetUserDeploymentRole[];
|
|
44
|
+
/**
|
|
45
|
+
* User full name
|
|
46
|
+
*/
|
|
47
|
+
readonly fullName: string;
|
|
48
|
+
/**
|
|
49
|
+
* User identifier
|
|
50
|
+
*/
|
|
51
|
+
readonly id: string;
|
|
52
|
+
/**
|
|
53
|
+
* The role assigned to the organization
|
|
54
|
+
*/
|
|
55
|
+
readonly organizationRole: string;
|
|
56
|
+
/**
|
|
57
|
+
* User status
|
|
58
|
+
*/
|
|
59
|
+
readonly status: string;
|
|
60
|
+
/**
|
|
61
|
+
* User last updated timestamp
|
|
62
|
+
*/
|
|
63
|
+
readonly updatedAt: string;
|
|
64
|
+
/**
|
|
65
|
+
* User username
|
|
66
|
+
*/
|
|
67
|
+
readonly username: string;
|
|
68
|
+
/**
|
|
69
|
+
* The roles assigned to the workspaces
|
|
70
|
+
*/
|
|
71
|
+
readonly workspaceRoles: outputs.GetUserWorkspaceRole[];
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* User data source
|
|
75
|
+
*
|
|
76
|
+
* ## Example Usage
|
|
77
|
+
*
|
|
78
|
+
* ```typescript
|
|
79
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
80
|
+
* import * as astronomer from "@pulumi/astronomer";
|
|
81
|
+
*
|
|
82
|
+
* const exampleUser = astronomer.getUser({
|
|
83
|
+
* id: "clhpichn8002m01mqa4ocs7g6",
|
|
84
|
+
* });
|
|
85
|
+
* export const user = exampleUser;
|
|
86
|
+
* ```
|
|
87
|
+
*/
|
|
88
|
+
export declare function getUserOutput(args: GetUserOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetUserResult>;
|
|
89
|
+
/**
|
|
90
|
+
* A collection of arguments for invoking getUser.
|
|
91
|
+
*/
|
|
92
|
+
export interface GetUserOutputArgs {
|
|
93
|
+
/**
|
|
94
|
+
* User identifier
|
|
95
|
+
*/
|
|
96
|
+
id: pulumi.Input<string>;
|
|
97
|
+
}
|
package/getUser.js
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getUserOutput = exports.getUser = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* User data source
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as astronomer from "@pulumi/astronomer";
|
|
16
|
+
*
|
|
17
|
+
* const exampleUser = astronomer.getUser({
|
|
18
|
+
* id: "clhpichn8002m01mqa4ocs7g6",
|
|
19
|
+
* });
|
|
20
|
+
* export const user = exampleUser;
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
function getUser(args, opts) {
|
|
24
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
25
|
+
return pulumi.runtime.invoke("astronomer:index/getUser:getUser", {
|
|
26
|
+
"id": args.id,
|
|
27
|
+
}, opts);
|
|
28
|
+
}
|
|
29
|
+
exports.getUser = getUser;
|
|
30
|
+
/**
|
|
31
|
+
* User data source
|
|
32
|
+
*
|
|
33
|
+
* ## Example Usage
|
|
34
|
+
*
|
|
35
|
+
* ```typescript
|
|
36
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
37
|
+
* import * as astronomer from "@pulumi/astronomer";
|
|
38
|
+
*
|
|
39
|
+
* const exampleUser = astronomer.getUser({
|
|
40
|
+
* id: "clhpichn8002m01mqa4ocs7g6",
|
|
41
|
+
* });
|
|
42
|
+
* export const user = exampleUser;
|
|
43
|
+
* ```
|
|
44
|
+
*/
|
|
45
|
+
function getUserOutput(args, opts) {
|
|
46
|
+
return pulumi.output(args).apply((a) => getUser(a, opts));
|
|
47
|
+
}
|
|
48
|
+
exports.getUserOutput = getUserOutput;
|
|
49
|
+
//# sourceMappingURL=getUser.js.map
|
package/getUser.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getUser.js","sourceRoot":"","sources":["../getUser.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;GAcG;AACH,SAAgB,OAAO,CAAC,IAAiB,EAAE,IAA2B;IAElE,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;AAND,0BAMC;AAyDD;;;;;;;;;;;;;;GAcG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAC9E,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,OAAO,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAClE,CAAC;AAFD,sCAEC"}
|