VirtualRoutersOperations.ListByResourceGroupAsync(String, CancellationToken) 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 Virtual Routers in a resource group.
public virtual Azure.AsyncPageable<Azure.ResourceManager.Network.Models.VirtualRouter> ListByResourceGroupAsync (string resourceGroupName, System.Threading.CancellationToken cancellationToken = default);
abstract member ListByResourceGroupAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Network.Models.VirtualRouter>
override this.ListByResourceGroupAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Network.Models.VirtualRouter>
Public Overridable Function ListByResourceGroupAsync (resourceGroupName As String, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of VirtualRouter)
Parameters
- resourceGroupName
- System.String
The name of the resource group.
- cancellationToken
- System.Threading.CancellationToken
The cancellation token to use.
Returns
Exceptions
System.ArgumentNullException
resourceGroupName
is null.