Compartilhar via


VirtualHubsOperationsExtensions.ListByResourceGroupAsync Método

Definição

Lista todos os VirtualHubs em um grupo de recursos.

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

Parâmetros

operations
IVirtualHubsOperations

O grupo de operações para esse método de extensão.

resourceGroupName
String

O nome do grupo de recursos do VirtualHub.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a