NatRulesOperationsExtensions.ListByVpnGatewayAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves all nat rules for a particular virtual wan vpn gateway.
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))
Parameters
- operations
- INatRulesOperations
The operations group for this extension method.
- resourceGroupName
- String
The resource group name of the VpnGateway.
- gatewayName
- String
The name of the gateway.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Applies to
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.