你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
WorkerPool Class
- java.
lang. Object - com.
microsoft. azure. management. appservice. WorkerPool
- com.
public class WorkerPool
Worker pool of an App Service Environment.
Method Summary
Modifier and Type | Method and Description |
---|---|
Compute |
computeMode()
Get the computeMode value. |
List<String> |
instanceNames()
Get the instanceNames value. |
Worker |
withComputeMode(ComputeModeOptions computeMode)
Set the computeMode value. |
Worker |
withWorkerCount(Integer workerCount)
Set the workerCount value. |
Worker |
withWorkerSize(String workerSize)
Set the workerSize value. |
Worker |
withWorkerSizeId(Integer workerSizeId)
Set the workerSizeId value. |
Integer |
workerCount()
Get the workerCount value. |
String |
workerSize()
Get the workerSize value. |
Integer |
workerSizeId()
Get the workerSizeId value. |
Method Details
computeMode
public ComputeModeOptions computeMode()
Get the computeMode value.
Returns:
instanceNames
public List
Get the instanceNames value.
Returns:
withComputeMode
public WorkerPool withComputeMode(ComputeModeOptions computeMode)
Set the computeMode value.
Parameters:
Returns:
withWorkerCount
public WorkerPool withWorkerCount(Integer workerCount)
Set the workerCount value.
Parameters:
Returns:
withWorkerSize
public WorkerPool withWorkerSize(String workerSize)
Set the workerSize value.
Parameters:
Returns:
withWorkerSizeId
public WorkerPool withWorkerSizeId(Integer workerSizeId)
Set the workerSizeId value.
Parameters:
Returns:
workerCount
public Integer workerCount()
Get the workerCount value.
Returns:
workerSize
public String workerSize()
Get the workerSize value.
Returns:
workerSizeId
public Integer workerSizeId()
Get the workerSizeId value.
Returns: