AddOrUpdateMaintenanceWindowsRequest

This element contains the data expected in an invocation of the AddOrUpdateMaintenanceWindows operation. The element is embedded in a SOAP envelope.

Derived by

Restricting anyType

Content model

Contains the elements defined in the following table.

Component Type Occurs Nillable? Description
SEQUENCE   1..1    
Credentials anyType (restriction) 1..1 No A Credentials element contains the username and password of an account user. The element is required in all requests to the Test Management Web Service.
UserName [element Credentials] string 1..1 No The UserName of an employee for an account (and used for authentication).
Password [element Credentials] string 1..1 No A secret used as part of user credentials for authentication. Every request to the Test Management API web service must include a Credentials element. That element itself contains a UserName and a Password element.
MaintenanceWindowMonitor anyType (restriction) 1..* No 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.

Example

This example contains one-time maintenance window definitions:

<prov:AddOrUpdateMaintenanceWindowsRequest
    xmlns:prov="http://www.gomeznetworks.com/schemas/provisioning">
    <prov:Credentials>
        <prov:UserName>erics</prov:UserName>
        <prov:Password>erics</prov:Password>
    </prov:Credentials>
    <!--1 or more repetitions:-->
    <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>
</prov:AddOrUpdateMaintenanceWindowsRequest>

This example contains recurring maintenance window definitions:

<prov:AddOrUpdateMaintenanceWindowsRequest
   xmlns:prov="http://www.gomeznetworks.com/schemas/provisioning">
   <prov:Credentials>
      <prov:UserName>erics</prov:UserName>
      <prov:Password>erics</prov:Password>
   </prov:Credentials>
   <prov:MaintenanceWindowMonitor monitorId="326334"
           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>
   <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>
</prov:AddOrUpdateMaintenanceWindowsRequest>