@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/getGroup.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* The `gitlab.Group` data source allows details of a group to be retrieved by its id or full path.
|
|
4
4
|
*
|
|
5
|
-
*
|
|
5
|
+
* **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/groups.html#details-of-a-group)
|
|
6
6
|
*
|
|
7
7
|
* ## Example Usage
|
|
8
8
|
*
|
|
@@ -21,74 +21,30 @@ export declare function getGroup(args?: GetGroupArgs, opts?: pulumi.InvokeOption
|
|
|
21
21
|
* A collection of arguments for invoking getGroup.
|
|
22
22
|
*/
|
|
23
23
|
export interface GetGroupArgs {
|
|
24
|
-
/**
|
|
25
|
-
* The full path of the group.
|
|
26
|
-
*/
|
|
27
24
|
fullPath?: string;
|
|
28
|
-
/**
|
|
29
|
-
* The ID of the group.
|
|
30
|
-
*/
|
|
31
25
|
groupId?: number;
|
|
32
26
|
}
|
|
33
27
|
/**
|
|
34
28
|
* A collection of values returned by getGroup.
|
|
35
29
|
*/
|
|
36
30
|
export interface GetGroupResult {
|
|
37
|
-
/**
|
|
38
|
-
* Whether developers and maintainers can push to the applicable default branch.
|
|
39
|
-
*/
|
|
40
31
|
readonly defaultBranchProtection: number;
|
|
41
|
-
/**
|
|
42
|
-
* The description of the group.
|
|
43
|
-
*/
|
|
44
32
|
readonly description: string;
|
|
45
|
-
/**
|
|
46
|
-
* The full name of the group.
|
|
47
|
-
*/
|
|
48
33
|
readonly fullName: string;
|
|
49
|
-
/**
|
|
50
|
-
* The full path of the group.
|
|
51
|
-
*/
|
|
52
34
|
readonly fullPath: string;
|
|
53
|
-
/**
|
|
54
|
-
* The ID of the group.
|
|
55
|
-
*/
|
|
56
35
|
readonly groupId: number;
|
|
57
36
|
/**
|
|
58
37
|
* The provider-assigned unique ID for this managed resource.
|
|
59
38
|
*/
|
|
60
39
|
readonly id: string;
|
|
61
|
-
/**
|
|
62
|
-
* Boolean, is LFS enabled for projects in this group.
|
|
63
|
-
*/
|
|
64
40
|
readonly lfsEnabled: boolean;
|
|
65
|
-
/**
|
|
66
|
-
* The name of this group.
|
|
67
|
-
*/
|
|
68
41
|
readonly name: string;
|
|
69
|
-
/**
|
|
70
|
-
* Integer, ID of the parent group.
|
|
71
|
-
*/
|
|
72
42
|
readonly parentId: number;
|
|
73
|
-
/**
|
|
74
|
-
* The path of the group.
|
|
75
|
-
*/
|
|
76
43
|
readonly path: string;
|
|
77
|
-
|
|
78
|
-
* Boolean, is request for access enabled to the group.
|
|
79
|
-
*/
|
|
44
|
+
readonly preventForkingOutsideGroup: boolean;
|
|
80
45
|
readonly requestAccessEnabled: boolean;
|
|
81
|
-
/**
|
|
82
|
-
* The group level registration token to use during runner setup.
|
|
83
|
-
*/
|
|
84
46
|
readonly runnersToken: string;
|
|
85
|
-
/**
|
|
86
|
-
* Visibility level of the group. Possible values are `private`, `internal`, `public`.
|
|
87
|
-
*/
|
|
88
47
|
readonly visibilityLevel: string;
|
|
89
|
-
/**
|
|
90
|
-
* Web URL of the group.
|
|
91
|
-
*/
|
|
92
48
|
readonly webUrl: string;
|
|
93
49
|
}
|
|
94
50
|
export declare function getGroupOutput(args?: GetGroupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetGroupResult>;
|
|
@@ -96,12 +52,6 @@ export declare function getGroupOutput(args?: GetGroupOutputArgs, opts?: pulumi.
|
|
|
96
52
|
* A collection of arguments for invoking getGroup.
|
|
97
53
|
*/
|
|
98
54
|
export interface GetGroupOutputArgs {
|
|
99
|
-
/**
|
|
100
|
-
* The full path of the group.
|
|
101
|
-
*/
|
|
102
55
|
fullPath?: pulumi.Input<string>;
|
|
103
|
-
/**
|
|
104
|
-
* The ID of the group.
|
|
105
|
-
*/
|
|
106
56
|
groupId?: pulumi.Input<number>;
|
|
107
57
|
}
|
package/getGroup.js
CHANGED
|
@@ -6,9 +6,9 @@ exports.getGroupOutput = exports.getGroup = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* The `gitlab.Group` data source allows details of a group to be retrieved by its id or full path.
|
|
10
10
|
*
|
|
11
|
-
*
|
|
11
|
+
* **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/groups.html#details-of-a-group)
|
|
12
12
|
*
|
|
13
13
|
* ## Example Usage
|
|
14
14
|
*
|
package/getGroup.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getGroup.js","sourceRoot":"","sources":["../getGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,QAAQ,CAAC,IAAmB,EAAE,IAA2B;IACrE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gCAAgC,EAAE;QAC3D,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,4BAWC;
|
|
1
|
+
{"version":3,"file":"getGroup.js","sourceRoot":"","sources":["../getGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,QAAQ,CAAC,IAAmB,EAAE,IAA2B;IACrE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gCAAgC,EAAE;QAC3D,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,4BAWC;AAkCD,SAAgB,cAAc,CAAC,IAAyB,EAAE,IAA2B;IACjF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,QAAQ,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC5D,CAAC;AAFD,wCAEC"}
|
package/getGroupMembership.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import { output as outputs } from "./types";
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* The `gitlab.GroupMembership` data source allows to list and filter all members of a group specified by either its id or full path.
|
|
5
5
|
*
|
|
6
|
-
*
|
|
6
|
+
* **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/members.html#list-all-members-of-a-group-or-project)
|
|
7
7
|
*
|
|
8
8
|
* ## Example Usage
|
|
9
9
|
*
|
|
@@ -22,42 +22,21 @@ export declare function getGroupMembership(args?: GetGroupMembershipArgs, opts?:
|
|
|
22
22
|
* A collection of arguments for invoking getGroupMembership.
|
|
23
23
|
*/
|
|
24
24
|
export interface GetGroupMembershipArgs {
|
|
25
|
-
/**
|
|
26
|
-
* Only return members with the desired access level. Acceptable values are: `guest`, `reporter`, `developer`, `maintainer`, `owner`.
|
|
27
|
-
*/
|
|
28
25
|
accessLevel?: string;
|
|
29
|
-
/**
|
|
30
|
-
* The full path of the group.
|
|
31
|
-
*/
|
|
32
26
|
fullPath?: string;
|
|
33
|
-
/**
|
|
34
|
-
* The ID of the group.
|
|
35
|
-
*/
|
|
36
27
|
groupId?: number;
|
|
37
28
|
}
|
|
38
29
|
/**
|
|
39
30
|
* A collection of values returned by getGroupMembership.
|
|
40
31
|
*/
|
|
41
32
|
export interface GetGroupMembershipResult {
|
|
42
|
-
/**
|
|
43
|
-
* Only return members with the desired access level. Acceptable values are: `guest`, `reporter`, `developer`, `maintainer`, `owner`.
|
|
44
|
-
*/
|
|
45
33
|
readonly accessLevel: string;
|
|
46
|
-
/**
|
|
47
|
-
* The full path of the group.
|
|
48
|
-
*/
|
|
49
34
|
readonly fullPath: string;
|
|
50
|
-
/**
|
|
51
|
-
* The ID of the group.
|
|
52
|
-
*/
|
|
53
35
|
readonly groupId: number;
|
|
54
36
|
/**
|
|
55
37
|
* The provider-assigned unique ID for this managed resource.
|
|
56
38
|
*/
|
|
57
39
|
readonly id: string;
|
|
58
|
-
/**
|
|
59
|
-
* The list of group members.
|
|
60
|
-
*/
|
|
61
40
|
readonly members: outputs.GetGroupMembershipMember[];
|
|
62
41
|
}
|
|
63
42
|
export declare function getGroupMembershipOutput(args?: GetGroupMembershipOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetGroupMembershipResult>;
|
|
@@ -65,16 +44,7 @@ export declare function getGroupMembershipOutput(args?: GetGroupMembershipOutput
|
|
|
65
44
|
* A collection of arguments for invoking getGroupMembership.
|
|
66
45
|
*/
|
|
67
46
|
export interface GetGroupMembershipOutputArgs {
|
|
68
|
-
/**
|
|
69
|
-
* Only return members with the desired access level. Acceptable values are: `guest`, `reporter`, `developer`, `maintainer`, `owner`.
|
|
70
|
-
*/
|
|
71
47
|
accessLevel?: pulumi.Input<string>;
|
|
72
|
-
/**
|
|
73
|
-
* The full path of the group.
|
|
74
|
-
*/
|
|
75
48
|
fullPath?: pulumi.Input<string>;
|
|
76
|
-
/**
|
|
77
|
-
* The ID of the group.
|
|
78
|
-
*/
|
|
79
49
|
groupId?: pulumi.Input<number>;
|
|
80
50
|
}
|
package/getGroupMembership.js
CHANGED
|
@@ -6,9 +6,9 @@ exports.getGroupMembershipOutput = exports.getGroupMembership = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* The `gitlab.GroupMembership` data source allows to list and filter all members of a group specified by either its id or full path.
|
|
10
10
|
*
|
|
11
|
-
*
|
|
11
|
+
* **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/members.html#list-all-members-of-a-group-or-project)
|
|
12
12
|
*
|
|
13
13
|
* ## Example Usage
|
|
14
14
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getGroupMembership.js","sourceRoot":"","sources":["../getGroupMembership.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,kBAAkB,CAAC,IAA6B,EAAE,IAA2B;IACzF,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,oDAAoD,EAAE;QAC/E,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,gDAYC;
|
|
1
|
+
{"version":3,"file":"getGroupMembership.js","sourceRoot":"","sources":["../getGroupMembership.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,kBAAkB,CAAC,IAA6B,EAAE,IAA2B;IACzF,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,oDAAoD,EAAE;QAC/E,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,gDAYC;AAyBD,SAAgB,wBAAwB,CAAC,IAAmC,EAAE,IAA2B;IACrG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,kBAAkB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACtE,CAAC;AAFD,4DAEC"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { output as outputs } from "./types";
|
|
3
|
+
/**
|
|
4
|
+
* The `gitlab.getInstanceDeployKeys` data source allows to retrieve a list of deploy keys for a GitLab instance.
|
|
5
|
+
*
|
|
6
|
+
* > This data source requires administration privileges.
|
|
7
|
+
*
|
|
8
|
+
* **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/deploy_keys.html#list-all-deploy-keys)
|
|
9
|
+
*
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as gitlab from "@pulumi/gitlab";
|
|
15
|
+
*
|
|
16
|
+
* // only public deploy keys
|
|
17
|
+
* const example = pulumi.output(gitlab.getInstanceDeployKeys({
|
|
18
|
+
* public: true,
|
|
19
|
+
* }));
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
export declare function getInstanceDeployKeys(args?: GetInstanceDeployKeysArgs, opts?: pulumi.InvokeOptions): Promise<GetInstanceDeployKeysResult>;
|
|
23
|
+
/**
|
|
24
|
+
* A collection of arguments for invoking getInstanceDeployKeys.
|
|
25
|
+
*/
|
|
26
|
+
export interface GetInstanceDeployKeysArgs {
|
|
27
|
+
public?: boolean;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* A collection of values returned by getInstanceDeployKeys.
|
|
31
|
+
*/
|
|
32
|
+
export interface GetInstanceDeployKeysResult {
|
|
33
|
+
readonly deployKeys: outputs.GetInstanceDeployKeysDeployKey[];
|
|
34
|
+
/**
|
|
35
|
+
* The provider-assigned unique ID for this managed resource.
|
|
36
|
+
*/
|
|
37
|
+
readonly id: string;
|
|
38
|
+
readonly public?: boolean;
|
|
39
|
+
}
|
|
40
|
+
export declare function getInstanceDeployKeysOutput(args?: GetInstanceDeployKeysOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetInstanceDeployKeysResult>;
|
|
41
|
+
/**
|
|
42
|
+
* A collection of arguments for invoking getInstanceDeployKeys.
|
|
43
|
+
*/
|
|
44
|
+
export interface GetInstanceDeployKeysOutputArgs {
|
|
45
|
+
public?: pulumi.Input<boolean>;
|
|
46
|
+
}
|
|
@@ -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.getInstanceDeployKeysOutput = exports.getInstanceDeployKeys = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* The `gitlab.getInstanceDeployKeys` data source allows to retrieve a list of deploy keys for a GitLab instance.
|
|
10
|
+
*
|
|
11
|
+
* > This data source requires administration privileges.
|
|
12
|
+
*
|
|
13
|
+
* **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/deploy_keys.html#list-all-deploy-keys)
|
|
14
|
+
*
|
|
15
|
+
* ## Example Usage
|
|
16
|
+
*
|
|
17
|
+
* ```typescript
|
|
18
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
19
|
+
* import * as gitlab from "@pulumi/gitlab";
|
|
20
|
+
*
|
|
21
|
+
* // only public deploy keys
|
|
22
|
+
* const example = pulumi.output(gitlab.getInstanceDeployKeys({
|
|
23
|
+
* public: true,
|
|
24
|
+
* }));
|
|
25
|
+
* ```
|
|
26
|
+
*/
|
|
27
|
+
function getInstanceDeployKeys(args, opts) {
|
|
28
|
+
args = args || {};
|
|
29
|
+
if (!opts) {
|
|
30
|
+
opts = {};
|
|
31
|
+
}
|
|
32
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
33
|
+
return pulumi.runtime.invoke("gitlab:index/getInstanceDeployKeys:getInstanceDeployKeys", {
|
|
34
|
+
"public": args.public,
|
|
35
|
+
}, opts);
|
|
36
|
+
}
|
|
37
|
+
exports.getInstanceDeployKeys = getInstanceDeployKeys;
|
|
38
|
+
function getInstanceDeployKeysOutput(args, opts) {
|
|
39
|
+
return pulumi.output(args).apply(a => getInstanceDeployKeys(a, opts));
|
|
40
|
+
}
|
|
41
|
+
exports.getInstanceDeployKeysOutput = getInstanceDeployKeysOutput;
|
|
42
|
+
//# sourceMappingURL=getInstanceDeployKeys.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getInstanceDeployKeys.js","sourceRoot":"","sources":["../getInstanceDeployKeys.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,qBAAqB,CAAC,IAAgC,EAAE,IAA2B;IAC/F,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,0DAA0D,EAAE;QACrF,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,sDAUC;AAqBD,SAAgB,2BAA2B,CAAC,IAAsC,EAAE,IAA2B;IAC3G,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,qBAAqB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACzE,CAAC;AAFD,kEAEC"}
|
package/getProject.d.ts
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import { output as outputs } from "./types";
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* The `gitlab.Project` data source allows details of a project to be retrieved by either its ID or its path with namespace.
|
|
5
|
+
*
|
|
6
|
+
* **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/projects.html#get-single-project)
|
|
5
7
|
*
|
|
6
8
|
* ## Example Usage
|
|
7
9
|
*
|
|
@@ -19,118 +21,65 @@ export declare function getProject(args?: GetProjectArgs, opts?: pulumi.InvokeOp
|
|
|
19
21
|
* A collection of arguments for invoking getProject.
|
|
20
22
|
*/
|
|
21
23
|
export interface GetProjectArgs {
|
|
22
|
-
/**
|
|
23
|
-
* The integer or path with namespace that uniquely identifies the project within the gitlab install.
|
|
24
|
-
*/
|
|
25
24
|
id?: string;
|
|
26
|
-
/**
|
|
27
|
-
* The path of the repository with namespace.
|
|
28
|
-
*/
|
|
29
25
|
pathWithNamespace?: string;
|
|
26
|
+
publicBuilds?: boolean;
|
|
30
27
|
}
|
|
31
28
|
/**
|
|
32
29
|
* A collection of values returned by getProject.
|
|
33
30
|
*/
|
|
34
31
|
export interface GetProjectResult {
|
|
35
|
-
|
|
36
|
-
* Whether the project is in read-only mode (archived).
|
|
37
|
-
*/
|
|
32
|
+
readonly analyticsAccessLevel: string;
|
|
38
33
|
readonly archived: boolean;
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
34
|
+
readonly autoCancelPendingPipelines: string;
|
|
35
|
+
readonly autoDevopsDeployStrategy: string;
|
|
36
|
+
readonly autoDevopsEnabled: boolean;
|
|
37
|
+
readonly autocloseReferencedIssues: boolean;
|
|
38
|
+
readonly buildGitStrategy: string;
|
|
39
|
+
readonly buildTimeout: number;
|
|
40
|
+
readonly buildsAccessLevel: string;
|
|
41
|
+
readonly containerExpirationPolicies: outputs.GetProjectContainerExpirationPolicy[];
|
|
42
|
+
readonly containerRegistryAccessLevel: string;
|
|
42
43
|
readonly defaultBranch: string;
|
|
43
|
-
/**
|
|
44
|
-
* A description of the project.
|
|
45
|
-
*/
|
|
46
44
|
readonly description: string;
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
45
|
+
readonly emailsDisabled: boolean;
|
|
46
|
+
readonly externalAuthorizationClassificationLabel: string;
|
|
47
|
+
readonly forkingAccessLevel: string;
|
|
50
48
|
readonly httpUrlToRepo: string;
|
|
51
|
-
/**
|
|
52
|
-
* The integer or path with namespace that uniquely identifies the project within the gitlab install.
|
|
53
|
-
*/
|
|
54
49
|
readonly id: string;
|
|
55
|
-
|
|
56
|
-
* Enable issue tracking for the project.
|
|
57
|
-
*/
|
|
50
|
+
readonly issuesAccessLevel: string;
|
|
58
51
|
readonly issuesEnabled: boolean;
|
|
59
|
-
/**
|
|
60
|
-
* Enable LFS for the project.
|
|
61
|
-
*/
|
|
62
52
|
readonly lfsEnabled: boolean;
|
|
63
|
-
|
|
64
|
-
* Enable or disable merge pipelines.
|
|
65
|
-
*/
|
|
53
|
+
readonly mergeCommitTemplate: string;
|
|
66
54
|
readonly mergePipelinesEnabled: boolean;
|
|
67
|
-
|
|
68
|
-
* Enable merge requests for the project.
|
|
69
|
-
*/
|
|
55
|
+
readonly mergeRequestsAccessLevel: string;
|
|
70
56
|
readonly mergeRequestsEnabled: boolean;
|
|
71
|
-
/**
|
|
72
|
-
* Enable or disable merge trains.
|
|
73
|
-
*/
|
|
74
57
|
readonly mergeTrainsEnabled: boolean;
|
|
75
|
-
/**
|
|
76
|
-
* The name of the project.
|
|
77
|
-
*/
|
|
78
58
|
readonly name: string;
|
|
79
|
-
/**
|
|
80
|
-
* The namespace (group or user) of the project. Defaults to your user.
|
|
81
|
-
*/
|
|
82
59
|
readonly namespaceId: number;
|
|
83
|
-
|
|
84
|
-
* The path of the repository.
|
|
85
|
-
*/
|
|
60
|
+
readonly operationsAccessLevel: string;
|
|
86
61
|
readonly path: string;
|
|
87
|
-
/**
|
|
88
|
-
* The path of the repository with namespace.
|
|
89
|
-
*/
|
|
90
62
|
readonly pathWithNamespace: string;
|
|
91
|
-
/**
|
|
92
|
-
* Enable pipelines for the project.
|
|
93
|
-
*/
|
|
94
63
|
readonly pipelinesEnabled: boolean;
|
|
95
|
-
/**
|
|
96
|
-
* Show link to create/view merge request when pushing from the command line
|
|
97
|
-
*/
|
|
98
64
|
readonly printingMergeRequestLinkEnabled: boolean;
|
|
99
|
-
|
|
100
|
-
* Push rules for the project.
|
|
101
|
-
*/
|
|
65
|
+
readonly publicBuilds?: boolean;
|
|
102
66
|
readonly pushRules: outputs.GetProjectPushRules;
|
|
103
|
-
/**
|
|
104
|
-
* Enable `Delete source branch` option by default for all new merge requests
|
|
105
|
-
*/
|
|
106
67
|
readonly removeSourceBranchAfterMerge: boolean;
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
*/
|
|
68
|
+
readonly repositoryAccessLevel: string;
|
|
69
|
+
readonly repositoryStorage: string;
|
|
110
70
|
readonly requestAccessEnabled: boolean;
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
*/
|
|
71
|
+
readonly requirementsAccessLevel: string;
|
|
72
|
+
readonly resolveOutdatedDiffDiscussions: boolean;
|
|
114
73
|
readonly runnersToken: string;
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
*/
|
|
74
|
+
readonly securityAndComplianceAccessLevel: string;
|
|
75
|
+
readonly snippetsAccessLevel: string;
|
|
118
76
|
readonly snippetsEnabled: boolean;
|
|
119
|
-
|
|
120
|
-
* URL that can be provided to `git clone` to clone the
|
|
121
|
-
*/
|
|
77
|
+
readonly squashCommitTemplate: string;
|
|
122
78
|
readonly sshUrlToRepo: string;
|
|
123
|
-
|
|
124
|
-
* Repositories are created as private by default.
|
|
125
|
-
*/
|
|
79
|
+
readonly topics: string[];
|
|
126
80
|
readonly visibilityLevel: string;
|
|
127
|
-
/**
|
|
128
|
-
* URL that can be used to find the project in a browser.
|
|
129
|
-
*/
|
|
130
81
|
readonly webUrl: string;
|
|
131
|
-
|
|
132
|
-
* Enable wiki for the project.
|
|
133
|
-
*/
|
|
82
|
+
readonly wikiAccessLevel: string;
|
|
134
83
|
readonly wikiEnabled: boolean;
|
|
135
84
|
}
|
|
136
85
|
export declare function getProjectOutput(args?: GetProjectOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetProjectResult>;
|
|
@@ -138,12 +87,7 @@ export declare function getProjectOutput(args?: GetProjectOutputArgs, opts?: pul
|
|
|
138
87
|
* A collection of arguments for invoking getProject.
|
|
139
88
|
*/
|
|
140
89
|
export interface GetProjectOutputArgs {
|
|
141
|
-
/**
|
|
142
|
-
* The integer or path with namespace that uniquely identifies the project within the gitlab install.
|
|
143
|
-
*/
|
|
144
90
|
id?: pulumi.Input<string>;
|
|
145
|
-
/**
|
|
146
|
-
* The path of the repository with namespace.
|
|
147
|
-
*/
|
|
148
91
|
pathWithNamespace?: pulumi.Input<string>;
|
|
92
|
+
publicBuilds?: pulumi.Input<boolean>;
|
|
149
93
|
}
|
package/getProject.js
CHANGED
|
@@ -6,7 +6,9 @@ exports.getProjectOutput = exports.getProject = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* The `gitlab.Project` data source allows details of a project to be retrieved by either its ID or its path with namespace.
|
|
10
|
+
*
|
|
11
|
+
* **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/projects.html#get-single-project)
|
|
10
12
|
*
|
|
11
13
|
* ## Example Usage
|
|
12
14
|
*
|
|
@@ -28,6 +30,7 @@ function getProject(args, opts) {
|
|
|
28
30
|
return pulumi.runtime.invoke("gitlab:index/getProject:getProject", {
|
|
29
31
|
"id": args.id,
|
|
30
32
|
"pathWithNamespace": args.pathWithNamespace,
|
|
33
|
+
"publicBuilds": args.publicBuilds,
|
|
31
34
|
}, opts);
|
|
32
35
|
}
|
|
33
36
|
exports.getProject = getProject;
|
package/getProject.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getProject.js","sourceRoot":"","sources":["../getProject.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getProject.js","sourceRoot":"","sources":["../getProject.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,UAAU,CAAC,IAAqB,EAAE,IAA2B;IACzE,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,oCAAoC,EAAE;QAC/D,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,mBAAmB,EAAE,IAAI,CAAC,iBAAiB;QAC3C,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,gCAYC;AAqED,SAAgB,gBAAgB,CAAC,IAA2B,EAAE,IAA2B;IACrF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,UAAU,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC9D,CAAC;AAFD,4CAEC"}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { output as outputs } from "./types";
|
|
3
|
+
/**
|
|
4
|
+
* The `gitlab.ProjectIssue` data source allows to retrieve details about an issue in a project.
|
|
5
|
+
*
|
|
6
|
+
* **Upstream API**: [GitLab API docs](https://docs.gitlab.com/ee/api/issues.html)
|
|
7
|
+
*
|
|
8
|
+
* ## Example Usage
|
|
9
|
+
*
|
|
10
|
+
* ```typescript
|
|
11
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
12
|
+
* import * as gitlab from "@pulumi/gitlab";
|
|
13
|
+
*
|
|
14
|
+
* const foo = gitlab.getProject({
|
|
15
|
+
* id: "foo/bar/baz",
|
|
16
|
+
* });
|
|
17
|
+
* const welcomeIssue = foo.then(foo => gitlab.getProjectIssue({
|
|
18
|
+
* project: foo.id,
|
|
19
|
+
* iid: 1,
|
|
20
|
+
* }));
|
|
21
|
+
* export const welcomeIssueWebUrl = data.gitlab_project_issue.web_url;
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
export declare function getProjectIssue(args: GetProjectIssueArgs, opts?: pulumi.InvokeOptions): Promise<GetProjectIssueResult>;
|
|
25
|
+
/**
|
|
26
|
+
* A collection of arguments for invoking getProjectIssue.
|
|
27
|
+
*/
|
|
28
|
+
export interface GetProjectIssueArgs {
|
|
29
|
+
iid: number;
|
|
30
|
+
project: string;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* A collection of values returned by getProjectIssue.
|
|
34
|
+
*/
|
|
35
|
+
export interface GetProjectIssueResult {
|
|
36
|
+
readonly assigneeIds: number[];
|
|
37
|
+
readonly authorId: number;
|
|
38
|
+
readonly closedAt: string;
|
|
39
|
+
readonly closedByUserId: number;
|
|
40
|
+
readonly confidential: boolean;
|
|
41
|
+
readonly createdAt: string;
|
|
42
|
+
readonly description: string;
|
|
43
|
+
readonly discussionLocked: boolean;
|
|
44
|
+
readonly discussionToResolve: string;
|
|
45
|
+
readonly downvotes: number;
|
|
46
|
+
readonly dueDate: string;
|
|
47
|
+
readonly epicId: number;
|
|
48
|
+
readonly epicIssueId: number;
|
|
49
|
+
readonly externalId: string;
|
|
50
|
+
readonly humanTimeEstimate: string;
|
|
51
|
+
readonly humanTotalTimeSpent: string;
|
|
52
|
+
/**
|
|
53
|
+
* The provider-assigned unique ID for this managed resource.
|
|
54
|
+
*/
|
|
55
|
+
readonly id: string;
|
|
56
|
+
readonly iid: number;
|
|
57
|
+
readonly issueId: number;
|
|
58
|
+
readonly issueLinkId: number;
|
|
59
|
+
readonly issueType: string;
|
|
60
|
+
readonly labels: string[];
|
|
61
|
+
readonly links: {
|
|
62
|
+
[key: string]: string;
|
|
63
|
+
};
|
|
64
|
+
readonly mergeRequestToResolveDiscussionsOf: number;
|
|
65
|
+
readonly mergeRequestsCount: number;
|
|
66
|
+
readonly milestoneId: number;
|
|
67
|
+
readonly movedToId: number;
|
|
68
|
+
readonly project: string;
|
|
69
|
+
readonly references: {
|
|
70
|
+
[key: string]: string;
|
|
71
|
+
};
|
|
72
|
+
readonly state: string;
|
|
73
|
+
readonly subscribed: boolean;
|
|
74
|
+
readonly taskCompletionStatuses: outputs.GetProjectIssueTaskCompletionStatus[];
|
|
75
|
+
readonly timeEstimate: number;
|
|
76
|
+
readonly title: string;
|
|
77
|
+
readonly totalTimeSpent: number;
|
|
78
|
+
readonly updatedAt: string;
|
|
79
|
+
readonly upvotes: number;
|
|
80
|
+
readonly userNotesCount: number;
|
|
81
|
+
readonly webUrl: string;
|
|
82
|
+
readonly weight: number;
|
|
83
|
+
}
|
|
84
|
+
export declare function getProjectIssueOutput(args: GetProjectIssueOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetProjectIssueResult>;
|
|
85
|
+
/**
|
|
86
|
+
* A collection of arguments for invoking getProjectIssue.
|
|
87
|
+
*/
|
|
88
|
+
export interface GetProjectIssueOutputArgs {
|
|
89
|
+
iid: pulumi.Input<number>;
|
|
90
|
+
project: pulumi.Input<string>;
|
|
91
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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.getProjectIssueOutput = exports.getProjectIssue = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* The `gitlab.ProjectIssue` data source allows to retrieve details about an issue in a project.
|
|
10
|
+
*
|
|
11
|
+
* **Upstream API**: [GitLab API docs](https://docs.gitlab.com/ee/api/issues.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 foo = gitlab.getProject({
|
|
20
|
+
* id: "foo/bar/baz",
|
|
21
|
+
* });
|
|
22
|
+
* const welcomeIssue = foo.then(foo => gitlab.getProjectIssue({
|
|
23
|
+
* project: foo.id,
|
|
24
|
+
* iid: 1,
|
|
25
|
+
* }));
|
|
26
|
+
* export const welcomeIssueWebUrl = data.gitlab_project_issue.web_url;
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
29
|
+
function getProjectIssue(args, opts) {
|
|
30
|
+
if (!opts) {
|
|
31
|
+
opts = {};
|
|
32
|
+
}
|
|
33
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
34
|
+
return pulumi.runtime.invoke("gitlab:index/getProjectIssue:getProjectIssue", {
|
|
35
|
+
"iid": args.iid,
|
|
36
|
+
"project": args.project,
|
|
37
|
+
}, opts);
|
|
38
|
+
}
|
|
39
|
+
exports.getProjectIssue = getProjectIssue;
|
|
40
|
+
function getProjectIssueOutput(args, opts) {
|
|
41
|
+
return pulumi.output(args).apply(a => getProjectIssue(a, opts));
|
|
42
|
+
}
|
|
43
|
+
exports.getProjectIssueOutput = getProjectIssueOutput;
|
|
44
|
+
//# sourceMappingURL=getProjectIssue.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getProjectIssue.js","sourceRoot":"","sources":["../getProjectIssue.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,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;AA2DD,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"}
|