Partilhar via


ScalingPlanPersonalScheduleResource.UpdateAsync Método

Definição

Atualize um ScalingPlanPersonalSchedule.

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

Parâmetros

patch
ScalingPlanPersonalSchedulePatch

Objeto que contém definições ScalingPlanPersonalSchedule.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

patch é nulo.

Aplica-se a