sysdig 1.56.1 published on Thursday, May 8, 2025 by sysdiglabs
sysdig.getMonitorNotificationChannelCustomWebhook
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as sysdig from "@pulumi/sysdig";
const ncCustomWebhook = sysdig.getMonitorNotificationChannelCustomWebhook({
    name: "some notification channel name",
});
import pulumi
import pulumi_sysdig as sysdig
nc_custom_webhook = sysdig.get_monitor_notification_channel_custom_webhook(name="some notification channel name")
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.LookupMonitorNotificationChannelCustomWebhook(ctx, &sysdig.LookupMonitorNotificationChannelCustomWebhookArgs{
			Name: "some notification channel name",
		}, 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 ncCustomWebhook = Sysdig.GetMonitorNotificationChannelCustomWebhook.Invoke(new()
    {
        Name = "some notification channel name",
    });
});
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.GetMonitorNotificationChannelCustomWebhookArgs;
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 ncCustomWebhook = SysdigFunctions.getMonitorNotificationChannelCustomWebhook(GetMonitorNotificationChannelCustomWebhookArgs.builder()
            .name("some notification channel name")
            .build());
    }
}
variables:
  ncCustomWebhook:
    fn::invoke:
      function: sysdig:getMonitorNotificationChannelCustomWebhook
      arguments:
        name: some notification channel name
Using getMonitorNotificationChannelCustomWebhook
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 getMonitorNotificationChannelCustomWebhook(args: GetMonitorNotificationChannelCustomWebhookArgs, opts?: InvokeOptions): Promise<GetMonitorNotificationChannelCustomWebhookResult>
function getMonitorNotificationChannelCustomWebhookOutput(args: GetMonitorNotificationChannelCustomWebhookOutputArgs, opts?: InvokeOptions): Output<GetMonitorNotificationChannelCustomWebhookResult>def get_monitor_notification_channel_custom_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[GetMonitorNotificationChannelCustomWebhookTimeouts] = None,
                                                    opts: Optional[InvokeOptions] = None) -> GetMonitorNotificationChannelCustomWebhookResult
def get_monitor_notification_channel_custom_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[GetMonitorNotificationChannelCustomWebhookTimeoutsArgs]] = None,
                                                    opts: Optional[InvokeOptions] = None) -> Output[GetMonitorNotificationChannelCustomWebhookResult]func LookupMonitorNotificationChannelCustomWebhook(ctx *Context, args *LookupMonitorNotificationChannelCustomWebhookArgs, opts ...InvokeOption) (*LookupMonitorNotificationChannelCustomWebhookResult, error)
