HciVmLoadBalancerCollection.GetAll(CancellationToken) Method

Definition

Lists all of the loadBalancers in the specified resource group. Use the nextLink property in the response to get the next page of LoadBalancer.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/loadBalancers.
  • Operation Id. : LoadBalancers_ListByResourceGroup.
  • Default Api Version. : 2025-09-01-preview.
public virtual Azure.Pageable<Azure.ResourceManager.Hci.Vm.HciVmLoadBalancerResource> GetAll(System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Hci.Vm.HciVmLoadBalancerResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Hci.Vm.HciVmLoadBalancerResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of HciVmLoadBalancerResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of HciVmLoadBalancerResource that may take multiple service requests to iterate over.

Applies to