@pulumi/gitlab 10.5.0-alpha.1793427266 → 10.5.0-alpha.1793686785
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/getGroupHook.d.ts +26 -0
- package/getGroupHook.d.ts.map +1 -1
- package/getGroupHook.js +26 -0
- package/getGroupHook.js.map +1 -1
- package/getGroupHooks.d.ts +24 -0
- package/getGroupHooks.d.ts.map +1 -1
- package/getGroupHooks.js +24 -0
- package/getGroupHooks.js.map +1 -1
- package/getGroupSamlLinks.d.ts +24 -0
- package/getGroupSamlLinks.d.ts.map +1 -1
- package/getGroupSamlLinks.js +24 -0
- package/getGroupSamlLinks.js.map +1 -1
- package/getGroupServiceAccount.d.ts +28 -0
- package/getGroupServiceAccount.d.ts.map +1 -1
- package/getGroupServiceAccount.js +28 -0
- package/getGroupServiceAccount.js.map +1 -1
- package/getGroupServiceAccountAccessTokens.d.ts +32 -0
- package/getGroupServiceAccountAccessTokens.d.ts.map +1 -1
- package/getGroupServiceAccountAccessTokens.js +32 -0
- package/getGroupServiceAccountAccessTokens.js.map +1 -1
- package/package.json +2 -2
- package/projectApprovalRule.d.ts +1 -1
- package/projectApprovalRule.js +1 -1
- package/projectJobTokenScope.d.ts +44 -0
- package/projectJobTokenScope.d.ts.map +1 -1
- package/projectJobTokenScope.js +44 -0
- package/projectJobTokenScope.js.map +1 -1
package/getGroupHook.d.ts
CHANGED
|
@@ -5,6 +5,19 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
5
5
|
* **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/group_webhooks/#get-a-group-hook)
|
|
6
6
|
*
|
|
7
7
|
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as gitlab from "@pulumi/gitlab";
|
|
12
|
+
*
|
|
13
|
+
* const example = gitlab.getGroup({
|
|
14
|
+
* id: "foo/bar/baz",
|
|
15
|
+
* });
|
|
16
|
+
* const exampleGetGroupHook = example.then(example => gitlab.getGroupHook({
|
|
17
|
+
* group: example.id,
|
|
18
|
+
* hookId: 1,
|
|
19
|
+
* }));
|
|
20
|
+
* ```
|
|
8
21
|
*/
|
|
9
22
|
export declare function getGroupHook(args: GetGroupHookArgs, opts?: pulumi.InvokeOptions): Promise<GetGroupHookResult>;
|
|
10
23
|
/**
|
|
@@ -163,6 +176,19 @@ export interface GetGroupHookResult {
|
|
|
163
176
|
* **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/group_webhooks/#get-a-group-hook)
|
|
164
177
|
*
|
|
165
178
|
* ## Example Usage
|
|
179
|
+
*
|
|
180
|
+
* ```typescript
|
|
181
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
182
|
+
* import * as gitlab from "@pulumi/gitlab";
|
|
183
|
+
*
|
|
184
|
+
* const example = gitlab.getGroup({
|
|
185
|
+
* id: "foo/bar/baz",
|
|
186
|
+
* });
|
|
187
|
+
* const exampleGetGroupHook = example.then(example => gitlab.getGroupHook({
|
|
188
|
+
* group: example.id,
|
|
189
|
+
* hookId: 1,
|
|
190
|
+
* }));
|
|
191
|
+
* ```
|
|
166
192
|
*/
|
|
167
193
|
export declare function getGroupHookOutput(args: GetGroupHookOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetGroupHookResult>;
|
|
168
194
|
/**
|
package/getGroupHook.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getGroupHook.d.ts","sourceRoot":"","sources":["../getGroupHook.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC
|
|
1
|
+
{"version":3,"file":"getGroupHook.d.ts","sourceRoot":"","sources":["../getGroupHook.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,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AM,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAChC"}
|
package/getGroupHook.js
CHANGED
|
@@ -34,6 +34,19 @@ const utilities = __importStar(require("./utilities"));
|
|
|
34
34
|
* **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/group_webhooks/#get-a-group-hook)
|
|
35
35
|
*
|
|
36
36
|
* ## Example Usage
|
|
37
|
+
*
|
|
38
|
+
* ```typescript
|
|
39
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
40
|
+
* import * as gitlab from "@pulumi/gitlab";
|
|
41
|
+
*
|
|
42
|
+
* const example = gitlab.getGroup({
|
|
43
|
+
* id: "foo/bar/baz",
|
|
44
|
+
* });
|
|
45
|
+
* const exampleGetGroupHook = example.then(example => gitlab.getGroupHook({
|
|
46
|
+
* group: example.id,
|
|
47
|
+
* hookId: 1,
|
|
48
|
+
* }));
|
|
49
|
+
* ```
|
|
37
50
|
*/
|
|
38
51
|
function getGroupHook(args, opts) {
|
|
39
52
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -49,6 +62,19 @@ exports.getGroupHook = getGroupHook;
|
|
|
49
62
|
* **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/group_webhooks/#get-a-group-hook)
|
|
50
63
|
*
|
|
51
64
|
* ## Example Usage
|
|
65
|
+
*
|
|
66
|
+
* ```typescript
|
|
67
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
68
|
+
* import * as gitlab from "@pulumi/gitlab";
|
|
69
|
+
*
|
|
70
|
+
* const example = gitlab.getGroup({
|
|
71
|
+
* id: "foo/bar/baz",
|
|
72
|
+
* });
|
|
73
|
+
* const exampleGetGroupHook = example.then(example => gitlab.getGroupHook({
|
|
74
|
+
* group: example.id,
|
|
75
|
+
* hookId: 1,
|
|
76
|
+
* }));
|
|
77
|
+
* ```
|
|
52
78
|
*/
|
|
53
79
|
function getGroupHookOutput(args, opts) {
|
|
54
80
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
package/getGroupHook.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getGroupHook.js","sourceRoot":"","sources":["../getGroupHook.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getGroupHook.js","sourceRoot":"","sources":["../getGroupHook.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAA2B;IAC5E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wCAAwC,EAAE;QACnE,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,oCAMC;AAyJD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAAiC;IAC9F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,wCAAwC,EAAE;QACzE,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,gDAMC"}
|
package/getGroupHooks.d.ts
CHANGED
|
@@ -6,6 +6,18 @@ import * as outputs from "./types/output";
|
|
|
6
6
|
* **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/group_webhooks/#list-group-hooks)
|
|
7
7
|
*
|
|
8
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.getGroup({
|
|
15
|
+
* id: "foo/bar/baz",
|
|
16
|
+
* });
|
|
17
|
+
* const examples = example.then(example => gitlab.getGroupHooks({
|
|
18
|
+
* group: example.id,
|
|
19
|
+
* }));
|
|
20
|
+
* ```
|
|
9
21
|
*/
|
|
10
22
|
export declare function getGroupHooks(args: GetGroupHooksArgs, opts?: pulumi.InvokeOptions): Promise<GetGroupHooksResult>;
|
|
11
23
|
/**
|
|
@@ -40,6 +52,18 @@ export interface GetGroupHooksResult {
|
|
|
40
52
|
* **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/group_webhooks/#list-group-hooks)
|
|
41
53
|
*
|
|
42
54
|
* ## Example Usage
|
|
55
|
+
*
|
|
56
|
+
* ```typescript
|
|
57
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
58
|
+
* import * as gitlab from "@pulumi/gitlab";
|
|
59
|
+
*
|
|
60
|
+
* const example = gitlab.getGroup({
|
|
61
|
+
* id: "foo/bar/baz",
|
|
62
|
+
* });
|
|
63
|
+
* const examples = example.then(example => gitlab.getGroupHooks({
|
|
64
|
+
* group: example.id,
|
|
65
|
+
* }));
|
|
66
|
+
* ```
|
|
43
67
|
*/
|
|
44
68
|
export declare function getGroupHooksOutput(args: GetGroupHooksOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetGroupHooksResult>;
|
|
45
69
|
/**
|
package/getGroupHooks.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getGroupHooks.d.ts","sourceRoot":"","sources":["../getGroupHooks.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C
|
|
1
|
+
{"version":3,"file":"getGroupHooks.d.ts","sourceRoot":"","sources":["../getGroupHooks.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,aAAa,CAAC,IAAI,EAAE,iBAAiB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAKhH;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAC9B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAChC;;OAEG;IACH,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAC,iBAAiB,EAAE,CAAC;IAC5C;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;CACvB;AACD;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,uBAAuB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,mBAAmB,CAAC,CAKxI;AAED;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACpC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAC/B"}
|
package/getGroupHooks.js
CHANGED
|
@@ -34,6 +34,18 @@ const utilities = __importStar(require("./utilities"));
|
|
|
34
34
|
* **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/group_webhooks/#list-group-hooks)
|
|
35
35
|
*
|
|
36
36
|
* ## Example Usage
|
|
37
|
+
*
|
|
38
|
+
* ```typescript
|
|
39
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
40
|
+
* import * as gitlab from "@pulumi/gitlab";
|
|
41
|
+
*
|
|
42
|
+
* const example = gitlab.getGroup({
|
|
43
|
+
* id: "foo/bar/baz",
|
|
44
|
+
* });
|
|
45
|
+
* const examples = example.then(example => gitlab.getGroupHooks({
|
|
46
|
+
* group: example.id,
|
|
47
|
+
* }));
|
|
48
|
+
* ```
|
|
37
49
|
*/
|
|
38
50
|
function getGroupHooks(args, opts) {
|
|
39
51
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -48,6 +60,18 @@ exports.getGroupHooks = getGroupHooks;
|
|
|
48
60
|
* **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/group_webhooks/#list-group-hooks)
|
|
49
61
|
*
|
|
50
62
|
* ## Example Usage
|
|
63
|
+
*
|
|
64
|
+
* ```typescript
|
|
65
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
66
|
+
* import * as gitlab from "@pulumi/gitlab";
|
|
67
|
+
*
|
|
68
|
+
* const example = gitlab.getGroup({
|
|
69
|
+
* id: "foo/bar/baz",
|
|
70
|
+
* });
|
|
71
|
+
* const examples = example.then(example => gitlab.getGroupHooks({
|
|
72
|
+
* group: example.id,
|
|
73
|
+
* }));
|
|
74
|
+
* ```
|
|
51
75
|
*/
|
|
52
76
|
function getGroupHooksOutput(args, opts) {
|
|
53
77
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
package/getGroupHooks.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getGroupHooks.js","sourceRoot":"","sources":["../getGroupHooks.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getGroupHooks.js","sourceRoot":"","sources":["../getGroupHooks.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAC9E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0CAA0C,EAAE;QACrE,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,sCAKC;AA6BD;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAAiC;IAChG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,0CAA0C,EAAE;QAC3E,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,kDAKC"}
|
package/getGroupSamlLinks.d.ts
CHANGED
|
@@ -6,6 +6,18 @@ import * as outputs from "./types/output";
|
|
|
6
6
|
* **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/saml/#saml-group-links)
|
|
7
7
|
*
|
|
8
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.getGroup({
|
|
15
|
+
* id: "foo/bar/baz",
|
|
16
|
+
* });
|
|
17
|
+
* const exampleGetGroupSamlLinks = example.then(example => gitlab.getGroupSamlLinks({
|
|
18
|
+
* group: example.id,
|
|
19
|
+
* }));
|
|
20
|
+
* ```
|
|
9
21
|
*/
|
|
10
22
|
export declare function getGroupSamlLinks(args: GetGroupSamlLinksArgs, opts?: pulumi.InvokeOptions): Promise<GetGroupSamlLinksResult>;
|
|
11
23
|
/**
|
|
@@ -40,6 +52,18 @@ export interface GetGroupSamlLinksResult {
|
|
|
40
52
|
* **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/saml/#saml-group-links)
|
|
41
53
|
*
|
|
42
54
|
* ## Example Usage
|
|
55
|
+
*
|
|
56
|
+
* ```typescript
|
|
57
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
58
|
+
* import * as gitlab from "@pulumi/gitlab";
|
|
59
|
+
*
|
|
60
|
+
* const example = gitlab.getGroup({
|
|
61
|
+
* id: "foo/bar/baz",
|
|
62
|
+
* });
|
|
63
|
+
* const exampleGetGroupSamlLinks = example.then(example => gitlab.getGroupSamlLinks({
|
|
64
|
+
* group: example.id,
|
|
65
|
+
* }));
|
|
66
|
+
* ```
|
|
43
67
|
*/
|
|
44
68
|
export declare function getGroupSamlLinksOutput(args: GetGroupSamlLinksOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetGroupSamlLinksResult>;
|
|
45
69
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getGroupSamlLinks.d.ts","sourceRoot":"","sources":["../getGroupSamlLinks.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C
|
|
1
|
+
{"version":3,"file":"getGroupSamlLinks.d.ts","sourceRoot":"","sources":["../getGroupSamlLinks.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,qBAAqB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,uBAAuB,CAAC,CAK5H;AAED;;GAEG;AACH,MAAM,WAAW,qBAAqB;IAClC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACpC;;OAEG;IACH,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC,yBAAyB,EAAE,CAAC;CAC3D;AACD;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,2BAA2B,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,uBAAuB,CAAC,CAKpJ;AAED;;GAEG;AACH,MAAM,WAAW,2BAA2B;IACxC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAC/B"}
|
package/getGroupSamlLinks.js
CHANGED
|
@@ -34,6 +34,18 @@ const utilities = __importStar(require("./utilities"));
|
|
|
34
34
|
* **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/saml/#saml-group-links)
|
|
35
35
|
*
|
|
36
36
|
* ## Example Usage
|
|
37
|
+
*
|
|
38
|
+
* ```typescript
|
|
39
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
40
|
+
* import * as gitlab from "@pulumi/gitlab";
|
|
41
|
+
*
|
|
42
|
+
* const example = gitlab.getGroup({
|
|
43
|
+
* id: "foo/bar/baz",
|
|
44
|
+
* });
|
|
45
|
+
* const exampleGetGroupSamlLinks = example.then(example => gitlab.getGroupSamlLinks({
|
|
46
|
+
* group: example.id,
|
|
47
|
+
* }));
|
|
48
|
+
* ```
|
|
37
49
|
*/
|
|
38
50
|
function getGroupSamlLinks(args, opts) {
|
|
39
51
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -48,6 +60,18 @@ exports.getGroupSamlLinks = getGroupSamlLinks;
|
|
|
48
60
|
* **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/saml/#saml-group-links)
|
|
49
61
|
*
|
|
50
62
|
* ## Example Usage
|
|
63
|
+
*
|
|
64
|
+
* ```typescript
|
|
65
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
66
|
+
* import * as gitlab from "@pulumi/gitlab";
|
|
67
|
+
*
|
|
68
|
+
* const example = gitlab.getGroup({
|
|
69
|
+
* id: "foo/bar/baz",
|
|
70
|
+
* });
|
|
71
|
+
* const exampleGetGroupSamlLinks = example.then(example => gitlab.getGroupSamlLinks({
|
|
72
|
+
* group: example.id,
|
|
73
|
+
* }));
|
|
74
|
+
* ```
|
|
51
75
|
*/
|
|
52
76
|
function getGroupSamlLinksOutput(args, opts) {
|
|
53
77
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
package/getGroupSamlLinks.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getGroupSamlLinks.js","sourceRoot":"","sources":["../getGroupSamlLinks.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getGroupSamlLinks.js","sourceRoot":"","sources":["../getGroupSamlLinks.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IACtF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kDAAkD,EAAE;QAC7E,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,8CAKC;AA6BD;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,uBAAuB,CAAC,IAAiC,EAAE,IAAiC;IACxG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,kDAAkD,EAAE;QACnF,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,0DAKC"}
|
|
@@ -5,6 +5,20 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
5
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
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as gitlab from "@pulumi/gitlab";
|
|
12
|
+
*
|
|
13
|
+
* const example = gitlab.getGroup({
|
|
14
|
+
* id: "foo/bar/baz",
|
|
15
|
+
* });
|
|
16
|
+
* // Basic example
|
|
17
|
+
* const exampleGetGroupServiceAccount = example.then(example => gitlab.getGroupServiceAccount({
|
|
18
|
+
* serviceAccountId: "1",
|
|
19
|
+
* group: example.id,
|
|
20
|
+
* }));
|
|
21
|
+
* ```
|
|
8
22
|
*/
|
|
9
23
|
export declare function getGroupServiceAccount(args: GetGroupServiceAccountArgs, opts?: pulumi.InvokeOptions): Promise<GetGroupServiceAccountResult>;
|
|
10
24
|
/**
|
|
@@ -55,6 +69,20 @@ export interface GetGroupServiceAccountResult {
|
|
|
55
69
|
* **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/service_accounts/#list-all-group-service-accounts)
|
|
56
70
|
*
|
|
57
71
|
* ## Example Usage
|
|
72
|
+
*
|
|
73
|
+
* ```typescript
|
|
74
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
75
|
+
* import * as gitlab from "@pulumi/gitlab";
|
|
76
|
+
*
|
|
77
|
+
* const example = gitlab.getGroup({
|
|
78
|
+
* id: "foo/bar/baz",
|
|
79
|
+
* });
|
|
80
|
+
* // Basic example
|
|
81
|
+
* const exampleGetGroupServiceAccount = example.then(example => gitlab.getGroupServiceAccount({
|
|
82
|
+
* serviceAccountId: "1",
|
|
83
|
+
* group: example.id,
|
|
84
|
+
* }));
|
|
85
|
+
* ```
|
|
58
86
|
*/
|
|
59
87
|
export declare function getGroupServiceAccountOutput(args: GetGroupServiceAccountOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetGroupServiceAccountResult>;
|
|
60
88
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getGroupServiceAccount.d.ts","sourceRoot":"","sources":["../getGroupServiceAccount.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC
|
|
1
|
+
{"version":3,"file":"getGroupServiceAccount.d.ts","sourceRoot":"","sources":["../getGroupServiceAccount.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,0BAA0B,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,4BAA4B,CAAC,CAM3I;AAED;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACvC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,gBAAgB,EAAE,MAAM,CAAC;CAC5B;AAED;;GAEG;AACH,MAAM,WAAW,4BAA4B;IACzC;;OAEG;IACH,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,QAAQ,CAAC,gBAAgB,EAAE,MAAM,CAAC;IAClC;;OAEG;IACH,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;CAC7B;AACD;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,gCAAgC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,4BAA4B,CAAC,CAMnK;AAED;;GAEG;AACH,MAAM,WAAW,gCAAgC;IAC7C;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC5B;;OAEG;IACH,gBAAgB,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAC1C"}
|
|
@@ -34,6 +34,20 @@ const utilities = __importStar(require("./utilities"));
|
|
|
34
34
|
* **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/service_accounts/#list-all-group-service-accounts)
|
|
35
35
|
*
|
|
36
36
|
* ## Example Usage
|
|
37
|
+
*
|
|
38
|
+
* ```typescript
|
|
39
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
40
|
+
* import * as gitlab from "@pulumi/gitlab";
|
|
41
|
+
*
|
|
42
|
+
* const example = gitlab.getGroup({
|
|
43
|
+
* id: "foo/bar/baz",
|
|
44
|
+
* });
|
|
45
|
+
* // Basic example
|
|
46
|
+
* const exampleGetGroupServiceAccount = example.then(example => gitlab.getGroupServiceAccount({
|
|
47
|
+
* serviceAccountId: "1",
|
|
48
|
+
* group: example.id,
|
|
49
|
+
* }));
|
|
50
|
+
* ```
|
|
37
51
|
*/
|
|
38
52
|
function getGroupServiceAccount(args, opts) {
|
|
39
53
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -49,6 +63,20 @@ exports.getGroupServiceAccount = getGroupServiceAccount;
|
|
|
49
63
|
* **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/service_accounts/#list-all-group-service-accounts)
|
|
50
64
|
*
|
|
51
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.getGroup({
|
|
72
|
+
* id: "foo/bar/baz",
|
|
73
|
+
* });
|
|
74
|
+
* // Basic example
|
|
75
|
+
* const exampleGetGroupServiceAccount = example.then(example => gitlab.getGroupServiceAccount({
|
|
76
|
+
* serviceAccountId: "1",
|
|
77
|
+
* group: example.id,
|
|
78
|
+
* }));
|
|
79
|
+
* ```
|
|
52
80
|
*/
|
|
53
81
|
function getGroupServiceAccountOutput(args, opts) {
|
|
54
82
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getGroupServiceAccount.js","sourceRoot":"","sources":["../getGroupServiceAccount.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getGroupServiceAccount.js","sourceRoot":"","sources":["../getGroupServiceAccount.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAA2B;IAChG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4DAA4D,EAAE;QACvF,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;KAC5C,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,wDAMC;AA6CD;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,4BAA4B,CAAC,IAAsC,EAAE,IAAiC;IAClH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,4DAA4D,EAAE;QAC7F,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;KAC5C,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,oEAMC"}
|
|
@@ -10,6 +10,22 @@ import * as outputs from "./types/output";
|
|
|
10
10
|
* **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/personal_access_tokens/#list-all-personal-access-tokens)
|
|
11
11
|
*
|
|
12
12
|
* ## Example Usage
|
|
13
|
+
*
|
|
14
|
+
* ```typescript
|
|
15
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
16
|
+
* import * as gitlab from "@pulumi/gitlab";
|
|
17
|
+
*
|
|
18
|
+
* const example = gitlab.getGroup({
|
|
19
|
+
* id: "foo/bar/baz",
|
|
20
|
+
* });
|
|
21
|
+
* // List all access tokens for a group service account
|
|
22
|
+
* const exampleGetGroupServiceAccountAccessTokens = example.then(example => gitlab.getGroupServiceAccountAccessTokens({
|
|
23
|
+
* group: example.id,
|
|
24
|
+
* serviceAccountId: 123,
|
|
25
|
+
* }));
|
|
26
|
+
* export const tokenNames = exampleGetGroupServiceAccountAccessTokens.then(exampleGetGroupServiceAccountAccessTokens => .map(token => (token.name)));
|
|
27
|
+
* export const activeTokens = exampleGetGroupServiceAccountAccessTokens.then(exampleGetGroupServiceAccountAccessTokens => .filter(token => token.active).map(token => (token)));
|
|
28
|
+
* ```
|
|
13
29
|
*/
|
|
14
30
|
export declare function getGroupServiceAccountAccessTokens(args: GetGroupServiceAccountAccessTokensArgs, opts?: pulumi.InvokeOptions): Promise<GetGroupServiceAccountAccessTokensResult>;
|
|
15
31
|
/**
|
|
@@ -56,6 +72,22 @@ export interface GetGroupServiceAccountAccessTokensResult {
|
|
|
56
72
|
* **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/personal_access_tokens/#list-all-personal-access-tokens)
|
|
57
73
|
*
|
|
58
74
|
* ## Example Usage
|
|
75
|
+
*
|
|
76
|
+
* ```typescript
|
|
77
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
78
|
+
* import * as gitlab from "@pulumi/gitlab";
|
|
79
|
+
*
|
|
80
|
+
* const example = gitlab.getGroup({
|
|
81
|
+
* id: "foo/bar/baz",
|
|
82
|
+
* });
|
|
83
|
+
* // List all access tokens for a group service account
|
|
84
|
+
* const exampleGetGroupServiceAccountAccessTokens = example.then(example => gitlab.getGroupServiceAccountAccessTokens({
|
|
85
|
+
* group: example.id,
|
|
86
|
+
* serviceAccountId: 123,
|
|
87
|
+
* }));
|
|
88
|
+
* export const tokenNames = exampleGetGroupServiceAccountAccessTokens.then(exampleGetGroupServiceAccountAccessTokens => .map(token => (token.name)));
|
|
89
|
+
* export const activeTokens = exampleGetGroupServiceAccountAccessTokens.then(exampleGetGroupServiceAccountAccessTokens => .filter(token => token.active).map(token => (token)));
|
|
90
|
+
* ```
|
|
59
91
|
*/
|
|
60
92
|
export declare function getGroupServiceAccountAccessTokensOutput(args: GetGroupServiceAccountAccessTokensOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetGroupServiceAccountAccessTokensResult>;
|
|
61
93
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getGroupServiceAccountAccessTokens.d.ts","sourceRoot":"","sources":["../getGroupServiceAccountAccessTokens.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C
|
|
1
|
+
{"version":3,"file":"getGroupServiceAccountAccessTokens.d.ts","sourceRoot":"","sources":["../getGroupServiceAccountAccessTokens.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,sCAAsC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,wCAAwC,CAAC,CAM/K;AAED;;GAEG;AACH,MAAM,WAAW,sCAAsC;IACnD;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,gBAAgB,EAAE,MAAM,CAAC;CAC5B;AAED;;GAEG;AACH,MAAM,WAAW,wCAAwC;IACrD;;OAEG;IACH,QAAQ,CAAC,YAAY,EAAE,OAAO,CAAC,6CAA6C,EAAE,CAAC;IAC/E;;OAEG;IACH,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,gBAAgB,EAAE,MAAM,CAAC;CACrC;AACD;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,wBAAgB,wCAAwC,CAAC,IAAI,EAAE,4CAA4C,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,wCAAwC,CAAC,CAMvM;AAED;;GAEG;AACH,MAAM,WAAW,4CAA4C;IACzD;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC5B;;OAEG;IACH,gBAAgB,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAC1C"}
|
|
@@ -38,6 +38,22 @@ const utilities = __importStar(require("./utilities"));
|
|
|
38
38
|
* **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/personal_access_tokens/#list-all-personal-access-tokens)
|
|
39
39
|
*
|
|
40
40
|
* ## Example Usage
|
|
41
|
+
*
|
|
42
|
+
* ```typescript
|
|
43
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
44
|
+
* import * as gitlab from "@pulumi/gitlab";
|
|
45
|
+
*
|
|
46
|
+
* const example = gitlab.getGroup({
|
|
47
|
+
* id: "foo/bar/baz",
|
|
48
|
+
* });
|
|
49
|
+
* // List all access tokens for a group service account
|
|
50
|
+
* const exampleGetGroupServiceAccountAccessTokens = example.then(example => gitlab.getGroupServiceAccountAccessTokens({
|
|
51
|
+
* group: example.id,
|
|
52
|
+
* serviceAccountId: 123,
|
|
53
|
+
* }));
|
|
54
|
+
* export const tokenNames = exampleGetGroupServiceAccountAccessTokens.then(exampleGetGroupServiceAccountAccessTokens => .map(token => (token.name)));
|
|
55
|
+
* export const activeTokens = exampleGetGroupServiceAccountAccessTokens.then(exampleGetGroupServiceAccountAccessTokens => .filter(token => token.active).map(token => (token)));
|
|
56
|
+
* ```
|
|
41
57
|
*/
|
|
42
58
|
function getGroupServiceAccountAccessTokens(args, opts) {
|
|
43
59
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -57,6 +73,22 @@ exports.getGroupServiceAccountAccessTokens = getGroupServiceAccountAccessTokens;
|
|
|
57
73
|
* **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/personal_access_tokens/#list-all-personal-access-tokens)
|
|
58
74
|
*
|
|
59
75
|
* ## Example Usage
|
|
76
|
+
*
|
|
77
|
+
* ```typescript
|
|
78
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
79
|
+
* import * as gitlab from "@pulumi/gitlab";
|
|
80
|
+
*
|
|
81
|
+
* const example = gitlab.getGroup({
|
|
82
|
+
* id: "foo/bar/baz",
|
|
83
|
+
* });
|
|
84
|
+
* // List all access tokens for a group service account
|
|
85
|
+
* const exampleGetGroupServiceAccountAccessTokens = example.then(example => gitlab.getGroupServiceAccountAccessTokens({
|
|
86
|
+
* group: example.id,
|
|
87
|
+
* serviceAccountId: 123,
|
|
88
|
+
* }));
|
|
89
|
+
* export const tokenNames = exampleGetGroupServiceAccountAccessTokens.then(exampleGetGroupServiceAccountAccessTokens => .map(token => (token.name)));
|
|
90
|
+
* export const activeTokens = exampleGetGroupServiceAccountAccessTokens.then(exampleGetGroupServiceAccountAccessTokens => .filter(token => token.active).map(token => (token)));
|
|
91
|
+
* ```
|
|
60
92
|
*/
|
|
61
93
|
function getGroupServiceAccountAccessTokensOutput(args, opts) {
|
|
62
94
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getGroupServiceAccountAccessTokens.js","sourceRoot":"","sources":["../getGroupServiceAccountAccessTokens.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getGroupServiceAccountAccessTokens.js","sourceRoot":"","sources":["../getGroupServiceAccountAccessTokens.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;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;AAqCD;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;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"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/gitlab",
|
|
3
|
-
"version": "10.5.0-alpha.
|
|
3
|
+
"version": "10.5.0-alpha.1793686785",
|
|
4
4
|
"description": "A Pulumi package for creating and managing GitLab resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -22,6 +22,6 @@
|
|
|
22
22
|
"pulumi": {
|
|
23
23
|
"resource": true,
|
|
24
24
|
"name": "gitlab",
|
|
25
|
-
"version": "10.5.0-alpha.
|
|
25
|
+
"version": "10.5.0-alpha.1793686785"
|
|
26
26
|
}
|
|
27
27
|
}
|
package/projectApprovalRule.d.ts
CHANGED
|
@@ -62,7 +62,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
62
62
|
* project: "5",
|
|
63
63
|
* name: "Example Rule 3",
|
|
64
64
|
* approvalsRequired: 3,
|
|
65
|
-
* userIds:
|
|
65
|
+
* userIds: Object.values(users).map(user => (user.id)),
|
|
66
66
|
* });
|
|
67
67
|
* // Example using `approval_rule` using `any_approver` as rule type
|
|
68
68
|
* const anyApprover = new gitlab.ProjectApprovalRule("any_approver", {
|
package/projectApprovalRule.js
CHANGED
|
@@ -91,7 +91,7 @@ const utilities = __importStar(require("./utilities"));
|
|
|
91
91
|
* project: "5",
|
|
92
92
|
* name: "Example Rule 3",
|
|
93
93
|
* approvalsRequired: 3,
|
|
94
|
-
* userIds:
|
|
94
|
+
* userIds: Object.values(users).map(user => (user.id)),
|
|
95
95
|
* });
|
|
96
96
|
* // Example using `approval_rule` using `any_approver` as rule type
|
|
97
97
|
* const anyApprover = new gitlab.ProjectApprovalRule("any_approver", {
|
|
@@ -9,6 +9,50 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
9
9
|
*
|
|
10
10
|
* ## Example Usage
|
|
11
11
|
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as gitlab from "@pulumi/gitlab";
|
|
15
|
+
* import * as std from "@pulumi/std";
|
|
16
|
+
*
|
|
17
|
+
* export = async () => {
|
|
18
|
+
* const allowedSingleProject = new gitlab.ProjectJobTokenScope("allowed_single_project", {
|
|
19
|
+
* project: "gitlab-org/gitlab",
|
|
20
|
+
* targetProjectId: 123,
|
|
21
|
+
* });
|
|
22
|
+
* const allowedProjectIds = [
|
|
23
|
+
* 123,
|
|
24
|
+
* 456,
|
|
25
|
+
* 789,
|
|
26
|
+
* ];
|
|
27
|
+
* const allowedGroupIds = [
|
|
28
|
+
* 123,
|
|
29
|
+
* 456,
|
|
30
|
+
* 789,
|
|
31
|
+
* ];
|
|
32
|
+
* const deploymentProject = await gitlab.getProject({
|
|
33
|
+
* name: "example-project",
|
|
34
|
+
* });
|
|
35
|
+
* const allowedProject: gitlab.ProjectJobTokenScope[] = [];
|
|
36
|
+
* for (const range of std.toset({
|
|
37
|
+
* input: allowedProjectIds,
|
|
38
|
+
* }).result.map((v, k) => ({key: k, value: v}))) {
|
|
39
|
+
* allowedProject.push(new gitlab.ProjectJobTokenScope(`allowed_project-${range.key}`, {
|
|
40
|
+
* project: deploymentProject.id,
|
|
41
|
+
* targetProjectId: range.key,
|
|
42
|
+
* }));
|
|
43
|
+
* }
|
|
44
|
+
* const allowedGroup: gitlab.ProjectJobTokenScope[] = [];
|
|
45
|
+
* for (const range of std.toset({
|
|
46
|
+
* input: allowedGroupIds,
|
|
47
|
+
* }).result.map((v, k) => ({key: k, value: v}))) {
|
|
48
|
+
* allowedGroup.push(new gitlab.ProjectJobTokenScope(`allowed_group-${range.key}`, {
|
|
49
|
+
* project: deploymentProject.id,
|
|
50
|
+
* targetGroupId: range.key,
|
|
51
|
+
* }));
|
|
52
|
+
* }
|
|
53
|
+
* }
|
|
54
|
+
* ```
|
|
55
|
+
*
|
|
12
56
|
* ## Import
|
|
13
57
|
*
|
|
14
58
|
* Starting in Terraform v1.5.0, you can use an import block to import `gitlab.ProjectJobTokenScope`. For example:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"projectJobTokenScope.d.ts","sourceRoot":"","sources":["../projectJobTokenScope.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC
|
|
1
|
+
{"version":3,"file":"projectJobTokenScope.d.ts","sourceRoot":"","sources":["../projectJobTokenScope.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyEG;AACH,qBAAa,oBAAqB,SAAQ,MAAM,CAAC,cAAc;IAC3D;;;;;;;;OA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AC,MAAM,GAAG,SAAS,CAAC,CAAC;CACtD"}
|
package/projectJobTokenScope.js
CHANGED
|
@@ -38,6 +38,50 @@ const utilities = __importStar(require("./utilities"));
|
|
|
38
38
|
*
|
|
39
39
|
* ## Example Usage
|
|
40
40
|
*
|
|
41
|
+
* ```typescript
|
|
42
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
43
|
+
* import * as gitlab from "@pulumi/gitlab";
|
|
44
|
+
* import * as std from "@pulumi/std";
|
|
45
|
+
*
|
|
46
|
+
* export = async () => {
|
|
47
|
+
* const allowedSingleProject = new gitlab.ProjectJobTokenScope("allowed_single_project", {
|
|
48
|
+
* project: "gitlab-org/gitlab",
|
|
49
|
+
* targetProjectId: 123,
|
|
50
|
+
* });
|
|
51
|
+
* const allowedProjectIds = [
|
|
52
|
+
* 123,
|
|
53
|
+
* 456,
|
|
54
|
+
* 789,
|
|
55
|
+
* ];
|
|
56
|
+
* const allowedGroupIds = [
|
|
57
|
+
* 123,
|
|
58
|
+
* 456,
|
|
59
|
+
* 789,
|
|
60
|
+
* ];
|
|
61
|
+
* const deploymentProject = await gitlab.getProject({
|
|
62
|
+
* name: "example-project",
|
|
63
|
+
* });
|
|
64
|
+
* const allowedProject: gitlab.ProjectJobTokenScope[] = [];
|
|
65
|
+
* for (const range of std.toset({
|
|
66
|
+
* input: allowedProjectIds,
|
|
67
|
+
* }).result.map((v, k) => ({key: k, value: v}))) {
|
|
68
|
+
* allowedProject.push(new gitlab.ProjectJobTokenScope(`allowed_project-${range.key}`, {
|
|
69
|
+
* project: deploymentProject.id,
|
|
70
|
+
* targetProjectId: range.key,
|
|
71
|
+
* }));
|
|
72
|
+
* }
|
|
73
|
+
* const allowedGroup: gitlab.ProjectJobTokenScope[] = [];
|
|
74
|
+
* for (const range of std.toset({
|
|
75
|
+
* input: allowedGroupIds,
|
|
76
|
+
* }).result.map((v, k) => ({key: k, value: v}))) {
|
|
77
|
+
* allowedGroup.push(new gitlab.ProjectJobTokenScope(`allowed_group-${range.key}`, {
|
|
78
|
+
* project: deploymentProject.id,
|
|
79
|
+
* targetGroupId: range.key,
|
|
80
|
+
* }));
|
|
81
|
+
* }
|
|
82
|
+
* }
|
|
83
|
+
* ```
|
|
84
|
+
*
|
|
41
85
|
* ## Import
|
|
42
86
|
*
|
|
43
87
|
* Starting in Terraform v1.5.0, you can use an import block to import `gitlab.ProjectJobTokenScope`. For example:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"projectJobTokenScope.js","sourceRoot":"","sources":["../projectJobTokenScope.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"projectJobTokenScope.js","sourceRoot":"","sources":["../projectJobTokenScope.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyEG;AACH,MAAa,oBAAqB,SAAQ,MAAM,CAAC,cAAc;IAC3D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAiC,EAAE,IAAmC;QAC/H,OAAO,IAAI,oBAAoB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC3E,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,wDAAwD,CAAC;IAE/F;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,C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