func LookupMonitorNotificationChannelCustomWebhookOutput(ctx *Context, args *LookupMonitorNotificationChannelCustomWebhookOutputArgs, opts ...InvokeOption) LookupMonitorNotificationChannelCustomWebhookResultOutput> Note: This function is named LookupMonitorNotificationChannelCustomWebhook in the Go SDK.
public static class GetMonitorNotificationChannelCustomWebhook 
{
    public static Task<GetMonitorNotificationChannelCustomWebhookResult> InvokeAsync(GetMonitorNotificationChannelCustomWebhookArgs args, InvokeOptions? opts = null)
    public static Output<GetMonitorNotificationChannelCustomWebhookResult> Invoke(GetMonitorNotificationChannelCustomWebhookInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetMonitorNotificationChannelCustomWebhookResult> getMonitorNotificationChannelCustomWebhook(GetMonitorNotificationChannelCustomWebhookArgs args, InvokeOptions options)
public static Output<GetMonitorNotificationChannelCustomWebhookResult> getMonitorNotificationChannelCustomWebhook(GetMonitorNotificationChannelCustomWebhookArgs args, InvokeOptions options)
fn::invoke:
  function: sysdig:index/getMonitorNotificationChannelCustomWebhook:getMonitorNotificationChannelCustomWebhook
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Name 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.
- NotifyWhen boolOk 
- Whether the Notification Channel sends a notification when the condition is no longer triggered.
- NotifyWhen boolResolved 
- Whether the Notification Channel sends a notification if it's manually acknowledged by a user.
- SendTest boolNotification 
- Whether the Notification Channel has enabled the test notification.
- bool
- Timeouts
GetMonitor Notification Channel Custom Webhook Timeouts 
- Name 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.
- NotifyWhen boolOk 
- Whether the Notification Channel sends a notification when the condition is no longer triggered.
- NotifyWhen boolResolved 
- Whether the Notification Channel sends a notification if it's manually acknowledged by a user.
- SendTest boolNotification 
- Whether the Notification Channel has enabled the test notification.
- bool
- Timeouts
GetMonitor Notification Channel Custom Webhook Timeouts 
- name 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.
- notifyWhen BooleanOk 
- Whether the Notification Channel sends a notification when the condition is no longer triggered.
- notifyWhen BooleanResolved 
- Whether the Notification Channel sends a notification if it's manually acknowledged by a user.
- sendTest BooleanNotification 
- Whether the Notification Channel has enabled the test notification.
- Boolean
- timeouts
GetMonitor Notification Channel Custom Webhook Timeouts 
- name 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.
- notifyWhen booleanOk 
- Whether the Notification Channel sends a notification when the condition is no longer triggered.
- notifyWhen booleanResolved 
- Whether the Notification Channel sends a notification if it's manually acknowledged by a user.
- sendTest booleanNotification 
- Whether the Notification Channel has enabled the test notification.
- boolean
- timeouts
GetMonitor Notification Channel Custom Webhook Timeouts 
- name 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_ boolok 
- Whether the Notification Channel sends a notification when the condition is no longer triggered.
- notify_when_ boolresolved 
- Whether the Notification Channel sends a notification if it's manually acknowledged by a user.
- send_test_ boolnotification 
- Whether the Notification Channel has enabled the test notification.
- bool
- timeouts
GetMonitor Notification Channel Custom Webhook Timeouts 
- name 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.
- notifyWhen BooleanOk 
- Whether the Notification Channel sends a notification when the condition is no longer triggered.
- notifyWhen BooleanResolved 
- Whether the Notification Channel sends a notification if it's manually acknowledged by a user.
- sendTest BooleanNotification 
- Whether the Notification Channel has enabled the test notification.
- Boolean
- timeouts Property Map
getMonitorNotificationChannelCustomWebhook Result
The following output properties are available:
- AdditionalHeaders Dictionary<string, string>
- Key value list of custom headers.
- AllowInsecure boolConnections 
- Whether to skip TLS verification.
- HttpMethod string
- Http method of the request to be sent.
- Id string
- The Notification Channel ID.
- Name string
- The Notification Channel Name.
- Template string
- JSON payload template to be sent in body.
- 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.
- NotifyWhen boolOk 
- Whether the Notification Channel sends a notification when the condition is no longer triggered.
- NotifyWhen boolResolved 
- Whether the Notification Channel sends a notification if it's manually acknowledged by a user.
- SendTest boolNotification 
- Whether the Notification Channel has enabled the test notification.
- bool
- Timeouts
GetMonitor Notification Channel Custom Webhook Timeouts 
- AdditionalHeaders map[string]string
- Key value list of custom headers.
- AllowInsecure boolConnections 
- Whether to skip TLS verification.
- HttpMethod string
- Http method of the request to be sent.
- Id string
- The Notification Channel ID.
- Name string
- The Notification Channel Name.
- Template string
- JSON payload template to be sent in body.
- 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.
- NotifyWhen boolOk 
- Whether the Notification Channel sends a notification when the condition is no longer triggered.
- NotifyWhen boolResolved 
- Whether the Notification Channel sends a notification if it's manually acknowledged by a user.
- SendTest boolNotification 
- Whether the Notification Channel has enabled the test notification.
- bool
- Timeouts
GetMonitor Notification Channel Custom Webhook Timeouts 
- additionalHeaders Map<String,String>
- Key value list of custom headers.
- allowInsecure BooleanConnections 
- Whether to skip TLS verification.
- httpMethod String
- Http method of the request to be sent.
- id String
- The Notification Channel ID.
- name String
- The Notification Channel Name.
- template String
- JSON payload template to be sent in body.
- 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.
- notifyWhen BooleanOk 
- Whether the Notification Channel sends a notification when the condition is no longer triggered.
- notifyWhen BooleanResolved 
- Whether the Notification Channel sends a notification if it's manually acknowledged by a user.
- sendTest BooleanNotification 
- Whether the Notification Channel has enabled the test notification.
- Boolean
- timeouts
GetMonitor Notification Channel Custom Webhook Timeouts 
- additionalHeaders {[key: string]: string}
- Key value list of custom headers.
- allowInsecure booleanConnections 
- Whether to skip TLS verification.
- httpMethod string
- Http method of the request to be sent.
- id string
- The Notification Channel ID.
- name string
- The Notification Channel Name.
- template string
- JSON payload template to be sent in body.
- 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.
- notifyWhen booleanOk 
- Whether the Notification Channel sends a notification when the condition is no longer triggered.
- notifyWhen booleanResolved 
- Whether the Notification Channel sends a notification if it's manually acknowledged by a user.
- sendTest booleanNotification 
- Whether the Notification Channel has enabled the test notification.
- boolean
- timeouts
GetMonitor Notification Channel Custom Webhook Timeouts 
- additional_headers Mapping[str, str]
- Key value list of custom headers.
- allow_insecure_ boolconnections 
- Whether to skip TLS verification.
- http_method str
- Http method of the request to be sent.
- id str
- The Notification Channel ID.
- name str
- The Notification Channel Name.
- template str
- JSON payload template to be sent in body.
- 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_ boolok 
- Whether the Notification Channel sends a notification when the condition is no longer triggered.
- notify_when_ boolresolved 
- Whether the Notification Channel sends a notification if it's manually acknowledged by a user.
- send_test_ boolnotification 
- Whether the Notification Channel has enabled the test notification.
- bool
- timeouts
GetMonitor Notification Channel Custom Webhook Timeouts 
- additionalHeaders Map<String>
- Key value list of custom headers.
- allowInsecure BooleanConnections 
- Whether to skip TLS verification.
- httpMethod String
- Http method of the request to be sent.
- id String
- The Notification Channel ID.
- name String
- The Notification Channel Name.
- template String
- JSON payload template to be sent in body.
- 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.
- notifyWhen BooleanOk 
- Whether the Notification Channel sends a notification when the condition is no longer triggered.
- notifyWhen BooleanResolved 
- Whether the Notification Channel sends a notification if it's manually acknowledged by a user.
- sendTest BooleanNotification 
- Whether the Notification Channel has enabled the test notification.
- Boolean
- timeouts Property Map
Supporting Types
GetMonitorNotificationChannelCustomWebhookTimeouts      
- 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 sysdigTerraform Provider.