MockableHciVmSubscriptionResource.GetHciVmLoadBalancersAsync 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.
Lists all of the loadBalancers in the specified subscription. Use the nextLink property in the response to get the next page of LoadBalancer.
- Request Path. : /subscriptions/{subscriptionId}/providers/Microsoft.AzureStackHCI/loadBalancers.
- Operation Id. : LoadBalancers_ListAll.
- Default Api Version. : 2025-09-01-preview.
public virtual Azure.AsyncPageable<Azure.ResourceManager.Hci.Vm.HciVmLoadBalancerResource> GetHciVmLoadBalancersAsync(System.Threading.CancellationToken cancellationToken = default);
abstract member GetHciVmLoadBalancersAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Hci.Vm.HciVmLoadBalancerResource>
override this.GetHciVmLoadBalancersAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Hci.Vm.HciVmLoadBalancerResource>
Public Overridable Function GetHciVmLoadBalancersAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of HciVmLoadBalancerResource)
Parameters
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
A collection of HciVmLoadBalancerResource that may take multiple service requests to iterate over.