1. Packages
  2. Packages
  3. Dynatrace
  4. API Docs
  5. MaintenanceWindows
Viewing docs for Dynatrace v0.37.1
published on Thursday, Jun 25, 2026 by Pulumiverse
dynatrace logo
Viewing docs for Dynatrace v0.37.1
published on Thursday, Jun 25, 2026 by Pulumiverse

    This resource requires the API token scopes Read settings (settings.read) and Write settings (settings.write)

    Dynatrace Documentation

    • Maintenance windows - https://docs.dynatrace.com/docs/analyze-explore-automate/notifications-and-alerting/maintenance-windows/define-maintenance-window

    • Settings API - https://www.dynatrace.com/support/help/dynatrace-api/environment-api/settings (schemaId: builtin:maintenance-windows)

    Export Example Usage

    • terraform-provider-dynatrace -export dynatrace.MaintenanceWindows downloads all existing maintenance window configuration

    The full documentation of the export feature is available here.

    Resource Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as dynatrace from "@pulumiverse/dynatrace";
    
    const recurringWindow = new dynatrace.MaintenanceWindows("recurring_window", {
        name: "Example recurring #name#",
        description: "Example description",
        filter: "matchesValue(result.state, \"FAIL\")",
        autoDelete: true,
        enabled: true,
        schedule: {
            duration: 60,
            timezone: "UTC",
            trigger: {
                type: "time",
                recurring: {
                    time: "12:00:00",
                    earliestStart: "2100-01-01",
                    until: "2100-01-01",
                },
            },
        },
    });
    const onceWindow = new dynatrace.MaintenanceWindows("once_window", {
        name: "Example once #name#",
        description: "Example description",
        filter: "matchesValue(result.state, \"FAIL\")",
        autoDelete: true,
        enabled: true,
        schedule: {
            duration: 60,
            timezone: "UTC",
            trigger: {
                type: "once",
                once: {
                    date: "2100-01-01T00:00:00",
                },
            },
        },
    });
    
    import pulumi
    import pulumiverse_dynatrace as dynatrace
    
    recurring_window = dynatrace.MaintenanceWindows("recurring_window",
        name="Example recurring #name#",
        description="Example description",
        filter="matchesValue(result.state, \"FAIL\")",
        auto_delete=True,
        enabled=True,
        schedule={
            "duration": 60,
            "timezone": "UTC",
            "trigger": {
                "type": "time",
                "recurring": {
                    "time": "12:00:00",
                    "earliest_start": "2100-01-01",
                    "until": "2100-01-01",
                },
            },
        })
    once_window = dynatrace.MaintenanceWindows("once_window",
        name="Example once #name#",
        description="Example description",
        filter="matchesValue(result.state, \"FAIL\")",
        auto_delete=True,
        enabled=True,
        schedule={
            "duration": 60,
            "timezone": "UTC",
            "trigger": {
                "type": "once",
                "once": {
                    "date": "2100-01-01T00:00:00",
                },
            },
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumiverse/pulumi-dynatrace/sdk/go/dynatrace"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := dynatrace.NewMaintenanceWindows(ctx, "recurring_window", &dynatrace.MaintenanceWindowsArgs{
    			Name:        pulumi.String("Example recurring #name#"),
    			Description: pulumi.String("Example description"),
    			Filter:      pulumi.String("matchesValue(result.state, \"FAIL\")"),
    			AutoDelete:  pulumi.Bool(true),
    			Enabled:     pulumi.Bool(true),
    			Schedule: &dynatrace.MaintenanceWindowsScheduleArgs{
    				Duration: pulumi.Int(60),
    				Timezone: pulumi.String("UTC"),
    				Trigger: &dynatrace.MaintenanceWindowsScheduleTriggerArgs{
    					Type: pulumi.String("time"),
    					Recurring: &dynatrace.MaintenanceWindowsScheduleTriggerRecurringArgs{
    						Time:          pulumi.String("12:00:00"),
    						EarliestStart: pulumi.String("2100-01-01"),
    						Until:         pulumi.String("2100-01-01"),
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_, err = dynatrace.NewMaintenanceWindows(ctx, "once_window", &dynatrace.MaintenanceWindowsArgs{
    			Name:        pulumi.String("Example once #name#"),
    			Description: pulumi.String("Example description"),
    			Filter:      pulumi.String("matchesValue(result.state, \"FAIL\")"),
    			AutoDelete:  pulumi.Bool(true),
    			Enabled:     pulumi.Bool(true),
    			Schedule: &dynatrace.MaintenanceWindowsScheduleArgs{
    				Duration: pulumi.Int(60),
    				Timezone: pulumi.String("UTC"),
    				Trigger: &dynatrace.MaintenanceWindowsScheduleTriggerArgs{
    					Type: pulumi.String("once"),
    					Once: &dynatrace.MaintenanceWindowsScheduleTriggerOnceArgs{
    						Date: pulumi.String("2100-01-01T00:00:00"),
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Dynatrace = Pulumiverse.Dynatrace;
    
    return await Deployment.RunAsync(() => 
    {
        var recurringWindow = new Dynatrace.MaintenanceWindows("recurring_window", new()
        {
            Name = "Example recurring #name#",
            Description = "Example description",
            Filter = "matchesValue(result.state, \"FAIL\")",
            AutoDelete = true,
            Enabled = true,
            Schedule = new Dynatrace.Inputs.MaintenanceWindowsScheduleArgs
            {
                Duration = 60,
                Timezone = "UTC",
                Trigger = new Dynatrace.Inputs.MaintenanceWindowsScheduleTriggerArgs
                {
                    Type = "time",
                    Recurring = new Dynatrace.Inputs.MaintenanceWindowsScheduleTriggerRecurringArgs
                    {
                        Time = "12:00:00",
                        EarliestStart = "2100-01-01",
                        Until = "2100-01-01",
                    },
                },
            },
        });
    
        var onceWindow = new Dynatrace.MaintenanceWindows("once_window", new()
        {
            Name = "Example once #name#",
            Description = "Example description",
            Filter = "matchesValue(result.state, \"FAIL\")",
            AutoDelete = true,
            Enabled = true,
            Schedule = new Dynatrace.Inputs.MaintenanceWindowsScheduleArgs
            {
                Duration = 60,
                Timezone = "UTC",
                Trigger = new Dynatrace.Inputs.MaintenanceWindowsScheduleTriggerArgs
                {
                    Type = "once",
                    Once = new Dynatrace.Inputs.MaintenanceWindowsScheduleTriggerOnceArgs
                    {
                        Date = "2100-01-01T00:00:00",
                    },
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.dynatrace.MaintenanceWindows;
    import com.pulumi.dynatrace.MaintenanceWindowsArgs;
    import com.pulumi.dynatrace.inputs.MaintenanceWindowsScheduleArgs;
    import com.pulumi.dynatrace.inputs.MaintenanceWindowsScheduleTriggerArgs;
    import com.pulumi.dynatrace.inputs.MaintenanceWindowsScheduleTriggerRecurringArgs;
    import com.pulumi.dynatrace.inputs.MaintenanceWindowsScheduleTriggerOnceArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var recurringWindow = new MaintenanceWindows("recurringWindow", MaintenanceWindowsArgs.builder()
                .name("Example recurring #name#")
                .description("Example description")
                .filter("matchesValue(result.state, \"FAIL\")")
                .autoDelete(true)
                .enabled(true)
                .schedule(MaintenanceWindowsScheduleArgs.builder()
                    .duration(60)
                    .timezone("UTC")
                    .trigger(MaintenanceWindowsScheduleTriggerArgs.builder()
                        .type("time")
                        .recurring(MaintenanceWindowsScheduleTriggerRecurringArgs.builder()
                            .time("12:00:00")
                            .earliestStart("2100-01-01")
                            .until("2100-01-01")
                            .build())
                        .build())
                    .build())
                .build());
    
            var onceWindow = new MaintenanceWindows("onceWindow", MaintenanceWindowsArgs.builder()
                .name("Example once #name#")
                .description("Example description")
                .filter("matchesValue(result.state, \"FAIL\")")
                .autoDelete(true)
                .enabled(true)
                .schedule(MaintenanceWindowsScheduleArgs.builder()
                    .duration(60)
                    .timezone("UTC")
                    .trigger(MaintenanceWindowsScheduleTriggerArgs.builder()
                        .type("once")
                        .once(MaintenanceWindowsScheduleTriggerOnceArgs.builder()
                            .date("2100-01-01T00:00:00")
                            .build())
                        .build())
                    .build())
                .build());
    
        }
    }
    
    resources:
      recurringWindow:
        type: dynatrace:MaintenanceWindows
        name: recurring_window
        properties:
          name: 'Example recurring #name#'
          description: Example description
          filter: matchesValue(result.state, "FAIL")
          autoDelete: true
          enabled: true
          schedule:
            duration: 60
            timezone: UTC
            trigger:
              type: time
              recurring:
                time: 12:00:00
                earliestStart: 2100-01-01
                until: 2100-01-01
      onceWindow:
        type: dynatrace:MaintenanceWindows
        name: once_window
        properties:
          name: 'Example once #name#'
          description: Example description
          filter: matchesValue(result.state, "FAIL")
          autoDelete: true
          enabled: true
          schedule:
            duration: 60
            timezone: UTC
            trigger:
              type: once
              once:
                date: 2100-01-01T00:00:00
    
    pulumi {
      required_providers {
        dynatrace = {
          source = "pulumi/dynatrace"
        }
      }
    }
    
    resource "dynatrace_maintenancewindows" "recurring_window" {
      name        = "Example recurring #name#"
      description = "Example description"
      filter      = "matchesValue(result.state, \"FAIL\")"
      auto_delete = true
      enabled     = true
      schedule = {
        duration = 60
        timezone = "UTC"
        trigger = {
          type = "time"
          recurring = {
            time           = "12:00:00"
            earliest_start = "2100-01-01"
            until          = "2100-01-01"
          }
        }
      }
    }
    resource "dynatrace_maintenancewindows" "once_window" {
      name        = "Example once #name#"
      description = "Example description"
      filter      = "matchesValue(result.state, \"FAIL\")"
      auto_delete = true
      enabled     = true
      schedule = {
        duration = 60
        timezone = "UTC"
        trigger = {
          type = "once"
          once = {
            date = "2100-01-01T00:00:00"
          }
        }
      }
    }
    

    Create MaintenanceWindows Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new MaintenanceWindows(name: string, args: MaintenanceWindowsArgs, opts?: CustomResourceOptions);
    @overload
    def MaintenanceWindows(resource_name: str,
                           args: MaintenanceWindowsArgs,
                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def MaintenanceWindows(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           auto_delete: Optional[bool] = None,
                           enabled: Optional[bool] = None,
                           filter: Optional[str] = None,
                           schedule: Optional[MaintenanceWindowsScheduleArgs] = None,
                           description: Optional[str] = None,
                           name: Optional[str] = None)
    func NewMaintenanceWindows(ctx *Context, name string, args MaintenanceWindowsArgs, opts ...ResourceOption) (*MaintenanceWindows, error)
    public MaintenanceWindows(string name, MaintenanceWindowsArgs args, CustomResourceOptions? opts = null)
    public MaintenanceWindows(String name, MaintenanceWindowsArgs args)
    public MaintenanceWindows(String name, MaintenanceWindowsArgs args, CustomResourceOptions options)
    
    type: dynatrace:MaintenanceWindows
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "dynatrace_maintenancewindows" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args MaintenanceWindowsArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args MaintenanceWindowsArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args MaintenanceWindowsArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args MaintenanceWindowsArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args MaintenanceWindowsArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var maintenanceWindowsResource = new Dynatrace.MaintenanceWindows("maintenanceWindowsResource", new()
    {
        AutoDelete = false,
        Enabled = false,
        Filter = "string",
        Schedule = new Dynatrace.Inputs.MaintenanceWindowsScheduleArgs
        {
            Duration = 0,
            Trigger = new Dynatrace.Inputs.MaintenanceWindowsScheduleTriggerArgs
            {
                Type = "string",
                Once = new Dynatrace.Inputs.MaintenanceWindowsScheduleTriggerOnceArgs
                {
                    Date = "string",
                },
                Recurring = new Dynatrace.Inputs.MaintenanceWindowsScheduleTriggerRecurringArgs
                {
                    Time = "string",
                    EarliestStart = "string",
                    Rule = "string",
                    Until = "string",
                },
            },
            Timezone = "string",
        },
        Description = "string",
        Name = "string",
    });
    
    example, err := dynatrace.NewMaintenanceWindows(ctx, "maintenanceWindowsResource", &dynatrace.MaintenanceWindowsArgs{
    	AutoDelete: pulumi.Bool(false),
    	Enabled:    pulumi.Bool(false),
    	Filter:     pulumi.String("string"),
    	Schedule: &dynatrace.MaintenanceWindowsScheduleArgs{
    		Duration: pulumi.Int(0),
    		Trigger: &dynatrace.MaintenanceWindowsScheduleTriggerArgs{
    			Type: pulumi.String("string"),
    			Once: &dynatrace.MaintenanceWindowsScheduleTriggerOnceArgs{
    				Date: pulumi.String("string"),
    			},
    			Recurring: &dynatrace.MaintenanceWindowsScheduleTriggerRecurringArgs{
    				Time:          pulumi.String("string"),
    				EarliestStart: pulumi.String("string"),
    				Rule:          pulumi.String("string"),
    				Until:         pulumi.String("string"),
    			},
    		},
    		Timezone: pulumi.String("string"),
    	},
    	Description: pulumi.String("string"),
    	Name:        pulumi.String("string"),
    })
    
    resource "dynatrace_maintenancewindows" "maintenanceWindowsResource" {
      auto_delete = false
      enabled     = false
      filter      = "string"
      schedule = {
        duration = 0
        trigger = {
          type = "string"
          once = {
            date = "string"
          }
          recurring = {
            time           = "string"
            earliest_start = "string"
            rule           = "string"
            until          = "string"
          }
        }
        timezone = "string"
      }
      description = "string"
      name        = "string"
    }
    
    var maintenanceWindowsResource = new MaintenanceWindows("maintenanceWindowsResource", MaintenanceWindowsArgs.builder()
        .autoDelete(false)
        .enabled(false)
        .filter("string")
        .schedule(MaintenanceWindowsScheduleArgs.builder()
            .duration(0)
            .trigger(MaintenanceWindowsScheduleTriggerArgs.builder()
                .type("string")
                .once(MaintenanceWindowsScheduleTriggerOnceArgs.builder()
                    .date("string")
                    .build())
                .recurring(MaintenanceWindowsScheduleTriggerRecurringArgs.builder()
                    .time("string")
                    .earliestStart("string")
                    .rule("string")
                    .until("string")
                    .build())
                .build())
            .timezone("string")
            .build())
        .description("string")
        .name("string")
        .build());
    
    maintenance_windows_resource = dynatrace.MaintenanceWindows("maintenanceWindowsResource",
        auto_delete=False,
        enabled=False,
        filter="string",
        schedule={
            "duration": 0,
            "trigger": {
                "type": "string",
                "once": {
                    "date": "string",
                },
                "recurring": {
                    "time": "string",
                    "earliest_start": "string",
                    "rule": "string",
                    "until": "string",
                },
            },
            "timezone": "string",
        },
        description="string",
        name="string")
    
    const maintenanceWindowsResource = new dynatrace.MaintenanceWindows("maintenanceWindowsResource", {
        autoDelete: false,
        enabled: false,
        filter: "string",
        schedule: {
            duration: 0,
            trigger: {
                type: "string",
                once: {
                    date: "string",
                },
                recurring: {
                    time: "string",
                    earliestStart: "string",
                    rule: "string",
                    until: "string",
                },
            },
            timezone: "string",
        },
        description: "string",
        name: "string",
    });
    
    type: dynatrace:MaintenanceWindows
    properties:
        autoDelete: false
        description: string
        enabled: false
        filter: string
        name: string
        schedule:
            duration: 0
            timezone: string
            trigger:
                once:
                    date: string
                recurring:
                    earliestStart: string
                    rule: string
                    time: string
                    until: string
                type: string
    

    MaintenanceWindows Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The MaintenanceWindows resource accepts the following input properties:

    AutoDelete bool
    When enabled, this maintenance window configuration will be automatically deleted 30 days after the end of its last execution.
    Enabled bool
    This setting is enabled (true) or disabled (false)
    Filter string
    DQL Filter
    Schedule Pulumiverse.Dynatrace.Inputs.MaintenanceWindowsSchedule
    Schedule definition
    Description string
    Description
    Name string
    Name of the maintenance window
    AutoDelete bool
    When enabled, this maintenance window configuration will be automatically deleted 30 days after the end of its last execution.
    Enabled bool
    This setting is enabled (true) or disabled (false)
    Filter string
    DQL Filter
    Schedule MaintenanceWindowsScheduleArgs
    Schedule definition
    Description string
    Description
    Name string
    Name of the maintenance window
    auto_delete bool
    When enabled, this maintenance window configuration will be automatically deleted 30 days after the end of its last execution.
    enabled bool
    This setting is enabled (true) or disabled (false)
    filter string
    DQL Filter
    schedule object
    Schedule definition
    description string
    Description
    name string
    Name of the maintenance window
    autoDelete Boolean
    When enabled, this maintenance window configuration will be automatically deleted 30 days after the end of its last execution.
    enabled Boolean
    This setting is enabled (true) or disabled (false)
    filter String
    DQL Filter
    schedule MaintenanceWindowsSchedule
    Schedule definition
    description String
    Description
    name String
    Name of the maintenance window
    autoDelete boolean
    When enabled, this maintenance window configuration will be automatically deleted 30 days after the end of its last execution.
    enabled boolean
    This setting is enabled (true) or disabled (false)
    filter string
    DQL Filter
    schedule MaintenanceWindowsSchedule
    Schedule definition
    description string
    Description
    name string
    Name of the maintenance window
    auto_delete bool
    When enabled, this maintenance window configuration will be automatically deleted 30 days after the end of its last execution.
    enabled bool
    This setting is enabled (true) or disabled (false)
    filter str
    DQL Filter
    schedule MaintenanceWindowsScheduleArgs
    Schedule definition
    description str
    Description
    name str
    Name of the maintenance window
    autoDelete Boolean
    When enabled, this maintenance window configuration will be automatically deleted 30 days after the end of its last execution.
    enabled Boolean
    This setting is enabled (true) or disabled (false)
    filter String
    DQL Filter
    schedule Property Map
    Schedule definition
    description String
    Description
    name String
    Name of the maintenance window

    Outputs

    All input properties are implicitly available as output properties. Additionally, the MaintenanceWindows resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing MaintenanceWindows Resource

    Get an existing MaintenanceWindows resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: MaintenanceWindowsState, opts?: CustomResourceOptions): MaintenanceWindows
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            auto_delete: Optional[bool] = None,
            description: Optional[str] = None,
            enabled: Optional[bool] = None,
            filter: Optional[str] = None,
            name: Optional[str] = None,
            schedule: Optional[MaintenanceWindowsScheduleArgs] = None) -> MaintenanceWindows
    func GetMaintenanceWindows(ctx *Context, name string, id IDInput, state *MaintenanceWindowsState, opts ...ResourceOption) (*MaintenanceWindows, error)
    public static MaintenanceWindows Get(string name, Input<string> id, MaintenanceWindowsState? state, CustomResourceOptions? opts = null)
    public static MaintenanceWindows get(String name, Output<String> id, MaintenanceWindowsState state, CustomResourceOptions options)
    resources:  _:    type: dynatrace:MaintenanceWindows    get:      id: ${id}
    import {
      to = dynatrace_maintenancewindows.example
      id = "${id}"
    }
    
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AutoDelete bool
    When enabled, this maintenance window configuration will be automatically deleted 30 days after the end of its last execution.
    Description string
    Description
    Enabled bool
    This setting is enabled (true) or disabled (false)
    Filter string
    DQL Filter
    Name string
    Name of the maintenance window
    Schedule Pulumiverse.Dynatrace.Inputs.MaintenanceWindowsSchedule
    Schedule definition
    AutoDelete bool
    When enabled, this maintenance window configuration will be automatically deleted 30 days after the end of its last execution.
    Description string
    Description
    Enabled bool
    This setting is enabled (true) or disabled (false)
    Filter string
    DQL Filter
    Name string
    Name of the maintenance window
    Schedule MaintenanceWindowsScheduleArgs
    Schedule definition
    auto_delete bool
    When enabled, this maintenance window configuration will be automatically deleted 30 days after the end of its last execution.
    description string
    Description
    enabled bool
    This setting is enabled (true) or disabled (false)
    filter string
    DQL Filter
    name string
    Name of the maintenance window
    schedule object
    Schedule definition
    autoDelete Boolean
    When enabled, this maintenance window configuration will be automatically deleted 30 days after the end of its last execution.
    description String
    Description
    enabled Boolean
    This setting is enabled (true) or disabled (false)
    filter String
    DQL Filter
    name String
    Name of the maintenance window
    schedule MaintenanceWindowsSchedule
    Schedule definition
    autoDelete boolean
    When enabled, this maintenance window configuration will be automatically deleted 30 days after the end of its last execution.
    description string
    Description
    enabled boolean
    This setting is enabled (true) or disabled (false)
    filter string
    DQL Filter
    name string
    Name of the maintenance window
    schedule MaintenanceWindowsSchedule
    Schedule definition
    auto_delete bool
    When enabled, this maintenance window configuration will be automatically deleted 30 days after the end of its last execution.
    description str
    Description
    enabled bool
    This setting is enabled (true) or disabled (false)
    filter str
    DQL Filter
    name str
    Name of the maintenance window
    schedule MaintenanceWindowsScheduleArgs
    Schedule definition
    autoDelete Boolean
    When enabled, this maintenance window configuration will be automatically deleted 30 days after the end of its last execution.
    description String
    Description
    enabled Boolean
    This setting is enabled (true) or disabled (false)
    filter String
    DQL Filter
    name String
    Name of the maintenance window
    schedule Property Map
    Schedule definition

    Supporting Types

    MaintenanceWindowsSchedule, MaintenanceWindowsScheduleArgs

    Duration int
    Duration of the maintenance window in minutes.
    Trigger Pulumiverse.Dynatrace.Inputs.MaintenanceWindowsScheduleTrigger
    Trigger definition.
    Timezone string
    Time zone
    Duration int
    Duration of the maintenance window in minutes.
    Trigger MaintenanceWindowsScheduleTrigger
    Trigger definition.
    Timezone string
    Time zone
    duration number
    Duration of the maintenance window in minutes.
    trigger object
    Trigger definition.
    timezone string
    Time zone
    duration Integer
    Duration of the maintenance window in minutes.
    trigger MaintenanceWindowsScheduleTrigger
    Trigger definition.
    timezone String
    Time zone
    duration number
    Duration of the maintenance window in minutes.
    trigger MaintenanceWindowsScheduleTrigger
    Trigger definition.
    timezone string
    Time zone
    duration int
    Duration of the maintenance window in minutes.
    trigger MaintenanceWindowsScheduleTrigger
    Trigger definition.
    timezone str
    Time zone
    duration Number
    Duration of the maintenance window in minutes.
    trigger Property Map
    Trigger definition.
    timezone String
    Time zone

    MaintenanceWindowsScheduleTrigger, MaintenanceWindowsScheduleTriggerArgs

    Type string
    Type of trigger. Possible values: once, time
    Once MaintenanceWindowsScheduleTriggerOnce
    Once Trigger
    Recurring MaintenanceWindowsScheduleTriggerRecurring
    Time trigger
    type string
    Type of trigger. Possible values: once, time
    once object
    Once Trigger
    recurring object
    Time trigger
    type String
    Type of trigger. Possible values: once, time
    once MaintenanceWindowsScheduleTriggerOnce
    Once Trigger
    recurring MaintenanceWindowsScheduleTriggerRecurring
    Time trigger
    type string
    Type of trigger. Possible values: once, time
    once MaintenanceWindowsScheduleTriggerOnce
    Once Trigger
    recurring MaintenanceWindowsScheduleTriggerRecurring
    Time trigger
    type str
    Type of trigger. Possible values: once, time
    once MaintenanceWindowsScheduleTriggerOnce
    Once Trigger
    recurring MaintenanceWindowsScheduleTriggerRecurring
    Time trigger
    type String
    Type of trigger. Possible values: once, time
    once Property Map
    Once Trigger
    recurring Property Map
    Time trigger

    MaintenanceWindowsScheduleTriggerOnce, MaintenanceWindowsScheduleTriggerOnceArgs

    Date string
    Date for the once trigger.
    Date string
    Date for the once trigger.
    date string
    Date for the once trigger.
    date String
    Date for the once trigger.
    date string
    Date for the once trigger.
    date str
    Date for the once trigger.
    date String
    Date for the once trigger.

    MaintenanceWindowsScheduleTriggerRecurring, MaintenanceWindowsScheduleTriggerRecurringArgs

    Time string
    Time for the trigger.
    EarliestStart string
    Earliest start date for when the first instance of this maintenance window should be created.
    Rule string
    Reference to rule which specifies on which days instance of this maintenance window should be created.
    Until string
    Date after which instances of this recurring maintenance window should no longer be created.
    Time string
    Time for the trigger.
    EarliestStart string
    Earliest start date for when the first instance of this maintenance window should be created.
    Rule string
    Reference to rule which specifies on which days instance of this maintenance window should be created.
    Until string
    Date after which instances of this recurring maintenance window should no longer be created.
    time string
    Time for the trigger.
    earliest_start string
    Earliest start date for when the first instance of this maintenance window should be created.
    rule string
    Reference to rule which specifies on which days instance of this maintenance window should be created.
    until string
    Date after which instances of this recurring maintenance window should no longer be created.
    time String
    Time for the trigger.
    earliestStart String
    Earliest start date for when the first instance of this maintenance window should be created.
    rule String
    Reference to rule which specifies on which days instance of this maintenance window should be created.
    until String
    Date after which instances of this recurring maintenance window should no longer be created.
    time string
    Time for the trigger.
    earliestStart string
    Earliest start date for when the first instance of this maintenance window should be created.
    rule string
    Reference to rule which specifies on which days instance of this maintenance window should be created.
    until string
    Date after which instances of this recurring maintenance window should no longer be created.
    time str
    Time for the trigger.
    earliest_start str
    Earliest start date for when the first instance of this maintenance window should be created.
    rule str
    Reference to rule which specifies on which days instance of this maintenance window should be created.
    until str
    Date after which instances of this recurring maintenance window should no longer be created.
    time String
    Time for the trigger.
    earliestStart String
    Earliest start date for when the first instance of this maintenance window should be created.
    rule String
    Reference to rule which specifies on which days instance of this maintenance window should be created.
    until String
    Date after which instances of this recurring maintenance window should no longer be created.

    Package Details

    Repository
    dynatrace pulumiverse/pulumi-dynatrace
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the dynatrace Terraform Provider.
    dynatrace logo
    Viewing docs for Dynatrace v0.37.1
    published on Thursday, Jun 25, 2026 by Pulumiverse

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial