Compartilhar via


ArmDevTestLabsModelFactory.DevTestLabScheduleCreationParameter Método

Definição

Inicializa uma nova instância de 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

Parâmetros

name
String

O nome da máquina virtual ou ambiente.

location
Nullable<AzureLocation>

O local da nova máquina virtual ou ambiente.

tags
IDictionary<String,String>

As marcas do recurso.

status
Nullable<DevTestLabEnableStatus>

O status do agendamento (ou seja, Habilitado, Desabilitado).

taskType
String

O tipo de tarefa do agendamento (por exemplo, LabVmsShutdownTask, LabVmAutoStart).

weeklyRecurrence
DevTestLabWeekDetails

Se o agendamento ocorrer apenas alguns dias da semana, especifique a recorrência semanal.

dailyRecurrenceTime
String

Se o agendamento ocorrer uma vez a cada dia da semana, especifique a recorrência diária.

hourlyRecurrenceMinute
Nullable<Int32>

Se o agendamento ocorrer várias vezes por dia, especifique a recorrência por hora.

timeZoneId
String

A ID do fuso horário (por exemplo, hora padrão do Pacífico).

notificationSettings
DevTestLabNotificationSettings

Configurações de notificação.

targetResourceId
ResourceIdentifier

A ID do recurso à qual o agendamento pertence.

Retornos

Uma nova DevTestLabScheduleCreationParameter instância para zombar.

Aplica-se a