Class WorkerPool
java.lang.Object
com.microsoft.azure.management.appservice.WorkerPool
Worker pool of an App Service Environment.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet shared or dedicated app hosting.Get names of all instances in the worker pool (read only).withComputeMode
(ComputeModeOptions computeMode) Set shared or dedicated app hosting.withWorkerCount
(Integer workerCount) Set number of instances in the worker pool.withWorkerSize
(String workerSize) Set vM size of the worker pool instances.withWorkerSizeId
(Integer workerSizeId) Set worker size ID for referencing this worker pool.Get number of instances in the worker pool.Get vM size of the worker pool instances.Get worker size ID for referencing this worker pool.
-
Constructor Details
-
WorkerPool
public WorkerPool()
-
-
Method Details
-
workerSizeId
Get worker size ID for referencing this worker pool.- Returns:
- the workerSizeId value
-
withWorkerSizeId
Set worker size ID for referencing this worker pool.- Parameters:
workerSizeId
- the workerSizeId value to set- Returns:
- the WorkerPool object itself.
-
computeMode
Get shared or dedicated app hosting. Possible values include: 'Shared', 'Dedicated', 'Dynamic'.- Returns:
- the computeMode value
-
withComputeMode
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
Get vM size of the worker pool instances.- Returns:
- the workerSize value
-
withWorkerSize
Set vM size of the worker pool instances.- Parameters:
workerSize
- the workerSize value to set- Returns:
- the WorkerPool object itself.
-
workerCount
Get number of instances in the worker pool.- Returns:
- the workerCount value
-
withWorkerCount
Set number of instances in the worker pool.- Parameters:
workerCount
- the workerCount value to set- Returns:
- the WorkerPool object itself.
-
instanceNames
Get names of all instances in the worker pool (read only).- Returns:
- the instanceNames value
-