Share via


PeriodicTimerSourceInfo Class

Definition

Periodic timer event source.

public class PeriodicTimerSourceInfo : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.DataBoxEdge.Models.PeriodicTimerSourceInfo>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.DataBoxEdge.Models.PeriodicTimerSourceInfo>
public class PeriodicTimerSourceInfo
type PeriodicTimerSourceInfo = class
    interface IJsonModel<PeriodicTimerSourceInfo>
    interface IPersistableModel<PeriodicTimerSourceInfo>
type PeriodicTimerSourceInfo = class
Public Class PeriodicTimerSourceInfo
Implements IJsonModel(Of PeriodicTimerSourceInfo), IPersistableModel(Of PeriodicTimerSourceInfo)
Public Class PeriodicTimerSourceInfo
Inheritance
PeriodicTimerSourceInfo
Implements

Constructors

PeriodicTimerSourceInfo(DateTimeOffset, String)

Initializes a new instance of PeriodicTimerSourceInfo.

Properties

Schedule

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

StartOn

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.

Topic

Topic where periodic events are published to IoT device.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<PeriodicTimerSourceInfo>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<PeriodicTimerSourceInfo>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<PeriodicTimerSourceInfo>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<PeriodicTimerSourceInfo>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<PeriodicTimerSourceInfo>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to