Integration Mattermost Args
data class IntegrationMattermostArgs(val branchesToBeNotified: Output<String>? = null, val confidentialIssueChannel: Output<String>? = null, val confidentialIssuesEvents: Output<Boolean>? = null, val confidentialNoteChannel: Output<String>? = null, val confidentialNoteEvents: Output<Boolean>? = null, val issueChannel: Output<String>? = null, val issuesEvents: Output<Boolean>? = null, val mergeRequestChannel: Output<String>? = null, val mergeRequestsEvents: Output<Boolean>? = null, val noteChannel: Output<String>? = null, val noteEvents: Output<Boolean>? = null, val notifyOnlyBrokenPipelines: Output<Boolean>? = null, val pipelineChannel: Output<String>? = null, val pipelineEvents: Output<Boolean>? = null, val project: Output<String>? = null, val pushChannel: Output<String>? = null, val pushEvents: Output<Boolean>? = null, val tagPushChannel: Output<String>? = null, val tagPushEvents: Output<Boolean>? = null, val username: Output<String>? = null, val webhook: Output<String>? = null, val wikiPageChannel: Output<String>? = null, val wikiPageEvents: Output<Boolean>? = null) : ConvertibleToJava<IntegrationMattermostArgs>
The gitlab.IntegrationMattermost
resource allows to manage the lifecycle of a project integration with Mattermost. 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.Project;
import com.pulumi.gitlab.ProjectArgs;
import com.pulumi.gitlab.IntegrationMattermost;
import com.pulumi.gitlab.IntegrationMattermostArgs;
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 awesomeProject = new Project("awesomeProject", ProjectArgs.builder()
.description("My awesome project.")
.visibilityLevel("public")
.build());
var mattermost = new IntegrationMattermost("mattermost", IntegrationMattermostArgs.builder()
.project(awesomeProject.id())
.webhook("https://webhook.com")
.username("myuser")
.pushEvents(true)
.pushChannel("push_chan")
.build());
}
}
Content copied to clipboard
Import
You can import a gitlab_integration_mattermost.mattermost state using the project ID, e.g.
$ pulumi import gitlab:index/integrationMattermost:IntegrationMattermost mattermost 1
Content copied to clipboard
Constructors
Link copied to clipboard
fun IntegrationMattermostArgs(branchesToBeNotified: Output<String>? = null, confidentialIssueChannel: Output<String>? = null, confidentialIssuesEvents: Output<Boolean>? = null, confidentialNoteChannel: Output<String>? = null, confidentialNoteEvents: Output<Boolean>? = null, issueChannel: Output<String>? = null, issuesEvents: Output<Boolean>? = null, mergeRequestChannel: Output<String>? = null, mergeRequestsEvents: Output<Boolean>? = null, noteChannel: Output<String>? = null, noteEvents: Output<Boolean>? = null, notifyOnlyBrokenPipelines: Output<Boolean>? = null, pipelineChannel: Output<String>? = null, pipelineEvents: Output<Boolean>? = null, project: Output<String>? = null, pushChannel: Output<String>? = null, pushEvents: Output<Boolean>? = null, tagPushChannel: Output<String>? = null, tagPushEvents: Output<Boolean>? = null, username: Output<String>? = null, webhook: Output<String>? = null, wikiPageChannel: 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