@pulumi/gitlab 9.6.0 → 9.8.0-alpha.1766469107

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 (97) hide show
  1. package/getArtifactFile.d.ts +2 -2
  2. package/getArtifactFile.js +2 -2
  3. package/getGroupBillableMemberMemberships.d.ts +2 -2
  4. package/getGroupBillableMemberMemberships.js +2 -2
  5. package/getGroupMembership.d.ts +2 -2
  6. package/getGroupMembership.js +2 -2
  7. package/getGroupServiceAccount.d.ts +2 -2
  8. package/getGroupServiceAccount.js +2 -2
  9. package/getGroupServiceAccountAccessTokens.d.ts +66 -0
  10. package/getGroupServiceAccountAccessTokens.js +42 -0
  11. package/getGroupServiceAccountAccessTokens.js.map +1 -0
  12. package/getGroupVariable.d.ts +1 -1
  13. package/getInstanceServiceAccount.d.ts +2 -2
  14. package/getInstanceServiceAccount.js +2 -2
  15. package/getProject.d.ts +4 -0
  16. package/getProject.js.map +1 -1
  17. package/getProjectIssueLabelEvents.d.ts +94 -0
  18. package/getProjectIssueLabelEvents.js +60 -0
  19. package/getProjectIssueLabelEvents.js.map +1 -0
  20. package/getProjectMembership.d.ts +2 -2
  21. package/getProjectMembership.js +2 -2
  22. package/getProjectProtectedTag.d.ts +2 -2
  23. package/getProjectProtectedTag.js +2 -2
  24. package/getProjectSecureFile.d.ts +125 -0
  25. package/getProjectSecureFile.js +68 -0
  26. package/getProjectSecureFile.js.map +1 -0
  27. package/getProjects.d.ts +3 -3
  28. package/getReleaseLink.d.ts +5 -5
  29. package/getReleaseLinks.d.ts +3 -3
  30. package/getSecurityPolicyDocument.d.ts +112 -0
  31. package/getSecurityPolicyDocument.js +96 -0
  32. package/getSecurityPolicyDocument.js.map +1 -0
  33. package/globalLevelNotifications.d.ts +1 -1
  34. package/globalLevelNotifications.js +1 -1
  35. package/groupAccessToken.d.ts +2 -2
  36. package/groupAccessToken.js +2 -2
  37. package/groupLabel.d.ts +3 -3
  38. package/groupMembership.d.ts +1 -1
  39. package/groupMembership.js +1 -1
  40. package/groupServiceAccount.d.ts +1 -1
  41. package/groupServiceAccount.js +1 -1
  42. package/groupServiceAccountAccessToken.d.ts +1 -1
  43. package/groupServiceAccountAccessToken.js +1 -1
  44. package/groupShareGroup.d.ts +1 -1
  45. package/groupShareGroup.js +1 -1
  46. package/index.d.ts +15 -0
  47. package/index.js +23 -5
  48. package/index.js.map +1 -1
  49. package/instanceServiceAccount.d.ts +1 -1
  50. package/instanceServiceAccount.js +1 -1
  51. package/instanceVariable.d.ts +8 -8
  52. package/label.d.ts +3 -3
  53. package/memberRole.d.ts +4 -4
  54. package/memberRole.js +1 -1
  55. package/package.json +2 -2
  56. package/pagesDomain.d.ts +3 -3
  57. package/personalAccessToken.d.ts +1 -1
  58. package/personalAccessToken.js +1 -1
  59. package/pipelineScheduleVariable.d.ts +1 -1
  60. package/pipelineScheduleVariable.js +1 -1
  61. package/project.d.ts +15 -3
  62. package/project.js +2 -0
  63. package/project.js.map +1 -1
  64. package/projectAccessToken.d.ts +1 -1
  65. package/projectAccessToken.js +1 -1
  66. package/projectDeployToken.d.ts +1 -1
  67. package/projectDeployToken.js +1 -1
  68. package/projectHook.d.ts +1 -1
  69. package/projectHook.js +1 -1
  70. package/projectLabel.d.ts +5 -5
  71. package/projectLabel.js +2 -2
  72. package/projectLevelMrApprovals.d.ts +1 -1
  73. package/projectLevelMrApprovals.js +1 -1
  74. package/projectLevelNotifications.d.ts +1 -1
  75. package/projectLevelNotifications.js +1 -1
  76. package/projectMembership.d.ts +1 -1
  77. package/projectMembership.js +1 -1
  78. package/projectTargetBranchRule.d.ts +1 -1
  79. package/projectTargetBranchRule.js +1 -1
  80. package/projectVariable.d.ts +3 -3
  81. package/releaseLink.d.ts +8 -8
  82. package/runner.d.ts +1 -1
  83. package/runner.js +1 -1
  84. package/systemHook.d.ts +3 -3
  85. package/types/input.d.ts +224 -0
  86. package/types/output.d.ts +257 -4
  87. package/userAvatar.d.ts +126 -0
  88. package/userAvatar.js +99 -0
  89. package/userAvatar.js.map +1 -0
  90. package/userGpgKey.d.ts +1 -1
  91. package/userGpgKey.js +1 -1
  92. package/userImpersonationToken.d.ts +1 -1
  93. package/userImpersonationToken.js +1 -1
  94. package/userRunner.d.ts +1 -1
  95. package/userRunner.js +1 -1
  96. package/userSshKey.d.ts +1 -1
  97. package/userSshKey.js +1 -1
