Compartilhar via


LoadBalancerLoadBalancingRulesOperationsExtensions.ListAsync Método

Definição

Obtém todas as regras de balanceamento de carga em um balanceador de carga.

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 = default);
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>>
<Extension()>
Public Function ListAsync (operations As ILoadBalancerLoadBalancingRulesOperations, resourceGroupName As String, loadBalancerName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of LoadBalancingRule))

Parâmetros

operations
ILoadBalancerLoadBalancingRulesOperations

O grupo de operações para esse método de extensão.

resourceGroupName
String

O nome do grupo de recursos.

loadBalancerName
String

O nome do balanceador de carga.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a