public final class WorkerPool extends Object
| Constructor and Description |
|---|
WorkerPool() |
| Modifier and Type | Method and Description |
|---|---|
ComputeModeOptions |
computeMode()
Get the computeMode property: Shared or dedicated app hosting.
|
List<String> |
instanceNames()
Get the instanceNames property: Names of all instances in the worker pool (read only).
|
void |
validate()
Validates the instance.
|
WorkerPool |
withComputeMode(ComputeModeOptions computeMode)
Set the computeMode property: Shared or dedicated app hosting.
|
WorkerPool |
withWorkerCount(Integer workerCount)
Set the workerCount property: Number of instances in the worker pool.
|
WorkerPool |
withWorkerSize(String workerSize)
Set the workerSize property: VM size of the worker pool instances.
|
WorkerPool |
withWorkerSizeId(Integer workerSizeId)
Set the workerSizeId property: Worker size ID for referencing this worker pool.
|
Integer |
workerCount()
Get the workerCount property: Number of instances in the worker pool.
|
String |
workerSize()
Get the workerSize property: VM size of the worker pool instances.
|
Integer |
workerSizeId()
Get the workerSizeId property: Worker size ID for referencing this worker pool.
|
public Integer workerSizeId()
public WorkerPool withWorkerSizeId(Integer workerSizeId)
workerSizeId - the workerSizeId value to set.public ComputeModeOptions computeMode()
public WorkerPool withComputeMode(ComputeModeOptions computeMode)
computeMode - the computeMode value to set.public String workerSize()
public WorkerPool withWorkerSize(String workerSize)
workerSize - the workerSize value to set.public Integer workerCount()
public WorkerPool withWorkerCount(Integer workerCount)
workerCount - the workerCount value to set.public List<String> instanceNames()
public void validate()
IllegalArgumentException - thrown if the instance is not valid.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.