Compartilhar via


LoadBalancersOperationsExtensions.GetAsync Método

Definição

Obtém o balanceador de carga especificado.

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

Parâmetros

operations
ILoadBalancersOperations

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.

expand
String

Expande os recursos referenciados.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a