Share via


Schedule Constructors

Definition

Overloads

Schedule()

Initializes a new instance of the Schedule class.

Schedule(String, String, String, DateTimeOffset, Double, Nullable<DateTimeOffset>, Double, Nullable<Boolean>, Nullable<DateTimeOffset>, Double, Object, String, String, AdvancedSchedule, DateTimeOffset, DateTimeOffset, String)

Initializes a new instance of the Schedule class.

Schedule()

Initializes a new instance of the Schedule class.

public Schedule ();
Public Sub New ()

Applies to

Schedule(String, String, String, DateTimeOffset, Double, Nullable<DateTimeOffset>, Double, Nullable<Boolean>, Nullable<DateTimeOffset>, Double, Object, String, String, AdvancedSchedule, DateTimeOffset, DateTimeOffset, String)

Initializes a new instance of the Schedule class.

public Schedule (string id = default, string name = default, string type = default, DateTimeOffset startTime = default, double startTimeOffsetMinutes = 0, DateTimeOffset? expiryTime = default, double expiryTimeOffsetMinutes = 0, bool? isEnabled = default, DateTimeOffset? nextRun = default, double nextRunOffsetMinutes = 0, object interval = default, string frequency = default, string timeZone = default, Microsoft.Azure.Management.Automation.Models.AdvancedSchedule advancedSchedule = default, DateTimeOffset creationTime = default, DateTimeOffset lastModifiedTime = default, string description = default);
new Microsoft.Azure.Management.Automation.Models.Schedule : string * string * string * DateTimeOffset * double * Nullable<DateTimeOffset> * double * Nullable<bool> * Nullable<DateTimeOffset> * double * obj * string * string * Microsoft.Azure.Management.Automation.Models.AdvancedSchedule * DateTimeOffset * DateTimeOffset * string -> Microsoft.Azure.Management.Automation.Models.Schedule
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional startTime As DateTimeOffset = Nothing, Optional startTimeOffsetMinutes As Double = 0, Optional expiryTime As Nullable(Of DateTimeOffset) = Nothing, Optional expiryTimeOffsetMinutes As Double = 0, Optional isEnabled As Nullable(Of Boolean) = Nothing, Optional nextRun As Nullable(Of DateTimeOffset) = Nothing, Optional nextRunOffsetMinutes As Double = 0, Optional interval As Object = Nothing, Optional frequency As String = Nothing, Optional timeZone As String = Nothing, Optional advancedSchedule As AdvancedSchedule = Nothing, Optional creationTime As DateTimeOffset = Nothing, Optional lastModifiedTime As DateTimeOffset = Nothing, Optional description As String = Nothing)

Parameters

id
String

Fully qualified resource Id for the resource

name
String

The name of the resource

type
String

The type of the resource.

startTime
DateTimeOffset

Gets or sets the start time of the schedule.

startTimeOffsetMinutes
Double

Gets the start time's offset in minutes.

expiryTime
Nullable<DateTimeOffset>

Gets or sets the end time of the schedule.

expiryTimeOffsetMinutes
Double

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

isEnabled
Nullable<Boolean>

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

nextRun
Nullable<DateTimeOffset>

Gets or sets the next run time of the schedule.

nextRunOffsetMinutes
Double

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

interval
Object

Gets or sets the interval of the schedule.

frequency
String

Gets or sets the frequency of the schedule. Possible values include: 'OneTime', 'Day', 'Hour', 'Week', 'Month', 'Minute'

timeZone
String

Gets or sets the time zone of the schedule.

advancedSchedule
AdvancedSchedule

Gets or sets the advanced schedule.

creationTime
DateTimeOffset

Gets or sets the creation time.

lastModifiedTime
DateTimeOffset

Gets or sets the last modified time.

description
String

Gets or sets the description.

Applies to