Dela via


ScheduleProperties Class

Definition

The properties of the schedule.

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

Constructors

ScheduleProperties(ScheduleFrequency, DateTimeOffset, DateTimeOffset)

Initializes a new instance of ScheduleProperties.

Properties

DayOfMonth

UTC day on which cost analysis data will be emailed. Must be between 1 and 31. This property is applicable when frequency is Monthly and overrides weeksOfMonth or daysOfWeek.

DaysOfWeek

Day names in english on which cost analysis data will be emailed. This property is applicable when frequency is Weekly or Monthly.

EndOn

The end date and time of the scheduled action (UTC).

Frequency

Frequency of the schedule.

HourOfDay

UTC time at which cost analysis data will be emailed.

StartOn

The start date and time of the scheduled action (UTC).

WeeksOfMonth

Weeks in which cost analysis data will be emailed. This property is applicable when frequency is Monthly and used in combination with daysOfWeek.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ScheduleProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ScheduleProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ScheduleProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ScheduleProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ScheduleProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to