@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.
Files changed (201) hide show
  1. package/branch.d.ts +3 -1
  2. package/branch.js +3 -1
  3. package/branch.js.map +1 -1
  4. package/branchProtection.d.ts +42 -6
  5. package/branchProtection.js +18 -8
  6. package/branchProtection.js.map +1 -1
  7. package/deployKey.d.ts +11 -4
  8. package/deployKey.js +5 -1
  9. package/deployKey.js.map +1 -1
  10. package/deployKeyEnable.d.ts +2 -2
  11. package/deployKeyEnable.js +2 -2
  12. package/deployToken.d.ts +24 -6
  13. package/deployToken.js +17 -1
  14. package/deployToken.js.map +1 -1
  15. package/getBranch.d.ts +3 -43
  16. package/getBranch.js +3 -1
  17. package/getBranch.js.map +1 -1
  18. package/getGroup.d.ts +3 -53
  19. package/getGroup.js +2 -2
  20. package/getGroup.js.map +1 -1
  21. package/getGroupMembership.d.ts +2 -32
  22. package/getGroupMembership.js +2 -2
  23. package/getGroupMembership.js.map +1 -1
  24. package/getInstanceDeployKeys.d.ts +46 -0
  25. package/getInstanceDeployKeys.js +42 -0
  26. package/getInstanceDeployKeys.js.map +1 -0
  27. package/getProject.d.ts +32 -88
  28. package/getProject.js +4 -1
  29. package/getProject.js.map +1 -1
  30. package/getProjectIssue.d.ts +91 -0
  31. package/getProjectIssue.js +44 -0
  32. package/getProjectIssue.js.map +1 -0
  33. package/getProjectIssues.d.ts +122 -0
  34. package/getProjectIssues.js +67 -0
  35. package/getProjectIssues.js.map +1 -0
  36. package/getProjectProtectedBranch.d.ts +3 -34
  37. package/getProjectProtectedBranch.js +3 -1
  38. package/getProjectProtectedBranch.js.map +1 -1
  39. package/getProjectProtectedBranches.d.ts +3 -13
  40. package/getProjectProtectedBranches.js +3 -1
  41. package/getProjectProtectedBranches.js.map +1 -1
  42. package/getProjectTag.d.ts +52 -0
  43. package/getProjectTag.js +41 -0
  44. package/getProjectTag.js.map +1 -0
  45. package/getProjectTags.d.ts +53 -0
  46. package/getProjectTags.js +42 -0
  47. package/getProjectTags.js.map +1 -0
  48. package/getProjects.d.ts +5 -195
  49. package/getProjects.js +5 -3
  50. package/getProjects.js.map +1 -1
  51. package/getRepositoryFile.d.ts +57 -0
  52. package/getRepositoryFile.js +42 -0
  53. package/getRepositoryFile.js.map +1 -0
  54. package/getUser.d.ts +4 -101
  55. package/getUser.js +4 -2
  56. package/getUser.js.map +1 -1
  57. package/getUsers.d.ts +6 -86
  58. package/getUsers.js +6 -2
  59. package/getUsers.js.map +1 -1
  60. package/group.d.ts +53 -38
  61. package/group.js +7 -2
  62. package/group.js.map +1 -1
  63. package/groupAccessToken.d.ts +15 -6
  64. package/groupAccessToken.js +5 -1
  65. package/groupAccessToken.js.map +1 -1
  66. package/groupBadge.d.ts +7 -7
  67. package/groupBadge.js +3 -3
  68. package/groupCluster.d.ts +8 -6
  69. package/groupCluster.js +5 -3
  70. package/groupCluster.js.map +1 -1
  71. package/groupCustomAttribute.d.ts +3 -1
  72. package/groupCustomAttribute.js +3 -1
  73. package/groupCustomAttribute.js.map +1 -1
  74. package/groupLabel.d.ts +9 -6
  75. package/groupLabel.js +3 -3
  76. package/groupLabel.js.map +1 -1
  77. package/groupLdapLink.d.ts +15 -7
  78. package/groupLdapLink.js +3 -1
  79. package/groupLdapLink.js.map +1 -1
  80. package/groupMembership.d.ts +11 -4
  81. package/groupMembership.js +5 -1
  82. package/groupMembership.js.map +1 -1
  83. package/groupShareGroup.d.ts +9 -4
  84. package/groupShareGroup.js +3 -1
  85. package/groupShareGroup.js.map +1 -1
  86. package/groupVariable.d.ts +27 -15
  87. package/groupVariable.js +3 -3
  88. package/groupVariable.js.map +1 -1
  89. package/index.d.ts +11 -0
  90. package/index.js +31 -0
  91. package/index.js.map +1 -1
  92. package/instanceCluster.d.ts +8 -6
  93. package/instanceCluster.js +5 -3
  94. package/instanceCluster.js.map +1 -1
  95. package/instanceVariable.d.ts +18 -12
  96. package/instanceVariable.js +3 -3
  97. package/instanceVariable.js.map +1 -1
  98. package/label.d.ts +17 -6
  99. package/label.js +11 -3
  100. package/label.js.map +1 -1
  101. package/managedLicense.d.ts +14 -7
  102. package/managedLicense.js +5 -4
  103. package/managedLicense.js.map +1 -1
  104. package/package.json +2 -2
  105. package/package.json.dev +2 -2
  106. package/pipelineSchedule.d.ts +3 -3
  107. package/pipelineSchedule.js +3 -3
  108. package/pipelineScheduleVariable.d.ts +3 -1
  109. package/pipelineScheduleVariable.js +3 -1
  110. package/pipelineScheduleVariable.js.map +1 -1
  111. package/pipelineTrigger.d.ts +3 -1
  112. package/pipelineTrigger.js +3 -1
  113. package/pipelineTrigger.js.map +1 -1
  114. package/project.d.ts +372 -26
  115. package/project.js +59 -1
  116. package/project.js.map +1 -1
  117. package/projectAccessToken.d.ts +20 -8
  118. package/projectAccessToken.js +13 -1
  119. package/projectAccessToken.js.map +1 -1
  120. package/projectApprovalRule.d.ts +19 -2
  121. package/projectApprovalRule.js +6 -2
  122. package/projectApprovalRule.js.map +1 -1
  123. package/projectBadge.d.ts +7 -7
  124. package/projectBadge.js +3 -3
  125. package/projectCluster.d.ts +8 -6
  126. package/projectCluster.js +5 -3
  127. package/projectCluster.js.map +1 -1
  128. package/projectCustomAttribute.d.ts +3 -1
  129. package/projectCustomAttribute.js +3 -1
  130. package/projectCustomAttribute.js.map +1 -1
  131. package/projectEnvironment.d.ts +147 -0
  132. package/projectEnvironment.js +95 -0
  133. package/projectEnvironment.js.map +1 -0
  134. package/projectFreezePeriod.d.ts +3 -1
  135. package/projectFreezePeriod.js +3 -1
  136. package/projectFreezePeriod.js.map +1 -1
  137. package/projectHook.d.ts +16 -6
  138. package/projectHook.js +13 -3
  139. package/projectHook.js.map +1 -1
  140. package/projectIssue.d.ts +526 -0
  141. package/projectIssue.js +163 -0
  142. package/projectIssue.js.map +1 -0
  143. package/projectLevelMrApprovals.d.ts +11 -5
  144. package/projectLevelMrApprovals.js +5 -2
  145. package/projectLevelMrApprovals.js.map +1 -1
  146. package/projectMembership.d.ts +11 -4
  147. package/projectMembership.js +5 -1
  148. package/projectMembership.js.map +1 -1
  149. package/projectMirror.d.ts +4 -5
  150. package/projectMirror.js +4 -5
  151. package/projectMirror.js.map +1 -1
  152. package/projectProtectedEnvironment.d.ts +127 -0
  153. package/projectProtectedEnvironment.js +116 -0
  154. package/projectProtectedEnvironment.js.map +1 -0
  155. package/projectShareGroup.d.ts +15 -7
  156. package/projectShareGroup.js +3 -1
  157. package/projectShareGroup.js.map +1 -1
  158. package/projectTag.d.ts +149 -0
  159. package/projectTag.js +101 -0
  160. package/projectTag.js.map +1 -0
  161. package/projectVariable.d.ts +16 -16
  162. package/projectVariable.js +4 -7
  163. package/projectVariable.js.map +1 -1
  164. package/repositoryFile.d.ts +67 -8
  165. package/repositoryFile.js +14 -0
  166. package/repositoryFile.js.map +1 -1
  167. package/serviceGithub.d.ts +10 -5
  168. package/serviceGithub.js +4 -2
  169. package/serviceGithub.js.map +1 -1
  170. package/serviceJira.d.ts +15 -7
  171. package/serviceJira.js +3 -1
  172. package/serviceJira.js.map +1 -1
  173. package/serviceMicrosoftTeams.d.ts +9 -4
  174. package/serviceMicrosoftTeams.js +3 -1
  175. package/serviceMicrosoftTeams.js.map +1 -1
  176. package/servicePipelinesEmail.d.ts +9 -4
  177. package/servicePipelinesEmail.js +3 -1
  178. package/servicePipelinesEmail.js.map +1 -1
  179. package/serviceSlack.d.ts +13 -9
  180. package/serviceSlack.js +3 -1
  181. package/serviceSlack.js.map +1 -1
  182. package/systemHook.d.ts +165 -0
  183. package/systemHook.js +100 -0
  184. package/systemHook.js.map +1 -0
  185. package/tagProtection.d.ts +3 -1
  186. package/tagProtection.js +3 -1
  187. package/tagProtection.js.map +1 -1
  188. package/topic.d.ts +57 -25
  189. package/topic.js +10 -16
  190. package/topic.js.map +1 -1
  191. package/types/input.d.ts +42 -60
  192. package/types/output.d.ts +197 -102
  193. package/user.d.ts +18 -12
  194. package/user.js +6 -3
  195. package/user.js.map +1 -1
  196. package/userCustomAttribute.d.ts +3 -1
  197. package/userCustomAttribute.js +3 -1
  198. package/userCustomAttribute.js.map +1 -1
  199. package/userSshKey.d.ts +7 -4
  200. package/userSshKey.js +1 -1
  201. 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
