Compartilhar via


InboundNatRulesOperationsExtensions.GetAsync Método

Definição

Obtém a regra NAT de entrada do balanceador de carga especificada.

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

Parâmetros

operations
IInboundNatRulesOperations

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.

inboundNatRuleName
String

O nome da regra NAT de entrada.

expand
String

Expande os recursos referenciados.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a