@pulumi/gitlab 9.3.0-alpha.1759039852 → 9.3.0-alpha.1759184134

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 (72) hide show
  1. package/clusterAgentToken.d.ts +1 -1
  2. package/config/vars.d.ts +12 -0
  3. package/config/vars.js +18 -0
  4. package/config/vars.js.map +1 -1
  5. package/deployToken.d.ts +5 -3
  6. package/deployToken.js +2 -0
  7. package/deployToken.js.map +1 -1
  8. package/getBranch.d.ts +1 -1
  9. package/getClusterAgent.d.ts +3 -3
  10. package/getClusterAgent.js +2 -2
  11. package/getClusterAgents.d.ts +6 -6
  12. package/getClusterAgents.js +2 -2
  13. package/getCurrentUser.d.ts +1 -1
  14. package/getGroupHook.d.ts +4 -2
  15. package/getGroupHook.js.map +1 -1
  16. package/getGroupSamlLinks.d.ts +46 -0
  17. package/getGroupSamlLinks.js +32 -0
  18. package/getGroupSamlLinks.js.map +1 -0
  19. package/getInstanceDeployKeys.d.ts +1 -1
  20. package/getInstanceVariable.d.ts +7 -7
  21. package/getInstanceVariable.js +2 -2
  22. package/getInstanceVariables.d.ts +4 -4
  23. package/getInstanceVariables.js +2 -2
  24. package/getProjectBranches.d.ts +1 -1
  25. package/getProjectHook.d.ts +6 -4
  26. package/getProjectHook.js +2 -2
  27. package/getProjectHook.js.map +1 -1
  28. package/getProjectHooks.d.ts +1 -1
  29. package/getProjectMembership.d.ts +27 -7
  30. package/getProjectMembership.js +4 -6
  31. package/getProjectMembership.js.map +1 -1
  32. package/getProjectMilestone.d.ts +1 -1
  33. package/getProjectMilestones.d.ts +1 -1
  34. package/getProjectVariable.d.ts +12 -12
  35. package/getProjectVariables.d.ts +4 -4
  36. package/getReleaseLink.d.ts +4 -4
  37. package/getReleaseLink.js +2 -2
  38. package/getReleaseLinks.d.ts +4 -4
  39. package/getRepositoryFile.d.ts +1 -1
  40. package/getRepositoryTree.d.ts +1 -1
  41. package/getUser.d.ts +1 -1
  42. package/getUsers.d.ts +13 -1
  43. package/getUsers.js +2 -0
  44. package/getUsers.js.map +1 -1
  45. package/group.d.ts +3 -3
  46. package/groupDeployToken.d.ts +181 -0
  47. package/groupDeployToken.js +132 -0
  48. package/groupDeployToken.js.map +1 -0
  49. package/groupLevelMrApprovals.d.ts +140 -0
  50. package/groupLevelMrApprovals.js +93 -0
  51. package/groupLevelMrApprovals.js.map +1 -0
  52. package/groupShareGroup.d.ts +5 -3
  53. package/groupShareGroup.js +2 -0
  54. package/groupShareGroup.js.map +1 -1
  55. package/index.d.ts +15 -0
  56. package/index.js +28 -5
  57. package/index.js.map +1 -1
  58. package/instanceServiceAccount.d.ts +1 -1
  59. package/package.json +2 -2
  60. package/projectDeployToken.d.ts +181 -0
  61. package/projectDeployToken.js +132 -0
  62. package/projectDeployToken.js.map +1 -0
  63. package/projectEnvironment.d.ts +4 -4
  64. package/projectExternalStatusCheck.d.ts +158 -0
  65. package/projectExternalStatusCheck.js +121 -0
  66. package/projectExternalStatusCheck.js.map +1 -0
  67. package/projectFreezePeriod.d.ts +10 -10
  68. package/projectHook.d.ts +3 -3
  69. package/provider.d.ts +20 -0
  70. package/provider.js +3 -0
  71. package/provider.js.map +1 -1
  72. package/types/output.d.ts +38 -16
