public class WorkerPoolResourceInner extends ProxyOnlyResource
| Constructor and Description |
|---|
WorkerPoolResourceInner() |
| 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).
|
SkuDescription |
sku()
Get the sku property: Description of a SKU for a scalable resource.
|
void |
validate()
Validates the instance.
|
WorkerPoolResourceInner |
withComputeMode(ComputeModeOptions computeMode)
Set the computeMode property: Shared or dedicated app hosting.
|
WorkerPoolResourceInner |
withKind(String kind)
Set the kind property: Kind of resource.
|
WorkerPoolResourceInner |
withSku(SkuDescription sku)
Set the sku property: Description of a SKU for a scalable resource.
|
WorkerPoolResourceInner |
withWorkerCount(Integer workerCount)
Set the workerCount property: Number of instances in the worker pool.
|
WorkerPoolResourceInner |
withWorkerSize(String workerSize)
Set the workerSize property: VM size of the worker pool instances.
|
WorkerPoolResourceInner |
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.
|
kindpublic SkuDescription sku()
public WorkerPoolResourceInner withSku(SkuDescription sku)
sku - the sku value to set.public Integer workerSizeId()
public WorkerPoolResourceInner withWorkerSizeId(Integer workerSizeId)
workerSizeId - the workerSizeId value to set.public ComputeModeOptions computeMode()
public WorkerPoolResourceInner withComputeMode(ComputeModeOptions computeMode)
computeMode - the computeMode value to set.public String workerSize()
public WorkerPoolResourceInner withWorkerSize(String workerSize)
workerSize - the workerSize value to set.public Integer workerCount()
public WorkerPoolResourceInner withWorkerCount(Integer workerCount)
workerCount - the workerCount value to set.public List<String> instanceNames()
public WorkerPoolResourceInner withKind(String kind)
withKind in class ProxyOnlyResourcekind - the kind value to set.public void validate()
validate in class ProxyOnlyResourceIllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.