import * as pulumi from "@pulumi/pulumi"; /** * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as checkly from "@checkly/pulumi"; * * const maintenance_1 = new checkly.MaintenanceWindow("maintenance-1", { * name: "Maintenance Windows", * startsAt: "2014-08-24T00:00:00.000Z", * endsAt: "2014-08-25T00:00:00.000Z", * repeatUnit: "MONTH", * repeatEndsAt: "2014-08-24T00:00:00.000Z", * repeatInterval: 1, * tags: ["production"], * }); * ``` */ export declare class MaintenanceWindow extends pulumi.CustomResource { /** * Get an existing MaintenanceWindow 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?: MaintenanceWindowState, opts?: pulumi.CustomResourceOptions): MaintenanceWindow; /** * Returns true if the given object is an instance of MaintenanceWindow. 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 MaintenanceWindow; /** * The end date of the maintenance window. */ readonly endsAt: pulumi.Output; /** * The maintenance window name. */ readonly name: pulumi.Output; /** * The date on which the maintenance window should stop repeating. */ readonly repeatEndsAt: pulumi.Output; /** * The repeat interval of the maintenance window from the first occurrence. */ readonly repeatInterval: pulumi.Output; /** * The repeat cadence for the maintenance window. Possible values `DAY`, `WEEK` and `MONTH`. */ readonly repeatUnit: pulumi.Output; /** * The start date of the maintenance window. */ readonly startsAt: pulumi.Output; /** * The names of the checks and groups maintenance window should apply to. */ readonly tags: pulumi.Output; /** * Create a MaintenanceWindow 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: MaintenanceWindowArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering MaintenanceWindow resources. */ export interface MaintenanceWindowState { /** * The end date of the maintenance window. */ endsAt?: pulumi.Input; /** * The maintenance window name. */ name?: pulumi.Input; /** * The date on which the maintenance window should stop repeating. */ repeatEndsAt?: pulumi.Input; /** * The repeat interval of the maintenance window from the first occurrence. */ repeatInterval?: pulumi.Input; /** * The repeat cadence for the maintenance window. Possible values `DAY`, `WEEK` and `MONTH`. */ repeatUnit?: pulumi.Input; /** * The start date of the maintenance window. */ startsAt?: pulumi.Input; /** * The names of the checks and groups maintenance window should apply to. */ tags?: pulumi.Input[]>; } /** * The set of arguments for constructing a MaintenanceWindow resource. */ export interface MaintenanceWindowArgs { /** * The end date of the maintenance window. */ endsAt: pulumi.Input; /** * The maintenance window name. */ name?: pulumi.Input; /** * The date on which the maintenance window should stop repeating. */ repeatEndsAt?: pulumi.Input; /** * The repeat interval of the maintenance window from the first occurrence. */ repeatInterval?: pulumi.Input; /** * The repeat cadence for the maintenance window. Possible values `DAY`, `WEEK` and `MONTH`. */ repeatUnit?: pulumi.Input; /** * The start date of the maintenance window. */ startsAt: pulumi.Input; /** * The names of the checks and groups maintenance window should apply to. */ tags?: pulumi.Input[]>; }