Compartilhar via


ScalingPlanResource.Update(ScalingPlanPatch, CancellationToken) Método

Definição

Atualizar um plano de dimensionamento.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/scalingPlans/{scalingPlanName}
  • IdScalingPlans_Update de operação
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 contém definições de plano de dimensionamento.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

patch é nulo.

Aplica-se a