1. Packages
  2. Packages
  3. Chronosphere
  4. API Docs
  5. OpsgenieAlertNotifier
Viewing docs for Chronosphere v0.9.16
published on Friday, Jun 5, 2026 by Chronosphere
Viewing docs for Chronosphere v0.9.16
published on Friday, Jun 5, 2026 by Chronosphere

    OpsGenie notifier that delivers monitor signals to OpsGenie as alerts via its API integration. Referenced from notification policies.

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Pulumi = Chronosphere.Pulumi;
    
    return await Deployment.RunAsync(() => 
    {
        var opsgenie = new Pulumi.OpsgenieAlertNotifier("opsgenie", new()
        {
            ApiKey = "XXXXX",
            ApiUrl = "https://api.opsgenie.com/",
            Name = "infra_compute_opsgenie",
            Priority = "P1",
            Responders = new[]
            {
                new Pulumi.Inputs.OpsgenieAlertNotifierResponderArgs
                {
                    Name = "Productivity Platform - Compute",
                    Type = "TEAM",
                },
            },
            SendResolved = true,
        });
    
    });
    
    package main
    
    import (
    	"github.com/chronosphereio/pulumi-chronosphere/sdk/go/chronosphere"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := chronosphere.NewOpsgenieAlertNotifier(ctx, "opsgenie", &chronosphere.OpsgenieAlertNotifierArgs{
    			ApiKey:   pulumi.String("XXXXX"),
    			ApiUrl:   pulumi.String("https://api.opsgenie.com/"),
    			Name:     pulumi.String("infra_compute_opsgenie"),
    			Priority: pulumi.String("P1"),
    			Responders: chronosphere.OpsgenieAlertNotifierResponderArray{
    				&chronosphere.OpsgenieAlertNotifierResponderArgs{
    					Name: pulumi.String("Productivity Platform - Compute"),
    					Type: pulumi.String("TEAM"),
    				},
    			},
    			SendResolved: pulumi.Bool(true),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    

    Example coming soon!

    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.chronosphere.OpsgenieAlertNotifier;
    import com.pulumi.chronosphere.OpsgenieAlertNotifierArgs;
    import com.pulumi.chronosphere.inputs.OpsgenieAlertNotifierResponderArgs;
    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 opsgenie = new OpsgenieAlertNotifier("opsgenie", OpsgenieAlertNotifierArgs.builder()        
                .apiKey("XXXXX")
                .apiUrl("https://api.opsgenie.com/")
                .name("infra_compute_opsgenie")
                .priority("P1")
                .responders(OpsgenieAlertNotifierResponderArgs.builder()
                    .name("Productivity Platform - Compute")
                    .type("TEAM")
                    .build())
                .sendResolved(true)
                .build());
    
        }
    }
    
    import * as pulumi from "@pulumi/pulumi";
    import * as chronosphere from "@pulumi-chronosphere/pulumi-chronosphere";
    
    const opsgenie = new chronosphere.OpsgenieAlertNotifier("opsgenie", {
        apiKey: "XXXXX",
        apiUrl: "https://api.opsgenie.com/",
        name: "infra_compute_opsgenie",
        priority: "P1",
        responders: [{
            name: "Productivity Platform - Compute",
            type: "TEAM",
        }],
        sendResolved: true,
    });
    
    import pulumi
    import pulumi_chronosphere as chronosphere
    
    opsgenie = chronosphere.OpsgenieAlertNotifier("opsgenie",
        api_key="XXXXX",
        api_url="https://api.opsgenie.com/",
        name="infra_compute_opsgenie",
        priority="P1",
        responders=[chronosphere.OpsgenieAlertNotifierResponderArgs(
            name="Productivity Platform - Compute",
            type="TEAM",
        )],
        send_resolved=True)
    
    resources:
      opsgenie:
        type: chronosphere:OpsgenieAlertNotifier
        properties:
          apiKey: XXXXX
          apiUrl: https://api.opsgenie.com/
          name: infra_compute_opsgenie
          priority: P1
          responders:
            - name: Productivity Platform - Compute
              type: TEAM
          sendResolved: true
    

    Create OpsgenieAlertNotifier Resource

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

    Constructor syntax

    new OpsgenieAlertNotifier(name: string, args: OpsgenieAlertNotifierArgs, opts?: CustomResourceOptions);
    @overload
    def OpsgenieAlertNotifier(resource_name: str,
                              args: OpsgenieAlertNotifierArgs,
                              opts: Optional[ResourceOptions] = None)
    
    @overload
    def OpsgenieAlertNotifier(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              api_key: Optional[str] = None,
                              name: Optional[str] = None,
                              bearer_token: Optional[str] = None,
                              note: Optional[str] = None,
                              basic_auth_password: Optional[str] = None,
                              description: Optional[str] = None,
                              details: Optional[Mapping[str, str]] = None,
                              message: Optional[str] = None,
                              api_url: Optional[str] = None,
                              basic_auth_username: Optional[str] = None,
                              priority: Optional[str] = None,
                              proxy_url: Optional[str] = None,
                              responders: Optional[Sequence[OpsgenieAlertNotifierResponderArgs]] = None,
                              send_resolved: Optional[bool] = None,
                              slug: Optional[str] = None,
                              source: Optional[str] = None,
                              tags: Optional[Sequence[str]] = None,
                              tls_insecure_skip_verify: Optional[bool] = None)
    func NewOpsgenieAlertNotifier(ctx *Context, name string, args OpsgenieAlertNotifierArgs, opts ...ResourceOption) (*OpsgenieAlertNotifier, error)
    public OpsgenieAlertNotifier(string name, OpsgenieAlertNotifierArgs args, CustomResourceOptions? opts = null)
    public OpsgenieAlertNotifier(String name, OpsgenieAlertNotifierArgs args)
    public OpsgenieAlertNotifier(String name, OpsgenieAlertNotifierArgs args, CustomResourceOptions options)
    
    type: chronosphere:OpsgenieAlertNotifier
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "chronosphere_opsgeniealertnotifier" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args OpsgenieAlertNotifierArgs
    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 OpsgenieAlertNotifierArgs
    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 OpsgenieAlertNotifierArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args OpsgenieAlertNotifierArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args OpsgenieAlertNotifierArgs
    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 opsgenieAlertNotifierResource = new Pulumi.OpsgenieAlertNotifier("opsgenieAlertNotifierResource", new()
    {
        ApiKey = "string",
        Name = "string",
        BearerToken = "string",
        Note = "string",
        BasicAuthPassword = "string",
        Description = "string",
        Details = 
        {
            { "string", "string" },
        },
        Message = "string",
        ApiUrl = "string",
        BasicAuthUsername = "string",
        Priority = "string",
        Responders = new[]
        {
            new Pulumi.Inputs.OpsgenieAlertNotifierResponderArgs
            {
                Type = "string",
                Id = "string",
                Name = "string",
                Username = "string",
            },
        },
        SendResolved = false,
        Slug = "string",
        Source = "string",
        Tags = new[]
        {
            "string",
        },
        TlsInsecureSkipVerify = false,
    });
    
    example, err := chronosphere.NewOpsgenieAlertNotifier(ctx, "opsgenieAlertNotifierResource", &chronosphere.OpsgenieAlertNotifierArgs{
    	ApiKey:            pulumi.String("string"),
    	Name:              pulumi.String("string"),
    	BearerToken:       pulumi.String("string"),
    	Note:              pulumi.String("string"),
    	BasicAuthPassword: pulumi.String("string"),
    	Description:       pulumi.String("string"),
    	Details: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Message:           pulumi.String("string"),
    	ApiUrl:            pulumi.String("string"),
    	BasicAuthUsername: pulumi.String("string"),
    	Priority:          pulumi.String("string"),
    	Responders: chronosphere.OpsgenieAlertNotifierResponderArray{
    		&chronosphere.OpsgenieAlertNotifierResponderArgs{
    			Type:     pulumi.String("string"),
    			Id:       pulumi.String("string"),
    			Name:     pulumi.String("string"),
    			Username: pulumi.String("string"),
    		},
    	},
    	SendResolved: pulumi.Bool(false),
    	Slug:         pulumi.String("string"),
    	Source:       pulumi.String("string"),
    	Tags: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	TlsInsecureSkipVerify: pulumi.Bool(false),
    })
    
    resource "chronosphere_opsgeniealertnotifier" "opsgenieAlertNotifierResource" {
      api_key             = "string"
      name                = "string"
      bearer_token        = "string"
      note                = "string"
      basic_auth_password = "string"
      description         = "string"
      details = {
        "string" = "string"
      }
      message             = "string"
      api_url             = "string"
      basic_auth_username = "string"
      priority            = "string"
      responders {
        type     = "string"
        id       = "string"
        name     = "string"
        username = "string"
      }
      send_resolved            = false
      slug                     = "string"
      source                   = "string"
      tags                     = ["string"]
      tls_insecure_skip_verify = false
    }
    
    var opsgenieAlertNotifierResource = new OpsgenieAlertNotifier("opsgenieAlertNotifierResource", OpsgenieAlertNotifierArgs.builder()
        .apiKey("string")
        .name("string")
        .bearerToken("string")
        .note("string")
        .basicAuthPassword("string")
        .description("string")
        .details(Map.of("string", "string"))
        .message("string")
        .apiUrl("string")
        .basicAuthUsername("string")
        .priority("string")
        .responders(OpsgenieAlertNotifierResponderArgs.builder()
            .type("string")
            .id("string")
            .name("string")
            .username("string")
            .build())
        .sendResolved(false)
        .slug("string")
        .source("string")
        .tags("string")
        .tlsInsecureSkipVerify(false)
        .build());
    
    opsgenie_alert_notifier_resource = chronosphere.OpsgenieAlertNotifier("opsgenieAlertNotifierResource",
        api_key="string",
        name="string",
        bearer_token="string",
        note="string",
        basic_auth_password="string",
        description="string",
        details={
            "string": "string",
        },
        message="string",
        api_url="string",
        basic_auth_username="string",
        priority="string",
        responders=[{
            "type": "string",
            "id": "string",
            "name": "string",
            "username": "string",
        }],
        send_resolved=False,
        slug="string",
        source="string",
        tags=["string"],
        tls_insecure_skip_verify=False)
    
    const opsgenieAlertNotifierResource = new chronosphere.OpsgenieAlertNotifier("opsgenieAlertNotifierResource", {
        apiKey: "string",
        name: "string",
        bearerToken: "string",
        note: "string",
        basicAuthPassword: "string",
        description: "string",
        details: {
            string: "string",
        },
        message: "string",
        apiUrl: "string",
        basicAuthUsername: "string",
        priority: "string",
        responders: [{
            type: "string",
            id: "string",
            name: "string",
            username: "string",
        }],
        sendResolved: false,
        slug: "string",
        source: "string",
        tags: ["string"],
        tlsInsecureSkipVerify: false,
    });
    
    type: chronosphere:OpsgenieAlertNotifier
    properties:
        apiKey: string
        apiUrl: string
        basicAuthPassword: string
        basicAuthUsername: string
        bearerToken: string
        description: string
        details:
            string: string
        message: string
        name: string
        note: string
        priority: string
        responders:
            - id: string
              name: string
              type: string
              username: string
        sendResolved: false
        slug: string
        source: string
        tags:
            - string
        tlsInsecureSkipVerify: false
    

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

    ApiKey string
    Opsgenie API key used to authenticate requests. Treat as a secret.
    Name string
    Name of the responder team, schedule, or escalation policy.
    ApiUrl string
    Opsgenie API URL to send requests to (e.g. https://api.opsgenie.com/).
    BasicAuthPassword string
    Password for HTTP basic auth when calling the Opsgenie API. Treat as a secret.
    BasicAuthUsername string
    Username for HTTP basic auth when calling the Opsgenie API. Mutually exclusive with bearer_token.
    BearerToken string
    Bearer token sent in the Authorization header when calling the Opsgenie API. Treat as a secret. Mutually exclusive with basic auth.
    Description string
    Detailed description of the alert. Supports Go templating.
    Details Dictionary<string, string>
    Arbitrary key/value pairs attached to the alert as additional context. Values support Go templating.
    Message string
    Alert text shown in Opsgenie. Supports Go templating.
    Note string
    Additional note appended to the alert. Supports Go templating.
    Priority string
    Priority level of the alert. One of P1, P2, P3, P4, or P5.
    ProxyUrl string
    Deprecated and ignored. Custom proxy URLs are not supported.

    Deprecated: custom proxy URLs are not supported

    Responders List<Chronosphere.Pulumi.Inputs.OpsgenieAlertNotifierResponder>
    Responders that Opsgenie will notify for the alert. See https://docs.opsgenie.com/docs/alert-api for accepted shapes.
    SendResolved bool
    Whether to send a follow-up notification when an alert is resolved. Defaults to true.
    Slug string
    Stable identifier for the notifier. Generated from name if omitted. Immutable after creation.
    Source string
    Backlink to the sender of the notification. Supports Go templating.
    Tags List<string>
    Tags attached to the Opsgenie alert.
    TlsInsecureSkipVerify bool
    If true, skip TLS certificate verification when calling the Opsgenie API. Disable only in trusted environments.
    ApiKey string
    Opsgenie API key used to authenticate requests. Treat as a secret.
    Name string
    Name of the responder team, schedule, or escalation policy.
    ApiUrl string
    Opsgenie API URL to send requests to (e.g. https://api.opsgenie.com/).
    BasicAuthPassword string
    Password for HTTP basic auth when calling the Opsgenie API. Treat as a secret.
    BasicAuthUsername string
    Username for HTTP basic auth when calling the Opsgenie API. Mutually exclusive with bearer_token.
    BearerToken string
    Bearer token sent in the Authorization header when calling the Opsgenie API. Treat as a secret. Mutually exclusive with basic auth.
    Description string
    Detailed description of the alert. Supports Go templating.
    Details map[string]string
    Arbitrary key/value pairs attached to the alert as additional context. Values support Go templating.
    Message string
    Alert text shown in Opsgenie. Supports Go templating.
    Note string
    Additional note appended to the alert. Supports Go templating.
    Priority string
    Priority level of the alert. One of P1, P2, P3, P4, or P5.
    ProxyUrl string
    Deprecated and ignored. Custom proxy URLs are not supported.

    Deprecated: custom proxy URLs are not supported

    Responders []OpsgenieAlertNotifierResponderArgs
    Responders that Opsgenie will notify for the alert. See https://docs.opsgenie.com/docs/alert-api for accepted shapes.
    SendResolved bool
    Whether to send a follow-up notification when an alert is resolved. Defaults to true.
    Slug string
    Stable identifier for the notifier. Generated from name if omitted. Immutable after creation.
    Source string
    Backlink to the sender of the notification. Supports Go templating.
    Tags []string
    Tags attached to the Opsgenie alert.
    TlsInsecureSkipVerify bool
    If true, skip TLS certificate verification when calling the Opsgenie API. Disable only in trusted environments.
    api_key string
    Opsgenie API key used to authenticate requests. Treat as a secret.
    name string
    Name of the responder team, schedule, or escalation policy.
    api_url string
    Opsgenie API URL to send requests to (e.g. https://api.opsgenie.com/).
    basic_auth_password string
    Password for HTTP basic auth when calling the Opsgenie API. Treat as a secret.
    basic_auth_username string
    Username for HTTP basic auth when calling the Opsgenie API. Mutually exclusive with bearer_token.
    bearer_token string
    Bearer token sent in the Authorization header when calling the Opsgenie API. Treat as a secret. Mutually exclusive with basic auth.
    description string
    Detailed description of the alert. Supports Go templating.
    details map(string)
    Arbitrary key/value pairs attached to the alert as additional context. Values support Go templating.
    message string
    Alert text shown in Opsgenie. Supports Go templating.
    note string
    Additional note appended to the alert. Supports Go templating.
    priority string
    Priority level of the alert. One of P1, P2, P3, P4, or P5.
    proxy_url string
    Deprecated and ignored. Custom proxy URLs are not supported.

    Deprecated: custom proxy URLs are not supported

    responders list(object)
    Responders that Opsgenie will notify for the alert. See https://docs.opsgenie.com/docs/alert-api for accepted shapes.
    send_resolved bool
    Whether to send a follow-up notification when an alert is resolved. Defaults to true.
    slug string
    Stable identifier for the notifier. Generated from name if omitted. Immutable after creation.
    source string
    Backlink to the sender of the notification. Supports Go templating.
    tags list(string)
    Tags attached to the Opsgenie alert.
    tls_insecure_skip_verify bool
    If true, skip TLS certificate verification when calling the Opsgenie API. Disable only in trusted environments.
    apiKey String
    Opsgenie API key used to authenticate requests. Treat as a secret.
    name String
    Name of the responder team, schedule, or escalation policy.
    apiUrl String
    Opsgenie API URL to send requests to (e.g. https://api.opsgenie.com/).
    basicAuthPassword String
    Password for HTTP basic auth when calling the Opsgenie API. Treat as a secret.
    basicAuthUsername String
    Username for HTTP basic auth when calling the Opsgenie API. Mutually exclusive with bearer_token.
    bearerToken String
    Bearer token sent in the Authorization header when calling the Opsgenie API. Treat as a secret. Mutually exclusive with basic auth.
    description String
    Detailed description of the alert. Supports Go templating.
    details Map<String,String>
    Arbitrary key/value pairs attached to the alert as additional context. Values support Go templating.
    message String
    Alert text shown in Opsgenie. Supports Go templating.
    note String
    Additional note appended to the alert. Supports Go templating.
    priority String
    Priority level of the alert. One of P1, P2, P3, P4, or P5.
    proxyUrl String
    Deprecated and ignored. Custom proxy URLs are not supported.

    Deprecated: custom proxy URLs are not supported

    responders List<OpsgenieAlertNotifierResponder>
    Responders that Opsgenie will notify for the alert. See https://docs.opsgenie.com/docs/alert-api for accepted shapes.
    sendResolved Boolean
    Whether to send a follow-up notification when an alert is resolved. Defaults to true.
    slug String
    Stable identifier for the notifier. Generated from name if omitted. Immutable after creation.
    source String
    Backlink to the sender of the notification. Supports Go templating.
    tags List<String>
    Tags attached to the Opsgenie alert.
    tlsInsecureSkipVerify Boolean
    If true, skip TLS certificate verification when calling the Opsgenie API. Disable only in trusted environments.
    apiKey string
    Opsgenie API key used to authenticate requests. Treat as a secret.
    name string
    Name of the responder team, schedule, or escalation policy.
    apiUrl string
    Opsgenie API URL to send requests to (e.g. https://api.opsgenie.com/).
    basicAuthPassword string
    Password for HTTP basic auth when calling the Opsgenie API. Treat as a secret.
    basicAuthUsername string
    Username for HTTP basic auth when calling the Opsgenie API. Mutually exclusive with bearer_token.
    bearerToken string
    Bearer token sent in the Authorization header when calling the Opsgenie API. Treat as a secret. Mutually exclusive with basic auth.
    description string
    Detailed description of the alert. Supports Go templating.
    details {[key: string]: string}
    Arbitrary key/value pairs attached to the alert as additional context. Values support Go templating.
    message string
    Alert text shown in Opsgenie. Supports Go templating.
    note string
    Additional note appended to the alert. Supports Go templating.
    priority string
    Priority level of the alert. One of P1, P2, P3, P4, or P5.
    proxyUrl string
    Deprecated and ignored. Custom proxy URLs are not supported.

    Deprecated: custom proxy URLs are not supported

    responders OpsgenieAlertNotifierResponder[]
    Responders that Opsgenie will notify for the alert. See https://docs.opsgenie.com/docs/alert-api for accepted shapes.
    sendResolved boolean
    Whether to send a follow-up notification when an alert is resolved. Defaults to true.
    slug string
    Stable identifier for the notifier. Generated from name if omitted. Immutable after creation.
    source string
    Backlink to the sender of the notification. Supports Go templating.
    tags string[]
    Tags attached to the Opsgenie alert.
    tlsInsecureSkipVerify boolean
    If true, skip TLS certificate verification when calling the Opsgenie API. Disable only in trusted environments.
    api_key str
    Opsgenie API key used to authenticate requests. Treat as a secret.
    name str
    Name of the responder team, schedule, or escalation policy.
    api_url str
    Opsgenie API URL to send requests to (e.g. https://api.opsgenie.com/).
    basic_auth_password str
    Password for HTTP basic auth when calling the Opsgenie API. Treat as a secret.
    basic_auth_username str
    Username for HTTP basic auth when calling the Opsgenie API. Mutually exclusive with bearer_token.
    bearer_token str
    Bearer token sent in the Authorization header when calling the Opsgenie API. Treat as a secret. Mutually exclusive with basic auth.
    description str
    Detailed description of the alert. Supports Go templating.
    details Mapping[str, str]
    Arbitrary key/value pairs attached to the alert as additional context. Values support Go templating.
    message str
    Alert text shown in Opsgenie. Supports Go templating.
    note str
    Additional note appended to the alert. Supports Go templating.
    priority str
    Priority level of the alert. One of P1, P2, P3, P4, or P5.
    proxy_url str
    Deprecated and ignored. Custom proxy URLs are not supported.

    Deprecated: custom proxy URLs are not supported

    responders Sequence[OpsgenieAlertNotifierResponderArgs]
    Responders that Opsgenie will notify for the alert. See https://docs.opsgenie.com/docs/alert-api for accepted shapes.
    send_resolved bool
    Whether to send a follow-up notification when an alert is resolved. Defaults to true.
    slug str
    Stable identifier for the notifier. Generated from name if omitted. Immutable after creation.
    source str
    Backlink to the sender of the notification. Supports Go templating.
    tags Sequence[str]
    Tags attached to the Opsgenie alert.
    tls_insecure_skip_verify bool
    If true, skip TLS certificate verification when calling the Opsgenie API. Disable only in trusted environments.
    apiKey String
    Opsgenie API key used to authenticate requests. Treat as a secret.
    name String
    Name of the responder team, schedule, or escalation policy.
    apiUrl String
    Opsgenie API URL to send requests to (e.g. https://api.opsgenie.com/).
    basicAuthPassword String
    Password for HTTP basic auth when calling the Opsgenie API. Treat as a secret.
    basicAuthUsername String
    Username for HTTP basic auth when calling the Opsgenie API. Mutually exclusive with bearer_token.
    bearerToken String
    Bearer token sent in the Authorization header when calling the Opsgenie API. Treat as a secret. Mutually exclusive with basic auth.
    description String
    Detailed description of the alert. Supports Go templating.
    details Map<String>
    Arbitrary key/value pairs attached to the alert as additional context. Values support Go templating.
    message String
    Alert text shown in Opsgenie. Supports Go templating.
    note String
    Additional note appended to the alert. Supports Go templating.
    priority String
    Priority level of the alert. One of P1, P2, P3, P4, or P5.
    proxyUrl String
    Deprecated and ignored. Custom proxy URLs are not supported.

    Deprecated: custom proxy URLs are not supported

    responders List<Property Map>
    Responders that Opsgenie will notify for the alert. See https://docs.opsgenie.com/docs/alert-api for accepted shapes.
    sendResolved Boolean
    Whether to send a follow-up notification when an alert is resolved. Defaults to true.
    slug String
    Stable identifier for the notifier. Generated from name if omitted. Immutable after creation.
    source String
    Backlink to the sender of the notification. Supports Go templating.
    tags List<String>
    Tags attached to the Opsgenie alert.
    tlsInsecureSkipVerify Boolean
    If true, skip TLS certificate verification when calling the Opsgenie API. Disable only in trusted environments.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing OpsgenieAlertNotifier Resource

    Get an existing OpsgenieAlertNotifier 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?: OpsgenieAlertNotifierState, opts?: CustomResourceOptions): OpsgenieAlertNotifier
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            api_key: Optional[str] = None,
            api_url: Optional[str] = None,
            basic_auth_password: Optional[str] = None,
            basic_auth_username: Optional[str] = None,
            bearer_token: Optional[str] = None,
            description: Optional[str] = None,
            details: Optional[Mapping[str, str]] = None,
            message: Optional[str] = None,
            name: Optional[str] = None,
            note: Optional[str] = None,
            priority: Optional[str] = None,
            proxy_url: Optional[str] = None,
            responders: Optional[Sequence[OpsgenieAlertNotifierResponderArgs]] = None,
            send_resolved: Optional[bool] = None,
            slug: Optional[str] = None,
            source: Optional[str] = None,
            tags: Optional[Sequence[str]] = None,
            tls_insecure_skip_verify: Optional[bool] = None) -> OpsgenieAlertNotifier
    func GetOpsgenieAlertNotifier(ctx *Context, name string, id IDInput, state *OpsgenieAlertNotifierState, opts ...ResourceOption) (*OpsgenieAlertNotifier, error)
    public static OpsgenieAlertNotifier Get(string name, Input<string> id, OpsgenieAlertNotifierState? state, CustomResourceOptions? opts = null)
    public static OpsgenieAlertNotifier get(String name, Output<String> id, OpsgenieAlertNotifierState state, CustomResourceOptions options)
    resources:  _:    type: chronosphere:OpsgenieAlertNotifier    get:      id: ${id}
    import {
      to = chronosphere_opsgeniealertnotifier.example
      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
    Opsgenie API key used to authenticate requests. Treat as a secret.
    ApiUrl string
    Opsgenie API URL to send requests to (e.g. https://api.opsgenie.com/).
    BasicAuthPassword string
    Password for HTTP basic auth when calling the Opsgenie API. Treat as a secret.
    BasicAuthUsername string
    Username for HTTP basic auth when calling the Opsgenie API. Mutually exclusive with bearer_token.
    BearerToken string
    Bearer token sent in the Authorization header when calling the Opsgenie API. Treat as a secret. Mutually exclusive with basic auth.
    Description string
    Detailed description of the alert. Supports Go templating.
    Details Dictionary<string, string>
    Arbitrary key/value pairs attached to the alert as additional context. Values support Go templating.
    Message string
    Alert text shown in Opsgenie. Supports Go templating.
    Name string
    Name of the responder team, schedule, or escalation policy.
    Note string
    Additional note appended to the alert. Supports Go templating.
    Priority string
    Priority level of the alert. One of P1, P2, P3, P4, or P5.
    ProxyUrl string
    Deprecated and ignored. Custom proxy URLs are not supported.

    Deprecated: custom proxy URLs are not supported

    Responders List<Chronosphere.Pulumi.Inputs.OpsgenieAlertNotifierResponder>
    Responders that Opsgenie will notify for the alert. See https://docs.opsgenie.com/docs/alert-api for accepted shapes.
    SendResolved bool
    Whether to send a follow-up notification when an alert is resolved. Defaults to true.
    Slug string
    Stable identifier for the notifier. Generated from name if omitted. Immutable after creation.
    Source string
    Backlink to the sender of the notification. Supports Go templating.
    Tags List<string>
    Tags attached to the Opsgenie alert.
    TlsInsecureSkipVerify bool
    If true, skip TLS certificate verification when calling the Opsgenie API. Disable only in trusted environments.
    ApiKey string
    Opsgenie API key used to authenticate requests. Treat as a secret.
    ApiUrl string
    Opsgenie API URL to send requests to (e.g. https://api.opsgenie.com/).
    BasicAuthPassword string
    Password for HTTP basic auth when calling the Opsgenie API. Treat as a secret.
    BasicAuthUsername string
    Username for HTTP basic auth when calling the Opsgenie API. Mutually exclusive with bearer_token.
    BearerToken string
    Bearer token sent in the Authorization header when calling the Opsgenie API. Treat as a secret. Mutually exclusive with basic auth.
    Description string
    Detailed description of the alert. Supports Go templating.
    Details map[string]string
    Arbitrary key/value pairs attached to the alert as additional context. Values support Go templating.
    Message string
    Alert text shown in Opsgenie. Supports Go templating.
    Name string
    Name of the responder team, schedule, or escalation policy.
    Note string
    Additional note appended to the alert. Supports Go templating.
    Priority string
    Priority level of the alert. One of P1, P2, P3, P4, or P5.
    ProxyUrl string
    Deprecated and ignored. Custom proxy URLs are not supported.

    Deprecated: custom proxy URLs are not supported

    Responders []OpsgenieAlertNotifierResponderArgs
    Responders that Opsgenie will notify for the alert. See https://docs.opsgenie.com/docs/alert-api for accepted shapes.
    SendResolved bool
    Whether to send a follow-up notification when an alert is resolved. Defaults to true.
    Slug string
    Stable identifier for the notifier. Generated from name if omitted. Immutable after creation.
    Source string
    Backlink to the sender of the notification. Supports Go templating.
    Tags []string
    Tags attached to the Opsgenie alert.
    TlsInsecureSkipVerify bool
    If true, skip TLS certificate verification when calling the Opsgenie API. Disable only in trusted environments.
    api_key string
    Opsgenie API key used to authenticate requests. Treat as a secret.
    api_url string
    Opsgenie API URL to send requests to (e.g. https://api.opsgenie.com/).
    basic_auth_password string
    Password for HTTP basic auth when calling the Opsgenie API. Treat as a secret.
    basic_auth_username string
    Username for HTTP basic auth when calling the Opsgenie API. Mutually exclusive with bearer_token.
    bearer_token string
    Bearer token sent in the Authorization header when calling the Opsgenie API. Treat as a secret. Mutually exclusive with basic auth.
    description string
    Detailed description of the alert. Supports Go templating.
    details map(string)
    Arbitrary key/value pairs attached to the alert as additional context. Values support Go templating.
    message string
    Alert text shown in Opsgenie. Supports Go templating.
    name string
    Name of the responder team, schedule, or escalation policy.
    note string
    Additional note appended to the alert. Supports Go templating.
    priority string
    Priority level of the alert. One of P1, P2, P3, P4, or P5.
    proxy_url string
    Deprecated and ignored. Custom proxy URLs are not supported.

    Deprecated: custom proxy URLs are not supported

    responders list(object)
    Responders that Opsgenie will notify for the alert. See https://docs.opsgenie.com/docs/alert-api for accepted shapes.
    send_resolved bool
    Whether to send a follow-up notification when an alert is resolved. Defaults to true.
    slug string
    Stable identifier for the notifier. Generated from name if omitted. Immutable after creation.
    source string
    Backlink to the sender of the notification. Supports Go templating.
    tags list(string)
    Tags attached to the Opsgenie alert.
    tls_insecure_skip_verify bool
    If true, skip TLS certificate verification when calling the Opsgenie API. Disable only in trusted environments.
    apiKey String
    Opsgenie API key used to authenticate requests. Treat as a secret.
    apiUrl String
    Opsgenie API URL to send requests to (e.g. https://api.opsgenie.com/).
    basicAuthPassword String
    Password for HTTP basic auth when calling the Opsgenie API. Treat as a secret.
    basicAuthUsername String
    Username for HTTP basic auth when calling the Opsgenie API. Mutually exclusive with bearer_token.
    bearerToken String
    Bearer token sent in the Authorization header when calling the Opsgenie API. Treat as a secret. Mutually exclusive with basic auth.
    description String
    Detailed description of the alert. Supports Go templating.
    details Map<String,String>
    Arbitrary key/value pairs attached to the alert as additional context. Values support Go templating.
    message String
    Alert text shown in Opsgenie. Supports Go templating.
    name String
    Name of the responder team, schedule, or escalation policy.
    note String
    Additional note appended to the alert. Supports Go templating.
    priority String
    Priority level of the alert. One of P1, P2, P3, P4, or P5.
    proxyUrl String
    Deprecated and ignored. Custom proxy URLs are not supported.

    Deprecated: custom proxy URLs are not supported

    responders List<OpsgenieAlertNotifierResponder>
    Responders that Opsgenie will notify for the alert. See https://docs.opsgenie.com/docs/alert-api for accepted shapes.
    sendResolved Boolean
    Whether to send a follow-up notification when an alert is resolved. Defaults to true.
    slug String
    Stable identifier for the notifier. Generated from name if omitted. Immutable after creation.
    source String
    Backlink to the sender of the notification. Supports Go templating.
    tags List<String>
    Tags attached to the Opsgenie alert.
    tlsInsecureSkipVerify Boolean
    If true, skip TLS certificate verification when calling the Opsgenie API. Disable only in trusted environments.
    apiKey string
    Opsgenie API key used to authenticate requests. Treat as a secret.
    apiUrl string
    Opsgenie API URL to send requests to (e.g. https://api.opsgenie.com/).
    basicAuthPassword string
    Password for HTTP basic auth when calling the Opsgenie API. Treat as a secret.
    basicAuthUsername string
    Username for HTTP basic auth when calling the Opsgenie API. Mutually exclusive with bearer_token.
    bearerToken string
    Bearer token sent in the Authorization header when calling the Opsgenie API. Treat as a secret. Mutually exclusive with basic auth.
    description string
    Detailed description of the alert. Supports Go templating.
    details {[key: string]: string}
    Arbitrary key/value pairs attached to the alert as additional context. Values support Go templating.
    message string
    Alert text shown in Opsgenie. Supports Go templating.
    name string
    Name of the responder team, schedule, or escalation policy.
    note string
    Additional note appended to the alert. Supports Go templating.
    priority string
    Priority level of the alert. One of P1, P2, P3, P4, or P5.
    proxyUrl string
    Deprecated and ignored. Custom proxy URLs are not supported.

    Deprecated: custom proxy URLs are not supported

    responders OpsgenieAlertNotifierResponder[]
    Responders that Opsgenie will notify for the alert. See https://docs.opsgenie.com/docs/alert-api for accepted shapes.
    sendResolved boolean
    Whether to send a follow-up notification when an alert is resolved. Defaults to true.
    slug string
    Stable identifier for the notifier. Generated from name if omitted. Immutable after creation.
    source string
    Backlink to the sender of the notification. Supports Go templating.
    tags string[]
    Tags attached to the Opsgenie alert.
    tlsInsecureSkipVerify boolean
    If true, skip TLS certificate verification when calling the Opsgenie API. Disable only in trusted environments.
    api_key str
    Opsgenie API key used to authenticate requests. Treat as a secret.
    api_url str
    Opsgenie API URL to send requests to (e.g. https://api.opsgenie.com/).
    basic_auth_password str
    Password for HTTP basic auth when calling the Opsgenie API. Treat as a secret.
    basic_auth_username str
    Username for HTTP basic auth when calling the Opsgenie API. Mutually exclusive with bearer_token.
    bearer_token str
    Bearer token sent in the Authorization header when calling the Opsgenie API. Treat as a secret. Mutually exclusive with basic auth.
    description str
    Detailed description of the alert. Supports Go templating.
    details Mapping[str, str]
    Arbitrary key/value pairs attached to the alert as additional context. Values support Go templating.
    message str
    Alert text shown in Opsgenie. Supports Go templating.
    name str
    Name of the responder team, schedule, or escalation policy.
    note str
    Additional note appended to the alert. Supports Go templating.
    priority str
    Priority level of the alert. One of P1, P2, P3, P4, or P5.
    proxy_url str
    Deprecated and ignored. Custom proxy URLs are not supported.

    Deprecated: custom proxy URLs are not supported

    responders Sequence[OpsgenieAlertNotifierResponderArgs]
    Responders that Opsgenie will notify for the alert. See https://docs.opsgenie.com/docs/alert-api for accepted shapes.
    send_resolved bool
    Whether to send a follow-up notification when an alert is resolved. Defaults to true.
    slug str
    Stable identifier for the notifier. Generated from name if omitted. Immutable after creation.
    source str
    Backlink to the sender of the notification. Supports Go templating.
    tags Sequence[str]
    Tags attached to the Opsgenie alert.
    tls_insecure_skip_verify bool
    If true, skip TLS certificate verification when calling the Opsgenie API. Disable only in trusted environments.
    apiKey String
    Opsgenie API key used to authenticate requests. Treat as a secret.
    apiUrl String
    Opsgenie API URL to send requests to (e.g. https://api.opsgenie.com/).
    basicAuthPassword String
    Password for HTTP basic auth when calling the Opsgenie API. Treat as a secret.
    basicAuthUsername String
    Username for HTTP basic auth when calling the Opsgenie API. Mutually exclusive with bearer_token.
    bearerToken String
    Bearer token sent in the Authorization header when calling the Opsgenie API. Treat as a secret. Mutually exclusive with basic auth.
    description String
    Detailed description of the alert. Supports Go templating.
    details Map<String>
    Arbitrary key/value pairs attached to the alert as additional context. Values support Go templating.
    message String
    Alert text shown in Opsgenie. Supports Go templating.
    name String
    Name of the responder team, schedule, or escalation policy.
    note String
    Additional note appended to the alert. Supports Go templating.
    priority String
    Priority level of the alert. One of P1, P2, P3, P4, or P5.
    proxyUrl String
    Deprecated and ignored. Custom proxy URLs are not supported.

    Deprecated: custom proxy URLs are not supported

    responders List<Property Map>
    Responders that Opsgenie will notify for the alert. See https://docs.opsgenie.com/docs/alert-api for accepted shapes.
    sendResolved Boolean
    Whether to send a follow-up notification when an alert is resolved. Defaults to true.
    slug String
    Stable identifier for the notifier. Generated from name if omitted. Immutable after creation.
    source String
    Backlink to the sender of the notification. Supports Go templating.
    tags List<String>
    Tags attached to the Opsgenie alert.
    tlsInsecureSkipVerify Boolean
    If true, skip TLS certificate verification when calling the Opsgenie API. Disable only in trusted environments.

    Supporting Types

    OpsgenieAlertNotifierResponder, OpsgenieAlertNotifierResponderArgs

    Type string
    Responder type. One of team, user, escalation, or schedule.
    Id string
    Opsgenie identifier of the responder. Use instead of name or username.
    Name string
    Name of the responder team, schedule, or escalation policy.
    Username string
    Username of a user responder.
    Type string
    Responder type. One of team, user, escalation, or schedule.
    Id string
    Opsgenie identifier of the responder. Use instead of name or username.
    Name string
    Name of the responder team, schedule, or escalation policy.
    Username string
    Username of a user responder.
    type string
    Responder type. One of team, user, escalation, or schedule.
    id string
    Opsgenie identifier of the responder. Use instead of name or username.
    name string
    Name of the responder team, schedule, or escalation policy.
    username string
    Username of a user responder.
    type String
    Responder type. One of team, user, escalation, or schedule.
    id String
    Opsgenie identifier of the responder. Use instead of name or username.
    name String
    Name of the responder team, schedule, or escalation policy.
    username String
    Username of a user responder.
    type string
    Responder type. One of team, user, escalation, or schedule.
    id string
    Opsgenie identifier of the responder. Use instead of name or username.
    name string
    Name of the responder team, schedule, or escalation policy.
    username string
    Username of a user responder.
    type str
    Responder type. One of team, user, escalation, or schedule.
    id str
    Opsgenie identifier of the responder. Use instead of name or username.
    name str
    Name of the responder team, schedule, or escalation policy.
    username str
    Username of a user responder.
    type String
    Responder type. One of team, user, escalation, or schedule.
    id String
    Opsgenie identifier of the responder. Use instead of name or username.
    name String
    Name of the responder team, schedule, or escalation policy.
    username String
    Username of a user responder.

    Package Details

    Repository
    chronosphere chronosphereio/pulumi-chronosphere
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the chronosphere Terraform Provider.
    Viewing docs for Chronosphere v0.9.16
    published on Friday, Jun 5, 2026 by Chronosphere

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial