Condividi tramite


ScalingPlanPersonalScheduleResource.Update 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 Azure.Response<Azure.ResourceManager.DesktopVirtualization.ScalingPlanPersonalScheduleResource> Update (Azure.ResourceManager.DesktopVirtualization.Models.ScalingPlanPersonalSchedulePatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.ResourceManager.DesktopVirtualization.Models.ScalingPlanPersonalSchedulePatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DesktopVirtualization.ScalingPlanPersonalScheduleResource>
override this.Update : Azure.ResourceManager.DesktopVirtualization.Models.ScalingPlanPersonalSchedulePatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DesktopVirtualization.ScalingPlanPersonalScheduleResource>
Public Overridable Function Update (patch As ScalingPlanPersonalSchedulePatch, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ScalingPlanPersonalScheduleResource)

Parameters

patch
ScalingPlanPersonalSchedulePatch

Object containing ScalingPlanPersonalSchedule definitions.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

patch is null.

Applies to