import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * !> This resource API endpoint has been deprecated, please use dynatrace.Maintenance instead. * * > This resource requires the API token scopes **Read configuration** (`ReadConfig`) and **Write configuration** (`WriteConfig`) * * ## Dynatrace Documentation * * - Maintenance windows - https://www.dynatrace.com/support/help/how-to-use-dynatrace/problem-detection-and-analysis/notifications-and-alerting/maintenance-windows * * - Maintenance windows API - https://www.dynatrace.com/support/help/dynatrace-api/configuration-api/maintenance-windows-api * * ## Resource Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as dynatrace from "@pulumiverse/dynatrace"; * * const _name_ = new dynatrace.MaintenanceWindow("#name#", { * schedule: { * end: "2021-05-11 14:41", * recurrenceType: "ONCE", * start: "2021-05-11 13:41", * zoneId: "Europe/Vienna", * }, * scope: { * matches: [{ * tagCombination: "AND", * tags: [ * { * context: "CONTEXTLESS", * key: "bggtedgxen", * }, * { * context: "CONTEXTLESS", * key: "deldel1", * }, * ], * }], * }, * suppressSynthMonExec: true, * suppression: "DONT_DETECT_PROBLEMS", * type: "PLANNED", * }); * ``` */ 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; /** * A short description of the maintenance purpose */ readonly description: pulumi.Output; /** * The Maintenance Window is enabled or disabled */ readonly enabled: pulumi.Output; /** * The name of the maintenance window, displayed in the UI */ readonly name: pulumi.Output; /** * The schedule of the maintenance window */ readonly schedule: pulumi.Output; /** * the tiles this Dashboard consist of */ readonly scope: pulumi.Output; /** * Suppress execution of synthetic monitors during the maintenance */ readonly suppressSynthMonExec: pulumi.Output; /** * The type of suppression of alerting and problem detection during the maintenance */ readonly suppression: pulumi.Output; /** * The type of the maintenance: planned or unplanned */ readonly type: pulumi.Output; /** * allows for configuring properties that are not explicitly supported by the current version of this provider */ readonly unknowns: 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 { /** * A short description of the maintenance purpose */ description?: pulumi.Input; /** * The Maintenance Window is enabled or disabled */ enabled?: pulumi.Input; /** * The name of the maintenance window, displayed in the UI */ name?: pulumi.Input; /** * The schedule of the maintenance window */ schedule?: pulumi.Input; /** * the tiles this Dashboard consist of */ scope?: pulumi.Input; /** * Suppress execution of synthetic monitors during the maintenance */ suppressSynthMonExec?: pulumi.Input; /** * The type of suppression of alerting and problem detection during the maintenance */ suppression?: pulumi.Input; /** * The type of the maintenance: planned or unplanned */ type?: pulumi.Input; /** * allows for configuring properties that are not explicitly supported by the current version of this provider */ unknowns?: pulumi.Input; } /** * The set of arguments for constructing a MaintenanceWindow resource. */ export interface MaintenanceWindowArgs { /** * A short description of the maintenance purpose */ description?: pulumi.Input; /** * The Maintenance Window is enabled or disabled */ enabled?: pulumi.Input; /** * The name of the maintenance window, displayed in the UI */ name?: pulumi.Input; /** * The schedule of the maintenance window */ schedule?: pulumi.Input; /** * the tiles this Dashboard consist of */ scope?: pulumi.Input; /** * Suppress execution of synthetic monitors during the maintenance */ suppressSynthMonExec?: pulumi.Input; /** * The type of suppression of alerting and problem detection during the maintenance */ suppression: pulumi.Input; /** * The type of the maintenance: planned or unplanned */ type: pulumi.Input; /** * allows for configuring properties that are not explicitly supported by the current version of this provider */ unknowns?: pulumi.Input; }