Freigeben über


VirtualMachineScaleSetsOperationsExtensions.ListAsync Methode

Definition

Ruft eine Liste aller VM-Skalierungsgruppen unter einer Ressourcengruppe ab.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSet>> ListAsync(this Microsoft.Azure.Management.Compute.IVirtualMachineScaleSetsOperations operations, string resourceGroupName, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.Compute.IVirtualMachineScaleSetsOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSet>>
<Extension()>
Public Function ListAsync (operations As IVirtualMachineScaleSetsOperations, resourceGroupName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of VirtualMachineScaleSet))

Parameter

operations
IVirtualMachineScaleSetsOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Der Name der Ressourcengruppe.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: