Skip to main content

Update Scheduled Downtime

Update scheduled downtime.

Basic Parameters

ParameterDescription
IDThe Id of the SDT. This value will be in the following format "XX_##" where XX will refer to the type of SDT and.

Advanced Parameters

ParameterDescription
AdminThe name of the user who created the SDT.
CommentThe comment associated with the SDT.
DurationThe duration of the SDT in minutes.
End HourThe hour that the SDT ends for a repeating SDT.
End MinuteThe minute of the hour that the SDT ends for a repeating.
End TimeThe date and time in which the maintenance window will end. The date should be in millisecond unix format.
Is Effectivetrue: the SDT is currently active. false: the SDT is currently inactive.
Local End TimeThe date, time and time zone that the SDT will end at.
Local Start TimeThe epoch time, in milliseconds, that the SDT will start.
Month DayThe day of the month that the SDT will be active for a monthly SDT.
Scheduled Downtime Typethe type of sdt, values can be oneTime|weekly|monthly|daily|monthlyByWeek.
Start HourThe hour that the SDT will start for a repeating SDT (daily, weekly, or monthly).
Start MinuteThe minute of the hour that the SDT should begin for a repeating SDT.
Start TimeThe date and time in which the maintenance window will begin. The date should be in millisecond unix format.
TimezoneThe specific timezone for SDT.
TypeThe type resource that this SDT is for.
Week Daythe week day of sdt.
Week Of MonthThe week of the month that the SDT will be active for a monthly SDT.

Example Output

{
"endDateTimeOnLocal": "string",
"timezone": "America/Los_Angeles",
"sdtType": "oneTime",
"monthDay": 7,
"weekOfMonth": "1",
"admin": "string",
"endDateTime": 1534554000000,
"type": "DeviceGroupSDT",
"isEffective": true,
"minute": 6,
"duration": 138,
"endHour": 5,
"startDateTime": 1534460400000,
"hour": 3,
"startDateTimeOnLocal": "string",
"weekDay": "Sunday",
"comment": "Emergency prod deployment",
"id": "string",
"endMinute": 18
}

Workflow Library Example

Update Scheduled Downtime with Logicmonitor and Send Results Via Email

Workflow LibraryPreview this Workflow on desktop