1. Packages
  2. Chronosphere
  3. API Docs
  4. WebhookAlertNotifier
Chronosphere v0.9.2 published on Monday, Sep 9, 2024 by Chronosphere

chronosphere.WebhookAlertNotifier

Explore with Pulumi AI

chronosphere logo
Chronosphere v0.9.2 published on Monday, Sep 9, 2024 by Chronosphere

    Create WebhookAlertNotifier Resource

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

    Constructor syntax

    new WebhookAlertNotifier(name: string, args: WebhookAlertNotifierArgs, opts?: CustomResourceOptions);
    @overload
    def WebhookAlertNotifier(resource_name: str,
                             args: WebhookAlertNotifierArgs,
                             opts: Optional[ResourceOptions] = None)
    
    @overload
    def WebhookAlertNotifier(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             name: Optional[str] = None,
                             url: Optional[str] = None,
                             basic_auth_password: Optional[str] = None,
                             basic_auth_username: Optional[str] = None,
                             bearer_token: Optional[str] = None,
                             proxy_url: Optional[str] = None,
                             send_resolved: Optional[bool] = None,
                             slug: Optional[str] = None,
                             tls_insecure_skip_verify: Optional[bool] = None)
    func NewWebhookAlertNotifier(ctx *Context, name string, args WebhookAlertNotifierArgs, opts ...ResourceOption) (*WebhookAlertNotifier, error)
    public WebhookAlertNotifier(string name, WebhookAlertNotifierArgs args, CustomResourceOptions? opts = null)
    public WebhookAlertNotifier(String name, WebhookAlertNotifierArgs args)
    public WebhookAlertNotifier(String name, WebhookAlertNotifierArgs args, CustomResourceOptions options)
    
    type: chronosphere:WebhookAlertNotifier
    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 WebhookAlertNotifierArgs
    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 WebhookAlertNotifierArgs
    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 WebhookAlertNotifierArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args WebhookAlertNotifierArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args WebhookAlertNotifierArgs
    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 webhookAlertNotifierResource = new Pulumi.WebhookAlertNotifier("webhookAlertNotifierResource", new()
    {
        Name = "string",
        Url = "string",
        BasicAuthPassword = "string",
        BasicAuthUsername = "string",
        BearerToken = "string",
        SendResolved = false,
        Slug = "string",
        TlsInsecureSkipVerify = false,
    });
    
    example, err := chronosphere.NewWebhookAlertNotifier(ctx, "webhookAlertNotifierResource", &chronosphere.WebhookAlertNotifierArgs{
    	Name:                  pulumi.String("string"),
    	Url:                   pulumi.String("string"),
    	BasicAuthPassword:     pulumi.String("string"),
    	BasicAuthUsername:     pulumi.String("string"),
    	BearerToken:           pulumi.String("string"),
    	SendResolved:          pulumi.Bool(false),
    	Slug:                  pulumi.String("string"),
    	TlsInsecureSkipVerify: pulumi.Bool(false),
    })
    
    var webhookAlertNotifierResource = new WebhookAlertNotifier("webhookAlertNotifierResource", WebhookAlertNotifierArgs.builder()
        .name("string")
        .url("string")
        .basicAuthPassword("string")
        .basicAuthUsername("string")
        .bearerToken("string")
        .sendResolved(false)
        .slug("string")
        .tlsInsecureSkipVerify(false)
        .build());
    
    webhook_alert_notifier_resource = chronosphere.WebhookAlertNotifier("webhookAlertNotifierResource",
        name="string",
        url="string",
        basic_auth_password="string",
        basic_auth_username="string",
        bearer_token="string",
        send_resolved=False,
        slug="string",
        tls_insecure_skip_verify=False)
    
    const webhookAlertNotifierResource = new chronosphere.WebhookAlertNotifier("webhookAlertNotifierResource", {
        name: "string",
        url: "string",
        basicAuthPassword: "string",
        basicAuthUsername: "string",
        bearerToken: "string",
        sendResolved: false,
        slug: "string",
        tlsInsecureSkipVerify: false,
    });
    
    type: chronosphere:WebhookAlertNotifier
    properties:
        basicAuthPassword: string
        basicAuthUsername: string
        bearerToken: string
        name: string
        sendResolved: false
        slug: string
        tlsInsecureSkipVerify: false
        url: string
    

    WebhookAlertNotifier Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The WebhookAlertNotifier resource accepts the following input properties:

    Name string
    Url string
    BasicAuthPassword string
    BasicAuthUsername string
    BearerToken string
    ProxyUrl string

    Deprecated: custom proxy URLs are not supported

    SendResolved bool
    Slug string
    TlsInsecureSkipVerify bool
    Name string
    Url string
    BasicAuthPassword string
    BasicAuthUsername string
    BearerToken string
    ProxyUrl string

    Deprecated: custom proxy URLs are not supported

    SendResolved bool
    Slug string
    TlsInsecureSkipVerify bool
    name String
    url String
    basicAuthPassword String
    basicAuthUsername String
    bearerToken String
    proxyUrl String

    Deprecated: custom proxy URLs are not supported

    sendResolved Boolean
    slug String
    tlsInsecureSkipVerify Boolean
    name string
    url string
    basicAuthPassword string
    basicAuthUsername string
    bearerToken string
    proxyUrl string

    Deprecated: custom proxy URLs are not supported

    sendResolved boolean
    slug string
    tlsInsecureSkipVerify boolean
    name str
    url str
    basic_auth_password str
    basic_auth_username str
    bearer_token str
    proxy_url str

    Deprecated: custom proxy URLs are not supported

    send_resolved bool
    slug str
    tls_insecure_skip_verify bool
    name String
    url String
    basicAuthPassword String
    basicAuthUsername String
    bearerToken String
    proxyUrl String

    Deprecated: custom proxy URLs are not supported

    sendResolved Boolean
    slug String
    tlsInsecureSkipVerify Boolean

    Outputs

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

    Get an existing WebhookAlertNotifier 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?: WebhookAlertNotifierState, opts?: CustomResourceOptions): WebhookAlertNotifier
    @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,
            name: Optional[str] = None,
            proxy_url: Optional[str] = None,
            send_resolved: Optional[bool] = None,
            slug: Optional[str] = None,
            tls_insecure_skip_verify: Optional[bool] = None,
            url: Optional[str] = None) -> WebhookAlertNotifier
    func GetWebhookAlertNotifier(ctx *Context, name string, id IDInput, state *WebhookAlertNotifierState, opts ...ResourceOption) (*WebhookAlertNotifier, error)
    public static WebhookAlertNotifier Get(string name, Input<string> id, WebhookAlertNotifierState? state, CustomResourceOptions? opts = null)
    public static WebhookAlertNotifier get(String name, Output<String> id, WebhookAlertNotifierState 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
    Name string
    ProxyUrl string

    Deprecated: custom proxy URLs are not supported

    SendResolved bool
    Slug string
    TlsInsecureSkipVerify bool
    Url string
    BasicAuthPassword string
    BasicAuthUsername string
    BearerToken string
    Name string
    ProxyUrl string

    Deprecated: custom proxy URLs are not supported

    SendResolved bool
    Slug string
    TlsInsecureSkipVerify bool
    Url string
    basicAuthPassword String
    basicAuthUsername String
    bearerToken String
    name String
    proxyUrl String

    Deprecated: custom proxy URLs are not supported

    sendResolved Boolean
    slug String
    tlsInsecureSkipVerify Boolean
    url String
    basicAuthPassword string
    basicAuthUsername string
    bearerToken string
    name string
    proxyUrl string

    Deprecated: custom proxy URLs are not supported

    sendResolved boolean
    slug string
    tlsInsecureSkipVerify boolean
    url string
    basic_auth_password str
    basic_auth_username str
    bearer_token str
    name str
    proxy_url str

    Deprecated: custom proxy URLs are not supported

    send_resolved bool
    slug str
    tls_insecure_skip_verify bool
    url str
    basicAuthPassword String
    basicAuthUsername String
    bearerToken String
    name String
    proxyUrl String

    Deprecated: custom proxy URLs are not supported

    sendResolved Boolean
    slug String
    tlsInsecureSkipVerify Boolean
    url 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.2 published on Monday, Sep 9, 2024 by Chronosphere