Freigeben über


ScalingPlanPersonalScheduleResource.UpdateAsync Methode

Definition

Aktualisieren Sie einen ScalingPlanPersonalSchedule.Update a ScalingPlanPersonalSchedule.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/scalingPlans/{scalingPlanName}/personalSchedules/{scalingPlanScheduleName}
  • Vorgangs-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))

Parameter

patch
ScalingPlanPersonalSchedulePatch

Objekt, das ScalingPlanPersonalSchedule-Definitionen enthält.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

patch ist NULL.

Gilt für: