Share via


ScalingPlanPersonalScheduleResource.UpdateAsync Method

Definition

Update a ScalingPlanPersonalSchedule.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/scalingPlans/{scalingPlanName}/personalSchedules/{scalingPlanScheduleName}
  • Operation Id: ScalingPlanPersonalSchedules_Update
  • Default Api Version: 2024-04-03
  • Resource: ScalingPlanPersonalScheduleResource
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))

Parameters

patch
ScalingPlanPersonalSchedulePatch

Object containing ScalingPlanPersonalSchedule definitions.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

patch is null.

Applies to