Compartilhar via


NatRulesOperationsExtensions.GetAsync Método

Definição

Recupera os detalhes de uma regra natGet.

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

Parâmetros

operations
INatRulesOperations

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

resourceGroupName
String

O nome do grupo de recursos do VpnGateway.

gatewayName
String

O nome do gateway.

natRuleName
String

O nome da regra nat.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a