ScalingPlanResource.Update(ScalingPlanPatch, CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 Azure.Response<Azure.ResourceManager.DesktopVirtualization.ScalingPlanResource> Update (Azure.ResourceManager.DesktopVirtualization.Models.ScalingPlanPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.ResourceManager.DesktopVirtualization.Models.ScalingPlanPatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DesktopVirtualization.ScalingPlanResource>
override this.Update : Azure.ResourceManager.DesktopVirtualization.Models.ScalingPlanPatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DesktopVirtualization.ScalingPlanResource>
Public Overridable Function Update (patch As ScalingPlanPatch, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ScalingPlanResource)
Parameters
- patch
- ScalingPlanPatch
Object containing scaling plan definitions.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
patch
is null.