Share via


AutomationScheduleCreateOrUpdateContent Class

Definition

The parameters supplied to the create or update schedule operation.

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

Constructors

AutomationScheduleCreateOrUpdateContent(String, DateTimeOffset, AutomationScheduleFrequency)

Initializes a new instance of AutomationScheduleCreateOrUpdateContent.

Properties

AdvancedSchedule

Gets or sets the AdvancedSchedule.

Description

Gets or sets the description of the schedule.

ExpireOn

Gets or sets the end time of the schedule.

Frequency

Gets or sets the frequency of the schedule.

Interval

Gets or sets the interval of the schedule.

To assign an object to this property use FromObjectAsJson<T>(T, JsonSerializerOptions).

To assign an already formatted json string to this property use FromString(String).

Examples:

  • BinaryData.FromObjectAsJson("foo"): Creates a payload of "foo".
  • BinaryData.FromString("\"foo\""): Creates a payload of "foo".
  • BinaryData.FromObjectAsJson(new { key = "value" }): Creates a payload of { "key": "value" }.
  • BinaryData.FromString("{\"key\": \"value\"}"): Creates a payload of { "key": "value" }.

Name

Gets or sets the name of the Schedule.

StartOn

Gets or sets the start time of the schedule.

TimeZone

Gets or sets the time zone of the schedule.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<AutomationScheduleCreateOrUpdateContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<AutomationScheduleCreateOrUpdateContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AutomationScheduleCreateOrUpdateContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AutomationScheduleCreateOrUpdateContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<AutomationScheduleCreateOrUpdateContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to