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.

91 lines (90 loc) 3.63 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; export declare class OnCallCalendar extends pulumi.CustomResource { /** * Get an existing OnCallCalendar 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<pulumi.ID>, state?: OnCallCalendarState, opts?: pulumi.CustomResourceOptions): OnCallCalendar; /** * Returns true if the given object is an instance of OnCallCalendar. 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 OnCallCalendar; /** * Whether the on-call calendar is the default on-call calendar. */ readonly defaultCalendar: pulumi.Output<boolean>; /** * Name of the on-call calendar. */ readonly name: pulumi.Output<string>; /** * Configuration block for the on-call rotation schedule. Ignored when omitted - on-call can be controlled in Better Stack. */ readonly onCallRotation: pulumi.Output<outputs.OnCallCalendarOnCallRotation | undefined>; /** * Array of on-call persons. */ readonly onCallUsers: pulumi.Output<outputs.OnCallCalendarOnCallUser[]>; /** * Used to specify the team the resource should be created in when using global tokens. */ readonly teamName: pulumi.Output<string | undefined>; /** * Create a OnCallCalendar 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?: OnCallCalendarArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering OnCallCalendar resources. */ export interface OnCallCalendarState { /** * Whether the on-call calendar is the default on-call calendar. */ defaultCalendar?: pulumi.Input<boolean>; /** * Name of the on-call calendar. */ name?: pulumi.Input<string>; /** * Configuration block for the on-call rotation schedule. Ignored when omitted - on-call can be controlled in Better Stack. */ onCallRotation?: pulumi.Input<inputs.OnCallCalendarOnCallRotation>; /** * Array of on-call persons. */ onCallUsers?: pulumi.Input<pulumi.Input<inputs.OnCallCalendarOnCallUser>[]>; /** * Used to specify the team the resource should be created in when using global tokens. */ teamName?: pulumi.Input<string>; } /** * The set of arguments for constructing a OnCallCalendar resource. */ export interface OnCallCalendarArgs { /** * Name of the on-call calendar. */ name?: pulumi.Input<string>; /** * Configuration block for the on-call rotation schedule. Ignored when omitted - on-call can be controlled in Better Stack. */ onCallRotation?: pulumi.Input<inputs.OnCallCalendarOnCallRotation>; /** * Used to specify the team the resource should be created in when using global tokens. */ teamName?: pulumi.Input<string>; }