Class SharedPublicIpAddressConfiguration

java.lang.Object
com.azure.resourcemanager.devtestlabs.models.SharedPublicIpAddressConfiguration

public final class SharedPublicIpAddressConfiguration extends Object
Properties of a virtual machine that determine how it is connected to a load balancer.
  • Constructor Details

    • SharedPublicIpAddressConfiguration

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

    • inboundNatRules

      public List<InboundNatRule> inboundNatRules()
      Get the inboundNatRules property: The incoming NAT rules.
      Returns:
      the inboundNatRules value.
    • withInboundNatRules

      public SharedPublicIpAddressConfiguration withInboundNatRules(List<InboundNatRule> inboundNatRules)
      Set the inboundNatRules property: The incoming NAT rules.
      Parameters:
      inboundNatRules - the inboundNatRules value to set.
      Returns:
      the SharedPublicIpAddressConfiguration object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.