@pulumi/gitlab 9.12.0-alpha.1782457766 → 10.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (234) hide show
  1. package/README.md +2 -2
  2. package/applicationSettings.d.ts +48 -18
  3. package/applicationSettings.d.ts.map +1 -1
  4. package/applicationSettings.js +8 -2
  5. package/applicationSettings.js.map +1 -1
  6. package/branchProtection.d.ts +48 -52
  7. package/branchProtection.d.ts.map +1 -1
  8. package/branchProtection.js +30 -24
  9. package/branchProtection.js.map +1 -1
  10. package/getGroup.d.ts +114 -2
  11. package/getGroup.d.ts.map +1 -1
  12. package/getGroup.js.map +1 -1
  13. package/getGroupHook.d.ts +40 -6
  14. package/getGroupHook.d.ts.map +1 -1
  15. package/getGroupHook.js.map +1 -1
  16. package/getGroupLabel.d.ts +125 -0
  17. package/getGroupLabel.d.ts.map +1 -0
  18. package/getGroupLabel.js +93 -0
  19. package/getGroupLabel.js.map +1 -0
  20. package/getGroupLabels.d.ts +74 -0
  21. package/getGroupLabels.d.ts.map +1 -0
  22. package/getGroupLabels.js +79 -0
  23. package/getGroupLabels.js.map +1 -0
  24. package/getGroupProtectedBranch.d.ts +82 -0
  25. package/getGroupProtectedBranch.d.ts.map +1 -0
  26. package/getGroupProtectedBranch.js +61 -0
  27. package/getGroupProtectedBranch.js.map +1 -0
  28. package/getGroupProtectedBranches.d.ts +54 -0
  29. package/getGroupProtectedBranches.d.ts.map +1 -0
  30. package/getGroupProtectedBranches.js +59 -0
  31. package/getGroupProtectedBranches.js.map +1 -0
  32. package/getProject.d.ts +355 -57
  33. package/getProject.d.ts.map +1 -1
  34. package/getProject.js +0 -6
  35. package/getProject.js.map +1 -1
  36. package/getProjectHook.d.ts +36 -6
  37. package/getProjectHook.d.ts.map +1 -1
  38. package/getProjectHook.js.map +1 -1
  39. package/getProjectMembership.d.ts +4 -40
  40. package/getProjectMembership.d.ts.map +1 -1
  41. package/getProjectMembership.js +0 -6
  42. package/getProjectMembership.js.map +1 -1
  43. package/getProjectProtectedBranch.d.ts +8 -21
  44. package/getProjectProtectedBranch.d.ts.map +1 -1
  45. package/getProjectProtectedBranch.js +0 -4
  46. package/getProjectProtectedBranch.js.map +1 -1
  47. package/getProjectProtectedBranches.d.ts +1 -10
  48. package/getProjectProtectedBranches.d.ts.map +1 -1
  49. package/getProjectProtectedBranches.js +0 -2
  50. package/getProjectProtectedBranches.js.map +1 -1
  51. package/getProjectServiceAccount.d.ts +97 -0
  52. package/getProjectServiceAccount.d.ts.map +1 -0
  53. package/getProjectServiceAccount.js +89 -0
  54. package/getProjectServiceAccount.js.map +1 -0
  55. package/getProjects.d.ts +22 -10
  56. package/getProjects.d.ts.map +1 -1
  57. package/getProjects.js +2 -0
  58. package/getProjects.js.map +1 -1
  59. package/getSystemHook.d.ts +111 -0
  60. package/getSystemHook.d.ts.map +1 -0
  61. package/getSystemHook.js +81 -0
  62. package/getSystemHook.js.map +1 -0
  63. package/getSystemHooks.d.ts +50 -0
  64. package/getSystemHooks.d.ts.map +1 -0
  65. package/getSystemHooks.js +73 -0
  66. package/getSystemHooks.js.map +1 -0
  67. package/group.d.ts +12 -0
  68. package/group.d.ts.map +1 -1
  69. package/group.js +2 -0
  70. package/group.js.map +1 -1
  71. package/groupAccessToken.d.ts +3 -3
  72. package/groupBranchProtection.d.ts +185 -0
  73. package/groupBranchProtection.d.ts.map +1 -0
  74. package/groupBranchProtection.js +146 -0
  75. package/groupBranchProtection.js.map +1 -0
  76. package/groupCluster.d.ts +1 -1
  77. package/groupCluster.js +1 -1
  78. package/groupDeployToken.d.ts +3 -3
  79. package/groupHook.d.ts +75 -3
  80. package/groupHook.d.ts.map +1 -1
  81. package/groupHook.js +15 -1
  82. package/groupHook.js.map +1 -1
  83. package/{integrationHarbor.d.ts → groupIntegrationHarbor.d.ts} +39 -43
  84. package/groupIntegrationHarbor.d.ts.map +1 -0
  85. package/{integrationHarbor.js → groupIntegrationHarbor.js} +30 -34
  86. package/groupIntegrationHarbor.js.map +1 -0
  87. package/groupSamlLink.d.ts +3 -3
  88. package/groupSavedReply.d.ts +78 -0
  89. package/groupSavedReply.d.ts.map +1 -0
  90. package/{deployToken.js → groupSavedReply.js} +19 -45
  91. package/groupSavedReply.js.map +1 -0
  92. package/groupServiceAccount.d.ts +12 -0
  93. package/groupServiceAccount.d.ts.map +1 -1
  94. package/groupServiceAccount.js +2 -0
  95. package/groupServiceAccount.js.map +1 -1
  96. package/groupServiceAccountAccessToken.d.ts +3 -3
  97. package/index.d.ts +45 -48
  98. package/index.d.ts.map +1 -1
  99. package/index.js +67 -86
  100. package/index.js.map +1 -1
  101. package/instanceCluster.d.ts +1 -1
  102. package/instanceCluster.js +1 -1
  103. package/integrationSlack.d.ts +0 -18
  104. package/integrationSlack.d.ts.map +1 -1
  105. package/integrationSlack.js +0 -2
  106. package/integrationSlack.js.map +1 -1
  107. package/memberRole.d.ts +3 -3
  108. package/package.json +2 -2
  109. package/personalAccessToken.d.ts +3 -3
  110. package/project.d.ts +36 -234
  111. package/project.d.ts.map +1 -1
  112. package/project.js +6 -26
  113. package/project.js.map +1 -1
  114. package/projectAccessToken.d.ts +3 -3
  115. package/projectCluster.d.ts +1 -1
  116. package/projectCluster.js +1 -1
  117. package/projectDeployToken.d.ts +3 -3
  118. package/projectHook.d.ts +103 -0
  119. package/projectHook.d.ts.map +1 -1
  120. package/projectHook.js +30 -1
  121. package/projectHook.js.map +1 -1
  122. package/projectIntegrationDatadog.d.ts +200 -0
  123. package/projectIntegrationDatadog.d.ts.map +1 -0
  124. package/{integrationGithub.js → projectIntegrationDatadog.js} +44 -45
  125. package/projectIntegrationDatadog.js.map +1 -0
  126. package/{integrationMicrosoftTeams.d.ts → projectIntegrationGoogleChat.d.ts} +35 -95
  127. package/projectIntegrationGoogleChat.d.ts.map +1 -0
  128. package/{integrationMicrosoftTeams.js → projectIntegrationGoogleChat.js} +12 -50
  129. package/projectIntegrationGoogleChat.js.map +1 -0
  130. package/projectIntegrationJira.d.ts +12 -12
  131. package/projectJobTokenScopes.d.ts +5 -21
  132. package/projectJobTokenScopes.d.ts.map +1 -1
  133. package/projectJobTokenScopes.js +6 -3
  134. package/projectJobTokenScopes.js.map +1 -1
  135. package/projectLabel.d.ts +12 -0
  136. package/projectLabel.d.ts.map +1 -1
  137. package/projectLabel.js +2 -0
  138. package/projectLabel.js.map +1 -1
  139. package/projectLevelMrApprovals.d.ts +21 -3
  140. package/projectLevelMrApprovals.d.ts.map +1 -1
  141. package/projectLevelMrApprovals.js +2 -0
  142. package/projectLevelMrApprovals.js.map +1 -1
  143. package/projectMergeRequestNote.d.ts +3 -3
  144. package/projectProtectedEnvironment.d.ts +4 -22
  145. package/projectProtectedEnvironment.d.ts.map +1 -1
  146. package/projectProtectedEnvironment.js +1 -3
  147. package/projectProtectedEnvironment.js.map +1 -1
  148. package/projectPushMirror.d.ts +12 -0
  149. package/projectPushMirror.d.ts.map +1 -1
  150. package/projectPushMirror.js +2 -0
  151. package/projectPushMirror.js.map +1 -1
  152. package/projectSavedReply.d.ts +78 -0
  153. package/projectSavedReply.d.ts.map +1 -0
  154. package/{label.js → projectSavedReply.js} +16 -24
  155. package/projectSavedReply.js.map +1 -0
  156. package/projectServiceAccount.d.ts +152 -0
  157. package/projectServiceAccount.d.ts.map +1 -0
  158. package/{integrationPipelinesEmail.js → projectServiceAccount.js} +42 -35
  159. package/projectServiceAccount.js.map +1 -0
  160. package/projectShareGroup.d.ts +2 -20
  161. package/projectShareGroup.d.ts.map +1 -1
  162. package/projectShareGroup.js +3 -2
  163. package/projectShareGroup.js.map +1 -1
  164. package/projectTargetBranchRule.d.ts +1 -1
  165. package/projectTargetBranchRule.js +1 -1
  166. package/systemHook.d.ts +50 -6
  167. package/systemHook.d.ts.map +1 -1
  168. package/systemHook.js +9 -1
  169. package/systemHook.js.map +1 -1
  170. package/types/input.d.ts +95 -249
  171. package/types/input.d.ts.map +1 -1
  172. package/types/output.d.ts +1168 -168
  173. package/types/output.d.ts.map +1 -1
  174. package/userImpersonationToken.d.ts +3 -3
  175. package/userSavedReply.d.ts +66 -0
  176. package/userSavedReply.d.ts.map +1 -0
  177. package/userSavedReply.js +82 -0
  178. package/userSavedReply.js.map +1 -0
  179. package/deployToken.d.ts +0 -147
  180. package/deployToken.d.ts.map +0 -1
  181. package/deployToken.js.map +0 -1
  182. package/integrationCustomIssueTracker.d.ts +0 -142
  183. package/integrationCustomIssueTracker.d.ts.map +0 -1
  184. package/integrationCustomIssueTracker.js +0 -130
  185. package/integrationCustomIssueTracker.js.map +0 -1
  186. package/integrationEmailsOnPush.d.ts +0 -198
  187. package/integrationEmailsOnPush.d.ts.map +0 -1
  188. package/integrationEmailsOnPush.js +0 -137
  189. package/integrationEmailsOnPush.js.map +0 -1
  190. package/integrationExternalWiki.d.ts +0 -137
  191. package/integrationExternalWiki.d.ts.map +0 -1
  192. package/integrationExternalWiki.js +0 -126
  193. package/integrationExternalWiki.js.map +0 -1
  194. package/integrationGithub.d.ts +0 -156
  195. package/integrationGithub.d.ts.map +0 -1
  196. package/integrationGithub.js.map +0 -1
  197. package/integrationHarbor.d.ts.map +0 -1
  198. package/integrationHarbor.js.map +0 -1
  199. package/integrationJenkins.d.ts +0 -190
  200. package/integrationJenkins.d.ts.map +0 -1
  201. package/integrationJenkins.js +0 -138
  202. package/integrationJenkins.js.map +0 -1
  203. package/integrationJira.d.ts +0 -299
  204. package/integrationJira.d.ts.map +0 -1
  205. package/integrationJira.js +0 -159
  206. package/integrationJira.js.map +0 -1
  207. package/integrationMattermost.d.ts +0 -352
  208. package/integrationMattermost.d.ts.map +0 -1
  209. package/integrationMattermost.js +0 -163
  210. package/integrationMattermost.js.map +0 -1
  211. package/integrationMicrosoftTeams.d.ts.map +0 -1
  212. package/integrationMicrosoftTeams.js.map +0 -1
  213. package/integrationPipelinesEmail.d.ts +0 -123
  214. package/integrationPipelinesEmail.d.ts.map +0 -1
  215. package/integrationPipelinesEmail.js.map +0 -1
  216. package/integrationRedmine.d.ts +0 -136
  217. package/integrationRedmine.d.ts.map +0 -1
  218. package/integrationRedmine.js +0 -131
  219. package/integrationRedmine.js.map +0 -1
  220. package/integrationTelegram.d.ts +0 -253
  221. package/integrationTelegram.d.ts.map +0 -1
  222. package/integrationTelegram.js +0 -184
  223. package/integrationTelegram.js.map +0 -1
  224. package/label.d.ts +0 -108
  225. package/label.d.ts.map +0 -1
  226. package/label.js.map +0 -1
  227. package/projectMirror.d.ts +0 -166
  228. package/projectMirror.d.ts.map +0 -1
  229. package/projectMirror.js +0 -131
  230. package/projectMirror.js.map +0 -1
  231. package/runner.d.ts +0 -188
  232. package/runner.d.ts.map +0 -1
  233. package/runner.js +0 -122
  234. package/runner.js.map +0 -1
