1. Packages
  2. Sysdig Provider
  3. API Docs
  4. SecureNotificationChannelMsteams
sysdig 1.56.0 published on Wednesday, Apr 30, 2025 by sysdiglabs

sysdig.SecureNotificationChannelMsteams

Explore with Pulumi AI

sysdig logo
sysdig 1.56.0 published on Wednesday, Apr 30, 2025 by sysdiglabs

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as sysdig from "@pulumi/sysdig";
    
    const sample_msteams = new sysdig.SecureNotificationChannelMsteams("sample-msteams", {
        enabled: true,
        notifyWhenOk: false,
        notifyWhenResolved: false,
        templateVersion: "v2",
        url: "https://xxxxx.webhook.office.com/xxxxxxxxx",
    });
    
    import pulumi
    import pulumi_sysdig as sysdig
    
    sample_msteams = sysdig.SecureNotificationChannelMsteams("sample-msteams",
        enabled=True,
        notify_when_ok=False,
        notify_when_resolved=False,
        template_version="v2",
        url="https://xxxxx.webhook.office.com/xxxxxxxxx")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/sysdig/sysdig"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := sysdig.NewSecureNotificationChannelMsteams(ctx, "sample-msteams", &sysdig.SecureNotificationChannelMsteamsArgs{
    			Enabled:            pulumi.Bool(true),
    			NotifyWhenOk:       pulumi.Bool(false),
    			NotifyWhenResolved: pulumi.Bool(false),
    			TemplateVersion:    pulumi.String("v2"),
    			Url:                pulumi.String("https://xxxxx.webhook.office.com/xxxxxxxxx"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Sysdig = Pulumi.Sysdig;
    
    return await Deployment.RunAsync(() => 
    {
        var sample_msteams = new Sysdig.SecureNotificationChannelMsteams("sample-msteams", new()
        {
            Enabled = true,
            NotifyWhenOk = false,
            NotifyWhenResolved = false,
            TemplateVersion = "v2",
            Url = "https://xxxxx.webhook.office.com/xxxxxxxxx",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.sysdig.SecureNotificationChannelMsteams;
    import com.pulumi.sysdig.SecureNotificationChannelMsteamsArgs;
    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 sample_msteams = new SecureNotificationChannelMsteams("sample-msteams", SecureNotificationChannelMsteamsArgs.builder()
                .enabled(true)
                .notifyWhenOk(false)
                .notifyWhenResolved(false)
                .templateVersion("v2")
                .url("https://xxxxx.webhook.office.com/xxxxxxxxx")
                .build());
    
        }
    }
    
    resources:
      sample-msteams:
        type: sysdig:SecureNotificationChannelMsteams
        properties:
          enabled: true
          notifyWhenOk: false
          notifyWhenResolved: false
          templateVersion: v2
          url: https://xxxxx.webhook.office.com/xxxxxxxxx
    

    Create SecureNotificationChannelMsteams Resource

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

    Constructor syntax

    new SecureNotificationChannelMsteams(name: string, args: SecureNotificationChannelMsteamsArgs, opts?: CustomResourceOptions);
    @overload
    def SecureNotificationChannelMsteams(resource_name: str,
                                         args: SecureNotificationChannelMsteamsArgs,
                                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def SecureNotificationChannelMsteams(resource_name: str,
                                         opts: Optional[ResourceOptions] = None,
                                         url: Optional[str] = None,
                                         enabled: Optional[bool] = None,
                                         name: Optional[str] = None,
                                         notify_when_ok: Optional[bool] = None,
                                         notify_when_resolved: Optional[bool] = None,
                                         secure_notification_channel_msteams_id: Optional[str] = None,
                                         send_test_notification: Optional[bool] = None,
                                         share_with_current_team: Optional[bool] = None,
                                         template_version: Optional[str] = None,
                                         timeouts: Optional[SecureNotificationChannelMsteamsTimeoutsArgs] = None)
    func NewSecureNotificationChannelMsteams(ctx *Context, name string, args SecureNotificationChannelMsteamsArgs, opts ...ResourceOption) (*SecureNotificationChannelMsteams, error)
    public SecureNotificationChannelMsteams(string name, SecureNotificationChannelMsteamsArgs args, CustomResourceOptions? opts = null)
    public SecureNotificationChannelMsteams(String name, SecureNotificationChannelMsteamsArgs args)
    public SecureNotificationChannelMsteams(String name, SecureNotificationChannelMsteamsArgs args, CustomResourceOptions options)
    
    type: sysdig:SecureNotificationChannelMsteams
    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 SecureNotificationChannelMsteamsArgs
    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 SecureNotificationChannelMsteamsArgs
    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 SecureNotificationChannelMsteamsArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SecureNotificationChannelMsteamsArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SecureNotificationChannelMsteamsArgs
    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 secureNotificationChannelMsteamsResource = new Sysdig.SecureNotificationChannelMsteams("secureNotificationChannelMsteamsResource", new()
    {
        Url = "string",
        Enabled = false,
        Name = "string",
        NotifyWhenOk = false,
        NotifyWhenResolved = false,
        SecureNotificationChannelMsteamsId = "string",
        SendTestNotification = false,
        ShareWithCurrentTeam = false,
        TemplateVersion = "string",
        Timeouts = new Sysdig.Inputs.SecureNotificationChannelMsteamsTimeoutsArgs
        {
            Create = "string",
            Delete = "string",
            Read = "string",
            Update = "string",
        },
    });
    
    example, err := sysdig.NewSecureNotificationChannelMsteams(ctx, "secureNotificationChannelMsteamsResource", &sysdig.SecureNotificationChannelMsteamsArgs{
    	Url:                                pulumi.String("string"),
    	Enabled:                            pulumi.Bool(false),
    	Name:                               pulumi.String("string"),
    	NotifyWhenOk:                       pulumi.Bool(false),
    	NotifyWhenResolved:                 pulumi.Bool(false),
    	SecureNotificationChannelMsteamsId: pulumi.String("string"),
    	SendTestNotification:               pulumi.Bool(false),
    	ShareWithCurrentTeam:               pulumi.Bool(false),
    	TemplateVersion:                    pulumi.String("string"),
    	Timeouts: &sysdig.SecureNotificationChannelMsteamsTimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    		Read:   pulumi.String("string"),
    		Update: pulumi.String("string"),
    	},
    })
    
    var secureNotificationChannelMsteamsResource = new SecureNotificationChannelMsteams("secureNotificationChannelMsteamsResource", SecureNotificationChannelMsteamsArgs.builder()
        .url("string")
        .enabled(false)
        .name("string")
        .notifyWhenOk(false)
        .notifyWhenResolved(false)
        .secureNotificationChannelMsteamsId("string")
        .sendTestNotification(false)
        .shareWithCurrentTeam(false)
        .templateVersion("string")
        .timeouts(SecureNotificationChannelMsteamsTimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .read("string")
            .update("string")
            .build())
        .build());
    
    secure_notification_channel_msteams_resource = sysdig.SecureNotificationChannelMsteams("secureNotificationChannelMsteamsResource",
        url="string",
        enabled=False,
        name="string",
        notify_when_ok=False,
        notify_when_resolved=False,
        secure_notification_channel_msteams_id="string",
        send_test_notification=False,
        share_with_current_team=False,
        template_version="string",
        timeouts={
            "create": "string",
            "delete": "string",
            "read": "string",
            "update": "string",
        })
    
    const secureNotificationChannelMsteamsResource = new sysdig.SecureNotificationChannelMsteams("secureNotificationChannelMsteamsResource", {
        url: "string",
        enabled: false,
        name: "string",
        notifyWhenOk: false,
        notifyWhenResolved: false,
        secureNotificationChannelMsteamsId: "string",
        sendTestNotification: false,
        shareWithCurrentTeam: false,
        templateVersion: "string",
        timeouts: {
            create: "string",
            "delete": "string",
            read: "string",
            update: "string",
        },
    });
    
    type: sysdig:SecureNotificationChannelMsteams
    properties:
        enabled: false
        name: string
        notifyWhenOk: false
        notifyWhenResolved: false
        secureNotificationChannelMsteamsId: string
        sendTestNotification: false
        shareWithCurrentTeam: false
        templateVersion: string
        timeouts:
            create: string
            delete: string
            read: string
            update: string
        url: string
    

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

    Url string
    URL of the MS Teams webhook.
    Enabled bool
    If false, the channel will not emit notifications. Default is true.
    Name string
    The name of the Notification Channel. Must be unique.
    NotifyWhenOk bool
    Send a new notification when the alert condition is no longer triggered. Default is false.
    NotifyWhenResolved bool
    Send a new notification when the alert is manually acknowledged by a user. Default is false.
    SecureNotificationChannelMsteamsId string
    (Computed) The ID of the Notification Channel.
    SendTestNotification bool
    Send an initial test notification to check if the notification channel is working. Default is false.
    ShareWithCurrentTeam bool
    (Optional) If set to true it will share notification channel only with current team (in which user is logged in). Otherwise, it will share it with all teams, which is the default behaviour. Although this is an optional setting, beware that if you have lower permissions than admin you may see a error: 403 Forbidden if this is not set to true.
    TemplateVersion string
    The notification template version to use to create notifications. Currently v1 refers to Detailed Notification and v2 refers to Shortened Notification. Default is v1. This field is not supported for Sysdig onprems < 6.2.1
    Timeouts SecureNotificationChannelMsteamsTimeouts
    Url string
    URL of the MS Teams webhook.
    Enabled bool
    If false, the channel will not emit notifications. Default is true.
    Name string
    The name of the Notification Channel. Must be unique.
    NotifyWhenOk bool
    Send a new notification when the alert condition is no longer triggered. Default is false.
    NotifyWhenResolved bool
    Send a new notification when the alert is manually acknowledged by a user. Default is false.
    SecureNotificationChannelMsteamsId string
    (Computed) The ID of the Notification Channel.
    SendTestNotification bool
    Send an initial test notification to check if the notification channel is working. Default is false.
    ShareWithCurrentTeam bool
    (Optional) If set to true it will share notification channel only with current team (in which user is logged in). Otherwise, it will share it with all teams, which is the default behaviour. Although this is an optional setting, beware that if you have lower permissions than admin you may see a error: 403 Forbidden if this is not set to true.
    TemplateVersion string
    The notification template version to use to create notifications. Currently v1 refers to Detailed Notification and v2 refers to Shortened Notification. Default is v1. This field is not supported for Sysdig onprems < 6.2.1
    Timeouts SecureNotificationChannelMsteamsTimeoutsArgs
    url String
    URL of the MS Teams webhook.
    enabled Boolean
    If false, the channel will not emit notifications. Default is true.
    name String
    The name of the Notification Channel. Must be unique.
    notifyWhenOk Boolean
    Send a new notification when the alert condition is no longer triggered. Default is false.
    notifyWhenResolved Boolean
    Send a new notification when the alert is manually acknowledged by a user. Default is false.
    secureNotificationChannelMsteamsId String
    (Computed) The ID of the Notification Channel.
    sendTestNotification Boolean
    Send an initial test notification to check if the notification channel is working. Default is false.
    shareWithCurrentTeam Boolean
    (Optional) If set to true it will share notification channel only with current team (in which user is logged in). Otherwise, it will share it with all teams, which is the default behaviour. Although this is an optional setting, beware that if you have lower permissions than admin you may see a error: 403 Forbidden if this is not set to true.
    templateVersion String
    The notification template version to use to create notifications. Currently v1 refers to Detailed Notification and v2 refers to Shortened Notification. Default is v1. This field is not supported for Sysdig onprems < 6.2.1
    timeouts SecureNotificationChannelMsteamsTimeouts
    url string
    URL of the MS Teams webhook.
    enabled boolean
    If false, the channel will not emit notifications. Default is true.
    name string
    The name of the Notification Channel. Must be unique.
    notifyWhenOk boolean
    Send a new notification when the alert condition is no longer triggered. Default is false.
    notifyWhenResolved boolean
    Send a new notification when the alert is manually acknowledged by a user. Default is false.
    secureNotificationChannelMsteamsId string
    (Computed) The ID of the Notification Channel.
    sendTestNotification boolean
    Send an initial test notification to check if the notification channel is working. Default is false.
    shareWithCurrentTeam boolean
    (Optional) If set to true it will share notification channel only with current team (in which user is logged in). Otherwise, it will share it with all teams, which is the default behaviour. Although this is an optional setting, beware that if you have lower permissions than admin you may see a error: 403 Forbidden if this is not set to true.
    templateVersion string
    The notification template version to use to create notifications. Currently v1 refers to Detailed Notification and v2 refers to Shortened Notification. Default is v1. This field is not supported for Sysdig onprems < 6.2.1
    timeouts SecureNotificationChannelMsteamsTimeouts
    url str
    URL of the MS Teams webhook.
    enabled bool
    If false, the channel will not emit notifications. Default is true.
    name str
    The name of the Notification Channel. Must be unique.
    notify_when_ok bool
    Send a new notification when the alert condition is no longer triggered. Default is false.
    notify_when_resolved bool
    Send a new notification when the alert is manually acknowledged by a user. Default is false.
    secure_notification_channel_msteams_id str
    (Computed) The ID of the Notification Channel.
    send_test_notification bool
    Send an initial test notification to check if the notification channel is working. Default is false.
    share_with_current_team bool
    (Optional) If set to true it will share notification channel only with current team (in which user is logged in). Otherwise, it will share it with all teams, which is the default behaviour. Although this is an optional setting, beware that if you have lower permissions than admin you may see a error: 403 Forbidden if this is not set to true.
    template_version str
    The notification template version to use to create notifications. Currently v1 refers to Detailed Notification and v2 refers to Shortened Notification. Default is v1. This field is not supported for Sysdig onprems < 6.2.1
    timeouts SecureNotificationChannelMsteamsTimeoutsArgs
    url String
    URL of the MS Teams webhook.
    enabled Boolean
    If false, the channel will not emit notifications. Default is true.
    name String
    The name of the Notification Channel. Must be unique.
    notifyWhenOk Boolean
    Send a new notification when the alert condition is no longer triggered. Default is false.
    notifyWhenResolved Boolean
    Send a new notification when the alert is manually acknowledged by a user. Default is false.
    secureNotificationChannelMsteamsId String
    (Computed) The ID of the Notification Channel.
    sendTestNotification Boolean
    Send an initial test notification to check if the notification channel is working. Default is false.
    shareWithCurrentTeam Boolean
    (Optional) If set to true it will share notification channel only with current team (in which user is logged in). Otherwise, it will share it with all teams, which is the default behaviour. Although this is an optional setting, beware that if you have lower permissions than admin you may see a error: 403 Forbidden if this is not set to true.
    templateVersion String
    The notification template version to use to create notifications. Currently v1 refers to Detailed Notification and v2 refers to Shortened Notification. Default is v1. This field is not supported for Sysdig onprems < 6.2.1
    timeouts Property Map

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Version double
    (Computed) The current version of the Notification Channel.
    Id string
    The provider-assigned unique ID for this managed resource.
    Version float64
    (Computed) The current version of the Notification Channel.
    id String
    The provider-assigned unique ID for this managed resource.
    version Double
    (Computed) The current version of the Notification Channel.
    id string
    The provider-assigned unique ID for this managed resource.
    version number
    (Computed) The current version of the Notification Channel.
    id str
    The provider-assigned unique ID for this managed resource.
    version float
    (Computed) The current version of the Notification Channel.
    id String
    The provider-assigned unique ID for this managed resource.
    version Number
    (Computed) The current version of the Notification Channel.

    Look up Existing SecureNotificationChannelMsteams Resource

    Get an existing SecureNotificationChannelMsteams 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?: SecureNotificationChannelMsteamsState, opts?: CustomResourceOptions): SecureNotificationChannelMsteams
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            enabled: Optional[bool] = None,
            name: Optional[str] = None,
            notify_when_ok: Optional[bool] = None,
            notify_when_resolved: Optional[bool] = None,
            secure_notification_channel_msteams_id: Optional[str] = None,
            send_test_notification: Optional[bool] = None,
            share_with_current_team: Optional[bool] = None,
            template_version: Optional[str] = None,
            timeouts: Optional[SecureNotificationChannelMsteamsTimeoutsArgs] = None,
            url: Optional[str] = None,
            version: Optional[float] = None) -> SecureNotificationChannelMsteams
    func GetSecureNotificationChannelMsteams(ctx *Context, name string, id IDInput, state *SecureNotificationChannelMsteamsState, opts ...ResourceOption) (*SecureNotificationChannelMsteams, error)
    public static SecureNotificationChannelMsteams Get(string name, Input<string> id, SecureNotificationChannelMsteamsState? state, CustomResourceOptions? opts = null)
    public static SecureNotificationChannelMsteams get(String name, Output<String> id, SecureNotificationChannelMsteamsState state, CustomResourceOptions options)
    resources:  _:    type: sysdig:SecureNotificationChannelMsteams    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.
    The following state arguments are supported:
    Enabled bool
    If false, the channel will not emit notifications. Default is true.
    Name string
    The name of the Notification Channel. Must be unique.
    NotifyWhenOk bool
    Send a new notification when the alert condition is no longer triggered. Default is false.
    NotifyWhenResolved bool
    Send a new notification when the alert is manually acknowledged by a user. Default is false.
    SecureNotificationChannelMsteamsId string
    (Computed) The ID of the Notification Channel.
    SendTestNotification bool
    Send an initial test notification to check if the notification channel is working. Default is false.
    ShareWithCurrentTeam bool
    (Optional) If set to true it will share notification channel only with current team (in which user is logged in). Otherwise, it will share it with all teams, which is the default behaviour. Although this is an optional setting, beware that if you have lower permissions than admin you may see a error: 403 Forbidden if this is not set to true.
    TemplateVersion string
    The notification template version to use to create notifications. Currently v1 refers to Detailed Notification and v2 refers to Shortened Notification. Default is v1. This field is not supported for Sysdig onprems < 6.2.1
    Timeouts SecureNotificationChannelMsteamsTimeouts
    Url string
    URL of the MS Teams webhook.
    Version double
    (Computed) The current version of the Notification Channel.
    Enabled bool
    If false, the channel will not emit notifications. Default is true.
    Name string
    The name of the Notification Channel. Must be unique.
    NotifyWhenOk bool
    Send a new notification when the alert condition is no longer triggered. Default is false.
    NotifyWhenResolved bool
    Send a new notification when the alert is manually acknowledged by a user. Default is false.
    SecureNotificationChannelMsteamsId string
    (Computed) The ID of the Notification Channel.
    SendTestNotification bool
    Send an initial test notification to check if the notification channel is working. Default is false.
    ShareWithCurrentTeam bool
    (Optional) If set to true it will share notification channel only with current team (in which user is logged in). Otherwise, it will share it with all teams, which is the default behaviour. Although this is an optional setting, beware that if you have lower permissions than admin you may see a error: 403 Forbidden if this is not set to true.
    TemplateVersion string
    The notification template version to use to create notifications. Currently v1 refers to Detailed Notification and v2 refers to Shortened Notification. Default is v1. This field is not supported for Sysdig onprems < 6.2.1
    Timeouts SecureNotificationChannelMsteamsTimeoutsArgs
    Url string
    URL of the MS Teams webhook.
    Version float64
    (Computed) The current version of the Notification Channel.
    enabled Boolean
    If false, the channel will not emit notifications. Default is true.
    name String
    The name of the Notification Channel. Must be unique.
    notifyWhenOk Boolean
    Send a new notification when the alert condition is no longer triggered. Default is false.
    notifyWhenResolved Boolean
    Send a new notification when the alert is manually acknowledged by a user. Default is false.
    secureNotificationChannelMsteamsId String
    (Computed) The ID of the Notification Channel.
    sendTestNotification Boolean
    Send an initial test notification to check if the notification channel is working. Default is false.
    shareWithCurrentTeam Boolean
    (Optional) If set to true it will share notification channel only with current team (in which user is logged in). Otherwise, it will share it with all teams, which is the default behaviour. Although this is an optional setting, beware that if you have lower permissions than admin you may see a error: 403 Forbidden if this is not set to true.
    templateVersion String
    The notification template version to use to create notifications. Currently v1 refers to Detailed Notification and v2 refers to Shortened Notification. Default is v1. This field is not supported for Sysdig onprems < 6.2.1
    timeouts SecureNotificationChannelMsteamsTimeouts
    url String
    URL of the MS Teams webhook.
    version Double
    (Computed) The current version of the Notification Channel.
    enabled boolean
    If false, the channel will not emit notifications. Default is true.
    name string
    The name of the Notification Channel. Must be unique.
    notifyWhenOk boolean
    Send a new notification when the alert condition is no longer triggered. Default is false.
    notifyWhenResolved boolean
    Send a new notification when the alert is manually acknowledged by a user. Default is false.
    secureNotificationChannelMsteamsId string
    (Computed) The ID of the Notification Channel.
    sendTestNotification boolean
    Send an initial test notification to check if the notification channel is working. Default is false.
    shareWithCurrentTeam boolean
    (Optional) If set to true it will share notification channel only with current team (in which user is logged in). Otherwise, it will share it with all teams, which is the default behaviour. Although this is an optional setting, beware that if you have lower permissions than admin you may see a error: 403 Forbidden if this is not set to true.
    templateVersion string
    The notification template version to use to create notifications. Currently v1 refers to Detailed Notification and v2 refers to Shortened Notification. Default is v1. This field is not supported for Sysdig onprems < 6.2.1
    timeouts SecureNotificationChannelMsteamsTimeouts
    url string
    URL of the MS Teams webhook.
    version number
    (Computed) The current version of the Notification Channel.
    enabled bool
    If false, the channel will not emit notifications. Default is true.
    name str
    The name of the Notification Channel. Must be unique.
    notify_when_ok bool
    Send a new notification when the alert condition is no longer triggered. Default is false.
    notify_when_resolved bool
    Send a new notification when the alert is manually acknowledged by a user. Default is false.
    secure_notification_channel_msteams_id str
    (Computed) The ID of the Notification Channel.
    send_test_notification bool
    Send an initial test notification to check if the notification channel is working. Default is false.
    share_with_current_team bool
    (Optional) If set to true it will share notification channel only with current team (in which user is logged in). Otherwise, it will share it with all teams, which is the default behaviour. Although this is an optional setting, beware that if you have lower permissions than admin you may see a error: 403 Forbidden if this is not set to true.
    template_version str
    The notification template version to use to create notifications. Currently v1 refers to Detailed Notification and v2 refers to Shortened Notification. Default is v1. This field is not supported for Sysdig onprems < 6.2.1
    timeouts SecureNotificationChannelMsteamsTimeoutsArgs
    url str
    URL of the MS Teams webhook.
    version float
    (Computed) The current version of the Notification Channel.
    enabled Boolean
    If false, the channel will not emit notifications. Default is true.
    name String
    The name of the Notification Channel. Must be unique.
    notifyWhenOk Boolean
    Send a new notification when the alert condition is no longer triggered. Default is false.
    notifyWhenResolved Boolean
    Send a new notification when the alert is manually acknowledged by a user. Default is false.
    secureNotificationChannelMsteamsId String
    (Computed) The ID of the Notification Channel.
    sendTestNotification Boolean
    Send an initial test notification to check if the notification channel is working. Default is false.
    shareWithCurrentTeam Boolean
    (Optional) If set to true it will share notification channel only with current team (in which user is logged in). Otherwise, it will share it with all teams, which is the default behaviour. Although this is an optional setting, beware that if you have lower permissions than admin you may see a error: 403 Forbidden if this is not set to true.
    templateVersion String
    The notification template version to use to create notifications. Currently v1 refers to Detailed Notification and v2 refers to Shortened Notification. Default is v1. This field is not supported for Sysdig onprems < 6.2.1
    timeouts Property Map
    url String
    URL of the MS Teams webhook.
    version Number
    (Computed) The current version of the Notification Channel.

    Supporting Types

    SecureNotificationChannelMsteamsTimeouts, SecureNotificationChannelMsteamsTimeoutsArgs

    Create string
    Delete string
    Read string
    Update string
    Create string
    Delete string
    Read string
    Update string
    create String
    delete String
    read String
    update String
    create string
    delete string
    read string
    update string
    create str
    delete str
    read str
    update str
    create String
    delete String
    read String
    update String

    Import

    MS Teams notification channels for Secure can be imported using the ID, e.g.

    $ pulumi import sysdig:index/secureNotificationChannelMsteams:SecureNotificationChannelMsteams example 12345
    

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

    Package Details

    Repository
    sysdig sysdiglabs/terraform-provider-sysdig
    License
    Notes
    This Pulumi package is based on the sysdig Terraform Provider.
    sysdig logo
    sysdig 1.56.0 published on Wednesday, Apr 30, 2025 by sysdiglabs