1. Packages
  2. GitLab
  3. API Docs
  4. IntegrationTelegram
GitLab v8.1.0 published on Friday, Jun 21, 2024 by Pulumi

gitlab.IntegrationTelegram

Explore with Pulumi AI

gitlab logo
GitLab v8.1.0 published on Friday, Jun 21, 2024 by Pulumi

    The gitlab.IntegrationTelegram resource allows to manage the lifecycle of a project integration with Telegram.

    Upstream API: GitLab REST API docs

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as gitlab from "@pulumi/gitlab";
    
    const awesomeProject = new gitlab.Project("awesome_project", {
        name: "awesome_project",
        description: "My awesome project.",
        visibilityLevel: "public",
    });
    const _default = new gitlab.IntegrationTelegram("default", {
        token: "123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11",
        room: "-1000000000000000",
        notifyOnlyBrokenPipelines: false,
        branchesToBeNotified: "all",
        pushEvents: false,
        issuesEvents: false,
        confidentialIssuesEvents: false,
        mergeRequestsEvents: false,
        tagPushEvents: false,
        noteEvents: false,
        confidentialNoteEvents: false,
        pipelineEvents: false,
        wikiPageEvents: false,
    });
    
    import pulumi
    import pulumi_gitlab as gitlab
    
    awesome_project = gitlab.Project("awesome_project",
        name="awesome_project",
        description="My awesome project.",
        visibility_level="public")
    default = gitlab.IntegrationTelegram("default",
        token="123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11",
        room="-1000000000000000",
        notify_only_broken_pipelines=False,
        branches_to_be_notified="all",
        push_events=False,
        issues_events=False,
        confidential_issues_events=False,
        merge_requests_events=False,
        tag_push_events=False,
        note_events=False,
        confidential_note_events=False,
        pipeline_events=False,
        wiki_page_events=False)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-gitlab/sdk/v8/go/gitlab"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := gitlab.NewProject(ctx, "awesome_project", &gitlab.ProjectArgs{
    			Name:            pulumi.String("awesome_project"),
    			Description:     pulumi.String("My awesome project."),
    			VisibilityLevel: pulumi.String("public"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = gitlab.NewIntegrationTelegram(ctx, "default", &gitlab.IntegrationTelegramArgs{
    			Token:                     pulumi.String("123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11"),
    			Room:                      pulumi.String("-1000000000000000"),
    			NotifyOnlyBrokenPipelines: pulumi.Bool(false),
    			BranchesToBeNotified:      pulumi.String("all"),
    			PushEvents:                pulumi.Bool(false),
    			IssuesEvents:              pulumi.Bool(false),
    			ConfidentialIssuesEvents:  pulumi.Bool(false),
    			MergeRequestsEvents:       pulumi.Bool(false),
    			TagPushEvents:             pulumi.Bool(false),
    			NoteEvents:                pulumi.Bool(false),
    			ConfidentialNoteEvents:    pulumi.Bool(false),
    			PipelineEvents:            pulumi.Bool(false),
    			WikiPageEvents:            pulumi.Bool(false),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using GitLab = Pulumi.GitLab;
    
    return await Deployment.RunAsync(() => 
    {
        var awesomeProject = new GitLab.Project("awesome_project", new()
        {
            Name = "awesome_project",
            Description = "My awesome project.",
            VisibilityLevel = "public",
        });
    
        var @default = new GitLab.IntegrationTelegram("default", new()
        {
            Token = "123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11",
            Room = "-1000000000000000",
            NotifyOnlyBrokenPipelines = false,
            BranchesToBeNotified = "all",
            PushEvents = false,
            IssuesEvents = false,
            ConfidentialIssuesEvents = false,
            MergeRequestsEvents = false,
            TagPushEvents = false,
            NoteEvents = false,
            ConfidentialNoteEvents = false,
            PipelineEvents = false,
            WikiPageEvents = false,
        });
    
    });
    
    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.IntegrationTelegram;
    import com.pulumi.gitlab.IntegrationTelegramArgs;
    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()
                .name("awesome_project")
                .description("My awesome project.")
                .visibilityLevel("public")
                .build());
    
            var default_ = new IntegrationTelegram("default", IntegrationTelegramArgs.builder()
                .token("123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11")
                .room("-1000000000000000")
                .notifyOnlyBrokenPipelines(false)
                .branchesToBeNotified("all")
                .pushEvents(false)
                .issuesEvents(false)
                .confidentialIssuesEvents(false)
                .mergeRequestsEvents(false)
                .tagPushEvents(false)
                .noteEvents(false)
                .confidentialNoteEvents(false)
                .pipelineEvents(false)
                .wikiPageEvents(false)
                .build());
    
        }
    }
    
    resources:
      awesomeProject:
        type: gitlab:Project
        name: awesome_project
        properties:
          name: awesome_project
          description: My awesome project.
          visibilityLevel: public
      default:
        type: gitlab:IntegrationTelegram
        properties:
          token: 123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11
          room: '-1000000000000000'
          notifyOnlyBrokenPipelines: false
          branchesToBeNotified: all
          pushEvents: false
          issuesEvents: false
          confidentialIssuesEvents: false
          mergeRequestsEvents: false
          tagPushEvents: false
          noteEvents: false
          confidentialNoteEvents: false
          pipelineEvents: false
          wikiPageEvents: false
    

    Create IntegrationTelegram Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new IntegrationTelegram(name: string, args: IntegrationTelegramArgs, opts?: CustomResourceOptions);
    @overload
    def IntegrationTelegram(resource_name: str,
                            args: IntegrationTelegramArgs,
                            opts: Optional[ResourceOptions] = None)
    
    @overload
    def IntegrationTelegram(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            push_events: Optional[bool] = None,
                            project: Optional[str] = None,
                            confidential_note_events: Optional[bool] = None,
                            issues_events: Optional[bool] = None,
                            merge_requests_events: Optional[bool] = None,
                            note_events: Optional[bool] = None,
                            confidential_issues_events: Optional[bool] = None,
                            wiki_page_events: Optional[bool] = None,
                            room: Optional[str] = None,
                            token: Optional[str] = None,
                            pipeline_events: Optional[bool] = None,
                            tag_push_events: Optional[bool] = None,
                            branches_to_be_notified: Optional[str] = None,
                            notify_only_broken_pipelines: Optional[bool] = None)
    func NewIntegrationTelegram(ctx *Context, name string, args IntegrationTelegramArgs, opts ...ResourceOption) (*IntegrationTelegram, error)
    public IntegrationTelegram(string name, IntegrationTelegramArgs args, CustomResourceOptions? opts = null)
    public IntegrationTelegram(String name, IntegrationTelegramArgs args)
    public IntegrationTelegram(String name, IntegrationTelegramArgs args, CustomResourceOptions options)
    
    type: gitlab:IntegrationTelegram
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args IntegrationTelegramArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args IntegrationTelegramArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args IntegrationTelegramArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args IntegrationTelegramArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args IntegrationTelegramArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var integrationTelegramResource = new GitLab.IntegrationTelegram("integrationTelegramResource", new()
    {
        PushEvents = false,
        Project = "string",
        ConfidentialNoteEvents = false,
        IssuesEvents = false,
        MergeRequestsEvents = false,
        NoteEvents = false,
        ConfidentialIssuesEvents = false,
        WikiPageEvents = false,
        Room = "string",
        Token = "string",
        PipelineEvents = false,
        TagPushEvents = false,
        BranchesToBeNotified = "string",
        NotifyOnlyBrokenPipelines = false,
    });
    
    example, err := gitlab.NewIntegrationTelegram(ctx, "integrationTelegramResource", &gitlab.IntegrationTelegramArgs{
    	PushEvents:                pulumi.Bool(false),
    	Project:                   pulumi.String("string"),
    	ConfidentialNoteEvents:    pulumi.Bool(false),
    	IssuesEvents:              pulumi.Bool(false),
    	MergeRequestsEvents:       pulumi.Bool(false),
    	NoteEvents:                pulumi.Bool(false),
    	ConfidentialIssuesEvents:  pulumi.Bool(false),
    	WikiPageEvents:            pulumi.Bool(false),
    	Room:                      pulumi.String("string"),
    	Token:                     pulumi.String("string"),
    	PipelineEvents:            pulumi.Bool(false),
    	TagPushEvents:             pulumi.Bool(false),
    	BranchesToBeNotified:      pulumi.String("string"),
    	NotifyOnlyBrokenPipelines: pulumi.Bool(false),
    })
    
    var integrationTelegramResource = new IntegrationTelegram("integrationTelegramResource", IntegrationTelegramArgs.builder()
        .pushEvents(false)
        .project("string")
        .confidentialNoteEvents(false)
        .issuesEvents(false)
        .mergeRequestsEvents(false)
        .noteEvents(false)
        .confidentialIssuesEvents(false)
        .wikiPageEvents(false)
        .room("string")
        .token("string")
        .pipelineEvents(false)
        .tagPushEvents(false)
        .branchesToBeNotified("string")
        .notifyOnlyBrokenPipelines(false)
        .build());
    
    integration_telegram_resource = gitlab.IntegrationTelegram("integrationTelegramResource",
        push_events=False,
        project="string",
        confidential_note_events=False,
        issues_events=False,
        merge_requests_events=False,
        note_events=False,
        confidential_issues_events=False,
        wiki_page_events=False,
        room="string",
        token="string",
        pipeline_events=False,
        tag_push_events=False,
        branches_to_be_notified="string",
        notify_only_broken_pipelines=False)
    
    const integrationTelegramResource = new gitlab.IntegrationTelegram("integrationTelegramResource", {
        pushEvents: false,
        project: "string",
        confidentialNoteEvents: false,
        issuesEvents: false,
        mergeRequestsEvents: false,
        noteEvents: false,
        confidentialIssuesEvents: false,
        wikiPageEvents: false,
        room: "string",
        token: "string",
        pipelineEvents: false,
        tagPushEvents: false,
        branchesToBeNotified: "string",
        notifyOnlyBrokenPipelines: false,
    });
    
    type: gitlab:IntegrationTelegram
    properties:
        branchesToBeNotified: string
        confidentialIssuesEvents: false
        confidentialNoteEvents: false
        issuesEvents: false
        mergeRequestsEvents: false
        noteEvents: false
        notifyOnlyBrokenPipelines: false
        pipelineEvents: false
        project: string
        pushEvents: false
        room: string
        tagPushEvents: false
        token: string
        wikiPageEvents: false
    

    IntegrationTelegram Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The IntegrationTelegram resource accepts the following input properties:

    ConfidentialIssuesEvents bool
    Enable notifications for confidential issues events.
    ConfidentialNoteEvents bool
    Enable notifications for confidential note events.
    IssuesEvents bool
    Enable notifications for issues events.
    MergeRequestsEvents bool
    Enable notifications for merge requests events.
    NoteEvents bool
    Enable notifications for note events.
    PipelineEvents bool
    Enable notifications for pipeline events.
    Project string
    The ID or full path of the project to integrate with Telegram.
    PushEvents bool
    Enable notifications for push events.
    Room string
    Unique identifier for the target chat or the username of the target channel (in the format @channelusername)
    TagPushEvents bool
    Enable notifications for tag push events.
    Token string
    The Telegram bot token.
    WikiPageEvents bool
    Enable notifications for wiki page events.
    BranchesToBeNotified string
    Branches to send notifications for (introduced in GitLab 16.5). Update of this attribute was not supported before Gitlab 16.11 due to API bug. Valid options are all, default, protected, default_and_protected.
    NotifyOnlyBrokenPipelines bool
    Send notifications for broken pipelines.
    ConfidentialIssuesEvents bool
    Enable notifications for confidential issues events.
    ConfidentialNoteEvents bool
    Enable notifications for confidential note events.
    IssuesEvents bool
    Enable notifications for issues events.
    MergeRequestsEvents bool
    Enable notifications for merge requests events.
    NoteEvents bool
    Enable notifications for note events.
    PipelineEvents bool
    Enable notifications for pipeline events.
    Project string
    The ID or full path of the project to integrate with Telegram.
    PushEvents bool
    Enable notifications for push events.
    Room string
    Unique identifier for the target chat or the username of the target channel (in the format @channelusername)
    TagPushEvents bool
    Enable notifications for tag push events.
    Token string
    The Telegram bot token.
    WikiPageEvents bool
    Enable notifications for wiki page events.
    BranchesToBeNotified string
    Branches to send notifications for (introduced in GitLab 16.5). Update of this attribute was not supported before Gitlab 16.11 due to API bug. Valid options are all, default, protected, default_and_protected.
    NotifyOnlyBrokenPipelines bool
    Send notifications for broken pipelines.
    confidentialIssuesEvents Boolean
    Enable notifications for confidential issues events.
    confidentialNoteEvents Boolean
    Enable notifications for confidential note events.
    issuesEvents Boolean
    Enable notifications for issues events.
    mergeRequestsEvents Boolean
    Enable notifications for merge requests events.
    noteEvents Boolean
    Enable notifications for note events.
    pipelineEvents Boolean
    Enable notifications for pipeline events.
    project String
    The ID or full path of the project to integrate with Telegram.
    pushEvents Boolean
    Enable notifications for push events.
    room String
    Unique identifier for the target chat or the username of the target channel (in the format @channelusername)
    tagPushEvents Boolean
    Enable notifications for tag push events.
    token String
    The Telegram bot token.
    wikiPageEvents Boolean
    Enable notifications for wiki page events.
    branchesToBeNotified String
    Branches to send notifications for (introduced in GitLab 16.5). Update of this attribute was not supported before Gitlab 16.11 due to API bug. Valid options are all, default, protected, default_and_protected.
    notifyOnlyBrokenPipelines Boolean
    Send notifications for broken pipelines.
    confidentialIssuesEvents boolean
    Enable notifications for confidential issues events.
    confidentialNoteEvents boolean
    Enable notifications for confidential note events.
    issuesEvents boolean
    Enable notifications for issues events.
    mergeRequestsEvents boolean
    Enable notifications for merge requests events.
    noteEvents boolean
    Enable notifications for note events.
    pipelineEvents boolean
    Enable notifications for pipeline events.
    project string
    The ID or full path of the project to integrate with Telegram.
    pushEvents boolean
    Enable notifications for push events.
    room string
    Unique identifier for the target chat or the username of the target channel (in the format @channelusername)
    tagPushEvents boolean
    Enable notifications for tag push events.
    token string
    The Telegram bot token.
    wikiPageEvents boolean
    Enable notifications for wiki page events.
    branchesToBeNotified string
    Branches to send notifications for (introduced in GitLab 16.5). Update of this attribute was not supported before Gitlab 16.11 due to API bug. Valid options are all, default, protected, default_and_protected.
    notifyOnlyBrokenPipelines boolean
    Send notifications for broken pipelines.
    confidential_issues_events bool
    Enable notifications for confidential issues events.
    confidential_note_events bool
    Enable notifications for confidential note events.
    issues_events bool
    Enable notifications for issues events.
    merge_requests_events bool
    Enable notifications for merge requests events.
    note_events bool
    Enable notifications for note events.
    pipeline_events bool
    Enable notifications for pipeline events.
    project str
    The ID or full path of the project to integrate with Telegram.
    push_events bool
    Enable notifications for push events.
    room str
    Unique identifier for the target chat or the username of the target channel (in the format @channelusername)
    tag_push_events bool
    Enable notifications for tag push events.
    token str
    The Telegram bot token.
    wiki_page_events bool
    Enable notifications for wiki page events.
    branches_to_be_notified str
    Branches to send notifications for (introduced in GitLab 16.5). Update of this attribute was not supported before Gitlab 16.11 due to API bug. Valid options are all, default, protected, default_and_protected.
    notify_only_broken_pipelines bool
    Send notifications for broken pipelines.
    confidentialIssuesEvents Boolean
    Enable notifications for confidential issues events.
    confidentialNoteEvents Boolean
    Enable notifications for confidential note events.
    issuesEvents Boolean
    Enable notifications for issues events.
    mergeRequestsEvents Boolean
    Enable notifications for merge requests events.
    noteEvents Boolean
    Enable notifications for note events.
    pipelineEvents Boolean
    Enable notifications for pipeline events.
    project String
    The ID or full path of the project to integrate with Telegram.
    pushEvents Boolean
    Enable notifications for push events.
    room String
    Unique identifier for the target chat or the username of the target channel (in the format @channelusername)
    tagPushEvents Boolean
    Enable notifications for tag push events.
    token String
    The Telegram bot token.
    wikiPageEvents Boolean
    Enable notifications for wiki page events.
    branchesToBeNotified String
    Branches to send notifications for (introduced in GitLab 16.5). Update of this attribute was not supported before Gitlab 16.11 due to API bug. Valid options are all, default, protected, default_and_protected.
    notifyOnlyBrokenPipelines Boolean
    Send notifications for broken pipelines.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the IntegrationTelegram resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing IntegrationTelegram Resource

    Get an existing IntegrationTelegram resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: IntegrationTelegramState, opts?: CustomResourceOptions): IntegrationTelegram
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            branches_to_be_notified: Optional[str] = None,
            confidential_issues_events: Optional[bool] = None,
            confidential_note_events: Optional[bool] = None,
            issues_events: Optional[bool] = None,
            merge_requests_events: Optional[bool] = None,
            note_events: Optional[bool] = None,
            notify_only_broken_pipelines: Optional[bool] = None,
            pipeline_events: Optional[bool] = None,
            project: Optional[str] = None,
            push_events: Optional[bool] = None,
            room: Optional[str] = None,
            tag_push_events: Optional[bool] = None,
            token: Optional[str] = None,
            wiki_page_events: Optional[bool] = None) -> IntegrationTelegram
    func GetIntegrationTelegram(ctx *Context, name string, id IDInput, state *IntegrationTelegramState, opts ...ResourceOption) (*IntegrationTelegram, error)
    public static IntegrationTelegram Get(string name, Input<string> id, IntegrationTelegramState? state, CustomResourceOptions? opts = null)
    public static IntegrationTelegram get(String name, Output<String> id, IntegrationTelegramState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    BranchesToBeNotified string
    Branches to send notifications for (introduced in GitLab 16.5). Update of this attribute was not supported before Gitlab 16.11 due to API bug. Valid options are all, default, protected, default_and_protected.
    ConfidentialIssuesEvents bool
    Enable notifications for confidential issues events.
    ConfidentialNoteEvents bool
    Enable notifications for confidential note events.
    IssuesEvents bool
    Enable notifications for issues events.
    MergeRequestsEvents bool
    Enable notifications for merge requests events.
    NoteEvents bool
    Enable notifications for note events.
    NotifyOnlyBrokenPipelines bool
    Send notifications for broken pipelines.
    PipelineEvents bool
    Enable notifications for pipeline events.
    Project string
    The ID or full path of the project to integrate with Telegram.
    PushEvents bool
    Enable notifications for push events.
    Room string
    Unique identifier for the target chat or the username of the target channel (in the format @channelusername)
    TagPushEvents bool
    Enable notifications for tag push events.
    Token string
    The Telegram bot token.
    WikiPageEvents bool
    Enable notifications for wiki page events.
    BranchesToBeNotified string
    Branches to send notifications for (introduced in GitLab 16.5). Update of this attribute was not supported before Gitlab 16.11 due to API bug. Valid options are all, default, protected, default_and_protected.
    ConfidentialIssuesEvents bool
    Enable notifications for confidential issues events.
    ConfidentialNoteEvents bool
    Enable notifications for confidential note events.
    IssuesEvents bool
    Enable notifications for issues events.
    MergeRequestsEvents bool
    Enable notifications for merge requests events.
    NoteEvents bool
    Enable notifications for note events.
    NotifyOnlyBrokenPipelines bool
    Send notifications for broken pipelines.
    PipelineEvents bool
    Enable notifications for pipeline events.
    Project string
    The ID or full path of the project to integrate with Telegram.
    PushEvents bool
    Enable notifications for push events.
    Room string
    Unique identifier for the target chat or the username of the target channel (in the format @channelusername)
    TagPushEvents bool
    Enable notifications for tag push events.
    Token string
    The Telegram bot token.
    WikiPageEvents bool
    Enable notifications for wiki page events.
    branchesToBeNotified String
    Branches to send notifications for (introduced in GitLab 16.5). Update of this attribute was not supported before Gitlab 16.11 due to API bug. Valid options are all, default, protected, default_and_protected.
    confidentialIssuesEvents Boolean
    Enable notifications for confidential issues events.
    confidentialNoteEvents Boolean
    Enable notifications for confidential note events.
    issuesEvents Boolean
    Enable notifications for issues events.
    mergeRequestsEvents Boolean
    Enable notifications for merge requests events.
    noteEvents Boolean
    Enable notifications for note events.
    notifyOnlyBrokenPipelines Boolean
    Send notifications for broken pipelines.
    pipelineEvents Boolean
    Enable notifications for pipeline events.
    project String
    The ID or full path of the project to integrate with Telegram.
    pushEvents Boolean
    Enable notifications for push events.
    room String
    Unique identifier for the target chat or the username of the target channel (in the format @channelusername)
    tagPushEvents Boolean
    Enable notifications for tag push events.
    token String
    The Telegram bot token.
    wikiPageEvents Boolean
    Enable notifications for wiki page events.
    branchesToBeNotified string
    Branches to send notifications for (introduced in GitLab 16.5). Update of this attribute was not supported before Gitlab 16.11 due to API bug. Valid options are all, default, protected, default_and_protected.
    confidentialIssuesEvents boolean
    Enable notifications for confidential issues events.
    confidentialNoteEvents boolean
    Enable notifications for confidential note events.
    issuesEvents boolean
    Enable notifications for issues events.
    mergeRequestsEvents boolean
    Enable notifications for merge requests events.
    noteEvents boolean
    Enable notifications for note events.
    notifyOnlyBrokenPipelines boolean
    Send notifications for broken pipelines.
    pipelineEvents boolean
    Enable notifications for pipeline events.
    project string
    The ID or full path of the project to integrate with Telegram.
    pushEvents boolean
    Enable notifications for push events.
    room string
    Unique identifier for the target chat or the username of the target channel (in the format @channelusername)
    tagPushEvents boolean
    Enable notifications for tag push events.
    token string
    The Telegram bot token.
    wikiPageEvents boolean
    Enable notifications for wiki page events.
    branches_to_be_notified str
    Branches to send notifications for (introduced in GitLab 16.5). Update of this attribute was not supported before Gitlab 16.11 due to API bug. Valid options are all, default, protected, default_and_protected.
    confidential_issues_events bool
    Enable notifications for confidential issues events.
    confidential_note_events bool
    Enable notifications for confidential note events.
    issues_events bool
    Enable notifications for issues events.
    merge_requests_events bool
    Enable notifications for merge requests events.
    note_events bool
    Enable notifications for note events.
    notify_only_broken_pipelines bool
    Send notifications for broken pipelines.
    pipeline_events bool
    Enable notifications for pipeline events.
    project str
    The ID or full path of the project to integrate with Telegram.
    push_events bool
    Enable notifications for push events.
    room str
    Unique identifier for the target chat or the username of the target channel (in the format @channelusername)
    tag_push_events bool
    Enable notifications for tag push events.
    token str
    The Telegram bot token.
    wiki_page_events bool
    Enable notifications for wiki page events.
    branchesToBeNotified String
    Branches to send notifications for (introduced in GitLab 16.5). Update of this attribute was not supported before Gitlab 16.11 due to API bug. Valid options are all, default, protected, default_and_protected.
    confidentialIssuesEvents Boolean
    Enable notifications for confidential issues events.
    confidentialNoteEvents Boolean
    Enable notifications for confidential note events.
    issuesEvents Boolean
    Enable notifications for issues events.
    mergeRequestsEvents Boolean
    Enable notifications for merge requests events.
    noteEvents Boolean
    Enable notifications for note events.
    notifyOnlyBrokenPipelines Boolean
    Send notifications for broken pipelines.
    pipelineEvents Boolean
    Enable notifications for pipeline events.
    project String
    The ID or full path of the project to integrate with Telegram.
    pushEvents Boolean
    Enable notifications for push events.
    room String
    Unique identifier for the target chat or the username of the target channel (in the format @channelusername)
    tagPushEvents Boolean
    Enable notifications for tag push events.
    token String
    The Telegram bot token.
    wikiPageEvents Boolean
    Enable notifications for wiki page events.

    Import

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

    $ pulumi import gitlab:index/integrationTelegram:IntegrationTelegram default 1
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    GitLab pulumi/pulumi-gitlab
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the gitlab Terraform Provider.
    gitlab logo
    GitLab v8.1.0 published on Friday, Jun 21, 2024 by Pulumi