1. Packages
  2. Sysdig Provider
  3. API Docs
  4. getSecureNotificationChannelWebhook
sysdig 1.54.0 published on Monday, Apr 28, 2025 by sysdiglabs

sysdig.getSecureNotificationChannelWebhook

Explore with Pulumi AI

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as sysdig from "@pulumi/sysdig";

const ncWebhook = sysdig.getSecureNotificationChannelWebhook({
    name: "some notification channel name",
});
Copy
import pulumi
import pulumi_sysdig as sysdig

nc_webhook = sysdig.get_secure_notification_channel_webhook(name="some notification channel name")
Copy
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.LookupSecureNotificationChannelWebhook(ctx, &sysdig.LookupSecureNotificationChannelWebhookArgs{
			Name: "some notification channel name",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Sysdig = Pulumi.Sysdig;

return await Deployment.RunAsync(() => 
{
    var ncWebhook = Sysdig.GetSecureNotificationChannelWebhook.Invoke(new()
    {
        Name = "some notification channel name",
    });

});
Copy
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.GetSecureNotificationChannelWebhookArgs;
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 ncWebhook = SysdigFunctions.getSecureNotificationChannelWebhook(GetSecureNotificationChannelWebhookArgs.builder()
            .name("some notification channel name")
            .build());

    }
}
Copy
variables:
  ncWebhook:
    fn::invoke:
      function: sysdig:getSecureNotificationChannelWebhook
      arguments:
        name: some notification channel name
Copy

Using getSecureNotificationChannelWebhook

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 getSecureNotificationChannelWebhook(args: GetSecureNotificationChannelWebhookArgs, opts?: InvokeOptions): Promise<GetSecureNotificationChannelWebhookResult>
function getSecureNotificationChannelWebhookOutput(args: GetSecureNotificationChannelWebhookOutputArgs, opts?: InvokeOptions): Output<GetSecureNotificationChannelWebhookResult>
Copy
def get_secure_notification_channel_webhook(enabled: Optional[bool] = None,
                                            id: Optional[str] = None,
                                            name: Optional[str] = None,
                                            notify_when_ok: Optional[bool] = None,
                                            notify_when_resolved: Optional[bool] = None,
                                            send_test_notification: Optional[bool] = None,
                                            share_with_current_team: Optional[bool] = None,
                                            timeouts: Optional[GetSecureNotificationChannelWebhookTimeouts] = None,
                                            opts: Optional[InvokeOptions] = None) -> GetSecureNotificationChannelWebhookResult
def get_secure_notification_channel_webhook_output(enabled: Optional[pulumi.Input[bool]] = None,
                                            id: Optional[pulumi.Input[str]] = None,
                                            name: Optional[pulumi.Input[str]] = None,
                                            notify_when_ok: Optional[pulumi.Input[bool]] = None,
                                            notify_when_resolved: Optional[pulumi.Input[bool]] = None,
                                            send_test_notification: Optional[pulumi.Input[bool]] = None,
                                            share_with_current_team: Optional[pulumi.Input[bool]] = None,
                                            timeouts: Optional[pulumi.Input[GetSecureNotificationChannelWebhookTimeoutsArgs]] = None,
                                            opts: Optional[InvokeOptions] = None) -> Output[GetSecureNotificationChannelWebhookResult]
Copy
func LookupSecureNotificationChannelWebhook(ctx *Context, args *LookupSecureNotificationChannelWebhookArgs, opts ...InvokeOption) (*LookupSecureNotificationChannelWebhookResult, error)
func LookupSecureNotificationChannelWebhookOutput(ctx *Context, args *LookupSecureNotificationChannelWebhookOutputArgs, opts ...InvokeOption) LookupSecureNotificationChannelWebhookResultOutput
Copy

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

