ServiceEmailsOnPush

class ServiceEmailsOnPush : KotlinCustomResource

The gitlab.ServiceEmailsOnPush resource allows to manage the lifecycle of a project integration with Emails on Push Service. 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.ServiceEmailsOnPush;
import com.pulumi.gitlab.ServiceEmailsOnPushArgs;
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 emails = new ServiceEmailsOnPush("emails", ServiceEmailsOnPushArgs.builder()
.project(awesomeProject.id())
.recipients("myrecipient@example.com myotherrecipient@example.com")
.build());
}
}

Import

You can import a gitlab_service_emails_on_push state using the project ID, e.g.

$ pulumi import gitlab:index/serviceEmailsOnPush:ServiceEmailsOnPush emails 1

Properties

Link copied to clipboard
val active: Output<Boolean>

Whether the integration is active.

Link copied to clipboard

Branches to send notifications for. Valid options are all, default, protected, default_and_protected. Notifications are always fired for tag pushes.

Link copied to clipboard
val createdAt: Output<String>

The ISO8601 date/time that this integration was activated at in UTC.

Link copied to clipboard
val disableDiffs: Output<Boolean>?

Disable code diffs.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val project: Output<String>

ID or full-path of the project you want to activate integration on.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val pushEvents: Output<Boolean>?

Enable notifications for push events.

Link copied to clipboard
val recipients: Output<String>

Emails separated by whitespace.

Link copied to clipboard

Send from committer.

Link copied to clipboard
val slug: Output<String>

The name of the integration in lowercase, shortened to 63 bytes, and with everything except 0-9 and a-z replaced with -. No leading / trailing -. Use in URLs, host names and domain names.

Link copied to clipboard
val tagPushEvents: Output<Boolean>?

Enable notifications for tag push events.

Link copied to clipboard
val title: Output<String>

Title of the integration.

Link copied to clipboard
val updatedAt: Output<String>

The ISO8601 date/time that this integration was last updated at in UTC.

Link copied to clipboard
val urn: Output<String>