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

chronosphere.EmailAlertNotifier

Explore with Pulumi AI

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 This property is required. string
The unique name of the resource.
args This property is required. EmailAlertNotifierArgs
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. 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 This property is required. string
The unique name of the resource.
args This property is required. EmailAlertNotifierArgs
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. EmailAlertNotifierArgs
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. 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",
});
Copy
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"),
})
Copy
var emailAlertNotifierResource = new EmailAlertNotifier("emailAlertNotifierResource", EmailAlertNotifierArgs.builder()
    .name("string")
    .to("string")
    .html("string")
    .sendResolved(false)
    .slug("string")
    .text("string")
    .build());
Copy
email_alert_notifier_resource = chronosphere.EmailAlertNotifier("emailAlertNotifierResource",
    name="string",
    to="string",
    html="string",
    send_resolved=False,
    slug="string",
    text="string")
Copy
const emailAlertNotifierResource = new chronosphere.EmailAlertNotifier("emailAlertNotifierResource", {
    name: "string",
    to: "string",
    html: "string",
    sendResolved: false,
    slug: "string",
    text: "string",
});
Copy
type: chronosphere:EmailAlertNotifier
properties:
    html: string
    name: string
    sendResolved: false
    slug: string
    text: string
    to: string
Copy

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 This property is required. string
To This property is required. string
Html string
SendResolved bool
Slug Changes to this property will trigger replacement. string
Text string
Name This property is required. string
To This property is required. string
Html string
SendResolved bool
Slug Changes to this property will trigger replacement. string
Text string
name This property is required. String
to This property is required. String
html String
sendResolved Boolean
slug Changes to this property will trigger replacement. String
text String
name This property is required. string
to This property is required. string
html string
sendResolved boolean
slug Changes to this property will trigger replacement. string
text string
name This property is required. str
to This property is required. str
html str
send_resolved bool
slug Changes to this property will trigger replacement. str
text str
name This property is required. String
to This property is required. String
html String
sendResolved Boolean
slug Changes to this property will trigger replacement. 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)
resources:  _:    type: chronosphere:EmailAlertNotifier    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:
Html string
Name string
SendResolved bool
Slug Changes to this property will trigger replacement. string
Text string
To string
Html string
Name string
SendResolved bool
Slug Changes to this property will trigger replacement. string
Text string
To string
html String
name String
sendResolved Boolean
slug Changes to this property will trigger replacement. String
text String
to String
html string
name string
sendResolved boolean
slug Changes to this property will trigger replacement. string
text string
to string
html str
name str
send_resolved bool
slug Changes to this property will trigger replacement. str
text str
to str
html String
name String
sendResolved Boolean
slug Changes to this property will trigger replacement. 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.