Compartilhar via


NatRulesOperationsExtensions.ListByVpnGatewayAsync Método

Definição

Recupera todas as regras nat para um gateway de vpn de wan virtual específico.

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

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a