Partager via


InboundNatRulesOperationsExtensions.GetAsync Méthode

Définition

Obtient la règle NAT entrante de l’équilibreur de charge spécifiée.

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)

Paramètres

operations
IInboundNatRulesOperations

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

resourceGroupName
String

Nom du groupe de ressources.

loadBalancerName
String

Le nom de l’équilibreur de charge.

inboundNatRuleName
String

Nom de la règle NAT entrante.

expand
String

Développe les ressources référencées.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

S’applique à