次の方法で共有


ScalingPlanPersonalScheduleResource.UpdateAsync メソッド

定義

ScalingPlanPersonalSchedule を更新します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/scalingPlans/{scalingPlanName}/personalSchedules/{scalingPlanScheduleName}
  • 操作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))

パラメーター

patch
ScalingPlanPersonalSchedulePatch

ScalingPlanPersonalSchedule 定義を含むオブジェクト。

cancellationToken
CancellationToken

使用する取り消しトークン。

戻り値

例外

patch が null です。

適用対象