Partilhar via


ScalingPlanPooledScheduleResource.UpdateAsync Método

Definição

Atualize um ScalingPlanPooledSchedule.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/scalingPlans/{scalingPlanName}/pooledSchedules/{scalingPlanScheduleName}
  • Operação IdScalingPlanPooledSchedules_Update
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DesktopVirtualization.ScalingPlanPooledScheduleResource>> UpdateAsync (Azure.ResourceManager.DesktopVirtualization.Models.ScalingPlanPooledSchedulePatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.DesktopVirtualization.Models.ScalingPlanPooledSchedulePatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DesktopVirtualization.ScalingPlanPooledScheduleResource>>
override this.UpdateAsync : Azure.ResourceManager.DesktopVirtualization.Models.ScalingPlanPooledSchedulePatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DesktopVirtualization.ScalingPlanPooledScheduleResource>>
Public Overridable Function UpdateAsync (patch As ScalingPlanPooledSchedulePatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ScalingPlanPooledScheduleResource))

Parâmetros

patch
ScalingPlanPooledSchedulePatch

Objeto que contém definições ScalingPlanPooledSchedule.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

patch é nulo.

Aplica-se a