Partager via


LoadBalancersOperationsExtensions.ListAsync Méthode

Définition

Obtient tous les équilibreurs de charge d’un groupe de ressources.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Network.Models.LoadBalancer>> ListAsync (this Microsoft.Azure.Management.Network.ILoadBalancersOperations operations, string resourceGroupName, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.Network.ILoadBalancersOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Network.Models.LoadBalancer>>
<Extension()>
Public Function ListAsync (operations As ILoadBalancersOperations, resourceGroupName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of LoadBalancer))

Paramètres

operations
ILoadBalancersOperations

Groupe d’opérations pour cette méthode d’extension.

resourceGroupName
String

Nom du groupe de ressources.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

S’applique à