Class InboundNatRulePortMapping

java.lang.Object
com.azure.resourcemanager.network.models.InboundNatRulePortMapping

public final class InboundNatRulePortMapping extends Object
Individual port mappings for inbound NAT rule created for backend pool.
  • Constructor Details

    • InboundNatRulePortMapping

      public InboundNatRulePortMapping()
      Creates an instance of InboundNatRulePortMapping class.
  • Method Details

    • inboundNatRuleName

      public String inboundNatRuleName()
      Get the inboundNatRuleName property: Name of inbound NAT rule.
      Returns:
      the inboundNatRuleName value.
    • protocol

      public TransportProtocol protocol()
      Get the protocol property: The reference to the transport protocol used by the inbound NAT rule.
      Returns:
      the protocol value.
    • frontendPort

      public Integer frontendPort()
      Get the frontendPort property: Frontend port.
      Returns:
      the frontendPort value.
    • backendPort

      public Integer 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.