@pulumi/gitlab 4.10.0-alpha.1682005211 → 4.10.0-alpha.1682612078
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/applicationSettings.d.ts +1 -1
- package/applicationSettings.js +1 -1
- package/getBranch.d.ts +19 -3
- package/getBranch.js +21 -8
- package/getBranch.js.map +1 -1
- package/getClusterAgent.d.ts +21 -2
- package/getClusterAgent.js +23 -7
- package/getClusterAgent.js.map +1 -1
- package/getClusterAgents.d.ts +20 -2
- package/getClusterAgents.js +22 -7
- package/getClusterAgents.js.map +1 -1
- package/getCurrentUser.d.ts +1 -1
- package/getCurrentUser.js +2 -5
- package/getCurrentUser.js.map +1 -1
- package/getGroup.d.ts +18 -3
- package/getGroup.js +20 -8
- package/getGroup.js.map +1 -1
- package/getGroupHook.d.ts +5 -0
- package/getGroupHook.js +7 -5
- package/getGroupHook.js.map +1 -1
- package/getGroupHooks.d.ts +5 -0
- package/getGroupHooks.js +7 -5
- package/getGroupHooks.js.map +1 -1
- package/getGroupMembership.d.ts +18 -3
- package/getGroupMembership.js +20 -8
- package/getGroupMembership.js.map +1 -1
- package/getGroupVariable.d.ts +26 -5
- package/getGroupVariable.js +28 -10
- package/getGroupVariable.js.map +1 -1
- package/getGroupVariables.d.ts +24 -5
- package/getGroupVariables.js +26 -10
- package/getGroupVariables.js.map +1 -1
- package/getInstanceDeployKeys.d.ts +21 -4
- package/getInstanceDeployKeys.js +23 -9
- package/getInstanceDeployKeys.js.map +1 -1
- package/getInstanceVariable.d.ts +18 -2
- package/getInstanceVariable.js +20 -7
- package/getInstanceVariable.js.map +1 -1
- package/getInstanceVariables.d.ts +1 -1
- package/getInstanceVariables.js +2 -5
- package/getInstanceVariables.js.map +1 -1
- package/getProject.d.ts +18 -2
- package/getProject.js +20 -7
- package/getProject.js.map +1 -1
- package/getProjectHook.d.ts +20 -0
- package/getProjectHook.js +22 -5
- package/getProjectHook.js.map +1 -1
- package/getProjectHooks.d.ts +19 -0
- package/getProjectHooks.js +21 -5
- package/getProjectHooks.js.map +1 -1
- package/getProjectIssue.d.ts +21 -0
- package/getProjectIssue.js +23 -5
- package/getProjectIssue.js.map +1 -1
- package/getProjectIssues.d.ts +20 -0
- package/getProjectIssues.js +22 -5
- package/getProjectIssues.js.map +1 -1
- package/getProjectMembership.d.ts +21 -4
- package/getProjectMembership.js +23 -9
- package/getProjectMembership.js.map +1 -1
- package/getProjectMilestone.d.ts +19 -3
- package/getProjectMilestone.js +21 -8
- package/getProjectMilestone.js.map +1 -1
- package/getProjectMilestones.d.ts +18 -3
- package/getProjectMilestones.js +20 -8
- package/getProjectMilestones.js.map +1 -1
- package/getProjectProtectedBranch.d.ts +19 -2
- package/getProjectProtectedBranch.js +21 -7
- package/getProjectProtectedBranch.js.map +1 -1
- package/getProjectProtectedBranches.d.ts +18 -2
- package/getProjectProtectedBranches.js +20 -7
- package/getProjectProtectedBranches.js.map +1 -1
- package/getProjectTag.d.ts +19 -3
- package/getProjectTag.js +21 -8
- package/getProjectTag.js.map +1 -1
- package/getProjectTags.d.ts +18 -3
- package/getProjectTags.js +20 -8
- package/getProjectTags.js.map +1 -1
- package/getProjectVariable.d.ts +26 -5
- package/getProjectVariable.js +28 -10
- package/getProjectVariable.js.map +1 -1
- package/getProjectVariables.d.ts +24 -5
- package/getProjectVariables.js +26 -10
- package/getProjectVariables.js.map +1 -1
- package/getProjects.d.ts +30 -0
- package/getProjects.js +32 -5
- package/getProjects.js.map +1 -1
- package/getReleaseLink.d.ts +20 -3
- package/getReleaseLink.js +22 -8
- package/getReleaseLink.js.map +1 -1
- package/getReleaseLinks.d.ts +19 -3
- package/getReleaseLinks.js +21 -8
- package/getReleaseLinks.js.map +1 -1
- package/getRepositoryFile.d.ts +20 -2
- package/getRepositoryFile.js +22 -7
- package/getRepositoryFile.js.map +1 -1
- package/getRepositoryTree.d.ts +21 -2
- package/getRepositoryTree.js +23 -7
- package/getRepositoryTree.js.map +1 -1
- package/getUser.d.ts +7 -0
- package/getUser.js +9 -5
- package/getUser.js.map +1 -1
- package/getUsers.d.ts +29 -4
- package/getUsers.js +31 -9
- package/getUsers.js.map +1 -1
- package/groupHook.d.ts +1 -1
- package/groupHook.js +1 -1
- package/groupSamlLink.d.ts +0 -13
- package/groupSamlLink.js +0 -13
- package/groupSamlLink.js.map +1 -1
- package/groupVariable.d.ts +1 -1
- package/groupVariable.js +1 -1
- package/instanceVariable.d.ts +1 -1
- package/instanceVariable.js +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/project.d.ts +1 -1
- package/project.js +1 -1
- package/projectIssueBoard.d.ts +1 -1
- package/projectIssueBoard.js +1 -1
- package/projectVariable.d.ts +1 -1
- package/projectVariable.js +1 -1
- package/tagProtection.d.ts +1 -1
- package/tagProtection.js +1 -1
package/applicationSettings.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
7
7
|
* import * as gitlab from "@pulumi/gitlab";
|
|
8
8
|
*
|
|
9
9
|
* // Set the 2FA settings
|
|
10
|
-
* const
|
|
10
|
+
* const _this = new gitlab.ApplicationSettings("this", {
|
|
11
11
|
* requireTwoFactorAuthentication: true,
|
|
12
12
|
* twoFactorGracePeriod: 24,
|
|
13
13
|
* });
|
package/applicationSettings.js
CHANGED
|
@@ -13,7 +13,7 @@ const utilities = require("./utilities");
|
|
|
13
13
|
* import * as gitlab from "@pulumi/gitlab";
|
|
14
14
|
*
|
|
15
15
|
* // Set the 2FA settings
|
|
16
|
-
* const
|
|
16
|
+
* const _this = new gitlab.ApplicationSettings("this", {
|
|
17
17
|
* requireTwoFactorAuthentication: true,
|
|
18
18
|
* twoFactorGracePeriod: 24,
|
|
19
19
|
* });
|
package/getBranch.d.ts
CHANGED
|
@@ -11,11 +11,10 @@ import * as outputs from "./types/output";
|
|
|
11
11
|
* import * as pulumi from "@pulumi/pulumi";
|
|
12
12
|
* import * as gitlab from "@pulumi/gitlab";
|
|
13
13
|
*
|
|
14
|
-
*
|
|
15
|
-
* const foo = pulumi.output(gitlab.getBranch({
|
|
14
|
+
* const foo = gitlab.getBranch({
|
|
16
15
|
* name: "example",
|
|
17
16
|
* project: "foo/bar",
|
|
18
|
-
* })
|
|
17
|
+
* });
|
|
19
18
|
* ```
|
|
20
19
|
*/
|
|
21
20
|
export declare function getBranch(args: GetBranchArgs, opts?: pulumi.InvokeOptions): Promise<GetBranchResult>;
|
|
@@ -81,6 +80,23 @@ export interface GetBranchResult {
|
|
|
81
80
|
*/
|
|
82
81
|
readonly webUrl: string;
|
|
83
82
|
}
|
|
83
|
+
/**
|
|
84
|
+
* The `gitlab.Branch` data source allows details of a repository branch to be retrieved by its name and project.
|
|
85
|
+
*
|
|
86
|
+
* **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/branches.html#get-single-repository-branch)
|
|
87
|
+
*
|
|
88
|
+
* ## Example Usage
|
|
89
|
+
*
|
|
90
|
+
* ```typescript
|
|
91
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
92
|
+
* import * as gitlab from "@pulumi/gitlab";
|
|
93
|
+
*
|
|
94
|
+
* const foo = gitlab.getBranch({
|
|
95
|
+
* name: "example",
|
|
96
|
+
* project: "foo/bar",
|
|
97
|
+
* });
|
|
98
|
+
* ```
|
|
99
|
+
*/
|
|
84
100
|
export declare function getBranchOutput(args: GetBranchOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetBranchResult>;
|
|
85
101
|
/**
|
|
86
102
|
* A collection of arguments for invoking getBranch.
|
package/getBranch.js
CHANGED
|
@@ -16,26 +16,39 @@ const utilities = require("./utilities");
|
|
|
16
16
|
* import * as pulumi from "@pulumi/pulumi";
|
|
17
17
|
* import * as gitlab from "@pulumi/gitlab";
|
|
18
18
|
*
|
|
19
|
-
*
|
|
20
|
-
* const foo = pulumi.output(gitlab.getBranch({
|
|
19
|
+
* const foo = gitlab.getBranch({
|
|
21
20
|
* name: "example",
|
|
22
21
|
* project: "foo/bar",
|
|
23
|
-
* })
|
|
22
|
+
* });
|
|
24
23
|
* ```
|
|
25
24
|
*/
|
|
26
25
|
function getBranch(args, opts) {
|
|
27
|
-
|
|
28
|
-
opts = {};
|
|
29
|
-
}
|
|
30
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
26
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
31
27
|
return pulumi.runtime.invoke("gitlab:index/getBranch:getBranch", {
|
|
32
28
|
"name": args.name,
|
|
33
29
|
"project": args.project,
|
|
34
30
|
}, opts);
|
|
35
31
|
}
|
|
36
32
|
exports.getBranch = getBranch;
|
|
33
|
+
/**
|
|
34
|
+
* The `gitlab.Branch` data source allows details of a repository branch to be retrieved by its name and project.
|
|
35
|
+
*
|
|
36
|
+
* **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/branches.html#get-single-repository-branch)
|
|
37
|
+
*
|
|
38
|
+
* ## Example Usage
|
|
39
|
+
*
|
|
40
|
+
* ```typescript
|
|
41
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
42
|
+
* import * as gitlab from "@pulumi/gitlab";
|
|
43
|
+
*
|
|
44
|
+
* const foo = gitlab.getBranch({
|
|
45
|
+
* name: "example",
|
|
46
|
+
* project: "foo/bar",
|
|
47
|
+
* });
|
|
48
|
+
* ```
|
|
49
|
+
*/
|
|
37
50
|
function getBranchOutput(args, opts) {
|
|
38
|
-
return pulumi.output(args).apply(a => getBranch(a, opts));
|
|
51
|
+
return pulumi.output(args).apply((a) => getBranch(a, opts));
|
|
39
52
|
}
|
|
40
53
|
exports.getBranchOutput = getBranchOutput;
|
|
41
54
|
//# sourceMappingURL=getBranch.js.map
|
package/getBranch.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getBranch.js","sourceRoot":"","sources":["../getBranch.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getBranch.js","sourceRoot":"","sources":["../getBranch.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,SAAS,CAAC,IAAmB,EAAE,IAA2B;IAEtE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kCAAkC,EAAE;QAC7D,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,8BAOC;AAiED;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAClF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,SAAS,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACpE,CAAC;AAFD,0CAEC"}
|
package/getClusterAgent.d.ts
CHANGED
|
@@ -12,10 +12,10 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
12
12
|
* import * as pulumi from "@pulumi/pulumi";
|
|
13
13
|
* import * as gitlab from "@pulumi/gitlab";
|
|
14
14
|
*
|
|
15
|
-
* const example =
|
|
15
|
+
* const example = gitlab.getClusterAgent({
|
|
16
16
|
* agentId: 1,
|
|
17
17
|
* project: "12345",
|
|
18
|
-
* })
|
|
18
|
+
* });
|
|
19
19
|
* ```
|
|
20
20
|
*/
|
|
21
21
|
export declare function getClusterAgent(args: GetClusterAgentArgs, opts?: pulumi.InvokeOptions): Promise<GetClusterAgentResult>;
|
|
@@ -61,6 +61,25 @@ export interface GetClusterAgentResult {
|
|
|
61
61
|
*/
|
|
62
62
|
readonly project: string;
|
|
63
63
|
}
|
|
64
|
+
/**
|
|
65
|
+
* The `gitlab.ClusterAgent` data source allows to retrieve details about a GitLab Agent for Kubernetes.
|
|
66
|
+
*
|
|
67
|
+
* > Requires at least GitLab 14.10
|
|
68
|
+
*
|
|
69
|
+
* **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/cluster_agents.html)
|
|
70
|
+
*
|
|
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.getClusterAgent({
|
|
78
|
+
* agentId: 1,
|
|
79
|
+
* project: "12345",
|
|
80
|
+
* });
|
|
81
|
+
* ```
|
|
82
|
+
*/
|
|
64
83
|
export declare function getClusterAgentOutput(args: GetClusterAgentOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetClusterAgentResult>;
|
|
65
84
|
/**
|
|
66
85
|
* A collection of arguments for invoking getClusterAgent.
|
package/getClusterAgent.js
CHANGED
|
@@ -18,25 +18,41 @@ const utilities = require("./utilities");
|
|
|
18
18
|
* import * as pulumi from "@pulumi/pulumi";
|
|
19
19
|
* import * as gitlab from "@pulumi/gitlab";
|
|
20
20
|
*
|
|
21
|
-
* const example =
|
|
21
|
+
* const example = gitlab.getClusterAgent({
|
|
22
22
|
* agentId: 1,
|
|
23
23
|
* project: "12345",
|
|
24
|
-
* })
|
|
24
|
+
* });
|
|
25
25
|
* ```
|
|
26
26
|
*/
|
|
27
27
|
function getClusterAgent(args, opts) {
|
|
28
|
-
|
|
29
|
-
opts = {};
|
|
30
|
-
}
|
|
31
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
28
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
32
29
|
return pulumi.runtime.invoke("gitlab:index/getClusterAgent:getClusterAgent", {
|
|
33
30
|
"agentId": args.agentId,
|
|
34
31
|
"project": args.project,
|
|
35
32
|
}, opts);
|
|
36
33
|
}
|
|
37
34
|
exports.getClusterAgent = getClusterAgent;
|
|
35
|
+
/**
|
|
36
|
+
* The `gitlab.ClusterAgent` data source allows to retrieve details about a GitLab Agent for Kubernetes.
|
|
37
|
+
*
|
|
38
|
+
* > Requires at least GitLab 14.10
|
|
39
|
+
*
|
|
40
|
+
* **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/cluster_agents.html)
|
|
41
|
+
*
|
|
42
|
+
* ## Example Usage
|
|
43
|
+
*
|
|
44
|
+
* ```typescript
|
|
45
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
46
|
+
* import * as gitlab from "@pulumi/gitlab";
|
|
47
|
+
*
|
|
48
|
+
* const example = gitlab.getClusterAgent({
|
|
49
|
+
* agentId: 1,
|
|
50
|
+
* project: "12345",
|
|
51
|
+
* });
|
|
52
|
+
* ```
|
|
53
|
+
*/
|
|
38
54
|
function getClusterAgentOutput(args, opts) {
|
|
39
|
-
return pulumi.output(args).apply(a => getClusterAgent(a, opts));
|
|
55
|
+
return pulumi.output(args).apply((a) => getClusterAgent(a, opts));
|
|
40
56
|
}
|
|
41
57
|
exports.getClusterAgentOutput = getClusterAgentOutput;
|
|
42
58
|
//# sourceMappingURL=getClusterAgent.js.map
|
package/getClusterAgent.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getClusterAgent.js","sourceRoot":"","sources":["../getClusterAgent.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;
|
|
1
|
+
{"version":3,"file":"getClusterAgent.js","sourceRoot":"","sources":["../getClusterAgent.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAElF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8CAA8C,EAAE;QACzE,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,0CAOC;AA6CD;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAA2B;IAC9F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,eAAe,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC1E,CAAC;AAFD,sDAEC"}
|
package/getClusterAgents.d.ts
CHANGED
|
@@ -13,9 +13,9 @@ import * as outputs from "./types/output";
|
|
|
13
13
|
* import * as pulumi from "@pulumi/pulumi";
|
|
14
14
|
* import * as gitlab from "@pulumi/gitlab";
|
|
15
15
|
*
|
|
16
|
-
* const agents =
|
|
16
|
+
* const agents = gitlab.getClusterAgents({
|
|
17
17
|
* project: "12345",
|
|
18
|
-
* })
|
|
18
|
+
* });
|
|
19
19
|
* ```
|
|
20
20
|
*/
|
|
21
21
|
export declare function getClusterAgents(args: GetClusterAgentsArgs, opts?: pulumi.InvokeOptions): Promise<GetClusterAgentsResult>;
|
|
@@ -45,6 +45,24 @@ export interface GetClusterAgentsResult {
|
|
|
45
45
|
*/
|
|
46
46
|
readonly project: string;
|
|
47
47
|
}
|
|
48
|
+
/**
|
|
49
|
+
* The `gitlab.getClusterAgents` data source allows details of GitLab Agents for Kubernetes in a project.
|
|
50
|
+
*
|
|
51
|
+
* > Requires at least GitLab 14.10
|
|
52
|
+
*
|
|
53
|
+
* **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/cluster_agents.html)
|
|
54
|
+
*
|
|
55
|
+
* ## Example Usage
|
|
56
|
+
*
|
|
57
|
+
* ```typescript
|
|
58
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
59
|
+
* import * as gitlab from "@pulumi/gitlab";
|
|
60
|
+
*
|
|
61
|
+
* const agents = gitlab.getClusterAgents({
|
|
62
|
+
* project: "12345",
|
|
63
|
+
* });
|
|
64
|
+
* ```
|
|
65
|
+
*/
|
|
48
66
|
export declare function getClusterAgentsOutput(args: GetClusterAgentsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetClusterAgentsResult>;
|
|
49
67
|
/**
|
|
50
68
|
* A collection of arguments for invoking getClusterAgents.
|
package/getClusterAgents.js
CHANGED
|
@@ -18,23 +18,38 @@ const utilities = require("./utilities");
|
|
|
18
18
|
* import * as pulumi from "@pulumi/pulumi";
|
|
19
19
|
* import * as gitlab from "@pulumi/gitlab";
|
|
20
20
|
*
|
|
21
|
-
* const agents =
|
|
21
|
+
* const agents = gitlab.getClusterAgents({
|
|
22
22
|
* project: "12345",
|
|
23
|
-
* })
|
|
23
|
+
* });
|
|
24
24
|
* ```
|
|
25
25
|
*/
|
|
26
26
|
function getClusterAgents(args, opts) {
|
|
27
|
-
|
|
28
|
-
opts = {};
|
|
29
|
-
}
|
|
30
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
27
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
31
28
|
return pulumi.runtime.invoke("gitlab:index/getClusterAgents:getClusterAgents", {
|
|
32
29
|
"project": args.project,
|
|
33
30
|
}, opts);
|
|
34
31
|
}
|
|
35
32
|
exports.getClusterAgents = getClusterAgents;
|
|
33
|
+
/**
|
|
34
|
+
* The `gitlab.getClusterAgents` data source allows details of GitLab Agents for Kubernetes in a project.
|
|
35
|
+
*
|
|
36
|
+
* > Requires at least GitLab 14.10
|
|
37
|
+
*
|
|
38
|
+
* **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/cluster_agents.html)
|
|
39
|
+
*
|
|
40
|
+
* ## Example Usage
|
|
41
|
+
*
|
|
42
|
+
* ```typescript
|
|
43
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
44
|
+
* import * as gitlab from "@pulumi/gitlab";
|
|
45
|
+
*
|
|
46
|
+
* const agents = gitlab.getClusterAgents({
|
|
47
|
+
* project: "12345",
|
|
48
|
+
* });
|
|
49
|
+
* ```
|
|
50
|
+
*/
|
|
36
51
|
function getClusterAgentsOutput(args, opts) {
|
|
37
|
-
return pulumi.output(args).apply(a => getClusterAgents(a, opts));
|
|
52
|
+
return pulumi.output(args).apply((a) => getClusterAgents(a, opts));
|
|
38
53
|
}
|
|
39
54
|
exports.getClusterAgentsOutput = getClusterAgentsOutput;
|
|
40
55
|
//# sourceMappingURL=getClusterAgents.js.map
|
package/getClusterAgents.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getClusterAgents.js","sourceRoot":"","sources":["../getClusterAgents.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;
|
|
1
|
+
{"version":3,"file":"getClusterAgents.js","sourceRoot":"","sources":["../getClusterAgents.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IAEpF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gDAAgD,EAAE;QAC3E,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,4CAMC;AA6BD;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAA2B;IAChG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,gBAAgB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC3E,CAAC;AAFD,wDAEC"}
|
package/getCurrentUser.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
10
10
|
* import * as pulumi from "@pulumi/pulumi";
|
|
11
11
|
* import * as gitlab from "@pulumi/gitlab";
|
|
12
12
|
*
|
|
13
|
-
* const example =
|
|
13
|
+
* const example = gitlab.getCurrentUser({});
|
|
14
14
|
* ```
|
|
15
15
|
*/
|
|
16
16
|
export declare function getCurrentUser(opts?: pulumi.InvokeOptions): Promise<GetCurrentUserResult>;
|
package/getCurrentUser.js
CHANGED
|
@@ -16,14 +16,11 @@ const utilities = require("./utilities");
|
|
|
16
16
|
* import * as pulumi from "@pulumi/pulumi";
|
|
17
17
|
* import * as gitlab from "@pulumi/gitlab";
|
|
18
18
|
*
|
|
19
|
-
* const example =
|
|
19
|
+
* const example = gitlab.getCurrentUser({});
|
|
20
20
|
* ```
|
|
21
21
|
*/
|
|
22
22
|
function getCurrentUser(opts) {
|
|
23
|
-
|
|
24
|
-
opts = {};
|
|
25
|
-
}
|
|
26
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
23
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
27
24
|
return pulumi.runtime.invoke("gitlab:index/getCurrentUser:getCurrentUser", {}, opts);
|
|
28
25
|
}
|
|
29
26
|
exports.getCurrentUser = getCurrentUser;
|
package/getCurrentUser.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getCurrentUser.js","sourceRoot":"","sources":["../getCurrentUser.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,cAAc,CAAC,IAA2B;
|
|
1
|
+
{"version":3,"file":"getCurrentUser.js","sourceRoot":"","sources":["../getCurrentUser.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,cAAc,CAAC,IAA2B;IAEtD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4CAA4C,EAAE,EAC1E,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,wCAKC"}
|
package/getGroup.d.ts
CHANGED
|
@@ -10,10 +10,9 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
10
10
|
* import * as pulumi from "@pulumi/pulumi";
|
|
11
11
|
* import * as gitlab from "@pulumi/gitlab";
|
|
12
12
|
*
|
|
13
|
-
*
|
|
14
|
-
* const foo = pulumi.output(gitlab.getGroup({
|
|
13
|
+
* const foo = gitlab.getGroup({
|
|
15
14
|
* fullPath: "foo/bar",
|
|
16
|
-
* })
|
|
15
|
+
* });
|
|
17
16
|
* ```
|
|
18
17
|
*/
|
|
19
18
|
export declare function getGroup(args?: GetGroupArgs, opts?: pulumi.InvokeOptions): Promise<GetGroupResult>;
|
|
@@ -95,6 +94,22 @@ export interface GetGroupResult {
|
|
|
95
94
|
*/
|
|
96
95
|
readonly webUrl: string;
|
|
97
96
|
}
|
|
97
|
+
/**
|
|
98
|
+
* The `gitlab.Group` data source allows details of a group to be retrieved by its id or full path.
|
|
99
|
+
*
|
|
100
|
+
* **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/groups.html#details-of-a-group)
|
|
101
|
+
*
|
|
102
|
+
* ## Example Usage
|
|
103
|
+
*
|
|
104
|
+
* ```typescript
|
|
105
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
106
|
+
* import * as gitlab from "@pulumi/gitlab";
|
|
107
|
+
*
|
|
108
|
+
* const foo = gitlab.getGroup({
|
|
109
|
+
* fullPath: "foo/bar",
|
|
110
|
+
* });
|
|
111
|
+
* ```
|
|
112
|
+
*/
|
|
98
113
|
export declare function getGroupOutput(args?: GetGroupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetGroupResult>;
|
|
99
114
|
/**
|
|
100
115
|
* A collection of arguments for invoking getGroup.
|
package/getGroup.js
CHANGED
|
@@ -16,26 +16,38 @@ const utilities = require("./utilities");
|
|
|
16
16
|
* import * as pulumi from "@pulumi/pulumi";
|
|
17
17
|
* import * as gitlab from "@pulumi/gitlab";
|
|
18
18
|
*
|
|
19
|
-
*
|
|
20
|
-
* const foo = pulumi.output(gitlab.getGroup({
|
|
19
|
+
* const foo = gitlab.getGroup({
|
|
21
20
|
* fullPath: "foo/bar",
|
|
22
|
-
* })
|
|
21
|
+
* });
|
|
23
22
|
* ```
|
|
24
23
|
*/
|
|
25
24
|
function getGroup(args, opts) {
|
|
26
25
|
args = args || {};
|
|
27
|
-
|
|
28
|
-
opts = {};
|
|
29
|
-
}
|
|
30
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
26
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
31
27
|
return pulumi.runtime.invoke("gitlab:index/getGroup:getGroup", {
|
|
32
28
|
"fullPath": args.fullPath,
|
|
33
29
|
"groupId": args.groupId,
|
|
34
30
|
}, opts);
|
|
35
31
|
}
|
|
36
32
|
exports.getGroup = getGroup;
|
|
33
|
+
/**
|
|
34
|
+
* The `gitlab.Group` data source allows details of a group to be retrieved by its id or full path.
|
|
35
|
+
*
|
|
36
|
+
* **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/groups.html#details-of-a-group)
|
|
37
|
+
*
|
|
38
|
+
* ## Example Usage
|
|
39
|
+
*
|
|
40
|
+
* ```typescript
|
|
41
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
42
|
+
* import * as gitlab from "@pulumi/gitlab";
|
|
43
|
+
*
|
|
44
|
+
* const foo = gitlab.getGroup({
|
|
45
|
+
* fullPath: "foo/bar",
|
|
46
|
+
* });
|
|
47
|
+
* ```
|
|
48
|
+
*/
|
|
37
49
|
function getGroupOutput(args, opts) {
|
|
38
|
-
return pulumi.output(args).apply(a => getGroup(a, opts));
|
|
50
|
+
return pulumi.output(args).apply((a) => getGroup(a, opts));
|
|
39
51
|
}
|
|
40
52
|
exports.getGroupOutput = getGroupOutput;
|
|
41
53
|
//# sourceMappingURL=getGroup.js.map
|
package/getGroup.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getGroup.js","sourceRoot":"","sources":["../getGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getGroup.js","sourceRoot":"","sources":["../getGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,QAAQ,CAAC,IAAmB,EAAE,IAA2B;IACrE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,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,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,4BAQC;AAiFD;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,cAAc,CAAC,IAAyB,EAAE,IAA2B;IACjF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,QAAQ,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACnE,CAAC;AAFD,wCAEC"}
|
package/getGroupHook.d.ts
CHANGED
|
@@ -107,6 +107,11 @@ export interface GetGroupHookResult {
|
|
|
107
107
|
*/
|
|
108
108
|
readonly wikiPageEvents: boolean;
|
|
109
109
|
}
|
|
110
|
+
/**
|
|
111
|
+
* The `gitlab.GroupHook` data source allows to retrieve details about a hook in a group.
|
|
112
|
+
*
|
|
113
|
+
* **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/groups.html#get-group-hook)
|
|
114
|
+
*/
|
|
110
115
|
export declare function getGroupHookOutput(args: GetGroupHookOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetGroupHookResult>;
|
|
111
116
|
/**
|
|
112
117
|
* A collection of arguments for invoking getGroupHook.
|
package/getGroupHook.js
CHANGED
|
@@ -11,18 +11,20 @@ const utilities = require("./utilities");
|
|
|
11
11
|
* **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/groups.html#get-group-hook)
|
|
12
12
|
*/
|
|
13
13
|
function getGroupHook(args, opts) {
|
|
14
|
-
|
|
15
|
-
opts = {};
|
|
16
|
-
}
|
|
17
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
14
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
18
15
|
return pulumi.runtime.invoke("gitlab:index/getGroupHook:getGroupHook", {
|
|
19
16
|
"group": args.group,
|
|
20
17
|
"hookId": args.hookId,
|
|
21
18
|
}, opts);
|
|
22
19
|
}
|
|
23
20
|
exports.getGroupHook = getGroupHook;
|
|
21
|
+
/**
|
|
22
|
+
* The `gitlab.GroupHook` data source allows to retrieve details about a hook in a group.
|
|
23
|
+
*
|
|
24
|
+
* **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/groups.html#get-group-hook)
|
|
25
|
+
*/
|
|
24
26
|
function getGroupHookOutput(args, opts) {
|
|
25
|
-
return pulumi.output(args).apply(a => getGroupHook(a, opts));
|
|
27
|
+
return pulumi.output(args).apply((a) => getGroupHook(a, opts));
|
|
26
28
|
}
|
|
27
29
|
exports.getGroupHookOutput = getGroupHookOutput;
|
|
28
30
|
//# sourceMappingURL=getGroupHook.js.map
|
package/getGroupHook.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getGroupHook.js","sourceRoot":"","sources":["../getGroupHook.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;GAIG;AACH,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAA2B;
|
|
1
|
+
{"version":3,"file":"getGroupHook.js","sourceRoot":"","sources":["../getGroupHook.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;GAIG;AACH,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAA2B;IAE5E,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;AAPD,oCAOC;AAyGD;;;;GAIG;AACH,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAA2B;IACxF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,YAAY,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACvE,CAAC;AAFD,gDAEC"}
|
package/getGroupHooks.d.ts
CHANGED
|
@@ -32,6 +32,11 @@ export interface GetGroupHooksResult {
|
|
|
32
32
|
*/
|
|
33
33
|
readonly id: string;
|
|
34
34
|
}
|
|
35
|
+
/**
|
|
36
|
+
* The `gitlab.getGroupHooks` data source allows to retrieve details about hooks in a group.
|
|
37
|
+
*
|
|
38
|
+
* **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/groups.html#list-group-hooks)
|
|
39
|
+
*/
|
|
35
40
|
export declare function getGroupHooksOutput(args: GetGroupHooksOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetGroupHooksResult>;
|
|
36
41
|
/**
|
|
37
42
|
* A collection of arguments for invoking getGroupHooks.
|
package/getGroupHooks.js
CHANGED
|
@@ -11,17 +11,19 @@ const utilities = require("./utilities");
|
|
|
11
11
|
* **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/groups.html#list-group-hooks)
|
|
12
12
|
*/
|
|
13
13
|
function getGroupHooks(args, opts) {
|
|
14
|
-
|
|
15
|
-
opts = {};
|
|
16
|
-
}
|
|
17
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
14
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
18
15
|
return pulumi.runtime.invoke("gitlab:index/getGroupHooks:getGroupHooks", {
|
|
19
16
|
"group": args.group,
|
|
20
17
|
}, opts);
|
|
21
18
|
}
|
|
22
19
|
exports.getGroupHooks = getGroupHooks;
|
|
20
|
+
/**
|
|
21
|
+
* The `gitlab.getGroupHooks` data source allows to retrieve details about hooks in a group.
|
|
22
|
+
*
|
|
23
|
+
* **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/groups.html#list-group-hooks)
|
|
24
|
+
*/
|
|
23
25
|
function getGroupHooksOutput(args, opts) {
|
|
24
|
-
return pulumi.output(args).apply(a => getGroupHooks(a, opts));
|
|
26
|
+
return pulumi.output(args).apply((a) => getGroupHooks(a, opts));
|
|
25
27
|
}
|
|
26
28
|
exports.getGroupHooksOutput = getGroupHooksOutput;
|
|
27
29
|
//# sourceMappingURL=getGroupHooks.js.map
|
package/getGroupHooks.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getGroupHooks.js","sourceRoot":"","sources":["../getGroupHooks.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;GAIG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;
|
|
1
|
+
{"version":3,"file":"getGroupHooks.js","sourceRoot":"","sources":["../getGroupHooks.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;GAIG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAE9E,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;AAND,sCAMC;AA6BD;;;;GAIG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,aAAa,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACxE,CAAC;AAFD,kDAEC"}
|
package/getGroupMembership.d.ts
CHANGED
|
@@ -11,10 +11,9 @@ import * as outputs from "./types/output";
|
|
|
11
11
|
* import * as pulumi from "@pulumi/pulumi";
|
|
12
12
|
* import * as gitlab from "@pulumi/gitlab";
|
|
13
13
|
*
|
|
14
|
-
*
|
|
15
|
-
* const example = pulumi.output(gitlab.getGroupMembership({
|
|
14
|
+
* const example = gitlab.getGroupMembership({
|
|
16
15
|
* fullPath: "foo/bar",
|
|
17
|
-
* })
|
|
16
|
+
* });
|
|
18
17
|
* ```
|
|
19
18
|
*/
|
|
20
19
|
export declare function getGroupMembership(args?: GetGroupMembershipArgs, opts?: pulumi.InvokeOptions): Promise<GetGroupMembershipResult>;
|
|
@@ -60,6 +59,22 @@ export interface GetGroupMembershipResult {
|
|
|
60
59
|
*/
|
|
61
60
|
readonly members: outputs.GetGroupMembershipMember[];
|
|
62
61
|
}
|
|
62
|
+
/**
|
|
63
|
+
* The `gitlab.GroupMembership` data source allows to list and filter all members of a group specified by either its id or full path.
|
|
64
|
+
*
|
|
65
|
+
* **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/members.html#list-all-members-of-a-group-or-project)
|
|
66
|
+
*
|
|
67
|
+
* ## Example Usage
|
|
68
|
+
*
|
|
69
|
+
* ```typescript
|
|
70
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
71
|
+
* import * as gitlab from "@pulumi/gitlab";
|
|
72
|
+
*
|
|
73
|
+
* const example = gitlab.getGroupMembership({
|
|
74
|
+
* fullPath: "foo/bar",
|
|
75
|
+
* });
|
|
76
|
+
* ```
|
|
77
|
+
*/
|
|
63
78
|
export declare function getGroupMembershipOutput(args?: GetGroupMembershipOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetGroupMembershipResult>;
|
|
64
79
|
/**
|
|
65
80
|
* A collection of arguments for invoking getGroupMembership.
|
package/getGroupMembership.js
CHANGED
|
@@ -16,18 +16,14 @@ const utilities = require("./utilities");
|
|
|
16
16
|
* import * as pulumi from "@pulumi/pulumi";
|
|
17
17
|
* import * as gitlab from "@pulumi/gitlab";
|
|
18
18
|
*
|
|
19
|
-
*
|
|
20
|
-
* const example = pulumi.output(gitlab.getGroupMembership({
|
|
19
|
+
* const example = gitlab.getGroupMembership({
|
|
21
20
|
* fullPath: "foo/bar",
|
|
22
|
-
* })
|
|
21
|
+
* });
|
|
23
22
|
* ```
|
|
24
23
|
*/
|
|
25
24
|
function getGroupMembership(args, opts) {
|
|
26
25
|
args = args || {};
|
|
27
|
-
|
|
28
|
-
opts = {};
|
|
29
|
-
}
|
|
30
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
26
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
31
27
|
return pulumi.runtime.invoke("gitlab:index/getGroupMembership:getGroupMembership", {
|
|
32
28
|
"accessLevel": args.accessLevel,
|
|
33
29
|
"fullPath": args.fullPath,
|
|
@@ -35,8 +31,24 @@ function getGroupMembership(args, opts) {
|
|
|
35
31
|
}, opts);
|
|
36
32
|
}
|
|
37
33
|
exports.getGroupMembership = getGroupMembership;
|
|
34
|
+
/**
|
|
35
|
+
* The `gitlab.GroupMembership` data source allows to list and filter all members of a group specified by either its id or full path.
|
|
36
|
+
*
|
|
37
|
+
* **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/members.html#list-all-members-of-a-group-or-project)
|
|
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.getGroupMembership({
|
|
46
|
+
* fullPath: "foo/bar",
|
|
47
|
+
* });
|
|
48
|
+
* ```
|
|
49
|
+
*/
|
|
38
50
|
function getGroupMembershipOutput(args, opts) {
|
|
39
|
-
return pulumi.output(args).apply(a => getGroupMembership(a, opts));
|
|
51
|
+
return pulumi.output(args).apply((a) => getGroupMembership(a, opts));
|
|
40
52
|
}
|
|
41
53
|
exports.getGroupMembershipOutput = getGroupMembershipOutput;
|
|
42
54
|
//# sourceMappingURL=getGroupMembership.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getGroupMembership.js","sourceRoot":"","sources":["../getGroupMembership.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getGroupMembership.js","sourceRoot":"","sources":["../getGroupMembership.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,kBAAkB,CAAC,IAA6B,EAAE,IAA2B;IACzF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oDAAoD,EAAE;QAC/E,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,gDASC;AA6CD;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,wBAAwB,CAAC,IAAmC,EAAE,IAA2B;IACrG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,kBAAkB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC7E,CAAC;AAFD,4DAEC"}
|