published on Friday, Jun 5, 2026 by Chronosphere
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:
- 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 stringPassword - Password for HTTP basic auth when calling the Opsgenie API. Treat as a secret.
- Basic
Auth stringUsername - Username for HTTP basic auth when calling the Opsgenie API. Mutually exclusive with
bearer_token. - Bearer
Token string - Bearer token sent in the
Authorizationheader 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, orP5. - Proxy
Url string - Deprecated and ignored. Custom proxy URLs are not supported.
- Responders
List<Chronosphere.
Pulumi. Inputs. Opsgenie Alert Notifier Responder> - 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
nameif omitted. Immutable after creation. - Source string
- Backlink to the sender of the notification. Supports Go templating.
- List<string>
- Tags attached to the Opsgenie alert.
- Tls
Insecure boolSkip Verify - 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 stringPassword - Password for HTTP basic auth when calling the Opsgenie API. Treat as a secret.
- Basic
Auth stringUsername - Username for HTTP basic auth when calling the Opsgenie API. Mutually exclusive with
bearer_token. - Bearer
Token string - Bearer token sent in the
Authorizationheader 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, orP5. - Proxy
Url string - Deprecated and ignored. Custom proxy URLs are not supported.
- Responders
[]Opsgenie
Alert Notifier Responder Args - 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
nameif omitted. Immutable after creation. - Source string
- Backlink to the sender of the notification. Supports Go templating.
- []string
- Tags attached to the Opsgenie alert.
- Tls
Insecure boolSkip Verify - 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_ stringpassword - Password for HTTP basic auth when calling the Opsgenie API. Treat as a secret.
- basic_
auth_ stringusername - Username for HTTP basic auth when calling the Opsgenie API. Mutually exclusive with
bearer_token. - bearer_
token string - Bearer token sent in the
Authorizationheader 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, orP5. - proxy_
url string - Deprecated and ignored. 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
nameif omitted. Immutable after creation. - source string
- Backlink to the sender of the notification. Supports Go templating.
- list(string)
- Tags attached to the Opsgenie alert.
- tls_
insecure_ boolskip_ verify - 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 StringPassword - Password for HTTP basic auth when calling the Opsgenie API. Treat as a secret.
- basic
Auth StringUsername - Username for HTTP basic auth when calling the Opsgenie API. Mutually exclusive with
bearer_token. - bearer
Token String - Bearer token sent in the
Authorizationheader 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, orP5. - proxy
Url String - Deprecated and ignored. Custom proxy URLs are not supported.
- responders
List<Opsgenie
Alert Notifier Responder> - Responders that Opsgenie will notify for the alert. See https://docs.opsgenie.com/docs/alert-api for accepted shapes.
- send
Resolved 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
nameif omitted. Immutable after creation. - source String
- Backlink to the sender of the notification. Supports Go templating.
- List<String>
- Tags attached to the Opsgenie alert.
- tls
Insecure BooleanSkip Verify - 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 stringPassword - Password for HTTP basic auth when calling the Opsgenie API. Treat as a secret.
- basic
Auth stringUsername - Username for HTTP basic auth when calling the Opsgenie API. Mutually exclusive with
bearer_token. - bearer
Token string - Bearer token sent in the
Authorizationheader 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, orP5. - proxy
Url string - Deprecated and ignored. Custom proxy URLs are not supported.
- responders
Opsgenie
Alert Notifier Responder[] - Responders that Opsgenie will notify for the alert. See https://docs.opsgenie.com/docs/alert-api for accepted shapes.
- send
Resolved 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
nameif omitted. Immutable after creation. - source string
- Backlink to the sender of the notification. Supports Go templating.
- string[]
- Tags attached to the Opsgenie alert.
- tls
Insecure booleanSkip Verify - 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_ strpassword - Password for HTTP basic auth when calling the Opsgenie API. Treat as a secret.
- basic_
auth_ strusername - Username for HTTP basic auth when calling the Opsgenie API. Mutually exclusive with
bearer_token. - bearer_
token str - Bearer token sent in the
Authorizationheader 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, orP5. - proxy_
url str - Deprecated and ignored. Custom proxy URLs are not supported.
- responders
Sequence[Opsgenie
Alert Notifier Responder Args] - 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
nameif omitted. Immutable after creation. - source str
- Backlink to the sender of the notification. Supports Go templating.
- Sequence[str]
- Tags attached to the Opsgenie alert.
- tls_
insecure_ boolskip_ verify - 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 StringPassword - Password for HTTP basic auth when calling the Opsgenie API. Treat as a secret.
- basic
Auth StringUsername - Username for HTTP basic auth when calling the Opsgenie API. Mutually exclusive with
bearer_token. - bearer
Token String - Bearer token sent in the
Authorizationheader 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, orP5. - proxy
Url String - Deprecated and ignored. 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.
- send
Resolved 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
nameif omitted. Immutable after creation. - source String
- Backlink to the sender of the notification. Supports Go templating.
- List<String>
- Tags attached to the Opsgenie alert.
- tls
Insecure BooleanSkip Verify - 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) -> OpsgenieAlertNotifierfunc 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.
- 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 stringPassword - Password for HTTP basic auth when calling the Opsgenie API. Treat as a secret.
- Basic
Auth stringUsername - Username for HTTP basic auth when calling the Opsgenie API. Mutually exclusive with
bearer_token. - Bearer
Token string - Bearer token sent in the
Authorizationheader 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, orP5. - Proxy
Url string - Deprecated and ignored. Custom proxy URLs are not supported.
- Responders
List<Chronosphere.
Pulumi. Inputs. Opsgenie Alert Notifier Responder> - 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
nameif omitted. Immutable after creation. - Source string
- Backlink to the sender of the notification. Supports Go templating.
- List<string>
- Tags attached to the Opsgenie alert.
- Tls
Insecure boolSkip Verify - 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 stringPassword - Password for HTTP basic auth when calling the Opsgenie API. Treat as a secret.
- Basic
Auth stringUsername - Username for HTTP basic auth when calling the Opsgenie API. Mutually exclusive with
bearer_token. - Bearer
Token string - Bearer token sent in the
Authorizationheader 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, orP5. - Proxy
Url string - Deprecated and ignored. Custom proxy URLs are not supported.
- Responders
[]Opsgenie
Alert Notifier Responder Args - 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
nameif omitted. Immutable after creation. - Source string
- Backlink to the sender of the notification. Supports Go templating.
- []string
- Tags attached to the Opsgenie alert.
- Tls
Insecure boolSkip Verify - 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_ stringpassword - Password for HTTP basic auth when calling the Opsgenie API. Treat as a secret.
- basic_
auth_ stringusername - Username for HTTP basic auth when calling the Opsgenie API. Mutually exclusive with
bearer_token. - bearer_
token string - Bearer token sent in the
Authorizationheader 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, orP5. - proxy_
url string - Deprecated and ignored. 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
nameif omitted. Immutable after creation. - source string
- Backlink to the sender of the notification. Supports Go templating.
- list(string)
- Tags attached to the Opsgenie alert.
- tls_
insecure_ boolskip_ verify - 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 StringPassword - Password for HTTP basic auth when calling the Opsgenie API. Treat as a secret.
- basic
Auth StringUsername - Username for HTTP basic auth when calling the Opsgenie API. Mutually exclusive with
bearer_token. - bearer
Token String - Bearer token sent in the
Authorizationheader 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, orP5. - proxy
Url String - Deprecated and ignored. Custom proxy URLs are not supported.
- responders
List<Opsgenie
Alert Notifier Responder> - Responders that Opsgenie will notify for the alert. See https://docs.opsgenie.com/docs/alert-api for accepted shapes.
- send
Resolved 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
nameif omitted. Immutable after creation. - source String
- Backlink to the sender of the notification. Supports Go templating.
- List<String>
- Tags attached to the Opsgenie alert.
- tls
Insecure BooleanSkip Verify - 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 stringPassword - Password for HTTP basic auth when calling the Opsgenie API. Treat as a secret.
- basic
Auth stringUsername - Username for HTTP basic auth when calling the Opsgenie API. Mutually exclusive with
bearer_token. - bearer
Token string - Bearer token sent in the
Authorizationheader 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, orP5. - proxy
Url string - Deprecated and ignored. Custom proxy URLs are not supported.
- responders
Opsgenie
Alert Notifier Responder[] - Responders that Opsgenie will notify for the alert. See https://docs.opsgenie.com/docs/alert-api for accepted shapes.
- send
Resolved 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
nameif omitted. Immutable after creation. - source string
- Backlink to the sender of the notification. Supports Go templating.
- string[]
- Tags attached to the Opsgenie alert.
- tls
Insecure booleanSkip Verify - 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_ strpassword - Password for HTTP basic auth when calling the Opsgenie API. Treat as a secret.
- basic_
auth_ strusername - Username for HTTP basic auth when calling the Opsgenie API. Mutually exclusive with
bearer_token. - bearer_
token str - Bearer token sent in the
Authorizationheader 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, orP5. - proxy_
url str - Deprecated and ignored. Custom proxy URLs are not supported.
- responders
Sequence[Opsgenie
Alert Notifier Responder Args] - 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
nameif omitted. Immutable after creation. - source str
- Backlink to the sender of the notification. Supports Go templating.
- Sequence[str]
- Tags attached to the Opsgenie alert.
- tls_
insecure_ boolskip_ verify - 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 StringPassword - Password for HTTP basic auth when calling the Opsgenie API. Treat as a secret.
- basic
Auth StringUsername - Username for HTTP basic auth when calling the Opsgenie API. Mutually exclusive with
bearer_token. - bearer
Token String - Bearer token sent in the
Authorizationheader 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, orP5. - proxy
Url String - Deprecated and ignored. 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.
- send
Resolved 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
nameif omitted. Immutable after creation. - source String
- Backlink to the sender of the notification. Supports Go templating.
- List<String>
- Tags attached to the Opsgenie alert.
- tls
Insecure BooleanSkip Verify - If true, skip TLS certificate verification when calling the Opsgenie API. Disable only in trusted environments.
Supporting Types
OpsgenieAlertNotifierResponder, OpsgenieAlertNotifierResponderArgs
Package Details
- Repository
- chronosphere chronosphereio/pulumi-chronosphere
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
chronosphereTerraform Provider.
published on Friday, Jun 5, 2026 by Chronosphere