Compartilhar via


VirtualNetworkGatewayNatRulesOperationsExtensions.ListByVirtualNetworkGatewayAsync Método

Definição

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

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Network.Models.VirtualNetworkGatewayNatRule>> ListByVirtualNetworkGatewayAsync (this Microsoft.Azure.Management.Network.IVirtualNetworkGatewayNatRulesOperations operations, string resourceGroupName, string virtualNetworkGatewayName, System.Threading.CancellationToken cancellationToken = default);
static member ListByVirtualNetworkGatewayAsync : Microsoft.Azure.Management.Network.IVirtualNetworkGatewayNatRulesOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Network.Models.VirtualNetworkGatewayNatRule>>
<Extension()>
Public Function ListByVirtualNetworkGatewayAsync (operations As IVirtualNetworkGatewayNatRulesOperations, resourceGroupName As String, virtualNetworkGatewayName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of VirtualNetworkGatewayNatRule))

Parâmetros

operations
IVirtualNetworkGatewayNatRulesOperations

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

resourceGroupName
String

O nome do grupo de recursos do gateway de rede virtual.

virtualNetworkGatewayName
String

O nome do gateway.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a