NetworkInterfaceLoadBalancersOperations.List(String, String, CancellationToken) Method

Definition

List all load balancers in a network interface.

public virtual Azure.Pageable<Azure.ResourceManager.Network.Models.LoadBalancer> List (string resourceGroupName, string networkInterfaceName, System.Threading.CancellationToken cancellationToken = default);
abstract member List : string * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Network.Models.LoadBalancer>
override this.List : string * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Network.Models.LoadBalancer>
Public Overridable Function List (resourceGroupName As String, networkInterfaceName As String, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of LoadBalancer)

Parameters

resourceGroupName
System.String

The name of the resource group.

networkInterfaceName
System.String

The name of the network interface.

cancellationToken
System.Threading.CancellationToken

The cancellation token to use.

Returns

Pageable<LoadBalancer>

Exceptions

System.ArgumentNullException

resourceGroupName or networkInterfaceName is null.

Applies to