Freigeben über


VirtualMachinesOperationsExtensions.DeallocateAsync Methode

Definition

Fährt den virtuellen Computer herunter und gibt die Computeressourcen frei. Ihnen werden die Computeressourcen, die von diesem virtuellen Computer verwendet werden, nicht in Rechnung gestellt.

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

Parameter

operations
IVirtualMachinesOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Der Name der Ressourcengruppe.

vmName
String

Der Name des virtuellen Computers.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: