PeriodicTimerSourceInfo Class

Periodic timer event source.

All required parameters must be populated in order to send to Azure.

Inheritance
PeriodicTimerSourceInfo

Constructor

PeriodicTimerSourceInfo(*, start_time: datetime.datetime, schedule: str, topic: Optional[str] = None, **kwargs)

Parameters

start_time
datetime
Required

Required. The time of the day that results in a valid trigger. Schedule is computed with reference to the time specified upto seconds. If timezone is not specified the time will considered to be in device timezone. The value will always be returned as UTC time.

schedule
str
Required

Required. Periodic frequency at which timer event needs to be raised. Supports daily, hourly, minutes, and seconds.

topic
str
Required

Topic where periodic events are published to IoT device.