Sdílet prostřednictvím


AutomationScheduleData Class

Definition

A class representing the AutomationSchedule data model. Definition of the schedule.

public class AutomationScheduleData : Azure.ResourceManager.Models.ResourceData
type AutomationScheduleData = class
    inherit ResourceData
Public Class AutomationScheduleData
Inherits ResourceData
Inheritance
AutomationScheduleData

Constructors

AutomationScheduleData()

Initializes a new instance of AutomationScheduleData.

Properties

AdvancedSchedule

Gets or sets the advanced schedule.

CreatedOn

Gets or sets the creation time.

Description

Gets or sets the description.

ExpireInMinutes

Gets or sets the expiry time's offset in minutes.

ExpireOn

Gets or sets the end time of the schedule.

Frequency

Gets or sets the frequency of the schedule.

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

(Inherited from ResourceData)
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" }.

IsEnabled

Gets or sets a value indicating whether this schedule is enabled.

LastModifiedOn

Gets or sets the last modified time.

Name

The name of the resource.

(Inherited from ResourceData)
NextRunInMinutes

Gets or sets the next run time's offset in minutes.

NextRunOn

Gets or sets the next run time of the schedule.

ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

(Inherited from ResourceData)
StartInMinutes

Gets the start time's offset in minutes.

StartOn

Gets or sets the start time of the schedule.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
TimeZone

Gets or sets the time zone of the schedule.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from ResourceData)

Applies to