import * as pulumi from "@pulumi/pulumi";
import * as inputs from "./types/input";
import * as outputs from "./types/output";
/**
 * Provides a Datadog DowntimeSchedule resource. This can be used to create and manage Datadog downtimes.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as datadog from "@pulumi/datadog";
 *
 * // Create new downtime_schedule resource
 * const downtimeScheduleExample = new datadog.DowntimeSchedule("downtime_schedule_example", {
 *     scope: "env:us9-prod7 AND team:test123",
 *     monitorIdentifier: [{
 *         monitorTags: [
 *             "test:123",
 *             "data:test",
 *         ],
 *     }],
 *     recurringSchedule: [{
 *         recurrences: [{
 *             duration: "1h",
 *             rrule: "FREQ=DAILY;INTERVAL=1",
 *             start: "2050-01-02T03:04:05",
 *         }],
 *         timezone: "America/New_York",
 *     }],
 *     displayTimezone: "America/New_York",
 *     message: "Message about the downtime",
 *     muteFirstRecoveryNotification: true,
 *     notifyEndStates: [
 *         "alert",
 *         "warn",
 *     ],
 *     notifyEndTypes: [
 *         "canceled",
 *         "expired",
 *     ],
 * });
 * ```
 *
 * ## Import
 *
 * The `pulumi import` command can be used, for example:
 *
 * ```sh
 * $ pulumi import datadog:index/downtimeSchedule:DowntimeSchedule new_list "00e000000-0000-1234-0000-000000000000"
 * ```
 */
export declare class DowntimeSchedule extends pulumi.CustomResource {
    /**
     * Get an existing DowntimeSchedule 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?: DowntimeScheduleState, opts?: pulumi.CustomResourceOptions): DowntimeSchedule;
    /**
     * Returns true if the given object is an instance of DowntimeSchedule.  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 DowntimeSchedule;
    /**
     * The timezone in which to display the downtime's start and end times in Datadog applications. This is not used as an offset for scheduling.
     */
    readonly displayTimezone: pulumi.Output<string>;
    /**
     * A message to include with notifications for this downtime. Email notifications can be sent to specific users by using the same `@username` notation as events.
     */
    readonly message: pulumi.Output<string | undefined>;
    readonly monitorIdentifier: pulumi.Output<outputs.DowntimeScheduleMonitorIdentifier>;
    /**
     * If the first recovery notification during a downtime should be muted.
     */
    readonly muteFirstRecoveryNotification: pulumi.Output<boolean>;
    /**
     * States that will trigger a monitor notification when the `notifyEndTypes` action occurs.
     */
    readonly notifyEndStates: pulumi.Output<string[]>;
    /**
     * Actions that will trigger a monitor notification if the downtime is in the `notifyEndTypes` state.
     */
    readonly notifyEndTypes: pulumi.Output<string[]>;
    readonly oneTimeSchedule: pulumi.Output<outputs.DowntimeScheduleOneTimeSchedule | undefined>;
    readonly recurringSchedule: pulumi.Output<outputs.DowntimeScheduleRecurringSchedule | undefined>;
    /**
     * The scope to which the downtime applies. Must follow the [common search syntax](https://docs.datadoghq.com/logs/explorer/search_syntax/).
     */
    readonly scope: pulumi.Output<string>;
    /**
     * Create a DowntimeSchedule 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: DowntimeScheduleArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering DowntimeSchedule resources.
 */
export interface DowntimeScheduleState {
    /**
     * The timezone in which to display the downtime's start and end times in Datadog applications. This is not used as an offset for scheduling.
     */
    displayTimezone?: pulumi.Input<string | undefined>;
    /**
     * A message to include with notifications for this downtime. Email notifications can be sent to specific users by using the same `@username` notation as events.
     */
    message?: pulumi.Input<string | undefined>;
    monitorIdentifier?: pulumi.Input<inputs.DowntimeScheduleMonitorIdentifier | undefined>;
    /**
     * If the first recovery notification during a downtime should be muted.
     */
    muteFirstRecoveryNotification?: pulumi.Input<boolean | undefined>;
    /**
     * States that will trigger a monitor notification when the `notifyEndTypes` action occurs.
     */
    notifyEndStates?: pulumi.Input<pulumi.Input<string>[] | undefined>;
    /**
     * Actions that will trigger a monitor notification if the downtime is in the `notifyEndTypes` state.
     */
    notifyEndTypes?: pulumi.Input<pulumi.Input<string>[] | undefined>;
    oneTimeSchedule?: pulumi.Input<inputs.DowntimeScheduleOneTimeSchedule | undefined>;
    recurringSchedule?: pulumi.Input<inputs.DowntimeScheduleRecurringSchedule | undefined>;
    /**
     * The scope to which the downtime applies. Must follow the [common search syntax](https://docs.datadoghq.com/logs/explorer/search_syntax/).
     */
    scope?: pulumi.Input<string | undefined>;
}
/**
 * The set of arguments for constructing a DowntimeSchedule resource.
 */
export interface DowntimeScheduleArgs {
    /**
     * The timezone in which to display the downtime's start and end times in Datadog applications. This is not used as an offset for scheduling.
     */
    displayTimezone?: pulumi.Input<string | undefined>;
    /**
     * A message to include with notifications for this downtime. Email notifications can be sent to specific users by using the same `@username` notation as events.
     */
    message?: pulumi.Input<string | undefined>;
    monitorIdentifier: pulumi.Input<inputs.DowntimeScheduleMonitorIdentifier>;
    /**
     * If the first recovery notification during a downtime should be muted.
     */
    muteFirstRecoveryNotification?: pulumi.Input<boolean | undefined>;
    /**
     * States that will trigger a monitor notification when the `notifyEndTypes` action occurs.
     */
    notifyEndStates?: pulumi.Input<pulumi.Input<string>[] | undefined>;
    /**
     * Actions that will trigger a monitor notification if the downtime is in the `notifyEndTypes` state.
     */
    notifyEndTypes?: pulumi.Input<pulumi.Input<string>[] | undefined>;
    oneTimeSchedule?: pulumi.Input<inputs.DowntimeScheduleOneTimeSchedule | undefined>;
    recurringSchedule?: pulumi.Input<inputs.DowntimeScheduleRecurringSchedule | undefined>;
    /**
     * The scope to which the downtime applies. Must follow the [common search syntax](https://docs.datadoghq.com/logs/explorer/search_syntax/).
     */
    scope: pulumi.Input<string>;
}
//# sourceMappingURL=downtimeSchedule.d.ts.map