Share via


Schedule Constructors

Definition

Overloads

Schedule()

Initializes a new instance of the Schedule class.

Schedule(String, String, String, SystemData, Nullable<DateTime>, Nullable<DateTime>, RecurrencePattern, String, String, Nullable<ProvisioningState>)

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, SystemData, Nullable<DateTime>, Nullable<DateTime>, RecurrencePattern, String, String, Nullable<ProvisioningState>)

Initializes a new instance of the Schedule class.

public Schedule (string id = default, string name = default, string type = default, Microsoft.Azure.Management.LabServices.Models.SystemData systemData = default, DateTime? startAt = default, DateTime? stopAt = default, Microsoft.Azure.Management.LabServices.Models.RecurrencePattern recurrencePattern = default, string timeZoneId = default, string notes = default, Microsoft.Azure.Management.LabServices.Models.ProvisioningState? provisioningState = default);
new Microsoft.Azure.Management.LabServices.Models.Schedule : string * string * string * Microsoft.Azure.Management.LabServices.Models.SystemData * Nullable<DateTime> * Nullable<DateTime> * Microsoft.Azure.Management.LabServices.Models.RecurrencePattern * string * string * Nullable<Microsoft.Azure.Management.LabServices.Models.ProvisioningState> -> Microsoft.Azure.Management.LabServices.Models.Schedule
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional systemData As SystemData = Nothing, Optional startAt As Nullable(Of DateTime) = Nothing, Optional stopAt As Nullable(Of DateTime) = Nothing, Optional recurrencePattern As RecurrencePattern = Nothing, Optional timeZoneId As String = Nothing, Optional notes As String = Nothing, Optional provisioningState As Nullable(Of ProvisioningState) = Nothing)

Parameters

id
String

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

name
String

The name of the resource

type
String

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

systemData
SystemData

Metadata pertaining to creation and last modification of the schedule.

startAt
Nullable<DateTime>

When lab user virtual machines will be started. Timestamp offsets will be ignored and timeZoneId is used instead.

stopAt
Nullable<DateTime>

When lab user virtual machines will be stopped. Timestamp offsets will be ignored and timeZoneId is used instead.

recurrencePattern
RecurrencePattern

The recurrence pattern of the scheduled actions.

timeZoneId
String

The IANA timezone id for the schedule.

notes
String

Notes for this schedule.

provisioningState
Nullable<ProvisioningState>

Current provisioning state of the schedule. Possible values include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Failed', 'Locked'

Applies to