public final class SkuCapacity extends Object
| Type | Property and Description |
|---|---|
Integer |
default
Get the defaultProperty property: Default number of workers for this App Service plan SKU.
|
| Constructor and Description |
|---|
SkuCapacity() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
defaultProperty()
Get the defaultProperty property: Default number of workers for this App Service plan SKU.
|
Integer |
elasticMaximum()
Get the elasticMaximum property: Maximum number of Elastic workers for this App Service plan SKU.
|
Integer |
maximum()
Get the maximum property: Maximum number of workers for this App Service plan SKU.
|
Integer |
minimum()
Get the minimum property: Minimum number of workers for this App Service plan SKU.
|
String |
scaleType()
Get the scaleType property: Available scale configurations for an App Service plan.
|
void |
validate()
Validates the instance.
|
SkuCapacity |
withDefaultProperty(Integer defaultProperty)
Set the defaultProperty property: Default number of workers for this App Service plan SKU.
|
SkuCapacity |
withElasticMaximum(Integer elasticMaximum)
Set the elasticMaximum property: Maximum number of Elastic workers for this App Service plan SKU.
|
SkuCapacity |
withMaximum(Integer maximum)
Set the maximum property: Maximum number of workers for this App Service plan SKU.
|
SkuCapacity |
withMinimum(Integer minimum)
Set the minimum property: Minimum number of workers for this App Service plan SKU.
|
SkuCapacity |
withScaleType(String scaleType)
Set the scaleType property: Available scale configurations for an App Service plan.
|
public Integer defaultProperty
public Integer minimum()
public SkuCapacity withMinimum(Integer minimum)
minimum - the minimum value to set.public Integer maximum()
public SkuCapacity withMaximum(Integer maximum)
maximum - the maximum value to set.public Integer elasticMaximum()
public SkuCapacity withElasticMaximum(Integer elasticMaximum)
elasticMaximum - the elasticMaximum value to set.public Integer defaultProperty()
public SkuCapacity withDefaultProperty(Integer defaultProperty)
defaultProperty - the defaultProperty value to set.public String scaleType()
public SkuCapacity withScaleType(String scaleType)
scaleType - the scaleType value to set.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.