Partilhar via


ArmDevTestLabsModelFactory.DevTestLabScheduleData Método

Definição

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

Parâmetros

name
String

O nome.

resourceType
ResourceType

O resourceType.

systemData
SystemData

O systemData.

tags
IDictionary<String,String>

As marcas.

location
AzureLocation

O local.

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.

createdOn
Nullable<DateTimeOffset>

A data de criação do agendamento.

targetResourceId
String

A ID do recurso à qual o agendamento pertence.

provisioningState
String

O status de provisionamento do recurso.

uniqueIdentifier
Nullable<Guid>

O identificador imutável exclusivo de um recurso (Guid).

Retornos

Uma nova DevTestLabScheduleData instância para simulação.

Aplica-se a