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

gitlab.ServiceMicrosoftTeams

Explore with Pulumi AI

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

    The gitlab.ServiceMicrosoftTeams resource allows to manage the lifecycle of a project integration with Microsoft Teams.

    This resource is deprecated. use gitlab.IntegrationMicrosoftTeamsinstead!

    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 teams = new gitlab.ServiceMicrosoftTeams("teams", {
        project: awesomeProject.id,
        webhook: "https://testurl.com/?token=XYZ",
        pushEvents: true,
    });
    
    import pulumi
    import pulumi_gitlab as gitlab
    
    awesome_project = gitlab.Project("awesome_project",
        name="awesome_project",
        description="My awesome project.",
        visibility_level="public")
    teams = gitlab.ServiceMicrosoftTeams("teams",
        project=awesome_project.id,
        webhook="https://testurl.com/?token=XYZ",
        push_events=True)
    
    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 {
    		awesomeProject, 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.NewServiceMicrosoftTeams(ctx, "teams", &gitlab.ServiceMicrosoftTeamsArgs{
    			Project:    awesomeProject.ID(),
    			Webhook:    pulumi.String("https://testurl.com/?token=XYZ"),
    			PushEvents: pulumi.Bool(true),
    		})
    		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 teams = new GitLab.ServiceMicrosoftTeams("teams", new()
        {
            Project = awesomeProject.Id,
            Webhook = "https://testurl.com/?token=XYZ",
            PushEvents = true,
        });
    
    });
    
    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.ServiceMicrosoftTeams;
    import com.pulumi.gitlab.ServiceMicrosoftTeamsArgs;
    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 teams = new ServiceMicrosoftTeams("teams", ServiceMicrosoftTeamsArgs.builder()
                .project(awesomeProject.id())
                .webhook("https://testurl.com/?token=XYZ")
                .pushEvents(true)
                .build());
    
        }
    }
    
    resources:
      awesomeProject:
        type: gitlab:Project
        name: awesome_project
        properties:
          name: awesome_project
          description: My awesome project.
          visibilityLevel: public
      teams:
        type: gitlab:ServiceMicrosoftTeams
        properties:
          project: ${awesomeProject.id}
          webhook: https://testurl.com/?token=XYZ
          pushEvents: true
    

    Create ServiceMicrosoftTeams Resource

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

    Constructor syntax

    new ServiceMicrosoftTeams(name: string, args: ServiceMicrosoftTeamsArgs, opts?: CustomResourceOptions);
    @overload
    def ServiceMicrosoftTeams(resource_name: str,
                              args: ServiceMicrosoftTeamsArgs,
                              opts: Optional[ResourceOptions] = None)
    
    @overload
    def ServiceMicrosoftTeams(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              project: Optional[str] = None,
                              webhook: Optional[str] = None,
                              notify_only_broken_pipelines: Optional[bool] = None,
                              issues_events: Optional[bool] = None,
                              merge_requests_events: Optional[bool] = None,
                              note_events: Optional[bool] = None,
                              branches_to_be_notified: Optional[str] = None,
                              pipeline_events: Optional[bool] = None,
                              confidential_note_events: Optional[bool] = None,
                              push_events: Optional[bool] = None,
                              tag_push_events: Optional[bool] = None,
                              confidential_issues_events: Optional[bool] = None,
                              wiki_page_events: Optional[bool] = None)
    func NewServiceMicrosoftTeams(ctx *Context, name string, args ServiceMicrosoftTeamsArgs, opts ...ResourceOption) (*ServiceMicrosoftTeams, error)
    public ServiceMicrosoftTeams(string name, ServiceMicrosoftTeamsArgs args, CustomResourceOptions? opts = null)
    public ServiceMicrosoftTeams(String name, ServiceMicrosoftTeamsArgs args)
    public ServiceMicrosoftTeams(String name, ServiceMicrosoftTeamsArgs args, CustomResourceOptions options)
    
    type: gitlab:ServiceMicrosoftTeams
    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 ServiceMicrosoftTeamsArgs
    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 ServiceMicrosoftTeamsArgs
    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 ServiceMicrosoftTeamsArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ServiceMicrosoftTeamsArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ServiceMicrosoftTeamsArgs
    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 serviceMicrosoftTeamsResource = new GitLab.ServiceMicrosoftTeams("serviceMicrosoftTeamsResource", new()
    {
        Project = "string",
        Webhook = "string",
        NotifyOnlyBrokenPipelines = false,
        IssuesEvents = false,
        MergeRequestsEvents = false,
        NoteEvents = false,
        BranchesToBeNotified = "string",
        PipelineEvents = false,
        ConfidentialNoteEvents = false,
        PushEvents = false,
        TagPushEvents = false,
        ConfidentialIssuesEvents = false,
        WikiPageEvents = false,
    });
    
    example, err := gitlab.NewServiceMicrosoftTeams(ctx, "serviceMicrosoftTeamsResource", &gitlab.ServiceMicrosoftTeamsArgs{
    	Project:                   pulumi.String("string"),
    	Webhook:                   pulumi.String("string"),
    	NotifyOnlyBrokenPipelines: pulumi.Bool(false),
    	IssuesEvents:              pulumi.Bool(false),
    	MergeRequestsEvents:       pulumi.Bool(false),
    	NoteEvents:                pulumi.Bool(false),
    	BranchesToBeNotified:      pulumi.String("string"),
    	PipelineEvents:            pulumi.Bool(false),
    	ConfidentialNoteEvents:    pulumi.Bool(false),
    	PushEvents:                pulumi.Bool(false),
    	TagPushEvents:             pulumi.Bool(false),
    	ConfidentialIssuesEvents:  pulumi.Bool(false),
    	WikiPageEvents:            pulumi.Bool(false),
    })
    
    var serviceMicrosoftTeamsResource = new ServiceMicrosoftTeams("serviceMicrosoftTeamsResource", ServiceMicrosoftTeamsArgs.builder()
        .project("string")
        .webhook("string")
        .notifyOnlyBrokenPipelines(false)
        .issuesEvents(false)
        .mergeRequestsEvents(false)
        .noteEvents(false)
        .branchesToBeNotified("string")
        .pipelineEvents(false)
        .confidentialNoteEvents(false)
        .pushEvents(false)
        .tagPushEvents(false)
        .confidentialIssuesEvents(false)
        .wikiPageEvents(false)
        .build());
    
    service_microsoft_teams_resource = gitlab.ServiceMicrosoftTeams("serviceMicrosoftTeamsResource",
        project="string",
        webhook="string",
        notify_only_broken_pipelines=False,
        issues_events=False,
        merge_requests_events=False,
        note_events=False,
        branches_to_be_notified="string",
        pipeline_events=False,
        confidential_note_events=False,
        push_events=False,
        tag_push_events=False,
        confidential_issues_events=False,
        wiki_page_events=False)
    
    const serviceMicrosoftTeamsResource = new gitlab.ServiceMicrosoftTeams("serviceMicrosoftTeamsResource", {
        project: "string",
        webhook: "string",
        notifyOnlyBrokenPipelines: false,
        issuesEvents: false,
        mergeRequestsEvents: false,
        noteEvents: false,
        branchesToBeNotified: "string",
        pipelineEvents: false,
        confidentialNoteEvents: false,
        pushEvents: false,
        tagPushEvents: false,
        confidentialIssuesEvents: false,
        wikiPageEvents: false,
    });
    
    type: gitlab:ServiceMicrosoftTeams
    properties:
        branchesToBeNotified: string
        confidentialIssuesEvents: false
        confidentialNoteEvents: false
        issuesEvents: false
        mergeRequestsEvents: false
        noteEvents: false
        notifyOnlyBrokenPipelines: false
        pipelineEvents: false
        project: string
        pushEvents: false
        tagPushEvents: false
        webhook: string
        wikiPageEvents: false
    

    ServiceMicrosoftTeams 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 ServiceMicrosoftTeams resource accepts the following input properties:

    Project string
    ID of the project you want to activate integration on.
    Webhook string
    The Microsoft Teams webhook (Example, https://outlook.office.com/webhook/...). This value cannot be imported.
    BranchesToBeNotified string
    Branches to send notifications for. Valid options are “all”, “default”, “protected”, and “defaultandprotected”. The default value is “default”
    ConfidentialIssuesEvents bool
    Enable notifications for confidential issue events
    ConfidentialNoteEvents bool
    Enable notifications for confidential note events
    IssuesEvents bool
    Enable notifications for issue events
    MergeRequestsEvents bool
    Enable notifications for merge request events
    NoteEvents bool
    Enable notifications for note events
    NotifyOnlyBrokenPipelines bool
    Send notifications for broken pipelines
    PipelineEvents bool
    Enable notifications for pipeline events
    PushEvents bool
    Enable notifications for push events
    TagPushEvents bool
    Enable notifications for tag push events
    WikiPageEvents bool
    Enable notifications for wiki page events
    Project string
    ID of the project you want to activate integration on.
    Webhook string
    The Microsoft Teams webhook (Example, https://outlook.office.com/webhook/...). This value cannot be imported.
    BranchesToBeNotified string
    Branches to send notifications for. Valid options are “all”, “default”, “protected”, and “defaultandprotected”. The default value is “default”
    ConfidentialIssuesEvents bool
    Enable notifications for confidential issue events
    ConfidentialNoteEvents bool
    Enable notifications for confidential note events
    IssuesEvents bool
    Enable notifications for issue events
    MergeRequestsEvents bool
    Enable notifications for merge request events
    NoteEvents bool
    Enable notifications for note events
    NotifyOnlyBrokenPipelines bool
    Send notifications for broken pipelines
    PipelineEvents bool
    Enable notifications for pipeline events
    PushEvents bool
    Enable notifications for push events
    TagPushEvents bool
    Enable notifications for tag push events
    WikiPageEvents bool
    Enable notifications for wiki page events
    project String
    ID of the project you want to activate integration on.
    webhook String
    The Microsoft Teams webhook (Example, https://outlook.office.com/webhook/...). This value cannot be imported.
    branchesToBeNotified String
    Branches to send notifications for. Valid options are “all”, “default”, “protected”, and “defaultandprotected”. The default value is “default”
    confidentialIssuesEvents Boolean
    Enable notifications for confidential issue events
    confidentialNoteEvents Boolean
    Enable notifications for confidential note events
    issuesEvents Boolean
    Enable notifications for issue events
    mergeRequestsEvents Boolean
    Enable notifications for merge request events
    noteEvents Boolean
    Enable notifications for note events
    notifyOnlyBrokenPipelines Boolean
    Send notifications for broken pipelines
    pipelineEvents Boolean
    Enable notifications for pipeline events
    pushEvents Boolean
    Enable notifications for push events
    tagPushEvents Boolean
    Enable notifications for tag push events
    wikiPageEvents Boolean
    Enable notifications for wiki page events
    project string
    ID of the project you want to activate integration on.
    webhook string
    The Microsoft Teams webhook (Example, https://outlook.office.com/webhook/...). This value cannot be imported.
    branchesToBeNotified string
    Branches to send notifications for. Valid options are “all”, “default”, “protected”, and “defaultandprotected”. The default value is “default”
    confidentialIssuesEvents boolean
    Enable notifications for confidential issue events
    confidentialNoteEvents boolean
    Enable notifications for confidential note events
    issuesEvents boolean
    Enable notifications for issue events
    mergeRequestsEvents boolean
    Enable notifications for merge request events
    noteEvents boolean
    Enable notifications for note events
    notifyOnlyBrokenPipelines boolean
    Send notifications for broken pipelines
    pipelineEvents boolean
    Enable notifications for pipeline events
    pushEvents boolean
    Enable notifications for push events
    tagPushEvents boolean
    Enable notifications for tag push events
    wikiPageEvents boolean
    Enable notifications for wiki page events
    project str
    ID of the project you want to activate integration on.
    webhook str
    The Microsoft Teams webhook (Example, https://outlook.office.com/webhook/...). This value cannot be imported.
    branches_to_be_notified str
    Branches to send notifications for. Valid options are “all”, “default”, “protected”, and “defaultandprotected”. The default value is “default”
    confidential_issues_events bool
    Enable notifications for confidential issue events
    confidential_note_events bool
    Enable notifications for confidential note events
    issues_events bool
    Enable notifications for issue events
    merge_requests_events bool
    Enable notifications for merge request 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
    push_events bool
    Enable notifications for push events
    tag_push_events bool
    Enable notifications for tag push events
    wiki_page_events bool
    Enable notifications for wiki page events
    project String
    ID of the project you want to activate integration on.
    webhook String
    The Microsoft Teams webhook (Example, https://outlook.office.com/webhook/...). This value cannot be imported.
    branchesToBeNotified String
    Branches to send notifications for. Valid options are “all”, “default”, “protected”, and “defaultandprotected”. The default value is “default”
    confidentialIssuesEvents Boolean
    Enable notifications for confidential issue events
    confidentialNoteEvents Boolean
    Enable notifications for confidential note events
    issuesEvents Boolean
    Enable notifications for issue events
    mergeRequestsEvents Boolean
    Enable notifications for merge request events
    noteEvents Boolean
    Enable notifications for note events
    notifyOnlyBrokenPipelines Boolean
    Send notifications for broken pipelines
    pipelineEvents Boolean
    Enable notifications for pipeline events
    pushEvents Boolean
    Enable notifications for push events
    tagPushEvents Boolean
    Enable notifications for tag push events
    wikiPageEvents Boolean
    Enable notifications for wiki page events

    Outputs

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

    Active bool
    Whether the integration is active.
    CreatedAt string
    Create time.
    Id string
    The provider-assigned unique ID for this managed resource.
    UpdatedAt string
    Update time.
    Active bool
    Whether the integration is active.
    CreatedAt string
    Create time.
    Id string
    The provider-assigned unique ID for this managed resource.
    UpdatedAt string
    Update time.
    active Boolean
    Whether the integration is active.
    createdAt String
    Create time.
    id String
    The provider-assigned unique ID for this managed resource.
    updatedAt String
    Update time.
    active boolean
    Whether the integration is active.
    createdAt string
    Create time.
    id string
    The provider-assigned unique ID for this managed resource.
    updatedAt string
    Update time.
    active bool
    Whether the integration is active.
    created_at str
    Create time.
    id str
    The provider-assigned unique ID for this managed resource.
    updated_at str
    Update time.
    active Boolean
    Whether the integration is active.
    createdAt String
    Create time.
    id String
    The provider-assigned unique ID for this managed resource.
    updatedAt String
    Update time.

    Look up Existing ServiceMicrosoftTeams Resource

    Get an existing ServiceMicrosoftTeams 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?: ServiceMicrosoftTeamsState, opts?: CustomResourceOptions): ServiceMicrosoftTeams
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            active: Optional[bool] = None,
            branches_to_be_notified: Optional[str] = None,
            confidential_issues_events: Optional[bool] = None,
            confidential_note_events: Optional[bool] = None,
            created_at: Optional[str] = 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,
            tag_push_events: Optional[bool] = None,
            updated_at: Optional[str] = None,
            webhook: Optional[str] = None,
            wiki_page_events: Optional[bool] = None) -> ServiceMicrosoftTeams
    func GetServiceMicrosoftTeams(ctx *Context, name string, id IDInput, state *ServiceMicrosoftTeamsState, opts ...ResourceOption) (*ServiceMicrosoftTeams, error)
    public static ServiceMicrosoftTeams Get(string name, Input<string> id, ServiceMicrosoftTeamsState? state, CustomResourceOptions? opts = null)
    public static ServiceMicrosoftTeams get(String name, Output<String> id, ServiceMicrosoftTeamsState 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:
    Active bool
    Whether the integration is active.
    BranchesToBeNotified string
    Branches to send notifications for. Valid options are “all”, “default”, “protected”, and “defaultandprotected”. The default value is “default”
    ConfidentialIssuesEvents bool
    Enable notifications for confidential issue events
    ConfidentialNoteEvents bool
    Enable notifications for confidential note events
    CreatedAt string
    Create time.
    IssuesEvents bool
    Enable notifications for issue events
    MergeRequestsEvents bool
    Enable notifications for merge request events
    NoteEvents bool
    Enable notifications for note events
    NotifyOnlyBrokenPipelines bool
    Send notifications for broken pipelines
    PipelineEvents bool
    Enable notifications for pipeline events
    Project string
    ID of the project you want to activate integration on.
    PushEvents bool
    Enable notifications for push events
    TagPushEvents bool
    Enable notifications for tag push events
    UpdatedAt string
    Update time.
    Webhook string
    The Microsoft Teams webhook (Example, https://outlook.office.com/webhook/...). This value cannot be imported.
    WikiPageEvents bool
    Enable notifications for wiki page events
    Active bool
    Whether the integration is active.
    BranchesToBeNotified string
    Branches to send notifications for. Valid options are “all”, “default”, “protected”, and “defaultandprotected”. The default value is “default”
    ConfidentialIssuesEvents bool
    Enable notifications for confidential issue events
    ConfidentialNoteEvents bool
    Enable notifications for confidential note events
    CreatedAt string
    Create time.
    IssuesEvents bool
    Enable notifications for issue events
    MergeRequestsEvents bool
    Enable notifications for merge request events
    NoteEvents bool
    Enable notifications for note events
    NotifyOnlyBrokenPipelines bool
    Send notifications for broken pipelines
    PipelineEvents bool
    Enable notifications for pipeline events
    Project string
    ID of the project you want to activate integration on.
    PushEvents bool
    Enable notifications for push events
    TagPushEvents bool
    Enable notifications for tag push events
    UpdatedAt string
    Update time.
    Webhook string
    The Microsoft Teams webhook (Example, https://outlook.office.com/webhook/...). This value cannot be imported.
    WikiPageEvents bool
    Enable notifications for wiki page events
    active Boolean
    Whether the integration is active.
    branchesToBeNotified String
    Branches to send notifications for. Valid options are “all”, “default”, “protected”, and “defaultandprotected”. The default value is “default”
    confidentialIssuesEvents Boolean
    Enable notifications for confidential issue events
    confidentialNoteEvents Boolean
    Enable notifications for confidential note events
    createdAt String
    Create time.
    issuesEvents Boolean
    Enable notifications for issue events
    mergeRequestsEvents Boolean
    Enable notifications for merge request events
    noteEvents Boolean
    Enable notifications for note events
    notifyOnlyBrokenPipelines Boolean
    Send notifications for broken pipelines
    pipelineEvents Boolean
    Enable notifications for pipeline events
    project String
    ID of the project you want to activate integration on.
    pushEvents Boolean
    Enable notifications for push events
    tagPushEvents Boolean
    Enable notifications for tag push events
    updatedAt String
    Update time.
    webhook String
    The Microsoft Teams webhook (Example, https://outlook.office.com/webhook/...). This value cannot be imported.
    wikiPageEvents Boolean
    Enable notifications for wiki page events
    active boolean
    Whether the integration is active.
    branchesToBeNotified string
    Branches to send notifications for. Valid options are “all”, “default”, “protected”, and “defaultandprotected”. The default value is “default”
    confidentialIssuesEvents boolean
    Enable notifications for confidential issue events
    confidentialNoteEvents boolean
    Enable notifications for confidential note events
    createdAt string
    Create time.
    issuesEvents boolean
    Enable notifications for issue events
    mergeRequestsEvents boolean
    Enable notifications for merge request events
    noteEvents boolean
    Enable notifications for note events
    notifyOnlyBrokenPipelines boolean
    Send notifications for broken pipelines
    pipelineEvents boolean
    Enable notifications for pipeline events
    project string
    ID of the project you want to activate integration on.
    pushEvents boolean
    Enable notifications for push events
    tagPushEvents boolean
    Enable notifications for tag push events
    updatedAt string
    Update time.
    webhook string
    The Microsoft Teams webhook (Example, https://outlook.office.com/webhook/...). This value cannot be imported.
    wikiPageEvents boolean
    Enable notifications for wiki page events
    active bool
    Whether the integration is active.
    branches_to_be_notified str
    Branches to send notifications for. Valid options are “all”, “default”, “protected”, and “defaultandprotected”. The default value is “default”
    confidential_issues_events bool
    Enable notifications for confidential issue events
    confidential_note_events bool
    Enable notifications for confidential note events
    created_at str
    Create time.
    issues_events bool
    Enable notifications for issue events
    merge_requests_events bool
    Enable notifications for merge request 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
    ID of the project you want to activate integration on.
    push_events bool
    Enable notifications for push events
    tag_push_events bool
    Enable notifications for tag push events
    updated_at str
    Update time.
    webhook str
    The Microsoft Teams webhook (Example, https://outlook.office.com/webhook/...). This value cannot be imported.
    wiki_page_events bool
    Enable notifications for wiki page events
    active Boolean
    Whether the integration is active.
    branchesToBeNotified String
    Branches to send notifications for. Valid options are “all”, “default”, “protected”, and “defaultandprotected”. The default value is “default”
    confidentialIssuesEvents Boolean
    Enable notifications for confidential issue events
    confidentialNoteEvents Boolean
    Enable notifications for confidential note events
    createdAt String
    Create time.
    issuesEvents Boolean
    Enable notifications for issue events
    mergeRequestsEvents Boolean
    Enable notifications for merge request events
    noteEvents Boolean
    Enable notifications for note events
    notifyOnlyBrokenPipelines Boolean
    Send notifications for broken pipelines
    pipelineEvents Boolean
    Enable notifications for pipeline events
    project String
    ID of the project you want to activate integration on.
    pushEvents Boolean
    Enable notifications for push events
    tagPushEvents Boolean
    Enable notifications for tag push events
    updatedAt String
    Update time.
    webhook String
    The Microsoft Teams webhook (Example, https://outlook.office.com/webhook/...). This value cannot be imported.
    wikiPageEvents Boolean
    Enable notifications for wiki page events

    Import

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

    $ pulumi import gitlab:index/serviceMicrosoftTeams:ServiceMicrosoftTeams teams 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