@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/getProjectIssue.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
import
|
|
2
|
+
import * as outputs from "./types/output";
|
|
3
3
|
/**
|
|
4
4
|
* The `gitlab.ProjectIssue` data source allows to retrieve details about an issue in a project.
|
|
5
5
|
*
|
|
@@ -26,59 +26,183 @@ export declare function getProjectIssue(args: GetProjectIssueArgs, opts?: pulumi
|
|
|
26
26
|
* A collection of arguments for invoking getProjectIssue.
|
|
27
27
|
*/
|
|
28
28
|
export interface GetProjectIssueArgs {
|
|
29
|
+
/**
|
|
30
|
+
* The internal ID of the project's issue.
|
|
31
|
+
*/
|
|
29
32
|
iid: number;
|
|
33
|
+
/**
|
|
34
|
+
* The name or ID of the project.
|
|
35
|
+
*/
|
|
30
36
|
project: string;
|
|
31
37
|
}
|
|
32
38
|
/**
|
|
33
39
|
* A collection of values returned by getProjectIssue.
|
|
34
40
|
*/
|
|
35
41
|
export interface GetProjectIssueResult {
|
|
42
|
+
/**
|
|
43
|
+
* The IDs of the users to assign the issue to.
|
|
44
|
+
*/
|
|
36
45
|
readonly assigneeIds: number[];
|
|
46
|
+
/**
|
|
47
|
+
* The ID of the author of the issue. Use `gitlab.User` data source to get more information about the user.
|
|
48
|
+
*/
|
|
37
49
|
readonly authorId: number;
|
|
50
|
+
/**
|
|
51
|
+
* When the issue was closed. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z.
|
|
52
|
+
*/
|
|
38
53
|
readonly closedAt: string;
|
|
54
|
+
/**
|
|
55
|
+
* The ID of the user that closed the issue. Use `gitlab.User` data source to get more information about the user.
|
|
56
|
+
*/
|
|
39
57
|
readonly closedByUserId: number;
|
|
58
|
+
/**
|
|
59
|
+
* Set an issue to be confidential.
|
|
60
|
+
*/
|
|
40
61
|
readonly confidential: boolean;
|
|
62
|
+
/**
|
|
63
|
+
* 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.
|
|
64
|
+
*/
|
|
41
65
|
readonly createdAt: string;
|
|
66
|
+
/**
|
|
67
|
+
* The description of an issue. Limited to 1,048,576 characters.
|
|
68
|
+
*/
|
|
42
69
|
readonly description: string;
|
|
70
|
+
/**
|
|
71
|
+
* Whether the issue is locked for discussions or not.
|
|
72
|
+
*/
|
|
43
73
|
readonly discussionLocked: boolean;
|
|
74
|
+
/**
|
|
75
|
+
* 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.
|
|
76
|
+
*/
|
|
44
77
|
readonly discussionToResolve: string;
|
|
78
|
+
/**
|
|
79
|
+
* The number of downvotes the issue has received.
|
|
80
|
+
*/
|
|
45
81
|
readonly downvotes: number;
|
|
82
|
+
/**
|
|
83
|
+
* The due date. Date time string in the format YYYY-MM-DD, for example 2016-03-11.
|
|
84
|
+
* **Note:** removing a due date is currently not supported, see https://github.com/xanzy/go-gitlab/issues/1384 for details.
|
|
85
|
+
*/
|
|
46
86
|
readonly dueDate: string;
|
|
87
|
+
/**
|
|
88
|
+
* ID of the epic to add the issue to. Valid values are greater than or equal to 0.
|
|
89
|
+
*/
|
|
47
90
|
readonly epicId: number;
|
|
91
|
+
/**
|
|
92
|
+
* The ID of the epic issue.
|
|
93
|
+
*/
|
|
48
94
|
readonly epicIssueId: number;
|
|
95
|
+
/**
|
|
96
|
+
* The external ID of the issue.
|
|
97
|
+
*/
|
|
49
98
|
readonly externalId: string;
|
|
99
|
+
/**
|
|
100
|
+
* The human-readable time estimate of the issue.
|
|
101
|
+
*/
|
|
50
102
|
readonly humanTimeEstimate: string;
|
|
103
|
+
/**
|
|
104
|
+
* The human-readable total time spent of the issue.
|
|
105
|
+
*/
|
|
51
106
|
readonly humanTotalTimeSpent: string;
|
|
52
107
|
/**
|
|
53
108
|
* The provider-assigned unique ID for this managed resource.
|
|
54
109
|
*/
|
|
55
110
|
readonly id: string;
|
|
111
|
+
/**
|
|
112
|
+
* The internal ID of the project's issue.
|
|
113
|
+
*/
|
|
56
114
|
readonly iid: number;
|
|
115
|
+
/**
|
|
116
|
+
* The instance-wide ID of the issue.
|
|
117
|
+
*/
|
|
57
118
|
readonly issueId: number;
|
|
119
|
+
/**
|
|
120
|
+
* The ID of the issue link.
|
|
121
|
+
*/
|
|
58
122
|
readonly issueLinkId: number;
|
|
123
|
+
/**
|
|
124
|
+
* The type of issue. Valid values are: `issue`, `incident`, `testCase`.
|
|
125
|
+
*/
|
|
59
126
|
readonly issueType: string;
|
|
127
|
+
/**
|
|
128
|
+
* The labels of an issue.
|
|
129
|
+
*/
|
|
60
130
|
readonly labels: string[];
|
|
131
|
+
/**
|
|
132
|
+
* The links of the issue.
|
|
133
|
+
*/
|
|
61
134
|
readonly links: {
|
|
62
135
|
[key: string]: string;
|
|
63
136
|
};
|
|
137
|
+
/**
|
|
138
|
+
* 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.
|
|
139
|
+
*/
|
|
64
140
|
readonly mergeRequestToResolveDiscussionsOf: number;
|
|
141
|
+
/**
|
|
142
|
+
* The number of merge requests associated with the issue.
|
|
143
|
+
*/
|
|
65
144
|
readonly mergeRequestsCount: number;
|
|
145
|
+
/**
|
|
146
|
+
* 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.
|
|
147
|
+
*/
|
|
66
148
|
readonly milestoneId: number;
|
|
149
|
+
/**
|
|
150
|
+
* The ID of the issue that was moved to.
|
|
151
|
+
*/
|
|
67
152
|
readonly movedToId: number;
|
|
153
|
+
/**
|
|
154
|
+
* The name or ID of the project.
|
|
155
|
+
*/
|
|
68
156
|
readonly project: string;
|
|
157
|
+
/**
|
|
158
|
+
* The references of the issue.
|
|
159
|
+
*/
|
|
69
160
|
readonly references: {
|
|
70
161
|
[key: string]: string;
|
|
71
162
|
};
|
|
163
|
+
/**
|
|
164
|
+
* The state of the issue. Valid values are: `opened`, `closed`.
|
|
165
|
+
*/
|
|
72
166
|
readonly state: string;
|
|
167
|
+
/**
|
|
168
|
+
* Whether the authenticated user is subscribed to the issue or not.
|
|
169
|
+
*/
|
|
73
170
|
readonly subscribed: boolean;
|
|
171
|
+
/**
|
|
172
|
+
* The task completion status. It's always a one element list.
|
|
173
|
+
*/
|
|
74
174
|
readonly taskCompletionStatuses: outputs.GetProjectIssueTaskCompletionStatus[];
|
|
175
|
+
/**
|
|
176
|
+
* The time estimate of the issue.
|
|
177
|
+
*/
|
|
75
178
|
readonly timeEstimate: number;
|
|
179
|
+
/**
|
|
180
|
+
* The title of the issue.
|
|
181
|
+
*/
|
|
76
182
|
readonly title: string;
|
|
183
|
+
/**
|
|
184
|
+
* The total time spent of the issue.
|
|
185
|
+
*/
|
|
77
186
|
readonly totalTimeSpent: number;
|
|
187
|
+
/**
|
|
188
|
+
* When the issue was updated. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z.
|
|
189
|
+
*/
|
|
78
190
|
readonly updatedAt: string;
|
|
191
|
+
/**
|
|
192
|
+
* The number of upvotes the issue has received.
|
|
193
|
+
*/
|
|
79
194
|
readonly upvotes: number;
|
|
195
|
+
/**
|
|
196
|
+
* The number of user notes on the issue.
|
|
197
|
+
*/
|
|
80
198
|
readonly userNotesCount: number;
|
|
199
|
+
/**
|
|
200
|
+
* The web URL of the issue.
|
|
201
|
+
*/
|
|
81
202
|
readonly webUrl: string;
|
|
203
|
+
/**
|
|
204
|
+
* The weight of the issue. Valid values are greater than or equal to 0.
|
|
205
|
+
*/
|
|
82
206
|
readonly weight: number;
|
|
83
207
|
}
|
|
84
208
|
export declare function getProjectIssueOutput(args: GetProjectIssueOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetProjectIssueResult>;
|
|
@@ -86,6 +210,12 @@ export declare function getProjectIssueOutput(args: GetProjectIssueOutputArgs, o
|
|
|
86
210
|
* A collection of arguments for invoking getProjectIssue.
|
|
87
211
|
*/
|
|
88
212
|
export interface GetProjectIssueOutputArgs {
|
|
213
|
+
/**
|
|
214
|
+
* The internal ID of the project's issue.
|
|
215
|
+
*/
|
|
89
216
|
iid: pulumi.Input<number>;
|
|
217
|
+
/**
|
|
218
|
+
* The name or ID of the project.
|
|
219
|
+
*/
|
|
90
220
|
project: pulumi.Input<string>;
|
|
91
221
|
}
|
package/getProjectIssue.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getProjectIssue.js","sourceRoot":"","sources":["../getProjectIssue.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;
|
|
1
|
+
{"version":3,"file":"getProjectIssue.js","sourceRoot":"","sources":["../getProjectIssue.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAClF,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,8CAA8C,EAAE;QACzE,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,0CAUC;AAuLD,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAA2B;IAC9F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,eAAe,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACnE,CAAC;AAFD,sDAEC"}
|
package/getProjectIssues.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
import
|
|
2
|
+
import * as outputs from "./types/output";
|
|
3
3
|
/**
|
|
4
4
|
* The `gitlab.getProjectIssues` data source allows to retrieve details about issues in a project.
|
|
5
5
|
*
|
|
@@ -25,67 +25,226 @@ export declare function getProjectIssues(args: GetProjectIssuesArgs, opts?: pulu
|
|
|
25
25
|
* A collection of arguments for invoking getProjectIssues.
|
|
26
26
|
*/
|
|
27
27
|
export interface GetProjectIssuesArgs {
|
|
28
|
+
/**
|
|
29
|
+
* Return issues assigned to the given user id. Mutually exclusive with assignee_username. None returns unassigned issues. Any returns issues with an assignee.
|
|
30
|
+
*/
|
|
28
31
|
assigneeId?: number;
|
|
32
|
+
/**
|
|
33
|
+
* Return issues assigned to the given username. Similar to assignee*id and mutually exclusive with assignee*id. In GitLab CE, the assigneeUsername array should only contain a single value. Otherwise, an invalid parameter error is returned.
|
|
34
|
+
*/
|
|
29
35
|
assigneeUsername?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Return issues created by the given user id. Combine with scope=all or scope=assigned*to*me.
|
|
38
|
+
*/
|
|
30
39
|
authorId?: number;
|
|
40
|
+
/**
|
|
41
|
+
* Filter confidential or public issues.
|
|
42
|
+
*/
|
|
31
43
|
confidential?: boolean;
|
|
44
|
+
/**
|
|
45
|
+
* Return issues created on or after the given time. Expected in ISO 8601 format (2019-03-15T08:00:00Z)
|
|
46
|
+
*/
|
|
32
47
|
createdAfter?: string;
|
|
48
|
+
/**
|
|
49
|
+
* Return issues created on or before the given time. Expected in ISO 8601 format (2019-03-15T08:00:00Z)
|
|
50
|
+
*/
|
|
33
51
|
createdBefore?: string;
|
|
52
|
+
/**
|
|
53
|
+
* 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.
|
|
54
|
+
*/
|
|
34
55
|
dueDate?: string;
|
|
56
|
+
/**
|
|
57
|
+
* Return only the issues having the given iid
|
|
58
|
+
*/
|
|
35
59
|
iids?: number[];
|
|
60
|
+
/**
|
|
61
|
+
* Filter to a given type of issue. Valid values are [issue incident testCase]. (Introduced in GitLab 13.12)
|
|
62
|
+
*/
|
|
36
63
|
issueType?: string;
|
|
64
|
+
/**
|
|
65
|
+
* 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.
|
|
66
|
+
*/
|
|
37
67
|
labels?: string[];
|
|
68
|
+
/**
|
|
69
|
+
* The milestone title. None lists all issues with no milestone. Any lists all issues that have an assigned milestone.
|
|
70
|
+
*/
|
|
38
71
|
milestone?: string;
|
|
72
|
+
/**
|
|
73
|
+
* Return issues reacted by the authenticated user by the given emoji. None returns issues not given a reaction. Any returns issues given at least one reaction.
|
|
74
|
+
*/
|
|
39
75
|
myReactionEmoji?: string;
|
|
76
|
+
/**
|
|
77
|
+
* Return issues that do not match the assignee id.
|
|
78
|
+
*/
|
|
40
79
|
notAssigneeIds?: number[];
|
|
80
|
+
/**
|
|
81
|
+
* Return issues that do not match the author id.
|
|
82
|
+
*/
|
|
41
83
|
notAuthorIds?: number[];
|
|
84
|
+
/**
|
|
85
|
+
* Return issues that do not match the labels.
|
|
86
|
+
*/
|
|
42
87
|
notLabels?: string[];
|
|
88
|
+
/**
|
|
89
|
+
* Return issues that do not match the milestone.
|
|
90
|
+
*/
|
|
43
91
|
notMilestone?: string;
|
|
92
|
+
/**
|
|
93
|
+
* Return issues not reacted by the authenticated user by the given emoji.
|
|
94
|
+
*/
|
|
44
95
|
notMyReactionEmojis?: string[];
|
|
96
|
+
/**
|
|
97
|
+
* Return issues ordered by. Valid values are `createdAt`, `updatedAt`, `priority`, `dueDate`, `relativePosition`, `labelPriority`, `milestoneDue`, `popularity`, `weight`. Default is created_at
|
|
98
|
+
*/
|
|
45
99
|
orderBy?: string;
|
|
100
|
+
/**
|
|
101
|
+
* The name or id of the project.
|
|
102
|
+
*/
|
|
46
103
|
project: string;
|
|
104
|
+
/**
|
|
105
|
+
* Return issues for the given scope. Valid values are `createdByMe`, `assignedToMe`, `all`. Defaults to all.
|
|
106
|
+
*/
|
|
47
107
|
scope?: string;
|
|
108
|
+
/**
|
|
109
|
+
* Search project issues against their title and description
|
|
110
|
+
*/
|
|
48
111
|
search?: string;
|
|
112
|
+
/**
|
|
113
|
+
* Return issues sorted in asc or desc order. Default is desc
|
|
114
|
+
*/
|
|
49
115
|
sort?: string;
|
|
116
|
+
/**
|
|
117
|
+
* Return issues updated on or after the given time. Expected in ISO 8601 format (2019-03-15T08:00:00Z)
|
|
118
|
+
*/
|
|
50
119
|
updatedAfter?: string;
|
|
120
|
+
/**
|
|
121
|
+
* Return issues updated on or before the given time. Expected in ISO 8601 format (2019-03-15T08:00:00Z)
|
|
122
|
+
*/
|
|
51
123
|
updatedBefore?: string;
|
|
124
|
+
/**
|
|
125
|
+
* Return issues with the specified weight. None returns issues with no weight assigned. Any returns issues with a weight assigned.
|
|
126
|
+
*/
|
|
52
127
|
weight?: number;
|
|
128
|
+
/**
|
|
129
|
+
* If true, the response returns more details for each label in labels field: :name, :color, :description, :description*html, :text*color. Default is false. descriptionHtml was introduced in GitLab 12.7
|
|
130
|
+
*/
|
|
53
131
|
withLabelsDetails?: boolean;
|
|
54
132
|
}
|
|
55
133
|
/**
|
|
56
134
|
* A collection of values returned by getProjectIssues.
|
|
57
135
|
*/
|
|
58
136
|
export interface GetProjectIssuesResult {
|
|
137
|
+
/**
|
|
138
|
+
* Return issues assigned to the given user id. Mutually exclusive with assignee_username. None returns unassigned issues. Any returns issues with an assignee.
|
|
139
|
+
*/
|
|
59
140
|
readonly assigneeId?: number;
|
|
141
|
+
/**
|
|
142
|
+
* Return issues assigned to the given username. Similar to assignee*id and mutually exclusive with assignee*id. In GitLab CE, the assigneeUsername array should only contain a single value. Otherwise, an invalid parameter error is returned.
|
|
143
|
+
*/
|
|
60
144
|
readonly assigneeUsername?: string;
|
|
145
|
+
/**
|
|
146
|
+
* Return issues created by the given user id. Combine with scope=all or scope=assigned*to*me.
|
|
147
|
+
*/
|
|
61
148
|
readonly authorId?: number;
|
|
149
|
+
/**
|
|
150
|
+
* Filter confidential or public issues.
|
|
151
|
+
*/
|
|
62
152
|
readonly confidential?: boolean;
|
|
153
|
+
/**
|
|
154
|
+
* Return issues created on or after the given time. Expected in ISO 8601 format (2019-03-15T08:00:00Z)
|
|
155
|
+
*/
|
|
63
156
|
readonly createdAfter?: string;
|
|
157
|
+
/**
|
|
158
|
+
* Return issues created on or before the given time. Expected in ISO 8601 format (2019-03-15T08:00:00Z)
|
|
159
|
+
*/
|
|
64
160
|
readonly createdBefore?: string;
|
|
161
|
+
/**
|
|
162
|
+
* 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.
|
|
163
|
+
*/
|
|
65
164
|
readonly dueDate?: string;
|
|
66
165
|
/**
|
|
67
166
|
* The provider-assigned unique ID for this managed resource.
|
|
68
167
|
*/
|
|
69
168
|
readonly id: string;
|
|
169
|
+
/**
|
|
170
|
+
* Return only the issues having the given iid
|
|
171
|
+
*/
|
|
70
172
|
readonly iids?: number[];
|
|
173
|
+
/**
|
|
174
|
+
* Filter to a given type of issue. Valid values are [issue incident testCase]. (Introduced in GitLab 13.12)
|
|
175
|
+
*/
|
|
71
176
|
readonly issueType?: string;
|
|
177
|
+
/**
|
|
178
|
+
* The list of issues returned by the search.
|
|
179
|
+
*/
|
|
72
180
|
readonly issues: outputs.GetProjectIssuesIssue[];
|
|
181
|
+
/**
|
|
182
|
+
* 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.
|
|
183
|
+
*/
|
|
73
184
|
readonly labels?: string[];
|
|
185
|
+
/**
|
|
186
|
+
* The milestone title. None lists all issues with no milestone. Any lists all issues that have an assigned milestone.
|
|
187
|
+
*/
|
|
74
188
|
readonly milestone?: string;
|
|
189
|
+
/**
|
|
190
|
+
* Return issues reacted by the authenticated user by the given emoji. None returns issues not given a reaction. Any returns issues given at least one reaction.
|
|
191
|
+
*/
|
|
75
192
|
readonly myReactionEmoji?: string;
|
|
193
|
+
/**
|
|
194
|
+
* Return issues that do not match the assignee id.
|
|
195
|
+
*/
|
|
76
196
|
readonly notAssigneeIds?: number[];
|
|
197
|
+
/**
|
|
198
|
+
* Return issues that do not match the author id.
|
|
199
|
+
*/
|
|
77
200
|
readonly notAuthorIds?: number[];
|
|
201
|
+
/**
|
|
202
|
+
* Return issues that do not match the labels.
|
|
203
|
+
*/
|
|
78
204
|
readonly notLabels?: string[];
|
|
205
|
+
/**
|
|
206
|
+
* Return issues that do not match the milestone.
|
|
207
|
+
*/
|
|
79
208
|
readonly notMilestone?: string;
|
|
209
|
+
/**
|
|
210
|
+
* Return issues not reacted by the authenticated user by the given emoji.
|
|
211
|
+
*/
|
|
80
212
|
readonly notMyReactionEmojis?: string[];
|
|
213
|
+
/**
|
|
214
|
+
* Return issues ordered by. Valid values are `createdAt`, `updatedAt`, `priority`, `dueDate`, `relativePosition`, `labelPriority`, `milestoneDue`, `popularity`, `weight`. Default is created_at
|
|
215
|
+
*/
|
|
81
216
|
readonly orderBy?: string;
|
|
217
|
+
/**
|
|
218
|
+
* The name or id of the project.
|
|
219
|
+
*/
|
|
82
220
|
readonly project: string;
|
|
221
|
+
/**
|
|
222
|
+
* Return issues for the given scope. Valid values are `createdByMe`, `assignedToMe`, `all`. Defaults to all.
|
|
223
|
+
*/
|
|
83
224
|
readonly scope?: string;
|
|
225
|
+
/**
|
|
226
|
+
* Search project issues against their title and description
|
|
227
|
+
*/
|
|
84
228
|
readonly search?: string;
|
|
229
|
+
/**
|
|
230
|
+
* Return issues sorted in asc or desc order. Default is desc
|
|
231
|
+
*/
|
|
85
232
|
readonly sort?: string;
|
|
233
|
+
/**
|
|
234
|
+
* Return issues updated on or after the given time. Expected in ISO 8601 format (2019-03-15T08:00:00Z)
|
|
235
|
+
*/
|
|
86
236
|
readonly updatedAfter?: string;
|
|
237
|
+
/**
|
|
238
|
+
* Return issues updated on or before the given time. Expected in ISO 8601 format (2019-03-15T08:00:00Z)
|
|
239
|
+
*/
|
|
87
240
|
readonly updatedBefore?: string;
|
|
241
|
+
/**
|
|
242
|
+
* Return issues with the specified weight. None returns issues with no weight assigned. Any returns issues with a weight assigned.
|
|
243
|
+
*/
|
|
88
244
|
readonly weight?: number;
|
|
245
|
+
/**
|
|
246
|
+
* If true, the response returns more details for each label in labels field: :name, :color, :description, :description*html, :text*color. Default is false. descriptionHtml was introduced in GitLab 12.7
|
|
247
|
+
*/
|
|
89
248
|
readonly withLabelsDetails?: boolean;
|
|
90
249
|
}
|
|
91
250
|
export declare function getProjectIssuesOutput(args: GetProjectIssuesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetProjectIssuesResult>;
|
|
@@ -93,30 +252,108 @@ export declare function getProjectIssuesOutput(args: GetProjectIssuesOutputArgs,
|
|
|
93
252
|
* A collection of arguments for invoking getProjectIssues.
|
|
94
253
|
*/
|
|
95
254
|
export interface GetProjectIssuesOutputArgs {
|
|
255
|
+
/**
|
|
256
|
+
* Return issues assigned to the given user id. Mutually exclusive with assignee_username. None returns unassigned issues. Any returns issues with an assignee.
|
|
257
|
+
*/
|
|
96
258
|
assigneeId?: pulumi.Input<number>;
|
|
259
|
+
/**
|
|
260
|
+
* Return issues assigned to the given username. Similar to assignee*id and mutually exclusive with assignee*id. In GitLab CE, the assigneeUsername array should only contain a single value. Otherwise, an invalid parameter error is returned.
|
|
261
|
+
*/
|
|
97
262
|
assigneeUsername?: pulumi.Input<string>;
|
|
263
|
+
/**
|
|
264
|
+
* Return issues created by the given user id. Combine with scope=all or scope=assigned*to*me.
|
|
265
|
+
*/
|
|
98
266
|
authorId?: pulumi.Input<number>;
|
|
267
|
+
/**
|
|
268
|
+
* Filter confidential or public issues.
|
|
269
|
+
*/
|
|
99
270
|
confidential?: pulumi.Input<boolean>;
|
|
271
|
+
/**
|
|
272
|
+
* Return issues created on or after the given time. Expected in ISO 8601 format (2019-03-15T08:00:00Z)
|
|
273
|
+
*/
|
|
100
274
|
createdAfter?: pulumi.Input<string>;
|
|
275
|
+
/**
|
|
276
|
+
* Return issues created on or before the given time. Expected in ISO 8601 format (2019-03-15T08:00:00Z)
|
|
277
|
+
*/
|
|
101
278
|
createdBefore?: pulumi.Input<string>;
|
|
279
|
+
/**
|
|
280
|
+
* 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.
|
|
281
|
+
*/
|
|
102
282
|
dueDate?: pulumi.Input<string>;
|
|
283
|
+
/**
|
|
284
|
+
* Return only the issues having the given iid
|
|
285
|
+
*/
|
|
103
286
|
iids?: pulumi.Input<pulumi.Input<number>[]>;
|
|
287
|
+
/**
|
|
288
|
+
* Filter to a given type of issue. Valid values are [issue incident testCase]. (Introduced in GitLab 13.12)
|
|
289
|
+
*/
|
|
104
290
|
issueType?: pulumi.Input<string>;
|
|
291
|
+
/**
|
|
292
|
+
* 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.
|
|
293
|
+
*/
|
|
105
294
|
labels?: pulumi.Input<pulumi.Input<string>[]>;
|
|
295
|
+
/**
|
|
296
|
+
* The milestone title. None lists all issues with no milestone. Any lists all issues that have an assigned milestone.
|
|
297
|
+
*/
|
|
106
298
|
milestone?: pulumi.Input<string>;
|
|
299
|
+
/**
|
|
300
|
+
* Return issues reacted by the authenticated user by the given emoji. None returns issues not given a reaction. Any returns issues given at least one reaction.
|
|
301
|
+
*/
|
|
107
302
|
myReactionEmoji?: pulumi.Input<string>;
|
|
303
|
+
/**
|
|
304
|
+
* Return issues that do not match the assignee id.
|
|
305
|
+
*/
|
|
108
306
|
notAssigneeIds?: pulumi.Input<pulumi.Input<number>[]>;
|
|
307
|
+
/**
|
|
308
|
+
* Return issues that do not match the author id.
|
|
309
|
+
*/
|
|
109
310
|
notAuthorIds?: pulumi.Input<pulumi.Input<number>[]>;
|
|
311
|
+
/**
|
|
312
|
+
* Return issues that do not match the labels.
|
|
313
|
+
*/
|
|
110
314
|
notLabels?: pulumi.Input<pulumi.Input<string>[]>;
|
|
315
|
+
/**
|
|
316
|
+
* Return issues that do not match the milestone.
|
|
317
|
+
*/
|
|
111
318
|
notMilestone?: pulumi.Input<string>;
|
|
319
|
+
/**
|
|
320
|
+
* Return issues not reacted by the authenticated user by the given emoji.
|
|
321
|
+
*/
|
|
112
322
|
notMyReactionEmojis?: pulumi.Input<pulumi.Input<string>[]>;
|
|
323
|
+
/**
|
|
324
|
+
* Return issues ordered by. Valid values are `createdAt`, `updatedAt`, `priority`, `dueDate`, `relativePosition`, `labelPriority`, `milestoneDue`, `popularity`, `weight`. Default is created_at
|
|
325
|
+
*/
|
|
113
326
|
orderBy?: pulumi.Input<string>;
|
|
327
|
+
/**
|
|
328
|
+
* The name or id of the project.
|
|
329
|
+
*/
|
|
114
330
|
project: pulumi.Input<string>;
|
|
331
|
+
/**
|
|
332
|
+
* Return issues for the given scope. Valid values are `createdByMe`, `assignedToMe`, `all`. Defaults to all.
|
|
333
|
+
*/
|
|
115
334
|
scope?: pulumi.Input<string>;
|
|
335
|
+
/**
|
|
336
|
+
* Search project issues against their title and description
|
|
337
|
+
*/
|
|
116
338
|
search?: pulumi.Input<string>;
|
|
339
|
+
/**
|
|
340
|
+
* Return issues sorted in asc or desc order. Default is desc
|
|
341
|
+
*/
|
|
117
342
|
sort?: pulumi.Input<string>;
|
|
343
|
+
/**
|
|
344
|
+
* Return issues updated on or after the given time. Expected in ISO 8601 format (2019-03-15T08:00:00Z)
|
|
345
|
+
*/
|
|
118
346
|
updatedAfter?: pulumi.Input<string>;
|
|
347
|
+
/**
|
|
348
|
+
* Return issues updated on or before the given time. Expected in ISO 8601 format (2019-03-15T08:00:00Z)
|
|
349
|
+
*/
|
|
119
350
|
updatedBefore?: pulumi.Input<string>;
|
|
351
|
+
/**
|
|
352
|
+
* Return issues with the specified weight. None returns issues with no weight assigned. Any returns issues with a weight assigned.
|
|
353
|
+
*/
|
|
120
354
|
weight?: pulumi.Input<number>;
|
|
355
|
+
/**
|
|
356
|
+
* If true, the response returns more details for each label in labels field: :name, :color, :description, :description*html, :text*color. Default is false. descriptionHtml was introduced in GitLab 12.7
|
|
357
|
+
*/
|
|
121
358
|
withLabelsDetails?: pulumi.Input<boolean>;
|
|
122
359
|
}
|
package/getProjectIssues.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getProjectIssues.js","sourceRoot":"","sources":["../getProjectIssues.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;
|
|
1
|
+
{"version":3,"file":"getProjectIssues.js","sourceRoot":"","sources":["../getProjectIssues.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IACpF,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,gDAAgD,EAAE;QAC3E,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;QACzC,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,iBAAiB,EAAE,IAAI,CAAC,eAAe;QACvC,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,qBAAqB,EAAE,IAAI,CAAC,mBAAmB;QAC/C,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,mBAAmB,EAAE,IAAI,CAAC,iBAAiB;KAC9C,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAlCD,4CAkCC;AAsOD,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAA2B;IAChG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,gBAAgB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACpE,CAAC;AAFD,wDAEC"}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "./types/output";
|
|
3
|
+
/**
|
|
4
|
+
* The `gitlab.ProjectMembership` data source allows to list and filter all members of a project specified by either its id or full path.
|
|
5
|
+
*
|
|
6
|
+
* > **Note** exactly one of projectId or fullPath must be provided.
|
|
7
|
+
*
|
|
8
|
+
* **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/members.html#list-all-members-of-a-group-or-project)
|
|
9
|
+
*
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as gitlab from "@pulumi/gitlab";
|
|
15
|
+
*
|
|
16
|
+
* // Get members of a project including all members
|
|
17
|
+
* // through ancestor groups
|
|
18
|
+
* const example = pulumi.output(gitlab.getProjectMembership({
|
|
19
|
+
* inherited: true,
|
|
20
|
+
* projectId: 123,
|
|
21
|
+
* }));
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
export declare function getProjectMembership(args?: GetProjectMembershipArgs, opts?: pulumi.InvokeOptions): Promise<GetProjectMembershipResult>;
|
|
25
|
+
/**
|
|
26
|
+
* A collection of arguments for invoking getProjectMembership.
|
|
27
|
+
*/
|
|
28
|
+
export interface GetProjectMembershipArgs {
|
|
29
|
+
/**
|
|
30
|
+
* The full path of the project.
|
|
31
|
+
*/
|
|
32
|
+
fullPath?: string;
|
|
33
|
+
/**
|
|
34
|
+
* Return all project members including members through ancestor groups
|
|
35
|
+
*/
|
|
36
|
+
inherited?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* The ID of the project.
|
|
39
|
+
*/
|
|
40
|
+
projectId?: number;
|
|
41
|
+
/**
|
|
42
|
+
* A query string to search for members
|
|
43
|
+
*/
|
|
44
|
+
query?: string;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* A collection of values returned by getProjectMembership.
|
|
48
|
+
*/
|
|
49
|
+
export interface GetProjectMembershipResult {
|
|
50
|
+
/**
|
|
51
|
+
* The full path of the project.
|
|
52
|
+
*/
|
|
53
|
+
readonly fullPath: string;
|
|
54
|
+
/**
|
|
55
|
+
* The provider-assigned unique ID for this managed resource.
|
|
56
|
+
*/
|
|
57
|
+
readonly id: string;
|
|
58
|
+
/**
|
|
59
|
+
* Return all project members including members through ancestor groups
|
|
60
|
+
*/
|
|
61
|
+
readonly inherited?: boolean;
|
|
62
|
+
/**
|
|
63
|
+
* The list of project members.
|
|
64
|
+
*/
|
|
65
|
+
readonly members: outputs.GetProjectMembershipMember[];
|
|
66
|
+
/**
|
|
67
|
+
* The ID of the project.
|
|
68
|
+
*/
|
|
69
|
+
readonly projectId: number;
|
|
70
|
+
/**
|
|
71
|
+
* A query string to search for members
|
|
72
|
+
*/
|
|
73
|
+
readonly query?: string;
|
|
74
|
+
}
|
|
75
|
+
export declare function getProjectMembershipOutput(args?: GetProjectMembershipOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetProjectMembershipResult>;
|
|
76
|
+
/**
|
|
77
|
+
* A collection of arguments for invoking getProjectMembership.
|
|
78
|
+
*/
|
|
79
|
+
export interface GetProjectMembershipOutputArgs {
|
|
80
|
+
/**
|
|
81
|
+
* The full path of the project.
|
|
82
|
+
*/
|
|
83
|
+
fullPath?: pulumi.Input<string>;
|
|
84
|
+
/**
|
|
85
|
+
* Return all project members including members through ancestor groups
|
|
86
|
+
*/
|
|
87
|
+
inherited?: pulumi.Input<boolean>;
|
|
88
|
+
/**
|
|
89
|
+
* The ID of the project.
|
|
90
|
+
*/
|
|
91
|
+
projectId?: pulumi.Input<number>;
|
|
92
|
+
/**
|
|
93
|
+
* A query string to search for members
|
|
94
|
+
*/
|
|
95
|
+
query?: pulumi.Input<string>;
|
|
96
|
+
}
|