@pulumi/gitlab 4.7.0-alpha.1648588163 → 4.7.0-alpha.1648756283
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/branchProtection.d.ts +39 -5
- package/branchProtection.js +15 -7
- package/branchProtection.js.map +1 -1
- package/deployKey.d.ts +6 -3
- package/deployKey.js.map +1 -1
- package/deployToken.d.ts +21 -5
- package/deployToken.js +14 -0
- package/deployToken.js.map +1 -1
- package/getBranch.d.ts +0 -42
- package/getBranch.js.map +1 -1
- package/getGroup.d.ts +0 -54
- package/getGroup.js.map +1 -1
- package/getGroupMembership.d.ts +0 -30
- package/getGroupMembership.js.map +1 -1
- package/getInstanceDeployKeys.d.ts +46 -0
- package/getInstanceDeployKeys.js +42 -0
- package/getInstanceDeployKeys.js.map +1 -0
- package/getProject.d.ts +29 -87
- package/getProject.js +1 -0
- package/getProject.js.map +1 -1
- package/getProjectIssue.d.ts +1 -131
- package/getProjectIssue.js +1 -1
- package/getProjectIssue.js.map +1 -1
- package/getProjectIssues.d.ts +1 -238
- package/getProjectIssues.js +1 -1
- package/getProjectIssues.js.map +1 -1
- package/getProjectProtectedBranch.d.ts +0 -33
- package/getProjectProtectedBranch.js.map +1 -1
- package/getProjectProtectedBranches.d.ts +0 -12
- package/getProjectProtectedBranches.js.map +1 -1
- package/getProjectTag.d.ts +1 -34
- package/getProjectTag.js +1 -1
- package/getProjectTag.js.map +1 -1
- package/getProjectTags.d.ts +53 -0
- package/getProjectTags.js +42 -0
- package/getProjectTags.js.map +1 -0
- package/getProjects.d.ts +0 -192
- package/getProjects.js.map +1 -1
- package/getRepositoryFile.d.ts +57 -0
- package/getRepositoryFile.js +42 -0
- package/getRepositoryFile.js.map +1 -0
- package/getUser.d.ts +0 -99
- package/getUser.js.map +1 -1
- package/getUsers.d.ts +0 -84
- package/getUsers.js.map +1 -1
- package/group.d.ts +44 -41
- package/group.js +5 -2
- package/group.js.map +1 -1
- package/groupAccessToken.d.ts +10 -5
- package/groupAccessToken.js.map +1 -1
- package/groupBadge.d.ts +4 -4
- package/groupCluster.d.ts +3 -3
- package/groupLabel.d.ts +6 -3
- package/groupLabel.js.map +1 -1
- package/groupLdapLink.d.ts +12 -6
- package/groupLdapLink.js.map +1 -1
- package/groupMembership.d.ts +6 -3
- package/groupMembership.js.map +1 -1
- package/groupShareGroup.d.ts +6 -3
- package/groupShareGroup.js.map +1 -1
- package/groupVariable.d.ts +24 -12
- package/groupVariable.js.map +1 -1
- package/index.d.ts +6 -0
- package/index.js +18 -0
- package/index.js.map +1 -1
- package/instanceCluster.d.ts +3 -3
- package/instanceVariable.d.ts +15 -9
- package/instanceVariable.js.map +1 -1
- package/label.d.ts +14 -3
- package/label.js +8 -0
- package/label.js.map +1 -1
- package/managedLicense.d.ts +10 -4
- package/managedLicense.js +1 -1
- package/managedLicense.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/project.d.ts +367 -25
- package/project.js +54 -0
- package/project.js.map +1 -1
- package/projectAccessToken.d.ts +17 -7
- package/projectAccessToken.js +10 -0
- package/projectAccessToken.js.map +1 -1
- package/projectApprovalRule.d.ts +6 -3
- package/projectApprovalRule.js.map +1 -1
- package/projectBadge.d.ts +4 -4
- package/projectCluster.d.ts +3 -3
- package/projectEnvironment.d.ts +147 -0
- package/projectEnvironment.js +95 -0
- package/projectEnvironment.js.map +1 -0
- package/projectHook.d.ts +13 -3
- package/projectHook.js +10 -0
- package/projectHook.js.map +1 -1
- package/projectIssue.d.ts +59 -26
- package/projectIssue.js +21 -0
- package/projectIssue.js.map +1 -1
- package/projectLevelMrApprovals.d.ts +6 -3
- package/projectLevelMrApprovals.js.map +1 -1
- package/projectMembership.d.ts +6 -3
- package/projectMembership.js.map +1 -1
- package/projectProtectedEnvironment.d.ts +127 -0
- package/projectProtectedEnvironment.js +116 -0
- package/projectProtectedEnvironment.js.map +1 -0
- package/projectShareGroup.d.ts +12 -6
- package/projectShareGroup.js.map +1 -1
- package/projectTag.d.ts +4 -4
- package/projectTag.js +1 -1
- package/projectVariable.d.ts +12 -9
- package/projectVariable.js.map +1 -1
- package/repositoryFile.d.ts +67 -8
- package/repositoryFile.js +14 -0
- package/repositoryFile.js.map +1 -1
- package/serviceGithub.d.ts +6 -3
- package/serviceGithub.js.map +1 -1
- package/serviceJira.d.ts +12 -6
- package/serviceJira.js.map +1 -1
- package/serviceMicrosoftTeams.d.ts +6 -3
- package/serviceMicrosoftTeams.js.map +1 -1
- package/servicePipelinesEmail.d.ts +6 -3
- package/servicePipelinesEmail.js.map +1 -1
- package/serviceSlack.d.ts +10 -8
- package/serviceSlack.js.map +1 -1
- package/systemHook.d.ts +165 -0
- package/systemHook.js +100 -0
- package/systemHook.js.map +1 -0
- package/topic.d.ts +55 -25
- package/topic.js +8 -16
- package/topic.js.map +1 -1
- package/types/input.d.ts +21 -72
- package/types/output.d.ts +106 -141
- package/user.d.ts +12 -9
- package/user.js.map +1 -1
- package/userSshKey.d.ts +6 -3
- package/userSshKey.js.map +1 -1
package/branchProtection.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { input as inputs, output as outputs } from "./types";
|
|
|
3
3
|
/**
|
|
4
4
|
* The `gitlab.BranchProtection` resource allows to manage the lifecycle of a protected branch of a repository.
|
|
5
5
|
*
|
|
6
|
-
* > The
|
|
6
|
+
* > The `allowedToPush`, `allowedToMerge`, `allowedToUnprotect`, `unprotectAccessLevel` and `codeOwnerApprovalRequired` attributes require a GitLab Enterprise instance.
|
|
7
7
|
*
|
|
8
8
|
* **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/protected_branches.html)
|
|
9
9
|
*
|
|
@@ -18,6 +18,7 @@ import { input as inputs, output as outputs } from "./types";
|
|
|
18
18
|
* branch: "BranchProtected",
|
|
19
19
|
* pushAccessLevel: "developer",
|
|
20
20
|
* mergeAccessLevel: "developer",
|
|
21
|
+
* unprotectAccessLevel: "developer",
|
|
21
22
|
* allowForcePush: true,
|
|
22
23
|
* codeOwnerApprovalRequired: true,
|
|
23
24
|
* allowedToPushes: [
|
|
@@ -36,6 +37,14 @@ import { input as inputs, output as outputs } from "./types";
|
|
|
36
37
|
* userId: 37,
|
|
37
38
|
* },
|
|
38
39
|
* ],
|
|
40
|
+
* allowedToUnprotects: [
|
|
41
|
+
* {
|
|
42
|
+
* userId: 15,
|
|
43
|
+
* },
|
|
44
|
+
* {
|
|
45
|
+
* groupId: 42,
|
|
46
|
+
* },
|
|
47
|
+
* ],
|
|
39
48
|
* });
|
|
40
49
|
* // Example using dynamic block
|
|
41
50
|
* const main = new gitlab.BranchProtection("main", {
|
|
@@ -43,6 +52,7 @@ import { input as inputs, output as outputs } from "./types";
|
|
|
43
52
|
* branch: "main",
|
|
44
53
|
* pushAccessLevel: "maintainer",
|
|
45
54
|
* mergeAccessLevel: "maintainer",
|
|
55
|
+
* unprotectAccessLevel: "maintainer",
|
|
46
56
|
* dynamic: [{
|
|
47
57
|
* forEach: [
|
|
48
58
|
* 50,
|
|
@@ -92,6 +102,10 @@ export declare class BranchProtection extends pulumi.CustomResource {
|
|
|
92
102
|
* Defines permissions for action.
|
|
93
103
|
*/
|
|
94
104
|
readonly allowedToPushes: pulumi.Output<outputs.BranchProtectionAllowedToPush[] | undefined>;
|
|
105
|
+
/**
|
|
106
|
+
* Defines permissions for action.
|
|
107
|
+
*/
|
|
108
|
+
readonly allowedToUnprotects: pulumi.Output<outputs.BranchProtectionAllowedToUnprotect[] | undefined>;
|
|
95
109
|
/**
|
|
96
110
|
* Name of the branch.
|
|
97
111
|
*/
|
|
@@ -107,7 +121,7 @@ export declare class BranchProtection extends pulumi.CustomResource {
|
|
|
107
121
|
/**
|
|
108
122
|
* Access levels allowed to merge. Valid values are: `no one`, `developer`, `maintainer`.
|
|
109
123
|
*/
|
|
110
|
-
readonly mergeAccessLevel: pulumi.Output<string>;
|
|
124
|
+
readonly mergeAccessLevel: pulumi.Output<string | undefined>;
|
|
111
125
|
/**
|
|
112
126
|
* The id of the project.
|
|
113
127
|
*/
|
|
@@ -115,7 +129,11 @@ export declare class BranchProtection extends pulumi.CustomResource {
|
|
|
115
129
|
/**
|
|
116
130
|
* Access levels allowed to push. Valid values are: `no one`, `developer`, `maintainer`.
|
|
117
131
|
*/
|
|
118
|
-
readonly pushAccessLevel: pulumi.Output<string>;
|
|
132
|
+
readonly pushAccessLevel: pulumi.Output<string | undefined>;
|
|
133
|
+
/**
|
|
134
|
+
* Access levels allowed to unprotect. Valid values are: `developer`, `maintainer`.
|
|
135
|
+
*/
|
|
136
|
+
readonly unprotectAccessLevel: pulumi.Output<string | undefined>;
|
|
119
137
|
/**
|
|
120
138
|
* Create a BranchProtection resource with the given unique name, arguments, and options.
|
|
121
139
|
*
|
|
@@ -141,6 +159,10 @@ export interface BranchProtectionState {
|
|
|
141
159
|
* Defines permissions for action.
|
|
142
160
|
*/
|
|
143
161
|
allowedToPushes?: pulumi.Input<pulumi.Input<inputs.BranchProtectionAllowedToPush>[]>;
|
|
162
|
+
/**
|
|
163
|
+
* Defines permissions for action.
|
|
164
|
+
*/
|
|
165
|
+
allowedToUnprotects?: pulumi.Input<pulumi.Input<inputs.BranchProtectionAllowedToUnprotect>[]>;
|
|
144
166
|
/**
|
|
145
167
|
* Name of the branch.
|
|
146
168
|
*/
|
|
@@ -165,6 +187,10 @@ export interface BranchProtectionState {
|
|
|
165
187
|
* Access levels allowed to push. Valid values are: `no one`, `developer`, `maintainer`.
|
|
166
188
|
*/
|
|
167
189
|
pushAccessLevel?: pulumi.Input<string>;
|
|
190
|
+
/**
|
|
191
|
+
* Access levels allowed to unprotect. Valid values are: `developer`, `maintainer`.
|
|
192
|
+
*/
|
|
193
|
+
unprotectAccessLevel?: pulumi.Input<string>;
|
|
168
194
|
}
|
|
169
195
|
/**
|
|
170
196
|
* The set of arguments for constructing a BranchProtection resource.
|
|
@@ -182,6 +208,10 @@ export interface BranchProtectionArgs {
|
|
|
182
208
|
* Defines permissions for action.
|
|
183
209
|
*/
|
|
184
210
|
allowedToPushes?: pulumi.Input<pulumi.Input<inputs.BranchProtectionAllowedToPush>[]>;
|
|
211
|
+
/**
|
|
212
|
+
* Defines permissions for action.
|
|
213
|
+
*/
|
|
214
|
+
allowedToUnprotects?: pulumi.Input<pulumi.Input<inputs.BranchProtectionAllowedToUnprotect>[]>;
|
|
185
215
|
/**
|
|
186
216
|
* Name of the branch.
|
|
187
217
|
*/
|
|
@@ -193,7 +223,7 @@ export interface BranchProtectionArgs {
|
|
|
193
223
|
/**
|
|
194
224
|
* Access levels allowed to merge. Valid values are: `no one`, `developer`, `maintainer`.
|
|
195
225
|
*/
|
|
196
|
-
mergeAccessLevel
|
|
226
|
+
mergeAccessLevel?: pulumi.Input<string>;
|
|
197
227
|
/**
|
|
198
228
|
* The id of the project.
|
|
199
229
|
*/
|
|
@@ -201,5 +231,9 @@ export interface BranchProtectionArgs {
|
|
|
201
231
|
/**
|
|
202
232
|
* Access levels allowed to push. Valid values are: `no one`, `developer`, `maintainer`.
|
|
203
233
|
*/
|
|
204
|
-
pushAccessLevel
|
|
234
|
+
pushAccessLevel?: pulumi.Input<string>;
|
|
235
|
+
/**
|
|
236
|
+
* Access levels allowed to unprotect. Valid values are: `developer`, `maintainer`.
|
|
237
|
+
*/
|
|
238
|
+
unprotectAccessLevel?: pulumi.Input<string>;
|
|
205
239
|
}
|
package/branchProtection.js
CHANGED
|
@@ -8,7 +8,7 @@ const utilities = require("./utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* The `gitlab.BranchProtection` resource allows to manage the lifecycle of a protected branch of a repository.
|
|
10
10
|
*
|
|
11
|
-
* > The
|
|
11
|
+
* > The `allowedToPush`, `allowedToMerge`, `allowedToUnprotect`, `unprotectAccessLevel` and `codeOwnerApprovalRequired` attributes require a GitLab Enterprise instance.
|
|
12
12
|
*
|
|
13
13
|
* **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/protected_branches.html)
|
|
14
14
|
*
|
|
@@ -23,6 +23,7 @@ const utilities = require("./utilities");
|
|
|
23
23
|
* branch: "BranchProtected",
|
|
24
24
|
* pushAccessLevel: "developer",
|
|
25
25
|
* mergeAccessLevel: "developer",
|
|
26
|
+
* unprotectAccessLevel: "developer",
|
|
26
27
|
* allowForcePush: true,
|
|
27
28
|
* codeOwnerApprovalRequired: true,
|
|
28
29
|
* allowedToPushes: [
|
|
@@ -41,6 +42,14 @@ const utilities = require("./utilities");
|
|
|
41
42
|
* userId: 37,
|
|
42
43
|
* },
|
|
43
44
|
* ],
|
|
45
|
+
* allowedToUnprotects: [
|
|
46
|
+
* {
|
|
47
|
+
* userId: 15,
|
|
48
|
+
* },
|
|
49
|
+
* {
|
|
50
|
+
* groupId: 42,
|
|
51
|
+
* },
|
|
52
|
+
* ],
|
|
44
53
|
* });
|
|
45
54
|
* // Example using dynamic block
|
|
46
55
|
* const main = new gitlab.BranchProtection("main", {
|
|
@@ -48,6 +57,7 @@ const utilities = require("./utilities");
|
|
|
48
57
|
* branch: "main",
|
|
49
58
|
* pushAccessLevel: "maintainer",
|
|
50
59
|
* mergeAccessLevel: "maintainer",
|
|
60
|
+
* unprotectAccessLevel: "maintainer",
|
|
51
61
|
* dynamic: [{
|
|
52
62
|
* forEach: [
|
|
53
63
|
* 50,
|
|
@@ -78,35 +88,33 @@ class BranchProtection extends pulumi.CustomResource {
|
|
|
78
88
|
resourceInputs["allowForcePush"] = state ? state.allowForcePush : undefined;
|
|
79
89
|
resourceInputs["allowedToMerges"] = state ? state.allowedToMerges : undefined;
|
|
80
90
|
resourceInputs["allowedToPushes"] = state ? state.allowedToPushes : undefined;
|
|
91
|
+
resourceInputs["allowedToUnprotects"] = state ? state.allowedToUnprotects : undefined;
|
|
81
92
|
resourceInputs["branch"] = state ? state.branch : undefined;
|
|
82
93
|
resourceInputs["branchProtectionId"] = state ? state.branchProtectionId : undefined;
|
|
83
94
|
resourceInputs["codeOwnerApprovalRequired"] = state ? state.codeOwnerApprovalRequired : undefined;
|
|
84
95
|
resourceInputs["mergeAccessLevel"] = state ? state.mergeAccessLevel : undefined;
|
|
85
96
|
resourceInputs["project"] = state ? state.project : undefined;
|
|
86
97
|
resourceInputs["pushAccessLevel"] = state ? state.pushAccessLevel : undefined;
|
|
98
|
+
resourceInputs["unprotectAccessLevel"] = state ? state.unprotectAccessLevel : undefined;
|
|
87
99
|
}
|
|
88
100
|
else {
|
|
89
101
|
const args = argsOrState;
|
|
90
102
|
if ((!args || args.branch === undefined) && !opts.urn) {
|
|
91
103
|
throw new Error("Missing required property 'branch'");
|
|
92
104
|
}
|
|
93
|
-
if ((!args || args.mergeAccessLevel === undefined) && !opts.urn) {
|
|
94
|
-
throw new Error("Missing required property 'mergeAccessLevel'");
|
|
95
|
-
}
|
|
96
105
|
if ((!args || args.project === undefined) && !opts.urn) {
|
|
97
106
|
throw new Error("Missing required property 'project'");
|
|
98
107
|
}
|
|
99
|
-
if ((!args || args.pushAccessLevel === undefined) && !opts.urn) {
|
|
100
|
-
throw new Error("Missing required property 'pushAccessLevel'");
|
|
101
|
-
}
|
|
102
108
|
resourceInputs["allowForcePush"] = args ? args.allowForcePush : undefined;
|
|
103
109
|
resourceInputs["allowedToMerges"] = args ? args.allowedToMerges : undefined;
|
|
104
110
|
resourceInputs["allowedToPushes"] = args ? args.allowedToPushes : undefined;
|
|
111
|
+
resourceInputs["allowedToUnprotects"] = args ? args.allowedToUnprotects : undefined;
|
|
105
112
|
resourceInputs["branch"] = args ? args.branch : undefined;
|
|
106
113
|
resourceInputs["codeOwnerApprovalRequired"] = args ? args.codeOwnerApprovalRequired : undefined;
|
|
107
114
|
resourceInputs["mergeAccessLevel"] = args ? args.mergeAccessLevel : undefined;
|
|
108
115
|
resourceInputs["project"] = args ? args.project : undefined;
|
|
109
116
|
resourceInputs["pushAccessLevel"] = args ? args.pushAccessLevel : undefined;
|
|
117
|
+
resourceInputs["unprotectAccessLevel"] = args ? args.unprotectAccessLevel : undefined;
|
|
110
118
|
resourceInputs["branchProtectionId"] = undefined /*out*/;
|
|
111
119
|
}
|
|
112
120
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
package/branchProtection.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"branchProtection.js","sourceRoot":"","sources":["../branchProtection.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"branchProtection.js","sourceRoot":"","sources":["../branchProtection.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyEG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IAiFvD,YAAY,IAAY,EAAE,WAA0D,EAAE,IAAmC;QACrH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAgD,CAAC;YAC/D,cAAc,CAAC,gBAAgB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,cAAc,CAAC,iBAAiB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9E,cAAc,CAAC,iBAAiB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9E,cAAc,CAAC,qBAAqB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAAC,CAAC,SAAS,CAAC;YACtF,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,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AI,CAAC,CAAC;IACrE,CAAC;IAtHD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IAAmC;QAC3H,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACvE,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,gBAAgB,CAAC,YAAY,CAAC;IACjE,CAAC;;AA1BL,4CAwHC;AA1GG,gBAAgB;AACO,6BAAY,GAAG,gDAAgD,CAAC"}
|
package/deployKey.d.ts
CHANGED
|
@@ -44,7 +44,8 @@ export declare class DeployKey extends pulumi.CustomResource {
|
|
|
44
44
|
*/
|
|
45
45
|
static isInstance(obj: any): obj is DeployKey;
|
|
46
46
|
/**
|
|
47
|
-
* Allow this deploy key to be used to push changes to the project.
|
|
47
|
+
* Allow this deploy key to be used to push changes to the project. Defaults to `false`. **NOTE::** this cannot currently
|
|
48
|
+
* be managed.
|
|
48
49
|
*/
|
|
49
50
|
readonly canPush: pulumi.Output<boolean | undefined>;
|
|
50
51
|
/**
|
|
@@ -73,7 +74,8 @@ export declare class DeployKey extends pulumi.CustomResource {
|
|
|
73
74
|
*/
|
|
74
75
|
export interface DeployKeyState {
|
|
75
76
|
/**
|
|
76
|
-
* Allow this deploy key to be used to push changes to the project.
|
|
77
|
+
* Allow this deploy key to be used to push changes to the project. Defaults to `false`. **NOTE::** this cannot currently
|
|
78
|
+
* be managed.
|
|
77
79
|
*/
|
|
78
80
|
canPush?: pulumi.Input<boolean>;
|
|
79
81
|
/**
|
|
@@ -94,7 +96,8 @@ export interface DeployKeyState {
|
|
|
94
96
|
*/
|
|
95
97
|
export interface DeployKeyArgs {
|
|
96
98
|
/**
|
|
97
|
-
* Allow this deploy key to be used to push changes to the project.
|
|
99
|
+
* Allow this deploy key to be used to push changes to the project. Defaults to `false`. **NOTE::** this cannot currently
|
|
100
|
+
* be managed.
|
|
98
101
|
*/
|
|
99
102
|
canPush?: pulumi.Input<boolean>;
|
|
100
103
|
/**
|
package/deployKey.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deployKey.js","sourceRoot":"","sources":["../deployKey.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"deployKey.js","sourceRoot":"","sources":["../deployKey.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAsDhD,YAAY,IAAY,EAAE,WAA4C,EAAE,IAAmC;QACvG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAyC,CAAC;YACxD,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;Y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AI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9D,CAAC;IAhFD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsB,EAAE,IAAmC;QACpH,OAAO,IAAI,SAAS,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAChE,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,SAAS,CAAC,YAAY,CAAC;IAC1D,CAAC;;AA1BL,8BAkFC;AApEG,gBAAgB;AACO,sBAAY,GAAG,kCAAkC,CAAC"}
|
package/deployToken.d.ts
CHANGED
|
@@ -3,6 +3,20 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
3
3
|
* The `gitlab.DeployToken` resource allows to manage the lifecycle of group and project deploy tokens.
|
|
4
4
|
*
|
|
5
5
|
* **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/deploy_tokens.html)
|
|
6
|
+
*
|
|
7
|
+
* ## Import
|
|
8
|
+
*
|
|
9
|
+
* # GitLab deploy tokens can be imported using an id made up of `{type}:{type_id}:{deploy_token_id}`, where type is one ofproject, group.
|
|
10
|
+
*
|
|
11
|
+
* ```sh
|
|
12
|
+
* $ pulumi import gitlab:index/deployToken:DeployToken group_token group:1:3
|
|
13
|
+
* ```
|
|
14
|
+
*
|
|
15
|
+
* ```sh
|
|
16
|
+
* $ pulumi import gitlab:index/deployToken:DeployToken project_token project:1:4
|
|
17
|
+
* ```
|
|
18
|
+
*
|
|
19
|
+
* # Notethe `token` resource attribute is not available for imported resources as this information cannot be read from the GitLab API.
|
|
6
20
|
*/
|
|
7
21
|
export declare class DeployToken extends pulumi.CustomResource {
|
|
8
22
|
/**
|
|
@@ -37,11 +51,12 @@ export declare class DeployToken extends pulumi.CustomResource {
|
|
|
37
51
|
*/
|
|
38
52
|
readonly project: pulumi.Output<string | undefined>;
|
|
39
53
|
/**
|
|
40
|
-
* Valid values: `
|
|
54
|
+
* Valid values: `read_repository`, `read_registry`, `read_package_registry`, `write_registry`, `write_package_registry`.
|
|
41
55
|
*/
|
|
42
56
|
readonly scopes: pulumi.Output<string[]>;
|
|
43
57
|
/**
|
|
44
|
-
* The secret token. This is only populated when creating a new deploy token.
|
|
58
|
+
* The secret token. This is only populated when creating a new deploy token. **Note**: The token is not available for
|
|
59
|
+
* imported resources.
|
|
45
60
|
*/
|
|
46
61
|
readonly token: pulumi.Output<string>;
|
|
47
62
|
/**
|
|
@@ -78,11 +93,12 @@ export interface DeployTokenState {
|
|
|
78
93
|
*/
|
|
79
94
|
project?: pulumi.Input<string>;
|
|
80
95
|
/**
|
|
81
|
-
* Valid values: `
|
|
96
|
+
* Valid values: `read_repository`, `read_registry`, `read_package_registry`, `write_registry`, `write_package_registry`.
|
|
82
97
|
*/
|
|
83
98
|
scopes?: pulumi.Input<pulumi.Input<string>[]>;
|
|
84
99
|
/**
|
|
85
|
-
* The secret token. This is only populated when creating a new deploy token.
|
|
100
|
+
* The secret token. This is only populated when creating a new deploy token. **Note**: The token is not available for
|
|
101
|
+
* imported resources.
|
|
86
102
|
*/
|
|
87
103
|
token?: pulumi.Input<string>;
|
|
88
104
|
/**
|
|
@@ -111,7 +127,7 @@ export interface DeployTokenArgs {
|
|
|
111
127
|
*/
|
|
112
128
|
project?: pulumi.Input<string>;
|
|
113
129
|
/**
|
|
114
|
-
* Valid values: `
|
|
130
|
+
* Valid values: `read_repository`, `read_registry`, `read_package_registry`, `write_registry`, `write_package_registry`.
|
|
115
131
|
*/
|
|
116
132
|
scopes: pulumi.Input<pulumi.Input<string>[]>;
|
|
117
133
|
/**
|
package/deployToken.js
CHANGED
|
@@ -9,6 +9,20 @@ const utilities = require("./utilities");
|
|
|
9
9
|
* The `gitlab.DeployToken` resource allows to manage the lifecycle of group and project deploy tokens.
|
|
10
10
|
*
|
|
11
11
|
* **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/deploy_tokens.html)
|
|
12
|
+
*
|
|
13
|
+
* ## Import
|
|
14
|
+
*
|
|
15
|
+
* # GitLab deploy tokens can be imported using an id made up of `{type}:{type_id}:{deploy_token_id}`, where type is one ofproject, group.
|
|
16
|
+
*
|
|
17
|
+
* ```sh
|
|
18
|
+
* $ pulumi import gitlab:index/deployToken:DeployToken group_token group:1:3
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* ```sh
|
|
22
|
+
* $ pulumi import gitlab:index/deployToken:DeployToken project_token project:1:4
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* # Notethe `token` resource attribute is not available for imported resources as this information cannot be read from the GitLab API.
|
|
12
26
|
*/
|
|
13
27
|
class DeployToken extends pulumi.CustomResource {
|
|
14
28
|
constructor(name, argsOrState, opts) {
|
package/deployToken.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deployToken.js","sourceRoot":"","sources":["../deployToken.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"deployToken.js","sourceRoot":"","sources":["../deployToken.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAkElD,YAAY,IAAY,EAAE,WAAgD,EAAE,IAAmC;QAC3G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA2C,CAAC;Y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vokeOptio
|
|
|
23
23
|
* A collection of arguments for invoking getBranch.
|
|
24
24
|
*/
|
|
25
25
|
export interface GetBranchArgs {
|
|
26
|
-
/**
|
|
27
|
-
* The name of the branch.
|
|
28
|
-
*/
|
|
29
26
|
name: string;
|
|
30
|
-
/**
|
|
31
|
-
* The full path or id of the project.
|
|
32
|
-
*/
|
|
33
27
|
project: string;
|
|
34
28
|
}
|
|
35
29
|
/**
|
|
36
30
|
* A collection of values returned by getBranch.
|
|
37
31
|
*/
|
|
38
32
|
export interface GetBranchResult {
|
|
39
|
-
/**
|
|
40
|
-
* Bool, true if you can push to the branch.
|
|
41
|
-
*/
|
|
42
33
|
readonly canPush: boolean;
|
|
43
|
-
/**
|
|
44
|
-
* The commit associated with the branch ref.
|
|
45
|
-
*/
|
|
46
34
|
readonly commits: outputs.GetBranchCommit[];
|
|
47
|
-
/**
|
|
48
|
-
* Bool, true if branch is the default branch for the project.
|
|
49
|
-
*/
|
|
50
35
|
readonly default: boolean;
|
|
51
|
-
/**
|
|
52
|
-
* Bool, true if developer level access allows to merge branch.
|
|
53
|
-
*/
|
|
54
36
|
readonly developerCanMerge: boolean;
|
|
55
|
-
/**
|
|
56
|
-
* Bool, true if developer level access allows git push.
|
|
57
|
-
*/
|
|
58
37
|
readonly developerCanPush: boolean;
|
|
59
38
|
/**
|
|
60
39
|
* The provider-assigned unique ID for this managed resource.
|
|
61
40
|
*/
|
|
62
41
|
readonly id: string;
|
|
63
|
-
/**
|
|
64
|
-
* Bool, true if the branch has been merged into it's parent.
|
|
65
|
-
*/
|
|
66
42
|
readonly merged: boolean;
|
|
67
|
-
/**
|
|
68
|
-
* The name of the branch.
|
|
69
|
-
*/
|
|
70
43
|
readonly name: string;
|
|
71
|
-
/**
|
|
72
|
-
* The full path or id of the project.
|
|
73
|
-
*/
|
|
74
44
|
readonly project: string;
|
|
75
|
-
/**
|
|
76
|
-
* Bool, true if branch has branch protection.
|
|
77
|
-
*/
|
|
78
45
|
readonly protected: boolean;
|
|
79
|
-
/**
|
|
80
|
-
* The url of the created branch (https.)
|
|
81
|
-
*/
|
|
82
46
|
readonly webUrl: string;
|
|
83
47
|
}
|
|
84
48
|
export declare function getBranchOutput(args: GetBranchOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetBranchResult>;
|
|
@@ -86,12 +50,6 @@ export declare function getBranchOutput(args: GetBranchOutputArgs, opts?: pulumi
|
|
|
86
50
|
* A collection of arguments for invoking getBranch.
|
|
87
51
|
*/
|
|
88
52
|
export interface GetBranchOutputArgs {
|
|
89
|
-
/**
|
|
90
|
-
* The name of the branch.
|
|
91
|
-
*/
|
|
92
53
|
name: pulumi.Input<string>;
|
|
93
|
-
/**
|
|
94
|
-
* The full path or id of the project.
|
|
95
|
-
*/
|
|
96
54
|
project: pulumi.Input<string>;
|
|
97
55
|
}
|
package/getBranch.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getBranch.js","sourceRoot":"","sources":["../getBranch.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,SAAS,CAAC,IAAmB,EAAE,IAA2B;IACtE,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kCAAkC,EAAE;QAC7D,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,8BAUC;
|
|
1
|
+
{"version":3,"file":"getBranch.js","sourceRoot":"","sources":["../getBranch.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,SAAS,CAAC,IAAmB,EAAE,IAA2B;IACtE,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kCAAkC,EAAE;QAC7D,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,8BAUC;AA8BD,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAClF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,SAAS,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC7D,CAAC;AAFD,0CAEC"}
|
package/getGroup.d.ts
CHANGED
|
@@ -21,78 +21,30 @@ export declare function getGroup(args?: GetGroupArgs, opts?: pulumi.InvokeOption
|
|
|
21
21
|
* A collection of arguments for invoking getGroup.
|
|
22
22
|
*/
|
|
23
23
|
export interface GetGroupArgs {
|
|
24
|
-
/**
|
|
25
|
-
* The full path of the group.
|
|
26
|
-
*/
|
|
27
24
|
fullPath?: string;
|
|
28
|
-
/**
|
|
29
|
-
* The ID of the group.
|
|
30
|
-
*/
|
|
31
25
|
groupId?: number;
|
|
32
26
|
}
|
|
33
27
|
/**
|
|
34
28
|
* A collection of values returned by getGroup.
|
|
35
29
|
*/
|
|
36
30
|
export interface GetGroupResult {
|
|
37
|
-
/**
|
|
38
|
-
* Whether developers and maintainers can push to the applicable default branch.
|
|
39
|
-
*/
|
|
40
31
|
readonly defaultBranchProtection: number;
|
|
41
|
-
/**
|
|
42
|
-
* The description of the group.
|
|
43
|
-
*/
|
|
44
32
|
readonly description: string;
|
|
45
|
-
/**
|
|
46
|
-
* The full name of the group.
|
|
47
|
-
*/
|
|
48
33
|
readonly fullName: string;
|
|
49
|
-
/**
|
|
50
|
-
* The full path of the group.
|
|
51
|
-
*/
|
|
52
34
|
readonly fullPath: string;
|
|
53
|
-
/**
|
|
54
|
-
* The ID of the group.
|
|
55
|
-
*/
|
|
56
35
|
readonly groupId: number;
|
|
57
36
|
/**
|
|
58
37
|
* The provider-assigned unique ID for this managed resource.
|
|
59
38
|
*/
|
|
60
39
|
readonly id: string;
|
|
61
|
-
/**
|
|
62
|
-
* Boolean, is LFS enabled for projects in this group.
|
|
63
|
-
*/
|
|
64
40
|
readonly lfsEnabled: boolean;
|
|
65
|
-
/**
|
|
66
|
-
* The name of this group.
|
|
67
|
-
*/
|
|
68
41
|
readonly name: string;
|
|
69
|
-
/**
|
|
70
|
-
* Integer, ID of the parent group.
|
|
71
|
-
*/
|
|
72
42
|
readonly parentId: number;
|
|
73
|
-
/**
|
|
74
|
-
* The path of the group.
|
|
75
|
-
*/
|
|
76
43
|
readonly path: string;
|
|
77
|
-
/**
|
|
78
|
-
* When enabled, users can not fork projects from this group to external namespaces.
|
|
79
|
-
*/
|
|
80
44
|
readonly preventForkingOutsideGroup: boolean;
|
|
81
|
-
/**
|
|
82
|
-
* Boolean, is request for access enabled to the group.
|
|
83
|
-
*/
|
|
84
45
|
readonly requestAccessEnabled: boolean;
|
|
85
|
-
/**
|
|
86
|
-
* The group level registration token to use during runner setup.
|
|
87
|
-
*/
|
|
88
46
|
readonly runnersToken: string;
|
|
89
|
-
/**
|
|
90
|
-
* Visibility level of the group. Possible values are `private`, `internal`, `public`.
|
|
91
|
-
*/
|
|
92
47
|
readonly visibilityLevel: string;
|
|
93
|
-
/**
|
|
94
|
-
* Web URL of the group.
|
|
95
|
-
*/
|
|
96
48
|
readonly webUrl: string;
|
|
97
49
|
}
|
|
98
50
|
export declare function getGroupOutput(args?: GetGroupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetGroupResult>;
|
|
@@ -100,12 +52,6 @@ export declare function getGroupOutput(args?: GetGroupOutputArgs, opts?: pulumi.
|
|
|
100
52
|
* A collection of arguments for invoking getGroup.
|
|
101
53
|
*/
|
|
102
54
|
export interface GetGroupOutputArgs {
|
|
103
|
-
/**
|
|
104
|
-
* The full path of the group.
|
|
105
|
-
*/
|
|
106
55
|
fullPath?: pulumi.Input<string>;
|
|
107
|
-
/**
|
|
108
|
-
* The ID of the group.
|
|
109
|
-
*/
|
|
110
56
|
groupId?: pulumi.Input<number>;
|
|
111
57
|
}
|
package/getGroup.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getGroup.js","sourceRoot":"","sources":["../getGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,QAAQ,CAAC,IAAmB,EAAE,IAA2B;IACrE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gCAAgC,EAAE;QAC3D,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,4BAWC;
|
|
1
|
+
{"version":3,"file":"getGroup.js","sourceRoot":"","sources":["../getGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,QAAQ,CAAC,IAAmB,EAAE,IAA2B;IACrE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gCAAgC,EAAE;QAC3D,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,4BAWC;AAkCD,SAAgB,cAAc,CAAC,IAAyB,EAAE,IAA2B;IACjF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,QAAQ,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC5D,CAAC;AAFD,wCAEC"}
|
package/getGroupMembership.d.ts
CHANGED
|
@@ -22,42 +22,21 @@ export declare function getGroupMembership(args?: GetGroupMembershipArgs, opts?:
|
|
|
22
22
|
* A collection of arguments for invoking getGroupMembership.
|
|
23
23
|
*/
|
|
24
24
|
export interface GetGroupMembershipArgs {
|
|
25
|
-
/**
|
|
26
|
-
* Only return members with the desired access level. Acceptable values are: `guest`, `reporter`, `developer`, `maintainer`, `owner`.
|
|
27
|
-
*/
|
|
28
25
|
accessLevel?: string;
|
|
29
|
-
/**
|
|
30
|
-
* The full path of the group.
|
|
31
|
-
*/
|
|
32
26
|
fullPath?: string;
|
|
33
|
-
/**
|
|
34
|
-
* The ID of the group.
|
|
35
|
-
*/
|
|
36
27
|
groupId?: number;
|
|
37
28
|
}
|
|
38
29
|
/**
|
|
39
30
|
* A collection of values returned by getGroupMembership.
|
|
40
31
|
*/
|
|
41
32
|
export interface GetGroupMembershipResult {
|
|
42
|
-
/**
|
|
43
|
-
* Only return members with the desired access level. Acceptable values are: `guest`, `reporter`, `developer`, `maintainer`, `owner`.
|
|
44
|
-
*/
|
|
45
33
|
readonly accessLevel: string;
|
|
46
|
-
/**
|
|
47
|
-
* The full path of the group.
|
|
48
|
-
*/
|
|
49
34
|
readonly fullPath: string;
|
|
50
|
-
/**
|
|
51
|
-
* The ID of the group.
|
|
52
|
-
*/
|
|
53
35
|
readonly groupId: number;
|
|
54
36
|
/**
|
|
55
37
|
* The provider-assigned unique ID for this managed resource.
|
|
56
38
|
*/
|
|
57
39
|
readonly id: string;
|
|
58
|
-
/**
|
|
59
|
-
* The list of group members.
|
|
60
|
-
*/
|
|
61
40
|
readonly members: outputs.GetGroupMembershipMember[];
|
|
62
41
|
}
|
|
63
42
|
export declare function getGroupMembershipOutput(args?: GetGroupMembershipOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetGroupMembershipResult>;
|
|
@@ -65,16 +44,7 @@ export declare function getGroupMembershipOutput(args?: GetGroupMembershipOutput
|
|
|
65
44
|
* A collection of arguments for invoking getGroupMembership.
|
|
66
45
|
*/
|
|
67
46
|
export interface GetGroupMembershipOutputArgs {
|
|
68
|
-
/**
|
|
69
|
-
* Only return members with the desired access level. Acceptable values are: `guest`, `reporter`, `developer`, `maintainer`, `owner`.
|
|
70
|
-
*/
|
|
71
47
|
accessLevel?: pulumi.Input<string>;
|
|
72
|
-
/**
|
|
73
|
-
* The full path of the group.
|
|
74
|
-
*/
|
|
75
48
|
fullPath?: pulumi.Input<string>;
|
|
76
|
-
/**
|
|
77
|
-
* The ID of the group.
|
|
78
|
-
*/
|
|
79
49
|
groupId?: pulumi.Input<number>;
|
|
80
50
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getGroupMembership.js","sourceRoot":"","sources":["../getGroupMembership.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,kBA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,CAAC,EAAE,CAAC,kBAAkB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACtE,CAAC;AAFD,4DAEC"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { output as outputs } from "./types";
|
|
3
|
+
/**
|
|
4
|
+
* The `gitlab.getInstanceDeployKeys` data source allows to retrieve a list of deploy keys for a GitLab instance.
|
|
5
|
+
*
|
|
6
|
+
* > This data source requires administration privileges.
|
|
7
|
+
*
|
|
8
|
+
* **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/deploy_keys.html#list-all-deploy-keys)
|
|
9
|
+
*
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as gitlab from "@pulumi/gitlab";
|
|
15
|
+
*
|
|
16
|
+
* // only public deploy keys
|
|
17
|
+
* const example = pulumi.output(gitlab.getInstanceDeployKeys({
|
|
18
|
+
* public: true,
|
|
19
|
+
* }));
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
export declare function getInstanceDeployKeys(args?: GetInstanceDeployKeysArgs, opts?: pulumi.InvokeOptions): Promise<GetInstanceDeployKeysResult>;
|
|
23
|
+
/**
|
|
24
|
+
* A collection of arguments for invoking getInstanceDeployKeys.
|
|
25
|
+
*/
|
|
26
|
+
export interface GetInstanceDeployKeysArgs {
|
|
27
|
+
public?: boolean;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* A collection of values returned by getInstanceDeployKeys.
|
|
31
|
+
*/
|
|
32
|
+
export interface GetInstanceDeployKeysResult {
|
|
33
|
+
readonly deployKeys: outputs.GetInstanceDeployKeysDeployKey[];
|
|
34
|
+
/**
|
|
35
|
+
* The provider-assigned unique ID for this managed resource.
|
|
36
|
+
*/
|
|
37
|
+
readonly id: string;
|
|
38
|
+
readonly public?: boolean;
|
|
39
|
+
}
|
|
40
|
+
export declare function getInstanceDeployKeysOutput(args?: GetInstanceDeployKeysOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetInstanceDeployKeysResult>;
|
|
41
|
+
/**
|
|
42
|
+
* A collection of arguments for invoking getInstanceDeployKeys.
|
|
43
|
+
*/
|
|
44
|
+
export interface GetInstanceDeployKeysOutputArgs {
|
|
45
|
+
public?: pulumi.Input<boolean>;
|
|
46
|
+
}
|