Class WorkerPool


  • public class WorkerPool
    extends Object
    Worker pool of an App Service Environment.
    • Constructor Detail

      • WorkerPool

        public WorkerPool()
    • Method Detail

      • workerSizeId

        public Integer workerSizeId()
        Get worker size ID for referencing this worker pool.
        Returns:
        the workerSizeId value
      • withWorkerSizeId

        public WorkerPool withWorkerSizeId​(Integer workerSizeId)
        Set worker size ID for referencing this worker pool.
        Parameters:
        workerSizeId - the workerSizeId value to set
        Returns:
        the WorkerPool object itself.
      • computeMode

        public ComputeModeOptions computeMode()
        Get shared or dedicated app hosting. Possible values include: 'Shared', 'Dedicated', 'Dynamic'.
        Returns:
        the computeMode value
      • withComputeMode

        public WorkerPool withComputeMode​(ComputeModeOptions computeMode)
        Set shared or dedicated app hosting. Possible values include: 'Shared', 'Dedicated', 'Dynamic'.
        Parameters:
        computeMode - the computeMode value to set
        Returns:
        the WorkerPool object itself.
      • workerSize

        public String workerSize()
        Get vM size of the worker pool instances.
        Returns:
        the workerSize value
      • withWorkerSize

        public WorkerPool withWorkerSize​(String workerSize)
        Set vM size of the worker pool instances.
        Parameters:
        workerSize - the workerSize value to set
        Returns:
        the WorkerPool object itself.
      • workerCount

        public Integer workerCount()
        Get number of instances in the worker pool.
        Returns:
        the workerCount value
      • withWorkerCount

        public WorkerPool withWorkerCount​(Integer workerCount)
        Set number of instances in the worker pool.
        Parameters:
        workerCount - the workerCount value to set
        Returns:
        the WorkerPool object itself.
      • instanceNames

        public List<String> instanceNames()
        Get names of all instances in the worker pool (read only).
        Returns:
        the instanceNames value