NetworkInterfaceLoadBalancersOperations.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.
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
Exceptions
System.ArgumentNullException
resourceGroupName
or networkInterfaceName
is null.