gitlab.IntegrationTelegram
Explore with Pulumi AI
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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The IntegrationTelegram resource accepts the following input properties:
- Confidential
Issues boolEvents - Enable notifications for confidential issues events.
- Confidential
Note boolEvents - Enable notifications for confidential note events.
- Issues
Events bool - Enable notifications for issues events.
- Merge
Requests boolEvents - Enable notifications for merge requests events.
- Note
Events bool - Enable notifications for note events.
- Pipeline
Events bool - Enable notifications for pipeline events.
- Project string
- The ID or full path of the project to integrate with Telegram.
- Push
Events 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
) - Tag
Push boolEvents - Enable notifications for tag push events.
- Token string
- The Telegram bot token.
- Wiki
Page boolEvents - Enable notifications for wiki page events.
- Branches
To stringBe Notified - 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 boolBroken Pipelines - Send notifications for broken pipelines.
- Confidential
Issues boolEvents - Enable notifications for confidential issues events.
- Confidential
Note boolEvents - Enable notifications for confidential note events.
- Issues
Events bool - Enable notifications for issues events.
- Merge
Requests boolEvents - Enable notifications for merge requests events.
- Note
Events bool - Enable notifications for note events.
- Pipeline
Events bool - Enable notifications for pipeline events.
- Project string
- The ID or full path of the project to integrate with Telegram.
- Push
Events 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
) - Tag
Push boolEvents - Enable notifications for tag push events.
- Token string
- The Telegram bot token.
- Wiki
Page boolEvents - Enable notifications for wiki page events.
- Branches
To stringBe Notified - 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 boolBroken Pipelines - Send notifications for broken pipelines.
- confidential
Issues BooleanEvents - Enable notifications for confidential issues events.
- confidential
Note BooleanEvents - Enable notifications for confidential note events.
- issues
Events Boolean - Enable notifications for issues events.
- merge
Requests BooleanEvents - Enable notifications for merge requests events.
- note
Events Boolean - Enable notifications for note events.
- pipeline
Events Boolean - Enable notifications for pipeline events.
- project String
- The ID or full path of the project to integrate with Telegram.
- push
Events 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
) - tag
Push BooleanEvents - Enable notifications for tag push events.
- token String
- The Telegram bot token.
- wiki
Page BooleanEvents - Enable notifications for wiki page events.
- branches
To StringBe Notified - 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 BooleanBroken Pipelines - Send notifications for broken pipelines.
- confidential
Issues booleanEvents - Enable notifications for confidential issues events.
- confidential
Note booleanEvents - Enable notifications for confidential note events.
- issues
Events boolean - Enable notifications for issues events.
- merge
Requests booleanEvents - Enable notifications for merge requests events.
- note
Events boolean - Enable notifications for note events.
- pipeline
Events boolean - Enable notifications for pipeline events.
- project string
- The ID or full path of the project to integrate with Telegram.
- push
Events 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
) - tag
Push booleanEvents - Enable notifications for tag push events.
- token string
- The Telegram bot token.
- wiki
Page booleanEvents - Enable notifications for wiki page events.
- branches
To stringBe Notified - 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 booleanBroken Pipelines - Send notifications for broken pipelines.
- confidential_
issues_ boolevents - Enable notifications for confidential issues events.
- confidential_
note_ boolevents - Enable notifications for confidential note events.
- issues_
events bool - Enable notifications for issues events.
- merge_
requests_ boolevents - 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_ boolevents - Enable notifications for tag push events.
- token str
- The Telegram bot token.
- wiki_
page_ boolevents - Enable notifications for wiki page events.
- branches_
to_ strbe_ notified - 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_ boolbroken_ pipelines - Send notifications for broken pipelines.
- confidential
Issues BooleanEvents - Enable notifications for confidential issues events.
- confidential
Note BooleanEvents - Enable notifications for confidential note events.
- issues
Events Boolean - Enable notifications for issues events.
- merge
Requests BooleanEvents - Enable notifications for merge requests events.
- note
Events Boolean - Enable notifications for note events.
- pipeline
Events Boolean - Enable notifications for pipeline events.
- project String
- The ID or full path of the project to integrate with Telegram.
- push
Events 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
) - tag
Push BooleanEvents - Enable notifications for tag push events.
- token String
- The Telegram bot token.
- wiki
Page BooleanEvents - Enable notifications for wiki page events.
- branches
To StringBe Notified - 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 BooleanBroken Pipelines - 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.
- Branches
To stringBe Notified - 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 boolEvents - Enable notifications for confidential issues events.
- Confidential
Note boolEvents - Enable notifications for confidential note events.
- Issues
Events bool - Enable notifications for issues events.
- Merge
Requests boolEvents - Enable notifications for merge requests events.
- Note
Events bool - Enable notifications for note events.
- Notify
Only boolBroken Pipelines - Send notifications for broken pipelines.
- Pipeline
Events bool - Enable notifications for pipeline events.
- Project string
- The ID or full path of the project to integrate with Telegram.
- Push
Events 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
) - Tag
Push boolEvents - Enable notifications for tag push events.
- Token string
- The Telegram bot token.
- Wiki
Page boolEvents - Enable notifications for wiki page events.
- Branches
To stringBe Notified - 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 boolEvents - Enable notifications for confidential issues events.
- Confidential
Note boolEvents - Enable notifications for confidential note events.
- Issues
Events bool - Enable notifications for issues events.
- Merge
Requests boolEvents - Enable notifications for merge requests events.
- Note
Events bool - Enable notifications for note events.
- Notify
Only boolBroken Pipelines - Send notifications for broken pipelines.
- Pipeline
Events bool - Enable notifications for pipeline events.
- Project string
- The ID or full path of the project to integrate with Telegram.
- Push
Events 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
) - Tag
Push boolEvents - Enable notifications for tag push events.
- Token string
- The Telegram bot token.
- Wiki
Page boolEvents - Enable notifications for wiki page events.
- branches
To StringBe Notified - 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 BooleanEvents - Enable notifications for confidential issues events.
- confidential
Note BooleanEvents - Enable notifications for confidential note events.
- issues
Events Boolean - Enable notifications for issues events.
- merge
Requests BooleanEvents - Enable notifications for merge requests events.
- note
Events Boolean - Enable notifications for note events.
- notify
Only BooleanBroken Pipelines - Send notifications for broken pipelines.
- pipeline
Events Boolean - Enable notifications for pipeline events.
- project String
- The ID or full path of the project to integrate with Telegram.
- push
Events 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
) - tag
Push BooleanEvents - Enable notifications for tag push events.
- token String
- The Telegram bot token.
- wiki
Page BooleanEvents - Enable notifications for wiki page events.
- branches
To stringBe Notified - 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 booleanEvents - Enable notifications for confidential issues events.
- confidential
Note booleanEvents - Enable notifications for confidential note events.
- issues
Events boolean - Enable notifications for issues events.
- merge
Requests booleanEvents - Enable notifications for merge requests events.
- note
Events boolean - Enable notifications for note events.
- notify
Only booleanBroken Pipelines - Send notifications for broken pipelines.
- pipeline
Events boolean - Enable notifications for pipeline events.
- project string
- The ID or full path of the project to integrate with Telegram.
- push
Events 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
) - tag
Push booleanEvents - Enable notifications for tag push events.
- token string
- The Telegram bot token.
- wiki
Page booleanEvents - Enable notifications for wiki page events.
- branches_
to_ strbe_ notified - 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_ boolevents - Enable notifications for confidential issues events.
- confidential_
note_ boolevents - Enable notifications for confidential note events.
- issues_
events bool - Enable notifications for issues events.
- merge_
requests_ boolevents - Enable notifications for merge requests events.
- note_
events bool - Enable notifications for note events.
- notify_
only_ boolbroken_ pipelines - 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_ boolevents - Enable notifications for tag push events.
- token str
- The Telegram bot token.
- wiki_
page_ boolevents - Enable notifications for wiki page events.
- branches
To StringBe Notified - 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 BooleanEvents - Enable notifications for confidential issues events.
- confidential
Note BooleanEvents - Enable notifications for confidential note events.
- issues
Events Boolean - Enable notifications for issues events.
- merge
Requests BooleanEvents - Enable notifications for merge requests events.
- note
Events Boolean - Enable notifications for note events.
- notify
Only BooleanBroken Pipelines - Send notifications for broken pipelines.
- pipeline
Events Boolean - Enable notifications for pipeline events.
- project String
- The ID or full path of the project to integrate with Telegram.
- push
Events 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
) - tag
Push BooleanEvents - Enable notifications for tag push events.
- token String
- The Telegram bot token.
- wiki
Page BooleanEvents - 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.