ArmLabServicesModelFactory.LabServicesScheduleData Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of LabServicesScheduleData.
public static Azure.ResourceManager.LabServices.LabServicesScheduleData LabServicesScheduleData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, DateTimeOffset? startOn = default, DateTimeOffset? stopOn = default, Azure.ResourceManager.LabServices.Models.LabServicesRecurrencePattern recurrencePattern = default, string timeZoneId = default, BinaryData notes = default, Azure.ResourceManager.LabServices.Models.LabServicesProvisioningState? provisioningState = default);
static member LabServicesScheduleData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Azure.ResourceManager.LabServices.Models.LabServicesRecurrencePattern * string * BinaryData * Nullable<Azure.ResourceManager.LabServices.Models.LabServicesProvisioningState> -> Azure.ResourceManager.LabServices.LabServicesScheduleData
Public Shared Function LabServicesScheduleData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional startOn As Nullable(Of DateTimeOffset) = Nothing, Optional stopOn As Nullable(Of DateTimeOffset) = Nothing, Optional recurrencePattern As LabServicesRecurrencePattern = Nothing, Optional timeZoneId As String = Nothing, Optional notes As BinaryData = Nothing, Optional provisioningState As Nullable(Of LabServicesProvisioningState) = Nothing) As LabServicesScheduleData
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- startOn
- Nullable<DateTimeOffset>
When lab user virtual machines will be started. Timestamp offsets will be ignored and timeZoneId is used instead.
- stopOn
- Nullable<DateTimeOffset>
When lab user virtual machines will be stopped. Timestamp offsets will be ignored and timeZoneId is used instead.
- recurrencePattern
- LabServicesRecurrencePattern
The recurrence pattern of the scheduled actions.
- timeZoneId
- String
The IANA timezone id for the schedule.
- notes
- BinaryData
Notes for this schedule.
- provisioningState
- Nullable<LabServicesProvisioningState>
Current provisioning state of the schedule.
Returns
A new LabServicesScheduleData instance for mocking.
Applies to
Azure SDK for .NET