1. Packages
  2. Sysdig Provider
  3. API Docs
  4. getMonitorNotificationChannelIbmFunction
sysdig 1.53.0 published on Thursday, Apr 17, 2025 by sysdiglabs

sysdig.getMonitorNotificationChannelIbmFunction

Explore with Pulumi AI

sysdig logo
sysdig 1.53.0 published on Thursday, Apr 17, 2025 by sysdiglabs

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as sysdig from "@pulumi/sysdig";
    
    const ncEmail = sysdig.getMonitorNotificationChannelEmail({
        name: "some notification channel name",
    });
    
    import pulumi
    import pulumi_sysdig as sysdig
    
    nc_email = sysdig.get_monitor_notification_channel_email(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.LookupMonitorNotificationChannelEmail(ctx, &sysdig.LookupMonitorNotificationChannelEmailArgs{
    			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 ncEmail = Sysdig.GetMonitorNotificationChannelEmail.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.GetMonitorNotificationChannelEmailArgs;
    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 ncEmail = SysdigFunctions.getMonitorNotificationChannelEmail(GetMonitorNotificationChannelEmailArgs.builder()
                .name("some notification channel name")
                .build());
    
        }
    }
    
    variables:
      ncEmail:
        fn::invoke:
          function: sysdig:getMonitorNotificationChannelEmail
          arguments:
            name: some notification channel name
    

    Using getMonitorNotificationChannelIbmFunction

    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 getMonitorNotificationChannelIbmFunction(args: GetMonitorNotificationChannelIbmFunctionArgs, opts?: InvokeOptions): Promise<GetMonitorNotificationChannelIbmFunctionResult>
    function getMonitorNotificationChannelIbmFunctionOutput(args: GetMonitorNotificationChannelIbmFunctionOutputArgs, opts?: InvokeOptions): Output<GetMonitorNotificationChannelIbmFunctionResult>
    def get_monitor_notification_channel_ibm_function(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[GetMonitorNotificationChannelIbmFunctionTimeouts] = None,
                                                      opts: Optional[InvokeOptions] = None) -> GetMonitorNotificationChannelIbmFunctionResult
    def get_monitor_notification_channel_ibm_function_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[GetMonitorNotificationChannelIbmFunctionTimeoutsArgs]] = None,
                                                      opts: Optional[InvokeOptions] = None) -> Output[GetMonitorNotificationChannelIbmFunctionResult]
    func LookupMonitorNotificationChannelIbmFunction(ctx *Context, args *LookupMonitorNotificationChannelIbmFunctionArgs, opts ...InvokeOption) (*LookupMonitorNotificationChannelIbmFunctionResult, error)
    func LookupMonitorNotificationChannelIbmFunctionOutput(ctx *Context, args *LookupMonitorNotificationChannelIbmFunctionOutputArgs, opts ...InvokeOption) LookupMonitorNotificationChannelIbmFunctionResultOutput

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

    public static class GetMonitorNotificationChannelIbmFunction 
    {
        public static Task<GetMonitorNotificationChannelIbmFunctionResult> InvokeAsync(GetMonitorNotificationChannelIbmFunctionArgs args, InvokeOptions? opts = null)
        public static Output<GetMonitorNotificationChannelIbmFunctionResult> Invoke(GetMonitorNotificationChannelIbmFunctionInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetMonitorNotificationChannelIbmFunctionResult> getMonitorNotificationChannelIbmFunction(GetMonitorNotificationChannelIbmFunctionArgs args, InvokeOptions options)
    public static Output<GetMonitorNotificationChannelIbmFunctionResult> getMonitorNotificationChannelIbmFunction(GetMonitorNotificationChannelIbmFunctionArgs args, InvokeOptions options)
    
    fn::invoke:
      function: sysdig:index/getMonitorNotificationChannelIbmFunction:getMonitorNotificationChannelIbmFunction
      arguments:
        # arguments dictionary

    The 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.
    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 GetMonitorNotificationChannelIbmFunctionTimeouts
    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.
    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 GetMonitorNotificationChannelIbmFunctionTimeouts
    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.
    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 GetMonitorNotificationChannelIbmFunctionTimeouts
    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.
    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 GetMonitorNotificationChannelIbmFunctionTimeouts
    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_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 GetMonitorNotificationChannelIbmFunctionTimeouts
    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.
    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

    getMonitorNotificationChannelIbmFunction Result

    The following output properties are available:

    CustomData Dictionary<string, string>
    Key value list of additional parameters for the IBM Function.
    IamApiKey string
    API Key to call the private cloud function.
    IbmFunctionType string
    Type of IBM Function.
    Id string
    The Notification Channel ID.
    Name string
    The Notification Channel Name.
    Url string
    URL of the IBM Function.
    Version double
    The version of the Notification Channel.
    WhiskAuthToken string
    Whisk authentication token.
    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 GetMonitorNotificationChannelIbmFunctionTimeouts
    CustomData map[string]string
    Key value list of additional parameters for the IBM Function.
    IamApiKey string
    API Key to call the private cloud function.
    IbmFunctionType string
    Type of IBM Function.
    Id string
    The Notification Channel ID.
    Name string
    The Notification Channel Name.
    Url string
    URL of the IBM Function.
    Version float64
    The version of the Notification Channel.
    WhiskAuthToken string
    Whisk authentication token.
    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 GetMonitorNotificationChannelIbmFunctionTimeouts
    customData Map<String,String>
    Key value list of additional parameters for the IBM Function.
    iamApiKey String
    API Key to call the private cloud function.
    ibmFunctionType String
    Type of IBM Function.
    id String
    The Notification Channel ID.
    name String
    The Notification Channel Name.
    url String
    URL of the IBM Function.
    version Double
    The version of the Notification Channel.
    whiskAuthToken String
    Whisk authentication token.
    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 GetMonitorNotificationChannelIbmFunctionTimeouts
    customData {[key: string]: string}
    Key value list of additional parameters for the IBM Function.
    iamApiKey string
    API Key to call the private cloud function.
    ibmFunctionType string
    Type of IBM Function.
    id string
    The Notification Channel ID.
    name string
    The Notification Channel Name.
    url string
    URL of the IBM Function.
    version number
    The version of the Notification Channel.
    whiskAuthToken string
    Whisk authentication token.
    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 GetMonitorNotificationChannelIbmFunctionTimeouts
    custom_data Mapping[str, str]
    Key value list of additional parameters for the IBM Function.
    iam_api_key str
    API Key to call the private cloud function.
    ibm_function_type str
    Type of IBM Function.
    id str
    The Notification Channel ID.
    name str
    The Notification Channel Name.
    url str
    URL of the IBM Function.
    version float
    The version of the Notification Channel.
    whisk_auth_token str
    Whisk authentication token.
    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 GetMonitorNotificationChannelIbmFunctionTimeouts
    customData Map<String>
    Key value list of additional parameters for the IBM Function.
    iamApiKey String
    API Key to call the private cloud function.
    ibmFunctionType String
    Type of IBM Function.
    id String
    The Notification Channel ID.
    name String
    The Notification Channel Name.
    url String
    URL of the IBM Function.
    version Number
    The version of the Notification Channel.
    whiskAuthToken String
    Whisk authentication token.
    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

    GetMonitorNotificationChannelIbmFunctionTimeouts

    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.53.0 published on Thursday, Apr 17, 2025 by sysdiglabs