VirtualHubsOperationsExtensions.ListByResourceGroupAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.