public static class GetSecureNotificationChannelWebhook 
{
    public static Task<GetSecureNotificationChannelWebhookResult> InvokeAsync(GetSecureNotificationChannelWebhookArgs args, InvokeOptions? opts = null)
    public static Output<GetSecureNotificationChannelWebhookResult> Invoke(GetSecureNotificationChannelWebhookInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetSecureNotificationChannelWebhookResult> getSecureNotificationChannelWebhook(GetSecureNotificationChannelWebhookArgs args, InvokeOptions options)
public static Output<GetSecureNotificationChannelWebhookResult> getSecureNotificationChannelWebhook(GetSecureNotificationChannelWebhookArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: sysdig:index/getSecureNotificationChannelWebhook:getSecureNotificationChannelWebhook
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Name This property is required. string
The name of the Notification Channel to retrieve.
Enabled bool
Whether the Notification Channel is active or not.
Id string
The Notification Channel ID.
NotifyWhenOk bool
Whether the Notification Channel sends a notification when the condition is no longer triggered.
NotifyWhenResolved bool
Whether the Notification Channel sends a notification if it's manually acknowledged by a user.
SendTestNotification bool
Whether the Notification Channel has enabled the test notification.
ShareWithCurrentTeam bool
Timeouts GetSecureNotificationChannelWebhookTimeouts
Name This property is required. string
The name of the Notification Channel to retrieve.
Enabled bool
Whether the Notification Channel is active or not.
Id string
The Notification Channel ID.
NotifyWhenOk bool
Whether the Notification Channel sends a notification when the condition is no longer triggered.
NotifyWhenResolved bool
Whether the Notification Channel sends a notification if it's manually acknowledged by a user.
SendTestNotification bool
Whether the Notification Channel has enabled the test notification.
ShareWithCurrentTeam bool
Timeouts GetSecureNotificationChannelWebhookTimeouts
name This property is required. String
The name of the Notification Channel to retrieve.
enabled Boolean
Whether the Notification Channel is active or not.
id String
The Notification Channel ID.
notifyWhenOk Boolean
Whether the Notification Channel sends a notification when the condition is no longer triggered.
notifyWhenResolved Boolean
Whether the Notification Channel sends a notification if it's manually acknowledged by a user.
sendTestNotification Boolean
Whether the Notification Channel has enabled the test notification.
shareWithCurrentTeam Boolean
timeouts GetSecureNotificationChannelWebhookTimeouts
name This property is required. string
The name of the Notification Channel to retrieve.
enabled boolean
Whether the Notification Channel is active or not.
id string
The Notification Channel ID.
notifyWhenOk boolean
Whether the Notification Channel sends a notification when the condition is no longer triggered.
notifyWhenResolved boolean
Whether the Notification Channel sends a notification if it's manually acknowledged by a user.
sendTestNotification boolean
Whether the Notification Channel has enabled the test notification.
shareWithCurrentTeam boolean
timeouts GetSecureNotificationChannelWebhookTimeouts
name This property is required. str
The name of the Notification Channel to retrieve.
enabled bool
Whether the Notification Channel is active or not.
id str
The Notification Channel ID.
notify_when_ok bool
Whether the Notification Channel sends a notification when the condition is no longer triggered.
notify_when_resolved bool
Whether the Notification Channel sends a notification if it's manually acknowledged by a user.
send_test_notification bool
Whether the Notification Channel has enabled the test notification.
share_with_current_team bool
timeouts GetSecureNotificationChannelWebhookTimeouts
name This property is required. String
The name of the Notification Channel to retrieve.
enabled Boolean
Whether the Notification Channel is active or not.
id String
The Notification Channel ID.
notifyWhenOk Boolean
Whether the Notification Channel sends a notification when the condition is no longer triggered.
notifyWhenResolved Boolean
Whether the Notification Channel sends a notification if it's manually acknowledged by a user.
sendTestNotification Boolean
Whether the Notification Channel has enabled the test notification.
shareWithCurrentTeam Boolean
timeouts Property Map

getSecureNotificationChannelWebhook Result

The following output properties are available:

AdditionalHeaders Dictionary<string, string>
Key value list of custom headers.
AllowInsecureConnections bool
Whether to skip TLS verification. Default: false.
CustomData Dictionary<string, string>
Key value list of additional data you want to attach to the alert notification.
Id string
The Notification Channel ID.
Name string
The Notification Channel Name.
Url string
URL to send the event.
Version double
The version of the Notification Channel.
Enabled bool
Whether the Notification Channel is active or not.
NotifyWhenOk bool
Whether the Notification Channel sends a notification when the condition is no longer triggered.
NotifyWhenResolved bool
Whether the Notification Channel sends a notification if it's manually acknowledged by a user.
SendTestNotification bool
Whether the Notification Channel has enabled the test notification.
ShareWithCurrentTeam bool
Timeouts GetSecureNotificationChannelWebhookTimeouts
AdditionalHeaders map[string]string
Key value list of custom headers.
AllowInsecureConnections bool
Whether to skip TLS verification. Default: false.
CustomData map[string]string
Key value list of additional data you want to attach to the alert notification.
Id string
The Notification Channel ID.
Name string
The Notification Channel Name.
Url string
URL to send the event.
Version float64
The version of the Notification Channel.
Enabled bool
Whether the Notification Channel is active or not.
NotifyWhenOk bool
Whether the Notification Channel sends a notification when the condition is no longer triggered.
NotifyWhenResolved bool
Whether the Notification Channel sends a notification if it's manually acknowledged by a user.
SendTestNotification bool
Whether the Notification Channel has enabled the test notification.
ShareWithCurrentTeam bool
Timeouts GetSecureNotificationChannelWebhookTimeouts
additionalHeaders Map<String,String>
Key value list of custom headers.
allowInsecureConnections Boolean
Whether to skip TLS verification. Default: false.
customData Map<String,String>
Key value list of additional data you want to attach to the alert notification.
id String
The Notification Channel ID.
name String
The Notification Channel Name.
url String
URL to send the event.
version Double
The version of the Notification Channel.
enabled Boolean
Whether the Notification Channel is active or not.
notifyWhenOk Boolean
Whether the Notification Channel sends a notification when the condition is no longer triggered.
notifyWhenResolved Boolean
Whether the Notification Channel sends a notification if it's manually acknowledged by a user.
sendTestNotification Boolean
Whether the Notification Channel has enabled the test notification.
shareWithCurrentTeam Boolean
timeouts GetSecureNotificationChannelWebhookTimeouts
additionalHeaders {[key: string]: string}
Key value list of custom headers.
allowInsecureConnections boolean
Whether to skip TLS verification. Default: false.
customData {[key: string]: string}
Key value list of additional data you want to attach to the alert notification.
id string
The Notification Channel ID.
name string
The Notification Channel Name.
url string
URL to send the event.
version number
The version of the Notification Channel.
enabled boolean
Whether the Notification Channel is active or not.
notifyWhenOk boolean
Whether the Notification Channel sends a notification when the condition is no longer triggered.
notifyWhenResolved boolean
Whether the Notification Channel sends a notification if it's manually acknowledged by a user.
sendTestNotification boolean
Whether the Notification Channel has enabled the test notification.
shareWithCurrentTeam boolean
timeouts GetSecureNotificationChannelWebhookTimeouts
additional_headers Mapping[str, str]
Key value list of custom headers.
allow_insecure_connections bool
Whether to skip TLS verification. Default: false.
custom_data Mapping[str, str]
Key value list of additional data you want to attach to the alert notification.
id str
The Notification Channel ID.
name str
The Notification Channel Name.
url str
URL to send the event.
version float
The version of the Notification Channel.
enabled bool
Whether the Notification Channel is active or not.
notify_when_ok bool
Whether the Notification Channel sends a notification when the condition is no longer triggered.
notify_when_resolved bool
Whether the Notification Channel sends a notification if it's manually acknowledged by a user.
send_test_notification bool
Whether the Notification Channel has enabled the test notification.
share_with_current_team bool
timeouts GetSecureNotificationChannelWebhookTimeouts
additionalHeaders Map<String>
Key value list of custom headers.
allowInsecureConnections Boolean
Whether to skip TLS verification. Default: false.
customData Map<String>
Key value list of additional data you want to attach to the alert notification.
id String
The Notification Channel ID.
name String
The Notification Channel Name.
url String
URL to send the event.
version Number
The version of the Notification Channel.
enabled Boolean
Whether the Notification Channel is active or not.
notifyWhenOk Boolean
Whether the Notification Channel sends a notification when the condition is no longer triggered.
notifyWhenResolved Boolean
Whether the Notification Channel sends a notification if it's manually acknowledged by a user.
sendTestNotification Boolean
Whether the Notification Channel has enabled the test notification.
shareWithCurrentTeam Boolean
timeouts Property Map

Supporting Types

GetSecureNotificationChannelWebhookTimeouts

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.