@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/projectIssue.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
import
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
3
4
|
/**
|
|
4
5
|
* ## Example Usage
|
|
5
6
|
*
|
|
@@ -24,7 +25,7 @@ import { input as inputs, output as outputs } from "./types";
|
|
|
24
25
|
*
|
|
25
26
|
* ## Import
|
|
26
27
|
*
|
|
27
|
-
*
|
|
28
|
+
* You can import this resource with an id made up of `{project-id}:{issue-id}`, e.g.
|
|
28
29
|
*
|
|
29
30
|
* ```sh
|
|
30
31
|
* $ pulumi import gitlab:index/projectIssue:ProjectIssue welcome_issue 42:1
|
|
@@ -51,7 +52,7 @@ export declare class ProjectIssue extends pulumi.CustomResource {
|
|
|
51
52
|
*/
|
|
52
53
|
readonly assigneeIds: pulumi.Output<number[] | undefined>;
|
|
53
54
|
/**
|
|
54
|
-
* The ID of the author of the issue. Use `
|
|
55
|
+
* The ID of the author of the issue. Use `gitlab.User` data source to get more information about the user.
|
|
55
56
|
*/
|
|
56
57
|
readonly authorId: pulumi.Output<number>;
|
|
57
58
|
/**
|
|
@@ -59,7 +60,7 @@ export declare class ProjectIssue extends pulumi.CustomResource {
|
|
|
59
60
|
*/
|
|
60
61
|
readonly closedAt: pulumi.Output<string>;
|
|
61
62
|
/**
|
|
62
|
-
* The ID of the user that closed the issue. Use `
|
|
63
|
+
* The ID of the user that closed the issue. Use `gitlab.User` data source to get more information about the user.
|
|
63
64
|
*/
|
|
64
65
|
readonly closedByUserId: pulumi.Output<number>;
|
|
65
66
|
/**
|
|
@@ -67,8 +68,7 @@ export declare class ProjectIssue extends pulumi.CustomResource {
|
|
|
67
68
|
*/
|
|
68
69
|
readonly confidential: pulumi.Output<boolean | undefined>;
|
|
69
70
|
/**
|
|
70
|
-
* When the issue was created. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z. Requires
|
|
71
|
-
* administrator or project/group owner rights.
|
|
71
|
+
* When the issue was created. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z. Requires administrator or project/group owner rights.
|
|
72
72
|
*/
|
|
73
73
|
readonly createdAt: pulumi.Output<string>;
|
|
74
74
|
/**
|
|
@@ -84,8 +84,7 @@ export declare class ProjectIssue extends pulumi.CustomResource {
|
|
|
84
84
|
*/
|
|
85
85
|
readonly discussionLocked: pulumi.Output<boolean | undefined>;
|
|
86
86
|
/**
|
|
87
|
-
* The ID of a discussion to resolve. This fills out the issue with a default description and mark the discussion as
|
|
88
|
-
* resolved. Use in combination with merge_request_to_resolve_discussions_of.
|
|
87
|
+
* The ID of a discussion to resolve. This fills out the issue with a default description and mark the discussion as resolved. Use in combination with merge*request*to*resolve*discussions_of.
|
|
89
88
|
*/
|
|
90
89
|
readonly discussionToResolve: pulumi.Output<string | undefined>;
|
|
91
90
|
/**
|
|
@@ -93,8 +92,8 @@ export declare class ProjectIssue extends pulumi.CustomResource {
|
|
|
93
92
|
*/
|
|
94
93
|
readonly downvotes: pulumi.Output<number>;
|
|
95
94
|
/**
|
|
96
|
-
* The due date. Date time string in the format YYYY-MM-DD, for example 2016-03-11.
|
|
97
|
-
* currently not supported, see https://github.com/xanzy/go-gitlab/issues/1384 for details.
|
|
95
|
+
* The due date. Date time string in the format YYYY-MM-DD, for example 2016-03-11.
|
|
96
|
+
* **Note:** removing a due date is currently not supported, see https://github.com/xanzy/go-gitlab/issues/1384 for details.
|
|
98
97
|
*/
|
|
99
98
|
readonly dueDate: pulumi.Output<string | undefined>;
|
|
100
99
|
/**
|
|
@@ -130,7 +129,7 @@ export declare class ProjectIssue extends pulumi.CustomResource {
|
|
|
130
129
|
*/
|
|
131
130
|
readonly issueLinkId: pulumi.Output<number>;
|
|
132
131
|
/**
|
|
133
|
-
* The type of issue. Valid values are: `issue`, `incident`, `
|
|
132
|
+
* The type of issue. Valid values are: `issue`, `incident`, `testCase`.
|
|
134
133
|
*/
|
|
135
134
|
readonly issueType: pulumi.Output<string | undefined>;
|
|
136
135
|
/**
|
|
@@ -144,8 +143,7 @@ export declare class ProjectIssue extends pulumi.CustomResource {
|
|
|
144
143
|
[key: string]: string;
|
|
145
144
|
}>;
|
|
146
145
|
/**
|
|
147
|
-
* The IID of a merge request in which to resolve all issues. This fills out the issue with a default description and mark
|
|
148
|
-
* all discussions as resolved. When passing a description or title, these values take precedence over the default values.
|
|
146
|
+
* The IID of a merge request in which to resolve all issues. This fills out the issue with a default description and mark all discussions as resolved. When passing a description or title, these values take precedence over the default values.
|
|
149
147
|
*/
|
|
150
148
|
readonly mergeRequestToResolveDiscussionsOf: pulumi.Output<number | undefined>;
|
|
151
149
|
/**
|
|
@@ -153,8 +151,7 @@ export declare class ProjectIssue extends pulumi.CustomResource {
|
|
|
153
151
|
*/
|
|
154
152
|
readonly mergeRequestsCount: pulumi.Output<number>;
|
|
155
153
|
/**
|
|
156
|
-
* The global ID of a milestone to assign issue. To find the
|
|
157
|
-
* the milestone assigned and use the API to retrieve the issue's details.
|
|
154
|
+
* The global ID of a milestone to assign issue. To find the milestoneId associated with a milestone, view an issue with the milestone assigned and use the API to retrieve the issue's details.
|
|
158
155
|
*/
|
|
159
156
|
readonly milestoneId: pulumi.Output<number | undefined>;
|
|
160
157
|
/**
|
|
@@ -233,7 +230,7 @@ export interface ProjectIssueState {
|
|
|
233
230
|
*/
|
|
234
231
|
assigneeIds?: pulumi.Input<pulumi.Input<number>[]>;
|
|
235
232
|
/**
|
|
236
|
-
* The ID of the author of the issue. Use `
|
|
233
|
+
* The ID of the author of the issue. Use `gitlab.User` data source to get more information about the user.
|
|
237
234
|
*/
|
|
238
235
|
authorId?: pulumi.Input<number>;
|
|
239
236
|
/**
|
|
@@ -241,7 +238,7 @@ export interface ProjectIssueState {
|
|
|
241
238
|
*/
|
|
242
239
|
closedAt?: pulumi.Input<string>;
|
|
243
240
|
/**
|
|
244
|
-
* The ID of the user that closed the issue. Use `
|
|
241
|
+
* The ID of the user that closed the issue. Use `gitlab.User` data source to get more information about the user.
|
|
245
242
|
*/
|
|
246
243
|
closedByUserId?: pulumi.Input<number>;
|
|
247
244
|
/**
|
|
@@ -249,8 +246,7 @@ export interface ProjectIssueState {
|
|
|
249
246
|
*/
|
|
250
247
|
confidential?: pulumi.Input<boolean>;
|
|
251
248
|
/**
|
|
252
|
-
* When the issue was created. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z. Requires
|
|
253
|
-
* administrator or project/group owner rights.
|
|
249
|
+
* When the issue was created. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z. Requires administrator or project/group owner rights.
|
|
254
250
|
*/
|
|
255
251
|
createdAt?: pulumi.Input<string>;
|
|
256
252
|
/**
|
|
@@ -266,8 +262,7 @@ export interface ProjectIssueState {
|
|
|
266
262
|
*/
|
|
267
263
|
discussionLocked?: pulumi.Input<boolean>;
|
|
268
264
|
/**
|
|
269
|
-
* The ID of a discussion to resolve. This fills out the issue with a default description and mark the discussion as
|
|
270
|
-
* resolved. Use in combination with merge_request_to_resolve_discussions_of.
|
|
265
|
+
* The ID of a discussion to resolve. This fills out the issue with a default description and mark the discussion as resolved. Use in combination with merge*request*to*resolve*discussions_of.
|
|
271
266
|
*/
|
|
272
267
|
discussionToResolve?: pulumi.Input<string>;
|
|
273
268
|
/**
|
|
@@ -275,8 +270,8 @@ export interface ProjectIssueState {
|
|
|
275
270
|
*/
|
|
276
271
|
downvotes?: pulumi.Input<number>;
|
|
277
272
|
/**
|
|
278
|
-
* The due date. Date time string in the format YYYY-MM-DD, for example 2016-03-11.
|
|
279
|
-
* currently not supported, see https://github.com/xanzy/go-gitlab/issues/1384 for details.
|
|
273
|
+
* The due date. Date time string in the format YYYY-MM-DD, for example 2016-03-11.
|
|
274
|
+
* **Note:** removing a due date is currently not supported, see https://github.com/xanzy/go-gitlab/issues/1384 for details.
|
|
280
275
|
*/
|
|
281
276
|
dueDate?: pulumi.Input<string>;
|
|
282
277
|
/**
|
|
@@ -312,7 +307,7 @@ export interface ProjectIssueState {
|
|
|
312
307
|
*/
|
|
313
308
|
issueLinkId?: pulumi.Input<number>;
|
|
314
309
|
/**
|
|
315
|
-
* The type of issue. Valid values are: `issue`, `incident`, `
|
|
310
|
+
* The type of issue. Valid values are: `issue`, `incident`, `testCase`.
|
|
316
311
|
*/
|
|
317
312
|
issueType?: pulumi.Input<string>;
|
|
318
313
|
/**
|
|
@@ -326,8 +321,7 @@ export interface ProjectIssueState {
|
|
|
326
321
|
[key: string]: pulumi.Input<string>;
|
|
327
322
|
}>;
|
|
328
323
|
/**
|
|
329
|
-
* The IID of a merge request in which to resolve all issues. This fills out the issue with a default description and mark
|
|
330
|
-
* all discussions as resolved. When passing a description or title, these values take precedence over the default values.
|
|
324
|
+
* The IID of a merge request in which to resolve all issues. This fills out the issue with a default description and mark all discussions as resolved. When passing a description or title, these values take precedence over the default values.
|
|
331
325
|
*/
|
|
332
326
|
mergeRequestToResolveDiscussionsOf?: pulumi.Input<number>;
|
|
333
327
|
/**
|
|
@@ -335,8 +329,7 @@ export interface ProjectIssueState {
|
|
|
335
329
|
*/
|
|
336
330
|
mergeRequestsCount?: pulumi.Input<number>;
|
|
337
331
|
/**
|
|
338
|
-
* The global ID of a milestone to assign issue. To find the
|
|
339
|
-
* the milestone assigned and use the API to retrieve the issue's details.
|
|
332
|
+
* The global ID of a milestone to assign issue. To find the milestoneId associated with a milestone, view an issue with the milestone assigned and use the API to retrieve the issue's details.
|
|
340
333
|
*/
|
|
341
334
|
milestoneId?: pulumi.Input<number>;
|
|
342
335
|
/**
|
|
@@ -411,8 +404,7 @@ export interface ProjectIssueArgs {
|
|
|
411
404
|
*/
|
|
412
405
|
confidential?: pulumi.Input<boolean>;
|
|
413
406
|
/**
|
|
414
|
-
* When the issue was created. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z. Requires
|
|
415
|
-
* administrator or project/group owner rights.
|
|
407
|
+
* When the issue was created. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z. Requires administrator or project/group owner rights.
|
|
416
408
|
*/
|
|
417
409
|
createdAt?: pulumi.Input<string>;
|
|
418
410
|
/**
|
|
@@ -428,13 +420,12 @@ export interface ProjectIssueArgs {
|
|
|
428
420
|
*/
|
|
429
421
|
discussionLocked?: pulumi.Input<boolean>;
|
|
430
422
|
/**
|
|
431
|
-
* The ID of a discussion to resolve. This fills out the issue with a default description and mark the discussion as
|
|
432
|
-
* resolved. Use in combination with merge_request_to_resolve_discussions_of.
|
|
423
|
+
* The ID of a discussion to resolve. This fills out the issue with a default description and mark the discussion as resolved. Use in combination with merge*request*to*resolve*discussions_of.
|
|
433
424
|
*/
|
|
434
425
|
discussionToResolve?: pulumi.Input<string>;
|
|
435
426
|
/**
|
|
436
|
-
* The due date. Date time string in the format YYYY-MM-DD, for example 2016-03-11.
|
|
437
|
-
* currently not supported, see https://github.com/xanzy/go-gitlab/issues/1384 for details.
|
|
427
|
+
* The due date. Date time string in the format YYYY-MM-DD, for example 2016-03-11.
|
|
428
|
+
* **Note:** removing a due date is currently not supported, see https://github.com/xanzy/go-gitlab/issues/1384 for details.
|
|
438
429
|
*/
|
|
439
430
|
dueDate?: pulumi.Input<string>;
|
|
440
431
|
/**
|
|
@@ -446,7 +437,7 @@ export interface ProjectIssueArgs {
|
|
|
446
437
|
*/
|
|
447
438
|
iid?: pulumi.Input<number>;
|
|
448
439
|
/**
|
|
449
|
-
* The type of issue. Valid values are: `issue`, `incident`, `
|
|
440
|
+
* The type of issue. Valid values are: `issue`, `incident`, `testCase`.
|
|
450
441
|
*/
|
|
451
442
|
issueType?: pulumi.Input<string>;
|
|
452
443
|
/**
|
|
@@ -454,13 +445,11 @@ export interface ProjectIssueArgs {
|
|
|
454
445
|
*/
|
|
455
446
|
labels?: pulumi.Input<pulumi.Input<string>[]>;
|
|
456
447
|
/**
|
|
457
|
-
* The IID of a merge request in which to resolve all issues. This fills out the issue with a default description and mark
|
|
458
|
-
* all discussions as resolved. When passing a description or title, these values take precedence over the default values.
|
|
448
|
+
* The IID of a merge request in which to resolve all issues. This fills out the issue with a default description and mark all discussions as resolved. When passing a description or title, these values take precedence over the default values.
|
|
459
449
|
*/
|
|
460
450
|
mergeRequestToResolveDiscussionsOf?: pulumi.Input<number>;
|
|
461
451
|
/**
|
|
462
|
-
* The global ID of a milestone to assign issue. To find the
|
|
463
|
-
* the milestone assigned and use the API to retrieve the issue's details.
|
|
452
|
+
* The global ID of a milestone to assign issue. To find the milestoneId associated with a milestone, view an issue with the milestone assigned and use the API to retrieve the issue's details.
|
|
464
453
|
*/
|
|
465
454
|
milestoneId?: pulumi.Input<number>;
|
|
466
455
|
/**
|
package/projectIssue.js
CHANGED
|
@@ -29,7 +29,7 @@ const utilities = require("./utilities");
|
|
|
29
29
|
*
|
|
30
30
|
* ## Import
|
|
31
31
|
*
|
|
32
|
-
*
|
|
32
|
+
* You can import this resource with an id made up of `{project-id}:{issue-id}`, e.g.
|
|
33
33
|
*
|
|
34
34
|
* ```sh
|
|
35
35
|
* $ pulumi import gitlab:index/projectIssue:ProjectIssue welcome_issue 42:1
|
package/projectIssue.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"projectIssue.js","sourceRoot":"","sources":["../projectIssue.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;
|
|
1
|
+
{"version":3,"file":"projectIssue.js","sourceRoot":"","sources":["../projectIssue.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IAsMnD,YAAY,IAAY,EAAE,WAAkD,EAAE,IAAmC;QAC7G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA4C,CAAC;YAC3D,cAAc,CAAC,aAAa,CAAC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,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,YAAY,CAAC,YAAY,CAAC;IAC7D,CAAC;;AA1BL,oCAuSC;AAzRG,gBAAgB;AACO,yBAAY,GAAG,wCAAwC,CAAC"}
|
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* The `gitlab.ProjectIssueBoard` resource allows to manage the lifecycle of a Project Issue Board.
|
|
6
|
+
*
|
|
7
|
+
* > **NOTE:** If the board lists are changed all lists will be recreated.
|
|
8
|
+
*
|
|
9
|
+
* **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/boards.html)
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as gitlab from "@pulumi/gitlab";
|
|
16
|
+
*
|
|
17
|
+
* const exampleProject = new gitlab.Project("exampleProject", {
|
|
18
|
+
* description: "Lorem Ipsum",
|
|
19
|
+
* visibilityLevel: "public",
|
|
20
|
+
* });
|
|
21
|
+
* const exampleUser = new gitlab.User("exampleUser", {
|
|
22
|
+
* username: "example",
|
|
23
|
+
* email: "example@example.com",
|
|
24
|
+
* password: `example1$$$`,
|
|
25
|
+
* });
|
|
26
|
+
* const exampleProjectMembership = new gitlab.ProjectMembership("exampleProjectMembership", {
|
|
27
|
+
* projectId: exampleProject.id,
|
|
28
|
+
* userId: exampleUser.id,
|
|
29
|
+
* accessLevel: "developer",
|
|
30
|
+
* });
|
|
31
|
+
* const exampleProjectMilestone = new gitlab.ProjectMilestone("exampleProjectMilestone", {
|
|
32
|
+
* project: exampleProject.id,
|
|
33
|
+
* title: "m1",
|
|
34
|
+
* });
|
|
35
|
+
* const _this = new gitlab.ProjectIssueBoard("this", {
|
|
36
|
+
* project: exampleProject.id,
|
|
37
|
+
* lists: [
|
|
38
|
+
* {
|
|
39
|
+
* assigneeId: exampleUser.id,
|
|
40
|
+
* },
|
|
41
|
+
* {
|
|
42
|
+
* milestoneId: exampleProjectMilestone.milestoneId,
|
|
43
|
+
* },
|
|
44
|
+
* ],
|
|
45
|
+
* }, {
|
|
46
|
+
* dependsOn: [exampleProjectMembership],
|
|
47
|
+
* });
|
|
48
|
+
* const listSyntax = new gitlab.ProjectIssueBoard("listSyntax", {
|
|
49
|
+
* project: exampleProject.id,
|
|
50
|
+
* lists: [
|
|
51
|
+
* {
|
|
52
|
+
* assigneeId: exampleUser.id,
|
|
53
|
+
* },
|
|
54
|
+
* {
|
|
55
|
+
* milestoneId: exampleProjectMilestone.milestoneId,
|
|
56
|
+
* },
|
|
57
|
+
* ],
|
|
58
|
+
* }, {
|
|
59
|
+
* dependsOn: [exampleProjectMembership],
|
|
60
|
+
* });
|
|
61
|
+
* ```
|
|
62
|
+
*
|
|
63
|
+
* ## Import
|
|
64
|
+
*
|
|
65
|
+
* You can import this resource with an id made up of `{project-id}:{issue-board-id}`, e.g.
|
|
66
|
+
*
|
|
67
|
+
* ```sh
|
|
68
|
+
* $ pulumi import gitlab:index/projectIssueBoard:ProjectIssueBoard kanban 42:1
|
|
69
|
+
* ```
|
|
70
|
+
*/
|
|
71
|
+
export declare class ProjectIssueBoard extends pulumi.CustomResource {
|
|
72
|
+
/**
|
|
73
|
+
* Get an existing ProjectIssueBoard resource's state with the given name, ID, and optional extra
|
|
74
|
+
* properties used to qualify the lookup.
|
|
75
|
+
*
|
|
76
|
+
* @param name The _unique_ name of the resulting resource.
|
|
77
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
78
|
+
* @param state Any extra arguments used during the lookup.
|
|
79
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
80
|
+
*/
|
|
81
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ProjectIssueBoardState, opts?: pulumi.CustomResourceOptions): ProjectIssueBoard;
|
|
82
|
+
/**
|
|
83
|
+
* Returns true if the given object is an instance of ProjectIssueBoard. This is designed to work even
|
|
84
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
85
|
+
*/
|
|
86
|
+
static isInstance(obj: any): obj is ProjectIssueBoard;
|
|
87
|
+
/**
|
|
88
|
+
* The assignee the board should be scoped to. Requires a GitLab EE license.
|
|
89
|
+
*/
|
|
90
|
+
readonly assigneeId: pulumi.Output<number | undefined>;
|
|
91
|
+
/**
|
|
92
|
+
* The list of label names which the board should be scoped to. Requires a GitLab EE license.
|
|
93
|
+
*/
|
|
94
|
+
readonly labels: pulumi.Output<string[] | undefined>;
|
|
95
|
+
/**
|
|
96
|
+
* The list of issue board lists
|
|
97
|
+
*/
|
|
98
|
+
readonly lists: pulumi.Output<outputs.ProjectIssueBoardList[] | undefined>;
|
|
99
|
+
/**
|
|
100
|
+
* The milestone the board should be scoped to. Requires a GitLab EE license.
|
|
101
|
+
*/
|
|
102
|
+
readonly milestoneId: pulumi.Output<number | undefined>;
|
|
103
|
+
/**
|
|
104
|
+
* The name of the board.
|
|
105
|
+
*/
|
|
106
|
+
readonly name: pulumi.Output<string>;
|
|
107
|
+
/**
|
|
108
|
+
* The ID or full path of the project maintained by the authenticated user.
|
|
109
|
+
*/
|
|
110
|
+
readonly project: pulumi.Output<string>;
|
|
111
|
+
/**
|
|
112
|
+
* The weight range from 0 to 9, to which the board should be scoped to. Requires a GitLab EE license.
|
|
113
|
+
*/
|
|
114
|
+
readonly weight: pulumi.Output<number | undefined>;
|
|
115
|
+
/**
|
|
116
|
+
* Create a ProjectIssueBoard resource with the given unique name, arguments, and options.
|
|
117
|
+
*
|
|
118
|
+
* @param name The _unique_ name of the resource.
|
|
119
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
120
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
121
|
+
*/
|
|
122
|
+
constructor(name: string, args: ProjectIssueBoardArgs, opts?: pulumi.CustomResourceOptions);
|
|
123
|
+
}
|
|
124
|
+
/**
|
|
125
|
+
* Input properties used for looking up and filtering ProjectIssueBoard resources.
|
|
126
|
+
*/
|
|
127
|
+
export interface ProjectIssueBoardState {
|
|
128
|
+
/**
|
|
129
|
+
* The assignee the board should be scoped to. Requires a GitLab EE license.
|
|
130
|
+
*/
|
|
131
|
+
assigneeId?: pulumi.Input<number>;
|
|
132
|
+
/**
|
|
133
|
+
* The list of label names which the board should be scoped to. Requires a GitLab EE license.
|
|
134
|
+
*/
|
|
135
|
+
labels?: pulumi.Input<pulumi.Input<string>[]>;
|
|
136
|
+
/**
|
|
137
|
+
* The list of issue board lists
|
|
138
|
+
*/
|
|
139
|
+
lists?: pulumi.Input<pulumi.Input<inputs.ProjectIssueBoardList>[]>;
|
|
140
|
+
/**
|
|
141
|
+
* The milestone the board should be scoped to. Requires a GitLab EE license.
|
|
142
|
+
*/
|
|
143
|
+
milestoneId?: pulumi.Input<number>;
|
|
144
|
+
/**
|
|
145
|
+
* The name of the board.
|
|
146
|
+
*/
|
|
147
|
+
name?: pulumi.Input<string>;
|
|
148
|
+
/**
|
|
149
|
+
* The ID or full path of the project maintained by the authenticated user.
|
|
150
|
+
*/
|
|
151
|
+
project?: pulumi.Input<string>;
|
|
152
|
+
/**
|
|
153
|
+
* The weight range from 0 to 9, to which the board should be scoped to. Requires a GitLab EE license.
|
|
154
|
+
*/
|
|
155
|
+
weight?: pulumi.Input<number>;
|
|
156
|
+
}
|
|
157
|
+
/**
|
|
158
|
+
* The set of arguments for constructing a ProjectIssueBoard resource.
|
|
159
|
+
*/
|
|
160
|
+
export interface ProjectIssueBoardArgs {
|
|
161
|
+
/**
|
|
162
|
+
* The assignee the board should be scoped to. Requires a GitLab EE license.
|
|
163
|
+
*/
|
|
164
|
+
assigneeId?: pulumi.Input<number>;
|
|
165
|
+
/**
|
|
166
|
+
* The list of label names which the board should be scoped to. Requires a GitLab EE license.
|
|
167
|
+
*/
|
|
168
|
+
labels?: pulumi.Input<pulumi.Input<string>[]>;
|
|
169
|
+
/**
|
|
170
|
+
* The list of issue board lists
|
|
171
|
+
*/
|
|
172
|
+
lists?: pulumi.Input<pulumi.Input<inputs.ProjectIssueBoardList>[]>;
|
|
173
|
+
/**
|
|
174
|
+
* The milestone the board should be scoped to. Requires a GitLab EE license.
|
|
175
|
+
*/
|
|
176
|
+
milestoneId?: pulumi.Input<number>;
|
|
177
|
+
/**
|
|
178
|
+
* The name of the board.
|
|
179
|
+
*/
|
|
180
|
+
name?: pulumi.Input<string>;
|
|
181
|
+
/**
|
|
182
|
+
* The ID or full path of the project maintained by the authenticated user.
|
|
183
|
+
*/
|
|
184
|
+
project: pulumi.Input<string>;
|
|
185
|
+
/**
|
|
186
|
+
* The weight range from 0 to 9, to which the board should be scoped to. Requires a GitLab EE license.
|
|
187
|
+
*/
|
|
188
|
+
weight?: pulumi.Input<number>;
|
|
189
|
+
}
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.ProjectIssueBoard = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* The `gitlab.ProjectIssueBoard` resource allows to manage the lifecycle of a Project Issue Board.
|
|
10
|
+
*
|
|
11
|
+
* > **NOTE:** If the board lists are changed all lists will be recreated.
|
|
12
|
+
*
|
|
13
|
+
* **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/boards.html)
|
|
14
|
+
*
|
|
15
|
+
* ## Example Usage
|
|
16
|
+
*
|
|
17
|
+
* ```typescript
|
|
18
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
19
|
+
* import * as gitlab from "@pulumi/gitlab";
|
|
20
|
+
*
|
|
21
|
+
* const exampleProject = new gitlab.Project("exampleProject", {
|
|
22
|
+
* description: "Lorem Ipsum",
|
|
23
|
+
* visibilityLevel: "public",
|
|
24
|
+
* });
|
|
25
|
+
* const exampleUser = new gitlab.User("exampleUser", {
|
|
26
|
+
* username: "example",
|
|
27
|
+
* email: "example@example.com",
|
|
28
|
+
* password: `example1$$$`,
|
|
29
|
+
* });
|
|
30
|
+
* const exampleProjectMembership = new gitlab.ProjectMembership("exampleProjectMembership", {
|
|
31
|
+
* projectId: exampleProject.id,
|
|
32
|
+
* userId: exampleUser.id,
|
|
33
|
+
* accessLevel: "developer",
|
|
34
|
+
* });
|
|
35
|
+
* const exampleProjectMilestone = new gitlab.ProjectMilestone("exampleProjectMilestone", {
|
|
36
|
+
* project: exampleProject.id,
|
|
37
|
+
* title: "m1",
|
|
38
|
+
* });
|
|
39
|
+
* const _this = new gitlab.ProjectIssueBoard("this", {
|
|
40
|
+
* project: exampleProject.id,
|
|
41
|
+
* lists: [
|
|
42
|
+
* {
|
|
43
|
+
* assigneeId: exampleUser.id,
|
|
44
|
+
* },
|
|
45
|
+
* {
|
|
46
|
+
* milestoneId: exampleProjectMilestone.milestoneId,
|
|
47
|
+
* },
|
|
48
|
+
* ],
|
|
49
|
+
* }, {
|
|
50
|
+
* dependsOn: [exampleProjectMembership],
|
|
51
|
+
* });
|
|
52
|
+
* const listSyntax = new gitlab.ProjectIssueBoard("listSyntax", {
|
|
53
|
+
* project: exampleProject.id,
|
|
54
|
+
* lists: [
|
|
55
|
+
* {
|
|
56
|
+
* assigneeId: exampleUser.id,
|
|
57
|
+
* },
|
|
58
|
+
* {
|
|
59
|
+
* milestoneId: exampleProjectMilestone.milestoneId,
|
|
60
|
+
* },
|
|
61
|
+
* ],
|
|
62
|
+
* }, {
|
|
63
|
+
* dependsOn: [exampleProjectMembership],
|
|
64
|
+
* });
|
|
65
|
+
* ```
|
|
66
|
+
*
|
|
67
|
+
* ## Import
|
|
68
|
+
*
|
|
69
|
+
* You can import this resource with an id made up of `{project-id}:{issue-board-id}`, e.g.
|
|
70
|
+
*
|
|
71
|
+
* ```sh
|
|
72
|
+
* $ pulumi import gitlab:index/projectIssueBoard:ProjectIssueBoard kanban 42:1
|
|
73
|
+
* ```
|
|
74
|
+
*/
|
|
75
|
+
class ProjectIssueBoard extends pulumi.CustomResource {
|
|
76
|
+
constructor(name, argsOrState, opts) {
|
|
77
|
+
let resourceInputs = {};
|
|
78
|
+
opts = opts || {};
|
|
79
|
+
if (opts.id) {
|
|
80
|
+
const state = argsOrState;
|
|
81
|
+
resourceInputs["assigneeId"] = state ? state.assigneeId : undefined;
|
|
82
|
+
resourceInputs["labels"] = state ? state.labels : undefined;
|
|
83
|
+
resourceInputs["lists"] = state ? state.lists : undefined;
|
|
84
|
+
resourceInputs["milestoneId"] = state ? state.milestoneId : undefined;
|
|
85
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
86
|
+
resourceInputs["project"] = state ? state.project : undefined;
|
|
87
|
+
resourceInputs["weight"] = state ? state.weight : undefined;
|
|
88
|
+
}
|
|
89
|
+
else {
|
|
90
|
+
const args = argsOrState;
|
|
91
|
+
if ((!args || args.project === undefined) && !opts.urn) {
|
|
92
|
+
throw new Error("Missing required property 'project'");
|
|
93
|
+
}
|
|
94
|
+
resourceInputs["assigneeId"] = args ? args.assigneeId : undefined;
|
|
95
|
+
resourceInputs["labels"] = args ? args.labels : undefined;
|
|
96
|
+
resourceInputs["lists"] = args ? args.lists : undefined;
|
|
97
|
+
resourceInputs["milestoneId"] = args ? args.milestoneId : undefined;
|
|
98
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
99
|
+
resourceInputs["project"] = args ? args.project : undefined;
|
|
100
|
+
resourceInputs["weight"] = args ? args.weight : undefined;
|
|
101
|
+
}
|
|
102
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
103
|
+
super(ProjectIssueBoard.__pulumiType, name, resourceInputs, opts);
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* Get an existing ProjectIssueBoard resource's state with the given name, ID, and optional extra
|
|
107
|
+
* properties used to qualify the lookup.
|
|
108
|
+
*
|
|
109
|
+
* @param name The _unique_ name of the resulting resource.
|
|
110
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
111
|
+
* @param state Any extra arguments used during the lookup.
|
|
112
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
113
|
+
*/
|
|
114
|
+
static get(name, id, state, opts) {
|
|
115
|
+
return new ProjectIssueBoard(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* Returns true if the given object is an instance of ProjectIssueBoard. This is designed to work even
|
|
119
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
120
|
+
*/
|
|
121
|
+
static isInstance(obj) {
|
|
122
|
+
if (obj === undefined || obj === null) {
|
|
123
|
+
return false;
|
|
124
|
+
}
|
|
125
|
+
return obj['__pulumiType'] === ProjectIssueBoard.__pulumiType;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
exports.ProjectIssueBoard = ProjectIssueBoard;
|
|
129
|
+
/** @internal */
|
|
130
|
+
ProjectIssueBoard.__pulumiType = 'gitlab:index/projectIssueBoard:ProjectIssueBoard';
|
|
131
|
+
//# sourceMappingURL=projectIssueBoard.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"projectIssueBoard.js","sourceRoot":"","sources":["../projectIssueBoard.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkEG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IAiExD,YAAY,IAAY,EAAE,WAA4D,EAAE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AAG,CAAC,cAAc,CAAC,KAAK,iBAAiB,CAAC,YAAY,CAAC;IAClE,CAAC;;AA1BL,8CA6FC;AA/EG,gBAAgB;AACO,8BAAY,GAAG,kDAAkD,CAAC"}
|
|
@@ -25,10 +25,10 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
25
25
|
* ## Import
|
|
26
26
|
*
|
|
27
27
|
* ```sh
|
|
28
|
-
* $ pulumi import gitlab:index/projectLevelMrApprovals:ProjectLevelMrApprovals
|
|
28
|
+
* $ pulumi import gitlab:index/projectLevelMrApprovals:ProjectLevelMrApprovals You can import an approval configuration state using `<resource> <project_id>`.
|
|
29
29
|
* ```
|
|
30
30
|
*
|
|
31
|
-
* #
|
|
31
|
+
* # For example
|
|
32
32
|
*
|
|
33
33
|
* ```sh
|
|
34
34
|
* $ pulumi import gitlab:index/projectLevelMrApprovals:ProjectLevelMrApprovals foo 1234
|
|
@@ -71,8 +71,7 @@ export declare class ProjectLevelMrApprovals extends pulumi.CustomResource {
|
|
|
71
71
|
*/
|
|
72
72
|
readonly requirePasswordToApprove: pulumi.Output<boolean | undefined>;
|
|
73
73
|
/**
|
|
74
|
-
* Set to `true` if you want to remove all approvals in a merge request when new commits are pushed to its source branch.
|
|
75
|
-
* Default is `true`.
|
|
74
|
+
* Set to `true` if you want to remove all approvals in a merge request when new commits are pushed to its source branch. Default is `true`.
|
|
76
75
|
*/
|
|
77
76
|
readonly resetApprovalsOnPush: pulumi.Output<boolean | undefined>;
|
|
78
77
|
/**
|
|
@@ -109,8 +108,7 @@ export interface ProjectLevelMrApprovalsState {
|
|
|
109
108
|
*/
|
|
110
109
|
requirePasswordToApprove?: pulumi.Input<boolean>;
|
|
111
110
|
/**
|
|
112
|
-
* Set to `true` if you want to remove all approvals in a merge request when new commits are pushed to its source branch.
|
|
113
|
-
* Default is `true`.
|
|
111
|
+
* Set to `true` if you want to remove all approvals in a merge request when new commits are pushed to its source branch. Default is `true`.
|
|
114
112
|
*/
|
|
115
113
|
resetApprovalsOnPush?: pulumi.Input<boolean>;
|
|
116
114
|
}
|
|
@@ -139,8 +137,7 @@ export interface ProjectLevelMrApprovalsArgs {
|
|
|
139
137
|
*/
|
|
140
138
|
requirePasswordToApprove?: pulumi.Input<boolean>;
|
|
141
139
|
/**
|
|
142
|
-
* Set to `true` if you want to remove all approvals in a merge request when new commits are pushed to its source branch.
|
|
143
|
-
* Default is `true`.
|
|
140
|
+
* Set to `true` if you want to remove all approvals in a merge request when new commits are pushed to its source branch. Default is `true`.
|
|
144
141
|
*/
|
|
145
142
|
resetApprovalsOnPush?: pulumi.Input<boolean>;
|
|
146
143
|
}
|
|
@@ -31,10 +31,10 @@ const utilities = require("./utilities");
|
|
|
31
31
|
* ## Import
|
|
32
32
|
*
|
|
33
33
|
* ```sh
|
|
34
|
-
* $ pulumi import gitlab:index/projectLevelMrApprovals:ProjectLevelMrApprovals
|
|
34
|
+
* $ pulumi import gitlab:index/projectLevelMrApprovals:ProjectLevelMrApprovals You can import an approval configuration state using `<resource> <project_id>`.
|
|
35
35
|
* ```
|
|
36
36
|
*
|
|
37
|
-
* #
|
|
37
|
+
* # For example
|
|
38
38
|
*
|
|
39
39
|
* ```sh
|
|
40
40
|
* $ pulumi import gitlab:index/projectLevelMrApprovals:ProjectLevelMrApprovals foo 1234
|