@@ -0,0 +1,79 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
17
+ }) : function(o, v) {
18
+ o["default"] = v;
19
+ });
20
+ var __importStar = (this && this.__importStar) || function (mod) {
21
+ if (mod && mod.__esModule) return mod;
22
+ var result = {};
23
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
+ __setModuleDefault(result, mod);
25
+ return result;
26
+ };
27
+ Object.defineProperty(exports, "__esModule", { value: true });
28
+ exports.getGroupLabelsOutput = exports.getGroupLabels = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("./utilities"));
31
+ /**
32
+ * The `gitlab.getGroupLabels` data source retrieves a list of labels for a group.
33
+ *
34
+ * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/group_labels/)
35
+ *
36
+ * ## Example Usage
37
+ *
38
+ * ```typescript
39
+ * import * as pulumi from "@pulumi/pulumi";
40
+ * import * as gitlab from "@pulumi/gitlab";
41
+ *
42
+ * // Retrieve all labels for a group
43
+ * const example = gitlab.getGroupLabels({
44
+ * group: "my-group",
45
+ * });
46
+ * ```
47
+ */
48
+ function getGroupLabels(args, opts) {
49
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
50
+ return pulumi.runtime.invoke("gitlab:index/getGroupLabels:getGroupLabels", {
51
+ "group": args.group,
52
+ }, opts);
53
+ }
54
+ exports.getGroupLabels = getGroupLabels;
55
+ /**
56
+ * The `gitlab.getGroupLabels` data source retrieves a list of labels for a group.
57
+ *
58
+ * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/group_labels/)
59
+ *
60
+ * ## Example Usage
61
+ *
62
+ * ```typescript
63
+ * import * as pulumi from "@pulumi/pulumi";
64
+ * import * as gitlab from "@pulumi/gitlab";
65
+ *
66
+ * // Retrieve all labels for a group
67
+ * const example = gitlab.getGroupLabels({
68
+ * group: "my-group",
69
+ * });
70
+ * ```
71
+ */
72
+ function getGroupLabelsOutput(args, opts) {
73
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
74
+ return pulumi.runtime.invokeOutput("gitlab:index/getGroupLabels:getGroupLabels", {
75
+ "group": args.group,
76
+ }, opts);
77
+ }
78
+ exports.getGroupLabelsOutput = getGroupLabelsOutput;
79
+ //# sourceMappingURL=getGroupLabels.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getGroupLabels.js","sourceRoot":"","sources":["../getGroupLabels.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAChF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4CAA4C,EAAE;QACvE,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,wCAKC;AA6BD;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAAiC;IAClG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,4CAA4C,EAAE;QAC7E,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,oDAKC"}
@@ -0,0 +1,82 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "./types/output";
3
+ /**
4
+ * The `gitlab.getGroupProtectedBranch` data source allows details of a group-level protected branch to be retrieved by its name and the group it belongs to.
5
+ *
6
+ * > This data source requires a GitLab Premium or Ultimate instance.
7
+ *
8
+ * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/group_protected_branches/#get-a-single-protected-branch-or-wildcard-protected-branch)
9
+ */
10
+ export declare function getGroupProtectedBranch(args: GetGroupProtectedBranchArgs, opts?: pulumi.InvokeOptions): Promise<GetGroupProtectedBranchResult>;
11
+ /**
12
+ * A collection of arguments for invoking getGroupProtectedBranch.
13
+ */
14
+ export interface GetGroupProtectedBranchArgs {
15
+ /**
16
+ * The integer or URL-encoded path of the group.
17
+ */
18
+ group: string;
19
+ /**
20
+ * The name of the protected branch.
21
+ */
22
+ name: string;
23
+ }
24
+ /**
25
+ * A collection of values returned by getGroupProtectedBranch.
26
+ */
27
+ export interface GetGroupProtectedBranchResult {
28
+ /**
29
+ * Whether force push is allowed.
30
+ */
31
+ readonly allowForcePush: boolean;
32
+ /**
33
+ * Reject code pushes that change files listed in the CODEOWNERS file.
34
+ */
35
+ readonly codeOwnerApprovalRequired: boolean;
36
+ /**
37
+ * The integer or URL-encoded path of the group.
38
+ */
39
+ readonly group: string;
40
+ /**
41
+ * The ID of this resource.
42
+ */
43
+ readonly id: number;
44
+ /**
45
+ * Array of merge access levels/users/groups allowed for the protected branch.
46
+ */
47
+ readonly mergeAccessLevels: outputs.GetGroupProtectedBranchMergeAccessLevel[];
48
+ /**
49
+ * The name of the protected branch.
50
+ */
51
+ readonly name: string;
52
+ /**
53
+ * Array of push access levels/users/groups/deploy keys allowed for the protected branch.
54
+ */
55
+ readonly pushAccessLevels: outputs.GetGroupProtectedBranchPushAccessLevel[];
56
+ /**
57
+ * Array of unprotect access levels/users/groups allowed for the protected branch.
58
+ */
59
+ readonly unprotectAccessLevels: outputs.GetGroupProtectedBranchUnprotectAccessLevel[];
60
+ }
61
+ /**
62
+ * The `gitlab.getGroupProtectedBranch` data source allows details of a group-level protected branch to be retrieved by its name and the group it belongs to.
63
+ *
64
+ * > This data source requires a GitLab Premium or Ultimate instance.
65
+ *
66
+ * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/group_protected_branches/#get-a-single-protected-branch-or-wildcard-protected-branch)
67
+ */
68
+ export declare function getGroupProtectedBranchOutput(args: GetGroupProtectedBranchOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetGroupProtectedBranchResult>;
69
+ /**
70
+ * A collection of arguments for invoking getGroupProtectedBranch.
71
+ */
72
+ export interface GetGroupProtectedBranchOutputArgs {
73
+ /**
74
+ * The integer or URL-encoded path of the group.
75
+ */
76
+ group: pulumi.Input<string>;
77
+ /**
78
+ * The name of the protected branch.
79
+ */
80
+ name: pulumi.Input<string>;
81
+ }
82
+ //# sourceMappingURL=getGroupProtectedBranch.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getGroupProtectedBranch.d.ts","sourceRoot":"","sources":["../getGroupProtectedBranch.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;GAMG;AACH,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,2BAA2B,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,6BAA6B,CAAC,CAM9I;AAED;;GAEG;AACH,MAAM,WAAW,2BAA2B;IACxC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;CAChB;AAED;;GAEG;AACH,MAAM,WAAW,6BAA6B;IAC1C;;OAEG;IACH,QAAQ,CAAC,cAAc,EAAE,OAAO,CAAC;IACjC;;OAEG;IACH,QAAQ,CAAC,yBAAyB,EAAE,OAAO,CAAC;IAC5C;;OAEG;IACH,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,iBAAiB,EAAE,OAAO,CAAC,uCAAuC,EAAE,CAAC;IAC9E;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,QAAQ,CAAC,gBAAgB,EAAE,OAAO,CAAC,sCAAsC,EAAE,CAAC;IAC5E;;OAEG;IACH,QAAQ,CAAC,qBAAqB,EAAE,OAAO,CAAC,2CAA2C,EAAE,CAAC;CACzF;AACD;;;;;;GAMG;AACH,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,iCAAiC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,6BAA6B,CAAC,CAMtK;AAED;;GAEG;AACH,MAAM,WAAW,iCAAiC;IAC9C;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC5B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAC9B"}
@@ -0,0 +1,61 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
17
+ }) : function(o, v) {
18
+ o["default"] = v;
19
+ });
20
+ var __importStar = (this && this.__importStar) || function (mod) {
21
+ if (mod && mod.__esModule) return mod;
22
+ var result = {};
23
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
+ __setModuleDefault(result, mod);
25
+ return result;
26
+ };
27
+ Object.defineProperty(exports, "__esModule", { value: true });
28
+ exports.getGroupProtectedBranchOutput = exports.getGroupProtectedBranch = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("./utilities"));
31
+ /**
32
+ * The `gitlab.getGroupProtectedBranch` data source allows details of a group-level protected branch to be retrieved by its name and the group it belongs to.
33
+ *
34
+ * > This data source requires a GitLab Premium or Ultimate instance.
35
+ *
36
+ * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/group_protected_branches/#get-a-single-protected-branch-or-wildcard-protected-branch)
37
+ */
38
+ function getGroupProtectedBranch(args, opts) {
39
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
40
+ return pulumi.runtime.invoke("gitlab:index/getGroupProtectedBranch:getGroupProtectedBranch", {
41
+ "group": args.group,
42
+ "name": args.name,
43
+ }, opts);
44
+ }
45
+ exports.getGroupProtectedBranch = getGroupProtectedBranch;
46
+ /**
47
+ * The `gitlab.getGroupProtectedBranch` data source allows details of a group-level protected branch to be retrieved by its name and the group it belongs to.
48
+ *
49
+ * > This data source requires a GitLab Premium or Ultimate instance.
50
+ *
51
+ * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/group_protected_branches/#get-a-single-protected-branch-or-wildcard-protected-branch)
52
+ */
53
+ function getGroupProtectedBranchOutput(args, opts) {
54
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
55
+ return pulumi.runtime.invokeOutput("gitlab:index/getGroupProtectedBranch:getGroupProtectedBranch", {
56
+ "group": args.group,
57
+ "name": args.name,
58
+ }, opts);
59
+ }
60
+ exports.getGroupProtectedBranchOutput = getGroupProtectedBranchOutput;
61
+ //# sourceMappingURL=getGroupProtectedBranch.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getGroupProtectedBranch.js","sourceRoot":"","sources":["../getGroupProtectedBranch.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;GAMG;AACH,SAAgB,uBAAuB,CAAC,IAAiC,EAAE,IAA2B;IAClG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8DAA8D,EAAE;QACzF,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,0DAMC;AAqDD;;;;;;GAMG;AACH,SAAgB,6BAA6B,CAAC,IAAuC,EAAE,IAAiC;IACpH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,8DAA8D,EAAE;QAC/F,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,sEAMC"}
@@ -0,0 +1,54 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "./types/output";
3
+ /**
4
+ * The `gitlab.getGroupProtectedBranches` data source allows details of the group-level protected branches of a given group.
5
+ *
6
+ * > This data source requires a GitLab Premium or Ultimate instance.
7
+ *
8
+ * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/group_protected_branches/#list-protected-branches)
9
+ */
10
+ export declare function getGroupProtectedBranches(args: GetGroupProtectedBranchesArgs, opts?: pulumi.InvokeOptions): Promise<GetGroupProtectedBranchesResult>;
11
+ /**
12
+ * A collection of arguments for invoking getGroupProtectedBranches.
13
+ */
14
+ export interface GetGroupProtectedBranchesArgs {
15
+ /**
16
+ * The integer or URL-encoded path of the group.
17
+ */
18
+ group: string;
19
+ }
20
+ /**
21
+ * A collection of values returned by getGroupProtectedBranches.
22
+ */
23
+ export interface GetGroupProtectedBranchesResult {
24
+ /**
25
+ * The integer or URL-encoded path of the group.
26
+ */
27
+ readonly group: string;
28
+ /**
29
+ * The ID of this Terraform resource. Equal to the `group` argument.
30
+ */
31
+ readonly id: string;
32
+ /**
33
+ * A list of group-level protected branches, as defined below.
34
+ */
35
+ readonly protectedBranches: outputs.GetGroupProtectedBranchesProtectedBranch[];
36
+ }
37
+ /**
38
+ * The `gitlab.getGroupProtectedBranches` data source allows details of the group-level protected branches of a given group.
39
+ *
40
+ * > This data source requires a GitLab Premium or Ultimate instance.
41
+ *
42
+ * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/group_protected_branches/#list-protected-branches)
43
+ */
44
+ export declare function getGroupProtectedBranchesOutput(args: GetGroupProtectedBranchesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetGroupProtectedBranchesResult>;
45
+ /**
46
+ * A collection of arguments for invoking getGroupProtectedBranches.
47
+ */
48
+ export interface GetGroupProtectedBranchesOutputArgs {
49
+ /**
50
+ * The integer or URL-encoded path of the group.
51
+ */
52
+ group: pulumi.Input<string>;
53
+ }
54
+ //# sourceMappingURL=getGroupProtectedBranches.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getGroupProtectedBranches.d.ts","sourceRoot":"","sources":["../getGroupProtectedBranches.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;GAMG;AACH,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,6BAA6B,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,+BAA+B,CAAC,CAKpJ;AAED;;GAEG;AACH,MAAM,WAAW,6BAA6B;IAC1C;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,+BAA+B;IAC5C;;OAEG;IACH,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,iBAAiB,EAAE,OAAO,CAAC,wCAAwC,EAAE,CAAC;CAClF;AACD;;;;;;GAMG;AACH,wBAAgB,+BAA+B,CAAC,IAAI,EAAE,mCAAmC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,+BAA+B,CAAC,CAK5K;AAED;;GAEG;AACH,MAAM,WAAW,mCAAmC;IAChD;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAC/B"}
@@ -0,0 +1,59 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
17
+ }) : function(o, v) {
18
+ o["default"] = v;
19
+ });
20
+ var __importStar = (this && this.__importStar) || function (mod) {
21
+ if (mod && mod.__esModule) return mod;
22
+ var result = {};
23
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
+ __setModuleDefault(result, mod);
25
+ return result;
26
+ };
27
+ Object.defineProperty(exports, "__esModule", { value: true });
28
+ exports.getGroupProtectedBranchesOutput = exports.getGroupProtectedBranches = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("./utilities"));
31
+ /**
32
+ * The `gitlab.getGroupProtectedBranches` data source allows details of the group-level protected branches of a given group.
33
+ *
34
+ * > This data source requires a GitLab Premium or Ultimate instance.
35
+ *
36
+ * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/group_protected_branches/#list-protected-branches)
37
+ */
38
+ function getGroupProtectedBranches(args, opts) {
39
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
40
+ return pulumi.runtime.invoke("gitlab:index/getGroupProtectedBranches:getGroupProtectedBranches", {
41
+ "group": args.group,
42
+ }, opts);
43
+ }
44
+ exports.getGroupProtectedBranches = getGroupProtectedBranches;
45
+ /**
46
+ * The `gitlab.getGroupProtectedBranches` data source allows details of the group-level protected branches of a given group.
47
+ *
48
+ * > This data source requires a GitLab Premium or Ultimate instance.
49
+ *
50
+ * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/group_protected_branches/#list-protected-branches)
51
+ */
52
+ function getGroupProtectedBranchesOutput(args, opts) {
53
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
54
+ return pulumi.runtime.invokeOutput("gitlab:index/getGroupProtectedBranches:getGroupProtectedBranches", {
55
+ "group": args.group,
56
+ }, opts);
57
+ }
58
+ exports.getGroupProtectedBranchesOutput = getGroupProtectedBranchesOutput;
59
+ //# sourceMappingURL=getGroupProtectedBranches.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getGroupProtectedBranches.js","sourceRoot":"","sources":["../getGroupProtectedBranches.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;GAMG;AACH,SAAgB,yBAAyB,CAAC,IAAmC,EAAE,IAA2B;IACtG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kEAAkE,EAAE;QAC7F,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,8DAKC;AA6BD;;;;;;GAMG;AACH,SAAgB,+BAA+B,CAAC,IAAyC,EAAE,IAAiC;IACxH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,kEAAkE,EAAE;QACnG,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,0EAKC"}