@@ -1,7 +1,7 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
3
  * The `gitlab.getArtifactFile` data source allows downloading a single artifact file from a specific job in the latest successful pipeline for a given reference (branch, tag, or commit).
4
- * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/job_artifacts.html#download-a-single-artifact-file-from-specific-tag-or-branch)
4
+ * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/job_artifacts/#download-a-single-artifact-file-by-reference-name)
5
5
  *
6
6
  * ## Example Usage
7
7
  *
@@ -107,7 +107,7 @@ export interface GetArtifactFileResult {
107
107
  }
108
108
  /**
109
109
  * The `gitlab.getArtifactFile` data source allows downloading a single artifact file from a specific job in the latest successful pipeline for a given reference (branch, tag, or commit).
110
- * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/job_artifacts.html#download-a-single-artifact-file-from-specific-tag-or-branch)
110
+ * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/job_artifacts/#download-a-single-artifact-file-by-reference-name)
111
111
  *
112
112
  * ## Example Usage
113
113
  *
@@ -7,7 +7,7 @@ const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
9
  * The `gitlab.getArtifactFile` data source allows downloading a single artifact file from a specific job in the latest successful pipeline for a given reference (branch, tag, or commit).
10
- * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/job_artifacts.html#download-a-single-artifact-file-from-specific-tag-or-branch)
10
+ * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/job_artifacts/#download-a-single-artifact-file-by-reference-name)
11
11
  *
12
12
  * ## Example Usage
13
13
  *
@@ -61,7 +61,7 @@ function getArtifactFile(args, opts) {
61
61
  exports.getArtifactFile = getArtifactFile;
62
62
  /**
63
63
  * The `gitlab.getArtifactFile` data source allows downloading a single artifact file from a specific job in the latest successful pipeline for a given reference (branch, tag, or commit).
64
- * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/job_artifacts.html#download-a-single-artifact-file-from-specific-tag-or-branch)
64
+ * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/job_artifacts/#download-a-single-artifact-file-by-reference-name)
65
65
  *
66
66
  * ## Example Usage
67
67
  *
@@ -8,7 +8,7 @@ import * as outputs from "./types/output";
8
8
  * > When using the `email` attribute, an exact match is not guaranteed. The most related match will be returned. Starting with GitLab 16.6,
9
9
  * the most related match will prioritize an exact match if one is available.
10
10
  *
11
- * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/members/#list-memberships-for-a-billable-member-of-a-group)
11
+ * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/group_members/#list-all-billable-members-of-a-group)
12
12
  *
13
13
  * ## Example Usage
14
14
  *
@@ -65,7 +65,7 @@ export interface GetGroupBillableMemberMembershipsResult {
65
65
  * > When using the `email` attribute, an exact match is not guaranteed. The most related match will be returned. Starting with GitLab 16.6,
66
66
  * the most related match will prioritize an exact match if one is available.
67
67
  *
68
- * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/members/#list-memberships-for-a-billable-member-of-a-group)
68
+ * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/group_members/#list-all-billable-members-of-a-group)
69
69
  *
70
70
  * ## Example Usage
71
71
  *
@@ -13,7 +13,7 @@ const utilities = require("./utilities");
13
13
  * > When using the `email` attribute, an exact match is not guaranteed. The most related match will be returned. Starting with GitLab 16.6,
14
14
  * the most related match will prioritize an exact match if one is available.
15
15
  *
16
- * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/members/#list-memberships-for-a-billable-member-of-a-group)
16
+ * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/group_members/#list-all-billable-members-of-a-group)
17
17
  *
18
18
  * ## Example Usage
19
19
  *
@@ -43,7 +43,7 @@ exports.getGroupBillableMemberMemberships = getGroupBillableMemberMemberships;
43
43
  * > When using the `email` attribute, an exact match is not guaranteed. The most related match will be returned. Starting with GitLab 16.6,
44
44
  * the most related match will prioritize an exact match if one is available.
45
45
  *
46
- * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/members/#list-memberships-for-a-billable-member-of-a-group)
46
+ * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/group_members/#list-all-billable-members-of-a-group)
47
47
  *
48
48
  * ## Example Usage
49
49
  *
@@ -3,7 +3,7 @@ import * as outputs from "./types/output";
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
- * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/members/#list-all-members-of-a-group-or-project)
6
+ * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/group_members/#list-all-members-of-a-group)
7
7
  */
