Freigeben über


VirtualMachineScaleSetRollingUpgradesOperationsExtensions.CancelAsync Methode

Definition

Bricht das fortlaufende Upgrade der VM-Skalierungsgruppe ab.

public static System.Threading.Tasks.Task CancelAsync (this Microsoft.Azure.Management.Compute.Fluent.IVirtualMachineScaleSetRollingUpgradesOperations operations, string resourceGroupName, string vmScaleSetName, System.Threading.CancellationToken cancellationToken = default);
static member CancelAsync : Microsoft.Azure.Management.Compute.Fluent.IVirtualMachineScaleSetRollingUpgradesOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function CancelAsync (operations As IVirtualMachineScaleSetRollingUpgradesOperations, resourceGroupName As String, vmScaleSetName As String, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameter

operations
IVirtualMachineScaleSetRollingUpgradesOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Der Name der Ressourcengruppe.

vmScaleSetName
String

Der Name der VM-Skalierungsgruppe.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: