Share via


NetworkInterfaceResource.GetNetworkInterfaceLoadBalancersAsync Method

Definition

List all load balancers in a network interface.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/loadBalancers
  • Operation Id: NetworkInterfaceLoadBalancers_List
  • Default Api Version: 2024-03-01
public virtual Azure.AsyncPageable<Azure.ResourceManager.Network.LoadBalancerResource> GetNetworkInterfaceLoadBalancersAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetNetworkInterfaceLoadBalancersAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Network.LoadBalancerResource>
override this.GetNetworkInterfaceLoadBalancersAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Network.LoadBalancerResource>
Public Overridable Function GetNetworkInterfaceLoadBalancersAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of LoadBalancerResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of LoadBalancerResource that may take multiple service requests to iterate over.

Applies to