@pulumi/gitlab 9.12.0-alpha.1782457766 → 10.0.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 +2 -2
- package/applicationSettings.d.ts +48 -18
- package/applicationSettings.d.ts.map +1 -1
- package/applicationSettings.js +8 -2
- package/applicationSettings.js.map +1 -1
- package/branchProtection.d.ts +48 -52
- package/branchProtection.d.ts.map +1 -1
- package/branchProtection.js +30 -24
- package/branchProtection.js.map +1 -1
- package/getGroup.d.ts +114 -2
- package/getGroup.d.ts.map +1 -1
- package/getGroup.js.map +1 -1
- package/getGroupHook.d.ts +40 -6
- package/getGroupHook.d.ts.map +1 -1
- package/getGroupHook.js.map +1 -1
- package/getGroupLabel.d.ts +125 -0
- package/getGroupLabel.d.ts.map +1 -0
- package/getGroupLabel.js +93 -0
- package/getGroupLabel.js.map +1 -0
- package/getGroupLabels.d.ts +74 -0
- package/getGroupLabels.d.ts.map +1 -0
- package/getGroupLabels.js +79 -0
- package/getGroupLabels.js.map +1 -0
- package/getGroupProtectedBranch.d.ts +82 -0
- package/getGroupProtectedBranch.d.ts.map +1 -0
- package/getGroupProtectedBranch.js +61 -0
- package/getGroupProtectedBranch.js.map +1 -0
- package/getGroupProtectedBranches.d.ts +54 -0
- package/getGroupProtectedBranches.d.ts.map +1 -0
- package/getGroupProtectedBranches.js +59 -0
- package/getGroupProtectedBranches.js.map +1 -0
- package/getProject.d.ts +355 -57
- package/getProject.d.ts.map +1 -1
- package/getProject.js +0 -6
- package/getProject.js.map +1 -1
- package/getProjectHook.d.ts +36 -6
- package/getProjectHook.d.ts.map +1 -1
- package/getProjectHook.js.map +1 -1
- package/getProjectMembership.d.ts +4 -40
- package/getProjectMembership.d.ts.map +1 -1
- package/getProjectMembership.js +0 -6
- package/getProjectMembership.js.map +1 -1
- package/getProjectProtectedBranch.d.ts +8 -21
- package/getProjectProtectedBranch.d.ts.map +1 -1
- package/getProjectProtectedBranch.js +0 -4
- package/getProjectProtectedBranch.js.map +1 -1
- package/getProjectProtectedBranches.d.ts +1 -10
- package/getProjectProtectedBranches.d.ts.map +1 -1
- package/getProjectProtectedBranches.js +0 -2
- package/getProjectProtectedBranches.js.map +1 -1
- package/getProjectServiceAccount.d.ts +97 -0
- package/getProjectServiceAccount.d.ts.map +1 -0
- package/getProjectServiceAccount.js +89 -0
- package/getProjectServiceAccount.js.map +1 -0
- package/getProjects.d.ts +22 -10
- package/getProjects.d.ts.map +1 -1
- package/getProjects.js +2 -0
- package/getProjects.js.map +1 -1
- package/getSystemHook.d.ts +111 -0
- package/getSystemHook.d.ts.map +1 -0
- package/getSystemHook.js +81 -0
- package/getSystemHook.js.map +1 -0
- package/getSystemHooks.d.ts +50 -0
- package/getSystemHooks.d.ts.map +1 -0
- package/getSystemHooks.js +73 -0
- package/getSystemHooks.js.map +1 -0
- package/group.d.ts +12 -0
- package/group.d.ts.map +1 -1
- package/group.js +2 -0
- package/group.js.map +1 -1
- package/groupAccessToken.d.ts +3 -3
- package/groupBranchProtection.d.ts +185 -0
- package/groupBranchProtection.d.ts.map +1 -0
- package/groupBranchProtection.js +146 -0
- package/groupBranchProtection.js.map +1 -0
- package/groupCluster.d.ts +1 -1
- package/groupCluster.js +1 -1
- package/groupDeployToken.d.ts +3 -3
- package/groupHook.d.ts +75 -3
- package/groupHook.d.ts.map +1 -1
- package/groupHook.js +15 -1
- package/groupHook.js.map +1 -1
- package/{integrationHarbor.d.ts → groupIntegrationHarbor.d.ts} +39 -43
- package/groupIntegrationHarbor.d.ts.map +1 -0
- package/{integrationHarbor.js → groupIntegrationHarbor.js} +30 -34
- package/groupIntegrationHarbor.js.map +1 -0
- package/groupSamlLink.d.ts +3 -3
- package/groupSavedReply.d.ts +78 -0
- package/groupSavedReply.d.ts.map +1 -0
- package/{deployToken.js → groupSavedReply.js} +19 -45
- package/groupSavedReply.js.map +1 -0
- package/groupServiceAccount.d.ts +12 -0
- package/groupServiceAccount.d.ts.map +1 -1
- package/groupServiceAccount.js +2 -0
- package/groupServiceAccount.js.map +1 -1
- package/groupServiceAccountAccessToken.d.ts +3 -3
- package/index.d.ts +45 -48
- package/index.d.ts.map +1 -1
- package/index.js +67 -86
- package/index.js.map +1 -1
- package/instanceCluster.d.ts +1 -1
- package/instanceCluster.js +1 -1
- package/integrationSlack.d.ts +0 -18
- package/integrationSlack.d.ts.map +1 -1
- package/integrationSlack.js +0 -2
- package/integrationSlack.js.map +1 -1
- package/memberRole.d.ts +3 -3
- package/package.json +2 -2
- package/personalAccessToken.d.ts +3 -3
- package/project.d.ts +36 -234
- package/project.d.ts.map +1 -1
- package/project.js +6 -26
- package/project.js.map +1 -1
- package/projectAccessToken.d.ts +3 -3
- package/projectCluster.d.ts +1 -1
- package/projectCluster.js +1 -1
- package/projectDeployToken.d.ts +3 -3
- package/projectHook.d.ts +103 -0
- package/projectHook.d.ts.map +1 -1
- package/projectHook.js +30 -1
- package/projectHook.js.map +1 -1
- package/projectIntegrationDatadog.d.ts +200 -0
- package/projectIntegrationDatadog.d.ts.map +1 -0
- package/{integrationGithub.js → projectIntegrationDatadog.js} +44 -45
- package/projectIntegrationDatadog.js.map +1 -0
- package/{integrationMicrosoftTeams.d.ts → projectIntegrationGoogleChat.d.ts} +35 -95
- package/projectIntegrationGoogleChat.d.ts.map +1 -0
- package/{integrationMicrosoftTeams.js → projectIntegrationGoogleChat.js} +12 -50
- package/projectIntegrationGoogleChat.js.map +1 -0
- package/projectIntegrationJira.d.ts +12 -12
- package/projectJobTokenScopes.d.ts +5 -21
- package/projectJobTokenScopes.d.ts.map +1 -1
- package/projectJobTokenScopes.js +6 -3
- package/projectJobTokenScopes.js.map +1 -1
- package/projectLabel.d.ts +12 -0
- package/projectLabel.d.ts.map +1 -1
- package/projectLabel.js +2 -0
- package/projectLabel.js.map +1 -1
- package/projectLevelMrApprovals.d.ts +21 -3
- package/projectLevelMrApprovals.d.ts.map +1 -1
- package/projectLevelMrApprovals.js +2 -0
- package/projectLevelMrApprovals.js.map +1 -1
- package/projectMergeRequestNote.d.ts +3 -3
- package/projectProtectedEnvironment.d.ts +4 -22
- package/projectProtectedEnvironment.d.ts.map +1 -1
- package/projectProtectedEnvironment.js +1 -3
- package/projectProtectedEnvironment.js.map +1 -1
- package/projectPushMirror.d.ts +12 -0
- package/projectPushMirror.d.ts.map +1 -1
- package/projectPushMirror.js +2 -0
- package/projectPushMirror.js.map +1 -1
- package/projectSavedReply.d.ts +78 -0
- package/projectSavedReply.d.ts.map +1 -0
- package/{label.js → projectSavedReply.js} +16 -24
- package/projectSavedReply.js.map +1 -0
- package/projectServiceAccount.d.ts +152 -0
- package/projectServiceAccount.d.ts.map +1 -0
- package/{integrationPipelinesEmail.js → projectServiceAccount.js} +42 -35
- package/projectServiceAccount.js.map +1 -0
- package/projectShareGroup.d.ts +2 -20
- package/projectShareGroup.d.ts.map +1 -1
- package/projectShareGroup.js +3 -2
- package/projectShareGroup.js.map +1 -1
- package/projectTargetBranchRule.d.ts +1 -1
- package/projectTargetBranchRule.js +1 -1
- package/systemHook.d.ts +50 -6
- package/systemHook.d.ts.map +1 -1
- package/systemHook.js +9 -1
- package/systemHook.js.map +1 -1
- package/types/input.d.ts +95 -249
- package/types/input.d.ts.map +1 -1
- package/types/output.d.ts +1168 -168
- package/types/output.d.ts.map +1 -1
- package/userImpersonationToken.d.ts +3 -3
- package/userSavedReply.d.ts +66 -0
- package/userSavedReply.d.ts.map +1 -0
- package/userSavedReply.js +82 -0
- package/userSavedReply.js.map +1 -0
- package/deployToken.d.ts +0 -147
- package/deployToken.d.ts.map +0 -1
- package/deployToken.js.map +0 -1
- package/integrationCustomIssueTracker.d.ts +0 -142
- package/integrationCustomIssueTracker.d.ts.map +0 -1
- package/integrationCustomIssueTracker.js +0 -130
- package/integrationCustomIssueTracker.js.map +0 -1
- package/integrationEmailsOnPush.d.ts +0 -198
- package/integrationEmailsOnPush.d.ts.map +0 -1
- package/integrationEmailsOnPush.js +0 -137
- package/integrationEmailsOnPush.js.map +0 -1
- package/integrationExternalWiki.d.ts +0 -137
- package/integrationExternalWiki.d.ts.map +0 -1
- package/integrationExternalWiki.js +0 -126
- package/integrationExternalWiki.js.map +0 -1
- package/integrationGithub.d.ts +0 -156
- package/integrationGithub.d.ts.map +0 -1
- package/integrationGithub.js.map +0 -1
- package/integrationHarbor.d.ts.map +0 -1
- package/integrationHarbor.js.map +0 -1
- package/integrationJenkins.d.ts +0 -190
- package/integrationJenkins.d.ts.map +0 -1
- package/integrationJenkins.js +0 -138
- package/integrationJenkins.js.map +0 -1
- package/integrationJira.d.ts +0 -299
- package/integrationJira.d.ts.map +0 -1
- package/integrationJira.js +0 -159
- package/integrationJira.js.map +0 -1
- package/integrationMattermost.d.ts +0 -352
- package/integrationMattermost.d.ts.map +0 -1
- package/integrationMattermost.js +0 -163
- package/integrationMattermost.js.map +0 -1
- package/integrationMicrosoftTeams.d.ts.map +0 -1
- package/integrationMicrosoftTeams.js.map +0 -1
- package/integrationPipelinesEmail.d.ts +0 -123
- package/integrationPipelinesEmail.d.ts.map +0 -1
- package/integrationPipelinesEmail.js.map +0 -1
- package/integrationRedmine.d.ts +0 -136
- package/integrationRedmine.d.ts.map +0 -1
- package/integrationRedmine.js +0 -131
- package/integrationRedmine.js.map +0 -1
- package/integrationTelegram.d.ts +0 -253
- package/integrationTelegram.d.ts.map +0 -1
- package/integrationTelegram.js +0 -184
- package/integrationTelegram.js.map +0 -1
- package/label.d.ts +0 -108
- package/label.d.ts.map +0 -1
- package/label.js.map +0 -1
- package/projectMirror.d.ts +0 -166
- package/projectMirror.d.ts.map +0 -1
- package/projectMirror.js +0 -131
- package/projectMirror.js.map +0 -1
- package/runner.d.ts +0 -188
- package/runner.d.ts.map +0 -1
- package/runner.js +0 -122
- package/runner.js.map +0 -1
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* The `gitlab.ProjectSavedReply` resource manages a comment template (saved reply) shared across a project. Requires Premium or Ultimate.
|
|
4
|
+
*
|
|
5
|
+
* **Upstream API**: [GitLab GraphQL API docs](https://docs.gitlab.com/api/graphql/reference/#mutationprojectsavedreplycreate)
|
|
6
|
+
*/
|
|
7
|
+
export declare class ProjectSavedReply extends pulumi.CustomResource {
|
|
8
|
+
/**
|
|
9
|
+
* Get an existing ProjectSavedReply resource's state with the given name, ID, and optional extra
|
|
10
|
+
* properties used to qualify the lookup.
|
|
11
|
+
*
|
|
12
|
+
* @param name The _unique_ name of the resulting resource.
|
|
13
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
14
|
+
* @param state Any extra arguments used during the lookup.
|
|
15
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
16
|
+
*/
|
|
17
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ProjectSavedReplyState, opts?: pulumi.CustomResourceOptions): ProjectSavedReply;
|
|
18
|
+
/**
|
|
19
|
+
* Returns true if the given object is an instance of ProjectSavedReply. This is designed to work even
|
|
20
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
21
|
+
*/
|
|
22
|
+
static isInstance(obj: any): obj is ProjectSavedReply;
|
|
23
|
+
/**
|
|
24
|
+
* The content of the saved reply.
|
|
25
|
+
*/
|
|
26
|
+
readonly content: pulumi.Output<string>;
|
|
27
|
+
/**
|
|
28
|
+
* The name of the saved reply.
|
|
29
|
+
*/
|
|
30
|
+
readonly name: pulumi.Output<string>;
|
|
31
|
+
/**
|
|
32
|
+
* The ID or full path of the project.
|
|
33
|
+
*/
|
|
34
|
+
readonly project: pulumi.Output<string>;
|
|
35
|
+
/**
|
|
36
|
+
* Create a ProjectSavedReply resource with the given unique name, arguments, and options.
|
|
37
|
+
*
|
|
38
|
+
* @param name The _unique_ name of the resource.
|
|
39
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
40
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
41
|
+
*/
|
|
42
|
+
constructor(name: string, args: ProjectSavedReplyArgs, opts?: pulumi.CustomResourceOptions);
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Input properties used for looking up and filtering ProjectSavedReply resources.
|
|
46
|
+
*/
|
|
47
|
+
export interface ProjectSavedReplyState {
|
|
48
|
+
/**
|
|
49
|
+
* The content of the saved reply.
|
|
50
|
+
*/
|
|
51
|
+
content?: pulumi.Input<string | undefined>;
|
|
52
|
+
/**
|
|
53
|
+
* The name of the saved reply.
|
|
54
|
+
*/
|
|
55
|
+
name?: pulumi.Input<string | undefined>;
|
|
56
|
+
/**
|
|
57
|
+
* The ID or full path of the project.
|
|
58
|
+
*/
|
|
59
|
+
project?: pulumi.Input<string | undefined>;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* The set of arguments for constructing a ProjectSavedReply resource.
|
|
63
|
+
*/
|
|
64
|
+
export interface ProjectSavedReplyArgs {
|
|
65
|
+
/**
|
|
66
|
+
* The content of the saved reply.
|
|
67
|
+
*/
|
|
68
|
+
content: pulumi.Input<string>;
|
|
69
|
+
/**
|
|
70
|
+
* The name of the saved reply.
|
|
71
|
+
*/
|
|
72
|
+
name?: pulumi.Input<string | undefined>;
|
|
73
|
+
/**
|
|
74
|
+
* The ID or full path of the project.
|
|
75
|
+
*/
|
|
76
|
+
project: pulumi.Input<string>;
|
|
77
|
+
}
|
|
78
|
+
//# sourceMappingURL=projectSavedReply.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"projectSavedReply.d.ts","sourceRoot":"","sources":["../projectSavedReply.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;GAIG;AACH,qBAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,sBAAsB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,iBAAiB;IAOpJ;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,iBAAiB;IAO5D;;OAEG;IACH,SAAwB,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACvD;;OAEG;IACH,SAAwB,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACpD;;OAEG;IACH,SAAwB,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAEvD;;;;;;OAMG;gBACS,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,qBAAqB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB;CAwB7F;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACnC;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC3C;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxC;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAC9C;AAED;;GAEG;AACH,MAAM,WAAW,qBAAqB;IAClC;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC9B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxC;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CACjC"}
|
|
@@ -25,19 +25,17 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
return result;
|
|
26
26
|
};
|
|
27
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
-
exports.
|
|
28
|
+
exports.ProjectSavedReply = void 0;
|
|
29
29
|
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
30
|
const utilities = __importStar(require("./utilities"));
|
|
31
31
|
/**
|
|
32
|
-
* The `gitlab.
|
|
32
|
+
* The `gitlab.ProjectSavedReply` resource manages a comment template (saved reply) shared across a project. Requires Premium or Ultimate.
|
|
33
33
|
*
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
* **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/labels/#get-a-single-project-label)
|
|
34
|
+
* **Upstream API**: [GitLab GraphQL API docs](https://docs.gitlab.com/api/graphql/reference/#mutationprojectsavedreplycreate)
|
|
37
35
|
*/
|
|
38
|
-
class
|
|
36
|
+
class ProjectSavedReply extends pulumi.CustomResource {
|
|
39
37
|
/**
|
|
40
|
-
* Get an existing
|
|
38
|
+
* Get an existing ProjectSavedReply resource's state with the given name, ID, and optional extra
|
|
41
39
|
* properties used to qualify the lookup.
|
|
42
40
|
*
|
|
43
41
|
* @param name The _unique_ name of the resulting resource.
|
|
@@ -46,50 +44,44 @@ class Label extends pulumi.CustomResource {
|
|
|
46
44
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
47
45
|
*/
|
|
48
46
|
static get(name, id, state, opts) {
|
|
49
|
-
return new
|
|
47
|
+
return new ProjectSavedReply(name, state, { ...opts, id: id });
|
|
50
48
|
}
|
|
51
49
|
/** @internal */
|
|
52
|
-
static __pulumiType = 'gitlab:index/
|
|
50
|
+
static __pulumiType = 'gitlab:index/projectSavedReply:ProjectSavedReply';
|
|
53
51
|
/**
|
|
54
|
-
* Returns true if the given object is an instance of
|
|
52
|
+
* Returns true if the given object is an instance of ProjectSavedReply. This is designed to work even
|
|
55
53
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
56
54
|
*/
|
|
57
55
|
static isInstance(obj) {
|
|
58
56
|
if (obj === undefined || obj === null) {
|
|
59
57
|
return false;
|
|
60
58
|
}
|
|
61
|
-
return obj['__pulumiType'] ===
|
|
59
|
+
return obj['__pulumiType'] === ProjectSavedReply.__pulumiType;
|
|
62
60
|
}
|
|
63
61
|
constructor(name, argsOrState, opts) {
|
|
64
62
|
let resourceInputs = {};
|
|
65
63
|
opts = opts || {};
|
|
66
64
|
if (opts.id) {
|
|
67
65
|
const state = argsOrState;
|
|
68
|
-
resourceInputs["
|
|
69
|
-
resourceInputs["colorHex"] = state?.colorHex;
|
|
70
|
-
resourceInputs["description"] = state?.description;
|
|
71
|
-
resourceInputs["labelId"] = state?.labelId;
|
|
66
|
+
resourceInputs["content"] = state?.content;
|
|
72
67
|
resourceInputs["name"] = state?.name;
|
|
73
68
|
resourceInputs["project"] = state?.project;
|
|
74
69
|
}
|
|
75
70
|
else {
|
|
76
71
|
const args = argsOrState;
|
|
77
|
-
if (args?.
|
|
78
|
-
throw new Error("Missing required property '
|
|
72
|
+
if (args?.content === undefined && !opts.urn) {
|
|
73
|
+
throw new Error("Missing required property 'content'");
|
|
79
74
|
}
|
|
80
75
|
if (args?.project === undefined && !opts.urn) {
|
|
81
76
|
throw new Error("Missing required property 'project'");
|
|
82
77
|
}
|
|
83
|
-
resourceInputs["
|
|
84
|
-
resourceInputs["description"] = args?.description;
|
|
78
|
+
resourceInputs["content"] = args?.content;
|
|
85
79
|
resourceInputs["name"] = args?.name;
|
|
86
80
|
resourceInputs["project"] = args?.project;
|
|
87
|
-
resourceInputs["colorHex"] = undefined /*out*/;
|
|
88
|
-
resourceInputs["labelId"] = undefined /*out*/;
|
|
89
81
|
}
|
|
90
82
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
91
|
-
super(
|
|
83
|
+
super(ProjectSavedReply.__pulumiType, name, resourceInputs, opts);
|
|
92
84
|
}
|
|
93
85
|
}
|
|
94
|
-
exports.
|
|
95
|
-
//# sourceMappingURL=
|
|
86
|
+
exports.ProjectSavedReply = ProjectSavedReply;
|
|
87
|
+
//# sourceMappingURL=proj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KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC1C,MAAM,IAAI,KAAK,CAAC,qCAAqC,CAAC,CAAC;aAC1D;YACD,IAAI,IAAI,EAAE,OAAO,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC1C,MAAM,IAAI,KAAK,CAAC,qCAAqC,CAAC,CAAC;aAC1D;YACD,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;SAC7C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,iBAAiB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACtE,CAAC;;AAvEL,8CAwEC"}
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* The `gitlab.ProjectServiceAccount` resource allows creating a GitLab project service account.
|
|
6
|
+
*
|
|
7
|
+
* **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/service_accounts/#project-service-accounts)
|
|
8
|
+
*
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as gitlab from "@pulumi/gitlab";
|
|
14
|
+
*
|
|
15
|
+
* const example = new gitlab.Project("example", {
|
|
16
|
+
* name: "example",
|
|
17
|
+
* description: "An example project",
|
|
18
|
+
* });
|
|
19
|
+
* // The service account against the project
|
|
20
|
+
* const exampleSa = new gitlab.ProjectServiceAccount("example_sa", {
|
|
21
|
+
* project: example.id,
|
|
22
|
+
* name: "example-name",
|
|
23
|
+
* username: "example-username",
|
|
24
|
+
* });
|
|
25
|
+
* // To assign the service account to a project as a member
|
|
26
|
+
* const exampleMembership = new gitlab.ProjectMembership("example_membership", {
|
|
27
|
+
* project: example.id,
|
|
28
|
+
* userId: exampleSa.serviceAccountId.apply(x =>Number(x)),
|
|
29
|
+
* accessLevel: "developer",
|
|
30
|
+
* expiresAt: "2020-03-14",
|
|
31
|
+
* });
|
|
32
|
+
* ```
|
|
33
|
+
*
|
|
34
|
+
* ## Import
|
|
35
|
+
*
|
|
36
|
+
* Starting in Terraform v1.5.0, you can use an import block to import `gitlab.ProjectServiceAccount`. For example:
|
|
37
|
+
*
|
|
38
|
+
* Importing using the CLI is supported with the following syntax:
|
|
39
|
+
*
|
|
40
|
+
* `id` is in the form of <project_id>:<service_account_id>
|
|
41
|
+
*
|
|
42
|
+
* ```sh
|
|
43
|
+
* $ pulumi import gitlab:index/projectServiceAccount:ProjectServiceAccount example example
|
|
44
|
+
* ```
|
|
45
|
+
*/
|
|
46
|
+
export declare class ProjectServiceAccount extends pulumi.CustomResource {
|
|
47
|
+
/**
|
|
48
|
+
* Get an existing ProjectServiceAccount resource's state with the given name, ID, and optional extra
|
|
49
|
+
* properties used to qualify the lookup.
|
|
50
|
+
*
|
|
51
|
+
* @param name The _unique_ name of the resulting resource.
|
|
52
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
53
|
+
* @param state Any extra arguments used during the lookup.
|
|
54
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
55
|
+
*/
|
|
56
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ProjectServiceAccountState, opts?: pulumi.CustomResourceOptions): ProjectServiceAccount;
|
|
57
|
+
/**
|
|
58
|
+
* Returns true if the given object is an instance of ProjectServiceAccount. This is designed to work even
|
|
59
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
60
|
+
*/
|
|
61
|
+
static isInstance(obj: any): obj is ProjectServiceAccount;
|
|
62
|
+
/**
|
|
63
|
+
* User account email. If not specified, generates an email prepended with `service_account_project_`. Custom email addresses require confirmation before the account is active, unless the parent group has a matching verified domain.
|
|
64
|
+
*/
|
|
65
|
+
readonly email: pulumi.Output<string>;
|
|
66
|
+
/**
|
|
67
|
+
* The name of the user. If not specified, the default Service account user name is used.
|
|
68
|
+
*/
|
|
69
|
+
readonly name: pulumi.Output<string>;
|
|
70
|
+
/**
|
|
71
|
+
* The ID or URL-encoded path of the project that the service account is created in.
|
|
72
|
+
*/
|
|
73
|
+
readonly project: pulumi.Output<string>;
|
|
74
|
+
/**
|
|
75
|
+
* The service account id.
|
|
76
|
+
*/
|
|
77
|
+
readonly serviceAccountId: pulumi.Output<string>;
|
|
78
|
+
/**
|
|
79
|
+
* If set to `true`, skip waiting for the service account to be fully deleted. This is recommended for gitlab.com where deletion can take a while due to asynchronous processing. Defaults to `false`.
|
|
80
|
+
*/
|
|
81
|
+
readonly skipWaitForDeletion: pulumi.Output<boolean | undefined>;
|
|
82
|
+
readonly timeouts: pulumi.Output<outputs.ProjectServiceAccountTimeouts | undefined>;
|
|
83
|
+
/**
|
|
84
|
+
* The username of the user. If not specified, it’s automatically generated.
|
|
85
|
+
*/
|
|
86
|
+
readonly username: pulumi.Output<string | undefined>;
|
|
87
|
+
/**
|
|
88
|
+
* Create a ProjectServiceAccount resource with the given unique name, arguments, and options.
|
|
89
|
+
*
|
|
90
|
+
* @param name The _unique_ name of the resource.
|
|
91
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
92
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
93
|
+
*/
|
|
94
|
+
constructor(name: string, args: ProjectServiceAccountArgs, opts?: pulumi.CustomResourceOptions);
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* Input properties used for looking up and filtering ProjectServiceAccount resources.
|
|
98
|
+
*/
|
|
99
|
+
export interface ProjectServiceAccountState {
|
|
100
|
+
/**
|
|
101
|
+
* User account email. If not specified, generates an email prepended with `service_account_project_`. Custom email addresses require confirmation before the account is active, unless the parent group has a matching verified domain.
|
|
102
|
+
*/
|
|
103
|
+
email?: pulumi.Input<string | undefined>;
|
|
104
|
+
/**
|
|
105
|
+
* The name of the user. If not specified, the default Service account user name is used.
|
|
106
|
+
*/
|
|
107
|
+
name?: pulumi.Input<string | undefined>;
|
|
108
|
+
/**
|
|
109
|
+
* The ID or URL-encoded path of the project that the service account is created in.
|
|
110
|
+
*/
|
|
111
|
+
project?: pulumi.Input<string | undefined>;
|
|
112
|
+
/**
|
|
113
|
+
* The service account id.
|
|
114
|
+
*/
|
|
115
|
+
serviceAccountId?: pulumi.Input<string | undefined>;
|
|
116
|
+
/**
|
|
117
|
+
* If set to `true`, skip waiting for the service account to be fully deleted. This is recommended for gitlab.com where deletion can take a while due to asynchronous processing. Defaults to `false`.
|
|
118
|
+
*/
|
|
119
|
+
skipWaitForDeletion?: pulumi.Input<boolean | undefined>;
|
|
120
|
+
timeouts?: pulumi.Input<inputs.ProjectServiceAccountTimeouts | undefined>;
|
|
121
|
+
/**
|
|
122
|
+
* The username of the user. If not specified, it’s automatically generated.
|
|
123
|
+
*/
|
|
124
|
+
username?: pulumi.Input<string | undefined>;
|
|
125
|
+
}
|
|
126
|
+
/**
|
|
127
|
+
* The set of arguments for constructing a ProjectServiceAccount resource.
|
|
128
|
+
*/
|
|
129
|
+
export interface ProjectServiceAccountArgs {
|
|
130
|
+
/**
|
|
131
|
+
* User account email. If not specified, generates an email prepended with `service_account_project_`. Custom email addresses require confirmation before the account is active, unless the parent group has a matching verified domain.
|
|
132
|
+
*/
|
|
133
|
+
email?: pulumi.Input<string | undefined>;
|
|
134
|
+
/**
|
|
135
|
+
* The name of the user. If not specified, the default Service account user name is used.
|
|
136
|
+
*/
|
|
137
|
+
name?: pulumi.Input<string | undefined>;
|
|
138
|
+
/**
|
|
139
|
+
* The ID or URL-encoded path of the project that the service account is created in.
|
|
140
|
+
*/
|
|
141
|
+
project: pulumi.Input<string>;
|
|
142
|
+
/**
|
|
143
|
+
* If set to `true`, skip waiting for the service account to be fully deleted. This is recommended for gitlab.com where deletion can take a while due to asynchronous processing. Defaults to `false`.
|
|
144
|
+
*/
|
|
145
|
+
skipWaitForDeletion?: pulumi.Input<boolean | undefined>;
|
|
146
|
+
timeouts?: pulumi.Input<inputs.ProjectServiceAccountTimeouts | undefined>;
|
|
147
|
+
/**
|
|
148
|
+
* The username of the user. If not specified, it’s automatically generated.
|
|
149
|
+
*/
|
|
150
|
+
username?: pulumi.Input<string | undefined>;
|
|
151
|
+
}
|
|
152
|
+
//# sourceMappingURL=projectServiceAccount.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"projectServiceAccount.d.ts","sourceRoot":"","sources":["../projectServiceAccount.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,qBAAa,qBAAsB,SAAQ,MAAM,CAAC,cAAc;IAC5D;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,0BAA0B,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,qBAAqB;IAO5J;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,qBAAqB;IAOhE;;OAEG;IACH,SAAwB,KAAK,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACrD;;OAEG;IACH,SAAwB,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC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AS,CAAC,CAAC;CAC/C;AAED;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACtC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACzC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxC;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC9B;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IACxD,QAAQ,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,6BAA6B,GAAG,SAAS,CAAC,CAAC;IAC1E;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAC/C"}
|
|
@@ -25,15 +25,13 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
return result;
|
|
26
26
|
};
|
|
27
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
-
exports.
|
|
28
|
+
exports.ProjectServiceAccount = void 0;
|
|
29
29
|
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
30
|
const utilities = __importStar(require("./utilities"));
|
|
31
31
|
/**
|
|
32
|
-
* The `gitlab.
|
|
32
|
+
* The `gitlab.ProjectServiceAccount` resource allows creating a GitLab project service account.
|
|
33
33
|
*
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
* **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/project_integrations/#pipeline-status-emails)
|
|
34
|
+
* **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/service_accounts/#project-service-accounts)
|
|
37
35
|
*
|
|
38
36
|
* ## Example Usage
|
|
39
37
|
*
|
|
@@ -41,34 +39,40 @@ const utilities = __importStar(require("./utilities"));
|
|
|
41
39
|
* import * as pulumi from "@pulumi/pulumi";
|
|
42
40
|
* import * as gitlab from "@pulumi/gitlab";
|
|
43
41
|
*
|
|
44
|
-
* const
|
|
45
|
-
* name: "
|
|
46
|
-
* description: "
|
|
47
|
-
*
|
|
42
|
+
* const example = new gitlab.Project("example", {
|
|
43
|
+
* name: "example",
|
|
44
|
+
* description: "An example project",
|
|
45
|
+
* });
|
|
46
|
+
* // The service account against the project
|
|
47
|
+
* const exampleSa = new gitlab.ProjectServiceAccount("example_sa", {
|
|
48
|
+
* project: example.id,
|
|
49
|
+
* name: "example-name",
|
|
50
|
+
* username: "example-username",
|
|
48
51
|
* });
|
|
49
|
-
*
|
|
50
|
-
*
|
|
51
|
-
*
|
|
52
|
-
*
|
|
53
|
-
*
|
|
52
|
+
* // To assign the service account to a project as a member
|
|
53
|
+
* const exampleMembership = new gitlab.ProjectMembership("example_membership", {
|
|
54
|
+
* project: example.id,
|
|
55
|
+
* userId: exampleSa.serviceAccountId.apply(x =>Number(x)),
|
|
56
|
+
* accessLevel: "developer",
|
|
57
|
+
* expiresAt: "2020-03-14",
|
|
54
58
|
* });
|
|
55
59
|
* ```
|
|
56
60
|
*
|
|
57
61
|
* ## Import
|
|
58
62
|
*
|
|
59
|
-
* Starting in Terraform v1.5.0, you can use an import block to import `gitlab.
|
|
63
|
+
* Starting in Terraform v1.5.0, you can use an import block to import `gitlab.ProjectServiceAccount`. For example:
|
|
60
64
|
*
|
|
61
65
|
* Importing using the CLI is supported with the following syntax:
|
|
62
66
|
*
|
|
63
|
-
*
|
|
67
|
+
* `id` is in the form of <project_id>:<service_account_id>
|
|
64
68
|
*
|
|
65
69
|
* ```sh
|
|
66
|
-
* $ pulumi import gitlab:index/
|
|
70
|
+
* $ pulumi import gitlab:index/projectServiceAccount:ProjectServiceAccount example example
|
|
67
71
|
* ```
|
|
68
72
|
*/
|
|
69
|
-
class
|
|
73
|
+
class ProjectServiceAccount extends pulumi.CustomResource {
|
|
70
74
|
/**
|
|
71
|
-
* Get an existing
|
|
75
|
+
* Get an existing ProjectServiceAccount resource's state with the given name, ID, and optional extra
|
|
72
76
|
* properties used to qualify the lookup.
|
|
73
77
|
*
|
|
74
78
|
* @param name The _unique_ name of the resulting resource.
|
|
@@ -77,46 +81,49 @@ class IntegrationPipelinesEmail extends pulumi.CustomResource {
|
|
|
77
81
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
78
82
|
*/
|
|
79
83
|
static get(name, id, state, opts) {
|
|
80
|
-
return new
|
|
84
|
+
return new ProjectServiceAccount(name, state, { ...opts, id: id });
|
|
81
85
|
}
|
|
82
86
|
/** @internal */
|
|
83
|
-
static __pulumiType = 'gitlab:index/
|
|
87
|
+
static __pulumiType = 'gitlab:index/projectServiceAccount:ProjectServiceAccount';
|
|
84
88
|
/**
|
|
85
|
-
* Returns true if the given object is an instance of
|
|
89
|
+
* Returns true if the given object is an instance of ProjectServiceAccount. This is designed to work even
|
|
86
90
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
87
91
|
*/
|
|
88
92
|
static isInstance(obj) {
|
|
89
93
|
if (obj === undefined || obj === null) {
|
|
90
94
|
return false;
|
|
91
95
|
}
|
|
92
|
-
return obj['__pulumiType'] ===
|
|
96
|
+
return obj['__pulumiType'] === ProjectServiceAccount.__pulumiType;
|
|
93
97
|
}
|
|
94
98
|
constructor(name, argsOrState, opts) {
|
|
95
99
|
let resourceInputs = {};
|
|
96
100
|
opts = opts || {};
|
|
97
101
|
if (opts.id) {
|
|
98
102
|
const state = argsOrState;
|
|
99
|
-
resourceInputs["
|
|
100
|
-
resourceInputs["
|
|
103
|
+
resourceInputs["email"] = state?.email;
|
|
104
|
+
resourceInputs["name"] = state?.name;
|
|
101
105
|
resourceInputs["project"] = state?.project;
|
|
102
|
-
resourceInputs["
|
|
106
|
+
resourceInputs["serviceAccountId"] = state?.serviceAccountId;
|
|
107
|
+
resourceInputs["skipWaitForDeletion"] = state?.skipWaitForDeletion;
|
|
108
|
+
resourceInputs["timeouts"] = state?.timeouts;
|
|
109
|
+
resourceInputs["username"] = state?.username;
|
|
103
110
|
}
|
|
104
111
|
else {
|
|
105
112
|
const args = argsOrState;
|
|
106
113
|
if (args?.project === undefined && !opts.urn) {
|
|
107
114
|
throw new Error("Missing required property 'project'");
|
|
108
115
|
}
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
}
|
|
112
|
-
resourceInputs["branchesToBeNotified"] = args?.branchesToBeNotified;
|
|
113
|
-
resourceInputs["notifyOnlyBrokenPipelines"] = args?.notifyOnlyBrokenPipelines;
|
|
116
|
+
resourceInputs["email"] = args?.email;
|
|
117
|
+
resourceInputs["name"] = args?.name;
|
|
114
118
|
resourceInputs["project"] = args?.project;
|
|
115
|
-
resourceInputs["
|
|
119
|
+
resourceInputs["skipWaitForDeletion"] = args?.skipWaitForDeletion;
|
|
120
|
+
resourceInputs["timeouts"] = args?.timeouts;
|
|
121
|
+
resourceInputs["username"] = args?.username;
|
|
122
|
+
resourceInputs["serviceAccountId"] = undefined /*out*/;
|
|
116
123
|
}
|
|
117
124
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
118
|
-
super(
|
|
125
|
+
super(ProjectServiceAccount.__pulumiType, name, resourceInputs, opts);
|
|
119
126
|
}
|
|
120
127
|
}
|
|
121
|
-
exports.
|
|
122
|
-
//# sourceMappingURL=
|
|
128
|
+
exports.ProjectServiceAccount = ProjectServiceAccount;
|
|
129
|
+
//# sourceMappingURL=projectServiceAccount.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"projectServiceAccount.js","sourceRoot":"","sources":["../projectServiceAccount.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,MAAa,qBAAsB,SAAQ,MA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O,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC1C,MAAM,IAAI,KAAK,CAAC,qCAAqC,CAAC,CAAC;aAC1D;YACD,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC;YACtC,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,qBAAqB,CAAC,GAAG,IAAI,EAAE,mBAAmB,CAAC;YAClE,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC1D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,qBAAqB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1E,CAAC;;AAzFL,sDA0FC"}
|
package/projectShareGroup.d.ts
CHANGED
|
@@ -45,12 +45,6 @@ export declare class ProjectShareGroup extends pulumi.CustomResource {
|
|
|
45
45
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
46
46
|
*/
|
|
47
47
|
static isInstance(obj: any): obj is ProjectShareGroup;
|
|
48
|
-
/**
|
|
49
|
-
* The access level to grant the group for the project. Valid values are: `no one`, `minimal`, `guest`, `planner`, `reporter`, `developer`, `maintainer`, `owner`
|
|
50
|
-
*
|
|
51
|
-
* @deprecated Use `groupAccess` instead of the `accessLevel` attribute.
|
|
52
|
-
*/
|
|
53
|
-
readonly accessLevel: pulumi.Output<string | undefined>;
|
|
54
48
|
/**
|
|
55
49
|
* Share expiration date. Format: `YYYY-MM-DD`
|
|
56
50
|
*/
|
|
@@ -58,7 +52,7 @@ export declare class ProjectShareGroup extends pulumi.CustomResource {
|
|
|
58
52
|
/**
|
|
59
53
|
* The access level to grant the group for the project. Valid values are: `no one`, `minimal`, `guest`, `planner`, `reporter`, `developer`, `maintainer`, `owner`
|
|
60
54
|
*/
|
|
61
|
-
readonly groupAccess: pulumi.Output<string
|
|
55
|
+
readonly groupAccess: pulumi.Output<string>;
|
|
62
56
|
/**
|
|
63
57
|
* The id of the group.
|
|
64
58
|
*/
|
|
@@ -80,12 +74,6 @@ export declare class ProjectShareGroup extends pulumi.CustomResource {
|
|
|
80
74
|
* Input properties used for looking up and filtering ProjectShareGroup resources.
|
|
81
75
|
*/
|
|
82
76
|
export interface ProjectShareGroupState {
|
|
83
|
-
/**
|
|
84
|
-
* The access level to grant the group for the project. Valid values are: `no one`, `minimal`, `guest`, `planner`, `reporter`, `developer`, `maintainer`, `owner`
|
|
85
|
-
*
|
|
86
|
-
* @deprecated Use `groupAccess` instead of the `accessLevel` attribute.
|
|
87
|
-
*/
|
|
88
|
-
accessLevel?: pulumi.Input<string | undefined>;
|
|
89
77
|
/**
|
|
90
78
|
* Share expiration date. Format: `YYYY-MM-DD`
|
|
91
79
|
*/
|
|
@@ -107,12 +95,6 @@ export interface ProjectShareGroupState {
|
|
|
107
95
|
* The set of arguments for constructing a ProjectShareGroup resource.
|
|
108
96
|
*/
|
|
109
97
|
export interface ProjectShareGroupArgs {
|
|
110
|
-
/**
|
|
111
|
-
* The access level to grant the group for the project. Valid values are: `no one`, `minimal`, `guest`, `planner`, `reporter`, `developer`, `maintainer`, `owner`
|
|
112
|
-
*
|
|
113
|
-
* @deprecated Use `groupAccess` instead of the `accessLevel` attribute.
|
|
114
|
-
*/
|
|
115
|
-
accessLevel?: pulumi.Input<string | undefined>;
|
|
116
98
|
/**
|
|
117
99
|
* Share expiration date. Format: `YYYY-MM-DD`
|
|
118
100
|
*/
|
|
@@ -120,7 +102,7 @@ export interface ProjectShareGroupArgs {
|
|
|
120
102
|
/**
|
|
121
103
|
* The access level to grant the group for the project. Valid values are: `no one`, `minimal`, `guest`, `planner`, `reporter`, `developer`, `maintainer`, `owner`
|
|
122
104
|
*/
|
|
123
|
-
groupAccess
|
|
105
|
+
groupAccess: pulumi.Input<string>;
|
|
124
106
|
/**
|
|
125
107
|
* The id of the group.
|
|
126
108
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"projectShareGroup.d.ts","sourceRoot":"","sources":["../projectShareGroup.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,qBAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,sBAAsB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,iBAAiB;IAOpJ;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,iBAAiB;IAO5D
|
|
1
|
+
{"version":3,"file":"projectShareGroup.d.ts","sourceRoot":"","sources":["../projectShareGroup.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,qBAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,sBAAsB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,iBAAiB;IAOpJ;;;OAGG;WACW,U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AC,KAAK,CAAC,MAAM,CAAC,CAAC;CACjC"}
|
package/projectShareGroup.js
CHANGED
|
@@ -88,7 +88,6 @@ class ProjectShareGroup extends pulumi.CustomResource {
|
|
|
88
88
|
opts = opts || {};
|
|
89
89
|
if (opts.id) {
|
|
90
90
|
const state = argsOrState;
|
|
91
|
-
resourceInputs["accessLevel"] = state?.accessLevel;
|
|
92
91
|
resourceInputs["expiresAt"] = state?.expiresAt;
|
|
93
92
|
resourceInputs["groupAccess"] = state?.groupAccess;
|
|
94
93
|
resourceInputs["groupId"] = state?.groupId;
|
|
@@ -96,13 +95,15 @@ class ProjectShareGroup extends pulumi.CustomResource {
|
|
|
96
95
|
}
|
|
97
96
|
else {
|
|
98
97
|
const args = argsOrState;
|
|
98
|
+
if (args?.groupAccess === undefined && !opts.urn) {
|
|
99
|
+
throw new Error("Missing required property 'groupAccess'");
|
|
100
|
+
}
|
|
99
101
|
if (args?.groupId === undefined && !opts.urn) {
|
|
100
102
|
throw new Error("Missing required property 'groupId'");
|
|
101
103
|
}
|
|
102
104
|
if (args?.project === undefined && !opts.urn) {
|
|
103
105
|
throw new Error("Missing required property 'project'");
|
|
104
106
|
}
|
|
105
|
-
resourceInputs["accessLevel"] = args?.accessLevel;
|
|
106
107
|
resourceInputs["expiresAt"] = args?.expiresAt;
|
|
107
108
|
resourceInputs["groupAccess"] = args?.groupAccess;
|
|
108
109
|
resourceInputs["groupId"] = args?.groupId;
|
package/projectShareGroup.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"projectShareGroup.js","sourceRoot":"","sources":["../projectShareGroup.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;;OAQG;IACI,MAAM,CAA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AAI,CAAC,CAAC;QACnE,KAAK,CAAC,iBAAiB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACtE,CAAC;;AAhFL,8CAiFC"}
|
|
@@ -29,7 +29,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
29
29
|
*
|
|
30
30
|
* Importing using the CLI is supported with the following syntax:
|
|
31
31
|
*
|
|
32
|
-
* A GitLab Project
|
|
32
|
+
* A GitLab Project target branch rule can be imported using a key composed of `<project>:<target-branch-rule-id>`, for example:
|
|
33
33
|
*
|
|
34
34
|
* ```sh
|
|
35
35
|
* $ pulumi import gitlab:index/projectTargetBranchRule:ProjectTargetBranchRule example "12345:1"
|
|
@@ -58,7 +58,7 @@ const utilities = __importStar(require("./utilities"));
|
|
|
58
58
|
*
|
|
59
59
|
* Importing using the CLI is supported with the following syntax:
|
|
60
60
|
*
|
|
61
|
-
* A GitLab Project
|
|
61
|
+
* A GitLab Project target branch rule can be imported using a key composed of `<project>:<target-branch-rule-id>`, for example:
|
|
62
62
|
*
|
|
63
63
|
* ```sh
|
|
64
64
|
* $ pulumi import gitlab:index/projectTargetBranchRule:ProjectTargetBranchRule example "12345:1"
|