@pulumi/gitlab 4.1.0 → 4.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/branchProtection.d.ts +50 -8
- package/branchProtection.js +36 -2
- package/branchProtection.js.map +1 -1
- package/config/index.js +11 -4
- package/config/index.js.map +1 -1
- package/config/vars.d.ts +6 -6
- package/config/vars.js +37 -25
- package/config/vars.js.map +1 -1
- package/deployKey.d.ts +1 -1
- package/deployKey.js +2 -1
- package/deployKey.js.map +1 -1
- package/deployKeyEnable.d.ts +1 -1
- package/deployKeyEnable.js +2 -1
- package/deployKeyEnable.js.map +1 -1
- package/deployToken.js +1 -0
- package/deployToken.js.map +1 -1
- package/getGroup.d.ts +17 -5
- package/getGroup.js +8 -5
- package/getGroup.js.map +1 -1
- package/getGroupMembership.d.ts +22 -6
- package/getGroupMembership.js +8 -5
- package/getGroupMembership.js.map +1 -1
- package/getProject.d.ts +11 -1
- package/getProject.js +6 -1
- package/getProject.js.map +1 -1
- package/getProjects.d.ts +86 -2
- package/getProjects.js +7 -2
- package/getProjects.js.map +1 -1
- package/getUser.d.ts +18 -0
- package/getUser.js +5 -0
- package/getUser.js.map +1 -1
- package/getUsers.d.ts +47 -2
- package/getUsers.js +10 -2
- package/getUsers.js.map +1 -1
- package/group.d.ts +37 -0
- package/group.js +38 -0
- package/group.js.map +1 -1
- package/groupCluster.js +1 -0
- package/groupCluster.js.map +1 -1
- package/groupLabel.js +1 -0
- package/groupLabel.js.map +1 -1
- package/groupLdapLink.js +1 -0
- package/groupLdapLink.js.map +1 -1
- package/groupMembership.js +1 -0
- package/groupMembership.js.map +1 -1
- package/groupShareGroup.js +1 -0
- package/groupShareGroup.js.map +1 -1
- package/groupVariable.d.ts +9 -0
- package/groupVariable.js +1 -0
- package/groupVariable.js.map +1 -1
- package/index.d.ts +1 -0
- package/index.js +56 -43
- package/index.js.map +1 -1
- package/instanceCluster.js +1 -0
- package/instanceCluster.js.map +1 -1
- package/instanceVariable.d.ts +2 -0
- package/instanceVariable.js +3 -0
- package/instanceVariable.js.map +1 -1
- package/label.d.ts +8 -2
- package/label.js +9 -2
- package/label.js.map +1 -1
- package/package.json +4 -3
- package/package.json.bak +3 -2
- package/package.json.dev +4 -3
- package/pipelineSchedule.d.ts +8 -0
- package/pipelineSchedule.js +9 -0
- package/pipelineSchedule.js.map +1 -1
- package/pipelineScheduleVariable.js +1 -0
- package/pipelineScheduleVariable.js.map +1 -1
- package/pipelineTrigger.d.ts +8 -0
- package/pipelineTrigger.js +9 -0
- package/pipelineTrigger.js.map +1 -1
- package/project.d.ts +68 -4
- package/project.js +45 -0
- package/project.js.map +1 -1
- package/projectApprovalRule.d.ts +38 -9
- package/projectApprovalRule.js +26 -6
- package/projectApprovalRule.js.map +1 -1
- package/projectBadge.d.ts +119 -0
- package/projectBadge.js +99 -0
- package/projectBadge.js.map +1 -0
- package/projectCluster.js +1 -0
- package/projectCluster.js.map +1 -1
- package/projectFreezePeriod.js +1 -0
- package/projectFreezePeriod.js.map +1 -1
- package/projectHook.js +1 -0
- package/projectHook.js.map +1 -1
- package/projectLevelMrApprovals.d.ts +35 -0
- package/projectLevelMrApprovals.js +36 -0
- package/projectLevelMrApprovals.js.map +1 -1
- package/projectMembership.d.ts +5 -0
- package/projectMembership.js +6 -0
- package/projectMembership.js.map +1 -1
- package/projectMirror.js +1 -0
- package/projectMirror.js.map +1 -1
- package/projectShareGroup.js +1 -0
- package/projectShareGroup.js.map +1 -1
- package/projectVariable.js +1 -0
- package/projectVariable.js.map +1 -1
- package/provider.js +1 -0
- package/provider.js.map +1 -1
- package/serviceGithub.d.ts +34 -0
- package/serviceGithub.js +35 -0
- package/serviceGithub.js.map +1 -1
- package/serviceJira.js +1 -0
- package/serviceJira.js.map +1 -1
- package/servicePipelinesEmail.js +1 -0
- package/servicePipelinesEmail.js.map +1 -1
- package/serviceSlack.js +1 -0
- package/serviceSlack.js.map +1 -1
- package/tagProtection.js +1 -0
- package/tagProtection.js.map +1 -1
- package/types/index.js +1 -0
- package/types/index.js.map +1 -1
- package/types/input.d.ts +24 -0
- package/types/output.d.ts +28 -3
- package/user.d.ts +38 -0
- package/user.js +39 -0
- package/user.js.map +1 -1
- package/utilities.js +1 -0
- package/utilities.js.map +1 -1
package/README.md
CHANGED
package/branchProtection.d.ts
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { input as inputs, output as outputs } from "./types";
|
|
2
3
|
/**
|
|
3
|
-
* ## # gitlab\
|
|
4
|
+
* ## # gitlab\_branch\_protection
|
|
4
5
|
*
|
|
5
|
-
* This resource allows you to protect a specific branch by an access level so that the user with less access level cannot Merge/Push to the branch.
|
|
6
|
+
* This resource allows you to protect a specific branch by an access level so that the user with less access level cannot Merge/Push to the branch.
|
|
7
|
+
*
|
|
8
|
+
* > The `allowedToPush`, `allowedToMerge` and `codeOwnerApprovalRequired` arguments require a GitLab Premium account or above.
|
|
6
9
|
*
|
|
7
10
|
* ## Example Usage
|
|
8
11
|
*
|
|
@@ -11,12 +14,37 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
11
14
|
* import * as gitlab from "@pulumi/gitlab";
|
|
12
15
|
*
|
|
13
16
|
* const branchProtect = new gitlab.BranchProtection("BranchProtect", {
|
|
17
|
+
* allowedToMerges: [
|
|
18
|
+
* {
|
|
19
|
+
* userId: 15,
|
|
20
|
+
* },
|
|
21
|
+
* {
|
|
22
|
+
* userId: 37,
|
|
23
|
+
* },
|
|
24
|
+
* ],
|
|
25
|
+
* allowedToPushes: [
|
|
26
|
+
* {
|
|
27
|
+
* userId: 5,
|
|
28
|
+
* },
|
|
29
|
+
* {
|
|
30
|
+
* userId: 521,
|
|
31
|
+
* },
|
|
32
|
+
* ],
|
|
14
33
|
* branch: "BranchProtected",
|
|
34
|
+
* codeOwnerApprovalRequired: true,
|
|
15
35
|
* mergeAccessLevel: "developer",
|
|
16
36
|
* project: "12345",
|
|
17
37
|
* pushAccessLevel: "developer",
|
|
18
38
|
* });
|
|
19
39
|
* ```
|
|
40
|
+
*
|
|
41
|
+
* ## Import
|
|
42
|
+
*
|
|
43
|
+
* GitLab project freeze periods can be imported using an id made up of `project_id:branch`, e.g.
|
|
44
|
+
*
|
|
45
|
+
* ```sh
|
|
46
|
+
* $ pulumi import gitlab:index/branchProtection:BranchProtection BranchProtect "12345:main"
|
|
47
|
+
* ```
|
|
20
48
|
*/
|
|
21
49
|
export declare class BranchProtection extends pulumi.CustomResource {
|
|
22
50
|
/**
|
|
@@ -34,16 +62,22 @@ export declare class BranchProtection extends pulumi.CustomResource {
|
|
|
34
62
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
35
63
|
*/
|
|
36
64
|
static isInstance(obj: any): obj is BranchProtection;
|
|
65
|
+
readonly allowedToMerges: pulumi.Output<outputs.BranchProtectionAllowedToMerge[] | undefined>;
|
|
66
|
+
readonly allowedToPushes: pulumi.Output<outputs.BranchProtectionAllowedToPush[] | undefined>;
|
|
37
67
|
/**
|
|
38
68
|
* Name of the branch.
|
|
39
69
|
*/
|
|
40
70
|
readonly branch: pulumi.Output<string>;
|
|
71
|
+
/**
|
|
72
|
+
* The ID of the branch protection (not the branch name).
|
|
73
|
+
*/
|
|
74
|
+
readonly branchProtectionId: pulumi.Output<number>;
|
|
41
75
|
/**
|
|
42
76
|
* Bool, defaults to false. Can be set to true to require code owner approval before merging.
|
|
43
77
|
*/
|
|
44
78
|
readonly codeOwnerApprovalRequired: pulumi.Output<boolean | undefined>;
|
|
45
79
|
/**
|
|
46
|
-
* One of five levels of access to the project.
|
|
80
|
+
* One of five levels of access to the project. Valid values are: `no one`, `developer`, `maintainer`, `admin`.
|
|
47
81
|
*/
|
|
48
82
|
readonly mergeAccessLevel: pulumi.Output<string>;
|
|
49
83
|
/**
|
|
@@ -51,7 +85,7 @@ export declare class BranchProtection extends pulumi.CustomResource {
|
|
|
51
85
|
*/
|
|
52
86
|
readonly project: pulumi.Output<string>;
|
|
53
87
|
/**
|
|
54
|
-
* One of five levels of access to the project.
|
|
88
|
+
* One of five levels of access to the project. Valid values are: `no one`, `developer`, `maintainer`, `admin`.
|
|
55
89
|
*/
|
|
56
90
|
readonly pushAccessLevel: pulumi.Output<string>;
|
|
57
91
|
/**
|
|
@@ -67,16 +101,22 @@ export declare class BranchProtection extends pulumi.CustomResource {
|
|
|
67
101
|
* Input properties used for looking up and filtering BranchProtection resources.
|
|
68
102
|
*/
|
|
69
103
|
export interface BranchProtectionState {
|
|
104
|
+
allowedToMerges?: pulumi.Input<pulumi.Input<inputs.BranchProtectionAllowedToMerge>[]>;
|
|
105
|
+
allowedToPushes?: pulumi.Input<pulumi.Input<inputs.BranchProtectionAllowedToPush>[]>;
|
|
70
106
|
/**
|
|
71
107
|
* Name of the branch.
|
|
72
108
|
*/
|
|
73
109
|
branch?: pulumi.Input<string>;
|
|
110
|
+
/**
|
|
111
|
+
* The ID of the branch protection (not the branch name).
|
|
112
|
+
*/
|
|
113
|
+
branchProtectionId?: pulumi.Input<number>;
|
|
74
114
|
/**
|
|
75
115
|
* Bool, defaults to false. Can be set to true to require code owner approval before merging.
|
|
76
116
|
*/
|
|
77
117
|
codeOwnerApprovalRequired?: pulumi.Input<boolean>;
|
|
78
118
|
/**
|
|
79
|
-
* One of five levels of access to the project.
|
|
119
|
+
* One of five levels of access to the project. Valid values are: `no one`, `developer`, `maintainer`, `admin`.
|
|
80
120
|
*/
|
|
81
121
|
mergeAccessLevel?: pulumi.Input<string>;
|
|
82
122
|
/**
|
|
@@ -84,7 +124,7 @@ export interface BranchProtectionState {
|
|
|
84
124
|
*/
|
|
85
125
|
project?: pulumi.Input<string>;
|
|
86
126
|
/**
|
|
87
|
-
* One of five levels of access to the project.
|
|
127
|
+
* One of five levels of access to the project. Valid values are: `no one`, `developer`, `maintainer`, `admin`.
|
|
88
128
|
*/
|
|
89
129
|
pushAccessLevel?: pulumi.Input<string>;
|
|
90
130
|
}
|
|
@@ -92,6 +132,8 @@ export interface BranchProtectionState {
|
|
|
92
132
|
* The set of arguments for constructing a BranchProtection resource.
|
|
93
133
|
*/
|
|
94
134
|
export interface BranchProtectionArgs {
|
|
135
|
+
allowedToMerges?: pulumi.Input<pulumi.Input<inputs.BranchProtectionAllowedToMerge>[]>;
|
|
136
|
+
allowedToPushes?: pulumi.Input<pulumi.Input<inputs.BranchProtectionAllowedToPush>[]>;
|
|
95
137
|
/**
|
|
96
138
|
* Name of the branch.
|
|
97
139
|
*/
|
|
@@ -101,7 +143,7 @@ export interface BranchProtectionArgs {
|
|
|
101
143
|
*/
|
|
102
144
|
codeOwnerApprovalRequired?: pulumi.Input<boolean>;
|
|
103
145
|
/**
|
|
104
|
-
* One of five levels of access to the project.
|
|
146
|
+
* One of five levels of access to the project. Valid values are: `no one`, `developer`, `maintainer`, `admin`.
|
|
105
147
|
*/
|
|
106
148
|
mergeAccessLevel: pulumi.Input<string>;
|
|
107
149
|
/**
|
|
@@ -109,7 +151,7 @@ export interface BranchProtectionArgs {
|
|
|
109
151
|
*/
|
|
110
152
|
project: pulumi.Input<string>;
|
|
111
153
|
/**
|
|
112
|
-
* One of five levels of access to the project.
|
|
154
|
+
* One of five levels of access to the project. Valid values are: `no one`, `developer`, `maintainer`, `admin`.
|
|
113
155
|
*/
|
|
114
156
|
pushAccessLevel: pulumi.Input<string>;
|
|
115
157
|
}
|
package/branchProtection.js
CHANGED
|
@@ -2,12 +2,15 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.BranchProtection = void 0;
|
|
5
6
|
const pulumi = require("@pulumi/pulumi");
|
|
6
7
|
const utilities = require("./utilities");
|
|
7
8
|
/**
|
|
8
|
-
* ## # gitlab\
|
|
9
|
+
* ## # gitlab\_branch\_protection
|
|
9
10
|
*
|
|
10
|
-
* This resource allows you to protect a specific branch by an access level so that the user with less access level cannot Merge/Push to the branch.
|
|
11
|
+
* This resource allows you to protect a specific branch by an access level so that the user with less access level cannot Merge/Push to the branch.
|
|
12
|
+
*
|
|
13
|
+
* > The `allowedToPush`, `allowedToMerge` and `codeOwnerApprovalRequired` arguments require a GitLab Premium account or above.
|
|
11
14
|
*
|
|
12
15
|
* ## Example Usage
|
|
13
16
|
*
|
|
@@ -16,12 +19,37 @@ const utilities = require("./utilities");
|
|
|
16
19
|
* import * as gitlab from "@pulumi/gitlab";
|
|
17
20
|
*
|
|
18
21
|
* const branchProtect = new gitlab.BranchProtection("BranchProtect", {
|
|
22
|
+
* allowedToMerges: [
|
|
23
|
+
* {
|
|
24
|
+
* userId: 15,
|
|
25
|
+
* },
|
|
26
|
+
* {
|
|
27
|
+
* userId: 37,
|
|
28
|
+
* },
|
|
29
|
+
* ],
|
|
30
|
+
* allowedToPushes: [
|
|
31
|
+
* {
|
|
32
|
+
* userId: 5,
|
|
33
|
+
* },
|
|
34
|
+
* {
|
|
35
|
+
* userId: 521,
|
|
36
|
+
* },
|
|
37
|
+
* ],
|
|
19
38
|
* branch: "BranchProtected",
|
|
39
|
+
* codeOwnerApprovalRequired: true,
|
|
20
40
|
* mergeAccessLevel: "developer",
|
|
21
41
|
* project: "12345",
|
|
22
42
|
* pushAccessLevel: "developer",
|
|
23
43
|
* });
|
|
24
44
|
* ```
|
|
45
|
+
*
|
|
46
|
+
* ## Import
|
|
47
|
+
*
|
|
48
|
+
* GitLab project freeze periods can be imported using an id made up of `project_id:branch`, e.g.
|
|
49
|
+
*
|
|
50
|
+
* ```sh
|
|
51
|
+
* $ pulumi import gitlab:index/branchProtection:BranchProtection BranchProtect "12345:main"
|
|
52
|
+
* ```
|
|
25
53
|
*/
|
|
26
54
|
class BranchProtection extends pulumi.CustomResource {
|
|
27
55
|
constructor(name, argsOrState, opts) {
|
|
@@ -29,7 +57,10 @@ class BranchProtection extends pulumi.CustomResource {
|
|
|
29
57
|
opts = opts || {};
|
|
30
58
|
if (opts.id) {
|
|
31
59
|
const state = argsOrState;
|
|
60
|
+
inputs["allowedToMerges"] = state ? state.allowedToMerges : undefined;
|
|
61
|
+
inputs["allowedToPushes"] = state ? state.allowedToPushes : undefined;
|
|
32
62
|
inputs["branch"] = state ? state.branch : undefined;
|
|
63
|
+
inputs["branchProtectionId"] = state ? state.branchProtectionId : undefined;
|
|
33
64
|
inputs["codeOwnerApprovalRequired"] = state ? state.codeOwnerApprovalRequired : undefined;
|
|
34
65
|
inputs["mergeAccessLevel"] = state ? state.mergeAccessLevel : undefined;
|
|
35
66
|
inputs["project"] = state ? state.project : undefined;
|
|
@@ -49,11 +80,14 @@ class BranchProtection extends pulumi.CustomResource {
|
|
|
49
80
|
if ((!args || args.pushAccessLevel === undefined) && !opts.urn) {
|
|
50
81
|
throw new Error("Missing required property 'pushAccessLevel'");
|
|
51
82
|
}
|
|
83
|
+
inputs["allowedToMerges"] = args ? args.allowedToMerges : undefined;
|
|
84
|
+
inputs["allowedToPushes"] = args ? args.allowedToPushes : undefined;
|
|
52
85
|
inputs["branch"] = args ? args.branch : undefined;
|
|
53
86
|
inputs["codeOwnerApprovalRequired"] = args ? args.codeOwnerApprovalRequired : undefined;
|
|
54
87
|
inputs["mergeAccessLevel"] = args ? args.mergeAccessLevel : undefined;
|
|
55
88
|
inputs["project"] = args ? args.project : undefined;
|
|
56
89
|
inputs["pushAccessLevel"] = args ? args.pushAccessLevel : undefined;
|
|
90
|
+
inputs["branchProtectionId"] = undefined /*out*/;
|
|
57
91
|
}
|
|
58
92
|
if (!opts.version) {
|
|
59
93
|
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
package/branchProtection.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"branchProtection.js","sourceRoot":"","sources":["../branchProtection.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
1
|
+
{"version":3,"file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ict";
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
-
function
|
|
5
|
-
|
|
6
|
-
}
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
7
|
+
}) : (function(o, m, k, k2) {
|
|
8
|
+
if (k2 === undefined) k2 = k;
|
|
9
|
+
o[k2] = m[k];
|
|
10
|
+
}));
|
|
11
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
12
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
13
|
+
};
|
|
7
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
15
|
// Export members:
|
|
9
|
-
|
|
16
|
+
__exportStar(require("./vars"), exports);
|
|
10
17
|
//# sourceMappingURL=index.js.map
|
package/config/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../config/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../config/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;AAEjF,kBAAkB;AAClB,yCAAuB"}
|
package/config/vars.d.ts
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* The GitLab Base API URL
|
|
3
3
|
*/
|
|
4
|
-
export declare
|
|
4
|
+
export declare const baseUrl: string | undefined;
|
|
5
5
|
/**
|
|
6
6
|
* A file containing the ca certificate to use in case ssl certificate is not from a standard chain
|
|
7
7
|
*/
|
|
8
|
-
export declare
|
|
8
|
+
export declare const cacertFile: string | undefined;
|
|
9
9
|
/**
|
|
10
10
|
* File path to client certificate when GitLab instance is behind company proxy. File must contain PEM encoded data.
|
|
11
11
|
*/
|
|
12
|
-
export declare
|
|
12
|
+
export declare const clientCert: string | undefined;
|
|
13
13
|
/**
|
|
14
14
|
* File path to client key when GitLab instance is behind company proxy. File must contain PEM encoded data.
|
|
15
15
|
*/
|
|
16
|
-
export declare
|
|
16
|
+
export declare const clientKey: string | undefined;
|
|
17
17
|
/**
|
|
18
18
|
* Disable SSL verification of API calls
|
|
19
19
|
*/
|
|
20
|
-
export declare
|
|
20
|
+
export declare const insecure: boolean | undefined;
|
|
21
21
|
/**
|
|
22
22
|
* The OAuth token used to connect to GitLab.
|
|
23
23
|
*/
|
|
24
|
-
export declare
|
|
24
|
+
export declare const token: string | undefined;
|
package/config/vars.js
CHANGED
|
@@ -3,29 +3,41 @@
|
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
5
|
const pulumi = require("@pulumi/pulumi");
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
6
|
+
const __config = new pulumi.Config("gitlab");
|
|
7
|
+
Object.defineProperty(exports, "baseUrl", {
|
|
8
|
+
get() {
|
|
9
|
+
return __config.get("baseUrl");
|
|
10
|
+
},
|
|
11
|
+
enumerable: true,
|
|
12
|
+
});
|
|
13
|
+
Object.defineProperty(exports, "cacertFile", {
|
|
14
|
+
get() {
|
|
15
|
+
return __config.get("cacertFile");
|
|
16
|
+
},
|
|
17
|
+
enumerable: true,
|
|
18
|
+
});
|
|
19
|
+
Object.defineProperty(exports, "clientCert", {
|
|
20
|
+
get() {
|
|
21
|
+
return __config.get("clientCert");
|
|
22
|
+
},
|
|
23
|
+
enumerable: true,
|
|
24
|
+
});
|
|
25
|
+
Object.defineProperty(exports, "clientKey", {
|
|
26
|
+
get() {
|
|
27
|
+
return __config.get("clientKey");
|
|
28
|
+
},
|
|
29
|
+
enumerable: true,
|
|
30
|
+
});
|
|
31
|
+
Object.defineProperty(exports, "insecure", {
|
|
32
|
+
get() {
|
|
33
|
+
return __config.getObject("insecure");
|
|
34
|
+
},
|
|
35
|
+
enumerable: true,
|
|
36
|
+
});
|
|
37
|
+
Object.defineProperty(exports, "token", {
|
|
38
|
+
get() {
|
|
39
|
+
return __config.get("token");
|
|
40
|
+
},
|
|
41
|
+
enumerable: true,
|
|
42
|
+
});
|
|
31
43
|
//# sourceMappingURL=vars.js.map
|
package/config/vars.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vars.js","sourceRoot":"","sources":["../../config/vars.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;
|
|
1
|
+
{"version":3,"file":"vars.js","sourceRoot":"","sources":["../../config/vars.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AAIzC,MAAM,QAAQ,GAAG,IAAI,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;AAM7C,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,SAAS,EAAE;IACtC,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IACnC,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,YAAY,EAAE;IACzC,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,YAAY,CAAC,CAAC;IACtC,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,YAAY,EAAE;IACzC,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,YAAY,CAAC,CAAC;IACtC,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,WAAW,EAAE;IACxC,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC;IACrC,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,UAAU,EAAE;IACvC,GAAG;QACC,OAAO,QAAQ,CAAC,SAAS,CAAU,UAAU,CAAC,CAAC;IACnD,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,OAAO,EAAE;IACpC,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;IACjC,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC"}
|
package/deployKey.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
/**
|
|
3
3
|
* ## # gitlab\_deploy\_key
|
|
4
4
|
*
|
|
5
|
-
* This resource allows you to create and manage deploy keys for your GitLab projects.
|
|
5
|
+
* This resource allows you to create and manage [deploy keys](https://docs.gitlab.com/ee/user/project/deploy_keys/) for your GitLab projects.
|
|
6
6
|
*
|
|
7
7
|
* ## Example Usage
|
|
8
8
|
*
|
package/deployKey.js
CHANGED
|
@@ -2,12 +2,13 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.DeployKey = void 0;
|
|
5
6
|
const pulumi = require("@pulumi/pulumi");
|
|
6
7
|
const utilities = require("./utilities");
|
|
7
8
|
/**
|
|
8
9
|
* ## # gitlab\_deploy\_key
|
|
9
10
|
*
|
|
10
|
-
* This resource allows you to create and manage deploy keys for your GitLab projects.
|
|
11
|
+
* This resource allows you to create and manage [deploy keys](https://docs.gitlab.com/ee/user/project/deploy_keys/) for your GitLab projects.
|
|
11
12
|
*
|
|
12
13
|
* ## Example Usage
|
|
13
14
|
*
|
package/deployKey.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deployKey.js","sourceRoot":"","sources":["../deployKey.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
1
|
+
{"version":3,"file":"deployKey.js","sourceRoot":"","sources":["../deployKey.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAqDhD,YAAY,IAAY,EAAE,WAA4C,EAAE,IAAmC;QACvG,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAyC,CAAC;YACxD,MAAM,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,MAAM,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9C,MAAM,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,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U,EAAE,EAAC,CAAC,CAAC;SACxE;QACD,KAAK,CAAC,SAAS,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IACtD,CAAC;IAjFD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsB,EAAE,IAAmC;QACpH,OAAO,IAAI,SAAS,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAChE,CAAC;IAKD;;;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,CAAC,KAAK,SAAS,CAAC,YAAY,CAAC;IAC1D,CAAC;;AA1BL,8BAmFC;AArEG,gBAAgB;AACO,sBAAY,GAAG,kCAAkC,CAAC"}
|
package/deployKeyEnable.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
4
4
|
*
|
|
5
5
|
* This resource allows you to enable pre-existing deploy keys for your GitLab projects.
|
|
6
6
|
*
|
|
7
|
-
* **the GITLAB KEY_ID for the deploy key must be known
|
|
7
|
+
* > **NOTE**: the GITLAB KEY_ID for the deploy key must be known
|
|
8
8
|
*
|
|
9
9
|
* ## Example Usage
|
|
10
10
|
*
|
package/deployKeyEnable.js
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.DeployKeyEnable = void 0;
|
|
5
6
|
const pulumi = require("@pulumi/pulumi");
|
|
6
7
|
const utilities = require("./utilities");
|
|
7
8
|
/**
|
|
@@ -9,7 +10,7 @@ const utilities = require("./utilities");
|
|
|
9
10
|
*
|
|
10
11
|
* This resource allows you to enable pre-existing deploy keys for your GitLab projects.
|
|
11
12
|
*
|
|
12
|
-
* **the GITLAB KEY_ID for the deploy key must be known
|
|
13
|
+
* > **NOTE**: the GITLAB KEY_ID for the deploy key must be known
|
|
13
14
|
*
|
|
14
15
|
* ## Example Usage
|
|
15
16
|
*
|
package/deployKeyEnable.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deployKeyEnable.js","sourceRoot":"","sources":["../deployKeyEnable.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
1
|
+
{"version":3,"file":"deployKeyEnable.js","sourceRoot":"","sources":["../deployKeyEnable.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IAgDtD,YAAY,IAAY,EAAE,WAAwD,EAAE,IAAmC;QACnH,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA+C,CAAC;YAC9D,MAAM,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,MAAM,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9C,MAAM,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YAClD,MAAM,CAAC,SAAS,CAAC,GAAG,KAAK,CA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AAE,EAAC,CAAC,CAAC;SACxE;QACD,KAAK,CAAC,eAAe,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;IA3ED;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4B,EAAE,IAAmC;QAC1H,OAAO,IAAI,eAAe,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACtE,CAAC;IAKD;;;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,CAAC,KAAK,eAAe,CAAC,YAAY,CAAC;IAChE,CAAC;;AA1BL,0CA6EC;AA/DG,gBAAgB;AACO,4BAAY,GAAG,8CAA8C,CAAC"}
|
package/deployToken.js
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.DeployToken = void 0;
|
|
5
6
|
const pulumi = require("@pulumi/pulumi");
|
|
6
7
|
const utilities = require("./utilities");
|
|
7
8
|
/**
|
package/deployToken.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deployToken.js","sourceRoot":"","sources":["../deployToken.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
1
|
+
{"version":3,"file":"deployToken.js","sourceRoot":"","sources":["../deployToken.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;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AQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,WAAW,CAAC,YAAY,CAAC;IAC5D,CAAC;;AA1BL,kCAiGC;AAnFG,gBAAgB;AACO,wBAAY,GAAG,sCAAsC,CAAC"}
|
package/getGroup.d.ts
CHANGED
|
@@ -2,11 +2,10 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
/**
|
|
3
3
|
* ## # gitlab\_group
|
|
4
4
|
*
|
|
5
|
-
*
|
|
5
|
+
* Provide details about a specific group in the gitlab provider.
|
|
6
6
|
*
|
|
7
7
|
* ## Example Usage
|
|
8
|
-
*
|
|
9
|
-
* **By group's ID**
|
|
8
|
+
* ### By group's ID
|
|
10
9
|
*
|
|
11
10
|
* ```typescript
|
|
12
11
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -16,8 +15,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
16
15
|
* groupId: 123,
|
|
17
16
|
* }));
|
|
18
17
|
* ```
|
|
19
|
-
*
|
|
20
|
-
* **By group's full path**
|
|
18
|
+
* ### By group's full path
|
|
21
19
|
*
|
|
22
20
|
* ```typescript
|
|
23
21
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -96,3 +94,17 @@ export interface GetGroupResult {
|
|
|
96
94
|
*/
|
|
97
95
|
readonly webUrl: string;
|
|
98
96
|
}
|
|
97
|
+
export declare function getGroupOutput(args?: GetGroupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetGroupResult>;
|
|
98
|
+
/**
|
|
99
|
+
* A collection of arguments for invoking getGroup.
|
|
100
|
+
*/
|
|
101
|
+
export interface GetGroupOutputArgs {
|
|
102
|
+
/**
|
|
103
|
+
* The full path of the group.
|
|
104
|
+
*/
|
|
105
|
+
fullPath?: pulumi.Input<string>;
|
|
106
|
+
/**
|
|
107
|
+
* The ID of the group.
|
|
108
|
+
*/
|
|
109
|
+
groupId?: pulumi.Input<number>;
|
|
110
|
+
}
|
package/getGroup.js
CHANGED
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getGroupOutput = exports.getGroup = void 0;
|
|
5
6
|
const pulumi = require("@pulumi/pulumi");
|
|
6
7
|
const utilities = require("./utilities");
|
|
7
8
|
/**
|
|
8
9
|
* ## # gitlab\_group
|
|
9
10
|
*
|
|
10
|
-
*
|
|
11
|
+
* Provide details about a specific group in the gitlab provider.
|
|
11
12
|
*
|
|
12
13
|
* ## Example Usage
|
|
13
|
-
*
|
|
14
|
-
* **By group's ID**
|
|
14
|
+
* ### By group's ID
|
|
15
15
|
*
|
|
16
16
|
* ```typescript
|
|
17
17
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -21,8 +21,7 @@ const utilities = require("./utilities");
|
|
|
21
21
|
* groupId: 123,
|
|
22
22
|
* }));
|
|
23
23
|
* ```
|
|
24
|
-
*
|
|
25
|
-
* **By group's full path**
|
|
24
|
+
* ### By group's full path
|
|
26
25
|
*
|
|
27
26
|
* ```typescript
|
|
28
27
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -47,4 +46,8 @@ function getGroup(args, opts) {
|
|
|
47
46
|
}, opts);
|
|
48
47
|
}
|
|
49
48
|
exports.getGroup = getGroup;
|
|
49
|
+
function getGroupOutput(args, opts) {
|
|
50
|
+
return pulumi.output(args).apply(a => getGroup(a, opts));
|
|
51
|
+
}
|
|
52
|
+
exports.getGroupOutput = getGroupOutput;
|
|
50
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
|
|
1
|
+
{"version":3,"file":"getGroup.js","sourceRoot":"","sources":["../getGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,SAAgB,QAAQ,CAAC,IAAmB,EAAE,IAA2B;IACrE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,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;AAbD,4BAaC;AAuED,SAAgB,cAAc,CAAC,IAAyB,EAAE,IAA2B;IACjF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,QAAQ,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC5D,CAAC;AAFD,wCAEC"}
|
package/getGroupMembership.d.ts
CHANGED
|
@@ -3,11 +3,10 @@ import { output as outputs } from "./types";
|
|
|
3
3
|
/**
|
|
4
4
|
* ## # gitlab\_group\_membership
|
|
5
5
|
*
|
|
6
|
-
*
|
|
6
|
+
* Provide details about a list of group members in the gitlab provider. The results include id, username, name and more about the requested members.
|
|
7
7
|
*
|
|
8
8
|
* ## Example Usage
|
|
9
|
-
*
|
|
10
|
-
* **By group's ID**
|
|
9
|
+
* ### By group's ID
|
|
11
10
|
*
|
|
12
11
|
* ```typescript
|
|
13
12
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -17,8 +16,7 @@ import { output as outputs } from "./types";
|
|
|
17
16
|
* groupId: 123,
|
|
18
17
|
* }));
|
|
19
18
|
* ```
|
|
20
|
-
*
|
|
21
|
-
* **By group's full path**
|
|
19
|
+
* ### By group's full path
|
|
22
20
|
*
|
|
23
21
|
* ```typescript
|
|
24
22
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -35,7 +33,7 @@ export declare function getGroupMembership(args?: GetGroupMembershipArgs, opts?:
|
|
|
35
33
|
*/
|
|
36
34
|
export interface GetGroupMembershipArgs {
|
|
37
35
|
/**
|
|
38
|
-
* Only return members with the
|
|
36
|
+
* Only return members with the desired access level. Acceptable values are: `guest`, `reporter`, `developer`, `maintainer`, `owner`.
|
|
39
37
|
*/
|
|
40
38
|
accessLevel?: string;
|
|
41
39
|
/**
|
|
@@ -66,3 +64,21 @@ export interface GetGroupMembershipResult {
|
|
|
66
64
|
*/
|
|
67
65
|
readonly members: outputs.GetGroupMembershipMember[];
|
|
68
66
|
}
|
|
67
|
+
export declare function getGroupMembershipOutput(args?: GetGroupMembershipOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetGroupMembershipResult>;
|
|
68
|
+
/**
|
|
69
|
+
* A collection of arguments for invoking getGroupMembership.
|
|
70
|
+
*/
|
|
71
|
+
export interface GetGroupMembershipOutputArgs {
|
|
72
|
+
/**
|
|
73
|
+
* Only return members with the desired access level. Acceptable values are: `guest`, `reporter`, `developer`, `maintainer`, `owner`.
|
|
74
|
+
*/
|
|
75
|
+
accessLevel?: pulumi.Input<string>;
|
|
76
|
+
/**
|
|
77
|
+
* The full path of the group.
|
|
78
|
+
*/
|
|
79
|
+
fullPath?: pulumi.Input<string>;
|
|
80
|
+
/**
|
|
81
|
+
* The ID of the group.
|
|
82
|
+
*/
|
|
83
|
+
groupId?: pulumi.Input<number>;
|
|
84
|
+
}
|