Freigeben über


VirtualMachineScaleSetsOperationsExtensions.DeleteInstancesAsync Methode

Definition

Löscht virtuelle Computer in einer VM-Skalierungsgruppe.

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

Parameter

operations
IVirtualMachineScaleSetsOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Der Name der Ressourcengruppe.

vmScaleSetName
String

Der Name der VM-Skalierungsgruppe.

instanceIds
IList<String>

Die VM-Skalierungsgruppe instance IDs.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: