Forum Discussion
Stuart_Weenig
Mastermind
4 months agoAccording to the swagger for v3, the type fields is actually "sdtType":
{
timezone string
example: America/Los_Angeles
The specific timezone for SDT
sdtType string
example: oneTime
The type of sdt. The values can be oneTime|weekly|monthly|daily|monthlyByWeek
monthDay integer($int32)
example: 7
The values can be 1 | 2....| 31. Specifies the day of the month that the SDT will be active for a monthly SDT
weekOfMonth string
example: 1
The week of the month that the SDT will be active for a monthly SDT
endDateTime integer($int64)
example: 1534554000000
The epoch time, in milliseconds, that the SDT will end
type* string
example: ResourceGroupSDT
The type of resource that this SDT is for. The values can be CollectorSDT | DeviceDataSourceInstanceSDT | DeviceBatchJobSDT | DeviceClusterAlertDefSDT | DeviceDataSourceInstanceGroupSDT | DeviceDataSourceSDT | DeviceEventSourceSDT | ResourceGroupSDT | ResourceSDT | WebsiteCheckpointSDT | WebsiteGroupSDT | WebsiteSDT | DeviceLogPipeLineResourceSDT
minute integer($int32)
example: 6
The values can be 1 | 2....| 60. Specifies the minute of the hour that the SDT should begin for a repeating SDT
duration integer($int32)
example: 138
The duration of the SDT in minutes
endHour integer($int32)
example: 5
The values can be 1 | 2....| 24. Specifies the hour that the SDT ends for a repeating SDT
startDateTime integer($int64)
example: 1534460400000
The epoch time, in milliseconds, that the SDT will start
hour integer($int32)
example: 3
The values can be 1 | 2....| 24. Specifies the hour that the SDT will start for a repeating SDT (daily, weekly, or monthly)
weekDay string
example: Sunday
The week day of sdt. The values can be SUNDAY|MONDAY|TUESDAY|WEDNESDAY|THURSDAY|FRIDAY|SATURDAY
comment string
example: Emergency prod deployment
The notes associated with the SDT
endMinute integer($int32)
example: 18
The values can be 1 | 2....| 60. Specifies the minute of the hour that the SDT ends for a repeating SDT
}
Related Content
- 18 days ago