你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

WorkerPool Class

  • java.lang.Object
    • com.microsoft.azure.management.appservice.WorkerPool

public class WorkerPool

Worker pool of an App Service Environment.

Method Summary

Modifier and Type Method and Description
ComputeModeOptions computeMode()

Get the computeMode value.

List<String> instanceNames()

Get the instanceNames value.

WorkerPool withComputeMode(ComputeModeOptions computeMode)

Set the computeMode value.

WorkerPool withWorkerCount(Integer workerCount)

Set the workerCount value.

WorkerPool withWorkerSize(String workerSize)

Set the workerSize value.

WorkerPool 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:

the computeMode value

instanceNames

public List instanceNames()

Get the instanceNames value.

Returns:

the instanceNames value

withComputeMode

public WorkerPool withComputeMode(ComputeModeOptions computeMode)

Set the computeMode value.

Parameters:

computeMode - the computeMode value to set

Returns:

the WorkerPool object itself.

withWorkerCount

public WorkerPool withWorkerCount(Integer workerCount)

Set the workerCount value.

Parameters:

workerCount - the workerCount value to set

Returns:

the WorkerPool object itself.

withWorkerSize

public WorkerPool withWorkerSize(String workerSize)

Set the workerSize value.

Parameters:

workerSize - the workerSize value to set

Returns:

the WorkerPool object itself.

withWorkerSizeId

public WorkerPool withWorkerSizeId(Integer workerSizeId)

Set the workerSizeId value.

Parameters:

workerSizeId - the workerSizeId value to set

Returns:

the WorkerPool object itself.

workerCount

public Integer workerCount()

Get the workerCount value.

Returns:

the workerCount value

workerSize

public String workerSize()

Get the workerSize value.

Returns:

the workerSize value

workerSizeId

public Integer workerSizeId()

Get the workerSizeId value.

Returns:

the workerSizeId value

Applies to