- * Provide details about a specific group in the gitlab provider.
3
+ * The `gitlab.Group` data source allows details of a group to be retrieved by its id or full path.
4
4
  *
5
- * > **Note**: exactly one of groupId or fullPath must be provided.
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
- * Provide details about a specific group in the gitlab provider.
9
+ * The `gitlab.Group` data source allows details of a group to be retrieved by its id or full path.
10
10
  *
11
- * > **Note**: exactly one of groupId or fullPath must be provided.
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,I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AE,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"}
@@ -1,9 +1,9 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  import { output as outputs } from "./types";
3
3
  /**
4
- * Provide details about a list of group members in the gitlab provider. The results include id, username, name and more about the requested members.
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
- * > **Note**: exactly one of groupId or fullPath must be provided.
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
  }
@@ -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
- * Provide details about a list of group members in the gitlab provider. The results include id, username, name and more about the requested members.
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
- * > **Note**: exactly one of groupId or fullPath must be provided.
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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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
- * Provide details about a specific project in the gitlab provider. The results include the name of the project, path, description, default branch, etc.
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
- * The default branch for the project.
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
- * URL that can be provided to `git clone` to clone the
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
- * Allow users to request member access.
109
- */
68
+ readonly repositoryAccessLevel: string;
69
+ readonly repositoryStorage: string;
110
70
  readonly requestAccessEnabled: boolean;
111
- /**
112
- * Registration token to use during runner setup.
113
- */
71
+ readonly requirementsAccessLevel: string;
72
+ readonly resolveOutdatedDiffDiscussions: boolean;
114
73
  readonly runnersToken: string;
115
- /**
116
- * Enable snippets for the project.
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
- * Provide details about a specific project in the gitlab provider. The results include the name of the project, path, description, default branch, etc.
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;;;;;;;;;;;;;GAaG;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;KAC9C,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,gCAWC;AA0HD,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"}
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"}