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

chronosphere.PagerdutyAlertNotifier

Explore with Pulumi AI

Create PagerdutyAlertNotifier Resource

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

Constructor syntax

new PagerdutyAlertNotifier(name: string, args: PagerdutyAlertNotifierArgs, opts?: CustomResourceOptions);
@overload
def PagerdutyAlertNotifier(resource_name: str,
                           args: PagerdutyAlertNotifierArgs,
                           opts: Optional[ResourceOptions] = None)

@overload
def PagerdutyAlertNotifier(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           name: Optional[str] = None,
                           url: Optional[str] = None,
                           severity: Optional[str] = None,
                           images: Optional[Sequence[PagerdutyAlertNotifierImageArgs]] = None,
                           class_: Optional[str] = None,
                           client_url: Optional[str] = None,
                           component: Optional[str] = None,
                           description: Optional[str] = None,
                           details: Optional[Mapping[str, str]] = None,
                           group: Optional[str] = None,
                           basic_auth_password: Optional[str] = None,
                           links: Optional[Sequence[PagerdutyAlertNotifierLinkArgs]] = None,
                           client: Optional[str] = None,
                           proxy_url: Optional[str] = None,
                           routing_key: Optional[str] = None,
                           send_resolved: Optional[bool] = None,
                           service_key: Optional[str] = None,
                           bearer_token: Optional[str] = None,
                           slug: Optional[str] = None,
                           tls_insecure_skip_verify: Optional[bool] = None,
                           basic_auth_username: Optional[str] = None)
func NewPagerdutyAlertNotifier(ctx *Context, name string, args PagerdutyAlertNotifierArgs, opts ...ResourceOption) (*PagerdutyAlertNotifier, error)
public PagerdutyAlertNotifier(string name, PagerdutyAlertNotifierArgs args, CustomResourceOptions? opts = null)
public PagerdutyAlertNotifier(String name, PagerdutyAlertNotifierArgs args)
public PagerdutyAlertNotifier(String name, PagerdutyAlertNotifierArgs args, CustomResourceOptions options)
type: chronosphere:PagerdutyAlertNotifier
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. PagerdutyAlertNotifierArgs
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. PagerdutyAlertNotifierArgs
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. PagerdutyAlertNotifierArgs
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. PagerdutyAlertNotifierArgs
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. PagerdutyAlertNotifierArgs
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 pagerdutyAlertNotifierResource = new Pulumi.PagerdutyAlertNotifier("pagerdutyAlertNotifierResource", new()
{
    Name = "string",
    Url = "string",
    Severity = "string",
    Images = new[]
    {
        new Pulumi.Inputs.PagerdutyAlertNotifierImageArgs
        {
            Src = "string",
            Alt = "string",
            Href = "string",
        },
    },
    Class = "string",
    ClientUrl = "string",
    Component = "string",
    Description = "string",
    Details = 
    {
        { "string", "string" },
    },
    Group = "string",
    BasicAuthPassword = "string",
    Links = new[]
    {
        new Pulumi.Inputs.PagerdutyAlertNotifierLinkArgs
        {
            Href = "string",
            Text = "string",
        },
    },
    Client = "string",
    RoutingKey = "string",
    SendResolved = false,
    ServiceKey = "string",
    BearerToken = "string",
    Slug = "string",
    TlsInsecureSkipVerify = false,
    BasicAuthUsername = "string",
});
Copy
example, err := chronosphere.NewPagerdutyAlertNotifier(ctx, "pagerdutyAlertNotifierResource", &chronosphere.PagerdutyAlertNotifierArgs{
	Name:     pulumi.String("string"),
	Url:      pulumi.String("string"),
	Severity: pulumi.String("string"),
	Images: chronosphere.PagerdutyAlertNotifierImageArray{
		&chronosphere.PagerdutyAlertNotifierImageArgs{
			Src:  pulumi.String("string"),
			Alt:  pulumi.String("string"),
			Href: pulumi.String("string"),
		},
	},
	Class:       pulumi.String("string"),
	ClientUrl:   pulumi.String("string"),
	Component:   pulumi.String("string"),
	Description: pulumi.String("string"),
	Details: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	Group:             pulumi.String("string"),
	BasicAuthPassword: pulumi.String("string"),
	Links: chronosphere.PagerdutyAlertNotifierLinkArray{
		&chronosphere.PagerdutyAlertNotifierLinkArgs{
			Href: pulumi.String("string"),
			Text: pulumi.String("string"),
		},
	},
	Client:                pulumi.String("string"),
	RoutingKey:            pulumi.String("string"),
	SendResolved:          pulumi.Bool(false),
	ServiceKey:            pulumi.String("string"),
	BearerToken:           pulumi.String("string"),
	Slug:                  pulumi.String("string"),
	TlsInsecureSkipVerify: pulumi.Bool(false),
	BasicAuthUsername:     pulumi.String("string"),
})
Copy
var pagerdutyAlertNotifierResource = new PagerdutyAlertNotifier("pagerdutyAlertNotifierResource", PagerdutyAlertNotifierArgs.builder()
    .name("string")
    .url("string")
    .severity("string")
    .images(PagerdutyAlertNotifierImageArgs.builder()
        .src("string")
        .alt("string")
        .href("string")
        .build())
    .class_("string")
    .clientUrl("string")
    .component("string")
    .description("string")
    .details(Map.of("string", "string"))
    .group("string")
    .basicAuthPassword("string")
    .links(PagerdutyAlertNotifierLinkArgs.builder()
        .href("string")
        .text("string")
        .build())
    .client("string")
    .routingKey("string")
    .sendResolved(false)
    .serviceKey("string")
    .bearerToken("string")
    .slug("string")
    .tlsInsecureSkipVerify(false)
    .basicAuthUsername("string")
    .build());
Copy
pagerduty_alert_notifier_resource = chronosphere.PagerdutyAlertNotifier("pagerdutyAlertNotifierResource",
    name="string",
    url="string",
    severity="string",
    images=[{
        "src": "string",
        "alt": "string",
        "href": "string",
    }],
    class_="string",
    client_url="string",
    component="string",
    description="string",
    details={
        "string": "string",
    },
    group="string",
    basic_auth_password="string",
    links=[{
        "href": "string",
        "text": "string",
    }],
    client="string",
    routing_key="string",
    send_resolved=False,
    service_key="string",
    bearer_token="string",
    slug="string",
    tls_insecure_skip_verify=False,
    basic_auth_username="string")
Copy
const pagerdutyAlertNotifierResource = new chronosphere.PagerdutyAlertNotifier("pagerdutyAlertNotifierResource", {
    name: "string",
    url: "string",
    severity: "string",
    images: [{
        src: "string",
        alt: "string",
        href: "string",
    }],
    "class": "string",
    clientUrl: "string",
    component: "string",
    description: "string",
    details: {
        string: "string",
    },
    group: "string",
    basicAuthPassword: "string",
    links: [{
        href: "string",
        text: "string",
    }],
    client: "string",
    routingKey: "string",
    sendResolved: false,
    serviceKey: "string",
    bearerToken: "string",
    slug: "string",
    tlsInsecureSkipVerify: false,
    basicAuthUsername: "string",
});
Copy
type: chronosphere:PagerdutyAlertNotifier
properties:
    basicAuthPassword: string
    basicAuthUsername: string
    bearerToken: string
    class: string
    client: string
    clientUrl: string
    component: string
    description: string
    details:
        string: string
    group: string
    images:
        - alt: string
          href: string
          src: string
    links:
        - href: string
          text: string
    name: string
    routingKey: string
    sendResolved: false
    serviceKey: string
    severity: string
    slug: string
    tlsInsecureSkipVerify: false
    url: string
Copy

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

Name This property is required. string
Severity This property is required. string
Url This property is required. string
BasicAuthPassword string
BasicAuthUsername string
BearerToken string
Class string
Client string
ClientUrl string
Component string
Description string
Details Dictionary<string, string>
Group string
Images List<Chronosphere.Pulumi.Inputs.PagerdutyAlertNotifierImage>
Links List<Chronosphere.Pulumi.Inputs.PagerdutyAlertNotifierLink>
ProxyUrl string

Deprecated: custom proxy URLs are not supported

RoutingKey string
SendResolved bool
ServiceKey string
Slug Changes to this property will trigger replacement. string
TlsInsecureSkipVerify bool
Name This property is required. string
Severity This property is required. string
Url This property is required. string
BasicAuthPassword string
BasicAuthUsername string
BearerToken string
Class string
Client string
ClientUrl string
Component string
Description string
Details map[string]string
Group string
Images []PagerdutyAlertNotifierImageArgs
Links []PagerdutyAlertNotifierLinkArgs
ProxyUrl string

Deprecated: custom proxy URLs are not supported

RoutingKey string
SendResolved bool
ServiceKey string
Slug Changes to this property will trigger replacement. string
TlsInsecureSkipVerify bool
name This property is required. String
severity This property is required. String
url This property is required. String
basicAuthPassword String
basicAuthUsername String
bearerToken String
class_ String
client String
clientUrl String
component String
description String
details Map<String,String>
group String
images List<PagerdutyAlertNotifierImage>
links List<PagerdutyAlertNotifierLink>
proxyUrl String

Deprecated: custom proxy URLs are not supported

routingKey String
sendResolved Boolean
serviceKey String
slug Changes to this property will trigger replacement. String
tlsInsecureSkipVerify Boolean
name This property is required. string
severity This property is required. string
url This property is required. string
basicAuthPassword string
basicAuthUsername string
bearerToken string
class string
client string
clientUrl string
component string
description string
details {[key: string]: string}
group string
images PagerdutyAlertNotifierImage[]
links PagerdutyAlertNotifierLink[]
proxyUrl string

Deprecated: custom proxy URLs are not supported

routingKey string
sendResolved boolean
serviceKey string
slug Changes to this property will trigger replacement. string
tlsInsecureSkipVerify boolean
name This property is required. str
severity This property is required. str
url This property is required. str
basic_auth_password str
basic_auth_username str
bearer_token str
class_ str
client str
client_url str
component str
description str
details Mapping[str, str]
group str
images Sequence[PagerdutyAlertNotifierImageArgs]
links Sequence[PagerdutyAlertNotifierLinkArgs]
proxy_url str

Deprecated: custom proxy URLs are not supported

routing_key str
send_resolved bool
service_key str
slug Changes to this property will trigger replacement. str
tls_insecure_skip_verify bool
name This property is required. String
severity This property is required. String
url This property is required. String
basicAuthPassword String
basicAuthUsername String
bearerToken String
class String
client String
clientUrl String
component String
description String
details Map<String>
group String
images List<Property Map>
links List<Property Map>
proxyUrl String

Deprecated: custom proxy URLs are not supported

routingKey String
sendResolved Boolean
serviceKey String
slug Changes to this property will trigger replacement. String
tlsInsecureSkipVerify Boolean

Outputs

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

Get an existing PagerdutyAlertNotifier 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?: PagerdutyAlertNotifierState, opts?: CustomResourceOptions): PagerdutyAlertNotifier
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        basic_auth_password: Optional[str] = None,
        basic_auth_username: Optional[str] = None,
        bearer_token: Optional[str] = None,
        class_: Optional[str] = None,
        client: Optional[str] = None,
        client_url: Optional[str] = None,
        component: Optional[str] = None,
        description: Optional[str] = None,
        details: Optional[Mapping[str, str]] = None,
        group: Optional[str] = None,
        images: Optional[Sequence[PagerdutyAlertNotifierImageArgs]] = None,
        links: Optional[Sequence[PagerdutyAlertNotifierLinkArgs]] = None,
        name: Optional[str] = None,
        proxy_url: Optional[str] = None,
        routing_key: Optional[str] = None,
        send_resolved: Optional[bool] = None,
        service_key: Optional[str] = None,
        severity: Optional[str] = None,
        slug: Optional[str] = None,
        tls_insecure_skip_verify: Optional[bool] = None,
        url: Optional[str] = None) -> PagerdutyAlertNotifier
