ArmNetworkModelFactory.InboundNatRulePortMapping Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of 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
Parameters
- inboundNatRuleName
- String
Name of inbound NAT rule.
- protocol
- Nullable<LoadBalancingTransportProtocol>
The reference to the transport protocol used by the inbound NAT rule.
Returns
A new InboundNatRulePortMapping instance for mocking.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET