@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/index.d.ts
CHANGED
|
@@ -1,24 +1,75 @@
|
|
|
1
|
+
export { ApiTokenArgs, ApiTokenState } from "./apiToken";
|
|
2
|
+
export type ApiToken = import("./apiToken").ApiToken;
|
|
3
|
+
export declare const ApiToken: typeof import("./apiToken").ApiToken;
|
|
1
4
|
export { ClusterArgs, ClusterState } from "./cluster";
|
|
2
5
|
export type Cluster = import("./cluster").Cluster;
|
|
3
6
|
export declare const Cluster: typeof import("./cluster").Cluster;
|
|
4
7
|
export { DeploymentArgs, DeploymentState } from "./deployment";
|
|
5
8
|
export type Deployment = import("./deployment").Deployment;
|
|
6
9
|
export declare const Deployment: typeof import("./deployment").Deployment;
|
|
10
|
+
export { GetApiTokenArgs, GetApiTokenResult, GetApiTokenOutputArgs } from "./getApiToken";
|
|
11
|
+
export declare const getApiToken: typeof import("./getApiToken").getApiToken;
|
|
12
|
+
export declare const getApiTokenOutput: typeof import("./getApiToken").getApiTokenOutput;
|
|
13
|
+
export { GetApiTokensArgs, GetApiTokensResult, GetApiTokensOutputArgs } from "./getApiTokens";
|
|
14
|
+
export declare const getApiTokens: typeof import("./getApiTokens").getApiTokens;
|
|
15
|
+
export declare const getApiTokensOutput: typeof import("./getApiTokens").getApiTokensOutput;
|
|
7
16
|
export { GetClusterArgs, GetClusterResult, GetClusterOutputArgs } from "./getCluster";
|
|
8
17
|
export declare const getCluster: typeof import("./getCluster").getCluster;
|
|
9
18
|
export declare const getClusterOutput: typeof import("./getCluster").getClusterOutput;
|
|
19
|
+
export { GetClusterOptionsArgs, GetClusterOptionsResult, GetClusterOptionsOutputArgs } from "./getClusterOptions";
|
|
20
|
+
export declare const getClusterOptions: typeof import("./getClusterOptions").getClusterOptions;
|
|
21
|
+
export declare const getClusterOptionsOutput: typeof import("./getClusterOptions").getClusterOptionsOutput;
|
|
22
|
+
export { GetClustersArgs, GetClustersResult, GetClustersOutputArgs } from "./getClusters";
|
|
23
|
+
export declare const getClusters: typeof import("./getClusters").getClusters;
|
|
24
|
+
export declare const getClustersOutput: typeof import("./getClusters").getClustersOutput;
|
|
10
25
|
export { GetDeploymentArgs, GetDeploymentResult, GetDeploymentOutputArgs } from "./getDeployment";
|
|
11
26
|
export declare const getDeployment: typeof import("./getDeployment").getDeployment;
|
|
12
27
|
export declare const getDeploymentOutput: typeof import("./getDeployment").getDeploymentOutput;
|
|
13
|
-
export {
|
|
28
|
+
export { GetDeploymentOptionsArgs, GetDeploymentOptionsResult, GetDeploymentOptionsOutputArgs } from "./getDeploymentOptions";
|
|
29
|
+
export declare const getDeploymentOptions: typeof import("./getDeploymentOptions").getDeploymentOptions;
|
|
30
|
+
export declare const getDeploymentOptionsOutput: typeof import("./getDeploymentOptions").getDeploymentOptionsOutput;
|
|
31
|
+
export { GetDeploymentsArgs, GetDeploymentsResult, GetDeploymentsOutputArgs } from "./getDeployments";
|
|
32
|
+
export declare const getDeployments: typeof import("./getDeployments").getDeployments;
|
|
33
|
+
export declare const getDeploymentsOutput: typeof import("./getDeployments").getDeploymentsOutput;
|
|
34
|
+
export { GetOrganizationResult } from "./getOrganization";
|
|
14
35
|
export declare const getOrganization: typeof import("./getOrganization").getOrganization;
|
|
15
36
|
export declare const getOrganizationOutput: typeof import("./getOrganization").getOrganizationOutput;
|
|
37
|
+
export { GetTeamArgs, GetTeamResult, GetTeamOutputArgs } from "./getTeam";
|
|
38
|
+
export declare const getTeam: typeof import("./getTeam").getTeam;
|
|
39
|
+
export declare const getTeamOutput: typeof import("./getTeam").getTeamOutput;
|
|
40
|
+
export { GetTeamsArgs, GetTeamsResult, GetTeamsOutputArgs } from "./getTeams";
|
|
41
|
+
export declare const getTeams: typeof import("./getTeams").getTeams;
|
|
42
|
+
export declare const getTeamsOutput: typeof import("./getTeams").getTeamsOutput;
|
|
43
|
+
export { GetUserArgs, GetUserResult, GetUserOutputArgs } from "./getUser";
|
|
44
|
+
export declare const getUser: typeof import("./getUser").getUser;
|
|
45
|
+
export declare const getUserOutput: typeof import("./getUser").getUserOutput;
|
|
46
|
+
export { GetUsersArgs, GetUsersResult, GetUsersOutputArgs } from "./getUsers";
|
|
47
|
+
export declare const getUsers: typeof import("./getUsers").getUsers;
|
|
48
|
+
export declare const getUsersOutput: typeof import("./getUsers").getUsersOutput;
|
|
16
49
|
export { GetWorkspaceArgs, GetWorkspaceResult, GetWorkspaceOutputArgs } from "./getWorkspace";
|
|
17
50
|
export declare const getWorkspace: typeof import("./getWorkspace").getWorkspace;
|
|
18
51
|
export declare const getWorkspaceOutput: typeof import("./getWorkspace").getWorkspaceOutput;
|
|
52
|
+
export { GetWorkspacesArgs, GetWorkspacesResult, GetWorkspacesOutputArgs } from "./getWorkspaces";
|
|
53
|
+
export declare const getWorkspaces: typeof import("./getWorkspaces").getWorkspaces;
|
|
54
|
+
export declare const getWorkspacesOutput: typeof import("./getWorkspaces").getWorkspacesOutput;
|
|
55
|
+
export { HybridClusterWorkspaceAuthorizationArgs, HybridClusterWorkspaceAuthorizationState } from "./hybridClusterWorkspaceAuthorization";
|
|
56
|
+
export type HybridClusterWorkspaceAuthorization = import("./hybridClusterWorkspaceAuthorization").HybridClusterWorkspaceAuthorization;
|
|
57
|
+
export declare const HybridClusterWorkspaceAuthorization: typeof import("./hybridClusterWorkspaceAuthorization").HybridClusterWorkspaceAuthorization;
|
|
19
58
|
export { ProviderArgs } from "./provider";
|
|
20
59
|
export type Provider = import("./provider").Provider;
|
|
21
60
|
export declare const Provider: typeof import("./provider").Provider;
|
|
61
|
+
export { TeamArgs, TeamState } from "./team";
|
|
62
|
+
export type Team = import("./team").Team;
|
|
63
|
+
export declare const Team: typeof import("./team").Team;
|
|
64
|
+
export { TeamRolesArgs, TeamRolesState } from "./teamRoles";
|
|
65
|
+
export type TeamRoles = import("./teamRoles").TeamRoles;
|
|
66
|
+
export declare const TeamRoles: typeof import("./teamRoles").TeamRoles;
|
|
67
|
+
export { UserInviteArgs, UserInviteState } from "./userInvite";
|
|
68
|
+
export type UserInvite = import("./userInvite").UserInvite;
|
|
69
|
+
export declare const UserInvite: typeof import("./userInvite").UserInvite;
|
|
70
|
+
export { UserRolesArgs, UserRolesState } from "./userRoles";
|
|
71
|
+
export type UserRoles = import("./userRoles").UserRoles;
|
|
72
|
+
export declare const UserRoles: typeof import("./userRoles").UserRoles;
|
|
22
73
|
export { WorkspaceArgs, WorkspaceState } from "./workspace";
|
|
23
74
|
export type Workspace = import("./workspace").Workspace;
|
|
24
75
|
export declare const Workspace: typeof import("./workspace").Workspace;
|
package/index.js
CHANGED
|
@@ -2,27 +2,72 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.types = exports.config = exports.Workspace = exports.Provider = exports.getWorkspaceOutput = exports.getWorkspace = exports.getOrganizationOutput = exports.getOrganization = exports.getDeploymentOutput = exports.getDeployment = exports.getClusterOutput = exports.getCluster = exports.Deployment = exports.Cluster = void 0;
|
|
5
|
+
exports.types = exports.config = exports.Workspace = exports.UserRoles = exports.UserInvite = exports.TeamRoles = exports.Team = exports.Provider = exports.HybridClusterWorkspaceAuthorization = exports.getWorkspacesOutput = exports.getWorkspaces = exports.getWorkspaceOutput = exports.getWorkspace = exports.getUsersOutput = exports.getUsers = exports.getUserOutput = exports.getUser = exports.getTeamsOutput = exports.getTeams = exports.getTeamOutput = exports.getTeam = exports.getOrganizationOutput = exports.getOrganization = exports.getDeploymentsOutput = exports.getDeployments = exports.getDeploymentOptionsOutput = exports.getDeploymentOptions = exports.getDeploymentOutput = exports.getDeployment = exports.getClustersOutput = exports.getClusters = exports.getClusterOptionsOutput = exports.getClusterOptions = exports.getClusterOutput = exports.getCluster = exports.getApiTokensOutput = exports.getApiTokens = exports.getApiTokenOutput = exports.getApiToken = exports.Deployment = exports.Cluster = exports.ApiToken = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
+
exports.ApiToken = null;
|
|
9
|
+
utilities.lazyLoad(exports, ["ApiToken"], () => require("./apiToken"));
|
|
8
10
|
exports.Cluster = null;
|
|
9
11
|
utilities.lazyLoad(exports, ["Cluster"], () => require("./cluster"));
|
|
10
12
|
exports.Deployment = null;
|
|
11
13
|
utilities.lazyLoad(exports, ["Deployment"], () => require("./deployment"));
|
|
14
|
+
exports.getApiToken = null;
|
|
15
|
+
exports.getApiTokenOutput = null;
|
|
16
|
+
utilities.lazyLoad(exports, ["getApiToken", "getApiTokenOutput"], () => require("./getApiToken"));
|
|
17
|
+
exports.getApiTokens = null;
|
|
18
|
+
exports.getApiTokensOutput = null;
|
|
19
|
+
utilities.lazyLoad(exports, ["getApiTokens", "getApiTokensOutput"], () => require("./getApiTokens"));
|
|
12
20
|
exports.getCluster = null;
|
|
13
21
|
exports.getClusterOutput = null;
|
|
14
22
|
utilities.lazyLoad(exports, ["getCluster", "getClusterOutput"], () => require("./getCluster"));
|
|
23
|
+
exports.getClusterOptions = null;
|
|
24
|
+
exports.getClusterOptionsOutput = null;
|
|
25
|
+
utilities.lazyLoad(exports, ["getClusterOptions", "getClusterOptionsOutput"], () => require("./getClusterOptions"));
|
|
26
|
+
exports.getClusters = null;
|
|
27
|
+
exports.getClustersOutput = null;
|
|
28
|
+
utilities.lazyLoad(exports, ["getClusters", "getClustersOutput"], () => require("./getClusters"));
|
|
15
29
|
exports.getDeployment = null;
|
|
16
30
|
exports.getDeploymentOutput = null;
|
|
17
31
|
utilities.lazyLoad(exports, ["getDeployment", "getDeploymentOutput"], () => require("./getDeployment"));
|
|
32
|
+
exports.getDeploymentOptions = null;
|
|
33
|
+
exports.getDeploymentOptionsOutput = null;
|
|
34
|
+
utilities.lazyLoad(exports, ["getDeploymentOptions", "getDeploymentOptionsOutput"], () => require("./getDeploymentOptions"));
|
|
35
|
+
exports.getDeployments = null;
|
|
36
|
+
exports.getDeploymentsOutput = null;
|
|
37
|
+
utilities.lazyLoad(exports, ["getDeployments", "getDeploymentsOutput"], () => require("./getDeployments"));
|
|
18
38
|
exports.getOrganization = null;
|
|
19
39
|
exports.getOrganizationOutput = null;
|
|
20
40
|
utilities.lazyLoad(exports, ["getOrganization", "getOrganizationOutput"], () => require("./getOrganization"));
|
|
41
|
+
exports.getTeam = null;
|
|
42
|
+
exports.getTeamOutput = null;
|
|
43
|
+
utilities.lazyLoad(exports, ["getTeam", "getTeamOutput"], () => require("./getTeam"));
|
|
44
|
+
exports.getTeams = null;
|
|
45
|
+
exports.getTeamsOutput = null;
|
|
46
|
+
utilities.lazyLoad(exports, ["getTeams", "getTeamsOutput"], () => require("./getTeams"));
|
|
47
|
+
exports.getUser = null;
|
|
48
|
+
exports.getUserOutput = null;
|
|
49
|
+
utilities.lazyLoad(exports, ["getUser", "getUserOutput"], () => require("./getUser"));
|
|
50
|
+
exports.getUsers = null;
|
|
51
|
+
exports.getUsersOutput = null;
|
|
52
|
+
utilities.lazyLoad(exports, ["getUsers", "getUsersOutput"], () => require("./getUsers"));
|
|
21
53
|
exports.getWorkspace = null;
|
|
22
54
|
exports.getWorkspaceOutput = null;
|
|
23
55
|
utilities.lazyLoad(exports, ["getWorkspace", "getWorkspaceOutput"], () => require("./getWorkspace"));
|
|
56
|
+
exports.getWorkspaces = null;
|
|
57
|
+
exports.getWorkspacesOutput = null;
|
|
58
|
+
utilities.lazyLoad(exports, ["getWorkspaces", "getWorkspacesOutput"], () => require("./getWorkspaces"));
|
|
59
|
+
exports.HybridClusterWorkspaceAuthorization = null;
|
|
60
|
+
utilities.lazyLoad(exports, ["HybridClusterWorkspaceAuthorization"], () => require("./hybridClusterWorkspaceAuthorization"));
|
|
24
61
|
exports.Provider = null;
|
|
25
62
|
utilities.lazyLoad(exports, ["Provider"], () => require("./provider"));
|
|
63
|
+
exports.Team = null;
|
|
64
|
+
utilities.lazyLoad(exports, ["Team"], () => require("./team"));
|
|
65
|
+
exports.TeamRoles = null;
|
|
66
|
+
utilities.lazyLoad(exports, ["TeamRoles"], () => require("./teamRoles"));
|
|
67
|
+
exports.UserInvite = null;
|
|
68
|
+
utilities.lazyLoad(exports, ["UserInvite"], () => require("./userInvite"));
|
|
69
|
+
exports.UserRoles = null;
|
|
70
|
+
utilities.lazyLoad(exports, ["UserRoles"], () => require("./userRoles"));
|
|
26
71
|
exports.Workspace = null;
|
|
27
72
|
utilities.lazyLoad(exports, ["Workspace"], () => require("./workspace"));
|
|
28
73
|
// Export sub-modules:
|
|
@@ -34,10 +79,22 @@ const _module = {
|
|
|
34
79
|
version: utilities.getVersion(),
|
|
35
80
|
construct: (name, type, urn) => {
|
|
36
81
|
switch (type) {
|
|
82
|
+
case "astronomer:index/apiToken:ApiToken":
|
|
83
|
+
return new exports.ApiToken(name, undefined, { urn });
|
|
37
84
|
case "astronomer:index/cluster:Cluster":
|
|
38
85
|
return new exports.Cluster(name, undefined, { urn });
|
|
39
86
|
case "astronomer:index/deployment:Deployment":
|
|
40
87
|
return new exports.Deployment(name, undefined, { urn });
|
|
88
|
+
case "astronomer:index/hybridClusterWorkspaceAuthorization:HybridClusterWorkspaceAuthorization":
|
|
89
|
+
return new exports.HybridClusterWorkspaceAuthorization(name, undefined, { urn });
|
|
90
|
+
case "astronomer:index/team:Team":
|
|
91
|
+
return new exports.Team(name, undefined, { urn });
|
|
92
|
+
case "astronomer:index/teamRoles:TeamRoles":
|
|
93
|
+
return new exports.TeamRoles(name, undefined, { urn });
|
|
94
|
+
case "astronomer:index/userInvite:UserInvite":
|
|
95
|
+
return new exports.UserInvite(name, undefined, { urn });
|
|
96
|
+
case "astronomer:index/userRoles:UserRoles":
|
|
97
|
+
return new exports.UserRoles(name, undefined, { urn });
|
|
41
98
|
case "astronomer:index/workspace:Workspace":
|
|
42
99
|
return new exports.Workspace(name, undefined, { urn });
|
|
43
100
|
default:
|
|
@@ -45,8 +102,14 @@ const _module = {
|
|
|
45
102
|
}
|
|
46
103
|
},
|
|
47
104
|
};
|
|
105
|
+
pulumi.runtime.registerResourceModule("astronomer", "index/apiToken", _module);
|
|
48
106
|
pulumi.runtime.registerResourceModule("astronomer", "index/cluster", _module);
|
|
49
107
|
pulumi.runtime.registerResourceModule("astronomer", "index/deployment", _module);
|
|
108
|
+
pulumi.runtime.registerResourceModule("astronomer", "index/hybridClusterWorkspaceAuthorization", _module);
|
|
109
|
+
pulumi.runtime.registerResourceModule("astronomer", "index/team", _module);
|
|
110
|
+
pulumi.runtime.registerResourceModule("astronomer", "index/teamRoles", _module);
|
|
111
|
+
pulumi.runtime.registerResourceModule("astronomer", "index/userInvite", _module);
|
|
112
|
+
pulumi.runtime.registerResourceModule("astronomer", "index/userRoles", _module);
|
|
50
113
|
pulumi.runtime.registerResourceModule("astronomer", "index/workspace", _module);
|
|
51
114
|
pulumi.runtime.registerResourcePackage("astronomer", {
|
|
52
115
|
version: utilities.getVersion(),
|
package/index.js.map
CHANGED
|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6BAA6B,EAAE;YACxC,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACpD;QACD,OAAO,IAAI,gBAAQ,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC;IACvD,CAAC;CACJ,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ryan-pip/pulumi_astronomer",
|
|
3
|
-
"version": "v0.0
|
|
4
|
-
"description": "A Pulumi package for creating and managing Astronomer Cloud resources. Based on terraform-provider-
|
|
3
|
+
"version": "v0.2.0",
|
|
4
|
+
"description": "A Pulumi package for creating and managing Astronomer Cloud resources. Based on terraform-provider-astro: version v0.3.0",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
7
7
|
"astronomer",
|
package/package.json.bak
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ryan-pip/pulumi_astronomer",
|
|
3
3
|
"version": "${VERSION}",
|
|
4
|
-
"description": "A Pulumi package for creating and managing Astronomer Cloud resources. Based on terraform-provider-
|
|
4
|
+
"description": "A Pulumi package for creating and managing Astronomer Cloud resources. Based on terraform-provider-astro: version v0.3.0",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
7
7
|
"astronomer",
|
package/provider.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
* The provider type for the
|
|
3
|
+
* The provider type for the astro package. By default, resources use package-wide configuration
|
|
4
4
|
* settings, however an explicit `Provider` instance may be created and passed during resource
|
|
5
5
|
* construction to achieve fine-grained programmatic control over provider settings. See the
|
|
6
6
|
* [documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information.
|
|
@@ -12,11 +12,15 @@ export declare class Provider extends pulumi.ProviderResource {
|
|
|
12
12
|
*/
|
|
13
13
|
static isInstance(obj: any): obj is Provider;
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* API host to use for the provider. Default is `https://api.astronomer.io`
|
|
16
|
+
*/
|
|
17
|
+
readonly host: pulumi.Output<string | undefined>;
|
|
18
|
+
/**
|
|
19
|
+
* Organization ID this provider will operate on.
|
|
16
20
|
*/
|
|
17
21
|
readonly organizationId: pulumi.Output<string>;
|
|
18
22
|
/**
|
|
19
|
-
*
|
|
23
|
+
* Astro API Token. Can be set with an `ASTRO_API_TOKEN` env var.
|
|
20
24
|
*/
|
|
21
25
|
readonly token: pulumi.Output<string | undefined>;
|
|
22
26
|
/**
|
|
@@ -33,11 +37,15 @@ export declare class Provider extends pulumi.ProviderResource {
|
|
|
33
37
|
*/
|
|
34
38
|
export interface ProviderArgs {
|
|
35
39
|
/**
|
|
36
|
-
*
|
|
40
|
+
* API host to use for the provider. Default is `https://api.astronomer.io`
|
|
41
|
+
*/
|
|
42
|
+
host?: pulumi.Input<string>;
|
|
43
|
+
/**
|
|
44
|
+
* Organization ID this provider will operate on.
|
|
37
45
|
*/
|
|
38
46
|
organizationId: pulumi.Input<string>;
|
|
39
47
|
/**
|
|
40
|
-
*
|
|
48
|
+
* Astro API Token. Can be set with an `ASTRO_API_TOKEN` env var.
|
|
41
49
|
*/
|
|
42
50
|
token?: pulumi.Input<string>;
|
|
43
51
|
}
|
package/provider.js
CHANGED
|
@@ -6,7 +6,7 @@ exports.Provider = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* The provider type for the
|
|
9
|
+
* The provider type for the astro package. By default, resources use package-wide configuration
|
|
10
10
|
* settings, however an explicit `Provider` instance may be created and passed during resource
|
|
11
11
|
* construction to achieve fine-grained programmatic control over provider settings. See the
|
|
12
12
|
* [documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information.
|
|
@@ -37,8 +37,9 @@ class Provider extends pulumi.ProviderResource {
|
|
|
37
37
|
if ((!args || args.organizationId === undefined) && !opts.urn) {
|
|
38
38
|
throw new Error("Missing required property 'organizationId'");
|
|
39
39
|
}
|
|
40
|
+
resourceInputs["host"] = args ? args.host : undefined;
|
|
40
41
|
resourceInputs["organizationId"] = args ? args.organizationId : undefined;
|
|
41
|
-
resourceInputs["token"] = (_a = ((args === null || args === void 0 ? void 0 : args.token) ? pulumi.secret(args.token) : undefined)) !== null && _a !== void 0 ? _a : utilities.getEnv("
|
|
42
|
+
resourceInputs["token"] = (_a = ((args === null || args === void 0 ? void 0 : args.token) ? pulumi.secret(args.token) : undefined)) !== null && _a !== void 0 ? _a : utilities.getEnv("ASTRO_API_TOKEN");
|
|
42
43
|
}
|
|
43
44
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
44
45
|
const secretOpts = { additionalSecretOutputs: ["token"] };
|
package/provider.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provider.js","sourceRoot":"","sources":["../provider.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;GAKG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,gBAAgB;IAIjD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,mBAAmB,GAAG,QAAQ,CAAC,YAAY,CAAC;IAC/E,CAAC;
|
|
1
|
+
{"version":3,"file":"provider.js","sourceRoot":"","sources":["../provider.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;GAKG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,gBAAgB;IAIjD;;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EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;;AAlDL,4BAmDC;AAlDG,gBAAgB;AACO,qBAAY,GAAG,YAAY,CAAC"}
|
package/team.d.ts
ADDED
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Team resource
|
|
6
|
+
*/
|
|
7
|
+
export declare class Team extends pulumi.CustomResource {
|
|
8
|
+
/**
|
|
9
|
+
* Get an existing Team resource's state with the given name, ID, and optional extra
|
|
10
|
+
* properties used to qualify the lookup.
|
|
11
|
+
*
|
|
12
|
+
* @param name The _unique_ name of the resulting resource.
|
|
13
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
14
|
+
* @param state Any extra arguments used during the lookup.
|
|
15
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
16
|
+
*/
|
|
17
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: TeamState, opts?: pulumi.CustomResourceOptions): Team;
|
|
18
|
+
/**
|
|
19
|
+
* Returns true if the given object is an instance of Team. This is designed to work even
|
|
20
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
21
|
+
*/
|
|
22
|
+
static isInstance(obj: any): obj is Team;
|
|
23
|
+
/**
|
|
24
|
+
* Team creation timestamp
|
|
25
|
+
*/
|
|
26
|
+
readonly createdAt: pulumi.Output<string>;
|
|
27
|
+
/**
|
|
28
|
+
* Team creator
|
|
29
|
+
*/
|
|
30
|
+
readonly createdBy: pulumi.Output<outputs.TeamCreatedBy>;
|
|
31
|
+
/**
|
|
32
|
+
* The roles to assign to the Deployments
|
|
33
|
+
*/
|
|
34
|
+
readonly deploymentRoles: pulumi.Output<outputs.TeamDeploymentRole[] | undefined>;
|
|
35
|
+
/**
|
|
36
|
+
* Team description
|
|
37
|
+
*/
|
|
38
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
39
|
+
/**
|
|
40
|
+
* Whether the Team is managed by an identity provider
|
|
41
|
+
*/
|
|
42
|
+
readonly isIdpManaged: pulumi.Output<boolean>;
|
|
43
|
+
/**
|
|
44
|
+
* The IDs of the users to add to the Team
|
|
45
|
+
*/
|
|
46
|
+
readonly memberIds: pulumi.Output<string[] | undefined>;
|
|
47
|
+
/**
|
|
48
|
+
* Team name
|
|
49
|
+
*/
|
|
50
|
+
readonly name: pulumi.Output<string>;
|
|
51
|
+
/**
|
|
52
|
+
* The role to assign to the Organization
|
|
53
|
+
*/
|
|
54
|
+
readonly organizationRole: pulumi.Output<string>;
|
|
55
|
+
/**
|
|
56
|
+
* Number of roles assigned to the Team
|
|
57
|
+
*/
|
|
58
|
+
readonly rolesCount: pulumi.Output<number>;
|
|
59
|
+
/**
|
|
60
|
+
* Team last updated timestamp
|
|
61
|
+
*/
|
|
62
|
+
readonly updatedAt: pulumi.Output<string>;
|
|
63
|
+
/**
|
|
64
|
+
* Team updater
|
|
65
|
+
*/
|
|
66
|
+
readonly updatedBy: pulumi.Output<outputs.TeamUpdatedBy>;
|
|
67
|
+
/**
|
|
68
|
+
* The roles to assign to the Workspaces
|
|
69
|
+
*/
|
|
70
|
+
readonly workspaceRoles: pulumi.Output<outputs.TeamWorkspaceRole[] | undefined>;
|
|
71
|
+
/**
|
|
72
|
+
* Create a Team resource with the given unique name, arguments, and options.
|
|
73
|
+
*
|
|
74
|
+
* @param name The _unique_ name of the resource.
|
|
75
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
76
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
77
|
+
*/
|
|
78
|
+
constructor(name: string, args: TeamArgs, opts?: pulumi.CustomResourceOptions);
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Input properties used for looking up and filtering Team resources.
|
|
82
|
+
*/
|
|
83
|
+
export interface TeamState {
|
|
84
|
+
/**
|
|
85
|
+
* Team creation timestamp
|
|
86
|
+
*/
|
|
87
|
+
createdAt?: pulumi.Input<string>;
|
|
88
|
+
/**
|
|
89
|
+
* Team creator
|
|
90
|
+
*/
|
|
91
|
+
createdBy?: pulumi.Input<inputs.TeamCreatedBy>;
|
|
92
|
+
/**
|
|
93
|
+
* The roles to assign to the Deployments
|
|
94
|
+
*/
|
|
95
|
+
deploymentRoles?: pulumi.Input<pulumi.Input<inputs.TeamDeploymentRole>[]>;
|
|
96
|
+
/**
|
|
97
|
+
* Team description
|
|
98
|
+
*/
|
|
99
|
+
description?: pulumi.Input<string>;
|
|
100
|
+
/**
|
|
101
|
+
* Whether the Team is managed by an identity provider
|
|
102
|
+
*/
|
|
103
|
+
isIdpManaged?: pulumi.Input<boolean>;
|
|
104
|
+
/**
|
|
105
|
+
* The IDs of the users to add to the Team
|
|
106
|
+
*/
|
|
107
|
+
memberIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
108
|
+
/**
|
|
109
|
+
* Team name
|
|
110
|
+
*/
|
|
111
|
+
name?: pulumi.Input<string>;
|
|
112
|
+
/**
|
|
113
|
+
* The role to assign to the Organization
|
|
114
|
+
*/
|
|
115
|
+
organizationRole?: pulumi.Input<string>;
|
|
116
|
+
/**
|
|
117
|
+
* Number of roles assigned to the Team
|
|
118
|
+
*/
|
|
119
|
+
rolesCount?: pulumi.Input<number>;
|
|
120
|
+
/**
|
|
121
|
+
* Team last updated timestamp
|
|
122
|
+
*/
|
|
123
|
+
updatedAt?: pulumi.Input<string>;
|
|
124
|
+
/**
|
|
125
|
+
* Team updater
|
|
126
|
+
*/
|
|
127
|
+
updatedBy?: pulumi.Input<inputs.TeamUpdatedBy>;
|
|
128
|
+
/**
|
|
129
|
+
* The roles to assign to the Workspaces
|
|
130
|
+
*/
|
|
131
|
+
workspaceRoles?: pulumi.Input<pulumi.Input<inputs.TeamWorkspaceRole>[]>;
|
|
132
|
+
}
|
|
133
|
+
/**
|
|
134
|
+
* The set of arguments for constructing a Team resource.
|
|
135
|
+
*/
|
|
136
|
+
export interface TeamArgs {
|
|
137
|
+
/**
|
|
138
|
+
* The roles to assign to the Deployments
|
|
139
|
+
*/
|
|
140
|
+
deploymentRoles?: pulumi.Input<pulumi.Input<inputs.TeamDeploymentRole>[]>;
|
|
141
|
+
/**
|
|
142
|
+
* Team description
|
|
143
|
+
*/
|
|
144
|
+
description?: pulumi.Input<string>;
|
|
145
|
+
/**
|
|
146
|
+
* The IDs of the users to add to the Team
|
|
147
|
+
*/
|
|
148
|
+
memberIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
149
|
+
/**
|
|
150
|
+
* Team name
|
|
151
|
+
*/
|
|
152
|
+
name?: pulumi.Input<string>;
|
|
153
|
+
/**
|
|
154
|
+
* The role to assign to the Organization
|
|
155
|
+
*/
|
|
156
|
+
organizationRole: pulumi.Input<string>;
|
|
157
|
+
/**
|
|
158
|
+
* The roles to assign to the Workspaces
|
|
159
|
+
*/
|
|
160
|
+
workspaceRoles?: pulumi.Input<pulumi.Input<inputs.TeamWorkspaceRole>[]>;
|
|
161
|
+
}
|
package/team.js
ADDED
|
@@ -0,0 +1,77 @@
|
|
|
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.Team = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Team resource
|
|
10
|
+
*/
|
|
11
|
+
class Team extends pulumi.CustomResource {
|
|
12
|
+
/**
|
|
13
|
+
* Get an existing Team resource's state with the given name, ID, and optional extra
|
|
14
|
+
* properties used to qualify the lookup.
|
|
15
|
+
*
|
|
16
|
+
* @param name The _unique_ name of the resulting resource.
|
|
17
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
18
|
+
* @param state Any extra arguments used during the lookup.
|
|
19
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
20
|
+
*/
|
|
21
|
+
static get(name, id, state, opts) {
|
|
22
|
+
return new Team(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Returns true if the given object is an instance of Team. This is designed to work even
|
|
26
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
27
|
+
*/
|
|
28
|
+
static isInstance(obj) {
|
|
29
|
+
if (obj === undefined || obj === null) {
|
|
30
|
+
return false;
|
|
31
|
+
}
|
|
32
|
+
return obj['__pulumiType'] === Team.__pulumiType;
|
|
33
|
+
}
|
|
34
|
+
constructor(name, argsOrState, opts) {
|
|
35
|
+
let resourceInputs = {};
|
|
36
|
+
opts = opts || {};
|
|
37
|
+
if (opts.id) {
|
|
38
|
+
const state = argsOrState;
|
|
39
|
+
resourceInputs["createdAt"] = state ? state.createdAt : undefined;
|
|
40
|
+
resourceInputs["createdBy"] = state ? state.createdBy : undefined;
|
|
41
|
+
resourceInputs["deploymentRoles"] = state ? state.deploymentRoles : undefined;
|
|
42
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
43
|
+
resourceInputs["isIdpManaged"] = state ? state.isIdpManaged : undefined;
|
|
44
|
+
resourceInputs["memberIds"] = state ? state.memberIds : undefined;
|
|
45
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
46
|
+
resourceInputs["organizationRole"] = state ? state.organizationRole : undefined;
|
|
47
|
+
resourceInputs["rolesCount"] = state ? state.rolesCount : undefined;
|
|
48
|
+
resourceInputs["updatedAt"] = state ? state.updatedAt : undefined;
|
|
49
|
+
resourceInputs["updatedBy"] = state ? state.updatedBy : undefined;
|
|
50
|
+
resourceInputs["workspaceRoles"] = state ? state.workspaceRoles : undefined;
|
|
51
|
+
}
|
|
52
|
+
else {
|
|
53
|
+
const args = argsOrState;
|
|
54
|
+
if ((!args || args.organizationRole === undefined) && !opts.urn) {
|
|
55
|
+
throw new Error("Missing required property 'organizationRole'");
|
|
56
|
+
}
|
|
57
|
+
resourceInputs["deploymentRoles"] = args ? args.deploymentRoles : undefined;
|
|
58
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
59
|
+
resourceInputs["memberIds"] = args ? args.memberIds : undefined;
|
|
60
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
61
|
+
resourceInputs["organizationRole"] = args ? args.organizationRole : undefined;
|
|
62
|
+
resourceInputs["workspaceRoles"] = args ? args.workspaceRoles : undefined;
|
|
63
|
+
resourceInputs["createdAt"] = undefined /*out*/;
|
|
64
|
+
resourceInputs["createdBy"] = undefined /*out*/;
|
|
65
|
+
resourceInputs["isIdpManaged"] = undefined /*out*/;
|
|
66
|
+
resourceInputs["rolesCount"] = undefined /*out*/;
|
|
67
|
+
resourceInputs["updatedAt"] = undefined /*out*/;
|
|
68
|
+
resourceInputs["updatedBy"] = undefined /*out*/;
|
|
69
|
+
}
|
|
70
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
71
|
+
super(Team.__pulumiType, name, resourceInputs, opts);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
exports.Team = Team;
|
|
75
|
+
/** @internal */
|
|
76
|
+
Team.__pulumiType = 'astronomer:index/team:Team';
|
|
77
|
+
//# sourceMappingURL=team.js.map
|
package/team.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"team.js","sourceRoot":"","sources":["../team.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;GAEG;AACH,MAAa,IAAK,SAAQ,MAAM,CAAC,cAAc;IAC3C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAiB,EAAE,IAAmC;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CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9E,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,IAAI,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzD,CAAC;;AA1HL,oBA2HC;AA7GG,gBAAgB;AACO,iBAAY,GAAG,4BAA4B,CAAC"}
|
package/teamRoles.d.ts
ADDED
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Team Roles resource
|
|
6
|
+
*/
|
|
7
|
+
export declare class TeamRoles extends pulumi.CustomResource {
|
|
8
|
+
/**
|
|
9
|
+
* Get an existing TeamRoles resource's state with the given name, ID, and optional extra
|
|
10
|
+
* properties used to qualify the lookup.
|
|
11
|
+
*
|
|
12
|
+
* @param name The _unique_ name of the resulting resource.
|
|
13
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
14
|
+
* @param state Any extra arguments used during the lookup.
|
|
15
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
16
|
+
*/
|
|
17
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: TeamRolesState, opts?: pulumi.CustomResourceOptions): TeamRoles;
|
|
18
|
+
/**
|
|
19
|
+
* Returns true if the given object is an instance of TeamRoles. This is designed to work even
|
|
20
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
21
|
+
*/
|
|
22
|
+
static isInstance(obj: any): obj is TeamRoles;
|
|
23
|
+
/**
|
|
24
|
+
* The roles to assign to the deployments
|
|
25
|
+
*/
|
|
26
|
+
readonly deploymentRoles: pulumi.Output<outputs.TeamRolesDeploymentRole[] | undefined>;
|
|
27
|
+
/**
|
|
28
|
+
* The role to assign to the organization
|
|
29
|
+
*/
|
|
30
|
+
readonly organizationRole: pulumi.Output<string>;
|
|
31
|
+
/**
|
|
32
|
+
* The ID of the team to assign the roles to
|
|
33
|
+
*/
|
|
34
|
+
readonly teamId: pulumi.Output<string>;
|
|
35
|
+
/**
|
|
36
|
+
* The roles to assign to the workspaces
|
|
37
|
+
*/
|
|
38
|
+
readonly workspaceRoles: pulumi.Output<outputs.TeamRolesWorkspaceRole[] | undefined>;
|
|
39
|
+
/**
|
|
40
|
+
* Create a TeamRoles resource with the given unique name, arguments, and options.
|
|
41
|
+
*
|
|
42
|
+
* @param name The _unique_ name of the resource.
|
|
43
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
44
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
45
|
+
*/
|
|
46
|
+
constructor(name: string, args: TeamRolesArgs, opts?: pulumi.CustomResourceOptions);
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Input properties used for looking up and filtering TeamRoles resources.
|
|
50
|
+
*/
|
|
51
|
+
export interface TeamRolesState {
|
|
52
|
+
/**
|
|
53
|
+
* The roles to assign to the deployments
|
|
54
|
+
*/
|
|
55
|
+
deploymentRoles?: pulumi.Input<pulumi.Input<inputs.TeamRolesDeploymentRole>[]>;
|
|
56
|
+
/**
|
|
57
|
+
* The role to assign to the organization
|
|
58
|
+
*/
|
|
59
|
+
organizationRole?: pulumi.Input<string>;
|
|
60
|
+
/**
|
|
61
|
+
* The ID of the team to assign the roles to
|
|
62
|
+
*/
|
|
63
|
+
teamId?: pulumi.Input<string>;
|
|
64
|
+
/**
|
|
65
|
+
* The roles to assign to the workspaces
|
|
66
|
+
*/
|
|
67
|
+
workspaceRoles?: pulumi.Input<pulumi.Input<inputs.TeamRolesWorkspaceRole>[]>;
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* The set of arguments for constructing a TeamRoles resource.
|
|
71
|
+
*/
|
|
72
|
+
export interface TeamRolesArgs {
|
|
73
|
+
/**
|
|
74
|
+
* The roles to assign to the deployments
|
|
75
|
+
*/
|
|
76
|
+
deploymentRoles?: pulumi.Input<pulumi.Input<inputs.TeamRolesDeploymentRole>[]>;
|
|
77
|
+
/**
|
|
78
|
+
* The role to assign to the organization
|
|
79
|
+
*/
|
|
80
|
+
organizationRole: pulumi.Input<string>;
|
|
81
|
+
/**
|
|
82
|
+
* The ID of the team to assign the roles to
|
|
83
|
+
*/
|
|
84
|
+
teamId: pulumi.Input<string>;
|
|
85
|
+
/**
|
|
86
|
+
* The roles to assign to the workspaces
|
|
87
|
+
*/
|
|
88
|
+
workspaceRoles?: pulumi.Input<pulumi.Input<inputs.TeamRolesWorkspaceRole>[]>;
|
|
89
|
+
}
|