Udostępnij za pośrednictwem


ArmNetworkModelFactory.NatRulePortMapping Method

Definition

Initializes a new instance of 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

Parameters

inboundNatRuleName
String

Name of inbound NAT rule.

frontendPort
Nullable<Int32>

Frontend port.

backendPort
Nullable<Int32>

Backend port.

Returns

A new NatRulePortMapping instance for mocking.

Applies to