8
8
  export declare function getGroupMembership(args?: GetGroupMembershipArgs, opts?: pulumi.InvokeOptions): Promise<GetGroupMembershipResult>;
9
9
  /**
@@ -59,7 +59,7 @@ export interface GetGroupMembershipResult {
59
59
  /**
60
60
  * The `gitlab.GroupMembership` data source allows to list and filter all members of a group specified by either its id or full path.
61
61
  *
62
- * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/members/#list-all-members-of-a-group-or-project)
62
+ * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/group_members/#list-all-members-of-a-group)
63
63
  */
64
64
  export declare function getGroupMembershipOutput(args?: GetGroupMembershipOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetGroupMembershipResult>;
65
65
  /**
@@ -8,7 +8,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
- * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/members/#list-all-members-of-a-group-or-project)
11
+ * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/group_members/#list-all-members-of-a-group)
12
12
  */
13
13
  function getGroupMembership(args, opts) {
14
14
  args = args || {};
@@ -24,7 +24,7 @@ exports.getGroupMembership = getGroupMembership;
24
24
  /**
25
25
  * The `gitlab.GroupMembership` data source allows to list and filter all members of a group specified by either its id or full path.
26
26
  *
27
- * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/members/#list-all-members-of-a-group-or-project)
27
+ * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/group_members/#list-all-members-of-a-group)
28
28
  */
29
29
  function getGroupMembershipOutput(args, opts) {
30
30
  args = args || {};
@@ -2,7 +2,7 @@ import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
3
  * The `gitlab.GroupServiceAccount` data source retrieves information about a GitLab service account in a group.
4
4
  *
5
- * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/group_service_accounts/#list-service-account-users)
5
+ * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/service_accounts/#list-all-group-service-accounts)
6
6
  *
7
7
  * ## Example Usage
8
8
  */
@@ -45,7 +45,7 @@ export interface GetGroupServiceAccountResult {
45
45
  /**
46
46
  * The `gitlab.GroupServiceAccount` data source retrieves information about a GitLab service account in a group.
47
47
  *
48
- * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/group_service_accounts/#list-service-account-users)
48
+ * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/service_accounts/#list-all-group-service-accounts)
49
49
  *
50
50
  * ## Example Usage
51
51
  */
@@ -8,7 +8,7 @@ const utilities = require("./utilities");
8
8
  /**
9
9
  * The `gitlab.GroupServiceAccount` data source retrieves information about a GitLab service account in a group.
10
10
  *
11
- * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/group_service_accounts/#list-service-account-users)
11
+ * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/service_accounts/#list-all-group-service-accounts)
12
12
  *
13
13
  * ## Example Usage
14
14
  */
@@ -23,7 +23,7 @@ exports.getGroupServiceAccount = getGroupServiceAccount;
23
23
  /**
24
24
  * The `gitlab.GroupServiceAccount` data source retrieves information about a GitLab service account in a group.
25
25
  *
26
- * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/group_service_accounts/#list-service-account-users)
26
+ * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/service_accounts/#list-all-group-service-accounts)
27
27
  *
28
28
  * ## Example Usage
29
29
  */
@@ -0,0 +1,66 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "./types/output";
3
+ /**
4
+ * The `gitlab.getGroupServiceAccountAccessTokens` data source allows to retrieve all access tokens for a group service account.
5
+ *
6
+ * > **Note:** The data source returns the token metadata only. The token value is not available.
7
+ *
8
+ * > **Permissions:** You must have administrator access or be an Owner of the group to list the tokens of a service account.
9
+ *
10
+ * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/personal_access_tokens/#list-all-personal-access-tokens)
11
+ */
12
+ export declare function getGroupServiceAccountAccessTokens(args: GetGroupServiceAccountAccessTokensArgs, opts?: pulumi.InvokeOptions): Promise<GetGroupServiceAccountAccessTokensResult>;
13
+ /**
14
+ * A collection of arguments for invoking getGroupServiceAccountAccessTokens.
15
+ */
16
+ export interface GetGroupServiceAccountAccessTokensArgs {
17
+ /**
18
+ * The ID or URL-encoded path of the group containing the service account. Must be a top level group.
19
+ */
20
+ group: string;
21
+ /**
22
+ * The ID of the service account user.
23
+ */
24
+ serviceAccountId: number;
25
+ }
26
+ /**
27
+ * A collection of values returned by getGroupServiceAccountAccessTokens.
28
+ */
29
+ export interface GetGroupServiceAccountAccessTokensResult {
30
+ /**
31
+ * The list of access tokens for the service account.
32
+ */
33
+ readonly accessTokens: outputs.GetGroupServiceAccountAccessTokensAccessToken[];
34
+ /**
35
+ * The ID or URL-encoded path of the group containing the service account. Must be a top level group.
36
+ */
37
+ readonly group: string;
38
+ readonly id: string;
39
+ /**
40
+ * The ID of the service account user.
41
+ */
42
+ readonly serviceAccountId: number;
43
+ }
44
+ /**
45
+ * The `gitlab.getGroupServiceAccountAccessTokens` data source allows to retrieve all access tokens for a group service account.
46
+ *
47
+ * > **Note:** The data source returns the token metadata only. The token value is not available.
48
+ *
49
+ * > **Permissions:** You must have administrator access or be an Owner of the group to list the tokens of a service account.
50
+ *
51
+ * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/personal_access_tokens/#list-all-personal-access-tokens)
52
+ */
53
+ export declare function getGroupServiceAccountAccessTokensOutput(args: GetGroupServiceAccountAccessTokensOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetGroupServiceAccountAccessTokensResult>;
54
+ /**
55
+ * A collection of arguments for invoking getGroupServiceAccountAccessTokens.
56
+ */
57
+ export interface GetGroupServiceAccountAccessTokensOutputArgs {
58
+ /**
59
+ * The ID or URL-encoded path of the group containing the service account. Must be a top level group.
60
+ */
61
+ group: pulumi.Input<string>;
62
+ /**
63
+ * The ID of the service account user.
64
+ */
65
+ serviceAccountId: pulumi.Input<number>;
66
+ }
@@ -0,0 +1,42 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getGroupServiceAccountAccessTokensOutput = exports.getGroupServiceAccountAccessTokens = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * The `gitlab.getGroupServiceAccountAccessTokens` data source allows to retrieve all access tokens for a group service account.
10
+ *
11
+ * > **Note:** The data source returns the token metadata only. The token value is not available.
12
+ *
13
+ * > **Permissions:** You must have administrator access or be an Owner of the group to list the tokens of a service account.
14
+ *
15
+ * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/personal_access_tokens/#list-all-personal-access-tokens)
16
+ */
17
+ function getGroupServiceAccountAccessTokens(args, opts) {
18
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
19
+ return pulumi.runtime.invoke("gitlab:index/getGroupServiceAccountAccessTokens:getGroupServiceAccountAccessTokens", {
20
+ "group": args.group,
21
+ "serviceAccountId": args.serviceAccountId,
22
+ }, opts);
23
+ }
24
+ exports.getGroupServiceAccountAccessTokens = getGroupServiceAccountAccessTokens;
25
+ /**
26
+ * The `gitlab.getGroupServiceAccountAccessTokens` data source allows to retrieve all access tokens for a group service account.
27
+ *
28
+ * > **Note:** The data source returns the token metadata only. The token value is not available.
29
+ *
30
+ * > **Permissions:** You must have administrator access or be an Owner of the group to list the tokens of a service account.
31
+ *
32
+ * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/personal_access_tokens/#list-all-personal-access-tokens)
33
+ */
34
+ function getGroupServiceAccountAccessTokensOutput(args, opts) {
35
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
36
+ return pulumi.runtime.invokeOutput("gitlab:index/getGroupServiceAccountAccessTokens:getGroupServiceAccountAccessTokens", {
37
+ "group": args.group,
38
+ "serviceAccountId": args.serviceAccountId,
39
+ }, opts);
40
+ }
41
+ exports.getGroupServiceAccountAccessTokensOutput = getGroupServiceAccountAccessTokensOutput;
42
+ //# sourceMappingURL=getGroupServiceAccountAccessTokens.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getGroupServiceAccountAccessTokens.js","sourceRoot":"","sources":["../getGroupServiceAccountAccessTokens.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;GAQG;AACH,SAAgB,kCAAkC,CAAC,IAA4C,EAAE,IAA2B;IACxH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oFAAoF,EAAE;QAC/G,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;KAC5C,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,gFAMC;AAkCD;;;;;;;;GAQG;AACH,SAAgB,wCAAwC,CAAC,IAAkD,EAAE,IAAiC;IAC1I,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,oFAAoF,EAAE;QACrH,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;KAC5C,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,4FAMC"}
@@ -62,7 +62,7 @@ export interface GetGroupVariableResult {
62
62
  */
63
63
  readonly key: string;
64
64
  /**
65
- * If set to `true`, the value of the variable will be hidden in job logs. The value must meet the [masking requirements](https://docs.gitlab.com/ci/variables/#masked-variables).
65
+ * If set to `true`, the value of the variable will be hidden in job logs. The value must meet the [masking requirements](https://docs.gitlab.com/ci/variables/#mask-a-cicd-variable).
66
66
  */
67
67
  readonly masked: boolean;
68
68
  /**
@@ -4,7 +4,7 @@ import * as pulumi from "@pulumi/pulumi";
4
4
  *
5
5
  * > In order for a user to create a user account, they must have admin privileges at the instance level. This makes this feature unavailable on `gitlab.com`
6
6
  *
7
- * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/user_service_accounts/)
7
+ * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/service_accounts/#instance-service-accounts)
8
8
  *
9
9
  * ## Example Usage
10
10
  *
@@ -54,7 +54,7 @@ export interface GetInstanceServiceAccountResult {
54
54
  *
55
55
  * > In order for a user to create a user account, they must have admin privileges at the instance level. This makes this feature unavailable on `gitlab.com`
56
56
  *
57
- * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/user_service_accounts/)
57
+ * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/service_accounts/#instance-service-accounts)
58
58
  *
59
59
  * ## Example Usage
60
60
  *
@@ -10,7 +10,7 @@ const utilities = require("./utilities");
10
10
  *
11
11
  * > In order for a user to create a user account, they must have admin privileges at the instance level. This makes this feature unavailable on `gitlab.com`
12
12
  *
13
- * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/user_service_accounts/)
13
+ * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/service_accounts/#instance-service-accounts)
14
14
  *
15
15
  * ## Example Usage
16
16
  *
@@ -35,7 +35,7 @@ exports.getInstanceServiceAccount = getInstanceServiceAccount;
35
35
  *
36
36
  * > In order for a user to create a user account, they must have admin privileges at the instance level. This makes this feature unavailable on `gitlab.com`
37
37
  *
38
- * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/user_service_accounts/)
38
+ * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/service_accounts/#instance-service-accounts)
39
39
  *
40
40
  * ## Example Usage
41
41
  *
package/getProject.d.ts CHANGED
@@ -199,6 +199,10 @@ export interface GetProjectResult {
199
199
  * Enable or disable merge trains.
200
200
  */
201
201
  readonly mergeTrainsEnabled: boolean;
202
+ /**
203
+ * Allows merge train merge requests to be merged without waiting for pipelines to finish.
204
+ */
205
+ readonly mergeTrainsSkipTrainAllowed: boolean;
202
206
  /**
203
207
  * The visibility of machine learning model experiments.
204
208
  */
package/getProject.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"getProject.js","sourceRoot":"","sources":["../getProject.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;GAIG;AACH,SAAgB,UAAU,CAAC,IAAqB,EAAE,IAA2B;IACzE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oCAAoC,EAAE;QAC/D,mBAAmB,EAAE,IAAI,CAAC,iBAAiB;QAC3C,6BAA6B,EAAE,IAAI,CAAC,2BAA2B;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;AAVD,gCAUC;AAiVD;;;;GAIG;AACH,SAAgB,gBAAgB,CAAC,IAA2B,EAAE,IAAiC;IAC3F,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,oCAAoC,EAAE;QACrE,mBAAmB,EAAE,IAAI,CAAC,iBAAiB;QAC3C,6BAA6B,EAAE,IAAI,CAAC,2BAA2B;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;AAVD,4CAUC"}
1
+ {"version":3,"file":"getProject.js","sourceRoot":"","sources":["../getProject.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;GAIG;AACH,SAAgB,UAAU,CAAC,IAAqB,EAAE,IAA2B;IACzE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oCAAoC,EAAE;QAC/D,mBAAmB,EAAE,IAAI,CAAC,iBAAiB;QAC3C,6BAA6B,EAAE,IAAI,CAAC,2BAA2B;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;AAVD,gCAUC;AAqVD;;;;GAIG;AACH,SAAgB,gBAAgB,CAAC,IAA2B,EAAE,IAAiC;IAC3F,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,oCAAoC,EAAE;QACrE,mBAAmB,EAAE,IAAI,CAAC,iBAAiB;QAC3C,6BAA6B,EAAE,IAAI,CAAC,2BAA2B;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;AAVD,4CAUC"}
@@ -0,0 +1,94 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "./types/output";
3
+ /**
4
+ * The `gitlab.getProjectIssueLabelEvents` data source retrieves label events for a specific GitLab project issue.
5
+ *
6
+ * **Upstream API**: [GitLab Resource Label Events API docs](https://docs.gitlab.com/api/resource_label_events/)
7
+ *
8
+ * ## Example Usage
9
+ *
10
+ * ```typescript
11
+ * import * as pulumi from "@pulumi/pulumi";
12
+ * import * as gitlab from "@pulumi/gitlab";
13
+ *
14
+ * const example = gitlab.getProjectIssueLabelEvents({
15
+ * project: "my-group/my-project",
16
+ * issueIid: 42,
17
+ * });
18
+ * ```
19
+ */
20
+ export declare function getProjectIssueLabelEvents(args: GetProjectIssueLabelEventsArgs, opts?: pulumi.InvokeOptions): Promise<GetProjectIssueLabelEventsResult>;
21
+ /**
22
+ * A collection of arguments for invoking getProjectIssueLabelEvents.
23
+ */
24
+ export interface GetProjectIssueLabelEventsArgs {
25
+ /**
26
+ * The internal ID of the issue.
27
+ */
28
+ issueIid: number;
29
+ /**
30
+ * Number of pages to return. Default is 1.
31
+ */
32
+ pagesReturned?: number;
33
+ /**
34
+ * The ID or full path of the project.
35
+ */
36
+ project: string;
37
+ }
38
+ /**
39
+ * A collection of values returned by getProjectIssueLabelEvents.
40
+ */
41
+ export interface GetProjectIssueLabelEventsResult {
42
+ /**
43
+ * List of label events for the issue.
44
+ */
45
+ readonly events: outputs.GetProjectIssueLabelEventsEvent[];
46
+ readonly id: string;
47
+ /**
48
+ * The internal ID of the issue.
49
+ */
50
+ readonly issueIid: number;
51
+ /**
52
+ * Number of pages to return. Default is 1.
53
+ */
54
+ readonly pagesReturned?: number;
55
+ /**
56
+ * The ID or full path of the project.
57
+ */
58
+ readonly project: string;
59
+ }
60
+ /**
61
+ * The `gitlab.getProjectIssueLabelEvents` data source retrieves label events for a specific GitLab project issue.
62
+ *
63
+ * **Upstream API**: [GitLab Resource Label Events API docs](https://docs.gitlab.com/api/resource_label_events/)
64
+ *
65
+ * ## Example Usage
66
+ *
67
+ * ```typescript
68
+ * import * as pulumi from "@pulumi/pulumi";
69
+ * import * as gitlab from "@pulumi/gitlab";
70
+ *
71
+ * const example = gitlab.getProjectIssueLabelEvents({
72
+ * project: "my-group/my-project",
73
+ * issueIid: 42,
74
+ * });
75
+ * ```
76
+ */
77
+ export declare function getProjectIssueLabelEventsOutput(args: GetProjectIssueLabelEventsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetProjectIssueLabelEventsResult>;
78
+ /**
79
+ * A collection of arguments for invoking getProjectIssueLabelEvents.
80
+ */
81
+ export interface GetProjectIssueLabelEventsOutputArgs {
82
+ /**
83
+ * The internal ID of the issue.
84
+ */
85
+ issueIid: pulumi.Input<number>;
86
+ /**
87
+ * Number of pages to return. Default is 1.
88
+ */
89
+ pagesReturned?: pulumi.Input<number>;
90
+ /**
91
+ * The ID or full path of the project.
92
+ */
93
+ project: pulumi.Input<string>;
94
+ }
@@ -0,0 +1,60 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getProjectIssueLabelEventsOutput = exports.getProjectIssueLabelEvents = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * The `gitlab.getProjectIssueLabelEvents` data source retrieves label events for a specific GitLab project issue.
10
+ *
11
+ * **Upstream API**: [GitLab Resource Label Events API docs](https://docs.gitlab.com/api/resource_label_events/)
12
+ *
13
+ * ## Example Usage
14
+ *
15
+ * ```typescript
16
+ * import * as pulumi from "@pulumi/pulumi";
17
+ * import * as gitlab from "@pulumi/gitlab";
18
+ *
19
+ * const example = gitlab.getProjectIssueLabelEvents({
20
+ * project: "my-group/my-project",
21
+ * issueIid: 42,
22
+ * });
23
+ * ```
24
+ */
25
+ function getProjectIssueLabelEvents(args, opts) {
26
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
27
+ return pulumi.runtime.invoke("gitlab:index/getProjectIssueLabelEvents:getProjectIssueLabelEvents", {
28
+ "issueIid": args.issueIid,
29
+ "pagesReturned": args.pagesReturned,
30
+ "project": args.project,
31
+ }, opts);
32
+ }
33
+ exports.getProjectIssueLabelEvents = getProjectIssueLabelEvents;
34
+ /**
35
+ * The `gitlab.getProjectIssueLabelEvents` data source retrieves label events for a specific GitLab project issue.
36
+ *
37
+ * **Upstream API**: [GitLab Resource Label Events API docs](https://docs.gitlab.com/api/resource_label_events/)
38
+ *
39
+ * ## Example Usage
40
+ *
41
+ * ```typescript
42
+ * import * as pulumi from "@pulumi/pulumi";
43
+ * import * as gitlab from "@pulumi/gitlab";
44
+ *
45
+ * const example = gitlab.getProjectIssueLabelEvents({
46
+ * project: "my-group/my-project",
47
+ * issueIid: 42,
48
+ * });
49
+ * ```
50
+ */
51
+ function getProjectIssueLabelEventsOutput(args, opts) {
52
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
53
+ return pulumi.runtime.invokeOutput("gitlab:index/getProjectIssueLabelEvents:getProjectIssueLabelEvents", {
54
+ "issueIid": args.issueIid,
55
+ "pagesReturned": args.pagesReturned,
56
+ "project": args.project,
57
+ }, opts);
58
+ }
59
+ exports.getProjectIssueLabelEventsOutput = getProjectIssueLabelEventsOutput;
60
+ //# sourceMappingURL=getProjectIssueLabelEvents.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getProjectIssueLabelEvents.js","sourceRoot":"","sources":["../getProjectIssueLabelEvents.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,0BAA0B,CAAC,IAAoC,EAAE,IAA2B;IACxG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oEAAoE,EAAE;QAC/F,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,gEAOC;AA0CD;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,gCAAgC,CAAC,IAA0C,EAAE,IAAiC;IAC1H,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,oEAAoE,EAAE;QACrG,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,4EAOC"}
@@ -3,7 +3,7 @@ import * as outputs from "./types/output";
3
3
  /**
4
4
  * The `gitlab.ProjectMembership` data source allows you to list and filter all members of a project.
5
5
  *
6
- * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/members/#list-all-members-of-a-group-or-project)
6
+ * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/project_members/#list-all-members-of-a-project)
7
7
  */
8
8
  export declare function getProjectMembership(args?: GetProjectMembershipArgs, opts?: pulumi.InvokeOptions): Promise<GetProjectMembershipResult>;
9
9
  /**
@@ -83,7 +83,7 @@ export interface GetProjectMembershipResult {
83
83
  /**
84
84
  * The `gitlab.ProjectMembership` data source allows you to list and filter all members of a project.
85
85
  *
86
- * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/members/#list-all-members-of-a-group-or-project)
86
+ * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/project_members/#list-all-members-of-a-project)
87
87
  */
88
88
  export declare function getProjectMembershipOutput(args?: GetProjectMembershipOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetProjectMembershipResult>;
89
89
  /**
@@ -8,7 +8,7 @@ const utilities = require("./utilities");
8
8
  /**
9
9
  * The `gitlab.ProjectMembership` data source allows you to list and filter all members of a project.
10
10
  *
11
- * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/members/#list-all-members-of-a-group-or-project)
11
+ * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/project_members/#list-all-members-of-a-project)
12
12
  */
13
13
  function getProjectMembership(args, opts) {
14
14
  args = args || {};
@@ -26,7 +26,7 @@ exports.getProjectMembership = getProjectMembership;
26
26
  /**
27
27
  * The `gitlab.ProjectMembership` data source allows you to list and filter all members of a project.
28
28
  *
29
- * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/members/#list-all-members-of-a-group-or-project)
29
+ * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/project_members/#list-all-members-of-a-project)
30
30
  */
31
31
  function getProjectMembershipOutput(args, opts) {
32
32
  args = args || {};
@@ -3,7 +3,7 @@ import * as outputs from "./types/output";
3
3
  /**
4
4
  * The `gitlab.getProjectProtectedTag` data source allows details of a protected tag to be retrieved by its name and the project it belongs to.
5
5
  *
6
- * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/protected_tags/#get-a-single-protected-tag-or-wildcard-protected-tag)
6
+ * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/protected_tags/#get-a-protected-tag-or-wildcard-protected-tag)
7
7
  */
8
8
  export declare function getProjectProtectedTag(args: GetProjectProtectedTagArgs, opts?: pulumi.InvokeOptions): Promise<GetProjectProtectedTagResult>;
9
9
  /**
@@ -43,7 +43,7 @@ export interface GetProjectProtectedTagResult {
43
43
  /**
44
44
  * The `gitlab.getProjectProtectedTag` data source allows details of a protected tag to be retrieved by its name and the project it belongs to.
45
45
  *
46
- * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/protected_tags/#get-a-single-protected-tag-or-wildcard-protected-tag)
46
+ * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/protected_tags/#get-a-protected-tag-or-wildcard-protected-tag)
47
47
  */
48
48
  export declare function getProjectProtectedTagOutput(args: GetProjectProtectedTagOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetProjectProtectedTagResult>;
49
49
  /**
@@ -8,7 +8,7 @@ const utilities = require("./utilities");
8
8
  /**
9
9
  * The `gitlab.getProjectProtectedTag` data source allows details of a protected tag to be retrieved by its name and the project it belongs to.
10
10
  *
11
- * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/protected_tags/#get-a-single-protected-tag-or-wildcard-protected-tag)
11
+ * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/protected_tags/#get-a-protected-tag-or-wildcard-protected-tag)
12
12
  */
13
13
  function getProjectProtectedTag(args, opts) {
14
14
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -21,7 +21,7 @@ exports.getProjectProtectedTag = getProjectProtectedTag;
21
21
  /**
22
22
  * The `gitlab.getProjectProtectedTag` data source allows details of a protected tag to be retrieved by its name and the project it belongs to.
23
23
  *
24
- * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/protected_tags/#get-a-single-protected-tag-or-wildcard-protected-tag)
24
+ * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/protected_tags/#get-a-protected-tag-or-wildcard-protected-tag)
25
25
  */
26
26
  function getProjectProtectedTagOutput(args, opts) {
27
27
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});