LoadBalancerLoadBalancingRulesOperationsExtensions.ListAsync(ILoadBalancerLoadBalancingRulesOperations, String, String, CancellationToken) Method

Definition

Gets all the load balancing rules in a load balancer.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Network.Models.LoadBalancingRule>> ListAsync (this Microsoft.Azure.Management.Network.ILoadBalancerLoadBalancingRulesOperations operations, string resourceGroupName, string loadBalancerName, System.Threading.CancellationToken cancellationToken = null);
static member ListAsync : Microsoft.Azure.Management.Network.ILoadBalancerLoadBalancingRulesOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Network.Models.LoadBalancingRule>>

Parameters

operations
ILoadBalancerLoadBalancingRulesOperations

The operations group for this extension method.

resourceGroupName
System.String

The name of the resource group.

loadBalancerName
System.String

The name of the load balancer.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<LoadBalancingRule>>

Applies to