Class InboundNatRulePortMapping
java.lang.Object
com.azure.resourcemanager.network.models.InboundNatRulePortMapping
Individual port mappings for inbound NAT rule created for backend pool.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of InboundNatRulePortMapping class. -
Method Summary
Modifier and TypeMethodDescriptionGet the backendPort property: Backend port.Get the frontendPort property: Frontend port.Get the inboundNatRuleName property: Name of inbound NAT rule.protocol()Get the protocol property: The reference to the transport protocol used by the inbound NAT rule.voidvalidate()Validates the instance.
-
Constructor Details
-
InboundNatRulePortMapping
public InboundNatRulePortMapping()Creates an instance of InboundNatRulePortMapping class.
-
-
Method Details
-
inboundNatRuleName
Get the inboundNatRuleName property: Name of inbound NAT rule.- Returns:
- the inboundNatRuleName value.
-
protocol
Get the protocol property: The reference to the transport protocol used by the inbound NAT rule.- Returns:
- the protocol value.
-
frontendPort
Get the frontendPort property: Frontend port.- Returns:
- the frontendPort value.
-
backendPort
Get the backendPort property: Backend port.- Returns:
- the backendPort value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-