Freigeben über


ScalingPlanResource.Update(ScalingPlanPatch, CancellationToken) Methode

Definition

Aktualisieren sie einen Skalierungsplan.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/scalingPlans/{scalingPlanName}
  • Vorgang IdScalingPlans_Update
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)

Parameter

patch
ScalingPlanPatch

Objekt, das Skalierungsplandefinitionen enthält.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

patch ist NULL.

Gilt für: