UptimeAlert

class UptimeAlert : KotlinCustomResource

Provides a DigitalOcean Uptime Alerts resource. Uptime Alerts provide the ability to add alerts to your DigitalOcean Uptime Checks when your endpoints are slow, unavailable, or SSL certificates are expiring.

Import

Uptime alerts can be imported using both the ID of the alert's parent check and its own separated by a comma in the format: check_id,alert_id. For example:

$ pulumi import digitalocean:index/uptimeAlert:UptimeAlert target 94a7d216-d821-11ee-a327-33d3239ffc4b,5a4981aa-9653-4bd1-bef5-d6bff52042e4

Properties

Link copied to clipboard
val checkId: Output<String>

A unique identifier for a check

Link copied to clipboard
val comparison: Output<String>?

The comparison operator used against the alert's threshold. Must be one of greater_than or less_than.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val name: Output<String>

A human-friendly display name.

Link copied to clipboard

The notification settings for a trigger alert.

Link copied to clipboard
val period: Output<String>?

Period of time the threshold must be exceeded to trigger the alert. Must be one of 2m, 3m, 5m, 10m, 15m, 30m or 1h.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val threshold: Output<Int>?

The threshold at which the alert will enter a trigger state. The specific threshold is dependent on the alert type.

Link copied to clipboard
val type: Output<String>

The type of health check to perform. Must be one of latency, down, down_global or ssl_expiry.

Link copied to clipboard
val urn: Output<String>