gitlab.ProjectIntegrationMicrosoftTeams
The gitlab.ProjectIntegrationMicrosoftTeams resource manages the lifecycle of a project integration with Microsoft Teams.
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.ProjectIntegrationMicrosoftTeams("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.ProjectIntegrationMicrosoftTeams("teams",
    project=awesome_project.id,
    webhook="https://testurl.com/?token=XYZ",
    push_events=True)
package main
import (
	"github.com/pulumi/pulumi-gitlab/sdk/v9/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.NewProjectIntegrationMicrosoftTeams(ctx, "teams", &gitlab.ProjectIntegrationMicrosoftTeamsArgs{
			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.ProjectIntegrationMicrosoftTeams("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.ProjectIntegrationMicrosoftTeams;
import com.pulumi.gitlab.ProjectIntegrationMicrosoftTeamsArgs;
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 ProjectIntegrationMicrosoftTeams("teams", ProjectIntegrationMicrosoftTeamsArgs.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:ProjectIntegrationMicrosoftTeams
    properties:
      project: ${awesomeProject.id}
      webhook: https://testurl.com/?token=XYZ
      pushEvents: true
Create ProjectIntegrationMicrosoftTeams Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ProjectIntegrationMicrosoftTeams(name: string, args: ProjectIntegrationMicrosoftTeamsArgs, opts?: CustomResourceOptions);@overload
def ProjectIntegrationMicrosoftTeams(resource_name: str,
                                     args: ProjectIntegrationMicrosoftTeamsArgs,
                                     opts: Optional[ResourceOptions] = None)
@overload
def ProjectIntegrationMicrosoftTeams(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 NewProjectIntegrationMicrosoftTeams(ctx *Context, name string, args ProjectIntegrationMicrosoftTeamsArgs, opts ...ResourceOption) (*ProjectIntegrationMicrosoftTeams, error)public ProjectIntegrationMicrosoftTeams(string name, ProjectIntegrationMicrosoftTeamsArgs args, CustomResourceOptions? opts = null)
public ProjectIntegrationMicrosoftTeams(String name, ProjectIntegrationMicrosoftTeamsArgs args)
public ProjectIntegrationMicrosoftTeams(String name, ProjectIntegrationMicrosoftTeamsArgs args, CustomResourceOptions options)
type: gitlab:ProjectIntegrationMicrosoftTeams
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 ProjectIntegrationMicrosoftTeamsArgs
- 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 ProjectIntegrationMicrosoftTeamsArgs
- 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 ProjectIntegrationMicrosoftTeamsArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ProjectIntegrationMicrosoftTeamsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ProjectIntegrationMicrosoftTeamsArgs
- 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 projectIntegrationMicrosoftTeamsResource = new GitLab.ProjectIntegrationMicrosoftTeams("projectIntegrationMicrosoftTeamsResource", 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.NewProjectIntegrationMicrosoftTeams(ctx, "projectIntegrationMicrosoftTeamsResource", &gitlab.ProjectIntegrationMicrosoftTeamsArgs{
	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 projectIntegrationMicrosoftTeamsResource = new ProjectIntegrationMicrosoftTeams("projectIntegrationMicrosoftTeamsResource", ProjectIntegrationMicrosoftTeamsArgs.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());
project_integration_microsoft_teams_resource = gitlab.ProjectIntegrationMicrosoftTeams("projectIntegrationMicrosoftTeamsResource",
    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 projectIntegrationMicrosoftTeamsResource = new gitlab.ProjectIntegrationMicrosoftTeams("projectIntegrationMicrosoftTeamsResource", {
    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:ProjectIntegrationMicrosoftTeams
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
ProjectIntegrationMicrosoftTeams 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 ProjectIntegrationMicrosoftTeams 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.
- BranchesTo stringBe Notified 
- Branches to send notifications for. Valid options are “all”, “default”, “protected”, and “defaultandprotected”. The default value is “default”
- ConfidentialIssues boolEvents 
- Enable notifications for confidential issue events
- ConfidentialNote boolEvents 
- Enable notifications for confidential note events
- IssuesEvents bool
- Enable notifications for issue events
- MergeRequests boolEvents 
- Enable notifications for merge request events
- NoteEvents bool
- Enable notifications for note events
- NotifyOnly boolBroken Pipelines 
- Send notifications for broken pipelines
- PipelineEvents bool
- Enable notifications for pipeline events
- PushEvents bool
- Enable notifications for push events
- TagPush boolEvents 
- Enable notifications for tag push events
- WikiPage boolEvents 
- 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.
- BranchesTo stringBe Notified 
- Branches to send notifications for. Valid options are “all”, “default”, “protected”, and “defaultandprotected”. The default value is “default”
- ConfidentialIssues boolEvents 
- Enable notifications for confidential issue events
- ConfidentialNote boolEvents 
- Enable notifications for confidential note events
- IssuesEvents bool
- Enable notifications for issue events
- MergeRequests boolEvents 
- Enable notifications for merge request events
- NoteEvents bool
- Enable notifications for note events
- NotifyOnly boolBroken Pipelines 
- Send notifications for broken pipelines
- PipelineEvents bool
- Enable notifications for pipeline events
- PushEvents bool
- Enable notifications for push events
- TagPush boolEvents 
- Enable notifications for tag push events
- WikiPage boolEvents 
- 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.
- branchesTo StringBe Notified 
- Branches to send notifications for. Valid options are “all”, “default”, “protected”, and “defaultandprotected”. The default value is “default”
- confidentialIssues BooleanEvents 
- Enable notifications for confidential issue events
- confidentialNote BooleanEvents 
- Enable notifications for confidential note events
- issuesEvents Boolean
- Enable notifications for issue events
- mergeRequests BooleanEvents 
- Enable notifications for merge request events
- noteEvents Boolean
- Enable notifications for note events
- notifyOnly BooleanBroken Pipelines 
- Send notifications for broken pipelines
- pipelineEvents Boolean
- Enable notifications for pipeline events
- pushEvents Boolean
- Enable notifications for push events
- tagPush BooleanEvents 
- Enable notifications for tag push events
- wikiPage BooleanEvents 
- 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.
- branchesTo stringBe Notified 
- Branches to send notifications for. Valid options are “all”, “default”, “protected”, and “defaultandprotected”. The default value is “default”
- confidentialIssues booleanEvents 
- Enable notifications for confidential issue events
- confidentialNote booleanEvents 
- Enable notifications for confidential note events
- issuesEvents boolean
- Enable notifications for issue events
- mergeRequests booleanEvents 
- Enable notifications for merge request events
- noteEvents boolean
- Enable notifications for note events
- notifyOnly booleanBroken Pipelines 
- Send notifications for broken pipelines
- pipelineEvents boolean
- Enable notifications for pipeline events
- pushEvents boolean
- Enable notifications for push events
- tagPush booleanEvents 
- Enable notifications for tag push events
- wikiPage booleanEvents 
- 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_ strbe_ notified 
- Branches to send notifications for. Valid options are “all”, “default”, “protected”, and “defaultandprotected”. The default value is “default”
- confidential_issues_ boolevents 
- Enable notifications for confidential issue events
- confidential_note_ boolevents 
- Enable notifications for confidential note events
- issues_events bool
- Enable notifications for issue events
- merge_requests_ boolevents 
- Enable notifications for merge request 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
- push_events bool
- Enable notifications for push events
- tag_push_ boolevents 
- Enable notifications for tag push events
- wiki_page_ boolevents 
- 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.
- branchesTo StringBe Notified 
- Branches to send notifications for. Valid options are “all”, “default”, “protected”, and “defaultandprotected”. The default value is “default”
- confidentialIssues BooleanEvents 
- Enable notifications for confidential issue events
- confidentialNote BooleanEvents 
- Enable notifications for confidential note events
- issuesEvents Boolean
- Enable notifications for issue events
- mergeRequests BooleanEvents 
- Enable notifications for merge request events
- noteEvents Boolean
- Enable notifications for note events
- notifyOnly BooleanBroken Pipelines 
- Send notifications for broken pipelines
- pipelineEvents Boolean
- Enable notifications for pipeline events
- pushEvents Boolean
- Enable notifications for push events
- tagPush BooleanEvents 
- Enable notifications for tag push events
- wikiPage BooleanEvents 
- Enable notifications for wiki page events
Outputs
All input properties are implicitly available as output properties. Additionally, the ProjectIntegrationMicrosoftTeams resource produces the following output properties:
- 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.
Look up Existing ProjectIntegrationMicrosoftTeams Resource
Get an existing ProjectIntegrationMicrosoftTeams 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?: ProjectIntegrationMicrosoftTeamsState, opts?: CustomResourceOptions): ProjectIntegrationMicrosoftTeams@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) -> ProjectIntegrationMicrosoftTeamsfunc GetProjectIntegrationMicrosoftTeams(ctx *Context, name string, id IDInput, state *ProjectIntegrationMicrosoftTeamsState, opts ...ResourceOption) (*ProjectIntegrationMicrosoftTeams, error)public static ProjectIntegrationMicrosoftTeams Get(string name, Input<string> id, ProjectIntegrationMicrosoftTeamsState? state, CustomResourceOptions? opts = null)public static ProjectIntegrationMicrosoftTeams get(String name, Output<String> id, ProjectIntegrationMicrosoftTeamsState state, CustomResourceOptions options)resources:  _:    type: gitlab:ProjectIntegrationMicrosoftTeams    get:      id: ${id}- 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.
- Active bool
- Whether the integration is active.
- BranchesTo stringBe Notified 
- Branches to send notifications for. Valid options are “all”, “default”, “protected”, and “defaultandprotected”. The default value is “default”
- ConfidentialIssues boolEvents 
- Enable notifications for confidential issue events
- ConfidentialNote boolEvents 
- Enable notifications for confidential note events
- CreatedAt string
- Create time.
- IssuesEvents bool
- Enable notifications for issue events
- MergeRequests boolEvents 
- Enable notifications for merge request events
- NoteEvents bool
- Enable notifications for note events
- NotifyOnly boolBroken Pipelines 
- 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
- TagPush boolEvents 
- 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.
- WikiPage boolEvents 
- Enable notifications for wiki page events
- Active bool
- Whether the integration is active.
- BranchesTo stringBe Notified 
- Branches to send notifications for. Valid options are “all”, “default”, “protected”, and “defaultandprotected”. The default value is “default”
- ConfidentialIssues boolEvents 
- Enable notifications for confidential issue events
- ConfidentialNote boolEvents 
- Enable notifications for confidential note events
- CreatedAt string
- Create time.
- IssuesEvents bool
- Enable notifications for issue events
- MergeRequests boolEvents 
- Enable notifications for merge request events
- NoteEvents bool
- Enable notifications for note events
- NotifyOnly boolBroken Pipelines 
- 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
- TagPush boolEvents 
- 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.
- WikiPage boolEvents 
- Enable notifications for wiki page events
- active Boolean
- Whether the integration is active.
- branchesTo StringBe Notified 
- Branches to send notifications for. Valid options are “all”, “default”, “protected”, and “defaultandprotected”. The default value is “default”
- confidentialIssues BooleanEvents 
- Enable notifications for confidential issue events
- confidentialNote BooleanEvents 
- Enable notifications for confidential note events
- createdAt String
- Create time.
- issuesEvents Boolean
- Enable notifications for issue events
- mergeRequests BooleanEvents 
- Enable notifications for merge request events
- noteEvents Boolean
- Enable notifications for note events
- notifyOnly BooleanBroken Pipelines 
- 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
- tagPush BooleanEvents 
- 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.
- wikiPage BooleanEvents 
- Enable notifications for wiki page events
- active boolean
- Whether the integration is active.
- branchesTo stringBe Notified 
- Branches to send notifications for. Valid options are “all”, “default”, “protected”, and “defaultandprotected”. The default value is “default”
- confidentialIssues booleanEvents 
- Enable notifications for confidential issue events
- confidentialNote booleanEvents 
- Enable notifications for confidential note events
- createdAt string
- Create time.
- issuesEvents boolean
- Enable notifications for issue events
- mergeRequests booleanEvents 
- Enable notifications for merge request events
- noteEvents boolean
- Enable notifications for note events
- notifyOnly booleanBroken Pipelines 
- 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
- tagPush booleanEvents 
- 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.
- wikiPage booleanEvents 
- Enable notifications for wiki page events
- active bool
- Whether the integration is active.
- branches_to_ strbe_ notified 
- Branches to send notifications for. Valid options are “all”, “default”, “protected”, and “defaultandprotected”. The default value is “default”
- confidential_issues_ boolevents 
- Enable notifications for confidential issue events
- confidential_note_ boolevents 
- Enable notifications for confidential note events
- created_at str
- Create time.
- issues_events bool
- Enable notifications for issue events
- merge_requests_ boolevents 
- Enable notifications for merge request 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
- ID of the project you want to activate integration on.
- push_events bool
- Enable notifications for push events
- tag_push_ boolevents 
- 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_ boolevents 
- Enable notifications for wiki page events
- active Boolean
- Whether the integration is active.
- branchesTo StringBe Notified 
- Branches to send notifications for. Valid options are “all”, “default”, “protected”, and “defaultandprotected”. The default value is “default”
- confidentialIssues BooleanEvents 
- Enable notifications for confidential issue events
- confidentialNote BooleanEvents 
- Enable notifications for confidential note events
- createdAt String
- Create time.
- issuesEvents Boolean
- Enable notifications for issue events
- mergeRequests BooleanEvents 
- Enable notifications for merge request events
- noteEvents Boolean
- Enable notifications for note events
- notifyOnly BooleanBroken Pipelines 
- 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
- tagPush BooleanEvents 
- 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.
- wikiPage BooleanEvents 
- Enable notifications for wiki page events
Import
Starting in Terraform v1.5.0, you can use an import block to import gitlab_project_integration_microsoft_teams. For example:
terraform
import {
to = gitlab_project_integration_microsoft_teams.example
id = “see CLI command below for ID”
}
Importing using the CLI is supported with the following syntax:
You can import a gitlab_project_integration_microsoft_teams state using the project ID, e.g.
$ pulumi import gitlab:index/projectIntegrationMicrosoftTeams:ProjectIntegrationMicrosoftTeams 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 gitlabTerraform Provider.
