Udostępnij za pośrednictwem


AutomationScheduleCreateOrUpdateContent Class

Definition

The parameters supplied to the create or update schedule operation.

public class AutomationScheduleCreateOrUpdateContent
type AutomationScheduleCreateOrUpdateContent = class
Public Class AutomationScheduleCreateOrUpdateContent
Inheritance
AutomationScheduleCreateOrUpdateContent

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.

Applies to