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
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Azure SDK for .NET