Megosztás a következőn keresztül:


VirtualHubsOperationsExtensions.ListByResourceGroupAsync Method

Definition

Lists all the VirtualHubs in a resource group.

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

Parameters

operations
IVirtualHubsOperations

The operations group for this extension method.

resourceGroupName
String

The resource group name of the VirtualHub.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to