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

sysdig.getSecureNotificationChannel

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_email = sysdig.getSecureNotificationChannel({
        name: "Example Channel - Email",
    });
    
    import pulumi
    import pulumi_sysdig as sysdig
    
    sample_email = sysdig.get_secure_notification_channel(name="Example Channel - Email")
    
    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.GetSecureNotificationChannel(ctx, &sysdig.GetSecureNotificationChannelArgs{
    			Name: "Example Channel - Email",
    		}, nil)
    		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_email = Sysdig.GetSecureNotificationChannel.Invoke(new()
        {
            Name = "Example Channel - Email",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.sysdig.SysdigFunctions;
    import com.pulumi.sysdig.inputs.GetSecureNotificationChannelArgs;
    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) {
            final var sample-email = SysdigFunctions.getSecureNotificationChannel(GetSecureNotificationChannelArgs.builder()
                .name("Example Channel - Email")
                .build());
    
        }
    }
    
    variables:
      sample-email:
        fn::invoke:
          function: sysdig:getSecureNotificationChannel
          arguments:
            name: Example Channel - Email
    

    Using getSecureNotificationChannel

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getSecureNotificationChannel(args: GetSecureNotificationChannelArgs, opts?: InvokeOptions): Promise<GetSecureNotificationChannelResult>
    function getSecureNotificationChannelOutput(args: GetSecureNotificationChannelOutputArgs, opts?: InvokeOptions): Output<GetSecureNotificationChannelResult>
    def get_secure_notification_channel(id: Optional[str] = None,
                                        name: Optional[str] = None,
                                        timeouts: Optional[GetSecureNotificationChannelTimeouts] = None,
                                        opts: Optional[InvokeOptions] = None) -> GetSecureNotificationChannelResult
    def get_secure_notification_channel_output(id: Optional[pulumi.Input[str]] = None,
                                        name: Optional[pulumi.Input[str]] = None,
                                        timeouts: Optional[pulumi.Input[GetSecureNotificationChannelTimeoutsArgs]] = None,
                                        opts: Optional[InvokeOptions] = None) -> Output[GetSecureNotificationChannelResult]
    func GetSecureNotificationChannel(ctx *Context, args *GetSecureNotificationChannelArgs, opts ...InvokeOption) (*GetSecureNotificationChannelResult, error)
    func GetSecureNotificationChannelOutput(ctx *Context, args *GetSecureNotificationChannelOutputArgs, opts ...InvokeOption) GetSecureNotificationChannelResultOutput

    > Note: This function is named GetSecureNotificationChannel in the Go SDK.

    public static class GetSecureNotificationChannel 
    {
        public static Task<GetSecureNotificationChannelResult> InvokeAsync(GetSecureNotificationChannelArgs args, InvokeOptions? opts = null)
        public static Output<GetSecureNotificationChannelResult> Invoke(GetSecureNotificationChannelInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSecureNotificationChannelResult> getSecureNotificationChannel(GetSecureNotificationChannelArgs args, InvokeOptions options)
    public static Output<GetSecureNotificationChannelResult> getSecureNotificationChannel(GetSecureNotificationChannelArgs args, InvokeOptions options)
    
    fn::invoke:
      function: sysdig:index/getSecureNotificationChannel:getSecureNotificationChannel
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Name string
    The name of the Notification Channel.
    Id string
    Timeouts GetSecureNotificationChannelTimeouts
    Name string
    The name of the Notification Channel.
    Id string
    Timeouts GetSecureNotificationChannelTimeouts
    name String
    The name of the Notification Channel.
    id String
    timeouts GetSecureNotificationChannelTimeouts
    name string
    The name of the Notification Channel.
    id string
    timeouts GetSecureNotificationChannelTimeouts
    name str
    The name of the Notification Channel.
    id str
    timeouts GetSecureNotificationChannelTimeouts
    name String
    The name of the Notification Channel.
    id String
    timeouts Property Map

    getSecureNotificationChannel Result

    The following output properties are available:

    Account string
    Pagerduty account.
    ApiKey string
    Key for the API.
    Channel string
    Channel name from this Slack.
    Enabled bool
    If false, the channel will not emit notifications.
    Id string
    Name string
    NotifyWhenOk bool
    Send a new notification when the alert condition is no longer triggered.
    NotifyWhenResolved bool
    Send a new notification when the alert is manually acknowledged by a user.
    Recipients string
    Comma-separated list of recipients that will receive the message.
    RoutingKey string
    Routing key for VictorOps.
    SendTestNotification bool
    Send an initial test notification to check if the notification channel is working.
    ServiceKey string
    Service Key for the Pagerduty account.
    ServiceName string
    Service name for the Pagerduty account.
    Topics string
    List of ARNs from the SNS topics.
    Type string
    Will be one of the following: "EMAIL", "SNS", "OPSGENIE", "VICTOROPS", "WEBHOOK", "SLACK", "PAGER_DUTY".
    Url string
    URL of the MS Teams webhook.
    Version double
    Timeouts GetSecureNotificationChannelTimeouts
    Account string
    Pagerduty account.
    ApiKey string
    Key for the API.
    Channel string
    Channel name from this Slack.
    Enabled bool
    If false, the channel will not emit notifications.
    Id string
    Name string
    NotifyWhenOk bool
    Send a new notification when the alert condition is no longer triggered.
    NotifyWhenResolved bool
    Send a new notification when the alert is manually acknowledged by a user.
    Recipients string
    Comma-separated list of recipients that will receive the message.
    RoutingKey string
    Routing key for VictorOps.
    SendTestNotification bool
    Send an initial test notification to check if the notification channel is working.
    ServiceKey string
    Service Key for the Pagerduty account.
    ServiceName string
    Service name for the Pagerduty account.
    Topics string
    List of ARNs from the SNS topics.
    Type string
    Will be one of the following: "EMAIL", "SNS", "OPSGENIE", "VICTOROPS", "WEBHOOK", "SLACK", "PAGER_DUTY".
    Url string
    URL of the MS Teams webhook.
    Version float64
    Timeouts GetSecureNotificationChannelTimeouts
    account String
    Pagerduty account.
    apiKey String
    Key for the API.
    channel String
    Channel name from this Slack.
    enabled Boolean
    If false, the channel will not emit notifications.
    id String
    name String
    notifyWhenOk Boolean
    Send a new notification when the alert condition is no longer triggered.
    notifyWhenResolved Boolean
    Send a new notification when the alert is manually acknowledged by a user.
    recipients String
    Comma-separated list of recipients that will receive the message.
    routingKey String
    Routing key for VictorOps.
    sendTestNotification Boolean
    Send an initial test notification to check if the notification channel is working.
    serviceKey String
    Service Key for the Pagerduty account.
    serviceName String
    Service name for the Pagerduty account.
    topics String
    List of ARNs from the SNS topics.
    type String
    Will be one of the following: "EMAIL", "SNS", "OPSGENIE", "VICTOROPS", "WEBHOOK", "SLACK", "PAGER_DUTY".
    url String
    URL of the MS Teams webhook.
    version Double
    timeouts GetSecureNotificationChannelTimeouts
    account string
    Pagerduty account.
    apiKey string
    Key for the API.
    channel string
    Channel name from this Slack.
    enabled boolean
    If false, the channel will not emit notifications.
    id string
    name string
    notifyWhenOk boolean
    Send a new notification when the alert condition is no longer triggered.
    notifyWhenResolved boolean
    Send a new notification when the alert is manually acknowledged by a user.
    recipients string
    Comma-separated list of recipients that will receive the message.
    routingKey string
    Routing key for VictorOps.
    sendTestNotification boolean
    Send an initial test notification to check if the notification channel is working.
    serviceKey string
    Service Key for the Pagerduty account.
    serviceName string
    Service name for the Pagerduty account.
    topics string
    List of ARNs from the SNS topics.
    type string
    Will be one of the following: "EMAIL", "SNS", "OPSGENIE", "VICTOROPS", "WEBHOOK", "SLACK", "PAGER_DUTY".
    url string
    URL of the MS Teams webhook.
    version number
    timeouts GetSecureNotificationChannelTimeouts
    account str
    Pagerduty account.
    api_key str
    Key for the API.
    channel str
    Channel name from this Slack.
    enabled bool
    If false, the channel will not emit notifications.
    id str
    name str
    notify_when_ok bool
    Send a new notification when the alert condition is no longer triggered.
    notify_when_resolved bool
    Send a new notification when the alert is manually acknowledged by a user.
    recipients str
    Comma-separated list of recipients that will receive the message.
    routing_key str
    Routing key for VictorOps.
    send_test_notification bool
    Send an initial test notification to check if the notification channel is working.
    service_key str
    Service Key for the Pagerduty account.
    service_name str
    Service name for the Pagerduty account.
    topics str
    List of ARNs from the SNS topics.
    type str
    Will be one of the following: "EMAIL", "SNS", "OPSGENIE", "VICTOROPS", "WEBHOOK", "SLACK", "PAGER_DUTY".
    url str
    URL of the MS Teams webhook.
    version float
    timeouts GetSecureNotificationChannelTimeouts
    account String
    Pagerduty account.
    apiKey String
    Key for the API.
    channel String
    Channel name from this Slack.
    enabled Boolean
    If false, the channel will not emit notifications.
    id String
    name String
    notifyWhenOk Boolean
    Send a new notification when the alert condition is no longer triggered.
    notifyWhenResolved Boolean
    Send a new notification when the alert is manually acknowledged by a user.
    recipients String
    Comma-separated list of recipients that will receive the message.
    routingKey String
    Routing key for VictorOps.
    sendTestNotification Boolean
    Send an initial test notification to check if the notification channel is working.
    serviceKey String
    Service Key for the Pagerduty account.
    serviceName String
    Service name for the Pagerduty account.
    topics String
    List of ARNs from the SNS topics.
    type String
    Will be one of the following: "EMAIL", "SNS", "OPSGENIE", "VICTOROPS", "WEBHOOK", "SLACK", "PAGER_DUTY".
    url String
    URL of the MS Teams webhook.
    version Number
    timeouts Property Map

    Supporting Types

    GetSecureNotificationChannelTimeouts

    Read string
    Read string
    read String
    read string
    read str
    read String

    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