Share via


ScheduledActionsSchedule Class

Definition

Specify the schedule in which the scheduled action is supposed to follow.

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

Constructors

ScheduledActionsSchedule(TimeSpan, String, IEnumerable<ScheduledActionsScheduleWeekDay>, IEnumerable<ScheduledActionsScheduleMonth>, IEnumerable<Int32>)

Initializes a new instance of ScheduledActionsSchedule.

Properties

DeadlineType

The type of deadline the scheduled action is supposed to follow for the schedule. If no value is passed, it will default to InitiateAt.

ExecutionParameters

The execution parameters the scheduled action is supposed to follow.

RequestedDaysOfTheMonth

The days of the month the scheduled action is supposed to run on. If empty, it means it will run on every day of the month.

RequestedMonths

The months the scheduled action is supposed to run on.

RequestedWeekDays

The week days the scheduled action is supposed to run on.

ScheduledTime

The time the scheduled action is supposed to run on.

TimeZone

The timezone the scheduled time is specified on.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ScheduledActionsSchedule>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ScheduledActionsSchedule>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ScheduledActionsSchedule>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ScheduledActionsSchedule>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ScheduledActionsSchedule>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to