Partager via


ScalingPlanPersonalScheduleCollection.Get(String, CancellationToken) Méthode

Définition

Obtenir un ScalingPlanPersonalSchedule.

  • Chemin/abonnements de la demande/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/scalingPlans/{scalingPlanName}/personalSchedules/{scalingPlanScheduleName}
  • IdScalingPlanPersonalSchedules_Get d’opération
public virtual Azure.Response<Azure.ResourceManager.DesktopVirtualization.ScalingPlanPersonalScheduleResource> Get (string scalingPlanScheduleName, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DesktopVirtualization.ScalingPlanPersonalScheduleResource>
override this.Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DesktopVirtualization.ScalingPlanPersonalScheduleResource>
Public Overridable Function Get (scalingPlanScheduleName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ScalingPlanPersonalScheduleResource)

Paramètres

scalingPlanScheduleName
String

Nom de ScalingPlanSchedule.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

scalingPlanScheduleName est une chaîne vide, et on s’attendait à ce qu’elle ne soit pas vide.

scalingPlanScheduleName a la valeur null.

S’applique à