sysdig 1.56.0 published on Wednesday, Apr 30, 2025 by sysdiglabs
sysdig.getSecureNotificationChannel
Explore with Pulumi AI
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
Get
Secure Notification Channel Timeouts
- Name string
- The name of the Notification Channel.
- Id string
- Timeouts
Get
Secure Notification Channel Timeouts
- name String
- The name of the Notification Channel.
- id String
- timeouts
Get
Secure Notification Channel Timeouts
- name string
- The name of the Notification Channel.
- id string
- timeouts
Get
Secure Notification Channel Timeouts
- name str
- The name of the Notification Channel.
- id str
- timeouts
Get
Secure Notification Channel Timeouts
- 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.
- Api
Key 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
- Notify
When boolOk - Send a new notification when the alert condition is no longer triggered.
- Notify
When boolResolved - 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.
- Routing
Key string - Routing key for VictorOps.
- Send
Test boolNotification - Send an initial test notification to check if the notification channel is working.
- Service
Key string - Service Key for the Pagerduty account.
- Service
Name 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
Get
Secure Notification Channel Timeouts
- Account string
- Pagerduty account.
- Api
Key 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
- Notify
When boolOk - Send a new notification when the alert condition is no longer triggered.
- Notify
When boolResolved - 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.
- Routing
Key string - Routing key for VictorOps.
- Send
Test boolNotification - Send an initial test notification to check if the notification channel is working.
- Service
Key string - Service Key for the Pagerduty account.
- Service
Name 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
Get
Secure Notification Channel Timeouts
- account String
- Pagerduty account.
- api
Key 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
- notify
When BooleanOk - Send a new notification when the alert condition is no longer triggered.
- notify
When BooleanResolved - 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.
- routing
Key String - Routing key for VictorOps.
- send
Test BooleanNotification - Send an initial test notification to check if the notification channel is working.
- service
Key String - Service Key for the Pagerduty account.
- service
Name 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
Get
Secure Notification Channel Timeouts
- account string
- Pagerduty account.
- api
Key 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
- notify
When booleanOk - Send a new notification when the alert condition is no longer triggered.
- notify
When booleanResolved - 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.
- routing
Key string - Routing key for VictorOps.
- send
Test booleanNotification - Send an initial test notification to check if the notification channel is working.
- service
Key string - Service Key for the Pagerduty account.
- service
Name 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
Get
Secure Notification Channel Timeouts
- 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_ boolok - Send a new notification when the alert condition is no longer triggered.
- notify_
when_ boolresolved - 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_ boolnotification - 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
Get
Secure Notification Channel Timeouts
- account String
- Pagerduty account.
- api
Key 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
- notify
When BooleanOk - Send a new notification when the alert condition is no longer triggered.
- notify
When BooleanResolved - 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.
- routing
Key String - Routing key for VictorOps.
- send
Test BooleanNotification - Send an initial test notification to check if the notification channel is working.
- service
Key String - Service Key for the Pagerduty account.
- service
Name 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 1.56.0 published on Wednesday, Apr 30, 2025 by sysdiglabs