Class ApplicationGatewayAutoscaleConfiguration

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

public final class ApplicationGatewayAutoscaleConfiguration extends Object
Application Gateway autoscale configuration.
  • Constructor Details

    • ApplicationGatewayAutoscaleConfiguration

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

    • minCapacity

      public int minCapacity()
      Get the minCapacity property: Lower bound on number of Application Gateway capacity.
      Returns:
      the minCapacity value.
    • withMinCapacity

      public ApplicationGatewayAutoscaleConfiguration withMinCapacity(int minCapacity)
      Set the minCapacity property: Lower bound on number of Application Gateway capacity.
      Parameters:
      minCapacity - the minCapacity value to set.
      Returns:
      the ApplicationGatewayAutoscaleConfiguration object itself.
    • maxCapacity

      public Integer maxCapacity()
      Get the maxCapacity property: Upper bound on number of Application Gateway capacity.
      Returns:
      the maxCapacity value.
    • withMaxCapacity

      public ApplicationGatewayAutoscaleConfiguration withMaxCapacity(Integer maxCapacity)
      Set the maxCapacity property: Upper bound on number of Application Gateway capacity.
      Parameters:
      maxCapacity - the maxCapacity value to set.
      Returns:
      the ApplicationGatewayAutoscaleConfiguration object itself.
    • validate

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