Freigeben über


VirtualHubsOperationsExtensions.ListByResourceGroupAsync Methode

Definition

Listet alle VirtualHubs in einer Ressourcengruppe auf.

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

Parameter

operations
IVirtualHubsOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Der Ressourcengruppenname des VirtualHubs.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: