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 string
- The unique name of the resource.
- args PagerdutyAlertNotifierArgs
- 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 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 string
- The unique name of the resource.
- args PagerdutyAlertNotifierArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PagerdutyAlertNotifierArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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",
});
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"),
})
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());
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")
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",
});
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
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 string
- Severity string
- Url string
- BasicAuth stringPassword 
- BasicAuth stringUsername 
- BearerToken string
- Class string
- Client string
- ClientUrl string
- Component string
- Description string
- Details Dictionary<string, string>
- Group string
- Images
List<Chronosphere.Pulumi. Inputs. Pagerduty Alert Notifier Image> 
- Links
List<Chronosphere.Pulumi. Inputs. Pagerduty Alert Notifier Link> 
- ProxyUrl string
- RoutingKey string
- SendResolved bool
- ServiceKey string
- Slug string
- TlsInsecure boolSkip Verify 
- Name string
- Severity string
- Url string
- BasicAuth stringPassword 
- BasicAuth stringUsername 
- BearerToken string
- Class string
- Client string
- ClientUrl string
- Component string
- Description string
- Details map[string]string
- Group string
- Images
[]PagerdutyAlert Notifier Image Args 
- Links
[]PagerdutyAlert Notifier Link Args 
- ProxyUrl string
- RoutingKey string
- SendResolved bool
- ServiceKey string
- Slug string
- TlsInsecure boolSkip Verify 
- name String
- severity String
- url String
- basicAuth StringPassword 
- basicAuth StringUsername 
- bearerToken String
- class_ String
- client String
- clientUrl String
- component String
- description String
- details Map<String,String>
- group String
- images
List<PagerdutyAlert Notifier Image> 
- links
List<PagerdutyAlert Notifier Link> 
- proxyUrl String
- routingKey String
- sendResolved Boolean
- serviceKey String
- slug String
- tlsInsecure BooleanSkip Verify 
- name string
- severity string
- url string
- basicAuth stringPassword 
- basicAuth stringUsername 
- bearerToken string
- class string
- client string
- clientUrl string
- component string
- description string
- details {[key: string]: string}
- group string
- images
PagerdutyAlert Notifier Image[] 
- links
PagerdutyAlert Notifier Link[] 
- proxyUrl string
- routingKey string
- sendResolved boolean
- serviceKey string
- slug string
- tlsInsecure booleanSkip Verify 
- name str
- severity str
- url str
- basic_auth_ strpassword 
- basic_auth_ strusername 
- bearer_token str
- class_ str
- client str
- client_url str
- component str
- description str
- details Mapping[str, str]
- group str
- images
Sequence[PagerdutyAlert Notifier Image Args] 
- links
Sequence[PagerdutyAlert Notifier Link Args] 
- proxy_url str
- routing_key str
- send_resolved bool
- service_key str
- slug str
- tls_insecure_ boolskip_ verify 
- name String
- severity String
- url String
- basicAuth StringPassword 
- basicAuth StringUsername 
- 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
- routingKey String
- sendResolved Boolean
- serviceKey String
- slug String
- tlsInsecure BooleanSkip Verify 
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) -> PagerdutyAlertNotifierfunc 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
- 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.
- BasicAuth stringPassword 
- BasicAuth stringUsername 
- BearerToken string
- Class string
- Client string
- ClientUrl string
- Component string
- Description string
- Details Dictionary<string, string>
- Group string
- Images
List<Chronosphere.Pulumi. Inputs. Pagerduty Alert Notifier Image> 
- Links
List<Chronosphere.Pulumi. Inputs. Pagerduty Alert Notifier Link> 
- Name string
- ProxyUrl string
- RoutingKey string
- SendResolved bool
- ServiceKey string
- Severity string
- Slug string
- TlsInsecure boolSkip Verify 
- Url string
- BasicAuth stringPassword 
- BasicAuth stringUsername 
- BearerToken string
- Class string
- Client string
- ClientUrl string
- Component string
- Description string
- Details map[string]string
- Group string
- Images
[]PagerdutyAlert Notifier Image Args 
- Links
[]PagerdutyAlert Notifier Link Args 
- Name string
- ProxyUrl string
- RoutingKey string
- SendResolved bool
- ServiceKey string
- Severity string
- Slug string
- TlsInsecure boolSkip Verify 
- Url string
- basicAuth StringPassword 
- basicAuth StringUsername 
- bearerToken String
- class_ String
- client String
- clientUrl String
- component String
- description String
- details Map<String,String>
- group String
- images
List<PagerdutyAlert Notifier Image> 
- links
List<PagerdutyAlert Notifier Link> 
- name String
- proxyUrl String
- routingKey String
- sendResolved Boolean
- serviceKey String
- severity String
- slug String
- tlsInsecure BooleanSkip Verify 
- url String
- basicAuth stringPassword 
- basicAuth stringUsername 
- bearerToken string
- class string
- client string
- clientUrl string
- component string
- description string
- details {[key: string]: string}
- group string
- images
PagerdutyAlert Notifier Image[] 
- links
PagerdutyAlert Notifier Link[] 
- name string
- proxyUrl string
- routingKey string
- sendResolved boolean
- serviceKey string
- severity string
- slug string
- tlsInsecure booleanSkip Verify 
- url string
- basic_auth_ strpassword 
- basic_auth_ strusername 
- bearer_token str
- class_ str
- client str
- client_url str
- component str
- description str
- details Mapping[str, str]
- group str
- images
Sequence[PagerdutyAlert Notifier Image Args] 
- links
Sequence[PagerdutyAlert Notifier Link Args] 
- name str
- proxy_url str
- routing_key str
- send_resolved bool
- service_key str
- severity str
- slug str
- tls_insecure_ boolskip_ verify 
- url str
- basicAuth StringPassword 
- basicAuth StringUsername 
- 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
- routingKey String
- sendResolved Boolean
- serviceKey String
- severity String
- slug String
- tlsInsecure BooleanSkip Verify 
- url String
Supporting Types
PagerdutyAlertNotifierImage, PagerdutyAlertNotifierImageArgs        
PagerdutyAlertNotifierLink, PagerdutyAlertNotifierLinkArgs        
Package Details
- Repository
- chronosphere chronosphereio/pulumi-chronosphere
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the chronosphereTerraform Provider.