@pulumi/gitlab 4.8.0 → 4.9.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/applicationSettings.d.ts +2936 -0
- package/applicationSettings.js +543 -0
- package/applicationSettings.js.map +1 -0
- package/branch.d.ts +3 -2
- package/branch.js +1 -1
- package/branch.js.map +1 -1
- package/branchProtection.d.ts +3 -8
- package/branchProtection.js +1 -7
- package/branchProtection.js.map +1 -1
- package/clusterAgent.d.ts +1 -1
- package/clusterAgent.js +1 -1
- package/clusterAgentToken.d.ts +2 -2
- package/clusterAgentToken.js +2 -2
- package/deployKey.d.ts +1 -1
- package/deployKey.js +1 -1
- package/deployKeyEnable.d.ts +1 -1
- package/deployKeyEnable.js +1 -1
- package/deployToken.d.ts +7 -9
- package/deployToken.js +4 -2
- package/deployToken.js.map +1 -1
- package/getBranch.d.ts +43 -1
- package/getBranch.js.map +1 -1
- package/getClusterAgent.d.ts +27 -0
- package/getClusterAgent.js.map +1 -1
- package/getClusterAgents.d.ts +13 -1
- package/getClusterAgents.js.map +1 -1
- package/getCurrentUser.d.ts +27 -0
- package/getGroup.d.ts +54 -0
- package/getGroup.js.map +1 -1
- package/getGroupHook.d.ts +123 -0
- package/getGroupHook.js +28 -0
- package/getGroupHook.js.map +1 -0
- package/getGroupHooks.d.ts +44 -0
- package/getGroupHooks.js +27 -0
- package/getGroupHooks.js.map +1 -0
- package/getGroupMembership.d.ts +31 -1
- package/getGroupMembership.js.map +1 -1
- package/getGroupVariable.d.ts +39 -0
- package/getGroupVariable.js.map +1 -1
- package/getGroupVariables.d.ts +22 -1
- package/getGroupVariables.js.map +1 -1
- package/getInstanceDeployKeys.d.ts +13 -1
- package/getInstanceDeployKeys.js.map +1 -1
- package/getInstanceVariable.d.ts +21 -0
- package/getInstanceVariable.js.map +1 -1
- package/getInstanceVariables.d.ts +4 -1
- package/getInstanceVariables.js.map +1 -1
- package/getProject.d.ts +188 -1
- package/getProject.js.map +1 -1
- package/getProjectHook.d.ts +134 -0
- package/getProjectHook.js +43 -0
- package/getProjectHook.js.map +1 -0
- package/getProjectHooks.d.ts +58 -0
- package/getProjectHooks.js +41 -0
- package/getProjectHooks.js.map +1 -0
- package/getProjectIssue.d.ts +131 -1
- package/getProjectIssue.js.map +1 -1
- package/getProjectIssues.d.ts +238 -1
- package/getProjectIssues.js.map +1 -1
- package/getProjectMembership.d.ts +96 -0
- package/getProjectMembership.js +47 -0
- package/getProjectMembership.js.map +1 -0
- package/getProjectMilestone.d.ts +51 -0
- package/getProjectMilestone.js.map +1 -1
- package/getProjectMilestones.d.ts +58 -1
- package/getProjectMilestones.js.map +1 -1
- package/getProjectProtectedBranch.d.ts +34 -1
- package/getProjectProtectedBranch.js.map +1 -1
- package/getProjectProtectedBranches.d.ts +13 -1
- package/getProjectProtectedBranches.js.map +1 -1
- package/getProjectTag.d.ts +34 -1
- package/getProjectTag.js.map +1 -1
- package/getProjectTags.d.ts +40 -1
- package/getProjectTags.js.map +1 -1
- package/getProjectVariable.d.ts +39 -0
- package/getProjectVariable.js.map +1 -1
- package/getProjectVariables.d.ts +22 -1
- package/getProjectVariables.js.map +1 -1
- package/getProjects.d.ts +193 -1
- package/getProjects.js.map +1 -1
- package/getReleaseLink.d.ts +45 -0
- package/getReleaseLink.js.map +1 -1
- package/getReleaseLinks.d.ts +22 -1
- package/getReleaseLinks.js.map +1 -1
- package/getRepositoryFile.d.ts +54 -0
- package/getRepositoryFile.js.map +1 -1
- package/getRepositoryTree.d.ts +94 -0
- package/getRepositoryTree.js +44 -0
- package/getRepositoryTree.js.map +1 -0
- package/getUser.d.ts +108 -0
- package/getUser.js.map +1 -1
- package/getUsers.d.ts +85 -1
- package/getUsers.js.map +1 -1
- package/group.d.ts +5 -5
- package/group.js +4 -2
- package/group.js.map +1 -1
- package/groupAccessToken.d.ts +7 -12
- package/groupAccessToken.js +4 -2
- package/groupAccessToken.js.map +1 -1
- package/groupBadge.d.ts +5 -5
- package/groupBadge.js +1 -1
- package/groupCluster.d.ts +4 -4
- package/groupCluster.js +4 -2
- package/groupCluster.js.map +1 -1
- package/groupCustomAttribute.d.ts +1 -1
- package/groupCustomAttribute.js +1 -1
- package/groupHook.d.ts +317 -0
- package/groupHook.js +144 -0
- package/groupHook.js.map +1 -0
- package/groupLabel.d.ts +4 -7
- package/groupLabel.js +1 -1
- package/groupLabel.js.map +1 -1
- package/groupLdapLink.d.ts +10 -16
- package/groupLdapLink.js +1 -1
- package/groupLdapLink.js.map +1 -1
- package/groupMembership.d.ts +28 -7
- package/groupMembership.js +5 -1
- package/groupMembership.js.map +1 -1
- package/groupProjectFileTemplate.d.ts +15 -14
- package/groupProjectFileTemplate.js +3 -2
- package/groupProjectFileTemplate.js.map +1 -1
- package/groupSamlLink.d.ts +98 -0
- package/groupSamlLink.js +88 -0
- package/groupSamlLink.js.map +1 -0
- package/groupShareGroup.d.ts +4 -7
- package/groupShareGroup.js +1 -1
- package/groupShareGroup.js.map +1 -1
- package/groupVariable.d.ts +13 -22
- package/groupVariable.js +4 -2
- package/groupVariable.js.map +1 -1
- package/index.d.ts +298 -89
- package/index.js +311 -228
- package/index.js.map +1 -1
- package/instanceCluster.d.ts +4 -4
- package/instanceCluster.js +4 -2
- package/instanceCluster.js.map +1 -1
- package/instanceVariable.d.ts +10 -16
- package/instanceVariable.js +4 -2
- package/instanceVariable.js.map +1 -1
- package/label.d.ts +4 -7
- package/label.js +1 -1
- package/label.js.map +1 -1
- package/managedLicense.d.ts +10 -10
- package/managedLicense.js +1 -1
- package/package.json +4 -3
- package/package.json.bak +2 -1
- package/package.json.dev +4 -3
- package/personalAccessToken.d.ts +7 -15
- package/personalAccessToken.js +4 -2
- package/personalAccessToken.js.map +1 -1
- package/pipelineSchedule.d.ts +1 -1
- package/pipelineSchedule.js +1 -1
- package/pipelineScheduleVariable.d.ts +1 -1
- package/pipelineScheduleVariable.js +1 -1
- package/pipelineTrigger.d.ts +1 -1
- package/pipelineTrigger.js +3 -1
- package/pipelineTrigger.js.map +1 -1
- package/project.d.ts +55 -72
- package/project.js +4 -2
- package/project.js.map +1 -1
- package/projectAccessToken.d.ts +10 -13
- package/projectAccessToken.js +4 -2
- package/projectAccessToken.js.map +1 -1
- package/projectApprovalRule.d.ts +4 -7
- package/projectApprovalRule.js +1 -1
- package/projectApprovalRule.js.map +1 -1
- package/projectBadge.d.ts +5 -5
- package/projectBadge.js +1 -1
- package/projectCluster.d.ts +4 -4
- package/projectCluster.js +4 -2
- package/projectCluster.js.map +1 -1
- package/projectCustomAttribute.d.ts +1 -1
- package/projectCustomAttribute.js +1 -1
- package/projectEnvironment.d.ts +3 -5
- package/projectEnvironment.js +1 -1
- package/projectEnvironment.js.map +1 -1
- package/projectFreezePeriod.d.ts +1 -1
- package/projectFreezePeriod.js +1 -1
- package/projectHook.d.ts +18 -2
- package/projectHook.js +9 -3
- package/projectHook.js.map +1 -1
- package/projectIssue.d.ts +28 -39
- package/projectIssue.js +1 -1
- package/projectIssue.js.map +1 -1
- package/projectIssueBoard.d.ts +189 -0
- package/projectIssueBoard.js +131 -0
- package/projectIssueBoard.js.map +1 -0
- package/projectLevelMrApprovals.d.ts +5 -8
- package/projectLevelMrApprovals.js +2 -2
- package/projectLevelMrApprovals.js.map +1 -1
- package/projectMembership.d.ts +4 -7
- package/projectMembership.js +1 -1
- package/projectMembership.js.map +1 -1
- package/projectMilestone.d.ts +1 -1
- package/projectMilestone.js +1 -1
- package/projectMirror.d.ts +1 -1
- package/projectMirror.js +4 -2
- package/projectMirror.js.map +1 -1
- package/projectProtectedEnvironment.d.ts +9 -2
- package/projectProtectedEnvironment.js +7 -1
- package/projectProtectedEnvironment.js.map +1 -1
- package/projectRunnerEnablement.d.ts +1 -1
- package/projectRunnerEnablement.js +1 -1
- package/projectShareGroup.d.ts +7 -13
- package/projectShareGroup.js +1 -1
- package/projectShareGroup.js.map +1 -1
- package/projectTag.d.ts +4 -3
- package/projectTag.js +2 -2
- package/projectTag.js.map +1 -1
- package/projectVariable.d.ts +13 -22
- package/projectVariable.js +4 -2
- package/projectVariable.js.map +1 -1
- package/releaseLink.d.ts +6 -11
- package/releaseLink.js +1 -1
- package/releaseLink.js.map +1 -1
- package/repositoryFile.d.ts +4 -7
- package/repositoryFile.js +1 -1
- package/repositoryFile.js.map +1 -1
- package/runner.d.ts +8 -8
- package/runner.js +4 -2
- package/runner.js.map +1 -1
- package/serviceExternalWiki.d.ts +3 -5
- package/serviceExternalWiki.js +1 -1
- package/serviceExternalWiki.js.map +1 -1
- package/serviceGithub.d.ts +4 -7
- package/serviceGithub.js +4 -2
- package/serviceGithub.js.map +1 -1
- package/serviceJira.d.ts +7 -13
- package/serviceJira.js +4 -2
- package/serviceJira.js.map +1 -1
- package/serviceMicrosoftTeams.d.ts +4 -7
- package/serviceMicrosoftTeams.js +1 -1
- package/serviceMicrosoftTeams.js.map +1 -1
- package/servicePipelinesEmail.d.ts +4 -7
- package/servicePipelinesEmail.js +1 -1
- package/servicePipelinesEmail.js.map +1 -1
- package/serviceSlack.d.ts +9 -11
- package/serviceSlack.js +1 -1
- package/serviceSlack.js.map +1 -1
- package/systemHook.d.ts +5 -8
- package/systemHook.js +5 -3
- package/systemHook.js.map +1 -1
- package/tagProtection.d.ts +1 -1
- package/tagProtection.js +1 -1
- package/topic.d.ts +5 -8
- package/topic.js +2 -2
- package/topic.js.map +1 -1
- package/types/index.js.map +1 -1
- package/types/input.d.ts +137 -0
- package/types/output.d.ts +321 -1
- package/user.d.ts +11 -14
- package/user.js +5 -3
- package/user.js.map +1 -1
- package/userCustomAttribute.d.ts +1 -1
- package/userCustomAttribute.js +1 -1
- package/userGpgKey.d.ts +119 -0
- package/userGpgKey.js +101 -0
- package/userGpgKey.js.map +1 -0
- package/userSshKey.d.ts +4 -7
- package/userSshKey.js +1 -1
- package/userSshKey.js.map +1 -1
- package/utilities.js +13 -1
- package/utilities.js.map +1 -1
package/types/output.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import * as outputs from "../types/output";
|
|
2
2
|
export interface BranchCommit {
|
|
3
3
|
authorEmail: string;
|
|
4
4
|
authorName: string;
|
|
@@ -6,6 +6,9 @@ export interface BranchCommit {
|
|
|
6
6
|
committedDate: string;
|
|
7
7
|
committerEmail: string;
|
|
8
8
|
committerName: string;
|
|
9
|
+
/**
|
|
10
|
+
* The ID of this resource.
|
|
11
|
+
*/
|
|
9
12
|
id: string;
|
|
10
13
|
message: string;
|
|
11
14
|
parentIds: string[];
|
|
@@ -13,21 +16,57 @@ export interface BranchCommit {
|
|
|
13
16
|
title: string;
|
|
14
17
|
}
|
|
15
18
|
export interface BranchProtectionAllowedToMerge {
|
|
19
|
+
/**
|
|
20
|
+
* Level of access.
|
|
21
|
+
*/
|
|
16
22
|
accessLevel: string;
|
|
23
|
+
/**
|
|
24
|
+
* Readable description of level of access.
|
|
25
|
+
*/
|
|
17
26
|
accessLevelDescription: string;
|
|
27
|
+
/**
|
|
28
|
+
* The ID of a GitLab group allowed to perform the relevant action. Mutually exclusive with `userId`.
|
|
29
|
+
*/
|
|
18
30
|
groupId?: number;
|
|
31
|
+
/**
|
|
32
|
+
* The ID of a GitLab user allowed to perform the relevant action. Mutually exclusive with `groupId`.
|
|
33
|
+
*/
|
|
19
34
|
userId?: number;
|
|
20
35
|
}
|
|
21
36
|
export interface BranchProtectionAllowedToPush {
|
|
37
|
+
/**
|
|
38
|
+
* Level of access.
|
|
39
|
+
*/
|
|
22
40
|
accessLevel: string;
|
|
41
|
+
/**
|
|
42
|
+
* Readable description of level of access.
|
|
43
|
+
*/
|
|
23
44
|
accessLevelDescription: string;
|
|
45
|
+
/**
|
|
46
|
+
* The ID of a GitLab group allowed to perform the relevant action. Mutually exclusive with `userId`.
|
|
47
|
+
*/
|
|
24
48
|
groupId?: number;
|
|
49
|
+
/**
|
|
50
|
+
* The ID of a GitLab user allowed to perform the relevant action. Mutually exclusive with `groupId`.
|
|
51
|
+
*/
|
|
25
52
|
userId?: number;
|
|
26
53
|
}
|
|
27
54
|
export interface BranchProtectionAllowedToUnprotect {
|
|
55
|
+
/**
|
|
56
|
+
* Level of access.
|
|
57
|
+
*/
|
|
28
58
|
accessLevel: string;
|
|
59
|
+
/**
|
|
60
|
+
* Readable description of level of access.
|
|
61
|
+
*/
|
|
29
62
|
accessLevelDescription: string;
|
|
63
|
+
/**
|
|
64
|
+
* The ID of a GitLab group allowed to perform the relevant action. Mutually exclusive with `userId`.
|
|
65
|
+
*/
|
|
30
66
|
groupId?: number;
|
|
67
|
+
/**
|
|
68
|
+
* The ID of a GitLab user allowed to perform the relevant action. Mutually exclusive with `groupId`.
|
|
69
|
+
*/
|
|
31
70
|
userId?: number;
|
|
32
71
|
}
|
|
33
72
|
export interface GetBranchCommit {
|
|
@@ -37,6 +76,9 @@ export interface GetBranchCommit {
|
|
|
37
76
|
committedDate: string;
|
|
38
77
|
committerEmail: string;
|
|
39
78
|
committerName: string;
|
|
79
|
+
/**
|
|
80
|
+
* The ID of this resource.
|
|
81
|
+
*/
|
|
40
82
|
id: string;
|
|
41
83
|
message: string;
|
|
42
84
|
parentIds: string[];
|
|
@@ -48,12 +90,46 @@ export interface GetClusterAgentsClusterAgent {
|
|
|
48
90
|
createdAt: string;
|
|
49
91
|
createdByUserId: number;
|
|
50
92
|
name: string;
|
|
93
|
+
/**
|
|
94
|
+
* The ID or full path of the project owned by the authenticated user.
|
|
95
|
+
*/
|
|
51
96
|
project: string;
|
|
52
97
|
}
|
|
98
|
+
export interface GetGroupHooksHook {
|
|
99
|
+
confidentialIssuesEvents: boolean;
|
|
100
|
+
confidentialNoteEvents: boolean;
|
|
101
|
+
deploymentEvents: boolean;
|
|
102
|
+
enableSslVerification: boolean;
|
|
103
|
+
/**
|
|
104
|
+
* The ID or full path of the group.
|
|
105
|
+
*/
|
|
106
|
+
group: string;
|
|
107
|
+
groupId: number;
|
|
108
|
+
hookId: number;
|
|
109
|
+
issuesEvents: boolean;
|
|
110
|
+
jobEvents: boolean;
|
|
111
|
+
mergeRequestsEvents: boolean;
|
|
112
|
+
noteEvents: boolean;
|
|
113
|
+
pipelineEvents: boolean;
|
|
114
|
+
pushEvents: boolean;
|
|
115
|
+
pushEventsBranchFilter: string;
|
|
116
|
+
releasesEvents: boolean;
|
|
117
|
+
subgroupEvents: boolean;
|
|
118
|
+
tagPushEvents: boolean;
|
|
119
|
+
token: string;
|
|
120
|
+
url: string;
|
|
121
|
+
wikiPageEvents: boolean;
|
|
122
|
+
}
|
|
53
123
|
export interface GetGroupMembershipMember {
|
|
124
|
+
/**
|
|
125
|
+
* Only return members with the desired access level. Acceptable values are: `guest`, `reporter`, `developer`, `maintainer`, `owner`.
|
|
126
|
+
*/
|
|
54
127
|
accessLevel: string;
|
|
55
128
|
avatarUrl: string;
|
|
56
129
|
expiresAt: string;
|
|
130
|
+
/**
|
|
131
|
+
* The ID of this resource.
|
|
132
|
+
*/
|
|
57
133
|
id: number;
|
|
58
134
|
name: string;
|
|
59
135
|
state: string;
|
|
@@ -61,7 +137,13 @@ export interface GetGroupMembershipMember {
|
|
|
61
137
|
webUrl: string;
|
|
62
138
|
}
|
|
63
139
|
export interface GetGroupVariablesVariable {
|
|
140
|
+
/**
|
|
141
|
+
* The environment scope of the variable. Defaults to all environment (`*`).
|
|
142
|
+
*/
|
|
64
143
|
environmentScope: string;
|
|
144
|
+
/**
|
|
145
|
+
* The name or id of the group.
|
|
146
|
+
*/
|
|
65
147
|
group: string;
|
|
66
148
|
key: string;
|
|
67
149
|
masked: boolean;
|
|
@@ -72,6 +154,9 @@ export interface GetGroupVariablesVariable {
|
|
|
72
154
|
export interface GetInstanceDeployKeysDeployKey {
|
|
73
155
|
createdAt: string;
|
|
74
156
|
fingerprint: string;
|
|
157
|
+
/**
|
|
158
|
+
* The ID of this resource.
|
|
159
|
+
*/
|
|
75
160
|
id: number;
|
|
76
161
|
key: string;
|
|
77
162
|
projectsWithWriteAccesses: outputs.GetInstanceDeployKeysDeployKeyProjectsWithWriteAccess[];
|
|
@@ -80,6 +165,9 @@ export interface GetInstanceDeployKeysDeployKey {
|
|
|
80
165
|
export interface GetInstanceDeployKeysDeployKeyProjectsWithWriteAccess {
|
|
81
166
|
createdAt: string;
|
|
82
167
|
description: string;
|
|
168
|
+
/**
|
|
169
|
+
* The ID of this resource.
|
|
170
|
+
*/
|
|
83
171
|
id: number;
|
|
84
172
|
name: string;
|
|
85
173
|
nameWithNamespace: string;
|
|
@@ -102,21 +190,54 @@ export interface GetProjectContainerExpirationPolicy {
|
|
|
102
190
|
nextRunAt: string;
|
|
103
191
|
olderThan: string;
|
|
104
192
|
}
|
|
193
|
+
export interface GetProjectHooksHook {
|
|
194
|
+
confidentialIssuesEvents: boolean;
|
|
195
|
+
confidentialNoteEvents: boolean;
|
|
196
|
+
deploymentEvents: boolean;
|
|
197
|
+
enableSslVerification: boolean;
|
|
198
|
+
hookId: number;
|
|
199
|
+
issuesEvents: boolean;
|
|
200
|
+
jobEvents: boolean;
|
|
201
|
+
mergeRequestsEvents: boolean;
|
|
202
|
+
noteEvents: boolean;
|
|
203
|
+
pipelineEvents: boolean;
|
|
204
|
+
/**
|
|
205
|
+
* The name or id of the project.
|
|
206
|
+
*/
|
|
207
|
+
project: string;
|
|
208
|
+
projectId: number;
|
|
209
|
+
pushEvents: boolean;
|
|
210
|
+
pushEventsBranchFilter: string;
|
|
211
|
+
releasesEvents: boolean;
|
|
212
|
+
tagPushEvents: boolean;
|
|
213
|
+
token: string;
|
|
214
|
+
url: string;
|
|
215
|
+
wikiPageEvents: boolean;
|
|
216
|
+
}
|
|
105
217
|
export interface GetProjectIssueTaskCompletionStatus {
|
|
106
218
|
completedCount: number;
|
|
107
219
|
count: number;
|
|
108
220
|
}
|
|
109
221
|
export interface GetProjectIssuesIssue {
|
|
110
222
|
assigneeIds: number[];
|
|
223
|
+
/**
|
|
224
|
+
* Return issues created by the given user id. Combine with scope=all or scope=assigned*to*me.
|
|
225
|
+
*/
|
|
111
226
|
authorId: number;
|
|
112
227
|
closedAt: string;
|
|
113
228
|
closedByUserId: number;
|
|
229
|
+
/**
|
|
230
|
+
* Filter confidential or public issues.
|
|
231
|
+
*/
|
|
114
232
|
confidential: boolean;
|
|
115
233
|
createdAt: string;
|
|
116
234
|
description: string;
|
|
117
235
|
discussionLocked: boolean;
|
|
118
236
|
discussionToResolve: string;
|
|
119
237
|
downvotes: number;
|
|
238
|
+
/**
|
|
239
|
+
* Return issues that have no due date, are overdue, or whose due date is this week, this month, or between two weeks ago and next month. Accepts: 0 (no due date), any, today, tomorrow, overdue, week, month, next*month*and*previous*two_weeks.
|
|
240
|
+
*/
|
|
120
241
|
dueDate: string;
|
|
121
242
|
epicId: number;
|
|
122
243
|
epicIssueId: number;
|
|
@@ -126,7 +247,13 @@ export interface GetProjectIssuesIssue {
|
|
|
126
247
|
iid: number;
|
|
127
248
|
issueId: number;
|
|
128
249
|
issueLinkId: number;
|
|
250
|
+
/**
|
|
251
|
+
* Filter to a given type of issue. Valid values are [issue incident testCase]. (Introduced in GitLab 13.12)
|
|
252
|
+
*/
|
|
129
253
|
issueType: string;
|
|
254
|
+
/**
|
|
255
|
+
* Return issues with labels. Issues must have all labels to be returned. None lists all issues with no labels. Any lists all issues with at least one label. No+Label (Deprecated) lists all issues with no labels. Predefined names are case-insensitive.
|
|
256
|
+
*/
|
|
130
257
|
labels: string[];
|
|
131
258
|
links: {
|
|
132
259
|
[key: string]: string;
|
|
@@ -135,6 +262,9 @@ export interface GetProjectIssuesIssue {
|
|
|
135
262
|
mergeRequestsCount: number;
|
|
136
263
|
milestoneId: number;
|
|
137
264
|
movedToId: number;
|
|
265
|
+
/**
|
|
266
|
+
* The name or id of the project.
|
|
267
|
+
*/
|
|
138
268
|
project: string;
|
|
139
269
|
references: {
|
|
140
270
|
[key: string]: string;
|
|
@@ -149,12 +279,28 @@ export interface GetProjectIssuesIssue {
|
|
|
149
279
|
upvotes: number;
|
|
150
280
|
userNotesCount: number;
|
|
151
281
|
webUrl: string;
|
|
282
|
+
/**
|
|
283
|
+
* Return issues with the specified weight. None returns issues with no weight assigned. Any returns issues with a weight assigned.
|
|
284
|
+
*/
|
|
152
285
|
weight: number;
|
|
153
286
|
}
|
|
154
287
|
export interface GetProjectIssuesIssueTaskCompletionStatus {
|
|
155
288
|
completedCount: number;
|
|
156
289
|
count: number;
|
|
157
290
|
}
|
|
291
|
+
export interface GetProjectMembershipMember {
|
|
292
|
+
accessLevel: string;
|
|
293
|
+
avatarUrl: string;
|
|
294
|
+
expiresAt: string;
|
|
295
|
+
/**
|
|
296
|
+
* The ID of this resource.
|
|
297
|
+
*/
|
|
298
|
+
id: number;
|
|
299
|
+
name: string;
|
|
300
|
+
state: string;
|
|
301
|
+
username: string;
|
|
302
|
+
webUrl: string;
|
|
303
|
+
}
|
|
158
304
|
export interface GetProjectMilestonesMilestone {
|
|
159
305
|
createdAt: string;
|
|
160
306
|
description: string;
|
|
@@ -162,10 +308,19 @@ export interface GetProjectMilestonesMilestone {
|
|
|
162
308
|
expired: boolean;
|
|
163
309
|
iid: number;
|
|
164
310
|
milestoneId: number;
|
|
311
|
+
/**
|
|
312
|
+
* The ID or URL-encoded path of the project owned by the authenticated user.
|
|
313
|
+
*/
|
|
165
314
|
project: string;
|
|
166
315
|
projectId: number;
|
|
167
316
|
startDate: string;
|
|
317
|
+
/**
|
|
318
|
+
* Return only `active` or `closed` milestones.
|
|
319
|
+
*/
|
|
168
320
|
state: string;
|
|
321
|
+
/**
|
|
322
|
+
* Return only the milestones having the given `title`.
|
|
323
|
+
*/
|
|
169
324
|
title: string;
|
|
170
325
|
updatedAt: string;
|
|
171
326
|
webUrl: string;
|
|
@@ -185,6 +340,9 @@ export interface GetProjectProtectedBranchPushAccessLevel {
|
|
|
185
340
|
export interface GetProjectProtectedBranchesProtectedBranch {
|
|
186
341
|
allowForcePush: boolean;
|
|
187
342
|
codeOwnerApprovalRequired: boolean;
|
|
343
|
+
/**
|
|
344
|
+
* The ID of this resource.
|
|
345
|
+
*/
|
|
188
346
|
id: number;
|
|
189
347
|
mergeAccessLevels: outputs.GetProjectProtectedBranchesProtectedBranchMergeAccessLevel[];
|
|
190
348
|
name: string;
|
|
@@ -222,7 +380,13 @@ export interface GetProjectTagCommit {
|
|
|
222
380
|
committedDate: string;
|
|
223
381
|
committerEmail: string;
|
|
224
382
|
committerName: string;
|
|
383
|
+
/**
|
|
384
|
+
* The ID of this resource.
|
|
385
|
+
*/
|
|
225
386
|
id: string;
|
|
387
|
+
/**
|
|
388
|
+
* The message of the annotated tag.
|
|
389
|
+
*/
|
|
226
390
|
message: string;
|
|
227
391
|
parentIds: string[];
|
|
228
392
|
shortId: string;
|
|
@@ -247,6 +411,9 @@ export interface GetProjectTagsTagCommit {
|
|
|
247
411
|
committedDate: string;
|
|
248
412
|
committerEmail: string;
|
|
249
413
|
committerName: string;
|
|
414
|
+
/**
|
|
415
|
+
* The ID of this resource.
|
|
416
|
+
*/
|
|
250
417
|
id: string;
|
|
251
418
|
message: string;
|
|
252
419
|
parentIds: string[];
|
|
@@ -258,9 +425,15 @@ export interface GetProjectTagsTagRelease {
|
|
|
258
425
|
tagName: string;
|
|
259
426
|
}
|
|
260
427
|
export interface GetProjectVariablesVariable {
|
|
428
|
+
/**
|
|
429
|
+
* The environment scope of the variable. Defaults to all environment (`*`).
|
|
430
|
+
*/
|
|
261
431
|
environmentScope: string;
|
|
262
432
|
key: string;
|
|
263
433
|
masked: boolean;
|
|
434
|
+
/**
|
|
435
|
+
* The name or id of the project.
|
|
436
|
+
*/
|
|
264
437
|
project: string;
|
|
265
438
|
protected: boolean;
|
|
266
439
|
value: string;
|
|
@@ -273,6 +446,9 @@ export interface GetProjectsProject {
|
|
|
273
446
|
allowMergeOnSkippedPipeline: boolean;
|
|
274
447
|
analyticsAccessLevel: string;
|
|
275
448
|
approvalsBeforeMerge: number;
|
|
449
|
+
/**
|
|
450
|
+
* Limit by archived status.
|
|
451
|
+
*/
|
|
276
452
|
archived: boolean;
|
|
277
453
|
autoCancelPendingPipelines: string;
|
|
278
454
|
autoDevopsDeployStrategy: string;
|
|
@@ -302,6 +478,9 @@ export interface GetProjectsProject {
|
|
|
302
478
|
forkingAccessLevel: string;
|
|
303
479
|
forksCount: number;
|
|
304
480
|
httpUrlToRepo: string;
|
|
481
|
+
/**
|
|
482
|
+
* The ID of this resource.
|
|
483
|
+
*/
|
|
305
484
|
id: number;
|
|
306
485
|
importError: string;
|
|
307
486
|
importStatus: string;
|
|
@@ -350,11 +529,17 @@ export interface GetProjectsProject {
|
|
|
350
529
|
squashCommitTemplate: string;
|
|
351
530
|
sshUrlToRepo: string;
|
|
352
531
|
starCount: number;
|
|
532
|
+
/**
|
|
533
|
+
* Include project statistics. Cannot be used with `groupId`.
|
|
534
|
+
*/
|
|
353
535
|
statistics: {
|
|
354
536
|
[key: string]: number;
|
|
355
537
|
};
|
|
356
538
|
tagLists: string[];
|
|
357
539
|
topics: string[];
|
|
540
|
+
/**
|
|
541
|
+
* Limit by visibility `public`, `internal`, or `private`.
|
|
542
|
+
*/
|
|
358
543
|
visibility: string;
|
|
359
544
|
webUrl: string;
|
|
360
545
|
wikiAccessLevel: string;
|
|
@@ -371,6 +556,9 @@ export interface GetProjectsProjectContainerExpirationPolicy {
|
|
|
371
556
|
}
|
|
372
557
|
export interface GetProjectsProjectForkedFromProject {
|
|
373
558
|
httpUrlToRepo: string;
|
|
559
|
+
/**
|
|
560
|
+
* The ID of this resource.
|
|
561
|
+
*/
|
|
374
562
|
id: number;
|
|
375
563
|
name: string;
|
|
376
564
|
nameWithNamespace: string;
|
|
@@ -380,6 +568,9 @@ export interface GetProjectsProjectForkedFromProject {
|
|
|
380
568
|
}
|
|
381
569
|
export interface GetProjectsProjectNamespace {
|
|
382
570
|
fullPath: string;
|
|
571
|
+
/**
|
|
572
|
+
* The ID of this resource.
|
|
573
|
+
*/
|
|
383
574
|
id: number;
|
|
384
575
|
kind: string;
|
|
385
576
|
name: string;
|
|
@@ -387,6 +578,9 @@ export interface GetProjectsProjectNamespace {
|
|
|
387
578
|
}
|
|
388
579
|
export interface GetProjectsProjectOwner {
|
|
389
580
|
avatarUrl: string;
|
|
581
|
+
/**
|
|
582
|
+
* The ID of this resource.
|
|
583
|
+
*/
|
|
390
584
|
id: number;
|
|
391
585
|
name: string;
|
|
392
586
|
state: string;
|
|
@@ -403,6 +597,9 @@ export interface GetProjectsProjectPermissions {
|
|
|
403
597
|
}
|
|
404
598
|
export interface GetProjectsProjectSharedWithGroup {
|
|
405
599
|
groupAccessLevel: string;
|
|
600
|
+
/**
|
|
601
|
+
* The ID of the group owned by the authenticated user to look projects for within. Cannot be used with `minAccessLevel`, `withProgrammingLanguage` or `statistics`.
|
|
602
|
+
*/
|
|
406
603
|
groupId: number;
|
|
407
604
|
groupName: string;
|
|
408
605
|
}
|
|
@@ -413,10 +610,29 @@ export interface GetReleaseLinksReleaseLink {
|
|
|
413
610
|
linkId: number;
|
|
414
611
|
linkType: string;
|
|
415
612
|
name: string;
|
|
613
|
+
/**
|
|
614
|
+
* The ID or full path to the project.
|
|
615
|
+
*/
|
|
416
616
|
project: string;
|
|
617
|
+
/**
|
|
618
|
+
* The tag associated with the Release.
|
|
619
|
+
*/
|
|
417
620
|
tagName: string;
|
|
418
621
|
url: string;
|
|
419
622
|
}
|
|
623
|
+
export interface GetRepositoryTreeTree {
|
|
624
|
+
/**
|
|
625
|
+
* The ID of this resource.
|
|
626
|
+
*/
|
|
627
|
+
id: string;
|
|
628
|
+
mode: string;
|
|
629
|
+
name: string;
|
|
630
|
+
/**
|
|
631
|
+
* The path inside repository. Used to get content of subdirectories.
|
|
632
|
+
*/
|
|
633
|
+
path: string;
|
|
634
|
+
type: string;
|
|
635
|
+
}
|
|
420
636
|
export interface GetUsersUser {
|
|
421
637
|
avatarUrl: string;
|
|
422
638
|
bio: string;
|
|
@@ -426,8 +642,14 @@ export interface GetUsersUser {
|
|
|
426
642
|
createdAt: string;
|
|
427
643
|
currentSignInAt: string;
|
|
428
644
|
email: string;
|
|
645
|
+
/**
|
|
646
|
+
* Lookup users by external UID. (Requires administrator privileges)
|
|
647
|
+
*/
|
|
429
648
|
externUid: string;
|
|
430
649
|
external: boolean;
|
|
650
|
+
/**
|
|
651
|
+
* The ID of this resource.
|
|
652
|
+
*/
|
|
431
653
|
id: number;
|
|
432
654
|
isAdmin: boolean;
|
|
433
655
|
lastSignInAt: string;
|
|
@@ -447,35 +669,127 @@ export interface GetUsersUser {
|
|
|
447
669
|
websiteUrl: string;
|
|
448
670
|
}
|
|
449
671
|
export interface ProjectContainerExpirationPolicy {
|
|
672
|
+
/**
|
|
673
|
+
* The cadence of the policy. Valid values are: `1d`, `7d`, `14d`, `1month`, `3month`.
|
|
674
|
+
*/
|
|
450
675
|
cadence: string;
|
|
676
|
+
/**
|
|
677
|
+
* If true, the policy is enabled.
|
|
678
|
+
*/
|
|
451
679
|
enabled: boolean;
|
|
680
|
+
/**
|
|
681
|
+
* The number of images to keep.
|
|
682
|
+
*/
|
|
452
683
|
keepN: number;
|
|
684
|
+
/**
|
|
685
|
+
* The regular expression to match image names to delete. **Note**: the upstream API has some inconsistencies with the `nameRegex` field here. It's basically unusable at the moment.
|
|
686
|
+
*/
|
|
453
687
|
nameRegexDelete: string;
|
|
688
|
+
/**
|
|
689
|
+
* The regular expression to match image names to keep.
|
|
690
|
+
*/
|
|
454
691
|
nameRegexKeep: string;
|
|
692
|
+
/**
|
|
693
|
+
* The next time the policy will run.
|
|
694
|
+
*/
|
|
455
695
|
nextRunAt: string;
|
|
696
|
+
/**
|
|
697
|
+
* The number of days to keep images.
|
|
698
|
+
*/
|
|
456
699
|
olderThan: string;
|
|
457
700
|
}
|
|
701
|
+
export interface ProjectIssueBoardList {
|
|
702
|
+
/**
|
|
703
|
+
* The ID of the assignee the list should be scoped to. Requires a GitLab EE license.
|
|
704
|
+
*/
|
|
705
|
+
assigneeId?: number;
|
|
706
|
+
/**
|
|
707
|
+
* The ID of the list
|
|
708
|
+
*/
|
|
709
|
+
id: number;
|
|
710
|
+
/**
|
|
711
|
+
* The ID of the iteration the list should be scoped to. Requires a GitLab EE license.
|
|
712
|
+
*/
|
|
713
|
+
iterationId?: number;
|
|
714
|
+
/**
|
|
715
|
+
* The ID of the label the list should be scoped to. Requires a GitLab EE license.
|
|
716
|
+
*/
|
|
717
|
+
labelId?: number;
|
|
718
|
+
/**
|
|
719
|
+
* The ID of the milestone the list should be scoped to. Requires a GitLab EE license.
|
|
720
|
+
*/
|
|
721
|
+
milestoneId?: number;
|
|
722
|
+
/**
|
|
723
|
+
* The position of the list within the board. The position for the list is based on the its position in the `lists` array.
|
|
724
|
+
*/
|
|
725
|
+
position: number;
|
|
726
|
+
}
|
|
458
727
|
export interface ProjectIssueTaskCompletionStatus {
|
|
459
728
|
completedCount: number;
|
|
460
729
|
count: number;
|
|
461
730
|
}
|
|
462
731
|
export interface ProjectProtectedEnvironmentDeployAccessLevel {
|
|
732
|
+
/**
|
|
733
|
+
* Levels of access required to deploy to this protected environment. Valid values are `developer`, `maintainer`.
|
|
734
|
+
*/
|
|
463
735
|
accessLevel: string;
|
|
736
|
+
/**
|
|
737
|
+
* Readable description of level of access.
|
|
738
|
+
*/
|
|
464
739
|
accessLevelDescription: string;
|
|
740
|
+
/**
|
|
741
|
+
* The ID of the group allowed to deploy to this protected environment. The project must be shared with the group.
|
|
742
|
+
*/
|
|
465
743
|
groupId?: number;
|
|
744
|
+
/**
|
|
745
|
+
* The ID of the user allowed to deploy to this protected environment. The user must be a member of the project.
|
|
746
|
+
*/
|
|
466
747
|
userId?: number;
|
|
467
748
|
}
|
|
468
749
|
export interface ProjectPushRules {
|
|
750
|
+
/**
|
|
751
|
+
* All commit author emails must match this regex, e.g. `@my-company.com$`.
|
|
752
|
+
*/
|
|
469
753
|
authorEmailRegex?: string;
|
|
754
|
+
/**
|
|
755
|
+
* All branch names must match this regex, e.g. `(feature|hotfix)\/*`.
|
|
756
|
+
*/
|
|
470
757
|
branchNameRegex?: string;
|
|
758
|
+
/**
|
|
759
|
+
* Users can only push commits to this repository that were committed with one of their own verified emails.
|
|
760
|
+
*/
|
|
471
761
|
commitCommitterCheck?: boolean;
|
|
762
|
+
/**
|
|
763
|
+
* No commit message is allowed to match this regex, for example `ssh\:\/\/`.
|
|
764
|
+
*/
|
|
472
765
|
commitMessageNegativeRegex?: string;
|
|
766
|
+
/**
|
|
767
|
+
* All commit messages must match this regex, e.g. `Fixed \d+\..*`.
|
|
768
|
+
*/
|
|
473
769
|
commitMessageRegex?: string;
|
|
770
|
+
/**
|
|
771
|
+
* Deny deleting a tag.
|
|
772
|
+
*/
|
|
474
773
|
denyDeleteTag?: boolean;
|
|
774
|
+
/**
|
|
775
|
+
* All commited filenames must not match this regex, e.g. `(jar|exe)$`.
|
|
776
|
+
*/
|
|
475
777
|
fileNameRegex?: string;
|
|
778
|
+
/**
|
|
779
|
+
* Maximum file size (MB).
|
|
780
|
+
*/
|
|
476
781
|
maxFileSize?: number;
|
|
782
|
+
/**
|
|
783
|
+
* Restrict commits by author (email) to existing GitLab users.
|
|
784
|
+
*/
|
|
477
785
|
memberCheck?: boolean;
|
|
786
|
+
/**
|
|
787
|
+
* GitLab will reject any files that are likely to contain secrets.
|
|
788
|
+
*/
|
|
478
789
|
preventSecrets?: boolean;
|
|
790
|
+
/**
|
|
791
|
+
* Reject commit when it’s not signed through GPG.
|
|
792
|
+
*/
|
|
479
793
|
rejectUnsignedCommits?: boolean;
|
|
480
794
|
}
|
|
481
795
|
export interface ProjectTagCommit {
|
|
@@ -485,7 +799,13 @@ export interface ProjectTagCommit {
|
|
|
485
799
|
committedDate: string;
|
|
486
800
|
committerEmail: string;
|
|
487
801
|
committerName: string;
|
|
802
|
+
/**
|
|
803
|
+
* The ID of this resource.
|
|
804
|
+
*/
|
|
488
805
|
id: string;
|
|
806
|
+
/**
|
|
807
|
+
* The message of the annotated tag.
|
|
808
|
+
*/
|
|
489
809
|
message: string;
|
|
490
810
|
parentIds: string[];
|
|
491
811
|
shortId: string;
|
package/user.d.ts
CHANGED
|
@@ -29,10 +29,10 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
29
29
|
* ## Import
|
|
30
30
|
*
|
|
31
31
|
* ```sh
|
|
32
|
-
* $ pulumi import gitlab:index/user:User
|
|
32
|
+
* $ pulumi import gitlab:index/user:User You can import a user to terraform state using `<resource> <id>`.
|
|
33
33
|
* ```
|
|
34
34
|
*
|
|
35
|
-
*
|
|
35
|
+
* The `id` must be an integer for the id of the user you want to import, for example
|
|
36
36
|
*
|
|
37
37
|
* ```sh
|
|
38
38
|
* $ pulumi import gitlab:index/user:User example 42
|
|
@@ -63,12 +63,11 @@ export declare class User extends pulumi.CustomResource {
|
|
|
63
63
|
*/
|
|
64
64
|
readonly email: pulumi.Output<string>;
|
|
65
65
|
/**
|
|
66
|
-
* Boolean, defaults to false.
|
|
66
|
+
* Boolean, defaults to false. Whether to enable administrative privileges
|
|
67
67
|
*/
|
|
68
68
|
readonly isAdmin: pulumi.Output<boolean | undefined>;
|
|
69
69
|
/**
|
|
70
|
-
* Boolean, defaults to false. Whether a user has access only to some internal or private projects. External users can only
|
|
71
|
-
* access projects to which they are explicitly granted access.
|
|
70
|
+
* Boolean, defaults to false. Whether a user has access only to some internal or private projects. External users can only access projects to which they are explicitly granted access.
|
|
72
71
|
*/
|
|
73
72
|
readonly isExternal: pulumi.Output<boolean | undefined>;
|
|
74
73
|
/**
|
|
@@ -88,7 +87,7 @@ export declare class User extends pulumi.CustomResource {
|
|
|
88
87
|
*/
|
|
89
88
|
readonly password: pulumi.Output<string | undefined>;
|
|
90
89
|
/**
|
|
91
|
-
* Integer, defaults to 0.
|
|
90
|
+
* Integer, defaults to 0. Number of projects user can create.
|
|
92
91
|
*/
|
|
93
92
|
readonly projectsLimit: pulumi.Output<number | undefined>;
|
|
94
93
|
/**
|
|
@@ -129,12 +128,11 @@ export interface UserState {
|
|
|
129
128
|
*/
|
|
130
129
|
email?: pulumi.Input<string>;
|
|
131
130
|
/**
|
|
132
|
-
* Boolean, defaults to false.
|
|
131
|
+
* Boolean, defaults to false. Whether to enable administrative privileges
|
|
133
132
|
*/
|
|
134
133
|
isAdmin?: pulumi.Input<boolean>;
|
|
135
134
|
/**
|
|
136
|
-
* Boolean, defaults to false. Whether a user has access only to some internal or private projects. External users can only
|
|
137
|
-
* access projects to which they are explicitly granted access.
|
|
135
|
+
* Boolean, defaults to false. Whether a user has access only to some internal or private projects. External users can only access projects to which they are explicitly granted access.
|
|
138
136
|
*/
|
|
139
137
|
isExternal?: pulumi.Input<boolean>;
|
|
140
138
|
/**
|
|
@@ -154,7 +152,7 @@ export interface UserState {
|
|
|
154
152
|
*/
|
|
155
153
|
password?: pulumi.Input<string>;
|
|
156
154
|
/**
|
|
157
|
-
* Integer, defaults to 0.
|
|
155
|
+
* Integer, defaults to 0. Number of projects user can create.
|
|
158
156
|
*/
|
|
159
157
|
projectsLimit?: pulumi.Input<number>;
|
|
160
158
|
/**
|
|
@@ -187,12 +185,11 @@ export interface UserArgs {
|
|
|
187
185
|
*/
|
|
188
186
|
email: pulumi.Input<string>;
|
|
189
187
|
/**
|
|
190
|
-
* Boolean, defaults to false.
|
|
188
|
+
* Boolean, defaults to false. Whether to enable administrative privileges
|
|
191
189
|
*/
|
|
192
190
|
isAdmin?: pulumi.Input<boolean>;
|
|
193
191
|
/**
|
|
194
|
-
* Boolean, defaults to false. Whether a user has access only to some internal or private projects. External users can only
|
|
195
|
-
* access projects to which they are explicitly granted access.
|
|
192
|
+
* Boolean, defaults to false. Whether a user has access only to some internal or private projects. External users can only access projects to which they are explicitly granted access.
|
|
196
193
|
*/
|
|
197
194
|
isExternal?: pulumi.Input<boolean>;
|
|
198
195
|
/**
|
|
@@ -212,7 +209,7 @@ export interface UserArgs {
|
|
|
212
209
|
*/
|
|
213
210
|
password?: pulumi.Input<string>;
|
|
214
211
|
/**
|
|
215
|
-
* Integer, defaults to 0.
|
|
212
|
+
* Integer, defaults to 0. Number of projects user can create.
|
|
216
213
|
*/
|
|
217
214
|
projectsLimit?: pulumi.Input<number>;
|
|
218
215
|
/**
|
package/user.js
CHANGED
|
@@ -35,10 +35,10 @@ const utilities = require("./utilities");
|
|
|
35
35
|
* ## Import
|
|
36
36
|
*
|
|
37
37
|
* ```sh
|
|
38
|
-
* $ pulumi import gitlab:index/user:User
|
|
38
|
+
* $ pulumi import gitlab:index/user:User You can import a user to terraform state using `<resource> <id>`.
|
|
39
39
|
* ```
|
|
40
40
|
*
|
|
41
|
-
*
|
|
41
|
+
* The `id` must be an integer for the id of the user you want to import, for example
|
|
42
42
|
*
|
|
43
43
|
* ```sh
|
|
44
44
|
* $ pulumi import gitlab:index/user:User example 42
|
|
@@ -79,7 +79,7 @@ class User extends pulumi.CustomResource {
|
|
|
79
79
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
80
80
|
resourceInputs["namespaceId"] = args ? args.namespaceId : undefined;
|
|
81
81
|
resourceInputs["note"] = args ? args.note : undefined;
|
|
82
|
-
resourceInputs["password"] = args ? args.password : undefined;
|
|
82
|
+
resourceInputs["password"] = (args === null || args === void 0 ? void 0 : args.password) ? pulumi.secret(args.password) : undefined;
|
|
83
83
|
resourceInputs["projectsLimit"] = args ? args.projectsLimit : undefined;
|
|
84
84
|
resourceInputs["resetPassword"] = args ? args.resetPassword : undefined;
|
|
85
85
|
resourceInputs["skipConfirmation"] = args ? args.skipConfirmation : undefined;
|
|
@@ -87,6 +87,8 @@ class User extends pulumi.CustomResource {
|
|
|
87
87
|
resourceInputs["username"] = args ? args.username : undefined;
|
|
88
88
|
}
|
|
89
89
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
90
|
+
const secretOpts = { additionalSecretOutputs: ["password"] };
|
|
91
|
+
opts = pulumi.mergeOptions(opts, secretOpts);
|
|
90
92
|
super(User.__pulumiType, name, resourceInputs, opts);
|
|
91
93
|
}
|
|
92
94
|
/**
|