你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

LoadBalancersOperationsExtensions.ListInboundNatRulePortMappingsAsync 方法

定义

入站 NAT 规则端口映射的列表。

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Models.BackendAddressInboundNatRulePortMappings> ListInboundNatRulePortMappingsAsync(this Microsoft.Azure.Management.Network.ILoadBalancersOperations operations, string groupName, string loadBalancerName, string backendPoolName, Microsoft.Azure.Management.Network.Models.QueryInboundNatRulePortMappingRequest parameters, System.Threading.CancellationToken cancellationToken = default);
static member ListInboundNatRulePortMappingsAsync : Microsoft.Azure.Management.Network.ILoadBalancersOperations * string * string * string * Microsoft.Azure.Management.Network.Models.QueryInboundNatRulePortMappingRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Models.BackendAddressInboundNatRulePortMappings>
<Extension()>
Public Function ListInboundNatRulePortMappingsAsync (operations As ILoadBalancersOperations, groupName As String, loadBalancerName As String, backendPoolName As String, parameters As QueryInboundNatRulePortMappingRequest, Optional cancellationToken As CancellationToken = Nothing) As Task(Of BackendAddressInboundNatRulePortMappings)

参数

operations
ILoadBalancersOperations

此扩展方法的操作组。

groupName
String

资源组的名称。

loadBalancerName
String

负载均衡器的名称。

backendPoolName
String

负载均衡器后端地址池的名称。

parameters
QueryInboundNatRulePortMappingRequest

查询入站 NAT 规则端口映射请求。

cancellationToken
CancellationToken

取消标记。

返回

适用于