Share via


AlertProcessingRuleSchedule Class

Definition

Scheduling configuration for a given alert processing rule.

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

Constructors

AlertProcessingRuleSchedule()

Initializes a new instance of AlertProcessingRuleSchedule.

Properties

EffectiveFrom

Scheduling effective from time. Date-Time in ISO-8601 format without timezone suffix.

EffectiveUntil

Scheduling effective until time. Date-Time in ISO-8601 format without timezone suffix.

Recurrences

List of recurrences. Please note AlertProcessingRuleRecurrence is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include DailyRecurrence, AlertProcessingRuleMonthlyRecurrence and AlertProcessingRuleWeeklyRecurrence.

TimeZone

Scheduling time zone.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<AlertProcessingRuleSchedule>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<AlertProcessingRuleSchedule>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AlertProcessingRuleSchedule>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AlertProcessingRuleSchedule>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<AlertProcessingRuleSchedule>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to