@pulumi/pulumiservice 0.35.0 → 0.38.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/buildEnvironmentScopedPermissions.d.ts +41 -0
- package/buildEnvironmentScopedPermissions.js +30 -0
- package/buildEnvironmentScopedPermissions.js.map +1 -0
- package/buildInsightsAccountScopedPermissions.d.ts +41 -0
- package/buildInsightsAccountScopedPermissions.js +30 -0
- package/buildInsightsAccountScopedPermissions.js.map +1 -0
- package/buildStackScopedPermissions.d.ts +41 -0
- package/buildStackScopedPermissions.js +30 -0
- package/buildStackScopedPermissions.js.map +1 -0
- package/environment.d.ts +4 -0
- package/environment.js +2 -0
- package/environment.js.map +1 -1
- package/getCurrentUser.d.ts +29 -0
- package/getCurrentUser.js +25 -0
- package/getCurrentUser.js.map +1 -0
- package/getEnvironment.d.ts +55 -0
- package/getEnvironment.js +32 -0
- package/getEnvironment.js.map +1 -0
- package/getInsightsAccount.d.ts +1 -1
- package/getOrganizationMember.d.ts +51 -0
- package/getOrganizationMember.js +30 -0
- package/getOrganizationMember.js.map +1 -0
- package/getOrganizationMembers.d.ts +25 -0
- package/getOrganizationMembers.js +28 -0
- package/getOrganizationMembers.js.map +1 -0
- package/getOrganizationRoleScopes.d.ts +25 -0
- package/getOrganizationRoleScopes.js +28 -0
- package/getOrganizationRoleScopes.js.map +1 -0
- package/index.d.ts +36 -0
- package/index.js +42 -1
- package/index.js.map +1 -1
- package/insightsAccount.d.ts +2 -2
- package/organizationMember.d.ts +81 -0
- package/organizationMember.js +78 -0
- package/organizationMember.js.map +1 -0
- package/organizationRole.d.ts +87 -0
- package/organizationRole.js +81 -0
- package/organizationRole.js.map +1 -0
- package/package.json +2 -2
- package/policyGroup.d.ts +1 -1
- package/stackTag.js +2 -0
- package/stackTag.js.map +1 -1
- package/stackTags.d.ts +73 -0
- package/stackTags.js +78 -0
- package/stackTags.js.map +1 -0
- package/teamRoleAssignment.d.ts +61 -0
- package/teamRoleAssignment.js +73 -0
- package/teamRoleAssignment.js.map +1 -0
- package/types/enums/index.d.ts +4 -0
- package/types/enums/index.js +4 -0
- package/types/enums/index.js.map +1 -1
- package/types/input.d.ts +3 -7
- package/types/output.d.ts +43 -3
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getOrganizationRoleScopesOutput = exports.getOrganizationRoleScopes = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Lists the permission scopes available for custom roles in an organization. Use this to discover valid scope names before setting `OrganizationRole.permissions`. The catalogue is flattened into a single list with resource type and group context, sorted deterministically.
|
|
10
|
+
*/
|
|
11
|
+
function getOrganizationRoleScopes(args, opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("pulumiservice:index:getOrganizationRoleScopes", {
|
|
14
|
+
"organizationName": args.organizationName,
|
|
15
|
+
}, opts);
|
|
16
|
+
}
|
|
17
|
+
exports.getOrganizationRoleScopes = getOrganizationRoleScopes;
|
|
18
|
+
/**
|
|
19
|
+
* Lists the permission scopes available for custom roles in an organization. Use this to discover valid scope names before setting `OrganizationRole.permissions`. The catalogue is flattened into a single list with resource type and group context, sorted deterministically.
|
|
20
|
+
*/
|
|
21
|
+
function getOrganizationRoleScopesOutput(args, opts) {
|
|
22
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
23
|
+
return pulumi.runtime.invokeOutput("pulumiservice:index:getOrganizationRoleScopes", {
|
|
24
|
+
"organizationName": args.organizationName,
|
|
25
|
+
}, opts);
|
|
26
|
+
}
|
|
27
|
+
exports.getOrganizationRoleScopesOutput = getOrganizationRoleScopesOutput;
|
|
28
|
+
//# sourceMappingURL=getOrganizationRoleScopes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getOrganizationRoleScopes.js","sourceRoot":"","sources":["../getOrganizationRoleScopes.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,yBAAyB,CAAC,IAAmC,EAAE,IAA2B;IACtG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,+CAA+C,EAAE;QAC1E,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;KAC5C,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,8DAKC;AAYD;;GAEG;AACH,SAAgB,+BAA+B,CAAC,IAAyC,EAAE,IAAiC;IACxH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,+CAA+C,EAAE;QAChF,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;KAC5C,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,0EAKC"}
|
package/index.d.ts
CHANGED
|
@@ -7,6 +7,15 @@ export declare const AgentPool: typeof import("./agentPool").AgentPool;
|
|
|
7
7
|
export { ApprovalRuleArgs } from "./approvalRule";
|
|
8
8
|
export type ApprovalRule = import("./approvalRule").ApprovalRule;
|
|
9
9
|
export declare const ApprovalRule: typeof import("./approvalRule").ApprovalRule;
|
|
10
|
+
export { BuildEnvironmentScopedPermissionsArgs, BuildEnvironmentScopedPermissionsResult, BuildEnvironmentScopedPermissionsOutputArgs } from "./buildEnvironmentScopedPermissions";
|
|
11
|
+
export declare const buildEnvironmentScopedPermissions: typeof import("./buildEnvironmentScopedPermissions").buildEnvironmentScopedPermissions;
|
|
12
|
+
export declare const buildEnvironmentScopedPermissionsOutput: typeof import("./buildEnvironmentScopedPermissions").buildEnvironmentScopedPermissionsOutput;
|
|
13
|
+
export { BuildInsightsAccountScopedPermissionsArgs, BuildInsightsAccountScopedPermissionsResult, BuildInsightsAccountScopedPermissionsOutputArgs } from "./buildInsightsAccountScopedPermissions";
|
|
14
|
+
export declare const buildInsightsAccountScopedPermissions: typeof import("./buildInsightsAccountScopedPermissions").buildInsightsAccountScopedPermissions;
|
|
15
|
+
export declare const buildInsightsAccountScopedPermissionsOutput: typeof import("./buildInsightsAccountScopedPermissions").buildInsightsAccountScopedPermissionsOutput;
|
|
16
|
+
export { BuildStackScopedPermissionsArgs, BuildStackScopedPermissionsResult, BuildStackScopedPermissionsOutputArgs } from "./buildStackScopedPermissions";
|
|
17
|
+
export declare const buildStackScopedPermissions: typeof import("./buildStackScopedPermissions").buildStackScopedPermissions;
|
|
18
|
+
export declare const buildStackScopedPermissionsOutput: typeof import("./buildStackScopedPermissions").buildStackScopedPermissionsOutput;
|
|
10
19
|
export { DeploymentScheduleArgs } from "./deploymentSchedule";
|
|
11
20
|
export type DeploymentSchedule = import("./deploymentSchedule").DeploymentSchedule;
|
|
12
21
|
export declare const DeploymentSchedule: typeof import("./deploymentSchedule").DeploymentSchedule;
|
|
@@ -25,12 +34,27 @@ export declare const EnvironmentRotationSchedule: typeof import("./environmentRo
|
|
|
25
34
|
export { EnvironmentVersionTagArgs } from "./environmentVersionTag";
|
|
26
35
|
export type EnvironmentVersionTag = import("./environmentVersionTag").EnvironmentVersionTag;
|
|
27
36
|
export declare const EnvironmentVersionTag: typeof import("./environmentVersionTag").EnvironmentVersionTag;
|
|
37
|
+
export { GetCurrentUserArgs, GetCurrentUserResult } from "./getCurrentUser";
|
|
38
|
+
export declare const getCurrentUser: typeof import("./getCurrentUser").getCurrentUser;
|
|
39
|
+
export declare const getCurrentUserOutput: typeof import("./getCurrentUser").getCurrentUserOutput;
|
|
40
|
+
export { GetEnvironmentArgs, GetEnvironmentResult, GetEnvironmentOutputArgs } from "./getEnvironment";
|
|
41
|
+
export declare const getEnvironment: typeof import("./getEnvironment").getEnvironment;
|
|
42
|
+
export declare const getEnvironmentOutput: typeof import("./getEnvironment").getEnvironmentOutput;
|
|
28
43
|
export { GetInsightsAccountArgs, GetInsightsAccountResult, GetInsightsAccountOutputArgs } from "./getInsightsAccount";
|
|
29
44
|
export declare const getInsightsAccount: typeof import("./getInsightsAccount").getInsightsAccount;
|
|
30
45
|
export declare const getInsightsAccountOutput: typeof import("./getInsightsAccount").getInsightsAccountOutput;
|
|
31
46
|
export { GetInsightsAccountsArgs, GetInsightsAccountsResult, GetInsightsAccountsOutputArgs } from "./getInsightsAccounts";
|
|
32
47
|
export declare const getInsightsAccounts: typeof import("./getInsightsAccounts").getInsightsAccounts;
|
|
33
48
|
export declare const getInsightsAccountsOutput: typeof import("./getInsightsAccounts").getInsightsAccountsOutput;
|
|
49
|
+
export { GetOrganizationMemberArgs, GetOrganizationMemberResult, GetOrganizationMemberOutputArgs } from "./getOrganizationMember";
|
|
50
|
+
export declare const getOrganizationMember: typeof import("./getOrganizationMember").getOrganizationMember;
|
|
51
|
+
export declare const getOrganizationMemberOutput: typeof import("./getOrganizationMember").getOrganizationMemberOutput;
|
|
52
|
+
export { GetOrganizationMembersArgs, GetOrganizationMembersResult, GetOrganizationMembersOutputArgs } from "./getOrganizationMembers";
|
|
53
|
+
export declare const getOrganizationMembers: typeof import("./getOrganizationMembers").getOrganizationMembers;
|
|
54
|
+
export declare const getOrganizationMembersOutput: typeof import("./getOrganizationMembers").getOrganizationMembersOutput;
|
|
55
|
+
export { GetOrganizationRoleScopesArgs, GetOrganizationRoleScopesResult, GetOrganizationRoleScopesOutputArgs } from "./getOrganizationRoleScopes";
|
|
56
|
+
export declare const getOrganizationRoleScopes: typeof import("./getOrganizationRoleScopes").getOrganizationRoleScopes;
|
|
57
|
+
export declare const getOrganizationRoleScopesOutput: typeof import("./getOrganizationRoleScopes").getOrganizationRoleScopesOutput;
|
|
34
58
|
export { GetPolicyPackArgs, GetPolicyPackResult, GetPolicyPackOutputArgs } from "./getPolicyPack";
|
|
35
59
|
export declare const getPolicyPack: typeof import("./getPolicyPack").getPolicyPack;
|
|
36
60
|
export declare const getPolicyPackOutput: typeof import("./getPolicyPack").getPolicyPackOutput;
|
|
@@ -46,6 +70,12 @@ export declare const OidcIssuer: typeof import("./oidcIssuer").OidcIssuer;
|
|
|
46
70
|
export { OrgAccessTokenArgs } from "./orgAccessToken";
|
|
47
71
|
export type OrgAccessToken = import("./orgAccessToken").OrgAccessToken;
|
|
48
72
|
export declare const OrgAccessToken: typeof import("./orgAccessToken").OrgAccessToken;
|
|
73
|
+
export { OrganizationMemberArgs } from "./organizationMember";
|
|
74
|
+
export type OrganizationMember = import("./organizationMember").OrganizationMember;
|
|
75
|
+
export declare const OrganizationMember: typeof import("./organizationMember").OrganizationMember;
|
|
76
|
+
export { OrganizationRoleArgs } from "./organizationRole";
|
|
77
|
+
export type OrganizationRole = import("./organizationRole").OrganizationRole;
|
|
78
|
+
export declare const OrganizationRole: typeof import("./organizationRole").OrganizationRole;
|
|
49
79
|
export { PolicyGroupArgs } from "./policyGroup";
|
|
50
80
|
export type PolicyGroup = import("./policyGroup").PolicyGroup;
|
|
51
81
|
export declare const PolicyGroup: typeof import("./policyGroup").PolicyGroup;
|
|
@@ -58,6 +88,9 @@ export declare const Stack: typeof import("./stack").Stack;
|
|
|
58
88
|
export { StackTagArgs } from "./stackTag";
|
|
59
89
|
export type StackTag = import("./stackTag").StackTag;
|
|
60
90
|
export declare const StackTag: typeof import("./stackTag").StackTag;
|
|
91
|
+
export { StackTagsArgs } from "./stackTags";
|
|
92
|
+
export type StackTags = import("./stackTags").StackTags;
|
|
93
|
+
export declare const StackTags: typeof import("./stackTags").StackTags;
|
|
61
94
|
export { TeamArgs } from "./team";
|
|
62
95
|
export type Team = import("./team").Team;
|
|
63
96
|
export declare const Team: typeof import("./team").Team;
|
|
@@ -67,6 +100,9 @@ export declare const TeamAccessToken: typeof import("./teamAccessToken").TeamAcc
|
|
|
67
100
|
export { TeamEnvironmentPermissionArgs } from "./teamEnvironmentPermission";
|
|
68
101
|
export type TeamEnvironmentPermission = import("./teamEnvironmentPermission").TeamEnvironmentPermission;
|
|
69
102
|
export declare const TeamEnvironmentPermission: typeof import("./teamEnvironmentPermission").TeamEnvironmentPermission;
|
|
103
|
+
export { TeamRoleAssignmentArgs } from "./teamRoleAssignment";
|
|
104
|
+
export type TeamRoleAssignment = import("./teamRoleAssignment").TeamRoleAssignment;
|
|
105
|
+
export declare const TeamRoleAssignment: typeof import("./teamRoleAssignment").TeamRoleAssignment;
|
|
70
106
|
export { TeamStackPermissionArgs } from "./teamStackPermission";
|
|
71
107
|
export type TeamStackPermission = import("./teamStackPermission").TeamStackPermission;
|
|
72
108
|
export declare const TeamStackPermission: typeof import("./teamStackPermission").TeamStackPermission;
|
package/index.js
CHANGED
|
@@ -16,7 +16,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
17
17
|
};
|
|
18
18
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
-
exports.
|
|
19
|
+
exports.TtlSchedule = exports.TemplateSource = exports.TeamStackPermission = exports.TeamRoleAssignment = exports.TeamEnvironmentPermission = exports.TeamAccessToken = exports.Team = exports.StackTags = exports.StackTag = exports.Stack = exports.Provider = exports.PolicyGroup = exports.OrganizationRole = exports.OrganizationMember = exports.OrgAccessToken = exports.OidcIssuer = exports.InsightsAccount = exports.getPolicyPacksOutput = exports.getPolicyPacks = exports.getPolicyPackOutput = exports.getPolicyPack = exports.getOrganizationRoleScopesOutput = exports.getOrganizationRoleScopes = exports.getOrganizationMembersOutput = exports.getOrganizationMembers = exports.getOrganizationMemberOutput = exports.getOrganizationMember = exports.getInsightsAccountsOutput = exports.getInsightsAccounts = exports.getInsightsAccountOutput = exports.getInsightsAccount = exports.getEnvironmentOutput = exports.getEnvironment = exports.getCurrentUserOutput = exports.getCurrentUser = exports.EnvironmentVersionTag = exports.EnvironmentRotationSchedule = exports.Environment = exports.DriftSchedule = exports.DeploymentSettings = exports.DeploymentSchedule = exports.buildStackScopedPermissionsOutput = exports.buildStackScopedPermissions = exports.buildInsightsAccountScopedPermissionsOutput = exports.buildInsightsAccountScopedPermissions = exports.buildEnvironmentScopedPermissionsOutput = exports.buildEnvironmentScopedPermissions = exports.ApprovalRule = exports.AgentPool = exports.AccessToken = void 0;
|
|
20
|
+
exports.types = exports.config = exports.Webhook = void 0;
|
|
20
21
|
const pulumi = require("@pulumi/pulumi");
|
|
21
22
|
const utilities = require("./utilities");
|
|
22
23
|
exports.AccessToken = null;
|
|
@@ -25,6 +26,15 @@ exports.AgentPool = null;
|
|
|
25
26
|
utilities.lazyLoad(exports, ["AgentPool"], () => require("./agentPool"));
|
|
26
27
|
exports.ApprovalRule = null;
|
|
27
28
|
utilities.lazyLoad(exports, ["ApprovalRule"], () => require("./approvalRule"));
|
|
29
|
+
exports.buildEnvironmentScopedPermissions = null;
|
|
30
|
+
exports.buildEnvironmentScopedPermissionsOutput = null;
|
|
31
|
+
utilities.lazyLoad(exports, ["buildEnvironmentScopedPermissions", "buildEnvironmentScopedPermissionsOutput"], () => require("./buildEnvironmentScopedPermissions"));
|
|
32
|
+
exports.buildInsightsAccountScopedPermissions = null;
|
|
33
|
+
exports.buildInsightsAccountScopedPermissionsOutput = null;
|
|
34
|
+
utilities.lazyLoad(exports, ["buildInsightsAccountScopedPermissions", "buildInsightsAccountScopedPermissionsOutput"], () => require("./buildInsightsAccountScopedPermissions"));
|
|
35
|
+
exports.buildStackScopedPermissions = null;
|
|
36
|
+
exports.buildStackScopedPermissionsOutput = null;
|
|
37
|
+
utilities.lazyLoad(exports, ["buildStackScopedPermissions", "buildStackScopedPermissionsOutput"], () => require("./buildStackScopedPermissions"));
|
|
28
38
|
exports.DeploymentSchedule = null;
|
|
29
39
|
utilities.lazyLoad(exports, ["DeploymentSchedule"], () => require("./deploymentSchedule"));
|
|
30
40
|
exports.DeploymentSettings = null;
|
|
@@ -37,12 +47,27 @@ exports.EnvironmentRotationSchedule = null;
|
|
|
37
47
|
utilities.lazyLoad(exports, ["EnvironmentRotationSchedule"], () => require("./environmentRotationSchedule"));
|
|
38
48
|
exports.EnvironmentVersionTag = null;
|
|
39
49
|
utilities.lazyLoad(exports, ["EnvironmentVersionTag"], () => require("./environmentVersionTag"));
|
|
50
|
+
exports.getCurrentUser = null;
|
|
51
|
+
exports.getCurrentUserOutput = null;
|
|
52
|
+
utilities.lazyLoad(exports, ["getCurrentUser", "getCurrentUserOutput"], () => require("./getCurrentUser"));
|
|
53
|
+
exports.getEnvironment = null;
|
|
54
|
+
exports.getEnvironmentOutput = null;
|
|
55
|
+
utilities.lazyLoad(exports, ["getEnvironment", "getEnvironmentOutput"], () => require("./getEnvironment"));
|
|
40
56
|
exports.getInsightsAccount = null;
|
|
41
57
|
exports.getInsightsAccountOutput = null;
|
|
42
58
|
utilities.lazyLoad(exports, ["getInsightsAccount", "getInsightsAccountOutput"], () => require("./getInsightsAccount"));
|
|
43
59
|
exports.getInsightsAccounts = null;
|
|
44
60
|
exports.getInsightsAccountsOutput = null;
|
|
45
61
|
utilities.lazyLoad(exports, ["getInsightsAccounts", "getInsightsAccountsOutput"], () => require("./getInsightsAccounts"));
|
|
62
|
+
exports.getOrganizationMember = null;
|
|
63
|
+
exports.getOrganizationMemberOutput = null;
|
|
64
|
+
utilities.lazyLoad(exports, ["getOrganizationMember", "getOrganizationMemberOutput"], () => require("./getOrganizationMember"));
|
|
65
|
+
exports.getOrganizationMembers = null;
|
|
66
|
+
exports.getOrganizationMembersOutput = null;
|
|
67
|
+
utilities.lazyLoad(exports, ["getOrganizationMembers", "getOrganizationMembersOutput"], () => require("./getOrganizationMembers"));
|
|
68
|
+
exports.getOrganizationRoleScopes = null;
|
|
69
|
+
exports.getOrganizationRoleScopesOutput = null;
|
|
70
|
+
utilities.lazyLoad(exports, ["getOrganizationRoleScopes", "getOrganizationRoleScopesOutput"], () => require("./getOrganizationRoleScopes"));
|
|
46
71
|
exports.getPolicyPack = null;
|
|
47
72
|
exports.getPolicyPackOutput = null;
|
|
48
73
|
utilities.lazyLoad(exports, ["getPolicyPack", "getPolicyPackOutput"], () => require("./getPolicyPack"));
|
|
@@ -55,6 +80,10 @@ exports.OidcIssuer = null;
|
|
|
55
80
|
utilities.lazyLoad(exports, ["OidcIssuer"], () => require("./oidcIssuer"));
|
|
56
81
|
exports.OrgAccessToken = null;
|
|
57
82
|
utilities.lazyLoad(exports, ["OrgAccessToken"], () => require("./orgAccessToken"));
|
|
83
|
+
exports.OrganizationMember = null;
|
|
84
|
+
utilities.lazyLoad(exports, ["OrganizationMember"], () => require("./organizationMember"));
|
|
85
|
+
exports.OrganizationRole = null;
|
|
86
|
+
utilities.lazyLoad(exports, ["OrganizationRole"], () => require("./organizationRole"));
|
|
58
87
|
exports.PolicyGroup = null;
|
|
59
88
|
utilities.lazyLoad(exports, ["PolicyGroup"], () => require("./policyGroup"));
|
|
60
89
|
exports.Provider = null;
|
|
@@ -63,12 +92,16 @@ exports.Stack = null;
|
|
|
63
92
|
utilities.lazyLoad(exports, ["Stack"], () => require("./stack"));
|
|
64
93
|
exports.StackTag = null;
|
|
65
94
|
utilities.lazyLoad(exports, ["StackTag"], () => require("./stackTag"));
|
|
95
|
+
exports.StackTags = null;
|
|
96
|
+
utilities.lazyLoad(exports, ["StackTags"], () => require("./stackTags"));
|
|
66
97
|
exports.Team = null;
|
|
67
98
|
utilities.lazyLoad(exports, ["Team"], () => require("./team"));
|
|
68
99
|
exports.TeamAccessToken = null;
|
|
69
100
|
utilities.lazyLoad(exports, ["TeamAccessToken"], () => require("./teamAccessToken"));
|
|
70
101
|
exports.TeamEnvironmentPermission = null;
|
|
71
102
|
utilities.lazyLoad(exports, ["TeamEnvironmentPermission"], () => require("./teamEnvironmentPermission"));
|
|
103
|
+
exports.TeamRoleAssignment = null;
|
|
104
|
+
utilities.lazyLoad(exports, ["TeamRoleAssignment"], () => require("./teamRoleAssignment"));
|
|
72
105
|
exports.TeamStackPermission = null;
|
|
73
106
|
utilities.lazyLoad(exports, ["TeamStackPermission"], () => require("./teamStackPermission"));
|
|
74
107
|
exports.TemplateSource = null;
|
|
@@ -112,18 +145,26 @@ const _module = {
|
|
|
112
145
|
return new exports.OidcIssuer(name, undefined, { urn });
|
|
113
146
|
case "pulumiservice:index:OrgAccessToken":
|
|
114
147
|
return new exports.OrgAccessToken(name, undefined, { urn });
|
|
148
|
+
case "pulumiservice:index:OrganizationMember":
|
|
149
|
+
return new exports.OrganizationMember(name, undefined, { urn });
|
|
150
|
+
case "pulumiservice:index:OrganizationRole":
|
|
151
|
+
return new exports.OrganizationRole(name, undefined, { urn });
|
|
115
152
|
case "pulumiservice:index:PolicyGroup":
|
|
116
153
|
return new exports.PolicyGroup(name, undefined, { urn });
|
|
117
154
|
case "pulumiservice:index:Stack":
|
|
118
155
|
return new exports.Stack(name, undefined, { urn });
|
|
119
156
|
case "pulumiservice:index:StackTag":
|
|
120
157
|
return new exports.StackTag(name, undefined, { urn });
|
|
158
|
+
case "pulumiservice:index:StackTags":
|
|
159
|
+
return new exports.StackTags(name, undefined, { urn });
|
|
121
160
|
case "pulumiservice:index:Team":
|
|
122
161
|
return new exports.Team(name, undefined, { urn });
|
|
123
162
|
case "pulumiservice:index:TeamAccessToken":
|
|
124
163
|
return new exports.TeamAccessToken(name, undefined, { urn });
|
|
125
164
|
case "pulumiservice:index:TeamEnvironmentPermission":
|
|
126
165
|
return new exports.TeamEnvironmentPermission(name, undefined, { urn });
|
|
166
|
+
case "pulumiservice:index:TeamRoleAssignment":
|
|
167
|
+
return new exports.TeamRoleAssignment(name, undefined, { urn });
|
|
127
168
|
case "pulumiservice:index:TeamStackPermission":
|
|
128
169
|
return new exports.TeamStackPermission(name, undefined, { urn });
|
|
129
170
|
case "pulumiservice:index:TemplateSource":
|
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAK5B,QAAA,WAAW,GAA+C,IAAW,CAAC;AACnF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,aAAa,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC;AAIhE,QAAA,SAAS,GAA2C,IAAW,CAAC;AAC7E,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,WAAW,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC;AAI5D,QAAA,YAAY,GAAiD,IAAW,CAAC;AACtF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,cAAc,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC,CAAC;AAGlE,QAAA,iCAAiC,GAA2F,IAAW,CAAC;AACxI,QAAA,uCAAuC,GAAiG,IAAW,CAAC;AACjK,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,mCAAmC,EAAC,yCAAyC,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,qCAAqC,CAAC,CAAC,CAAC;AAGtJ,QAAA,qCAAqC,GAAmG,IAAW,CAAC;AACpJ,QAAA,2CAA2C,GAAyG,IAAW,CAAC;AAC7K,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAA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CAAC;IACvD,CAAC;CACJ,CAAC,CAAC"}
|
package/insightsAccount.d.ts
CHANGED
|
@@ -45,7 +45,7 @@ export declare class InsightsAccount extends pulumi.CustomResource {
|
|
|
45
45
|
[key: string]: any;
|
|
46
46
|
} | undefined>;
|
|
47
47
|
/**
|
|
48
|
-
* Schedule for automated scanning. Use 'daily'
|
|
48
|
+
* Schedule for automated scanning. Use 'daily' for daily scans, '12h' for scans every twelve hours, or 'none' to disable scheduled scanning. Defaults to 'none'.
|
|
49
49
|
*/
|
|
50
50
|
readonly scanSchedule: pulumi.Output<enums.ScanSchedule>;
|
|
51
51
|
/**
|
|
@@ -94,7 +94,7 @@ export interface InsightsAccountArgs {
|
|
|
94
94
|
[key: string]: any;
|
|
95
95
|
}>;
|
|
96
96
|
/**
|
|
97
|
-
* Schedule for automated scanning. Use 'daily'
|
|
97
|
+
* Schedule for automated scanning. Use 'daily' for daily scans, '12h' for scans every twelve hours, or 'none' to disable scheduled scanning. Defaults to 'none'.
|
|
98
98
|
*/
|
|
99
99
|
scanSchedule: pulumi.Input<enums.ScanSchedule>;
|
|
100
100
|
/**
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Manages a user's membership in a Pulumi Cloud organization and their assigned role. The user must already have a Pulumi Cloud account before they can be added. Custom (fine-grained) roles are assigned by setting `roleId`; built-in roles are assigned by setting `role`. When both are set, `roleId` takes precedence.
|
|
4
|
+
*/
|
|
5
|
+
export declare class OrganizationMember extends pulumi.CustomResource {
|
|
6
|
+
/**
|
|
7
|
+
* Get an existing OrganizationMember resource's state with the given name, ID, and optional extra
|
|
8
|
+
* properties used to qualify the lookup.
|
|
9
|
+
*
|
|
10
|
+
* @param name The _unique_ name of the resulting resource.
|
|
11
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
12
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
13
|
+
*/
|
|
14
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): OrganizationMember;
|
|
15
|
+
/**
|
|
16
|
+
* Returns true if the given object is an instance of OrganizationMember. This is designed to work even
|
|
17
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
18
|
+
*/
|
|
19
|
+
static isInstance(obj: any): obj is OrganizationMember;
|
|
20
|
+
/**
|
|
21
|
+
* True when this resource adopted an existing organization member (the user was already in the org at Create time). Adopted memberships are left in place on destroy; only the role is reset.
|
|
22
|
+
*/
|
|
23
|
+
readonly adopted: pulumi.Output<boolean>;
|
|
24
|
+
/**
|
|
25
|
+
* The member's email address.
|
|
26
|
+
*/
|
|
27
|
+
readonly email: pulumi.Output<string>;
|
|
28
|
+
/**
|
|
29
|
+
* The member's display name.
|
|
30
|
+
*/
|
|
31
|
+
readonly name: pulumi.Output<string>;
|
|
32
|
+
/**
|
|
33
|
+
* The Pulumi Cloud organization name.
|
|
34
|
+
*/
|
|
35
|
+
readonly organizationName: pulumi.Output<string>;
|
|
36
|
+
/**
|
|
37
|
+
* The built-in organization role. One of `member`, `admin`, `billing-manager`. Defaults to `member` on create. Ignored when `roleId` is set.
|
|
38
|
+
*/
|
|
39
|
+
readonly role: pulumi.Output<string | undefined>;
|
|
40
|
+
/**
|
|
41
|
+
* The ID of a custom (fine-grained) organization role to assign. Takes precedence over `role`.
|
|
42
|
+
*/
|
|
43
|
+
readonly roleId: pulumi.Output<string | undefined>;
|
|
44
|
+
/**
|
|
45
|
+
* The name of the currently assigned role (custom role name, or built-in role).
|
|
46
|
+
*/
|
|
47
|
+
readonly roleName: pulumi.Output<string>;
|
|
48
|
+
/**
|
|
49
|
+
* The Pulumi Cloud username of the member.
|
|
50
|
+
*/
|
|
51
|
+
readonly username: pulumi.Output<string>;
|
|
52
|
+
/**
|
|
53
|
+
* Create a OrganizationMember resource with the given unique name, arguments, and options.
|
|
54
|
+
*
|
|
55
|
+
* @param name The _unique_ name of the resource.
|
|
56
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
57
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
58
|
+
*/
|
|
59
|
+
constructor(name: string, args: OrganizationMemberArgs, opts?: pulumi.CustomResourceOptions);
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* The set of arguments for constructing a OrganizationMember resource.
|
|
63
|
+
*/
|
|
64
|
+
export interface OrganizationMemberArgs {
|
|
65
|
+
/**
|
|
66
|
+
* The Pulumi Cloud organization name.
|
|
67
|
+
*/
|
|
68
|
+
organizationName: pulumi.Input<string>;
|
|
69
|
+
/**
|
|
70
|
+
* The built-in organization role. One of `member`, `admin`, `billing-manager`. Defaults to `member` on create. Ignored when `roleId` is set.
|
|
71
|
+
*/
|
|
72
|
+
role?: pulumi.Input<string>;
|
|
73
|
+
/**
|
|
74
|
+
* The ID of a custom (fine-grained) organization role to assign. Takes precedence over `role`.
|
|
75
|
+
*/
|
|
76
|
+
roleId?: pulumi.Input<string>;
|
|
77
|
+
/**
|
|
78
|
+
* The Pulumi Cloud username of the member.
|
|
79
|
+
*/
|
|
80
|
+
username: pulumi.Input<string>;
|
|
81
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.OrganizationMember = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Manages a user's membership in a Pulumi Cloud organization and their assigned role. The user must already have a Pulumi Cloud account before they can be added. Custom (fine-grained) roles are assigned by setting `roleId`; built-in roles are assigned by setting `role`. When both are set, `roleId` takes precedence.
|
|
10
|
+
*/
|
|
11
|
+
class OrganizationMember extends pulumi.CustomResource {
|
|
12
|
+
/**
|
|
13
|
+
* Get an existing OrganizationMember 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 opts Optional settings to control the behavior of the CustomResource.
|
|
19
|
+
*/
|
|
20
|
+
static get(name, id, opts) {
|
|
21
|
+
return new OrganizationMember(name, undefined, { ...opts, id: id });
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Returns true if the given object is an instance of OrganizationMember. This is designed to work even
|
|
25
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
26
|
+
*/
|
|
27
|
+
static isInstance(obj) {
|
|
28
|
+
if (obj === undefined || obj === null) {
|
|
29
|
+
return false;
|
|
30
|
+
}
|
|
31
|
+
return obj['__pulumiType'] === OrganizationMember.__pulumiType;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Create a OrganizationMember resource with the given unique name, arguments, and options.
|
|
35
|
+
*
|
|
36
|
+
* @param name The _unique_ name of the resource.
|
|
37
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
38
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
39
|
+
*/
|
|
40
|
+
constructor(name, args, opts) {
|
|
41
|
+
let resourceInputs = {};
|
|
42
|
+
opts = opts || {};
|
|
43
|
+
if (!opts.id) {
|
|
44
|
+
if (args?.organizationName === undefined && !opts.urn) {
|
|
45
|
+
throw new Error("Missing required property 'organizationName'");
|
|
46
|
+
}
|
|
47
|
+
if (args?.username === undefined && !opts.urn) {
|
|
48
|
+
throw new Error("Missing required property 'username'");
|
|
49
|
+
}
|
|
50
|
+
resourceInputs["organizationName"] = args?.organizationName;
|
|
51
|
+
resourceInputs["role"] = args?.role;
|
|
52
|
+
resourceInputs["roleId"] = args?.roleId;
|
|
53
|
+
resourceInputs["username"] = args?.username;
|
|
54
|
+
resourceInputs["adopted"] = undefined /*out*/;
|
|
55
|
+
resourceInputs["email"] = undefined /*out*/;
|
|
56
|
+
resourceInputs["name"] = undefined /*out*/;
|
|
57
|
+
resourceInputs["roleName"] = undefined /*out*/;
|
|
58
|
+
}
|
|
59
|
+
else {
|
|
60
|
+
resourceInputs["adopted"] = undefined /*out*/;
|
|
61
|
+
resourceInputs["email"] = undefined /*out*/;
|
|
62
|
+
resourceInputs["name"] = undefined /*out*/;
|
|
63
|
+
resourceInputs["organizationName"] = undefined /*out*/;
|
|
64
|
+
resourceInputs["role"] = undefined /*out*/;
|
|
65
|
+
resourceInputs["roleId"] = undefined /*out*/;
|
|
66
|
+
resourceInputs["roleName"] = undefined /*out*/;
|
|
67
|
+
resourceInputs["username"] = undefined /*out*/;
|
|
68
|
+
}
|
|
69
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
70
|
+
const replaceOnChanges = { replaceOnChanges: ["organizationName", "username"] };
|
|
71
|
+
opts = pulumi.mergeOptions(opts, replaceOnChanges);
|
|
72
|
+
super(OrganizationMember.__pulumiType, name, resourceInputs, opts);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
exports.OrganizationMember = OrganizationMember;
|
|
76
|
+
/** @internal */
|
|
77
|
+
OrganizationMember.__pulumiType = 'pulumiservice:index:OrganizationMember';
|
|
78
|
+
//# sourceMappingURL=organizationMember.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"organizationMember.js","sourceRoot":"","sources":["../organizationMember.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;GAEG;AACH,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IACzD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,kBAAkB,CAAC,IAAI,EAAE,SAAgB,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,E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,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC5C,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACvD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAClD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,gBAAgB,GAAG,EAAE,gBAAgB,EAAE,CAAC,kBAAkB,EAAE,UAAU,CAAC,EAAE,CAAC;QAChF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,gBAAgB,CAAC,CAAC;QACnD,KAAK,CAAC,kBAAkB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACvE,CAAC;;AAnGL,gDAoGC;AAvFG,gBAAgB;AACO,+BAAY,GAAG,wCAAwC,CAAC"}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* A custom (fine-grained) role defined on a Pulumi Cloud organization. Custom roles allow precise permission control beyond the built-in `admin` / `member` / `billing-manager` roles. Assign them to members via the `OrganizationMember.roleId` field or to teams via `TeamRoleAssignment`.
|
|
4
|
+
*
|
|
5
|
+
* Requires the Custom Roles feature to be enabled on the organization. See the [Pulumi Cloud RBAC docs](https://www.pulumi.com/docs/pulumi-cloud/access-management/rbac/) for the shape of the `permissions` descriptor.
|
|
6
|
+
*/
|
|
7
|
+
export declare class OrganizationRole extends pulumi.CustomResource {
|
|
8
|
+
/**
|
|
9
|
+
* Get an existing OrganizationRole 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 opts Optional settings to control the behavior of the CustomResource.
|
|
15
|
+
*/
|
|
16
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): OrganizationRole;
|
|
17
|
+
/**
|
|
18
|
+
* Returns true if the given object is an instance of OrganizationRole. This is designed to work even
|
|
19
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
20
|
+
*/
|
|
21
|
+
static isInstance(obj: any): obj is OrganizationRole;
|
|
22
|
+
/**
|
|
23
|
+
* Human-readable description of what the role grants.
|
|
24
|
+
*/
|
|
25
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
26
|
+
/**
|
|
27
|
+
* The role's display name. Must be unique within the organization.
|
|
28
|
+
*/
|
|
29
|
+
readonly name: pulumi.Output<string>;
|
|
30
|
+
/**
|
|
31
|
+
* The Pulumi Cloud organization name.
|
|
32
|
+
*/
|
|
33
|
+
readonly organizationName: pulumi.Output<string>;
|
|
34
|
+
/**
|
|
35
|
+
* The role's permission descriptor tree — passed to the service verbatim. This is the `details` field of a Pulumi Cloud PermissionDescriptor: an object with a `__type` discriminator (e.g. `PermissionDescriptorAllow`, `PermissionDescriptorCompose`) describing which scopes are granted. For per-entity scoping, prefer the `buildEnvironmentScopedPermissions`, `buildStackScopedPermissions`, and `buildInsightsAccountScopedPermissions` helpers, which build the underlying `PermissionDescriptorGroup` / `PermissionDescriptorCondition` tree for you.
|
|
36
|
+
*/
|
|
37
|
+
readonly permissions: pulumi.Output<{
|
|
38
|
+
[key: string]: any;
|
|
39
|
+
}>;
|
|
40
|
+
/**
|
|
41
|
+
* The resource type the role's permissions apply to. Defaults to `global` (the org-wide role that can be assigned to members and teams). Other valid values: `stack`, `environment`, `insights-account`.
|
|
42
|
+
*/
|
|
43
|
+
readonly resourceType: pulumi.Output<string | undefined>;
|
|
44
|
+
/**
|
|
45
|
+
* The unique identifier of the custom role.
|
|
46
|
+
*/
|
|
47
|
+
readonly roleId: pulumi.Output<string>;
|
|
48
|
+
/**
|
|
49
|
+
* The service-maintained version number that increments on every update.
|
|
50
|
+
*/
|
|
51
|
+
readonly version: pulumi.Output<number>;
|
|
52
|
+
/**
|
|
53
|
+
* Create a OrganizationRole resource with the given unique name, arguments, and options.
|
|
54
|
+
*
|
|
55
|
+
* @param name The _unique_ name of the resource.
|
|
56
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
57
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
58
|
+
*/
|
|
59
|
+
constructor(name: string, args: OrganizationRoleArgs, opts?: pulumi.CustomResourceOptions);
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* The set of arguments for constructing a OrganizationRole resource.
|
|
63
|
+
*/
|
|
64
|
+
export interface OrganizationRoleArgs {
|
|
65
|
+
/**
|
|
66
|
+
* Human-readable description of what the role grants.
|
|
67
|
+
*/
|
|
68
|
+
description?: pulumi.Input<string>;
|
|
69
|
+
/**
|
|
70
|
+
* The role's display name. Must be unique within the organization.
|
|
71
|
+
*/
|
|
72
|
+
name: pulumi.Input<string>;
|
|
73
|
+
/**
|
|
74
|
+
* The Pulumi Cloud organization name.
|
|
75
|
+
*/
|
|
76
|
+
organizationName: pulumi.Input<string>;
|
|
77
|
+
/**
|
|
78
|
+
* The role's permission descriptor tree — passed to the service verbatim. This is the `details` field of a Pulumi Cloud PermissionDescriptor: an object with a `__type` discriminator (e.g. `PermissionDescriptorAllow`, `PermissionDescriptorCompose`) describing which scopes are granted. For per-entity scoping, prefer the `buildEnvironmentScopedPermissions`, `buildStackScopedPermissions`, and `buildInsightsAccountScopedPermissions` helpers, which build the underlying `PermissionDescriptorGroup` / `PermissionDescriptorCondition` tree for you.
|
|
79
|
+
*/
|
|
80
|
+
permissions: pulumi.Input<{
|
|
81
|
+
[key: string]: any;
|
|
82
|
+
}>;
|
|
83
|
+
/**
|
|
84
|
+
* The resource type the role's permissions apply to. Defaults to `global` (the org-wide role that can be assigned to members and teams). Other valid values: `stack`, `environment`, `insights-account`.
|
|
85
|
+
*/
|
|
86
|
+
resourceType?: pulumi.Input<string>;
|
|
87
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.OrganizationRole = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* A custom (fine-grained) role defined on a Pulumi Cloud organization. Custom roles allow precise permission control beyond the built-in `admin` / `member` / `billing-manager` roles. Assign them to members via the `OrganizationMember.roleId` field or to teams via `TeamRoleAssignment`.
|
|
10
|
+
*
|
|
11
|
+
* Requires the Custom Roles feature to be enabled on the organization. See the [Pulumi Cloud RBAC docs](https://www.pulumi.com/docs/pulumi-cloud/access-management/rbac/) for the shape of the `permissions` descriptor.
|
|
12
|
+
*/
|
|
13
|
+
class OrganizationRole extends pulumi.CustomResource {
|
|
14
|
+
/**
|
|
15
|
+
* Get an existing OrganizationRole resource's state with the given name, ID, and optional extra
|
|
16
|
+
* properties used to qualify the lookup.
|
|
17
|
+
*
|
|
18
|
+
* @param name The _unique_ name of the resulting resource.
|
|
19
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
20
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
21
|
+
*/
|
|
22
|
+
static get(name, id, opts) {
|
|
23
|
+
return new OrganizationRole(name, undefined, { ...opts, id: id });
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Returns true if the given object is an instance of OrganizationRole. This is designed to work even
|
|
27
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
28
|
+
*/
|
|
29
|
+
static isInstance(obj) {
|
|
30
|
+
if (obj === undefined || obj === null) {
|
|
31
|
+
return false;
|
|
32
|
+
}
|
|
33
|
+
return obj['__pulumiType'] === OrganizationRole.__pulumiType;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Create a OrganizationRole resource with the given unique name, arguments, and options.
|
|
37
|
+
*
|
|
38
|
+
* @param name The _unique_ name of the resource.
|
|
39
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
40
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
41
|
+
*/
|
|
42
|
+
constructor(name, args, opts) {
|
|
43
|
+
let resourceInputs = {};
|
|
44
|
+
opts = opts || {};
|
|
45
|
+
if (!opts.id) {
|
|
46
|
+
if (args?.name === undefined && !opts.urn) {
|
|
47
|
+
throw new Error("Missing required property 'name'");
|
|
48
|
+
}
|
|
49
|
+
if (args?.organizationName === undefined && !opts.urn) {
|
|
50
|
+
throw new Error("Missing required property 'organizationName'");
|
|
51
|
+
}
|
|
52
|
+
if (args?.permissions === undefined && !opts.urn) {
|
|
53
|
+
throw new Error("Missing required property 'permissions'");
|
|
54
|
+
}
|
|
55
|
+
resourceInputs["description"] = args?.description;
|
|
56
|
+
resourceInputs["name"] = args?.name;
|
|
57
|
+
resourceInputs["organizationName"] = args?.organizationName;
|
|
58
|
+
resourceInputs["permissions"] = args?.permissions;
|
|
59
|
+
resourceInputs["resourceType"] = args?.resourceType;
|
|
60
|
+
resourceInputs["roleId"] = undefined /*out*/;
|
|
61
|
+
resourceInputs["version"] = undefined /*out*/;
|
|
62
|
+
}
|
|
63
|
+
else {
|
|
64
|
+
resourceInputs["description"] = undefined /*out*/;
|
|
65
|
+
resourceInputs["name"] = undefined /*out*/;
|
|
66
|
+
resourceInputs["organizationName"] = undefined /*out*/;
|
|
67
|
+
resourceInputs["permissions"] = undefined /*out*/;
|
|
68
|
+
resourceInputs["resourceType"] = undefined /*out*/;
|
|
69
|
+
resourceInputs["roleId"] = undefined /*out*/;
|
|
70
|
+
resourceInputs["version"] = undefined /*out*/;
|
|
71
|
+
}
|
|
72
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
73
|
+
const replaceOnChanges = { replaceOnChanges: ["organizationName"] };
|
|
74
|
+
opts = pulumi.mergeOptions(opts, replaceOnChanges);
|
|
75
|
+
super(OrganizationRole.__pulumiType, name, resourceInputs, opts);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
exports.OrganizationRole = OrganizationRole;
|
|
79
|
+
/** @internal */
|
|
80
|
+
OrganizationRole.__pulumiType = 'pulumiservice:index:OrganizationRole';
|
|
81
|
+
//# sourceMappingURL=organizationRole.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"organizationRole.js","sourceRoot":"","sources":["../organizationRole.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;GAIG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAE,SAAgB,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC7E,CAAC;IAKD;;;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,gBA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