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
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.
Azure SDK for .NET