共用方式為


ArmDevTestLabsModelFactory.DevTestLabScheduleCreationParameter Method

Definition

Initializes a new instance of DevTestLabScheduleCreationParameter.

public static Azure.ResourceManager.DevTestLabs.Models.DevTestLabScheduleCreationParameter DevTestLabScheduleCreationParameter (string name = default, Azure.Core.AzureLocation? location = default, System.Collections.Generic.IDictionary<string,string> tags = 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, Azure.Core.ResourceIdentifier targetResourceId = default);
static member DevTestLabScheduleCreationParameter : string * Nullable<Azure.Core.AzureLocation> * System.Collections.Generic.IDictionary<string, string> * Nullable<Azure.ResourceManager.DevTestLabs.Models.DevTestLabEnableStatus> * string * Azure.ResourceManager.DevTestLabs.Models.DevTestLabWeekDetails * string * Nullable<int> * string * Azure.ResourceManager.DevTestLabs.Models.DevTestLabNotificationSettings * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.DevTestLabs.Models.DevTestLabScheduleCreationParameter
Public Shared Function DevTestLabScheduleCreationParameter (Optional name As String = Nothing, Optional location As Nullable(Of AzureLocation) = Nothing, Optional tags As IDictionary(Of String, String) = 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 targetResourceId As ResourceIdentifier = Nothing) As DevTestLabScheduleCreationParameter

Parameters

name
String

The name of the virtual machine or environment.

location
Nullable<AzureLocation>

The location of the new virtual machine or environment.

tags
IDictionary<String,String>

The tags of the resource.

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.

hourlyRecurrenceMinute
Nullable<Int32>

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.

targetResourceId
ResourceIdentifier

The resource ID to which the schedule belongs.

Returns

A new DevTestLabScheduleCreationParameter instance for mocking.

Applies to