Compartilhar via


ArmNetworkModelFactory.NatRulePortMapping Método

Definição

Inicializa uma nova instância de NatRulePortMapping.

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

Parâmetros

inboundNatRuleName
String

Nome da regra NAT de entrada.

frontendPort
Nullable<Int32>

Porta de front-end.

backendPort
Nullable<Int32>

Porta de back-end.

Retornos

Uma nova NatRulePortMapping instância para zombar.

Aplica-se a