Compartir a través de


ScalingPlanResource.Update(ScalingPlanPatch, CancellationToken) Método

Definición

Actualizar un plan de escalado.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/scalingPlans/{scalingPlanName}
  • IdScalingPlans_Update de operaciones
public virtual Azure.Response<Azure.ResourceManager.DesktopVirtualization.ScalingPlanResource> Update (Azure.ResourceManager.DesktopVirtualization.Models.ScalingPlanPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.ResourceManager.DesktopVirtualization.Models.ScalingPlanPatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DesktopVirtualization.ScalingPlanResource>
override this.Update : Azure.ResourceManager.DesktopVirtualization.Models.ScalingPlanPatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DesktopVirtualization.ScalingPlanResource>
Public Overridable Function Update (patch As ScalingPlanPatch, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ScalingPlanResource)

Parámetros

patch
ScalingPlanPatch

Objeto que contiene definiciones de plan de escalado.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

patch es null.

Se aplica a