HubVirtualNetworkConnectionsOperations.List(String, String, CancellationToken) Method

Definition

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

Pageable<HubVirtualNetworkConnection>

Exceptions

System.ArgumentNullException

resourceGroupName or virtualHubName is null.

Applies to