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

chronosphere.EmailAlertNotifier

Explore with Pulumi AI

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

    Create EmailAlertNotifier Resource

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

    Constructor syntax

    new EmailAlertNotifier(name: string, args: EmailAlertNotifierArgs, opts?: CustomResourceOptions);
    @overload
    def EmailAlertNotifier(resource_name: str,
                           args: EmailAlertNotifierArgs,
                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def EmailAlertNotifier(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           name: Optional[str] = None,
                           to: Optional[str] = None,
                           html: Optional[str] = None,
                           send_resolved: Optional[bool] = None,
                           slug: Optional[str] = None,
                           text: Optional[str] = None)
    func NewEmailAlertNotifier(ctx *Context, name string, args EmailAlertNotifierArgs, opts ...ResourceOption) (*EmailAlertNotifier, error)
    public EmailAlertNotifier(string name, EmailAlertNotifierArgs args, CustomResourceOptions? opts = null)
    public EmailAlertNotifier(String name, EmailAlertNotifierArgs args)
    public EmailAlertNotifier(String name, EmailAlertNotifierArgs args, CustomResourceOptions options)
    
    type: chronosphere:EmailAlertNotifier
    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 EmailAlertNotifierArgs
    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 EmailAlertNotifierArgs
    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 EmailAlertNotifierArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args EmailAlertNotifierArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args EmailAlertNotifierArgs
    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 emailAlertNotifierResource = new Pulumi.EmailAlertNotifier("emailAlertNotifierResource", new()
    {
        Name = "string",
        To = "string",
        Html = "string",
        SendResolved = false,
        Slug = "string",
        Text = "string",
    });
    
    example, err := chronosphere.NewEmailAlertNotifier(ctx, "emailAlertNotifierResource", &chronosphere.EmailAlertNotifierArgs{
    	Name:         pulumi.String("string"),
    	To:           pulumi.String("string"),
    	Html:         pulumi.String("string"),
    	SendResolved: pulumi.Bool(false),
    	Slug:         pulumi.String("string"),
    	Text:         pulumi.String("string"),
    })
    
    var emailAlertNotifierResource = new EmailAlertNotifier("emailAlertNotifierResource", EmailAlertNotifierArgs.builder()
        .name("string")
        .to("string")
        .html("string")
        .sendResolved(false)
        .slug("string")
        .text("string")
        .build());
    
    email_alert_notifier_resource = chronosphere.EmailAlertNotifier("emailAlertNotifierResource",
        name="string",
        to="string",
        html="string",
        send_resolved=False,
        slug="string",
        text="string")
    
    const emailAlertNotifierResource = new chronosphere.EmailAlertNotifier("emailAlertNotifierResource", {
        name: "string",
        to: "string",
        html: "string",
        sendResolved: false,
        slug: "string",
        text: "string",
    });
    
    type: chronosphere:EmailAlertNotifier
    properties:
        html: string
        name: string
        sendResolved: false
        slug: string
        text: string
        to: string
    

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

    Name string
    To string
    Html string
    SendResolved bool
    Slug string
    Text string
    Name string
    To string
    Html string
    SendResolved bool
    Slug string
    Text string
    name String
    to String
    html String
    sendResolved Boolean
    slug String
    text String
    name string
    to string
    html string
    sendResolved boolean
    slug string
    text string
    name str
    to str
    html str
    send_resolved bool
    slug str
    text str
    name String
    to String
    html String
    sendResolved Boolean
    slug String
    text String

    Outputs

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

    Get an existing EmailAlertNotifier 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?: EmailAlertNotifierState, opts?: CustomResourceOptions): EmailAlertNotifier
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            html: Optional[str] = None,
            name: Optional[str] = None,
            send_resolved: Optional[bool] = None,
            slug: Optional[str] = None,
            text: Optional[str] = None,
            to: Optional[str] = None) -> EmailAlertNotifier
    func GetEmailAlertNotifier(ctx *Context, name string, id IDInput, state *EmailAlertNotifierState, opts ...ResourceOption) (*EmailAlertNotifier, error)
    public static EmailAlertNotifier Get(string name, Input<string> id, EmailAlertNotifierState? state, CustomResourceOptions? opts = null)
    public static EmailAlertNotifier get(String name, Output<String> id, EmailAlertNotifierState 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:
    Html string
    Name string
    SendResolved bool
    Slug string
    Text string
    To string
    Html string
    Name string
    SendResolved bool
    Slug string
    Text string
    To string
    html String
    name String
    sendResolved Boolean
    slug String
    text String
    to String
    html string
    name string
    sendResolved boolean
    slug string
    text string
    to string
    html str
    name str
    send_resolved bool
    slug str
    text str
    to str
    html String
    name String
    sendResolved Boolean
    slug String
    text String
    to 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