Class WorkerPool
- java.lang.Object
-
- com.microsoft.azure.management.appservice.WorkerPool
-
public class WorkerPool extends Object
Worker pool of an App Service Environment.
-
-
Constructor Summary
Constructors Constructor Description WorkerPool()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComputeModeOptionscomputeMode()Get shared or dedicated app hosting.List<String>instanceNames()Get names of all instances in the worker pool (read only).WorkerPoolwithComputeMode(ComputeModeOptions computeMode)Set shared or dedicated app hosting.WorkerPoolwithWorkerCount(Integer workerCount)Set number of instances in the worker pool.WorkerPoolwithWorkerSize(String workerSize)Set vM size of the worker pool instances.WorkerPoolwithWorkerSizeId(Integer workerSizeId)Set worker size ID for referencing this worker pool.IntegerworkerCount()Get number of instances in the worker pool.StringworkerSize()Get vM size of the worker pool instances.IntegerworkerSizeId()Get worker size ID for referencing this worker pool.
-
-
-
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.
-
-