Compartir a través de


ScalingPlanPersonalScheduleCollection.GetAsync Método

Definición

Obtenga un ScalingPlanPersonalSchedule.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/scalingPlans/{scalingPlanName}/personalSchedules/{scalingPlanScheduleName}
  • IdScalingPlanPersonalSchedules_Get de operaciones
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DesktopVirtualization.ScalingPlanPersonalScheduleResource>> GetAsync (string scalingPlanScheduleName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DesktopVirtualization.ScalingPlanPersonalScheduleResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DesktopVirtualization.ScalingPlanPersonalScheduleResource>>
Public Overridable Function GetAsync (scalingPlanScheduleName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ScalingPlanPersonalScheduleResource))

Parámetros

scalingPlanScheduleName
String

Nombre de ScalingPlanSchedule.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

scalingPlanScheduleName es una cadena vacía y se esperaba que no estuviera vacía.

scalingPlanScheduleName es null.

Se aplica a