UptimeCheckArgs

data class UptimeCheckArgs(val enabled: Output<Boolean>? = null, val name: Output<String>? = null, val regions: Output<List<String>>? = null, val target: Output<String>? = null, val type: Output<String>? = null) : ConvertibleToJava<UptimeCheckArgs>

Provides a DigitalOcean Uptime Checks resource. Uptime Checks provide the ability to monitor your endpoints from around the world, and alert you when they're slow, unavailable, or SSL certificates are expiring.

Import

Uptime checks can be imported using the uptime check's id, e.g.

$ pulumi import digitalocean:index/uptimeCheck:UptimeCheck target 5a4981aa-9653-4bd1-bef5-d6bff52042e4

Constructors

Link copied to clipboard
constructor(enabled: Output<Boolean>? = null, name: Output<String>? = null, regions: Output<List<String>>? = null, target: Output<String>? = null, type: Output<String>? = null)

Properties

Link copied to clipboard
val enabled: Output<Boolean>? = null

A boolean value indicating whether the check is enabled/disabled.

Link copied to clipboard
val name: Output<String>? = null

A human-friendly display name for the check.

Link copied to clipboard
val regions: Output<List<String>>? = null

An array containing the selected regions to perform healthchecks from: "us_east", "us_west", "eu_west", "se_asia"

Link copied to clipboard
val target: Output<String>? = null

The endpoint to perform healthchecks on.

Link copied to clipboard
val type: Output<String>? = null

The type of health check to perform: 'ping' 'http' 'https'.

Functions

Link copied to clipboard
open override fun toJava(): UptimeCheckArgs