import * as pulumi from "@pulumi/pulumi"; /** * ## Example Usage * * ## Import * * rootly.Heartbeat can be imported using the `import` command. * * ```sh * $ pulumi import rootly:index/heartbeat:Heartbeat primary a816421c-6ceb-481a-87c4-585e47451f24 * ``` * * Or using an `import` block. * * Locate the resource id in the web app, or retrieve it by listing resources through the API if it's not visible in the web app. * * HCL can be generated from the import block using the `-generate-config-out` flag. * * ```sh * pulumi preview -generate-config-out=generated.tf * ``` */ export declare class Heartbeat extends pulumi.CustomResource { /** * Get an existing Heartbeat 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?: HeartbeatState, opts?: pulumi.CustomResourceOptions): Heartbeat; /** * Returns true if the given object is an instance of Heartbeat. 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 Heartbeat; /** * Description of alerts triggered when heartbeat expires. */ readonly alertDescription: pulumi.Output; /** * Summary of alerts triggered when heartbeat expires. */ readonly alertSummary: pulumi.Output; /** * Urgency of alerts triggered when heartbeat expires. */ readonly alertUrgencyId: pulumi.Output; /** * The description of the heartbeat */ readonly description: pulumi.Output; /** * Email address to receive heartbeat pings. */ readonly emailAddress: pulumi.Output; readonly enabled: pulumi.Output; /** * When heartbeat expires */ readonly expiresAt: pulumi.Output; readonly interval: pulumi.Output; /** * Value must be one of `minutes`, `hours`, `days`. */ readonly intervalUnit: pulumi.Output; /** * When the heartbeat was last pinged. */ readonly lastPingedAt: pulumi.Output; /** * The name of the heartbeat */ readonly name: pulumi.Output; readonly notificationTargetId: pulumi.Output; /** * The type of the notification target. Please contact support if you encounter issues using `Functionality` as a target type.. Value must be one of `User`, `Group`, `Service`, `EscalationPolicy`, `Functionality`. */ readonly notificationTargetType: pulumi.Output; /** * List of team IDs that own this heartbeat */ readonly ownerGroupIds: pulumi.Output; /** * URL to receive heartbeat pings. */ readonly pingUrl: pulumi.Output; /** * Secret used as bearer token when pinging heartbeat. */ readonly secret: pulumi.Output; /** * Value must be one of `waiting`, `active`, `expired`. */ readonly status: pulumi.Output; /** * Create a Heartbeat 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: HeartbeatArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Heartbeat resources. */ export interface HeartbeatState { /** * Description of alerts triggered when heartbeat expires. */ alertDescription?: pulumi.Input; /** * Summary of alerts triggered when heartbeat expires. */ alertSummary?: pulumi.Input; /** * Urgency of alerts triggered when heartbeat expires. */ alertUrgencyId?: pulumi.Input; /** * The description of the heartbeat */ description?: pulumi.Input; /** * Email address to receive heartbeat pings. */ emailAddress?: pulumi.Input; enabled?: pulumi.Input; /** * When heartbeat expires */ expiresAt?: pulumi.Input; interval?: pulumi.Input; /** * Value must be one of `minutes`, `hours`, `days`. */ intervalUnit?: pulumi.Input; /** * When the heartbeat was last pinged. */ lastPingedAt?: pulumi.Input; /** * The name of the heartbeat */ name?: pulumi.Input; notificationTargetId?: pulumi.Input; /** * The type of the notification target. Please contact support if you encounter issues using `Functionality` as a target type.. Value must be one of `User`, `Group`, `Service`, `EscalationPolicy`, `Functionality`. */ notificationTargetType?: pulumi.Input; /** * List of team IDs that own this heartbeat */ ownerGroupIds?: pulumi.Input[] | undefined>; /** * URL to receive heartbeat pings. */ pingUrl?: pulumi.Input; /** * Secret used as bearer token when pinging heartbeat. */ secret?: pulumi.Input; /** * Value must be one of `waiting`, `active`, `expired`. */ status?: pulumi.Input; } /** * The set of arguments for constructing a Heartbeat resource. */ export interface HeartbeatArgs { /** * Description of alerts triggered when heartbeat expires. */ alertDescription?: pulumi.Input; /** * Summary of alerts triggered when heartbeat expires. */ alertSummary: pulumi.Input; /** * Urgency of alerts triggered when heartbeat expires. */ alertUrgencyId?: pulumi.Input; /** * The description of the heartbeat */ description?: pulumi.Input; /** * Email address to receive heartbeat pings. */ emailAddress?: pulumi.Input; enabled?: pulumi.Input; /** * When heartbeat expires */ expiresAt?: pulumi.Input; interval: pulumi.Input; /** * Value must be one of `minutes`, `hours`, `days`. */ intervalUnit?: pulumi.Input; /** * When the heartbeat was last pinged. */ lastPingedAt?: pulumi.Input; /** * The name of the heartbeat */ name?: pulumi.Input; notificationTargetId: pulumi.Input; /** * The type of the notification target. Please contact support if you encounter issues using `Functionality` as a target type.. Value must be one of `User`, `Group`, `Service`, `EscalationPolicy`, `Functionality`. */ notificationTargetType?: pulumi.Input; /** * List of team IDs that own this heartbeat */ ownerGroupIds?: pulumi.Input[] | undefined>; /** * Value must be one of `waiting`, `active`, `expired`. */ status?: pulumi.Input; } //# sourceMappingURL=heartbeat.d.ts.map