@lbrlabs/pulumi-dynatrace
Version:
A Pulumi package for creating and managing Dynatrace cloud resources.
147 lines (146 loc) • 5.27 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "./types/input";
import * as outputs from "./types/output";
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<pulumi.ID>, 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<string | undefined>;
/**
* The Maintenance Window is enabled or disabled
*/
readonly enabled: pulumi.Output<boolean | undefined>;
/**
* The name of the maintenance window, displayed in the UI
*/
readonly name: pulumi.Output<string>;
/**
* The schedule of the maintenance window
*/
readonly schedule: pulumi.Output<outputs.MaintenanceWindowSchedule | undefined>;
/**
* the tiles this Dashboard consist of
*/
readonly scope: pulumi.Output<outputs.MaintenanceWindowScope | undefined>;
/**
* Suppress execution of synthetic monitors during the maintenance
*/
readonly suppressSynthMonExec: pulumi.Output<boolean | undefined>;
/**
* The type of suppression of alerting and problem detection during the maintenance
*/
readonly suppression: pulumi.Output<string>;
/**
* The type of the maintenance: planned or unplanned
*/
readonly type: pulumi.Output<string>;
/**
* allows for configuring properties that are not explicitly supported by the current version of this provider
*/
readonly unknowns: pulumi.Output<string | undefined>;
/**
* 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<string>;
/**
* The Maintenance Window is enabled or disabled
*/
enabled?: pulumi.Input<boolean>;
/**
* The name of the maintenance window, displayed in the UI
*/
name?: pulumi.Input<string>;
/**
* The schedule of the maintenance window
*/
schedule?: pulumi.Input<inputs.MaintenanceWindowSchedule>;
/**
* the tiles this Dashboard consist of
*/
scope?: pulumi.Input<inputs.MaintenanceWindowScope>;
/**
* Suppress execution of synthetic monitors during the maintenance
*/
suppressSynthMonExec?: pulumi.Input<boolean>;
/**
* The type of suppression of alerting and problem detection during the maintenance
*/
suppression?: pulumi.Input<string>;
/**
* The type of the maintenance: planned or unplanned
*/
type?: pulumi.Input<string>;
/**
* allows for configuring properties that are not explicitly supported by the current version of this provider
*/
unknowns?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a MaintenanceWindow resource.
*/
export interface MaintenanceWindowArgs {
/**
* A short description of the maintenance purpose
*/
description?: pulumi.Input<string>;
/**
* The Maintenance Window is enabled or disabled
*/
enabled?: pulumi.Input<boolean>;
/**
* The name of the maintenance window, displayed in the UI
*/
name?: pulumi.Input<string>;
/**
* The schedule of the maintenance window
*/
schedule?: pulumi.Input<inputs.MaintenanceWindowSchedule>;
/**
* the tiles this Dashboard consist of
*/
scope?: pulumi.Input<inputs.MaintenanceWindowScope>;
/**
* Suppress execution of synthetic monitors during the maintenance
*/
suppressSynthMonExec?: pulumi.Input<boolean>;
/**
* The type of suppression of alerting and problem detection during the maintenance
*/
suppression: pulumi.Input<string>;
/**
* The type of the maintenance: planned or unplanned
*/
type: pulumi.Input<string>;
/**
* allows for configuring properties that are not explicitly supported by the current version of this provider
*/
unknowns?: pulumi.Input<string>;
}