1. Packages
  2. Chronosphere
  3. API Docs
  4. PagerdutyAlertNotifier
Chronosphere v0.9.3 published on Tuesday, Oct 8, 2024 by Chronosphere

chronosphere.PagerdutyAlertNotifier

Explore with Pulumi AI

chronosphere logo
Chronosphere v0.9.3 published on Tuesday, Oct 8, 2024 by Chronosphere

    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
    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 string
    TlsInsecureSkipVerify bool
    name String
    severity String
    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>
    proxyUrl String

    Deprecated: custom proxy URLs are not supported

    routingKey String
    sendResolved Boolean
    serviceKey String
    slug String
    tlsInsecureSkipVerify Boolean
    name string
    severity string
    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[]
    proxyUrl string

    Deprecated: custom proxy URLs are not supported

    routingKey string
    sendResolved boolean
    serviceKey string
    slug string
    tlsInsecureSkipVerify boolean
    name String
    severity String
    url 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 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)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    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 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 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 string
    tlsInsecureSkipVerify boolean
    url 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>
    name String
    proxyUrl String

    Deprecated: custom proxy URLs are not supported

    routingKey String
    sendResolved Boolean
    serviceKey String
    severity String
    slug String
    tlsInsecureSkipVerify Boolean
    url String

    Supporting Types

    PagerdutyAlertNotifierImage, PagerdutyAlertNotifierImageArgs

    Src string
    Alt string
    Href string
    Src string
    Alt string
    Href string
    src String
    alt String
    href String
    src string
    alt string
    href string
    src str
    alt str
    href str
    src String
    alt String
    href String
    Href string
    Text string
    Href string
    Text string
    href String
    text String
    href string
    text string
    href str
    text str
    href 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.
    chronosphere logo
    Chronosphere v0.9.3 published on Tuesday, Oct 8, 2024 by Chronosphere