HubVirtualNetworkConnectionsOperations.List(String, 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.
Retrieves the details of all HubVirtualNetworkConnections.
public virtual Azure.Pageable<Azure.ResourceManager.Network.Models.HubVirtualNetworkConnection> List (string resourceGroupName, string virtualHubName, System.Threading.CancellationToken cancellationToken = default);
abstract member List : string * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Network.Models.HubVirtualNetworkConnection>
override this.List : string * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Network.Models.HubVirtualNetworkConnection>
Public Overridable Function List (resourceGroupName As String, virtualHubName As String, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of HubVirtualNetworkConnection)
Parameters
- resourceGroupName
- System.String
The resource group name of the VirtualHub.
- virtualHubName
- System.String
The name of the VirtualHub.
- cancellationToken
- System.Threading.CancellationToken
The cancellation token to use.
Returns
Exceptions
System.ArgumentNullException
resourceGroupName
or virtualHubName
is null.