@pulumi/gitlab 4.6.0 → 4.7.0-alpha.1648756283
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/branch.d.ts +3 -1
- package/branch.js +3 -1
- package/branch.js.map +1 -1
- package/branchProtection.d.ts +42 -6
- package/branchProtection.js +18 -8
- package/branchProtection.js.map +1 -1
- package/deployKey.d.ts +11 -4
- package/deployKey.js +5 -1
- package/deployKey.js.map +1 -1
- package/deployKeyEnable.d.ts +2 -2
- package/deployKeyEnable.js +2 -2
- package/deployToken.d.ts +24 -6
- package/deployToken.js +17 -1
- package/deployToken.js.map +1 -1
- package/getBranch.d.ts +3 -43
- package/getBranch.js +3 -1
- package/getBranch.js.map +1 -1
- package/getGroup.d.ts +3 -53
- package/getGroup.js +2 -2
- package/getGroup.js.map +1 -1
- package/getGroupMembership.d.ts +2 -32
- package/getGroupMembership.js +2 -2
- package/getGroupMembership.js.map +1 -1
- package/getInstanceDeployKeys.d.ts +46 -0
- package/getInstanceDeployKeys.js +42 -0
- package/getInstanceDeployKeys.js.map +1 -0
- package/getProject.d.ts +32 -88
- package/getProject.js +4 -1
- package/getProject.js.map +1 -1
- package/getProjectIssue.d.ts +91 -0
- package/getProjectIssue.js +44 -0
- package/getProjectIssue.js.map +1 -0
- package/getProjectIssues.d.ts +122 -0
- package/getProjectIssues.js +67 -0
- package/getProjectIssues.js.map +1 -0
- package/getProjectProtectedBranch.d.ts +3 -34
- package/getProjectProtectedBranch.js +3 -1
- package/getProjectProtectedBranch.js.map +1 -1
- package/getProjectProtectedBranches.d.ts +3 -13
- package/getProjectProtectedBranches.js +3 -1
- package/getProjectProtectedBranches.js.map +1 -1
- package/getProjectTag.d.ts +52 -0
- package/getProjectTag.js +41 -0
- package/getProjectTag.js.map +1 -0
- package/getProjectTags.d.ts +53 -0
- package/getProjectTags.js +42 -0
- package/getProjectTags.js.map +1 -0
- package/getProjects.d.ts +5 -195
- package/getProjects.js +5 -3
- package/getProjects.js.map +1 -1
- package/getRepositoryFile.d.ts +57 -0
- package/getRepositoryFile.js +42 -0
- package/getRepositoryFile.js.map +1 -0
- package/getUser.d.ts +4 -101
- package/getUser.js +4 -2
- package/getUser.js.map +1 -1
- package/getUsers.d.ts +6 -86
- package/getUsers.js +6 -2
- package/getUsers.js.map +1 -1
- package/group.d.ts +53 -38
- package/group.js +7 -2
- package/group.js.map +1 -1
- package/groupAccessToken.d.ts +15 -6
- package/groupAccessToken.js +5 -1
- package/groupAccessToken.js.map +1 -1
- package/groupBadge.d.ts +7 -7
- package/groupBadge.js +3 -3
- package/groupCluster.d.ts +8 -6
- package/groupCluster.js +5 -3
- package/groupCluster.js.map +1 -1
- package/groupCustomAttribute.d.ts +3 -1
- package/groupCustomAttribute.js +3 -1
- package/groupCustomAttribute.js.map +1 -1
- package/groupLabel.d.ts +9 -6
- package/groupLabel.js +3 -3
- package/groupLabel.js.map +1 -1
- package/groupLdapLink.d.ts +15 -7
- package/groupLdapLink.js +3 -1
- package/groupLdapLink.js.map +1 -1
- package/groupMembership.d.ts +11 -4
- package/groupMembership.js +5 -1
- package/groupMembership.js.map +1 -1
- package/groupShareGroup.d.ts +9 -4
- package/groupShareGroup.js +3 -1
- package/groupShareGroup.js.map +1 -1
- package/groupVariable.d.ts +27 -15
- package/groupVariable.js +3 -3
- package/groupVariable.js.map +1 -1
- package/index.d.ts +11 -0
- package/index.js +31 -0
- package/index.js.map +1 -1
- package/instanceCluster.d.ts +8 -6
- package/instanceCluster.js +5 -3
- package/instanceCluster.js.map +1 -1
- package/instanceVariable.d.ts +18 -12
- package/instanceVariable.js +3 -3
- package/instanceVariable.js.map +1 -1
- package/label.d.ts +17 -6
- package/label.js +11 -3
- package/label.js.map +1 -1
- package/managedLicense.d.ts +14 -7
- package/managedLicense.js +5 -4
- package/managedLicense.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/pipelineSchedule.d.ts +3 -3
- package/pipelineSchedule.js +3 -3
- package/pipelineScheduleVariable.d.ts +3 -1
- package/pipelineScheduleVariable.js +3 -1
- package/pipelineScheduleVariable.js.map +1 -1
- package/pipelineTrigger.d.ts +3 -1
- package/pipelineTrigger.js +3 -1
- package/pipelineTrigger.js.map +1 -1
- package/project.d.ts +372 -26
- package/project.js +59 -1
- package/project.js.map +1 -1
- package/projectAccessToken.d.ts +20 -8
- package/projectAccessToken.js +13 -1
- package/projectAccessToken.js.map +1 -1
- package/projectApprovalRule.d.ts +19 -2
- package/projectApprovalRule.js +6 -2
- package/projectApprovalRule.js.map +1 -1
- package/projectBadge.d.ts +7 -7
- package/projectBadge.js +3 -3
- package/projectCluster.d.ts +8 -6
- package/projectCluster.js +5 -3
- package/projectCluster.js.map +1 -1
- package/projectCustomAttribute.d.ts +3 -1
- package/projectCustomAttribute.js +3 -1
- package/projectCustomAttribute.js.map +1 -1
- package/projectEnvironment.d.ts +147 -0
- package/projectEnvironment.js +95 -0
- package/projectEnvironment.js.map +1 -0
- package/projectFreezePeriod.d.ts +3 -1
- package/projectFreezePeriod.js +3 -1
- package/projectFreezePeriod.js.map +1 -1
- package/projectHook.d.ts +16 -6
- package/projectHook.js +13 -3
- package/projectHook.js.map +1 -1
- package/projectIssue.d.ts +526 -0
- package/projectIssue.js +163 -0
- package/projectIssue.js.map +1 -0
- package/projectLevelMrApprovals.d.ts +11 -5
- package/projectLevelMrApprovals.js +5 -2
- package/projectLevelMrApprovals.js.map +1 -1
- package/projectMembership.d.ts +11 -4
- package/projectMembership.js +5 -1
- package/projectMembership.js.map +1 -1
- package/projectMirror.d.ts +4 -5
- package/projectMirror.js +4 -5
- package/projectMirror.js.map +1 -1
- package/projectProtectedEnvironment.d.ts +127 -0
- package/projectProtectedEnvironment.js +116 -0
- package/projectProtectedEnvironment.js.map +1 -0
- package/projectShareGroup.d.ts +15 -7
- package/projectShareGroup.js +3 -1
- package/projectShareGroup.js.map +1 -1
- package/projectTag.d.ts +149 -0
- package/projectTag.js +101 -0
- package/projectTag.js.map +1 -0
- package/projectVariable.d.ts +16 -16
- package/projectVariable.js +4 -7
- package/projectVariable.js.map +1 -1
- package/repositoryFile.d.ts +67 -8
- package/repositoryFile.js +14 -0
- package/repositoryFile.js.map +1 -1
- package/serviceGithub.d.ts +10 -5
- package/serviceGithub.js +4 -2
- package/serviceGithub.js.map +1 -1
- package/serviceJira.d.ts +15 -7
- package/serviceJira.js +3 -1
- package/serviceJira.js.map +1 -1
- package/serviceMicrosoftTeams.d.ts +9 -4
- package/serviceMicrosoftTeams.js +3 -1
- package/serviceMicrosoftTeams.js.map +1 -1
- package/servicePipelinesEmail.d.ts +9 -4
- package/servicePipelinesEmail.js +3 -1
- package/servicePipelinesEmail.js.map +1 -1
- package/serviceSlack.d.ts +13 -9
- package/serviceSlack.js +3 -1
- package/serviceSlack.js.map +1 -1
- package/systemHook.d.ts +165 -0
- package/systemHook.js +100 -0
- package/systemHook.js.map +1 -0
- package/tagProtection.d.ts +3 -1
- package/tagProtection.js +3 -1
- package/tagProtection.js.map +1 -1
- package/topic.d.ts +57 -25
- package/topic.js +10 -16
- package/topic.js.map +1 -1
- package/types/input.d.ts +42 -60
- package/types/output.d.ts +197 -102
- package/user.d.ts +18 -12
- package/user.js +6 -3
- package/user.js.map +1 -1
- package/userCustomAttribute.d.ts +3 -1
- package/userCustomAttribute.js +3 -1
- package/userCustomAttribute.js.map +1 -1
- package/userSshKey.d.ts +7 -4
- package/userSshKey.js +1 -1
- package/userSshKey.js.map +1 -1
package/getProjects.d.ts
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import { output as outputs } from "./types";
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* The `gitlab.getProjects` data source allows details of multiple projects to be retrieved. Optionally filtered by the set attributes.
|
|
5
5
|
*
|
|
6
|
-
* >
|
|
6
|
+
* > This data source supports all available filters exposed by the xanzy/go-gitlab package, which might not expose all available filters exposed by the Gitlab APIs.
|
|
7
7
|
*
|
|
8
|
-
* >
|
|
8
|
+
* > The owner sub-attributes are only populated if the Gitlab token used has an administrator scope.
|
|
9
|
+
*
|
|
10
|
+
* **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/projects.html#list-all-projects)
|
|
9
11
|
*
|
|
10
12
|
* ## Example Usage
|
|
11
13
|
*
|
|
@@ -33,186 +35,57 @@ export declare function getProjects(args?: GetProjectsArgs, opts?: pulumi.Invoke
|
|
|
33
35
|
* A collection of arguments for invoking getProjects.
|
|
34
36
|
*/
|
|
35
37
|
export interface GetProjectsArgs {
|
|
36
|
-
/**
|
|
37
|
-
* Limit by archived status.
|
|
38
|
-
*/
|
|
39
38
|
archived?: boolean;
|
|
40
|
-
/**
|
|
41
|
-
* The ID of the group owned by the authenticated user to look projects for within. Cannot be used with `minAccessLevel`, `withProgrammingLanguage` or `statistics`.
|
|
42
|
-
*/
|
|
43
39
|
groupId?: number;
|
|
44
|
-
/**
|
|
45
|
-
* Include projects in subgroups of this group. Default is `false`. Needs `groupId`.
|
|
46
|
-
*/
|
|
47
40
|
includeSubgroups?: boolean;
|
|
48
|
-
/**
|
|
49
|
-
* The maximum number of project results pages that may be queried. Prevents overloading your Gitlab instance in case of a misconfiguration.
|
|
50
|
-
*/
|
|
51
41
|
maxQueryablePages?: number;
|
|
52
|
-
/**
|
|
53
|
-
* Limit by projects that the current user is a member of.
|
|
54
|
-
*/
|
|
55
42
|
membership?: boolean;
|
|
56
|
-
/**
|
|
57
|
-
* Limit to projects where current user has at least this access level, refer to the [official documentation](https://docs.gitlab.com/ee/api/members.html) for values. Cannot be used with `groupId`.
|
|
58
|
-
*/
|
|
59
43
|
minAccessLevel?: number;
|
|
60
|
-
/**
|
|
61
|
-
* Return projects ordered by `id`, `name`, `path`, `createdAt`, `updatedAt`, or `lastActivityAt` fields. Default is `createdAt`.
|
|
62
|
-
*/
|
|
63
44
|
orderBy?: string;
|
|
64
|
-
/**
|
|
65
|
-
* Limit by projects owned by the current user.
|
|
66
|
-
*/
|
|
67
45
|
owned?: boolean;
|
|
68
|
-
/**
|
|
69
|
-
* The first page to begin the query on.
|
|
70
|
-
*/
|
|
71
46
|
page?: number;
|
|
72
|
-
/**
|
|
73
|
-
* The number of results to return per page.
|
|
74
|
-
*/
|
|
75
47
|
perPage?: number;
|
|
76
|
-
/**
|
|
77
|
-
* Return list of authorized projects matching the search criteria.
|
|
78
|
-
*/
|
|
79
48
|
search?: string;
|
|
80
|
-
/**
|
|
81
|
-
* Return only the ID, URL, name, and path of each project.
|
|
82
|
-
*/
|
|
83
49
|
simple?: boolean;
|
|
84
|
-
/**
|
|
85
|
-
* Return projects sorted in `asc` or `desc` order. Default is `desc`.
|
|
86
|
-
*/
|
|
87
50
|
sort?: string;
|
|
88
|
-
/**
|
|
89
|
-
* Limit by projects starred by the current user.
|
|
90
|
-
*/
|
|
91
51
|
starred?: boolean;
|
|
92
|
-
/**
|
|
93
|
-
* Include project statistics. Cannot be used with `groupId`.
|
|
94
|
-
*/
|
|
95
52
|
statistics?: boolean;
|
|
96
|
-
/**
|
|
97
|
-
* Limit by visibility `public`, `internal`, or `private`.
|
|
98
|
-
*/
|
|
99
53
|
visibility?: string;
|
|
100
|
-
/**
|
|
101
|
-
* Include custom attributes in response *(admins only)*.
|
|
102
|
-
*/
|
|
103
54
|
withCustomAttributes?: boolean;
|
|
104
|
-
/**
|
|
105
|
-
* Limit by projects with issues feature enabled. Default is `false`.
|
|
106
|
-
*/
|
|
107
55
|
withIssuesEnabled?: boolean;
|
|
108
|
-
/**
|
|
109
|
-
* Limit by projects with merge requests feature enabled. Default is `false`.
|
|
110
|
-
*/
|
|
111
56
|
withMergeRequestsEnabled?: boolean;
|
|
112
|
-
/**
|
|
113
|
-
* Limit by projects which use the given programming language. Cannot be used with `groupId`.
|
|
114
|
-
*/
|
|
115
57
|
withProgrammingLanguage?: string;
|
|
116
|
-
/**
|
|
117
|
-
* Include projects shared to this group. Default is `true`. Needs `groupId`.
|
|
118
|
-
*/
|
|
119
58
|
withShared?: boolean;
|
|
120
59
|
}
|
|
121
60
|
/**
|
|
122
61
|
* A collection of values returned by getProjects.
|
|
123
62
|
*/
|
|
124
63
|
export interface GetProjectsResult {
|
|
125
|
-
/**
|
|
126
|
-
* Limit by archived status.
|
|
127
|
-
*/
|
|
128
64
|
readonly archived?: boolean;
|
|
129
|
-
/**
|
|
130
|
-
* The ID of the group owned by the authenticated user to look projects for within. Cannot be used with `minAccessLevel`, `withProgrammingLanguage` or `statistics`.
|
|
131
|
-
*/
|
|
132
65
|
readonly groupId?: number;
|
|
133
66
|
/**
|
|
134
67
|
* The provider-assigned unique ID for this managed resource.
|
|
135
68
|
*/
|
|
136
69
|
readonly id: string;
|
|
137
|
-
/**
|
|
138
|
-
* Include projects in subgroups of this group. Default is `false`. Needs `groupId`.
|
|
139
|
-
*/
|
|
140
70
|
readonly includeSubgroups?: boolean;
|
|
141
|
-
/**
|
|
142
|
-
* The maximum number of project results pages that may be queried. Prevents overloading your Gitlab instance in case of a misconfiguration.
|
|
143
|
-
*/
|
|
144
71
|
readonly maxQueryablePages?: number;
|
|
145
|
-
/**
|
|
146
|
-
* Limit by projects that the current user is a member of.
|
|
147
|
-
*/
|
|
148
72
|
readonly membership?: boolean;
|
|
149
|
-
/**
|
|
150
|
-
* Limit to projects where current user has at least this access level, refer to the [official documentation](https://docs.gitlab.com/ee/api/members.html) for values. Cannot be used with `groupId`.
|
|
151
|
-
*/
|
|
152
73
|
readonly minAccessLevel?: number;
|
|
153
|
-
/**
|
|
154
|
-
* Return projects ordered by `id`, `name`, `path`, `createdAt`, `updatedAt`, or `lastActivityAt` fields. Default is `createdAt`.
|
|
155
|
-
*/
|
|
156
74
|
readonly orderBy?: string;
|
|
157
|
-
/**
|
|
158
|
-
* Limit by projects owned by the current user.
|
|
159
|
-
*/
|
|
160
75
|
readonly owned?: boolean;
|
|
161
|
-
/**
|
|
162
|
-
* The first page to begin the query on.
|
|
163
|
-
*/
|
|
164
76
|
readonly page?: number;
|
|
165
|
-
/**
|
|
166
|
-
* The number of results to return per page.
|
|
167
|
-
*/
|
|
168
77
|
readonly perPage?: number;
|
|
169
|
-
/**
|
|
170
|
-
* A list containing the projects matching the supplied arguments
|
|
171
|
-
*/
|
|
172
78
|
readonly projects: outputs.GetProjectsProject[];
|
|
173
|
-
/**
|
|
174
|
-
* Return list of authorized projects matching the search criteria.
|
|
175
|
-
*/
|
|
176
79
|
readonly search?: string;
|
|
177
|
-
/**
|
|
178
|
-
* Return only the ID, URL, name, and path of each project.
|
|
179
|
-
*/
|
|
180
80
|
readonly simple?: boolean;
|
|
181
|
-
/**
|
|
182
|
-
* Return projects sorted in `asc` or `desc` order. Default is `desc`.
|
|
183
|
-
*/
|
|
184
81
|
readonly sort?: string;
|
|
185
|
-
/**
|
|
186
|
-
* Limit by projects starred by the current user.
|
|
187
|
-
*/
|
|
188
82
|
readonly starred?: boolean;
|
|
189
|
-
/**
|
|
190
|
-
* Include project statistics. Cannot be used with `groupId`.
|
|
191
|
-
*/
|
|
192
83
|
readonly statistics?: boolean;
|
|
193
|
-
/**
|
|
194
|
-
* Limit by visibility `public`, `internal`, or `private`.
|
|
195
|
-
*/
|
|
196
84
|
readonly visibility?: string;
|
|
197
|
-
/**
|
|
198
|
-
* Include custom attributes in response *(admins only)*.
|
|
199
|
-
*/
|
|
200
85
|
readonly withCustomAttributes?: boolean;
|
|
201
|
-
/**
|
|
202
|
-
* Limit by projects with issues feature enabled. Default is `false`.
|
|
203
|
-
*/
|
|
204
86
|
readonly withIssuesEnabled?: boolean;
|
|
205
|
-
/**
|
|
206
|
-
* Limit by projects with merge requests feature enabled. Default is `false`.
|
|
207
|
-
*/
|
|
208
87
|
readonly withMergeRequestsEnabled?: boolean;
|
|
209
|
-
/**
|
|
210
|
-
* Limit by projects which use the given programming language. Cannot be used with `groupId`.
|
|
211
|
-
*/
|
|
212
88
|
readonly withProgrammingLanguage?: string;
|
|
213
|
-
/**
|
|
214
|
-
* Include projects shared to this group. Default is `true`. Needs `groupId`.
|
|
215
|
-
*/
|
|
216
89
|
readonly withShared?: boolean;
|
|
217
90
|
}
|
|
218
91
|
export declare function getProjectsOutput(args?: GetProjectsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetProjectsResult>;
|
|
@@ -220,88 +93,25 @@ export declare function getProjectsOutput(args?: GetProjectsOutputArgs, opts?: p
|
|
|
220
93
|
* A collection of arguments for invoking getProjects.
|
|
221
94
|
*/
|
|
222
95
|
export interface GetProjectsOutputArgs {
|
|
223
|
-
/**
|
|
224
|
-
* Limit by archived status.
|
|
225
|
-
*/
|
|
226
96
|
archived?: pulumi.Input<boolean>;
|
|
227
|
-
/**
|
|
228
|
-
* The ID of the group owned by the authenticated user to look projects for within. Cannot be used with `minAccessLevel`, `withProgrammingLanguage` or `statistics`.
|
|
229
|
-
*/
|
|
230
97
|
groupId?: pulumi.Input<number>;
|
|
231
|
-
/**
|
|
232
|
-
* Include projects in subgroups of this group. Default is `false`. Needs `groupId`.
|
|
233
|
-
*/
|
|
234
98
|
includeSubgroups?: pulumi.Input<boolean>;
|
|
235
|
-
/**
|
|
236
|
-
* The maximum number of project results pages that may be queried. Prevents overloading your Gitlab instance in case of a misconfiguration.
|
|
237
|
-
*/
|
|
238
99
|
maxQueryablePages?: pulumi.Input<number>;
|
|
239
|
-
/**
|
|
240
|
-
* Limit by projects that the current user is a member of.
|
|
241
|
-
*/
|
|
242
100
|
membership?: pulumi.Input<boolean>;
|
|
243
|
-
/**
|
|
244
|
-
* Limit to projects where current user has at least this access level, refer to the [official documentation](https://docs.gitlab.com/ee/api/members.html) for values. Cannot be used with `groupId`.
|
|
245
|
-
*/
|
|
246
101
|
minAccessLevel?: pulumi.Input<number>;
|
|
247
|
-
/**
|
|
248
|
-
* Return projects ordered by `id`, `name`, `path`, `createdAt`, `updatedAt`, or `lastActivityAt` fields. Default is `createdAt`.
|
|
249
|
-
*/
|
|
250
102
|
orderBy?: pulumi.Input<string>;
|
|
251
|
-
/**
|
|
252
|
-
* Limit by projects owned by the current user.
|
|
253
|
-
*/
|
|
254
103
|
owned?: pulumi.Input<boolean>;
|
|
255
|
-
/**
|
|
256
|
-
* The first page to begin the query on.
|
|
257
|
-
*/
|
|
258
104
|
page?: pulumi.Input<number>;
|
|
259
|
-
/**
|
|
260
|
-
* The number of results to return per page.
|
|
261
|
-
*/
|
|
262
105
|
perPage?: pulumi.Input<number>;
|
|
263
|
-
/**
|
|
264
|
-
* Return list of authorized projects matching the search criteria.
|
|
265
|
-
*/
|
|
266
106
|
search?: pulumi.Input<string>;
|
|
267
|
-
/**
|
|
268
|
-
* Return only the ID, URL, name, and path of each project.
|
|
269
|
-
*/
|
|
270
107
|
simple?: pulumi.Input<boolean>;
|
|
271
|
-
/**
|
|
272
|
-
* Return projects sorted in `asc` or `desc` order. Default is `desc`.
|
|
273
|
-
*/
|
|
274
108
|
sort?: pulumi.Input<string>;
|
|
275
|
-
/**
|
|
276
|
-
* Limit by projects starred by the current user.
|
|
277
|
-
*/
|
|
278
109
|
starred?: pulumi.Input<boolean>;
|
|
279
|
-
/**
|
|
280
|
-
* Include project statistics. Cannot be used with `groupId`.
|
|
281
|
-
*/
|
|
282
110
|
statistics?: pulumi.Input<boolean>;
|
|
283
|
-
/**
|
|
284
|
-
* Limit by visibility `public`, `internal`, or `private`.
|
|
285
|
-
*/
|
|
286
111
|
visibility?: pulumi.Input<string>;
|
|
287
|
-
/**
|
|
288
|
-
* Include custom attributes in response *(admins only)*.
|
|
289
|
-
*/
|
|
290
112
|
withCustomAttributes?: pulumi.Input<boolean>;
|
|
291
|
-
/**
|
|
292
|
-
* Limit by projects with issues feature enabled. Default is `false`.
|
|
293
|
-
*/
|
|
294
113
|
withIssuesEnabled?: pulumi.Input<boolean>;
|
|
295
|
-
/**
|
|
296
|
-
* Limit by projects with merge requests feature enabled. Default is `false`.
|
|
297
|
-
*/
|
|
298
114
|
withMergeRequestsEnabled?: pulumi.Input<boolean>;
|
|
299
|
-
/**
|
|
300
|
-
* Limit by projects which use the given programming language. Cannot be used with `groupId`.
|
|
301
|
-
*/
|
|
302
115
|
withProgrammingLanguage?: pulumi.Input<string>;
|
|
303
|
-
/**
|
|
304
|
-
* Include projects shared to this group. Default is `true`. Needs `groupId`.
|
|
305
|
-
*/
|
|
306
116
|
withShared?: pulumi.Input<boolean>;
|
|
307
117
|
}
|
package/getProjects.js
CHANGED
|
@@ -6,11 +6,13 @@ exports.getProjectsOutput = exports.getProjects = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* The `gitlab.getProjects` data source allows details of multiple projects to be retrieved. Optionally filtered by the set attributes.
|
|
10
10
|
*
|
|
11
|
-
* >
|
|
11
|
+
* > This data source supports all available filters exposed by the xanzy/go-gitlab package, which might not expose all available filters exposed by the Gitlab APIs.
|
|
12
12
|
*
|
|
13
|
-
* >
|
|
13
|
+
* > The owner sub-attributes are only populated if the Gitlab token used has an administrator scope.
|
|
14
|
+
*
|
|
15
|
+
* **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/projects.html#list-all-projects)
|
|
14
16
|
*
|
|
15
17
|
* ## Example Usage
|
|
16
18
|
*
|
package/getProjects.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getProjects.js","sourceRoot":"","sources":["../getProjects.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getProjects.js","sourceRoot":"","sources":["../getProjects.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,SAAgB,WAAW,CAAC,IAAsB,EAAE,IAA2B;IAC3E,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sCAAsC,EAAE;QACjE,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;QACzC,mBAAmB,EAAE,IAAI,CAAC,iBAAiB;QAC3C,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,sBAAsB,EAAE,IAAI,CAAC,oBAAoB;QACjD,mBAAmB,EAAE,IAAI,CAAC,iBAAiB;QAC3C,0BAA0B,EAAE,IAAI,CAAC,wBAAwB;QACzD,yBAAyB,EAAE,IAAI,CAAC,uBAAuB;QACvD,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AA9BD,kCA8BC;AA6DD,SAAgB,iBAAiB,CAAC,IAA4B,EAAE,IAA2B;IACvF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,WAAW,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC/D,CAAC;AAFD,8CAEC"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* The `gitlab.RepositoryFile` data source allows details of a file in a repository to be retrieved.
|
|
4
|
+
*
|
|
5
|
+
* **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/repository_files.html)
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as gitlab from "@pulumi/gitlab";
|
|
12
|
+
*
|
|
13
|
+
* const example = pulumi.output(gitlab.getRepositoryFile({
|
|
14
|
+
* filePath: "README.md",
|
|
15
|
+
* project: "example",
|
|
16
|
+
* ref: "main",
|
|
17
|
+
* }));
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
export declare function getRepositoryFile(args: GetRepositoryFileArgs, opts?: pulumi.InvokeOptions): Promise<GetRepositoryFileResult>;
|
|
21
|
+
/**
|
|
22
|
+
* A collection of arguments for invoking getRepositoryFile.
|
|
23
|
+
*/
|
|
24
|
+
export interface GetRepositoryFileArgs {
|
|
25
|
+
filePath: string;
|
|
26
|
+
project: string;
|
|
27
|
+
ref: string;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* A collection of values returned by getRepositoryFile.
|
|
31
|
+
*/
|
|
32
|
+
export interface GetRepositoryFileResult {
|
|
33
|
+
readonly blobId: string;
|
|
34
|
+
readonly commitId: string;
|
|
35
|
+
readonly content: string;
|
|
36
|
+
readonly contentSha256: string;
|
|
37
|
+
readonly encoding: string;
|
|
38
|
+
readonly fileName: string;
|
|
39
|
+
readonly filePath: string;
|
|
40
|
+
/**
|
|
41
|
+
* The provider-assigned unique ID for this managed resource.
|
|
42
|
+
*/
|
|
43
|
+
readonly id: string;
|
|
44
|
+
readonly lastCommitId: string;
|
|
45
|
+
readonly project: string;
|
|
46
|
+
readonly ref: string;
|
|
47
|
+
readonly size: number;
|
|
48
|
+
}
|
|
49
|
+
export declare function getRepositoryFileOutput(args: GetRepositoryFileOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetRepositoryFileResult>;
|
|
50
|
+
/**
|
|
51
|
+
* A collection of arguments for invoking getRepositoryFile.
|
|
52
|
+
*/
|
|
53
|
+
export interface GetRepositoryFileOutputArgs {
|
|
54
|
+
filePath: pulumi.Input<string>;
|
|
55
|
+
project: pulumi.Input<string>;
|
|
56
|
+
ref: pulumi.Input<string>;
|
|
57
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
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.getRepositoryFileOutput = exports.getRepositoryFile = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* The `gitlab.RepositoryFile` data source allows details of a file in a repository to be retrieved.
|
|
10
|
+
*
|
|
11
|
+
* **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/repository_files.html)
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as gitlab from "@pulumi/gitlab";
|
|
18
|
+
*
|
|
19
|
+
* const example = pulumi.output(gitlab.getRepositoryFile({
|
|
20
|
+
* filePath: "README.md",
|
|
21
|
+
* project: "example",
|
|
22
|
+
* ref: "main",
|
|
23
|
+
* }));
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
function getRepositoryFile(args, opts) {
|
|
27
|
+
if (!opts) {
|
|
28
|
+
opts = {};
|
|
29
|
+
}
|
|
30
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
31
|
+
return pulumi.runtime.invoke("gitlab:index/getRepositoryFile:getRepositoryFile", {
|
|
32
|
+
"filePath": args.filePath,
|
|
33
|
+
"project": args.project,
|
|
34
|
+
"ref": args.ref,
|
|
35
|
+
}, opts);
|
|
36
|
+
}
|
|
37
|
+
exports.getRepositoryFile = getRepositoryFile;
|
|
38
|
+
function getRepositoryFileOutput(args, opts) {
|
|
39
|
+
return pulumi.output(args).apply(a => getRepositoryFile(a, opts));
|
|
40
|
+
}
|
|
41
|
+
exports.getRepositoryFileOutput = getRepositoryFileOutput;
|
|
42
|
+
//# sourceMappingURL=getRepositoryFile.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getRepositoryFile.js","sourceRoot":"","sources":["../getRepositoryFile.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IACtF,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,kDAAkD,EAAE;QAC7E,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,KAAK,EAAE,IAAI,CAAC,GAAG;KAClB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,8CAWC;AAgCD,SAAgB,uBAAuB,CAAC,IAAiC,EAAE,IAA2B;IAClG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,iBAAiB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACrE,CAAC;AAFD,0DAEC"}
|
package/getUser.d.ts
CHANGED
|
@@ -1,142 +1,54 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* The `gitlab.User` data source allows details of a user to be retrieved by either the user ID, username or email address.
|
|
4
4
|
*
|
|
5
|
-
* > Some attributes might not be returned depending on if you're an admin or not.
|
|
5
|
+
* > Some attributes might not be returned depending on if you're an admin or not.
|
|
6
|
+
*
|
|
7
|
+
* **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/users.html#single-user)
|
|
6
8
|
*/
|
|
7
9
|
export declare function getUser(args?: GetUserArgs, opts?: pulumi.InvokeOptions): Promise<GetUserResult>;
|
|
8
10
|
/**
|
|
9
11
|
* A collection of arguments for invoking getUser.
|
|
10
12
|
*/
|
|
11
13
|
export interface GetUserArgs {
|
|
12
|
-
/**
|
|
13
|
-
* The public email address of the user. **Note**: before GitLab 14.8 the lookup was based on the users primary email address.
|
|
14
|
-
*/
|
|
15
14
|
email?: string;
|
|
16
|
-
/**
|
|
17
|
-
* The ID of the user.
|
|
18
|
-
*/
|
|
19
15
|
userId?: number;
|
|
20
|
-
/**
|
|
21
|
-
* The username of the user.
|
|
22
|
-
*/
|
|
23
16
|
username?: string;
|
|
24
17
|
}
|
|
25
18
|
/**
|
|
26
19
|
* A collection of values returned by getUser.
|
|
27
20
|
*/
|
|
28
21
|
export interface GetUserResult {
|
|
29
|
-
/**
|
|
30
|
-
* The avatar URL of the user.
|
|
31
|
-
*/
|
|
32
22
|
readonly avatarUrl: string;
|
|
33
|
-
/**
|
|
34
|
-
* The bio of the user.
|
|
35
|
-
*/
|
|
36
23
|
readonly bio: string;
|
|
37
|
-
/**
|
|
38
|
-
* Whether the user can create groups.
|
|
39
|
-
*/
|
|
40
24
|
readonly canCreateGroup: boolean;
|
|
41
|
-
/**
|
|
42
|
-
* Whether the user can create projects.
|
|
43
|
-
*/
|
|
44
25
|
readonly canCreateProject: boolean;
|
|
45
|
-
/**
|
|
46
|
-
* User's color scheme ID.
|
|
47
|
-
*/
|
|
48
26
|
readonly colorSchemeId: number;
|
|
49
|
-
/**
|
|
50
|
-
* Date the user was created at.
|
|
51
|
-
*/
|
|
52
27
|
readonly createdAt: string;
|
|
53
|
-
/**
|
|
54
|
-
* Current user's sign-in date.
|
|
55
|
-
*/
|
|
56
28
|
readonly currentSignInAt: string;
|
|
57
|
-
/**
|
|
58
|
-
* The public email address of the user. **Note**: before GitLab 14.8 the lookup was based on the users primary email address.
|
|
59
|
-
*/
|
|
60
29
|
readonly email: string;
|
|
61
|
-
/**
|
|
62
|
-
* The external UID of the user.
|
|
63
|
-
*/
|
|
64
30
|
readonly externUid: string;
|
|
65
|
-
/**
|
|
66
|
-
* Whether the user is external.
|
|
67
|
-
*/
|
|
68
31
|
readonly external: boolean;
|
|
69
32
|
/**
|
|
70
33
|
* The provider-assigned unique ID for this managed resource.
|
|
71
34
|
*/
|
|
72
35
|
readonly id: string;
|
|
73
|
-
/**
|
|
74
|
-
* Whether the user is an admin.
|
|
75
|
-
*/
|
|
76
36
|
readonly isAdmin: boolean;
|
|
77
|
-
/**
|
|
78
|
-
* Last user's sign-in date.
|
|
79
|
-
*/
|
|
80
37
|
readonly lastSignInAt: string;
|
|
81
|
-
/**
|
|
82
|
-
* LinkedIn profile of the user.
|
|
83
|
-
*/
|
|
84
38
|
readonly linkedin: string;
|
|
85
|
-
/**
|
|
86
|
-
* The location of the user.
|
|
87
|
-
*/
|
|
88
39
|
readonly location: string;
|
|
89
|
-
/**
|
|
90
|
-
* The name of the user.
|
|
91
|
-
*/
|
|
92
40
|
readonly name: string;
|
|
93
|
-
/**
|
|
94
|
-
* Admin notes for this user.
|
|
95
|
-
*/
|
|
96
41
|
readonly note: string;
|
|
97
|
-
/**
|
|
98
|
-
* The organization of the user.
|
|
99
|
-
*/
|
|
100
42
|
readonly organization: string;
|
|
101
|
-
/**
|
|
102
|
-
* Number of projects the user can create.
|
|
103
|
-
*/
|
|
104
43
|
readonly projectsLimit: number;
|
|
105
|
-
/**
|
|
106
|
-
* Skype username of the user.
|
|
107
|
-
*/
|
|
108
44
|
readonly skype: string;
|
|
109
|
-
/**
|
|
110
|
-
* Whether the user is active or blocked.
|
|
111
|
-
*/
|
|
112
45
|
readonly state: string;
|
|
113
|
-
/**
|
|
114
|
-
* User's theme ID.
|
|
115
|
-
*/
|
|
116
46
|
readonly themeId: number;
|
|
117
|
-
/**
|
|
118
|
-
* Twitter username of the user.
|
|
119
|
-
*/
|
|
120
47
|
readonly twitter: string;
|
|
121
|
-
/**
|
|
122
|
-
* Whether user's two-factor auth is enabled.
|
|
123
|
-
*/
|
|
124
48
|
readonly twoFactorEnabled: boolean;
|
|
125
|
-
/**
|
|
126
|
-
* The ID of the user.
|
|
127
|
-
*/
|
|
128
49
|
readonly userId: number;
|
|
129
|
-
/**
|
|
130
|
-
* The UID provider of the user.
|
|
131
|
-
*/
|
|
132
50
|
readonly userProvider: string;
|
|
133
|
-
/**
|
|
134
|
-
* The username of the user.
|
|
135
|
-
*/
|
|
136
51
|
readonly username: string;
|
|
137
|
-
/**
|
|
138
|
-
* User's website URL.
|
|
139
|
-
*/
|
|
140
52
|
readonly websiteUrl: string;
|
|
141
53
|
}
|
|
142
54
|
export declare function getUserOutput(args?: GetUserOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetUserResult>;
|
|
@@ -144,16 +56,7 @@ export declare function getUserOutput(args?: GetUserOutputArgs, opts?: pulumi.In
|
|
|
144
56
|
* A collection of arguments for invoking getUser.
|
|
145
57
|
*/
|
|
146
58
|
export interface GetUserOutputArgs {
|
|
147
|
-
/**
|
|
148
|
-
* The public email address of the user. **Note**: before GitLab 14.8 the lookup was based on the users primary email address.
|
|
149
|
-
*/
|
|
150
59
|
email?: pulumi.Input<string>;
|
|
151
|
-
/**
|
|
152
|
-
* The ID of the user.
|
|
153
|
-
*/
|
|
154
60
|
userId?: pulumi.Input<number>;
|
|
155
|
-
/**
|
|
156
|
-
* The username of the user.
|
|
157
|
-
*/
|
|
158
61
|
username?: pulumi.Input<string>;
|
|
159
62
|
}
|
package/getUser.js
CHANGED
|
@@ -6,9 +6,11 @@ exports.getUserOutput = exports.getUser = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* The `gitlab.User` data source allows details of a user to be retrieved by either the user ID, username or email address.
|
|
10
10
|
*
|
|
11
|
-
* > Some attributes might not be returned depending on if you're an admin or not.
|
|
11
|
+
* > Some attributes might not be returned depending on if you're an admin or not.
|
|
12
|
+
*
|
|
13
|
+
* **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/users.html#single-user)
|
|
12
14
|
*/
|
|
13
15
|
function getUser(args, opts) {
|
|
14
16
|
args = args || {};
|
package/getUser.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getUser.js","sourceRoot":"","sources":["../getUser.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getUser.js","sourceRoot":"","sources":["../getUser.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;GAMG;AACH,SAAgB,OAAO,CAAC,IAAkB,EAAE,IAA2B;IACnE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8BAA8B,EAAE;QACzD,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,0BAYC;AAgDD,SAAgB,aAAa,CAAC,IAAwB,EAAE,IAA2B;IAC/E,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC3D,CAAC;AAFD,sCAEC"}
|