Compartir a través de


DesktopVirtualizationExtensions.GetScalingPlanAsync Método

Definición

Obtener un plan de escalado.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/scalingPlans/{scalingPlanName}
  • IdScalingPlans_Get de operaciones
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DesktopVirtualization.ScalingPlanResource>> GetScalingPlanAsync (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string scalingPlanName, System.Threading.CancellationToken cancellationToken = default);
static member GetScalingPlanAsync : Azure.ResourceManager.Resources.ResourceGroupResource * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DesktopVirtualization.ScalingPlanResource>>
<Extension()>
Public Function GetScalingPlanAsync (resourceGroupResource As ResourceGroupResource, scalingPlanName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ScalingPlanResource))

Parámetros

resourceGroupResource
ResourceGroupResource

Instancia ResourceGroupResource en la que se ejecutará el método.

scalingPlanName
String

Nombre del plan de escalado.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

scalingPlanName es una cadena vacía y se espera que no esté vacía.

scalingPlanName es null.

Se aplica a