다음을 통해 공유


ScalingPlanResource.UpdateAsync(ScalingPlanPatch, CancellationToken) Method

Definition

Update a scaling plan.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/scalingPlans/{scalingPlanName}
  • Operation Id: ScalingPlans_Update
  • Default Api Version: 2024-04-03
  • Resource: ScalingPlanResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DesktopVirtualization.ScalingPlanResource>> UpdateAsync (Azure.ResourceManager.DesktopVirtualization.Models.ScalingPlanPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.DesktopVirtualization.Models.ScalingPlanPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DesktopVirtualization.ScalingPlanResource>>
override this.UpdateAsync : Azure.ResourceManager.DesktopVirtualization.Models.ScalingPlanPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DesktopVirtualization.ScalingPlanResource>>
Public Overridable Function UpdateAsync (patch As ScalingPlanPatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ScalingPlanResource))

Parameters

patch
ScalingPlanPatch

Object containing scaling plan definitions.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

patch is null.

Applies to