Partilhar via


ArmNetworkModelFactory.InboundNatRulePortMapping Método

Definição

Inicializa uma nova instância de InboundNatRulePortMapping.

public static Azure.ResourceManager.Network.Models.InboundNatRulePortMapping InboundNatRulePortMapping (string inboundNatRuleName = default, Azure.ResourceManager.Network.Models.LoadBalancingTransportProtocol? protocol = default, int? frontendPort = default, int? backendPort = default);
static member InboundNatRulePortMapping : string * Nullable<Azure.ResourceManager.Network.Models.LoadBalancingTransportProtocol> * Nullable<int> * Nullable<int> -> Azure.ResourceManager.Network.Models.InboundNatRulePortMapping
Public Shared Function InboundNatRulePortMapping (Optional inboundNatRuleName As String = Nothing, Optional protocol As Nullable(Of LoadBalancingTransportProtocol) = Nothing, Optional frontendPort As Nullable(Of Integer) = Nothing, Optional backendPort As Nullable(Of Integer) = Nothing) As InboundNatRulePortMapping

Parâmetros

inboundNatRuleName
String

Nome da regra NAT de entrada.

protocol
Nullable<LoadBalancingTransportProtocol>

A referência ao protocolo de transporte usado pela regra NAT de entrada.

frontendPort
Nullable<Int32>

Porta de front-end.

backendPort
Nullable<Int32>

Porta de back-end.

Retornos

Uma nova InboundNatRulePortMapping instância para simulação.

Aplica-se a