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

sysdig.MonitorNotificationChannelIbmFunction

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 sample_ibm_function_web_action = new sysdig.MonitorNotificationChannelIbmFunction("sample-ibm-function-web-action", {
        enabled: true,
        ibmFunctionType: "WEB_ACTION",
        url: "https://eu-gb.functions.cloud.ibm.com/api/v1/web/namespaces/eeeeeeee-623b-4776-ba35-4065bcbfee7b/actions/hello-world/helloworld?param=true",
        whiskAuthToken: "xxx",
        customData: {
            data1: "value1",
            data2: "value2",
        },
        notifyWhenOk: false,
        notifyWhenResolved: false,
        sendTestNotification: false,
    });
    const sample_ibm_function_cloud_function = new sysdig.MonitorNotificationChannelIbmFunction("sample-ibm-function-cloud-function", {
        ibmFunctionType: "CLOUD_FUNCTION",
        url: "https://eu-gb.functions.cloud.ibm.com/api/v1/namespaces/13eeeeee-623b-4776-ba35-4065bcbfee7b/actions/hello-world/myaction",
        iamApiKey: "xxx",
    });
    
    import pulumi
    import pulumi_sysdig as sysdig
    
    sample_ibm_function_web_action = sysdig.MonitorNotificationChannelIbmFunction("sample-ibm-function-web-action",
        enabled=True,
        ibm_function_type="WEB_ACTION",
        url="https://eu-gb.functions.cloud.ibm.com/api/v1/web/namespaces/eeeeeeee-623b-4776-ba35-4065bcbfee7b/actions/hello-world/helloworld?param=true",
        whisk_auth_token="xxx",
        custom_data={
            "data1": "value1",
            "data2": "value2",
        },
        notify_when_ok=False,
        notify_when_resolved=False,
        send_test_notification=False)
    sample_ibm_function_cloud_function = sysdig.MonitorNotificationChannelIbmFunction("sample-ibm-function-cloud-function",
        ibm_function_type="CLOUD_FUNCTION",
        url="https://eu-gb.functions.cloud.ibm.com/api/v1/namespaces/13eeeeee-623b-4776-ba35-4065bcbfee7b/actions/hello-world/myaction",
        iam_api_key="xxx")
    
    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.NewMonitorNotificationChannelIbmFunction(ctx, "sample-ibm-function-web-action", &sysdig.MonitorNotificationChannelIbmFunctionArgs{
    			Enabled:         pulumi.Bool(true),
    			IbmFunctionType: pulumi.String("WEB_ACTION"),
    			Url:             pulumi.String("https://eu-gb.functions.cloud.ibm.com/api/v1/web/namespaces/eeeeeeee-623b-4776-ba35-4065bcbfee7b/actions/hello-world/helloworld?param=true"),
    			WhiskAuthToken:  pulumi.String("xxx"),
    			CustomData: pulumi.StringMap{
    				"data1": pulumi.String("value1"),
    				"data2": pulumi.String("value2"),
    			},
    			NotifyWhenOk:         pulumi.Bool(false),
    			NotifyWhenResolved:   pulumi.Bool(false),
    			SendTestNotification: pulumi.Bool(false),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = sysdig.NewMonitorNotificationChannelIbmFunction(ctx, "sample-ibm-function-cloud-function", &sysdig.MonitorNotificationChannelIbmFunctionArgs{
    			IbmFunctionType: pulumi.String("CLOUD_FUNCTION"),
    			Url:             pulumi.String("https://eu-gb.functions.cloud.ibm.com/api/v1/namespaces/13eeeeee-623b-4776-ba35-4065bcbfee7b/actions/hello-world/myaction"),
    			IamApiKey:       pulumi.String("xxx"),
    		})
    		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_ibm_function_web_action = new Sysdig.MonitorNotificationChannelIbmFunction("sample-ibm-function-web-action", new()
        {
            Enabled = true,
            IbmFunctionType = "WEB_ACTION",
            Url = "https://eu-gb.functions.cloud.ibm.com/api/v1/web/namespaces/eeeeeeee-623b-4776-ba35-4065bcbfee7b/actions/hello-world/helloworld?param=true",
            WhiskAuthToken = "xxx",
            CustomData = 
            {
                { "data1", "value1" },
                { "data2", "value2" },
            },
            NotifyWhenOk = false,
            NotifyWhenResolved = false,
            SendTestNotification = false,
        });
    
        var sample_ibm_function_cloud_function = new Sysdig.MonitorNotificationChannelIbmFunction("sample-ibm-function-cloud-function", new()
        {
            IbmFunctionType = "CLOUD_FUNCTION",
            Url = "https://eu-gb.functions.cloud.ibm.com/api/v1/namespaces/13eeeeee-623b-4776-ba35-4065bcbfee7b/actions/hello-world/myaction",
            IamApiKey = "xxx",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.sysdig.MonitorNotificationChannelIbmFunction;
    import com.pulumi.sysdig.MonitorNotificationChannelIbmFunctionArgs;
    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) {
            var sample_ibm_function_web_action = new MonitorNotificationChannelIbmFunction("sample-ibm-function-web-action", MonitorNotificationChannelIbmFunctionArgs.builder()
                .enabled(true)
                .ibmFunctionType("WEB_ACTION")
                .url("https://eu-gb.functions.cloud.ibm.com/api/v1/web/namespaces/eeeeeeee-623b-4776-ba35-4065bcbfee7b/actions/hello-world/helloworld?param=true")
                .whiskAuthToken("xxx")
                .customData(Map.ofEntries(
                    Map.entry("data1", "value1"),
                    Map.entry("data2", "value2")
                ))
                .notifyWhenOk(false)
                .notifyWhenResolved(false)
                .sendTestNotification(false)
                .build());
    
            var sample_ibm_function_cloud_function = new MonitorNotificationChannelIbmFunction("sample-ibm-function-cloud-function", MonitorNotificationChannelIbmFunctionArgs.builder()
                .ibmFunctionType("CLOUD_FUNCTION")
                .url("https://eu-gb.functions.cloud.ibm.com/api/v1/namespaces/13eeeeee-623b-4776-ba35-4065bcbfee7b/actions/hello-world/myaction")
                .iamApiKey("xxx")
                .build());
    
        }
    }
    
    resources:
      sample-ibm-function-web-action:
        type: sysdig:MonitorNotificationChannelIbmFunction
        properties:
          enabled: true
          ibmFunctionType: WEB_ACTION
          url: https://eu-gb.functions.cloud.ibm.com/api/v1/web/namespaces/eeeeeeee-623b-4776-ba35-4065bcbfee7b/actions/hello-world/helloworld?param=true
          whiskAuthToken: xxx
          customData:
            data1: value1
            data2: value2
          notifyWhenOk: false
          notifyWhenResolved: false
          sendTestNotification: false
      sample-ibm-function-cloud-function:
        type: sysdig:MonitorNotificationChannelIbmFunction
        properties:
          ibmFunctionType: CLOUD_FUNCTION
          url: https://eu-gb.functions.cloud.ibm.com/api/v1/namespaces/13eeeeee-623b-4776-ba35-4065bcbfee7b/actions/hello-world/myaction
          iamApiKey: xxx
    

    Create MonitorNotificationChannelIbmFunction Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new MonitorNotificationChannelIbmFunction(name: string, args: MonitorNotificationChannelIbmFunctionArgs, opts?: CustomResourceOptions);
    @overload
    def MonitorNotificationChannelIbmFunction(resource_name: str,
                                              args: MonitorNotificationChannelIbmFunctionArgs,
                                              opts: Optional[ResourceOptions] = None)
    
    @overload
    def MonitorNotificationChannelIbmFunction(resource_name: str,
                                              opts: Optional[ResourceOptions] = None,
                                              ibm_function_type: Optional[str] = None,
                                              url: Optional[str] = None,
                                              notify_when_ok: Optional[bool] = None,
                                              iam_api_key: Optional[str] = None,
                                              monitor_notification_channel_ibm_function_id: Optional[str] = None,
                                              name: Optional[str] = None,
                                              custom_data: Optional[Mapping[str, str]] = None,
                                              notify_when_resolved: Optional[bool] = None,
                                              send_test_notification: Optional[bool] = None,
                                              share_with_current_team: Optional[bool] = None,
                                              timeouts: Optional[MonitorNotificationChannelIbmFunctionTimeoutsArgs] = None,
                                              enabled: Optional[bool] = None,
                                              whisk_auth_token: Optional[str] = None)
    func NewMonitorNotificationChannelIbmFunction(ctx *Context, name string, args MonitorNotificationChannelIbmFunctionArgs, opts ...ResourceOption) (*MonitorNotificationChannelIbmFunction, error)
    public MonitorNotificationChannelIbmFunction(string name, MonitorNotificationChannelIbmFunctionArgs args, CustomResourceOptions? opts = null)
    public MonitorNotificationChannelIbmFunction(String name, MonitorNotificationChannelIbmFunctionArgs args)
    public MonitorNotificationChannelIbmFunction(String name, MonitorNotificationChannelIbmFunctionArgs args, CustomResourceOptions options)
    
    type: sysdig:MonitorNotificationChannelIbmFunction
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args MonitorNotificationChannelIbmFunctionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args MonitorNotificationChannelIbmFunctionArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args MonitorNotificationChannelIbmFunctionArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args MonitorNotificationChannelIbmFunctionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args MonitorNotificationChannelIbmFunctionArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var monitorNotificationChannelIbmFunctionResource = new Sysdig.MonitorNotificationChannelIbmFunction("monitorNotificationChannelIbmFunctionResource", new()
    {
        IbmFunctionType = "string",
        Url = "string",
        NotifyWhenOk = false,
        IamApiKey = "string",
        MonitorNotificationChannelIbmFunctionId = "string",
        Name = "string",
        CustomData = 
        {
            { "string", "string" },
        },
        NotifyWhenResolved = false,
        SendTestNotification = false,
        ShareWithCurrentTeam = false,
        Timeouts = new Sysdig.Inputs.MonitorNotificationChannelIbmFunctionTimeoutsArgs
        {
            Create = "string",
            Delete = "string",
            Read = "string",
            Update = "string",
        },
        Enabled = false,
        WhiskAuthToken = "string",
    });
    
    example, err := sysdig.NewMonitorNotificationChannelIbmFunction(ctx, "monitorNotificationChannelIbmFunctionResource", &sysdig.MonitorNotificationChannelIbmFunctionArgs{
    	IbmFunctionType:                         pulumi.String("string"),
    	Url:                                     pulumi.String("string"),
    	NotifyWhenOk:                            pulumi.Bool(false),
    	IamApiKey:                               pulumi.String("string"),
    	MonitorNotificationChannelIbmFunctionId: pulumi.String("string"),
    	Name:                                    pulumi.String("string"),
    	CustomData: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	NotifyWhenResolved:   pulumi.Bool(false),
    	SendTestNotification: pulumi.Bool(false),
    	ShareWithCurrentTeam: pulumi.Bool(false),
    	Timeouts: &sysdig.MonitorNotificationChannelIbmFunctionTimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    		Read:   pulumi.String("string"),
    		Update: pulumi.String("string"),
    	},
    	Enabled:        pulumi.Bool(false),
    	WhiskAuthToken: pulumi.String("string"),
    })
    
    var monitorNotificationChannelIbmFunctionResource = new MonitorNotificationChannelIbmFunction("monitorNotificationChannelIbmFunctionResource", MonitorNotificationChannelIbmFunctionArgs.builder()
        .ibmFunctionType("string")
        .url("string")
        .notifyWhenOk(false)
        .iamApiKey("string")
        .monitorNotificationChannelIbmFunctionId("string")
        .name("string")
        .customData(Map.of("string", "string"))
        .notifyWhenResolved(false)
        .sendTestNotification(false)
        .shareWithCurrentTeam(false)
        .timeouts(MonitorNotificationChannelIbmFunctionTimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .read("string")
            .update("string")
            .build())
        .enabled(false)
        .whiskAuthToken("string")
        .build());
    
    monitor_notification_channel_ibm_function_resource = sysdig.MonitorNotificationChannelIbmFunction("monitorNotificationChannelIbmFunctionResource",
        ibm_function_type="string",
        url="string",
        notify_when_ok=False,
        iam_api_key="string",
        monitor_notification_channel_ibm_function_id="string",
        name="string",
        custom_data={
            "string": "string",
        },
        notify_when_resolved=False,
        send_test_notification=False,
        share_with_current_team=False,
        timeouts={
            "create": "string",
            "delete": "string",
            "read": "string",
            "update": "string",
        },
        enabled=False,
        whisk_auth_token="string")
    
    const monitorNotificationChannelIbmFunctionResource = new sysdig.MonitorNotificationChannelIbmFunction("monitorNotificationChannelIbmFunctionResource", {
        ibmFunctionType: "string",
        url: "string",
        notifyWhenOk: false,
        iamApiKey: "string",
        monitorNotificationChannelIbmFunctionId: "string",
        name: "string",
        customData: {
            string: "string",
        },
        notifyWhenResolved: false,
        sendTestNotification: false,
        shareWithCurrentTeam: false,
        timeouts: {
            create: "string",
            "delete": "string",
            read: "string",
            update: "string",
        },
        enabled: false,
        whiskAuthToken: "string",
    });
    
    type: sysdig:MonitorNotificationChannelIbmFunction
    properties:
        customData:
            string: string
        enabled: false
        iamApiKey: string
        ibmFunctionType: string
        monitorNotificationChannelIbmFunctionId: string
        name: string
        notifyWhenOk: false
        notifyWhenResolved: false
        sendTestNotification: false
        shareWithCurrentTeam: false
        timeouts:
            create: string
            delete: string
            read: string
            update: string
        url: string
        whiskAuthToken: string
    

    MonitorNotificationChannelIbmFunction Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The MonitorNotificationChannelIbmFunction resource accepts the following input properties:

    IbmFunctionType string
    Type of IBM Function. Can be WEB_ACTION for a Web Action (with or without X-Require-Whisk-Auth header) or CLOUD_FUNCTION for an IAM Secured Action.
    Url string
    URL of the IBM Function.
    CustomData Dictionary<string, string>
    Key value list of additional parameters for the IBM Function.
    Enabled bool
    If false, the channel will not emit notifications. Default is true.
    IamApiKey string
    Required if ibm_function_type is CLOUD_FUNCTION: API Key to call the private cloud function.
    MonitorNotificationChannelIbmFunctionId string
    (Computed) The ID of the Notification Channel.
    Name string
    The name of the Notification Channel. Must be unique.
    NotifyWhenOk bool
    Send a new notification when the alert condition is no longer triggered. Default is false.
    NotifyWhenResolved bool
    Send a new notification when the alert is manually acknowledged by a user. Default is false.
    SendTestNotification bool
    Send an initial test notification to check if the notification channel is working. Default is false.
    ShareWithCurrentTeam bool
    If set to true it will share notification channel only with current team (in which user is logged in). Otherwise, it will share it with all teams, which is the default behaviour. Although this is an optional setting, beware that if you have lower permissions than admin you may see a error: 403 Forbidden if this is not set to true.
    Timeouts MonitorNotificationChannelIbmFunctionTimeouts
    WhiskAuthToken string
    Only if ibm_function_type is WEB_ACTION: Whisk authentication token.
    IbmFunctionType string
    Type of IBM Function. Can be WEB_ACTION for a Web Action (with or without X-Require-Whisk-Auth header) or CLOUD_FUNCTION for an IAM Secured Action.
    Url string
    URL of the IBM Function.
    CustomData map[string]string
    Key value list of additional parameters for the IBM Function.
    Enabled bool
    If false, the channel will not emit notifications. Default is true.
    IamApiKey string
    Required if ibm_function_type is CLOUD_FUNCTION: API Key to call the private cloud function.
    MonitorNotificationChannelIbmFunctionId string
    (Computed) The ID of the Notification Channel.
    Name string
    The name of the Notification Channel. Must be unique.
    NotifyWhenOk bool
    Send a new notification when the alert condition is no longer triggered. Default is false.
    NotifyWhenResolved bool
    Send a new notification when the alert is manually acknowledged by a user. Default is false.
    SendTestNotification bool
    Send an initial test notification to check if the notification channel is working. Default is false.
    ShareWithCurrentTeam bool
    If set to true it will share notification channel only with current team (in which user is logged in). Otherwise, it will share it with all teams, which is the default behaviour. Although this is an optional setting, beware that if you have lower permissions than admin you may see a error: 403 Forbidden if this is not set to true.
    Timeouts MonitorNotificationChannelIbmFunctionTimeoutsArgs
    WhiskAuthToken string
    Only if ibm_function_type is WEB_ACTION: Whisk authentication token.
    ibmFunctionType String
    Type of IBM Function. Can be WEB_ACTION for a Web Action (with or without X-Require-Whisk-Auth header) or CLOUD_FUNCTION for an IAM Secured Action.
    url String
    URL of the IBM Function.
    customData Map<String,String>
    Key value list of additional parameters for the IBM Function.
    enabled Boolean
    If false, the channel will not emit notifications. Default is true.
    iamApiKey String
    Required if ibm_function_type is CLOUD_FUNCTION: API Key to call the private cloud function.
    monitorNotificationChannelIbmFunctionId String
    (Computed) The ID of the Notification Channel.
    name String
    The name of the Notification Channel. Must be unique.
    notifyWhenOk Boolean
    Send a new notification when the alert condition is no longer triggered. Default is false.
    notifyWhenResolved Boolean
    Send a new notification when the alert is manually acknowledged by a user. Default is false.
    sendTestNotification Boolean
    Send an initial test notification to check if the notification channel is working. Default is false.
    shareWithCurrentTeam Boolean
    If set to true it will share notification channel only with current team (in which user is logged in). Otherwise, it will share it with all teams, which is the default behaviour. Although this is an optional setting, beware that if you have lower permissions than admin you may see a error: 403 Forbidden if this is not set to true.
    timeouts MonitorNotificationChannelIbmFunctionTimeouts
    whiskAuthToken String
    Only if ibm_function_type is WEB_ACTION: Whisk authentication token.
    ibmFunctionType string
    Type of IBM Function. Can be WEB_ACTION for a Web Action (with or without X-Require-Whisk-Auth header) or CLOUD_FUNCTION for an IAM Secured Action.
    url string
    URL of the IBM Function.
    customData {[key: string]: string}
    Key value list of additional parameters for the IBM Function.
    enabled boolean
    If false, the channel will not emit notifications. Default is true.
    iamApiKey string
    Required if ibm_function_type is CLOUD_FUNCTION: API Key to call the private cloud function.
    monitorNotificationChannelIbmFunctionId string
    (Computed) The ID of the Notification Channel.
    name string
    The name of the Notification Channel. Must be unique.
    notifyWhenOk boolean
    Send a new notification when the alert condition is no longer triggered. Default is false.
    notifyWhenResolved boolean
    Send a new notification when the alert is manually acknowledged by a user. Default is false.
    sendTestNotification boolean
    Send an initial test notification to check if the notification channel is working. Default is false.
    shareWithCurrentTeam boolean
    If set to true it will share notification channel only with current team (in which user is logged in). Otherwise, it will share it with all teams, which is the default behaviour. Although this is an optional setting, beware that if you have lower permissions than admin you may see a error: 403 Forbidden if this is not set to true.
    timeouts MonitorNotificationChannelIbmFunctionTimeouts
    whiskAuthToken string
    Only if ibm_function_type is WEB_ACTION: Whisk authentication token.
    ibm_function_type str
    Type of IBM Function. Can be WEB_ACTION for a Web Action (with or without X-Require-Whisk-Auth header) or CLOUD_FUNCTION for an IAM Secured Action.
    url str
    URL of the IBM Function.
    custom_data Mapping[str, str]
    Key value list of additional parameters for the IBM Function.
    enabled bool
    If false, the channel will not emit notifications. Default is true.
    iam_api_key str
    Required if ibm_function_type is CLOUD_FUNCTION: API Key to call the private cloud function.
    monitor_notification_channel_ibm_function_id str
    (Computed) The ID of the Notification Channel.
    name str
    The name of the Notification Channel. Must be unique.
    notify_when_ok bool
    Send a new notification when the alert condition is no longer triggered. Default is false.
    notify_when_resolved bool
    Send a new notification when the alert is manually acknowledged by a user. Default is false.
    send_test_notification bool
    Send an initial test notification to check if the notification channel is working. Default is false.
    share_with_current_team bool
    If set to true it will share notification channel only with current team (in which user is logged in). Otherwise, it will share it with all teams, which is the default behaviour. Although this is an optional setting, beware that if you have lower permissions than admin you may see a error: 403 Forbidden if this is not set to true.
    timeouts MonitorNotificationChannelIbmFunctionTimeoutsArgs
    whisk_auth_token str
    Only if ibm_function_type is WEB_ACTION: Whisk authentication token.
    ibmFunctionType String
    Type of IBM Function. Can be WEB_ACTION for a Web Action (with or without X-Require-Whisk-Auth header) or CLOUD_FUNCTION for an IAM Secured Action.
    url String
    URL of the IBM Function.
    customData Map<String>
    Key value list of additional parameters for the IBM Function.
    enabled Boolean
    If false, the channel will not emit notifications. Default is true.
    iamApiKey String
    Required if ibm_function_type is CLOUD_FUNCTION: API Key to call the private cloud function.
    monitorNotificationChannelIbmFunctionId String
    (Computed) The ID of the Notification Channel.
    name String
    The name of the Notification Channel. Must be unique.
    notifyWhenOk Boolean
    Send a new notification when the alert condition is no longer triggered. Default is false.
    notifyWhenResolved Boolean
    Send a new notification when the alert is manually acknowledged by a user. Default is false.
    sendTestNotification Boolean
    Send an initial test notification to check if the notification channel is working. Default is false.
    shareWithCurrentTeam Boolean
    If set to true it will share notification channel only with current team (in which user is logged in). Otherwise, it will share it with all teams, which is the default behaviour. Although this is an optional setting, beware that if you have lower permissions than admin you may see a error: 403 Forbidden if this is not set to true.
    timeouts Property Map
    whiskAuthToken String
    Only if ibm_function_type is WEB_ACTION: Whisk authentication token.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the MonitorNotificationChannelIbmFunction resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Version double
    (Computed) The current version of the Notification Channel.
    Id string
    The provider-assigned unique ID for this managed resource.
    Version float64
    (Computed) The current version of the Notification Channel.
    id String
    The provider-assigned unique ID for this managed resource.
    version Double
    (Computed) The current version of the Notification Channel.
    id string
    The provider-assigned unique ID for this managed resource.
    version number
    (Computed) The current version of the Notification Channel.
    id str
    The provider-assigned unique ID for this managed resource.
    version float
    (Computed) The current version of the Notification Channel.
    id String
    The provider-assigned unique ID for this managed resource.
    version Number
    (Computed) The current version of the Notification Channel.

    Look up Existing MonitorNotificationChannelIbmFunction Resource

    Get an existing MonitorNotificationChannelIbmFunction resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: MonitorNotificationChannelIbmFunctionState, opts?: CustomResourceOptions): MonitorNotificationChannelIbmFunction
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            custom_data: Optional[Mapping[str, str]] = None,
            enabled: Optional[bool] = None,
            iam_api_key: Optional[str] = None,
            ibm_function_type: Optional[str] = None,
            monitor_notification_channel_ibm_function_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[MonitorNotificationChannelIbmFunctionTimeoutsArgs] = None,
            url: Optional[str] = None,
            version: Optional[float] = None,
            whisk_auth_token: Optional[str] = None) -> MonitorNotificationChannelIbmFunction
    func GetMonitorNotificationChannelIbmFunction(ctx *Context, name string, id IDInput, state *MonitorNotificationChannelIbmFunctionState, opts ...ResourceOption) (*MonitorNotificationChannelIbmFunction, error)
    public static MonitorNotificationChannelIbmFunction Get(string name, Input<string> id, MonitorNotificationChannelIbmFunctionState? state, CustomResourceOptions? opts = null)
    public static MonitorNotificationChannelIbmFunction get(String name, Output<String> id, MonitorNotificationChannelIbmFunctionState state, CustomResourceOptions options)
    resources:  _:    type: sysdig:MonitorNotificationChannelIbmFunction    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    CustomData Dictionary<string, string>
    Key value list of additional parameters for the IBM Function.
    Enabled bool
    If false, the channel will not emit notifications. Default is true.
    IamApiKey string
    Required if ibm_function_type is CLOUD_FUNCTION: API Key to call the private cloud function.
    IbmFunctionType string
    Type of IBM Function. Can be WEB_ACTION for a Web Action (with or without X-Require-Whisk-Auth header) or CLOUD_FUNCTION for an IAM Secured Action.
    MonitorNotificationChannelIbmFunctionId string
    (Computed) The ID of the Notification Channel.
    Name string
    The name of the Notification Channel. Must be unique.
    NotifyWhenOk bool
    Send a new notification when the alert condition is no longer triggered. Default is false.
    NotifyWhenResolved bool
    Send a new notification when the alert is manually acknowledged by a user. Default is false.
    SendTestNotification bool
    Send an initial test notification to check if the notification channel is working. Default is false.
    ShareWithCurrentTeam bool
    If set to true it will share notification channel only with current team (in which user is logged in). Otherwise, it will share it with all teams, which is the default behaviour. Although this is an optional setting, beware that if you have lower permissions than admin you may see a error: 403 Forbidden if this is not set to true.
    Timeouts MonitorNotificationChannelIbmFunctionTimeouts
    Url string
    URL of the IBM Function.
    Version double
    (Computed) The current version of the Notification Channel.
    WhiskAuthToken string
    Only if ibm_function_type is WEB_ACTION: Whisk authentication token.
    CustomData map[string]string
    Key value list of additional parameters for the IBM Function.
    Enabled bool
    If false, the channel will not emit notifications. Default is true.
    IamApiKey string
    Required if ibm_function_type is CLOUD_FUNCTION: API Key to call the private cloud function.
    IbmFunctionType string
    Type of IBM Function. Can be WEB_ACTION for a Web Action (with or without X-Require-Whisk-Auth header) or CLOUD_FUNCTION for an IAM Secured Action.
    MonitorNotificationChannelIbmFunctionId string
    (Computed) The ID of the Notification Channel.
    Name string
    The name of the Notification Channel. Must be unique.
    NotifyWhenOk bool
    Send a new notification when the alert condition is no longer triggered. Default is false.
    NotifyWhenResolved bool
    Send a new notification when the alert is manually acknowledged by a user. Default is false.
    SendTestNotification bool
    Send an initial test notification to check if the notification channel is working. Default is false.
    ShareWithCurrentTeam bool
    If set to true it will share notification channel only with current team (in which user is logged in). Otherwise, it will share it with all teams, which is the default behaviour. Although this is an optional setting, beware that if you have lower permissions than admin you may see a error: 403 Forbidden if this is not set to true.
    Timeouts MonitorNotificationChannelIbmFunctionTimeoutsArgs
    Url string
    URL of the IBM Function.
    Version float64
    (Computed) The current version of the Notification Channel.
    WhiskAuthToken string
    Only if ibm_function_type is WEB_ACTION: Whisk authentication token.
    customData Map<String,String>
    Key value list of additional parameters for the IBM Function.
    enabled Boolean
    If false, the channel will not emit notifications. Default is true.
    iamApiKey String
    Required if ibm_function_type is CLOUD_FUNCTION: API Key to call the private cloud function.
    ibmFunctionType String
    Type of IBM Function. Can be WEB_ACTION for a Web Action (with or without X-Require-Whisk-Auth header) or CLOUD_FUNCTION for an IAM Secured Action.
    monitorNotificationChannelIbmFunctionId String
    (Computed) The ID of the Notification Channel.
    name String
    The name of the Notification Channel. Must be unique.
    notifyWhenOk Boolean
    Send a new notification when the alert condition is no longer triggered. Default is false.
    notifyWhenResolved Boolean
    Send a new notification when the alert is manually acknowledged by a user. Default is false.
    sendTestNotification Boolean
    Send an initial test notification to check if the notification channel is working. Default is false.
    shareWithCurrentTeam Boolean
    If set to true it will share notification channel only with current team (in which user is logged in). Otherwise, it will share it with all teams, which is the default behaviour. Although this is an optional setting, beware that if you have lower permissions than admin you may see a error: 403 Forbidden if this is not set to true.
    timeouts MonitorNotificationChannelIbmFunctionTimeouts
    url String
    URL of the IBM Function.
    version Double
    (Computed) The current version of the Notification Channel.
    whiskAuthToken String
    Only if ibm_function_type is WEB_ACTION: Whisk authentication token.
    customData {[key: string]: string}
    Key value list of additional parameters for the IBM Function.
    enabled boolean
    If false, the channel will not emit notifications. Default is true.
    iamApiKey string
    Required if ibm_function_type is CLOUD_FUNCTION: API Key to call the private cloud function.
    ibmFunctionType string
    Type of IBM Function. Can be WEB_ACTION for a Web Action (with or without X-Require-Whisk-Auth header) or CLOUD_FUNCTION for an IAM Secured Action.
    monitorNotificationChannelIbmFunctionId string
    (Computed) The ID of the Notification Channel.
    name string
    The name of the Notification Channel. Must be unique.
    notifyWhenOk boolean
    Send a new notification when the alert condition is no longer triggered. Default is false.
    notifyWhenResolved boolean
    Send a new notification when the alert is manually acknowledged by a user. Default is false.
    sendTestNotification boolean
    Send an initial test notification to check if the notification channel is working. Default is false.
    shareWithCurrentTeam boolean
    If set to true it will share notification channel only with current team (in which user is logged in). Otherwise, it will share it with all teams, which is the default behaviour. Although this is an optional setting, beware that if you have lower permissions than admin you may see a error: 403 Forbidden if this is not set to true.
    timeouts MonitorNotificationChannelIbmFunctionTimeouts
    url string
    URL of the IBM Function.
    version number
    (Computed) The current version of the Notification Channel.
    whiskAuthToken string
    Only if ibm_function_type is WEB_ACTION: Whisk authentication token.
    custom_data Mapping[str, str]
    Key value list of additional parameters for the IBM Function.
    enabled bool
    If false, the channel will not emit notifications. Default is true.
    iam_api_key str
    Required if ibm_function_type is CLOUD_FUNCTION: API Key to call the private cloud function.
    ibm_function_type str
    Type of IBM Function. Can be WEB_ACTION for a Web Action (with or without X-Require-Whisk-Auth header) or CLOUD_FUNCTION for an IAM Secured Action.
    monitor_notification_channel_ibm_function_id str
    (Computed) The ID of the Notification Channel.
    name str
    The name of the Notification Channel. Must be unique.
    notify_when_ok bool
    Send a new notification when the alert condition is no longer triggered. Default is false.
    notify_when_resolved bool
    Send a new notification when the alert is manually acknowledged by a user. Default is false.
    send_test_notification bool
    Send an initial test notification to check if the notification channel is working. Default is false.
    share_with_current_team bool
    If set to true it will share notification channel only with current team (in which user is logged in). Otherwise, it will share it with all teams, which is the default behaviour. Although this is an optional setting, beware that if you have lower permissions than admin you may see a error: 403 Forbidden if this is not set to true.
    timeouts MonitorNotificationChannelIbmFunctionTimeoutsArgs
    url str
    URL of the IBM Function.
    version float
    (Computed) The current version of the Notification Channel.
    whisk_auth_token str
    Only if ibm_function_type is WEB_ACTION: Whisk authentication token.
    customData Map<String>
    Key value list of additional parameters for the IBM Function.
    enabled Boolean
    If false, the channel will not emit notifications. Default is true.
    iamApiKey String
    Required if ibm_function_type is CLOUD_FUNCTION: API Key to call the private cloud function.
    ibmFunctionType String
    Type of IBM Function. Can be WEB_ACTION for a Web Action (with or without X-Require-Whisk-Auth header) or CLOUD_FUNCTION for an IAM Secured Action.
    monitorNotificationChannelIbmFunctionId String
    (Computed) The ID of the Notification Channel.
    name String
    The name of the Notification Channel. Must be unique.
    notifyWhenOk Boolean
    Send a new notification when the alert condition is no longer triggered. Default is false.
    notifyWhenResolved Boolean
    Send a new notification when the alert is manually acknowledged by a user. Default is false.
    sendTestNotification Boolean
    Send an initial test notification to check if the notification channel is working. Default is false.
    shareWithCurrentTeam Boolean
    If set to true it will share notification channel only with current team (in which user is logged in). Otherwise, it will share it with all teams, which is the default behaviour. Although this is an optional setting, beware that if you have lower permissions than admin you may see a error: 403 Forbidden if this is not set to true.
    timeouts Property Map
    url String
    URL of the IBM Function.
    version Number
    (Computed) The current version of the Notification Channel.
    whiskAuthToken String
    Only if ibm_function_type is WEB_ACTION: Whisk authentication token.

    Supporting Types

    MonitorNotificationChannelIbmFunctionTimeouts, MonitorNotificationChannelIbmFunctionTimeoutsArgs

    Create string
    Delete string
    Read string
    Update string
    Create string
    Delete string
    Read string
    Update string
    create String
    delete String
    read String
    update String
    create string
    delete string
    read string
    update string
    create str
    delete str
    read str
    update str
    create String
    delete String
    read String
    update String

    Import

    IBM Function notification channels for Monitor can be imported using the ID, e.g.

    $ pulumi import sysdig:index/monitorNotificationChannelIbmFunction:MonitorNotificationChannelIbmFunction example 12345
    

    To learn more about importing existing cloud resources, see Importing resources.

    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