次の方法で共有


NatRulesOperationsExtensions.ListByVpnGatewayAsync メソッド

定義

特定の仮想 WAN VPN ゲートウェイのすべての nat 規則を取得します。

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))

パラメーター

operations
INatRulesOperations

この拡張メソッドの操作グループ。

resourceGroupName
String

VpnGateway のリソース グループ名。

gatewayName
String

ゲートウェイの名前。

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

適用対象