MaintenanceWindowMonitor

A maintenance window monitor appears in both the GetMaintenanceWindows output as well as in the AddOrUpdateMaintenanceWindows request. In the first context, it is a container of monitor-level maintenance window data for already configured maintenance windows. In the second context, it contains monitor-level maintenance window data for use in adding new or updating existing maintenance windows.

Derived by

Restricting anyType

Attributes

Name Type Required? Default Description
monitorId string Yes A monitorId uniquely identifies a test within the Dynatrace Portal.
createDate dateTime No The date on which the test was created.
modifyDate dateTime No The date on which the test was last modified.
monitorStatus MonitorStatusType No The current status of the test (Active or Inactive).

Content model

Contains elements as defined in the following table.

Component Type Occurs Nillable? Description
SEQUENCE 1..1
OneTimeMaintenanceWindows anyType (restriction) 0..1 No OneTimeMaintenanceWindows are collections of OneTimeMaintenanceWindow elements (see OneTimeMaintenanceWindow).
RecurringMaintenanceWindows anyType (restriction) 0..1 No The RecurringMaintenanceWindows element is a container of RecurringMaintenanceWindow elements. It appears in both GetMaintenanceWindowsResponses and in invocations of the two operations provided for updating the existing maintenance windows (AddOrUpdateMaintenanceWindows and ApplyMaintenanceWindowTemplate) to the monitors.

Referenced by

Example

The following maintenance window monitor element contains recurring maintenance window definitions:

<prov:MaintenanceWindowMonitor monitorId="263717"
   xmlns:prov="http://www.gomeznetworks.com/schemas/provisioning">
   <prov:RecurringMaintenanceWindows>
      <prov:RecurringMaintenanceWindow
        dayOfWeek="SAT"
        startTime="01:00:00.0000000-04:00"
        endTime="02:20:00.0000000-04:00"/>
      <prov:RecurringMaintenanceWindow
        dayOfWeek="SUN"
        startTime="21:50:00.0000000-05:00"
        endTime="22:50:00.0000000-05:00"/>
   </prov:RecurringMaintenanceWindows>
</prov:MaintenanceWindowMonitor>

The next example contains one-time maintenance window definitions:

<prov:MaintenanceWindowMonitor monitorId="263717">
   <!--Optional:-->
   <prov:OneTimeMaintenanceWindows>
      <!--Zero or more repetitions:-->
      <prov:OneTimeMaintenanceWindow
        beginDate="2012-11-09T15:03:42"
        endDate="2012-11-10T18:03:42"/>
      <prov:OneTimeMaintenanceWindow
        beginDate="2012-11-15T15:03:42"
        endDate="2012-11-16T18:03:42"/>
   </prov:OneTimeMaintenanceWindows>
</prov:MaintenanceWindowMonitor>