1. Packages
  2. Sysdig Provider
  3. API Docs
  4. MonitorNotificationChannelOpsgenie
sysdig 1.56.0 published on Wednesday, Apr 30, 2025 by sysdiglabs

sysdig.MonitorNotificationChannelOpsgenie

Explore with Pulumi AI

sysdig logo
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_opsgenie = new sysdig.MonitorNotificationChannelOpsgenie("sample-opsgenie", {
        apiKey: "2349324-342354353-5324-23",
        enabled: true,
        notifyWhenOk: false,
        notifyWhenResolved: false,
    });
    
    import pulumi
    import pulumi_sysdig as sysdig
    
    sample_opsgenie = sysdig.MonitorNotificationChannelOpsgenie("sample-opsgenie",
        api_key="2349324-342354353-5324-23",
        enabled=True,
        notify_when_ok=False,
        notify_when_resolved=False)
    
    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.NewMonitorNotificationChannelOpsgenie(ctx, "sample-opsgenie", &sysdig.MonitorNotificationChannelOpsgenieArgs{
    			ApiKey:             pulumi.String("2349324-342354353-5324-23"),
    			Enabled:            pulumi.Bool(true),
    			NotifyWhenOk:       pulumi.Bool(false),
    			NotifyWhenResolved: pulumi.Bool(false),
    		})
    		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_opsgenie = new Sysdig.MonitorNotificationChannelOpsgenie("sample-opsgenie", new()
        {
            ApiKey = "2349324-342354353-5324-23",
            Enabled = true,
            NotifyWhenOk = false,
            NotifyWhenResolved = false,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.sysdig.MonitorNotificationChannelOpsgenie;
    import com.pulumi.sysdig.MonitorNotificationChannelOpsgenieArgs;
    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_opsgenie = new MonitorNotificationChannelOpsgenie("sample-opsgenie", MonitorNotificationChannelOpsgenieArgs.builder()
                .apiKey("2349324-342354353-5324-23")
                .enabled(true)
                .notifyWhenOk(false)
                .notifyWhenResolved(false)
                .build());
    
        }
    }
    
    resources:
      sample-opsgenie:
        type: sysdig:MonitorNotificationChannelOpsgenie
        properties:
          apiKey: 2349324-342354353-5324-23
          enabled: true
          notifyWhenOk: false
          notifyWhenResolved: false
    

    Create MonitorNotificationChannelOpsgenie Resource

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

    Constructor syntax

    new MonitorNotificationChannelOpsgenie(name: string, args: MonitorNotificationChannelOpsgenieArgs, opts?: CustomResourceOptions);
    @overload
    def MonitorNotificationChannelOpsgenie(resource_name: str,
                                           args: MonitorNotificationChannelOpsgenieArgs,
                                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def MonitorNotificationChannelOpsgenie(resource_name: str,
                                           opts: Optional[ResourceOptions] = None,
                                           api_key: Optional[str] = None,
                                           enabled: Optional[bool] = None,
                                           monitor_notification_channel_opsgenie_id: Optional[str] = None,
                                           name: Optional[str] = None,
                                           notify_when_ok: Optional[bool] = None,
                                           notify_when_resolved: Optional[bool] = None,
                                           region: Optional[str] = None,
                                           send_test_notification: Optional[bool] = None,
                                           share_with_current_team: Optional[bool] = None,
                                           timeouts: Optional[MonitorNotificationChannelOpsgenieTimeoutsArgs] = None)
    func NewMonitorNotificationChannelOpsgenie(ctx *Context, name string, args MonitorNotificationChannelOpsgenieArgs, opts ...ResourceOption) (*MonitorNotificationChannelOpsgenie, error)
    public MonitorNotificationChannelOpsgenie(string name, MonitorNotificationChannelOpsgenieArgs args, CustomResourceOptions? opts = null)
    public MonitorNotificationChannelOpsgenie(String name, MonitorNotificationChannelOpsgenieArgs args)
    public MonitorNotificationChannelOpsgenie(String name, MonitorNotificationChannelOpsgenieArgs args, CustomResourceOptions options)
    
    type: sysdig:MonitorNotificationChannelOpsgenie
    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 MonitorNotificationChannelOpsgenieArgs
    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 MonitorNotificationChannelOpsgenieArgs
    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 MonitorNotificationChannelOpsgenieArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args MonitorNotificationChannelOpsgenieArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args MonitorNotificationChannelOpsgenieArgs
    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 monitorNotificationChannelOpsgenieResource = new Sysdig.MonitorNotificationChannelOpsgenie("monitorNotificationChannelOpsgenieResource", new()
    {
        ApiKey = "string",
        Enabled = false,
        MonitorNotificationChannelOpsgenieId = "string",
        Name = "string",
        NotifyWhenOk = false,
        NotifyWhenResolved = false,
        Region = "string",
        SendTestNotification = false,
        ShareWithCurrentTeam = false,
        Timeouts = new Sysdig.Inputs.MonitorNotificationChannelOpsgenieTimeoutsArgs
        {
            Create = "string",
            Delete = "string",
            Read = "string",
            Update = "string",
        },
    });
    
    example, err := sysdig.NewMonitorNotificationChannelOpsgenie(ctx, "monitorNotificationChannelOpsgenieResource", &sysdig.MonitorNotificationChannelOpsgenieArgs{
    	ApiKey:                               pulumi.String("string"),
    	Enabled:                              pulumi.Bool(false),
    	MonitorNotificationChannelOpsgenieId: pulumi.String("string"),
    	Name:                                 pulumi.String("string"),
    	NotifyWhenOk:                         pulumi.Bool(false),
    	NotifyWhenResolved:                   pulumi.Bool(false),
    	Region:                               pulumi.String("string"),
    	SendTestNotification:                 pulumi.Bool(false),
    	ShareWithCurrentTeam:                 pulumi.Bool(false),
    	Timeouts: &sysdig.MonitorNotificationChannelOpsgenieTimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    		Read:   pulumi.String("string"),
    		Update: pulumi.String("string"),
    	},
    })
    
    var monitorNotificationChannelOpsgenieResource = new MonitorNotificationChannelOpsgenie("monitorNotificationChannelOpsgenieResource", MonitorNotificationChannelOpsgenieArgs.builder()
        .apiKey("string")
        .enabled(false)
        .monitorNotificationChannelOpsgenieId("string")
        .name("string")
        .notifyWhenOk(false)
        .notifyWhenResolved(false)
        .region("string")
        .sendTestNotification(false)
        .shareWithCurrentTeam(false)
        .timeouts(MonitorNotificationChannelOpsgenieTimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .read("string")
            .update("string")
            .build())
        .build());
    
    monitor_notification_channel_opsgenie_resource = sysdig.MonitorNotificationChannelOpsgenie("monitorNotificationChannelOpsgenieResource",
        api_key="string",
        enabled=False,
        monitor_notification_channel_opsgenie_id="string",
        name="string",
        notify_when_ok=False,
        notify_when_resolved=False,
        region="string",
        send_test_notification=False,
        share_with_current_team=False,
        timeouts={
            "create": "string",
            "delete": "string",
            "read": "string",
            "update": "string",
        })
    
    const monitorNotificationChannelOpsgenieResource = new sysdig.MonitorNotificationChannelOpsgenie("monitorNotificationChannelOpsgenieResource", {
        apiKey: "string",
        enabled: false,
        monitorNotificationChannelOpsgenieId: "string",
        name: "string",
        notifyWhenOk: false,
        notifyWhenResolved: false,
        region: "string",
        sendTestNotification: false,
        shareWithCurrentTeam: false,
        timeouts: {
            create: "string",
            "delete": "string",
            read: "string",
            update: "string",
        },
    });
    
    type: sysdig:MonitorNotificationChannelOpsgenie
    properties:
        apiKey: string
        enabled: false
        monitorNotificationChannelOpsgenieId: string
        name: string
        notifyWhenOk: false
        notifyWhenResolved: false
        region: string
        sendTestNotification: false
        shareWithCurrentTeam: false
        timeouts:
            create: string
            delete: string
            read: string
            update: string
    

    MonitorNotificationChannelOpsgenie 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 MonitorNotificationChannelOpsgenie resource accepts the following input properties:

    ApiKey string
    Key for the API.
    Enabled bool
    If false, the channel will not emit notifications. Default is true.
    MonitorNotificationChannelOpsgenieId 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.
    Region string
    Opsgenie Region. Can be US or EU. Default is US.
    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 MonitorNotificationChannelOpsgenieTimeouts
    ApiKey string
    Key for the API.
    Enabled bool
    If false, the channel will not emit notifications. Default is true.
    MonitorNotificationChannelOpsgenieId 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.
    Region string
    Opsgenie Region. Can be US or EU. Default is US.
    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 MonitorNotificationChannelOpsgenieTimeoutsArgs
    apiKey String
    Key for the API.
    enabled Boolean
    If false, the channel will not emit notifications. Default is true.
    monitorNotificationChannelOpsgenieId 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.
    region String
    Opsgenie Region. Can be US or EU. Default is US.
    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 MonitorNotificationChannelOpsgenieTimeouts
    apiKey string
    Key for the API.
    enabled boolean
    If false, the channel will not emit notifications. Default is true.
    monitorNotificationChannelOpsgenieId 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.
    region string
    Opsgenie Region. Can be US or EU. Default is US.
    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 MonitorNotificationChannelOpsgenieTimeouts
    api_key str
    Key for the API.
    enabled bool
    If false, the channel will not emit notifications. Default is true.
    monitor_notification_channel_opsgenie_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.
    region str
    Opsgenie Region. Can be US or EU. Default is US.
    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 MonitorNotificationChannelOpsgenieTimeoutsArgs
    apiKey String
    Key for the API.
    enabled Boolean
    If false, the channel will not emit notifications. Default is true.
    monitorNotificationChannelOpsgenieId 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.
    region String
    Opsgenie Region. Can be US or EU. Default is US.
    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

    Outputs

    All input properties are implicitly available as output properties. Additionally, the MonitorNotificationChannelOpsgenie 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 MonitorNotificationChannelOpsgenie Resource

    Get an existing MonitorNotificationChannelOpsgenie 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?: MonitorNotificationChannelOpsgenieState, opts?: CustomResourceOptions): MonitorNotificationChannelOpsgenie
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            api_key: Optional[str] = None,
            enabled: Optional[bool] = None,
            monitor_notification_channel_opsgenie_id: Optional[str] = None,
            name: Optional[str] = None,
            notify_when_ok: Optional[bool] = None,
            notify_when_resolved: Optional[bool] = None,
            region: Optional[str] = None,
            send_test_notification: Optional[bool] = None,
            share_with_current_team: Optional[bool] = None,
            timeouts: Optional[MonitorNotificationChannelOpsgenieTimeoutsArgs] = None,
            version: Optional[float] = None) -> MonitorNotificationChannelOpsgenie
    func GetMonitorNotificationChannelOpsgenie(ctx *Context, name string, id IDInput, state *MonitorNotificationChannelOpsgenieState, opts ...ResourceOption) (*MonitorNotificationChannelOpsgenie, error)
    public static MonitorNotificationChannelOpsgenie Get(string name, Input<string> id, MonitorNotificationChannelOpsgenieState? state, CustomResourceOptions? opts = null)
    public static MonitorNotificationChannelOpsgenie get(String name, Output<String> id, MonitorNotificationChannelOpsgenieState state, CustomResourceOptions options)
    resources:  _:    type: sysdig:MonitorNotificationChannelOpsgenie    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:
    ApiKey string
    Key for the API.
    Enabled bool
    If false, the channel will not emit notifications. Default is true.
    MonitorNotificationChannelOpsgenieId 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.
    Region string
    Opsgenie Region. Can be US or EU. Default is US.
    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 MonitorNotificationChannelOpsgenieTimeouts
    Version double
    (Computed) The current version of the Notification Channel.
    ApiKey string
    Key for the API.
    Enabled bool
    If false, the channel will not emit notifications. Default is true.
    MonitorNotificationChannelOpsgenieId 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.
    Region string
    Opsgenie Region. Can be US or EU. Default is US.
    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 MonitorNotificationChannelOpsgenieTimeoutsArgs
    Version float64
    (Computed) The current version of the Notification Channel.
    apiKey String
    Key for the API.
    enabled Boolean
    If false, the channel will not emit notifications. Default is true.
    monitorNotificationChannelOpsgenieId 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.
    region String
    Opsgenie Region. Can be US or EU. Default is US.
    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 MonitorNotificationChannelOpsgenieTimeouts
    version Double
    (Computed) The current version of the Notification Channel.
    apiKey string
    Key for the API.
    enabled boolean
    If false, the channel will not emit notifications. Default is true.
    monitorNotificationChannelOpsgenieId 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.
    region string
    Opsgenie Region. Can be US or EU. Default is US.
    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 MonitorNotificationChannelOpsgenieTimeouts
    version number
    (Computed) The current version of the Notification Channel.
    api_key str
    Key for the API.
    enabled bool
    If false, the channel will not emit notifications. Default is true.
    monitor_notification_channel_opsgenie_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.
    region str
    Opsgenie Region. Can be US or EU. Default is US.
    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 MonitorNotificationChannelOpsgenieTimeoutsArgs
    version float
    (Computed) The current version of the Notification Channel.
    apiKey String
    Key for the API.
    enabled Boolean
    If false, the channel will not emit notifications. Default is true.
    monitorNotificationChannelOpsgenieId 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.
    region String
    Opsgenie Region. Can be US or EU. Default is US.
    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
    version Number
    (Computed) The current version of the Notification Channel.

    Supporting Types

    MonitorNotificationChannelOpsgenieTimeouts, MonitorNotificationChannelOpsgenieTimeoutsArgs

    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

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

    $ pulumi import sysdig:index/monitorNotificationChannelOpsgenie:MonitorNotificationChannelOpsgenie 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.56.0 published on Wednesday, Apr 30, 2025 by sysdiglabs