ArmDevTestLabsModelFactory.DevTestLabScheduleData 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 DevTestLabScheduleData.
public static Azure.ResourceManager.DevTestLabs.DevTestLabScheduleData DevTestLabScheduleData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, Azure.ResourceManager.DevTestLabs.Models.DevTestLabEnableStatus? status = default, string taskType = default, Azure.ResourceManager.DevTestLabs.Models.DevTestLabWeekDetails weeklyRecurrence = default, string dailyRecurrenceTime = default, int? hourlyRecurrenceMinute = default, string timeZoneId = default, Azure.ResourceManager.DevTestLabs.Models.DevTestLabNotificationSettings notificationSettings = default, DateTimeOffset? createdOn = default, string targetResourceId = default, string provisioningState = default, Guid? uniqueIdentifier = default);
static member DevTestLabScheduleData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Nullable<Azure.ResourceManager.DevTestLabs.Models.DevTestLabEnableStatus> * string * Azure.ResourceManager.DevTestLabs.Models.DevTestLabWeekDetails * string * Nullable<int> * string * Azure.ResourceManager.DevTestLabs.Models.DevTestLabNotificationSettings * Nullable<DateTimeOffset> * string * string * Nullable<Guid> -> Azure.ResourceManager.DevTestLabs.DevTestLabScheduleData
Public Shared Function DevTestLabScheduleData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional status As Nullable(Of DevTestLabEnableStatus) = Nothing, Optional taskType As String = Nothing, Optional weeklyRecurrence As DevTestLabWeekDetails = Nothing, Optional dailyRecurrenceTime As String = Nothing, Optional hourlyRecurrenceMinute As Nullable(Of Integer) = Nothing, Optional timeZoneId As String = Nothing, Optional notificationSettings As DevTestLabNotificationSettings = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional targetResourceId As String = Nothing, Optional provisioningState As String = Nothing, Optional uniqueIdentifier As Nullable(Of Guid) = Nothing) As DevTestLabScheduleData
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- tags
- IDictionary<String,String>
The tags.
- location
- AzureLocation
The location.
- status
- Nullable<DevTestLabEnableStatus>
The status of the schedule (i.e. Enabled, Disabled).
- taskType
- String
The task type of the schedule (e.g. LabVmsShutdownTask, LabVmAutoStart).
- weeklyRecurrence
- DevTestLabWeekDetails
If the schedule will occur only some days of the week, specify the weekly recurrence.
- dailyRecurrenceTime
- String
If the schedule will occur once each day of the week, specify the daily recurrence.
If the schedule will occur multiple times a day, specify the hourly recurrence.
- timeZoneId
- String
The time zone ID (e.g. Pacific Standard time).
- notificationSettings
- DevTestLabNotificationSettings
Notification settings.
- createdOn
- Nullable<DateTimeOffset>
The creation date of the schedule.
- targetResourceId
- String
The resource ID to which the schedule belongs.
- provisioningState
- String
The provisioning status of the resource.
Returns
A new DevTestLabScheduleData instance for mocking.
Applies to
Azure SDK for .NET