import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Heartbeats allows you to monitor your cron jobs and set up alerting, so you get a notification when things break or slow down. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as checkly from "@checkly/pulumi"; * * const example_heartbeat_monitor = new checkly.HeartbeatMonitor("example-heartbeat-monitor", { * name: "Example heartbeat monitor", * activated: true, * heartbeat: { * period: 7, * periodUnit: "days", * grace: 1, * graceUnit: "days", * }, * useGlobalAlertSettings: true, * }); * ``` */ export declare class HeartbeatMonitor extends pulumi.CustomResource { /** * Get an existing HeartbeatMonitor resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: HeartbeatMonitorState, opts?: pulumi.CustomResourceOptions): HeartbeatMonitor; /** * Returns true if the given object is an instance of HeartbeatMonitor. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is HeartbeatMonitor; /** * Determines if the check is running or not. Possible values `true`, and `false`. */ readonly activated: pulumi.Output; /** * An array of channel IDs and whether they're activated or not. If you don't set at least one alert channel subscription for your monitor, we won't be able to alert you even if it starts failing. */ readonly alertChannelSubscriptions: pulumi.Output; /** * Determines the alert escalation policy for the monitor. */ readonly alertSettings: pulumi.Output; /** * A description of the monitor. */ readonly description: pulumi.Output; readonly heartbeat: pulumi.Output; /** * Determines if any notifications will be sent out when a check fails/degrades/recovers. */ readonly muted: pulumi.Output; /** * The name of the check. */ readonly name: pulumi.Output; /** * A list of tags for organizing and filtering checks. */ readonly tags: pulumi.Output; /** * Create and resolve an incident based on the alert configuration. Useful for status page automation. */ readonly triggerIncident: pulumi.Output; /** * When true, the account level alert settings will be used, not the alert setting defined on this check. */ readonly useGlobalAlertSettings: pulumi.Output; /** * Create a HeartbeatMonitor resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: HeartbeatMonitorArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering HeartbeatMonitor resources. */ export interface HeartbeatMonitorState { /** * Determines if the check is running or not. Possible values `true`, and `false`. */ activated?: pulumi.Input; /** * An array of channel IDs and whether they're activated or not. If you don't set at least one alert channel subscription for your monitor, we won't be able to alert you even if it starts failing. */ alertChannelSubscriptions?: pulumi.Input[]>; /** * Determines the alert escalation policy for the monitor. */ alertSettings?: pulumi.Input; /** * A description of the monitor. */ description?: pulumi.Input; heartbeat?: pulumi.Input; /** * Determines if any notifications will be sent out when a check fails/degrades/recovers. */ muted?: pulumi.Input; /** * The name of the check. */ name?: pulumi.Input; /** * A list of tags for organizing and filtering checks. */ tags?: pulumi.Input[]>; /** * Create and resolve an incident based on the alert configuration. Useful for status page automation. */ triggerIncident?: pulumi.Input; /** * When true, the account level alert settings will be used, not the alert setting defined on this check. */ useGlobalAlertSettings?: pulumi.Input; } /** * The set of arguments for constructing a HeartbeatMonitor resource. */ export interface HeartbeatMonitorArgs { /** * Determines if the check is running or not. Possible values `true`, and `false`. */ activated: pulumi.Input; /** * An array of channel IDs and whether they're activated or not. If you don't set at least one alert channel subscription for your monitor, we won't be able to alert you even if it starts failing. */ alertChannelSubscriptions?: pulumi.Input[]>; /** * Determines the alert escalation policy for the monitor. */ alertSettings?: pulumi.Input; /** * A description of the monitor. */ description?: pulumi.Input; heartbeat: pulumi.Input; /** * Determines if any notifications will be sent out when a check fails/degrades/recovers. */ muted?: pulumi.Input; /** * The name of the check. */ name?: pulumi.Input; /** * A list of tags for organizing and filtering checks. */ tags?: pulumi.Input[]>; /** * Create and resolve an incident based on the alert configuration. Useful for status page automation. */ triggerIncident?: pulumi.Input; /** * When true, the account level alert settings will be used, not the alert setting defined on this check. */ useGlobalAlertSettings?: pulumi.Input; }