Interface ApplicationGateway.DefinitionStages.WithInstanceCount

    • Method Detail

      • withInstanceCount

        ApplicationGateway.DefinitionStages.WithCreate withInstanceCount​(int instanceCount)
        Specifies the capacity (number of instances) for the application gateway. The API refers to this as "Capacity", but the portal and the docs refer to this as "instance count", so using that naming here

        By default, 1 instance is used.

        Parameters:
        instanceCount - the capacity as a number between 1 and 10 but also based on the limits imposed by the selected application gateway size
        Returns:
        the next stage of the definition
      • withAutoScale

        ApplicationGateway.DefinitionStages.WithCreate withAutoScale​(int minCapacity,
                                                                     int maxCapacity)
        Specifies the min and max auto scale bound.
        Parameters:
        minCapacity - Lower bound on number of Application Gateway capacity.
        maxCapacity - Upper bound on number of Application Gateway capacity.
        Returns:
        the next stage of the definition