Partager via


ArmDevTestLabsModelFactory.DevTestLabScheduleCreationParameter Méthode

Définition

Initialise une nouvelle instance 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

Paramètres

name
String

Nom de la machine virtuelle ou de l’environnement.

location
Nullable<AzureLocation>

Emplacement du nouvel environnement ou machine virtuelle.

tags
IDictionary<String,String>

Balises de la ressource.

status
Nullable<DevTestLabEnableStatus>

Status de la planification (par exemple, Activé, Désactivé).

taskType
String

Type de tâche de la planification (par exemple, LabVmsShutdownTask, LabVmAutoStart).

weeklyRecurrence
DevTestLabWeekDetails

Si la planification ne se produit que certains jours de la semaine, spécifiez la périodicité hebdomadaire.

dailyRecurrenceTime
String

Si la planification se produit une fois chaque jour de la semaine, spécifiez la périodicité quotidienne.

hourlyRecurrenceMinute
Nullable<Int32>

Si la planification se produit plusieurs fois par jour, spécifiez la périodicité horaire.

timeZoneId
String

ID de fuseau horaire (par exemple, l’heure standard du Pacifique).

notificationSettings
DevTestLabNotificationSettings

Paramètres de notification.

targetResourceId
ResourceIdentifier

ID de ressource auquel la planification appartient.

Retours

Une nouvelle DevTestLabScheduleCreationParameter instance de moqueries.

S’applique à