Partager via


VirtualHubsOperationsExtensions.ListByResourceGroupAsync Méthode

Définition

Répertorie tous les VirtualHubs d’un groupe de ressources.

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))

Paramètres

operations
IVirtualHubsOperations

Groupe d’opérations pour cette méthode d’extension.

resourceGroupName
String

Nom du groupe de ressources du VirtualHub.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

S’applique à