@pulumi/gitlab 4.6.0 → 4.7.0-alpha.1648756283
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/branch.d.ts +3 -1
- package/branch.js +3 -1
- package/branch.js.map +1 -1
- package/branchProtection.d.ts +42 -6
- package/branchProtection.js +18 -8
- package/branchProtection.js.map +1 -1
- package/deployKey.d.ts +11 -4
- package/deployKey.js +5 -1
- package/deployKey.js.map +1 -1
- package/deployKeyEnable.d.ts +2 -2
- package/deployKeyEnable.js +2 -2
- package/deployToken.d.ts +24 -6
- package/deployToken.js +17 -1
- package/deployToken.js.map +1 -1
- package/getBranch.d.ts +3 -43
- package/getBranch.js +3 -1
- package/getBranch.js.map +1 -1
- package/getGroup.d.ts +3 -53
- package/getGroup.js +2 -2
- package/getGroup.js.map +1 -1
- package/getGroupMembership.d.ts +2 -32
- package/getGroupMembership.js +2 -2
- package/getGroupMembership.js.map +1 -1
- package/getInstanceDeployKeys.d.ts +46 -0
- package/getInstanceDeployKeys.js +42 -0
- package/getInstanceDeployKeys.js.map +1 -0
- package/getProject.d.ts +32 -88
- package/getProject.js +4 -1
- package/getProject.js.map +1 -1
- package/getProjectIssue.d.ts +91 -0
- package/getProjectIssue.js +44 -0
- package/getProjectIssue.js.map +1 -0
- package/getProjectIssues.d.ts +122 -0
- package/getProjectIssues.js +67 -0
- package/getProjectIssues.js.map +1 -0
- package/getProjectProtectedBranch.d.ts +3 -34
- package/getProjectProtectedBranch.js +3 -1
- package/getProjectProtectedBranch.js.map +1 -1
- package/getProjectProtectedBranches.d.ts +3 -13
- package/getProjectProtectedBranches.js +3 -1
- package/getProjectProtectedBranches.js.map +1 -1
- package/getProjectTag.d.ts +52 -0
- package/getProjectTag.js +41 -0
- package/getProjectTag.js.map +1 -0
- package/getProjectTags.d.ts +53 -0
- package/getProjectTags.js +42 -0
- package/getProjectTags.js.map +1 -0
- package/getProjects.d.ts +5 -195
- package/getProjects.js +5 -3
- package/getProjects.js.map +1 -1
- package/getRepositoryFile.d.ts +57 -0
- package/getRepositoryFile.js +42 -0
- package/getRepositoryFile.js.map +1 -0
- package/getUser.d.ts +4 -101
- package/getUser.js +4 -2
- package/getUser.js.map +1 -1
- package/getUsers.d.ts +6 -86
- package/getUsers.js +6 -2
- package/getUsers.js.map +1 -1
- package/group.d.ts +53 -38
- package/group.js +7 -2
- package/group.js.map +1 -1
- package/groupAccessToken.d.ts +15 -6
- package/groupAccessToken.js +5 -1
- package/groupAccessToken.js.map +1 -1
- package/groupBadge.d.ts +7 -7
- package/groupBadge.js +3 -3
- package/groupCluster.d.ts +8 -6
- package/groupCluster.js +5 -3
- package/groupCluster.js.map +1 -1
- package/groupCustomAttribute.d.ts +3 -1
- package/groupCustomAttribute.js +3 -1
- package/groupCustomAttribute.js.map +1 -1
- package/groupLabel.d.ts +9 -6
- package/groupLabel.js +3 -3
- package/groupLabel.js.map +1 -1
- package/groupLdapLink.d.ts +15 -7
- package/groupLdapLink.js +3 -1
- package/groupLdapLink.js.map +1 -1
- package/groupMembership.d.ts +11 -4
- package/groupMembership.js +5 -1
- package/groupMembership.js.map +1 -1
- package/groupShareGroup.d.ts +9 -4
- package/groupShareGroup.js +3 -1
- package/groupShareGroup.js.map +1 -1
- package/groupVariable.d.ts +27 -15
- package/groupVariable.js +3 -3
- package/groupVariable.js.map +1 -1
- package/index.d.ts +11 -0
- package/index.js +31 -0
- package/index.js.map +1 -1
- package/instanceCluster.d.ts +8 -6
- package/instanceCluster.js +5 -3
- package/instanceCluster.js.map +1 -1
- package/instanceVariable.d.ts +18 -12
- package/instanceVariable.js +3 -3
- package/instanceVariable.js.map +1 -1
- package/label.d.ts +17 -6
- package/label.js +11 -3
- package/label.js.map +1 -1
- package/managedLicense.d.ts +14 -7
- package/managedLicense.js +5 -4
- package/managedLicense.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/pipelineSchedule.d.ts +3 -3
- package/pipelineSchedule.js +3 -3
- package/pipelineScheduleVariable.d.ts +3 -1
- package/pipelineScheduleVariable.js +3 -1
- package/pipelineScheduleVariable.js.map +1 -1
- package/pipelineTrigger.d.ts +3 -1
- package/pipelineTrigger.js +3 -1
- package/pipelineTrigger.js.map +1 -1
- package/project.d.ts +372 -26
- package/project.js +59 -1
- package/project.js.map +1 -1
- package/projectAccessToken.d.ts +20 -8
- package/projectAccessToken.js +13 -1
- package/projectAccessToken.js.map +1 -1
- package/projectApprovalRule.d.ts +19 -2
- package/projectApprovalRule.js +6 -2
- package/projectApprovalRule.js.map +1 -1
- package/projectBadge.d.ts +7 -7
- package/projectBadge.js +3 -3
- package/projectCluster.d.ts +8 -6
- package/projectCluster.js +5 -3
- package/projectCluster.js.map +1 -1
- package/projectCustomAttribute.d.ts +3 -1
- package/projectCustomAttribute.js +3 -1
- package/projectCustomAttribute.js.map +1 -1
- package/projectEnvironment.d.ts +147 -0
- package/projectEnvironment.js +95 -0
- package/projectEnvironment.js.map +1 -0
- package/projectFreezePeriod.d.ts +3 -1
- package/projectFreezePeriod.js +3 -1
- package/projectFreezePeriod.js.map +1 -1
- package/projectHook.d.ts +16 -6
- package/projectHook.js +13 -3
- package/projectHook.js.map +1 -1
- package/projectIssue.d.ts +526 -0
- package/projectIssue.js +163 -0
- package/projectIssue.js.map +1 -0
- package/projectLevelMrApprovals.d.ts +11 -5
- package/projectLevelMrApprovals.js +5 -2
- package/projectLevelMrApprovals.js.map +1 -1
- package/projectMembership.d.ts +11 -4
- package/projectMembership.js +5 -1
- package/projectMembership.js.map +1 -1
- package/projectMirror.d.ts +4 -5
- package/projectMirror.js +4 -5
- package/projectMirror.js.map +1 -1
- package/projectProtectedEnvironment.d.ts +127 -0
- package/projectProtectedEnvironment.js +116 -0
- package/projectProtectedEnvironment.js.map +1 -0
- package/projectShareGroup.d.ts +15 -7
- package/projectShareGroup.js +3 -1
- package/projectShareGroup.js.map +1 -1
- package/projectTag.d.ts +149 -0
- package/projectTag.js +101 -0
- package/projectTag.js.map +1 -0
- package/projectVariable.d.ts +16 -16
- package/projectVariable.js +4 -7
- package/projectVariable.js.map +1 -1
- package/repositoryFile.d.ts +67 -8
- package/repositoryFile.js +14 -0
- package/repositoryFile.js.map +1 -1
- package/serviceGithub.d.ts +10 -5
- package/serviceGithub.js +4 -2
- package/serviceGithub.js.map +1 -1
- package/serviceJira.d.ts +15 -7
- package/serviceJira.js +3 -1
- package/serviceJira.js.map +1 -1
- package/serviceMicrosoftTeams.d.ts +9 -4
- package/serviceMicrosoftTeams.js +3 -1
- package/serviceMicrosoftTeams.js.map +1 -1
- package/servicePipelinesEmail.d.ts +9 -4
- package/servicePipelinesEmail.js +3 -1
- package/servicePipelinesEmail.js.map +1 -1
- package/serviceSlack.d.ts +13 -9
- package/serviceSlack.js +3 -1
- package/serviceSlack.js.map +1 -1
- package/systemHook.d.ts +165 -0
- package/systemHook.js +100 -0
- package/systemHook.js.map +1 -0
- package/tagProtection.d.ts +3 -1
- package/tagProtection.js +3 -1
- package/tagProtection.js.map +1 -1
- package/topic.d.ts +57 -25
- package/topic.js +10 -16
- package/topic.js.map +1 -1
- package/types/input.d.ts +42 -60
- package/types/output.d.ts +197 -102
- package/user.d.ts +18 -12
- package/user.js +6 -3
- package/user.js.map +1 -1
- package/userCustomAttribute.d.ts +3 -1
- package/userCustomAttribute.js +3 -1
- package/userCustomAttribute.js.map +1 -1
- package/userSshKey.d.ts +7 -4
- package/userSshKey.js +1 -1
- package/userSshKey.js.map +1 -1
package/systemHook.js
ADDED
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.SystemHook = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* The `gitlab.SystemHook` resource allows to manage the lifecycle of a system hook.
|
|
10
|
+
*
|
|
11
|
+
* > This resource requires GitLab 14.9
|
|
12
|
+
*
|
|
13
|
+
* **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/system_hooks.html)
|
|
14
|
+
*
|
|
15
|
+
* ## Example Usage
|
|
16
|
+
*
|
|
17
|
+
* ```typescript
|
|
18
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
19
|
+
* import * as gitlab from "@pulumi/gitlab";
|
|
20
|
+
*
|
|
21
|
+
* const example = new gitlab.SystemHook("example", {
|
|
22
|
+
* enableSslVerification: true,
|
|
23
|
+
* mergeRequestsEvents: true,
|
|
24
|
+
* pushEvents: true,
|
|
25
|
+
* repositoryUpdateEvents: true,
|
|
26
|
+
* tagPushEvents: true,
|
|
27
|
+
* token: "secret-token",
|
|
28
|
+
* url: "https://example.com/hook-%d",
|
|
29
|
+
* });
|
|
30
|
+
* ```
|
|
31
|
+
*
|
|
32
|
+
* ## Import
|
|
33
|
+
*
|
|
34
|
+
* # You can import a system hook using the hook id `{hook-id}`, e.g.
|
|
35
|
+
*
|
|
36
|
+
* ```sh
|
|
37
|
+
* $ pulumi import gitlab:index/systemHook:SystemHook example 42
|
|
38
|
+
* ```
|
|
39
|
+
*
|
|
40
|
+
* # NOTEthe `token` attribute won't be available for imported resources.
|
|
41
|
+
*/
|
|
42
|
+
class SystemHook extends pulumi.CustomResource {
|
|
43
|
+
constructor(name, argsOrState, opts) {
|
|
44
|
+
let resourceInputs = {};
|
|
45
|
+
opts = opts || {};
|
|
46
|
+
if (opts.id) {
|
|
47
|
+
const state = argsOrState;
|
|
48
|
+
resourceInputs["createdAt"] = state ? state.createdAt : undefined;
|
|
49
|
+
resourceInputs["enableSslVerification"] = state ? state.enableSslVerification : undefined;
|
|
50
|
+
resourceInputs["mergeRequestsEvents"] = state ? state.mergeRequestsEvents : undefined;
|
|
51
|
+
resourceInputs["pushEvents"] = state ? state.pushEvents : undefined;
|
|
52
|
+
resourceInputs["repositoryUpdateEvents"] = state ? state.repositoryUpdateEvents : undefined;
|
|
53
|
+
resourceInputs["tagPushEvents"] = state ? state.tagPushEvents : undefined;
|
|
54
|
+
resourceInputs["token"] = state ? state.token : undefined;
|
|
55
|
+
resourceInputs["url"] = state ? state.url : undefined;
|
|
56
|
+
}
|
|
57
|
+
else {
|
|
58
|
+
const args = argsOrState;
|
|
59
|
+
if ((!args || args.url === undefined) && !opts.urn) {
|
|
60
|
+
throw new Error("Missing required property 'url'");
|
|
61
|
+
}
|
|
62
|
+
resourceInputs["enableSslVerification"] = args ? args.enableSslVerification : undefined;
|
|
63
|
+
resourceInputs["mergeRequestsEvents"] = args ? args.mergeRequestsEvents : undefined;
|
|
64
|
+
resourceInputs["pushEvents"] = args ? args.pushEvents : undefined;
|
|
65
|
+
resourceInputs["repositoryUpdateEvents"] = args ? args.repositoryUpdateEvents : undefined;
|
|
66
|
+
resourceInputs["tagPushEvents"] = args ? args.tagPushEvents : undefined;
|
|
67
|
+
resourceInputs["token"] = args ? args.token : undefined;
|
|
68
|
+
resourceInputs["url"] = args ? args.url : undefined;
|
|
69
|
+
resourceInputs["createdAt"] = undefined /*out*/;
|
|
70
|
+
}
|
|
71
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
72
|
+
super(SystemHook.__pulumiType, name, resourceInputs, opts);
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Get an existing SystemHook resource's state with the given name, ID, and optional extra
|
|
76
|
+
* properties used to qualify the lookup.
|
|
77
|
+
*
|
|
78
|
+
* @param name The _unique_ name of the resulting resource.
|
|
79
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
80
|
+
* @param state Any extra arguments used during the lookup.
|
|
81
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
82
|
+
*/
|
|
83
|
+
static get(name, id, state, opts) {
|
|
84
|
+
return new SystemHook(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* Returns true if the given object is an instance of SystemHook. This is designed to work even
|
|
88
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
89
|
+
*/
|
|
90
|
+
static isInstance(obj) {
|
|
91
|
+
if (obj === undefined || obj === null) {
|
|
92
|
+
return false;
|
|
93
|
+
}
|
|
94
|
+
return obj['__pulumiType'] === SystemHook.__pulumiType;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
exports.SystemHook = SystemHook;
|
|
98
|
+
/** @internal */
|
|
99
|
+
SystemHook.__pulumiType = 'gitlab:index/systemHook:SystemHook';
|
|
100
|
+
//# sourceMappingURL=systemHook.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"systemHook.js","sourceRoot":"","sources":["../systemHook.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IAsEjD,YAAY,IAAY,EAAE,WAA8C,EAAE,IAAmC;QACzG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA0C,CAAC;YACzD,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,uBAAuB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1F,cAAc,CAAC,qBAAqB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAAC,CAAC,SAAS,CA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,eAAe,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;YACpD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,UAAU,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;IAlGD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuB,EAAE,IAAmC;QACrH,OAAO,IAAI,UAAU,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACjE,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,UAAU,CAAC,YAAY,CAAC;IAC3D,CAAC;;AA1BL,gCAoGC;AAtFG,gBAAgB;AACO,uBAAY,GAAG,oCAAoC,CAAC"}
|
package/tagProtection.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* The `gitlab.TagProtection` resource allows to manage the lifecycle of a tag protection.
|
|
4
|
+
*
|
|
5
|
+
* **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/protected_tags.html)
|
|
4
6
|
*
|
|
5
7
|
* ## Example Usage
|
|
6
8
|
*
|
package/tagProtection.js
CHANGED
|
@@ -6,7 +6,9 @@ exports.TagProtection = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* The `gitlab.TagProtection` resource allows to manage the lifecycle of a tag protection.
|
|
10
|
+
*
|
|
11
|
+
* **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/protected_tags.html)
|
|
10
12
|
*
|
|
11
13
|
* ## Example Usage
|
|
12
14
|
*
|
package/tagProtection.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tagProtection.js","sourceRoot":"","sources":["../tagProtection.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"tagProtection.js","sourceRoot":"","sources":["../tagProtection.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IAiDpD,YAAY,IAAY,EAAE,WAAoD,EAAE,IAAmC;QAC/G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA6C,CAAC;YAC5D,cAAc,CAAC,mBAAmB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC;YAClF,cAAc,CAAC,SAAS,CAAC,GAAG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CAAC,CAAC;IAClE,CAAC;IAzED;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0B,EAAE,IAAmC;QACxH,OAAO,IAAI,aAAa,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACpE,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,aAAa,CAAC,YAAY,CAAC;IAC9D,CAAC;;AA1BL,sCA2EC;AA7DG,gBAAgB;AACO,0BAAY,GAAG,0CAA0C,CAAC"}
|
package/topic.d.ts
CHANGED
|
@@ -1,21 +1,12 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* The `gitlab.Topic` resource allows to manage the lifecycle of topics that are then assignable to projects.
|
|
4
4
|
*
|
|
5
|
-
*
|
|
5
|
+
* > Topics are the successors for project tags. Aside from avoiding terminology collisions with Git tags, they are more descriptive and better searchable.
|
|
6
6
|
*
|
|
7
|
-
* > Deleting a
|
|
7
|
+
* > Deleting a topic was implemented in GitLab 14.9. For older versions of GitLab set `softDestroy = true` to empty out a topic instead of deleting it.
|
|
8
8
|
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* ```typescript
|
|
12
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
-
* import * as gitlab from "@pulumi/gitlab";
|
|
14
|
-
*
|
|
15
|
-
* const functionalProgramming = new gitlab.Topic("functional_programming", {
|
|
16
|
-
* description: "In computer science, functional programming is a programming paradigm where programs are constructed by applying and composing functions.",
|
|
17
|
-
* });
|
|
18
|
-
* ```
|
|
9
|
+
* **Upstream API**: [GitLab REST API docs for topics](https://docs.gitlab.com/ee/api/topics.html)
|
|
19
10
|
*
|
|
20
11
|
* ## Import
|
|
21
12
|
*
|
|
@@ -46,17 +37,32 @@ export declare class Topic extends pulumi.CustomResource {
|
|
|
46
37
|
*/
|
|
47
38
|
static isInstance(obj: any): obj is Topic;
|
|
48
39
|
/**
|
|
49
|
-
* A
|
|
40
|
+
* A local path to the avatar image to upload. **Note**: not available for imported resources.
|
|
41
|
+
*/
|
|
42
|
+
readonly avatar: pulumi.Output<string | undefined>;
|
|
43
|
+
/**
|
|
44
|
+
* The hash of the avatar image. Use `filesha256("path/to/avatar.png")` whenever possible. **Note**: this is used to
|
|
45
|
+
* trigger an update of the avatar. If it's not given, but an avatar is given, the avatar will be updated each time.
|
|
46
|
+
*/
|
|
47
|
+
readonly avatarHash: pulumi.Output<string>;
|
|
48
|
+
/**
|
|
49
|
+
* The URL of the avatar image.
|
|
50
|
+
*/
|
|
51
|
+
readonly avatarUrl: pulumi.Output<string>;
|
|
52
|
+
/**
|
|
53
|
+
* A text describing the topic.
|
|
50
54
|
*/
|
|
51
55
|
readonly description: pulumi.Output<string | undefined>;
|
|
52
56
|
/**
|
|
53
|
-
* The topic's name
|
|
57
|
+
* The topic's name.
|
|
54
58
|
*/
|
|
55
59
|
readonly name: pulumi.Output<string>;
|
|
56
60
|
/**
|
|
57
|
-
* Empty the topics fields instead of deleting it
|
|
61
|
+
* Empty the topics fields instead of deleting it.
|
|
62
|
+
*
|
|
63
|
+
* @deprecated GitLab 14.9 introduced the proper deletion of topics. This field is no longer needed.
|
|
58
64
|
*/
|
|
59
|
-
readonly softDestroy: pulumi.Output<boolean>;
|
|
65
|
+
readonly softDestroy: pulumi.Output<boolean | undefined>;
|
|
60
66
|
/**
|
|
61
67
|
* Create a Topic resource with the given unique name, arguments, and options.
|
|
62
68
|
*
|
|
@@ -64,22 +70,37 @@ export declare class Topic extends pulumi.CustomResource {
|
|
|
64
70
|
* @param args The arguments to use to populate this resource's properties.
|
|
65
71
|
* @param opts A bag of options that control this resource's behavior.
|
|
66
72
|
*/
|
|
67
|
-
constructor(name: string, args
|
|
73
|
+
constructor(name: string, args?: TopicArgs, opts?: pulumi.CustomResourceOptions);
|
|
68
74
|
}
|
|
69
75
|
/**
|
|
70
76
|
* Input properties used for looking up and filtering Topic resources.
|
|
71
77
|
*/
|
|
72
78
|
export interface TopicState {
|
|
73
79
|
/**
|
|
74
|
-
* A
|
|
80
|
+
* A local path to the avatar image to upload. **Note**: not available for imported resources.
|
|
81
|
+
*/
|
|
82
|
+
avatar?: pulumi.Input<string>;
|
|
83
|
+
/**
|
|
84
|
+
* The hash of the avatar image. Use `filesha256("path/to/avatar.png")` whenever possible. **Note**: this is used to
|
|
85
|
+
* trigger an update of the avatar. If it's not given, but an avatar is given, the avatar will be updated each time.
|
|
86
|
+
*/
|
|
87
|
+
avatarHash?: pulumi.Input<string>;
|
|
88
|
+
/**
|
|
89
|
+
* The URL of the avatar image.
|
|
90
|
+
*/
|
|
91
|
+
avatarUrl?: pulumi.Input<string>;
|
|
92
|
+
/**
|
|
93
|
+
* A text describing the topic.
|
|
75
94
|
*/
|
|
76
95
|
description?: pulumi.Input<string>;
|
|
77
96
|
/**
|
|
78
|
-
* The topic's name
|
|
97
|
+
* The topic's name.
|
|
79
98
|
*/
|
|
80
99
|
name?: pulumi.Input<string>;
|
|
81
100
|
/**
|
|
82
|
-
* Empty the topics fields instead of deleting it
|
|
101
|
+
* Empty the topics fields instead of deleting it.
|
|
102
|
+
*
|
|
103
|
+
* @deprecated GitLab 14.9 introduced the proper deletion of topics. This field is no longer needed.
|
|
83
104
|
*/
|
|
84
105
|
softDestroy?: pulumi.Input<boolean>;
|
|
85
106
|
}
|
|
@@ -88,15 +109,26 @@ export interface TopicState {
|
|
|
88
109
|
*/
|
|
89
110
|
export interface TopicArgs {
|
|
90
111
|
/**
|
|
91
|
-
* A
|
|
112
|
+
* A local path to the avatar image to upload. **Note**: not available for imported resources.
|
|
113
|
+
*/
|
|
114
|
+
avatar?: pulumi.Input<string>;
|
|
115
|
+
/**
|
|
116
|
+
* The hash of the avatar image. Use `filesha256("path/to/avatar.png")` whenever possible. **Note**: this is used to
|
|
117
|
+
* trigger an update of the avatar. If it's not given, but an avatar is given, the avatar will be updated each time.
|
|
118
|
+
*/
|
|
119
|
+
avatarHash?: pulumi.Input<string>;
|
|
120
|
+
/**
|
|
121
|
+
* A text describing the topic.
|
|
92
122
|
*/
|
|
93
123
|
description?: pulumi.Input<string>;
|
|
94
124
|
/**
|
|
95
|
-
* The topic's name
|
|
125
|
+
* The topic's name.
|
|
96
126
|
*/
|
|
97
127
|
name?: pulumi.Input<string>;
|
|
98
128
|
/**
|
|
99
|
-
* Empty the topics fields instead of deleting it
|
|
129
|
+
* Empty the topics fields instead of deleting it.
|
|
130
|
+
*
|
|
131
|
+
* @deprecated GitLab 14.9 introduced the proper deletion of topics. This field is no longer needed.
|
|
100
132
|
*/
|
|
101
|
-
softDestroy
|
|
133
|
+
softDestroy?: pulumi.Input<boolean>;
|
|
102
134
|
}
|
package/topic.js
CHANGED
|
@@ -6,22 +6,13 @@ exports.Topic = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* The `gitlab.Topic` resource allows to manage the lifecycle of topics that are then assignable to projects.
|
|
10
10
|
*
|
|
11
|
-
*
|
|
11
|
+
* > Topics are the successors for project tags. Aside from avoiding terminology collisions with Git tags, they are more descriptive and better searchable.
|
|
12
12
|
*
|
|
13
|
-
* > Deleting a
|
|
13
|
+
* > Deleting a topic was implemented in GitLab 14.9. For older versions of GitLab set `softDestroy = true` to empty out a topic instead of deleting it.
|
|
14
14
|
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
* ```typescript
|
|
18
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
19
|
-
* import * as gitlab from "@pulumi/gitlab";
|
|
20
|
-
*
|
|
21
|
-
* const functionalProgramming = new gitlab.Topic("functional_programming", {
|
|
22
|
-
* description: "In computer science, functional programming is a programming paradigm where programs are constructed by applying and composing functions.",
|
|
23
|
-
* });
|
|
24
|
-
* ```
|
|
15
|
+
* **Upstream API**: [GitLab REST API docs for topics](https://docs.gitlab.com/ee/api/topics.html)
|
|
25
16
|
*
|
|
26
17
|
* ## Import
|
|
27
18
|
*
|
|
@@ -41,18 +32,21 @@ class Topic extends pulumi.CustomResource {
|
|
|
41
32
|
opts = opts || {};
|
|
42
33
|
if (opts.id) {
|
|
43
34
|
const state = argsOrState;
|
|
35
|
+
resourceInputs["avatar"] = state ? state.avatar : undefined;
|
|
36
|
+
resourceInputs["avatarHash"] = state ? state.avatarHash : undefined;
|
|
37
|
+
resourceInputs["avatarUrl"] = state ? state.avatarUrl : undefined;
|
|
44
38
|
resourceInputs["description"] = state ? state.description : undefined;
|
|
45
39
|
resourceInputs["name"] = state ? state.name : undefined;
|
|
46
40
|
resourceInputs["softDestroy"] = state ? state.softDestroy : undefined;
|
|
47
41
|
}
|
|
48
42
|
else {
|
|
49
43
|
const args = argsOrState;
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
}
|
|
44
|
+
resourceInputs["avatar"] = args ? args.avatar : undefined;
|
|
45
|
+
resourceInputs["avatarHash"] = args ? args.avatarHash : undefined;
|
|
53
46
|
resourceInputs["description"] = args ? args.description : undefined;
|
|
54
47
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
55
48
|
resourceInputs["softDestroy"] = args ? args.softDestroy : undefined;
|
|
49
|
+
resourceInputs["avatarUrl"] = undefined /*out*/;
|
|
56
50
|
}
|
|
57
51
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
58
52
|
super(Topic.__pulumiType, name, resourceInputs, opts);
|
package/topic.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"topic.js","sourceRoot":"","sources":["../topic.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,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CHANGED
|
@@ -6,9 +6,6 @@ export interface BranchCommit {
|
|
|
6
6
|
committedDate?: pulumi.Input<string>;
|
|
7
7
|
committerEmail?: pulumi.Input<string>;
|
|
8
8
|
committerName?: pulumi.Input<string>;
|
|
9
|
-
/**
|
|
10
|
-
* The ID of this resource.
|
|
11
|
-
*/
|
|
12
9
|
id?: pulumi.Input<string>;
|
|
13
10
|
message?: pulumi.Input<string>;
|
|
14
11
|
parentIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
@@ -16,84 +13,69 @@ export interface BranchCommit {
|
|
|
16
13
|
title?: pulumi.Input<string>;
|
|
17
14
|
}
|
|
18
15
|
export interface BranchProtectionAllowedToMerge {
|
|
19
|
-
/**
|
|
20
|
-
* Level of access.
|
|
21
|
-
*/
|
|
22
16
|
accessLevel?: pulumi.Input<string>;
|
|
23
|
-
/**
|
|
24
|
-
* Readable description of level of access.
|
|
25
|
-
*/
|
|
26
17
|
accessLevelDescription?: pulumi.Input<string>;
|
|
27
|
-
/**
|
|
28
|
-
* The ID of a GitLab group allowed to perform the relevant action. Mutually exclusive with `userId`.
|
|
29
|
-
*/
|
|
30
18
|
groupId?: pulumi.Input<number>;
|
|
31
|
-
/**
|
|
32
|
-
* The ID of a GitLab user allowed to perform the relevant action. Mutually exclusive with `groupId`.
|
|
33
|
-
*/
|
|
34
19
|
userId?: pulumi.Input<number>;
|
|
35
20
|
}
|
|
36
21
|
export interface BranchProtectionAllowedToPush {
|
|
37
|
-
/**
|
|
38
|
-
* Level of access.
|
|
39
|
-
*/
|
|
40
22
|
accessLevel?: pulumi.Input<string>;
|
|
41
|
-
/**
|
|
42
|
-
* Readable description of level of access.
|
|
43
|
-
*/
|
|
44
23
|
accessLevelDescription?: pulumi.Input<string>;
|
|
45
|
-
/**
|
|
46
|
-
* The ID of a GitLab group allowed to perform the relevant action. Mutually exclusive with `userId`.
|
|
47
|
-
*/
|
|
48
24
|
groupId?: pulumi.Input<number>;
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
25
|
+
userId?: pulumi.Input<number>;
|
|
26
|
+
}
|
|
27
|
+
export interface BranchProtectionAllowedToUnprotect {
|
|
28
|
+
accessLevel?: pulumi.Input<string>;
|
|
29
|
+
accessLevelDescription?: pulumi.Input<string>;
|
|
30
|
+
groupId?: pulumi.Input<number>;
|
|
31
|
+
userId?: pulumi.Input<number>;
|
|
32
|
+
}
|
|
33
|
+
export interface ProjectContainerExpirationPolicy {
|
|
34
|
+
cadence?: pulumi.Input<string>;
|
|
35
|
+
enabled?: pulumi.Input<boolean>;
|
|
36
|
+
keepN?: pulumi.Input<number>;
|
|
37
|
+
nameRegexDelete?: pulumi.Input<string>;
|
|
38
|
+
nameRegexKeep?: pulumi.Input<string>;
|
|
39
|
+
nextRunAt?: pulumi.Input<string>;
|
|
40
|
+
olderThan?: pulumi.Input<string>;
|
|
41
|
+
}
|
|
42
|
+
export interface ProjectIssueTaskCompletionStatus {
|
|
43
|
+
completedCount?: pulumi.Input<number>;
|
|
44
|
+
count?: pulumi.Input<number>;
|
|
45
|
+
}
|
|
46
|
+
export interface ProjectProtectedEnvironmentDeployAccessLevels {
|
|
47
|
+
accessLevel?: pulumi.Input<string>;
|
|
48
|
+
accessLevelDescription?: pulumi.Input<string>;
|
|
49
|
+
groupId?: pulumi.Input<number>;
|
|
52
50
|
userId?: pulumi.Input<number>;
|
|
53
51
|
}
|
|
54
52
|
export interface ProjectPushRules {
|
|
55
|
-
/**
|
|
56
|
-
* All commit author emails must match this regex, e.g. `@my-company.com$`.
|
|
57
|
-
*/
|
|
58
53
|
authorEmailRegex?: pulumi.Input<string>;
|
|
59
|
-
/**
|
|
60
|
-
* All branch names must match this regex, e.g. `(feature|hotfix)\/*`.
|
|
61
|
-
*/
|
|
62
54
|
branchNameRegex?: pulumi.Input<string>;
|
|
63
|
-
/**
|
|
64
|
-
* Users can only push commits to this repository that were committed with one of their own verified emails.
|
|
65
|
-
*/
|
|
66
55
|
commitCommitterCheck?: pulumi.Input<boolean>;
|
|
67
|
-
/**
|
|
68
|
-
* No commit message is allowed to match this regex, for example `ssh\:\/\/`.
|
|
69
|
-
*/
|
|
70
56
|
commitMessageNegativeRegex?: pulumi.Input<string>;
|
|
71
|
-
/**
|
|
72
|
-
* All commit messages must match this regex, e.g. `Fixed \d+\..*`.
|
|
73
|
-
*/
|
|
74
57
|
commitMessageRegex?: pulumi.Input<string>;
|
|
75
|
-
/**
|
|
76
|
-
* Deny deleting a tag.
|
|
77
|
-
*/
|
|
78
58
|
denyDeleteTag?: pulumi.Input<boolean>;
|
|
79
|
-
/**
|
|
80
|
-
* All commited filenames must not match this regex, e.g. `(jar|exe)$`.
|
|
81
|
-
*/
|
|
82
59
|
fileNameRegex?: pulumi.Input<string>;
|
|
83
|
-
/**
|
|
84
|
-
* Maximum file size (MB).
|
|
85
|
-
*/
|
|
86
60
|
maxFileSize?: pulumi.Input<number>;
|
|
87
|
-
/**
|
|
88
|
-
* Restrict commits by author (email) to existing GitLab users.
|
|
89
|
-
*/
|
|
90
61
|
memberCheck?: pulumi.Input<boolean>;
|
|
91
|
-
/**
|
|
92
|
-
* GitLab will reject any files that are likely to contain secrets.
|
|
93
|
-
*/
|
|
94
62
|
preventSecrets?: pulumi.Input<boolean>;
|
|
95
|
-
/**
|
|
96
|
-
* Reject commit when it’s not signed through GPG.
|
|
97
|
-
*/
|
|
98
63
|
rejectUnsignedCommits?: pulumi.Input<boolean>;
|
|
99
64
|
}
|
|
65
|
+
export interface ProjectTagCommit {
|
|
66
|
+
authorEmail?: pulumi.Input<string>;
|
|
67
|
+
authorName?: pulumi.Input<string>;
|
|
68
|
+
authoredDate?: pulumi.Input<string>;
|
|
69
|
+
committedDate?: pulumi.Input<string>;
|
|
70
|
+
committerEmail?: pulumi.Input<string>;
|
|
71
|
+
committerName?: pulumi.Input<string>;
|
|
72
|
+
id?: pulumi.Input<string>;
|
|
73
|
+
message?: pulumi.Input<string>;
|
|
74
|
+
parentIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
75
|
+
shortId?: pulumi.Input<string>;
|
|
76
|
+
title?: pulumi.Input<string>;
|
|
77
|
+
}
|
|
78
|
+
export interface ProjectTagRelease {
|
|
79
|
+
description?: pulumi.Input<string>;
|
|
80
|
+
tagName?: pulumi.Input<string>;
|
|
81
|
+
}
|