UNPKG

pulumi-better-uptime

Version:

A Pulumi provider for managing Better Uptime monitoring, alerting, and incident management resources, dynamically bridged from the Terraform Better Uptime provider with support for monitors, heartbeats, integrations, status pages, and policies.

70 lines (69 loc) 2.27 kB
import * as pulumi from "@pulumi/pulumi"; export declare function getMonitor(args: GetMonitorArgs, opts?: pulumi.InvokeOptions): Promise<GetMonitorResult>; /** * A collection of arguments for invoking getMonitor. */ export interface GetMonitorArgs { url: string; } /** * A collection of values returned by getMonitor. */ export interface GetMonitorResult { readonly authPassword: string; readonly authUsername: string; readonly call: boolean; readonly checkFrequency: number; readonly confirmationPeriod: number; readonly createdAt: string; readonly criticalAlert: boolean; readonly domainExpiration: number; readonly email: boolean; readonly environmentVariables: { [key: string]: string; }; readonly expectedStatusCodes: number[]; readonly expirationPolicyId: number; readonly followRedirects: boolean; readonly httpMethod: string; readonly id: string; readonly ipVersion: string; readonly lastCheckedAt: string; readonly maintenanceDays: string[]; readonly maintenanceFrom: string; readonly maintenanceTimezone: string; readonly maintenanceTo: string; readonly monitorGroupId: number; readonly monitorType: string; readonly paused: boolean; readonly pausedAt: string; readonly playwrightScript: string; readonly policyId: string; readonly port: string; readonly pronounceableName: string; readonly push: boolean; readonly recoveryPeriod: number; readonly regions: string[]; readonly rememberCookies: boolean; readonly requestBody: string; readonly requestHeaders: { [key: string]: string; }[]; readonly requestTimeout: number; readonly requiredKeyword: string; readonly scenarioName: string; readonly sms: boolean; readonly sslExpiration: number; readonly status: string; readonly teamWait: number; readonly updatedAt: string; readonly url: string; readonly verifySsl: boolean; } export declare function getMonitorOutput(args: GetMonitorOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetMonitorResult>; /** * A collection of arguments for invoking getMonitor. */ export interface GetMonitorOutputArgs { url: pulumi.Input<string>; }