1. Packages
  2. Chronosphere
  3. API Docs
  4. OpsgenieAlertNotifier
Chronosphere v0.9.8 published on Thursday, Apr 3, 2025 by Chronosphere

chronosphere.OpsgenieAlertNotifier

Explore with Pulumi AI

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.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. OpsgenieAlertNotifierArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. 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 This property is required. string
The unique name of the resource.
args This property is required. OpsgenieAlertNotifierArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. OpsgenieAlertNotifierArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. 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,
});
Copy
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),
})
Copy
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());
Copy
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)
Copy
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,
});
Copy
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
Copy

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 This property is required. string
Name This property is required. string
ApiUrl string
BasicAuthPassword string
BasicAuthUsername string
BearerToken string
Description string
Details Dictionary<string, string>
Message string
Note string
Priority string
ProxyUrl string

Deprecated: custom proxy URLs are not supported

Responders List<Chronosphere.Pulumi.Inputs.OpsgenieAlertNotifierResponder>
SendResolved bool
Slug Changes to this property will trigger replacement. string
Source string
Tags List<string>
TlsInsecureSkipVerify bool
ApiKey This property is required. string
Name This property is required. string
ApiUrl string
BasicAuthPassword string
BasicAuthUsername string
BearerToken string
Description string
Details map[string]string
Message string
Note string
Priority string
ProxyUrl string

Deprecated: custom proxy URLs are not supported

Responders []OpsgenieAlertNotifierResponderArgs
SendResolved bool
Slug Changes to this property will trigger replacement. string
Source string
Tags []string
TlsInsecureSkipVerify bool
apiKey This property is required. String
name This property is required. String
apiUrl String
basicAuthPassword String
basicAuthUsername String
bearerToken String
description String
details Map<String,String>
message String
note String
priority String
proxyUrl String

Deprecated: custom proxy URLs are not supported

responders List<OpsgenieAlertNotifierResponder>
sendResolved Boolean
slug Changes to this property will trigger replacement. String
source String
tags List<String>
tlsInsecureSkipVerify Boolean
apiKey This property is required. string
name This property is required. string
apiUrl string
basicAuthPassword string
basicAuthUsername string
bearerToken string
description string
details {[key: string]: string}
message string
note string
priority string
proxyUrl string

Deprecated: custom proxy URLs are not supported

responders OpsgenieAlertNotifierResponder[]
sendResolved boolean
slug Changes to this property will trigger replacement. string
source string
tags string[]
tlsInsecureSkipVerify boolean
api_key This property is required. str
name This property is required. str
api_url str
basic_auth_password str
basic_auth_username str
bearer_token str
description str
details Mapping[str, str]
message str
note str
priority str
proxy_url str

Deprecated: custom proxy URLs are not supported

responders Sequence[OpsgenieAlertNotifierResponderArgs]
send_resolved bool
slug Changes to this property will trigger replacement. str
source str
tags Sequence[str]
tls_insecure_skip_verify bool
apiKey This property is required. String
name This property is required. String
apiUrl String
basicAuthPassword String
basicAuthUsername String
bearerToken String
description String
details Map<String>
message String
note String
priority String
proxyUrl String

Deprecated: custom proxy URLs are not supported

responders List<Property Map>
sendResolved Boolean
slug Changes to this property will trigger replacement. String
source String
tags List<String>
tlsInsecureSkipVerify Boolean

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 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}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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
ApiUrl string
BasicAuthPassword string
BasicAuthUsername string
BearerToken string
Description string
Details Dictionary<string, string>
Message string
Name string
Note string
Priority string
ProxyUrl string

Deprecated: custom proxy URLs are not supported

Responders List<Chronosphere.Pulumi.Inputs.OpsgenieAlertNotifierResponder>
SendResolved bool
Slug Changes to this property will trigger replacement. string
Source string
Tags List<string>
TlsInsecureSkipVerify bool
ApiKey string
ApiUrl string
BasicAuthPassword string
BasicAuthUsername string
BearerToken string
Description string
Details map[string]string
Message string
Name string
Note string
Priority string
ProxyUrl string

Deprecated: custom proxy URLs are not supported

Responders []OpsgenieAlertNotifierResponderArgs
SendResolved bool
Slug Changes to this property will trigger replacement. string
Source string
Tags []string
TlsInsecureSkipVerify bool
apiKey String
apiUrl String
basicAuthPassword String
basicAuthUsername String
bearerToken String
description String
details Map<String,String>
message String
name String
note String
priority String
proxyUrl String

Deprecated: custom proxy URLs are not supported

responders List<OpsgenieAlertNotifierResponder>
sendResolved Boolean
slug Changes to this property will trigger replacement. String
source String
tags List<String>
tlsInsecureSkipVerify Boolean
apiKey string
apiUrl string
basicAuthPassword string
basicAuthUsername string
bearerToken string
description string
details {[key: string]: string}
message string
name string
note string
priority string
proxyUrl string

Deprecated: custom proxy URLs are not supported

responders OpsgenieAlertNotifierResponder[]
sendResolved boolean
slug Changes to this property will trigger replacement. string
source string
tags string[]
tlsInsecureSkipVerify boolean
api_key str
api_url str
basic_auth_password str
basic_auth_username str
bearer_token str
description str
details Mapping[str, str]
message str
name str
note str
priority str
proxy_url str

Deprecated: custom proxy URLs are not supported

responders Sequence[OpsgenieAlertNotifierResponderArgs]
send_resolved bool
slug Changes to this property will trigger replacement. str
source str
tags Sequence[str]
tls_insecure_skip_verify bool
apiKey String
apiUrl String
basicAuthPassword String
basicAuthUsername String
bearerToken String
description String
details Map<String>
message String
name String
note String
priority String
proxyUrl String

Deprecated: custom proxy URLs are not supported

responders List<Property Map>
sendResolved Boolean
slug Changes to this property will trigger replacement. String
source String
tags List<String>
tlsInsecureSkipVerify Boolean

Supporting Types

OpsgenieAlertNotifierResponder
, OpsgenieAlertNotifierResponderArgs

Type This property is required. string
Id string
Name string
Username string
Type This property is required. string
Id string
Name string
Username string
type This property is required. String
id String
name String
username String
type This property is required. string
id string
name string
username string
type This property is required. str
id str
name str
username str
type This property is required. String
id String
name String
username String

Package Details

Repository
chronosphere chronosphereio/pulumi-chronosphere
License
Apache-2.0
Notes
This Pulumi package is based on the chronosphere Terraform Provider.