次の方法で共有


ArmDevTestLabsModelFactory.DevTestLabScheduleCreationParameter メソッド

定義

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

パラメーター

name
String

仮想マシンまたは環境の名前。

location
Nullable<AzureLocation>

新しい仮想マシンまたは環境の場所。

tags
IDictionary<String,String>

リソースのタグ。

status
Nullable<DevTestLabEnableStatus>

スケジュールの状態 (つまり、有効、無効)。

taskType
String

スケジュールのタスクの種類 (LabVmsShutdownTask、LabVmAutoStart など)。

weeklyRecurrence
DevTestLabWeekDetails

スケジュールが週の数日だけ発生する場合は、週単位の繰り返しを指定します。

dailyRecurrenceTime
String

スケジュールが週の各日に 1 回行われる場合は、毎日の繰り返しを指定します。

hourlyRecurrenceMinute
Nullable<Int32>

スケジュールが 1 日に複数回発生する場合は、時間単位の繰り返しを指定します。

timeZoneId
String

タイム ゾーン ID (太平洋標準時など)。

notificationSettings
DevTestLabNotificationSettings

通知設定。

targetResourceId
ResourceIdentifier

スケジュールが属するリソース ID。

戻り値

モック作成用の新しい DevTestLabScheduleCreationParameter インスタンス。

適用対象