@@ -1,9 +1,7 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  import * as outputs from "./types/output";
3
3
  /**
4
- * The `gitlab.ProjectMembership` data source allows to list and filter all members of a project specified by either its id or full path.
5
- *
6
- * > **Note** exactly one of projectId or fullPath must be provided.
4
+ * The `gitlab.ProjectMembership` data source allows you to list and filter all members of a project.
7
5
  *
8
6
  * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/members/#list-all-members-of-a-group-or-project)
9
7
  */
@@ -14,14 +12,22 @@ export declare function getProjectMembership(args?: GetProjectMembershipArgs, op
14
12
  export interface GetProjectMembershipArgs {
15
13
  /**
16
14
  * The full path of the project.
15
+ *
16
+ * @deprecated Will be removed in 19.0. Use `project` instead.
17
17
  */
18
18
  fullPath?: string;
19
19
  /**
20
20
  * Return all project members including members through ancestor groups
21
21
  */
22
22
  inherited?: boolean;
23
+ /**
24
+ * The ID or full path of the project.
25
+ */
26
+ project?: string;
23
27
  /**
24
28
  * The ID of the project.
29
+ *
30
+ * @deprecated Will be removed in 19.0. Use `project` instead.
25
31
  */
26
32
  projectId?: number;
27
33
  /**
@@ -39,10 +45,12 @@ export interface GetProjectMembershipArgs {
39
45
  export interface GetProjectMembershipResult {
40
46
  /**
41
47
  * The full path of the project.
48
+ *
49
+ * @deprecated Will be removed in 19.0. Use `project` instead.
42
50
  */
43
51
  readonly fullPath: string;
44
52
  /**
45
- * The provider-assigned unique ID for this managed resource.
53
+ * The ID of this datasource. In the format `<project:query-hash>` if query is set, otherwise `<project>`.
46
54
  */
47
55
  readonly id: string;
48
56
  /**
@@ -53,8 +61,14 @@ export interface GetProjectMembershipResult {
53
61
  * The list of project members.
54
62
  */
55
63
  readonly members: outputs.GetProjectMembershipMember[];
64
+ /**
65
+ * The ID or full path of the project.
66
+ */
67
+ readonly project: string;
56
68
  /**
57
69
  * The ID of the project.
70
+ *
71
+ * @deprecated Will be removed in 19.0. Use `project` instead.
58
72
  */
59
73
  readonly projectId: number;
60
74
  /**
@@ -67,9 +81,7 @@ export interface GetProjectMembershipResult {
67
81
  readonly userIds?: number[];
68
82
  }
69
83
  /**
70
- * The `gitlab.ProjectMembership` data source allows to list and filter all members of a project specified by either its id or full path.
71
- *
72
- * > **Note** exactly one of projectId or fullPath must be provided.
84
+ * The `gitlab.ProjectMembership` data source allows you to list and filter all members of a project.
73
85
  *
74
86
  * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/members/#list-all-members-of-a-group-or-project)
75
87
  */
@@ -80,14 +92,22 @@ export declare function getProjectMembershipOutput(args?: GetProjectMembershipOu
80
92
  export interface GetProjectMembershipOutputArgs {
81
93
  /**
82
94
  * The full path of the project.
95
+ *
96
+ * @deprecated Will be removed in 19.0. Use `project` instead.
83
97
  */
84
98
  fullPath?: pulumi.Input<string>;
85
99
  /**
86
100
  * Return all project members including members through ancestor groups
87
101
  */
88
102
  inherited?: pulumi.Input<boolean>;
103
+ /**
104
+ * The ID or full path of the project.
105
+ */
106
+ project?: pulumi.Input<string>;
89
107
  /**
90
108
  * The ID of the project.
109
+ *
110
+ * @deprecated Will be removed in 19.0. Use `project` instead.
91
111
  */
92
112
  projectId?: pulumi.Input<number>;
93
113
  /**
@@ -6,9 +6,7 @@ exports.getProjectMembershipOutput = exports.getProjectMembership = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
- * The `gitlab.ProjectMembership` data source allows to list and filter all members of a project specified by either its id or full path.
10
- *
11
- * > **Note** exactly one of projectId or fullPath must be provided.
9
+ * The `gitlab.ProjectMembership` data source allows you to list and filter all members of a project.
12
10
  *
13
11
  * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/members/#list-all-members-of-a-group-or-project)
14
12
  */
@@ -18,6 +16,7 @@ function getProjectMembership(args, opts) {
18
16
  return pulumi.runtime.invoke("gitlab:index/getProjectMembership:getProjectMembership", {
19
17
  "fullPath": args.fullPath,
20
18
  "inherited": args.inherited,
19
+ "project": args.project,
21
20
  "projectId": args.projectId,
22
21
  "query": args.query,
23
22
  "userIds": args.userIds,
@@ -25,9 +24,7 @@ function getProjectMembership(args, opts) {
25
24
  }
26
25
  exports.getProjectMembership = getProjectMembership;
27
26
  /**
28
- * The `gitlab.ProjectMembership` data source allows to list and filter all members of a project specified by either its id or full path.
29
- *
30
- * > **Note** exactly one of projectId or fullPath must be provided.
27
+ * The `gitlab.ProjectMembership` data source allows you to list and filter all members of a project.
31
28
  *
32
29
  * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/members/#list-all-members-of-a-group-or-project)
33
30
  */
@@ -37,6 +34,7 @@ function getProjectMembershipOutput(args, opts) {
37
34
  return pulumi.runtime.invokeOutput("gitlab:index/getProjectMembership:getProjectMembership", {
38
35
  "fullPath": args.fullPath,
39
36
  "inherited": args.inherited,
37
+ "project": args.project,
40
38
  "projectId": args.projectId,
41
39
  "query": args.query,
42
40
  "userIds": args.userIds,
@@ -1 +1 @@
1
- {"version":3,"file":"getProjectMembership.js","sourceRoot":"","sources":["../getProjectMembership.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;GAMG;AACH,SAAgB,oBAAoB,CAAC,IAA+B,EAAE,IAA2B;IAC7F,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,wDAAwD,EAAE;QACnF,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,oDAUC;AA6DD;;;;;;GAMG;AACH,SAAgB,0BAA0B,CAAC,IAAqC,EAAE,IAAiC;IAC/G,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,wDAAwD,EAAE;QACzF,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,SAAS,EAAE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,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,gEAWC"}
@@ -39,7 +39,7 @@ export interface GetProjectMilestoneResult {
39
39
  */
40
40
  readonly expired: boolean;
41
41
  /**
42
- * The provider-assigned unique ID for this managed resource.
42
+ * The ID of this datasource. In the format `<project:milestone-id>`.
43
43
  */
44
44
  readonly id: string;
45
45
  /**
@@ -40,7 +40,7 @@ export interface GetProjectMilestonesArgs {
40
40
  */
41
41
  export interface GetProjectMilestonesResult {
42
42
  /**
43
- * The provider-assigned unique ID for this managed resource.
43
+ * The ID of this datasource. In the format `<project:options-hash>`.
44
44
  */
45
45
  readonly id: string;
46
46
  /**
@@ -28,7 +28,7 @@ export declare function getProjectVariable(args: GetProjectVariableArgs, opts?:
28
28
  */
29
29
  export interface GetProjectVariableArgs {
30
30
  /**
31
- * The environment scope of the variable. Defaults to all environment (`*`). Note that in Community Editions of Gitlab, values other than `*` will cause inconsistent plans.
31
+ * The environment scope of the variable. Defaults to all environment (`*`).
32
32
  */
33
33
  environmentScope?: string;
34
34
  /**
@@ -36,7 +36,7 @@ export interface GetProjectVariableArgs {
36
36
  */
37
37
  key: string;
38
38
  /**
39
- * The name or id of the project.
39
+ * The name or path of the project.
40
40
  */
41
41
  project: string;
42
42
  }
@@ -45,15 +45,15 @@ export interface GetProjectVariableArgs {
45
45
  */
46
46
  export interface GetProjectVariableResult {
47
47
  /**
48
- * The description of the variable.
48
+ * The description of the variable. Maximum of 255 characters.
49
49
  */
50
50
  readonly description: string;
51
51
  /**
52
- * The environment scope of the variable. Defaults to all environment (`*`). Note that in Community Editions of Gitlab, values other than `*` will cause inconsistent plans.
52
+ * The environment scope of the variable. Defaults to all environment (`*`).
53
53
  */
54
54
  readonly environmentScope: string;
55
55
  /**
56
- * The provider-assigned unique ID for this managed resource.
56
+ * The ID of this datasource. In the format `<project:key:environment-scope>`.
57
57
  */
58
58
  readonly id: string;
59
59
  /**
@@ -61,19 +61,19 @@ export interface GetProjectVariableResult {
61
61
  */
62
62
  readonly key: string;
63
63
  /**
64
- * 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). Defaults to `false`.
64
+ * If set to `true`, the value of the variable will be hidden in job logs.
65
65
  */
66
66
  readonly masked: boolean;
67
67
  /**
68
- * The name or id of the project.
68
+ * The name or path of the project.
69
69
  */
70
70
  readonly project: string;
71
71
  /**
72
- * If set to `true`, the variable will be passed only to pipelines running on protected branches and tags. Defaults to `false`.
72
+ * If set to `true`, the variable will be passed only to pipelines running on protected branches and tags.
73
73
  */
74
74
  readonly protected: boolean;
75
75
  /**
76
- * Whether the variable is treated as a raw string. Default: false. When true, variables in the value are not expanded.
76
+ * If set to `true`, the variable will be treated as a raw string.
77
77
  */
78
78
  readonly raw: boolean;
79
79
  /**
@@ -81,7 +81,7 @@ export interface GetProjectVariableResult {
81
81
  */
82
82
  readonly value: string;
83
83
  /**
84
- * The type of a variable. Valid values are: `envVar`, `file`. Default is `envVar`.
84
+ * The type of the variable, either `envVar` or `file`.
85
85
  */
86
86
  readonly variableType: string;
87
87
  }
@@ -114,7 +114,7 @@ export declare function getProjectVariableOutput(args: GetProjectVariableOutputA
114
114
  */
115
115
  export interface GetProjectVariableOutputArgs {
116
116
  /**
117
- * The environment scope of the variable. Defaults to all environment (`*`). Note that in Community Editions of Gitlab, values other than `*` will cause inconsistent plans.
117
+ * The environment scope of the variable. Defaults to all environment (`*`).
118
118
  */
119
119
  environmentScope?: pulumi.Input<string>;
120
120
  /**
@@ -122,7 +122,7 @@ export interface GetProjectVariableOutputArgs {
122
122
  */
123
123
  key: pulumi.Input<string>;
124
124
  /**
125
- * The name or id of the project.
125
+ * The name or path of the project.
126
126
  */
127
127
  project: pulumi.Input<string>;
128
128
  }
@@ -31,7 +31,7 @@ export interface GetProjectVariablesArgs {
31
31
  */
32
32
  environmentScope?: string;
33
33
  /**
34
- * The name or id of the project.
34
+ * The name or path of the project.
35
35
  */
36
36
  project: string;
37
37
  }
@@ -44,11 +44,11 @@ export interface GetProjectVariablesResult {
44
44
  */
45
45
  readonly environmentScope?: string;
46
46
  /**
47
- * The provider-assigned unique ID for this managed resource.
47
+ * The ID of this datasource. In the format `<project:environment-scope>`.
48
48
  */
49
49
  readonly id: string;
50
50
  /**
51
- * The name or id of the project.
51
+ * The name or path of the project.
52
52
  */
53
53
  readonly project: string;
54
54
  /**
@@ -87,7 +87,7 @@ export interface GetProjectVariablesOutputArgs {
87
87
  */
88
88
  environmentScope?: pulumi.Input<string>;
89
89
  /**
90
- * The name or id of the project.
90
+ * The name or path of the project.
91
91
  */
92
92
  project: pulumi.Input<string>;
93
93
  }
@@ -1,6 +1,6 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
- * The `gitlab.ReleaseLink` data source allows get details of a release link.
3
+ * The `gitlab.ReleaseLink` data source allows you to get details of a release link.
4
4
  *
5
5
  * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/releases/links/)
6
6
  */
@@ -39,7 +39,7 @@ export interface GetReleaseLinkResult {
39
39
  */
40
40
  readonly filepath: string;
41
41
  /**
42
- * The provider-assigned unique ID for this managed resource.
42
+ * The ID of this data source.
43
43
  */
44
44
  readonly id: string;
45
45
  /**
@@ -47,7 +47,7 @@ export interface GetReleaseLinkResult {
47
47
  */
48
48
  readonly linkId: number;
49
49
  /**
50
- * The type of the link. Valid values are `other`, `runbook`, `image`, `package`. Defaults to other.
50
+ * The type of the link. Valid values are `other`, `runbook`, `image`, `package`.
51
51
  */
52
52
  readonly linkType: string;
53
53
  /**
@@ -68,7 +68,7 @@ export interface GetReleaseLinkResult {
68
68
  readonly url: string;
69
69
  }
70
70
  /**
71
- * The `gitlab.ReleaseLink` data source allows get details of a release link.
71
+ * The `gitlab.ReleaseLink` data source allows you to get details of a release link.
72
72
  *
73
73
  * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/releases/links/)
74
74
  */
package/getReleaseLink.js CHANGED
@@ -6,7 +6,7 @@ exports.getReleaseLinkOutput = exports.getReleaseLink = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
- * The `gitlab.ReleaseLink` data source allows get details of a release link.
9
+ * The `gitlab.ReleaseLink` data source allows you to get details of a release link.
10
10
  *
11
11
  * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/releases/links/)
12
12
  */
@@ -20,7 +20,7 @@ function getReleaseLink(args, opts) {
20
20
  }
21
21
  exports.getReleaseLink = getReleaseLink;
22
22
  /**
23
- * The `gitlab.ReleaseLink` data source allows get details of a release link.
23
+ * The `gitlab.ReleaseLink` data source allows you to get details of a release link.
24
24
  *
25
25
  * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/releases/links/)
26
26
  */
@@ -11,7 +11,7 @@ export declare function getReleaseLinks(args: GetReleaseLinksArgs, opts?: pulumi
11
11
  */
12
12
  export interface GetReleaseLinksArgs {
13
13
  /**
14
- * The ID or full path to the project.
14
+ * The ID or [URL-encoded path of the project](https://docs.gitlab.com/api/index/#namespaced-path-encoding).
15
15
  */
16
16
  project: string;
17
17
  /**
@@ -24,11 +24,11 @@ export interface GetReleaseLinksArgs {
24
24
  */
25
25
  export interface GetReleaseLinksResult {
26
26
  /**
27
- * The provider-assigned unique ID for this managed resource.
27
+ * The ID of this data source.
28
28
  */
29
29
  readonly id: string;
30
30
  /**
31
- * The ID or full path to the project.
31
+ * The ID or [URL-encoded path of the project](https://docs.gitlab.com/api/index/#namespaced-path-encoding).
32
32
  */
33
33
  readonly project: string;
34
34
  /**
@@ -51,7 +51,7 @@ export declare function getReleaseLinksOutput(args: GetReleaseLinksOutputArgs, o
51
51
  */
52
52
  export interface GetReleaseLinksOutputArgs {
53
53
  /**
54
- * The ID or full path to the project.
54
+ * The ID or [URL-encoded path of the project](https://docs.gitlab.com/api/index/#namespaced-path-encoding).
55
55
  */
56
56
  project: pulumi.Input<string>;
57
57
  /**
@@ -72,7 +72,7 @@ export interface GetRepositoryFileResult {
72
72
  */
73
73
  readonly filePath: string;
74
74
  /**
75
- * The provider-assigned unique ID for this managed resource.
75
+ * The ID of this datasource. In the format `<project:ref:file_path>`.
76
76
  */
77
77
  readonly id: string;
78
78
  /**
@@ -46,7 +46,7 @@ export interface GetRepositoryTreeArgs {
46
46
  */
47
47
  export interface GetRepositoryTreeResult {
48
48
  /**
49
- * The provider-assigned unique ID for this managed resource.
49
+ * The ID of this datasource. A hash of project and ref, with path and recursive if set.
50
50
  */
51
51
  readonly id: string;
52
52
  /**
package/getUser.d.ts CHANGED
@@ -83,7 +83,7 @@ export interface GetUserResult {
83
83
  */
84
84
  readonly external: boolean;
85
85
  /**
86
- * The provider-assigned unique ID for this managed resource.
86
+ * The ID of this datasource. In the format `<user-id>`.
87
87
  */
88
88
  readonly id: string;
89
89
  /**
package/getUsers.d.ts CHANGED
@@ -66,6 +66,10 @@ export interface GetUsersArgs {
66
66
  * Filters only external users.
67
67
  */
68
68
  external?: boolean;
69
+ /**
70
+ * Filters only regular users that are not bot or internal users.
71
+ */
72
+ humans?: boolean;
69
73
  /**
70
74
  * Order the users' list by `id`, `name`, `username`, `createdAt` or `updatedAt`. (Requires administrator privileges)
71
75
  */
@@ -128,7 +132,11 @@ export interface GetUsersResult {
128
132
  */
129
133
  readonly external?: boolean;
130
134
  /**
131
- * The provider-assigned unique ID for this managed resource.
135
+ * Filters only regular users that are not bot or internal users.
136
+ */
137
+ readonly humans?: boolean;
138
+ /**
139
+ * The ID of this datasource. In the format of a hash taken from the search options.
132
140
  */
133
141
  readonly id: string;
134
142
  /**
@@ -222,6 +230,10 @@ export interface GetUsersOutputArgs {
222
230
  * Filters only external users.
223
231
  */
224
232
  external?: pulumi.Input<boolean>;
233
+ /**
234
+ * Filters only regular users that are not bot or internal users.
235
+ */
236
+ humans?: pulumi.Input<boolean>;
225
237
  /**
226
238
  * Order the users' list by `id`, `name`, `username`, `createdAt` or `updatedAt`. (Requires administrator privileges)
227
239
  */
package/getUsers.js CHANGED
@@ -43,6 +43,7 @@ function getUsers(args, opts) {
43
43
  "externProvider": args.externProvider,
44
44
  "externUid": args.externUid,
45
45
  "external": args.external,
46
+ "humans": args.humans,
46
47
  "orderBy": args.orderBy,
47
48
  "search": args.search,
48
49
  "sort": args.sort,
@@ -89,6 +90,7 @@ function getUsersOutput(args, opts) {
89
90
  "externProvider": args.externProvider,
90
91
  "externUid": args.externUid,
91
92
  "external": args.external,
93
+ "humans": args.humans,
92
94
  "orderBy": args.orderBy,
93
95
  "search": args.search,
94
96
  "sort": args.sort,
package/getUsers.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"getUsers.js","sourceRoot":"","sources":["../getUsers.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,SAAgB,QAAQ,CAAC,IAAmB,EAAE,IAA2B;IACrE,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,gCAAgC,EAAE;QAC3D,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,iBAAiB,EAAE,IAAI,CAAC,eAAe;QACvC,iBAAiB,EAAE,IAAI,CAAC,eAAe;QACvC,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,QAAQ,EAAE,IAAI,C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,OAAO;QACvB,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,iBAAiB,EAAE,IAAI,CAAC,eAAe;QACvC,iBAAiB,EAAE,IAAI,CAAC,eAAe;QACvC,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,oBAAoB,EAAE,IAAI,CAAC,kBAAkB;KAChD,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AApBD,wCAoBC"}
package/group.d.ts CHANGED
@@ -202,7 +202,7 @@ export declare class Group extends pulumi.CustomResource {
202
202
  */
203
203
  readonly preventForkingOutsideGroup: pulumi.Output<boolean>;
204
204
  /**
205
- * Determine if developers can create projects in the group. Valid values are: `noone`, `owner`, `maintainer`, `developer`
205
+ * Determine if developers can create projects in the group. Valid values are: `noone`, `owner`, `maintainer`, `developer`, `administrator`
206
206
  */
207
207
  readonly projectCreationLevel: pulumi.Output<string>;
208
208
  /**
@@ -357,7 +357,7 @@ export interface GroupState {
357
357
  */
358
358
  preventForkingOutsideGroup?: pulumi.Input<boolean>;
359
359
  /**
360
- * Determine if developers can create projects in the group. Valid values are: `noone`, `owner`, `maintainer`, `developer`
360
+ * Determine if developers can create projects in the group. Valid values are: `noone`, `owner`, `maintainer`, `developer`, `administrator`
361
361
  */
362
362
  projectCreationLevel?: pulumi.Input<string>;
363
363
  /**
@@ -492,7 +492,7 @@ export interface GroupArgs {
492
492
  */
493
493
  preventForkingOutsideGroup?: pulumi.Input<boolean>;
494
494
  /**
495
- * Determine if developers can create projects in the group. Valid values are: `noone`, `owner`, `maintainer`, `developer`
495
+ * Determine if developers can create projects in the group. Valid values are: `noone`, `owner`, `maintainer`, `developer`, `administrator`
496
496
  */
497
497
  projectCreationLevel?: pulumi.Input<string>;
498
498
  /**
@@ -0,0 +1,181 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * The `gitlab.GroupDeployToken` resource allows you to manage the lifecycle of deploy tokens on a group.
4
+ *
5
+ * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/deploy_tokens/)
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as gitlab from "@pulumi/gitlab";
12
+ * import * as std from "@pulumi/std";
13
+ *
14
+ * // Example Usage
15
+ * const example = new gitlab.GroupDeployToken("example", {
16
+ * group: "example/deploying",
17
+ * name: "Example group deploy token",
18
+ * username: "example-username",
19
+ * expiresAt: "2020-03-14T00:00:00.000Z",
20
+ * scopes: [
21
+ * "read_repository",
22
+ * "read_registry",
23
+ * ],
24
+ * });
25
+ * const example_two = new gitlab.GroupDeployToken("example-two", {
26
+ * group: "12345678",
27
+ * name: "Example group deploy token expires in 24h",
28
+ * expiresAt: std.timestamp({}).then(invoke => std.timeadd({
29
+ * duration: invoke.result,
30
+ * timestamp: "24h",
31
+ * })).then(invoke => invoke.result),
32
+ * scopes: [
33
+ * "read_repository",
34
+ * "read_registry",
35
+ * ],
36
+ * });
37
+ * ```
38
+ *
39
+ * ## Import
40
+ *
41
+ * Starting in Terraform v1.5.0, you can use an import block to import `gitlab_group_deploy_token`. For example:
42
+ *
43
+ * terraform
44
+ *
45
+ * import {
46
+ *
47
+ * to = gitlab_group_deploy_token.example
48
+ *
49
+ * id = "see CLI command below for ID"
50
+ *
51
+ * }
52
+ *
53
+ * Importing using the CLI is supported with the following syntax:
54
+ *
55
+ * GitLab group deploy tokens can be imported using an id made up of `{group_id}:{deploy_token_id}`.
56
+ *
57
+ * ```sh
58
+ * $ pulumi import gitlab:index/groupDeployToken:GroupDeployToken group_token 1:4
59
+ * ```
60
+ *
61
+ * Note: the `token` resource attribute is not available for imported resources as this information cannot be read from the GitLab API.
62
+ */
63
+ export declare class GroupDeployToken extends pulumi.CustomResource {
64
+ /**
65
+ * Get an existing GroupDeployToken resource's state with the given name, ID, and optional extra
66
+ * properties used to qualify the lookup.
67
+ *
68
+ * @param name The _unique_ name of the resulting resource.
69
+ * @param id The _unique_ provider ID of the resource to lookup.
70
+ * @param state Any extra arguments used during the lookup.
71
+ * @param opts Optional settings to control the behavior of the CustomResource.
72
+ */
73
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: GroupDeployTokenState, opts?: pulumi.CustomResourceOptions): GroupDeployToken;
74
+ /**
75
+ * Returns true if the given object is an instance of GroupDeployToken. This is designed to work even
76
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
77
+ */
78
+ static isInstance(obj: any): obj is GroupDeployToken;
79
+ /**
80
+ * True if the token is expired.
81
+ */
82
+ readonly expired: pulumi.Output<boolean>;
83
+ /**
84
+ * Time the token expires in RFC3339 format. Not set by default.
85
+ */
86
+ readonly expiresAt: pulumi.Output<string>;
87
+ /**
88
+ * The Id or full path of the group.
89
+ */
90
+ readonly group: pulumi.Output<string>;
91
+ /**
92
+ * A name to describe the deploy token with.
93
+ */
94
+ readonly name: pulumi.Output<string>;
95
+ /**
96
+ * True if the token is revoked.
97
+ */
98
+ readonly revoked: pulumi.Output<boolean>;
99
+ /**
100
+ * The scopes of the group deploy token. Valid values are: `readRepository`, `readRegistry`, `writeRegistry`, `readVirtualRegistry`, `writeVirtualRegistry`, `readPackageRegistry`, `writePackageRegistry`
101
+ */
102
+ readonly scopes: pulumi.Output<string[]>;
103
+ /**
104
+ * The secret token. This is only populated when creating a new deploy token. **Note**: The token is not available for imported resources.
105
+ */
106
+ readonly token: pulumi.Output<string>;
107
+ /**
108
+ * A username for the deploy token. Default is `gitlab+deploy-token-{n}`.
109
+ */
110
+ readonly username: pulumi.Output<string>;
111
+ /**
112
+ * Create a GroupDeployToken resource with the given unique name, arguments, and options.
113
+ *
114
+ * @param name The _unique_ name of the resource.
115
+ * @param args The arguments to use to populate this resource's properties.
116
+ * @param opts A bag of options that control this resource's behavior.
117
+ */
118
+ constructor(name: string, args: GroupDeployTokenArgs, opts?: pulumi.CustomResourceOptions);
119
+ }
120
+ /**
121
+ * Input properties used for looking up and filtering GroupDeployToken resources.
122
+ */
123
+ export interface GroupDeployTokenState {
124
+ /**
125
+ * True if the token is expired.
126
+ */
127
+ expired?: pulumi.Input<boolean>;
128
+ /**
129
+ * Time the token expires in RFC3339 format. Not set by default.
130
+ */
131
+ expiresAt?: pulumi.Input<string>;
132
+ /**
133
+ * The Id or full path of the group.
134
+ */
135
+ group?: pulumi.Input<string>;
136
+ /**
137
+ * A name to describe the deploy token with.
138
+ */
139
+ name?: pulumi.Input<string>;
140
+ /**
141
+ * True if the token is revoked.
142
+ */
143
+ revoked?: pulumi.Input<boolean>;
144
+ /**
145
+ * The scopes of the group deploy token. Valid values are: `readRepository`, `readRegistry`, `writeRegistry`, `readVirtualRegistry`, `writeVirtualRegistry`, `readPackageRegistry`, `writePackageRegistry`
146
+ */
147
+ scopes?: pulumi.Input<pulumi.Input<string>[]>;
148
+ /**
149
+ * The secret token. This is only populated when creating a new deploy token. **Note**: The token is not available for imported resources.
150
+ */
151
+ token?: pulumi.Input<string>;
152
+ /**
153
+ * A username for the deploy token. Default is `gitlab+deploy-token-{n}`.
154
+ */
155
+ username?: pulumi.Input<string>;
156
+ }
157
+ /**
158
+ * The set of arguments for constructing a GroupDeployToken resource.
159
+ */
160
+ export interface GroupDeployTokenArgs {
161
+ /**
162
+ * Time the token expires in RFC3339 format. Not set by default.
163
+ */
164
+ expiresAt?: pulumi.Input<string>;
165
+ /**
166
+ * The Id or full path of the group.
167
+ */
168
+ group: pulumi.Input<string>;
169
+ /**
170
+ * A name to describe the deploy token with.
171
+ */
172
+ name?: pulumi.Input<string>;
173
+ /**
174
+ * The scopes of the group deploy token. Valid values are: `readRepository`, `readRegistry`, `writeRegistry`, `readVirtualRegistry`, `writeVirtualRegistry`, `readPackageRegistry`, `writePackageRegistry`
175
+ */
176
+ scopes: pulumi.Input<pulumi.Input<string>[]>;
177
+ /**
178
+ * A username for the deploy token. Default is `gitlab+deploy-token-{n}`.
179
+ */
180
+ username?: pulumi.Input<string>;
181
+ }