Group Hook Args
data class GroupHookArgs(val confidentialIssuesEvents: Output<Boolean>? = null, val confidentialNoteEvents: Output<Boolean>? = null, val deploymentEvents: Output<Boolean>? = null, val enableSslVerification: Output<Boolean>? = null, val group: Output<String>? = null, val issuesEvents: Output<Boolean>? = null, val jobEvents: Output<Boolean>? = null, val mergeRequestsEvents: Output<Boolean>? = null, val noteEvents: Output<Boolean>? = null, val pipelineEvents: Output<Boolean>? = null, val pushEvents: Output<Boolean>? = null, val pushEventsBranchFilter: Output<String>? = null, val releasesEvents: Output<Boolean>? = null, val subgroupEvents: Output<Boolean>? = null, val tagPushEvents: Output<Boolean>? = null, val token: Output<String>? = null, val url: Output<String>? = null, val wikiPageEvents: Output<Boolean>? = null) : ConvertibleToJava<GroupHookArgs>
The gitlab.GroupHook
resource allows to manage the lifecycle of a group hook. Upstream API: GitLab REST API docs
Example Usage
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gitlab.GroupHook;
import com.pulumi.gitlab.GroupHookArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new GroupHook("example", GroupHookArgs.builder()
.group("example/hooked")
.mergeRequestsEvents(true)
.url("https://example.com/hook/example")
.build());
var allAttributes = new GroupHook("allAttributes", GroupHookArgs.builder()
.confidentialIssuesEvents(false)
.confidentialNoteEvents(true)
.deploymentEvents(true)
.enableSslVerification(false)
.group(1)
.issuesEvents(false)
.jobEvents(true)
.mergeRequestsEvents(true)
.noteEvents(true)
.pipelineEvents(true)
.pushEvents(true)
.pushEventsBranchFilter("devel")
.releasesEvents(true)
.subgroupEvents(true)
.tagPushEvents(true)
.token("supersecret")
.url("http://example.com")
.wikiPageEvents(true)
.build());
}
}
Content copied to clipboard
Import
A GitLab Group Hook can be imported using a key composed of <group-id>:<hook-id>
, e.g.
$ pulumi import gitlab:index/groupHook:GroupHook example "12345:1"
Content copied to clipboard
NOTEthe token
resource attribute is not available for imported resources as this information cannot be read from the GitLab API.
Constructors
Link copied to clipboard
fun GroupHookArgs(confidentialIssuesEvents: Output<Boolean>? = null, confidentialNoteEvents: Output<Boolean>? = null, deploymentEvents: Output<Boolean>? = null, enableSslVerification: Output<Boolean>? = null, group: Output<String>? = null, issuesEvents: Output<Boolean>? = null, jobEvents: Output<Boolean>? = null, mergeRequestsEvents: Output<Boolean>? = null, noteEvents: Output<Boolean>? = null, pipelineEvents: Output<Boolean>? = null, pushEvents: Output<Boolean>? = null, pushEventsBranchFilter: Output<String>? = null, releasesEvents: Output<Boolean>? = null, subgroupEvents: Output<Boolean>? = null, tagPushEvents: Output<Boolean>? = null, token: Output<String>? = null, url: Output<String>? = null, wikiPageEvents: Output<Boolean>? = null)
Functions
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard