다음을 통해 공유


MonitorRecurrence Class

Definition

The repeating times at which this profile begins. This element is not used if the FixedDate element is used.

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

Constructors

MonitorRecurrence(RecurrenceFrequency, RecurrentSchedule)

Initializes a new instance of MonitorRecurrence.

Properties

Frequency

the recurrence frequency. How often the schedule profile should take effect. This value must be Week, meaning each week will have the same set of profiles. For example, to set a daily schedule, set schedule to every day of the week. The frequency property specifies that the schedule is repeated weekly.

Schedule

the scheduling constraints for when the profile begins.

Explicit Interface Implementations

IJsonModel<MonitorRecurrence>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<MonitorRecurrence>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<MonitorRecurrence>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MonitorRecurrence>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<MonitorRecurrence>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to