func GetPagerdutyAlertNotifier(ctx *Context, name string, id IDInput, state *PagerdutyAlertNotifierState, opts ...ResourceOption) (*PagerdutyAlertNotifier, error)
public static PagerdutyAlertNotifier Get(string name, Input<string> id, PagerdutyAlertNotifierState? state, CustomResourceOptions? opts = null)
public static PagerdutyAlertNotifier get(String name, Output<String> id, PagerdutyAlertNotifierState state, CustomResourceOptions options)
resources:  _:    type: chronosphere:PagerdutyAlertNotifier    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:
BasicAuthPassword string
BasicAuthUsername string
BearerToken string
Class string
Client string
ClientUrl string
Component string
Description string
Details Dictionary<string, string>
Group string
Images List<Chronosphere.Pulumi.Inputs.PagerdutyAlertNotifierImage>
Links List<Chronosphere.Pulumi.Inputs.PagerdutyAlertNotifierLink>
Name string
ProxyUrl string

Deprecated: custom proxy URLs are not supported

RoutingKey string
SendResolved bool
ServiceKey string
Severity string
Slug Changes to this property will trigger replacement. string
TlsInsecureSkipVerify bool
Url string
BasicAuthPassword string
BasicAuthUsername string
BearerToken string
Class string
Client string
ClientUrl string
Component string
Description string
Details map[string]string
Group string
Images []PagerdutyAlertNotifierImageArgs
Links []PagerdutyAlertNotifierLinkArgs
Name string
ProxyUrl string

Deprecated: custom proxy URLs are not supported

RoutingKey string
SendResolved bool
ServiceKey string
Severity string
Slug Changes to this property will trigger replacement. string
TlsInsecureSkipVerify bool
Url string
basicAuthPassword String
basicAuthUsername String
bearerToken String
class_ String
client String
clientUrl String
component String
description String
details Map<String,String>
group String
images List<PagerdutyAlertNotifierImage>
links List<PagerdutyAlertNotifierLink>
name String
proxyUrl String

Deprecated: custom proxy URLs are not supported

routingKey String
sendResolved Boolean
serviceKey String
severity String
slug Changes to this property will trigger replacement. String
tlsInsecureSkipVerify Boolean
url String
basicAuthPassword string
basicAuthUsername string
bearerToken string
class string
client string
clientUrl string
component string
description string
details {[key: string]: string}
group string
images PagerdutyAlertNotifierImage[]
links PagerdutyAlertNotifierLink[]
name string
proxyUrl string

Deprecated: custom proxy URLs are not supported

routingKey string
sendResolved boolean
serviceKey string
severity string
slug Changes to this property will trigger replacement. string
tlsInsecureSkipVerify boolean
url string
basic_auth_password str
basic_auth_username str
bearer_token str
class_ str
client str
client_url str
component str
description str
details Mapping[str, str]
group str
images Sequence[PagerdutyAlertNotifierImageArgs]
links Sequence[PagerdutyAlertNotifierLinkArgs]
name str
proxy_url str

Deprecated: custom proxy URLs are not supported

routing_key str
send_resolved bool
service_key str
severity str
slug Changes to this property will trigger replacement. str
tls_insecure_skip_verify bool
url str
basicAuthPassword String
basicAuthUsername String
bearerToken String
class String
client String
clientUrl String
component String
description String
details Map<String>
group String
images List<Property Map>
links List<Property Map>
name String
proxyUrl String

Deprecated: custom proxy URLs are not supported

routingKey String
sendResolved Boolean
serviceKey String
severity String
slug Changes to this property will trigger replacement. String
tlsInsecureSkipVerify Boolean
url String

Supporting Types

PagerdutyAlertNotifierImage
, PagerdutyAlertNotifierImageArgs

Src This property is required. string
Alt string
Href string
Src This property is required. string
Alt string
Href string
src This property is required. String
alt String
href String
src This property is required. string
alt string
href string
src This property is required. str
alt str
href str
src This property is required. String
alt String
href String
Href This property is required. string
Text string
Href This property is required. string
Text string
href This property is required. String
text String
href This property is required. string
text string
href This property is required. str
text str
href This property is required. String
text String

Package Details

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