Class SkuCapacity
java.lang.Object
com.azure.resourcemanager.appservice.models.SkuCapacity
Description of the App Service plan scale options.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the defaultProperty property: Default number of workers for this App Service plan SKU.Get the elasticMaximum property: Maximum number of Elastic workers for this App Service plan SKU.maximum()
Get the maximum property: Maximum number of workers for this App Service plan SKU.minimum()
Get the minimum property: Minimum number of workers for this App Service plan SKU.Get the scaleType property: Available scale configurations for an App Service plan.void
validate()
Validates the instance.withDefaultProperty
(Integer defaultProperty) Set the defaultProperty property: Default number of workers for this App Service plan SKU.withElasticMaximum
(Integer elasticMaximum) Set the elasticMaximum property: Maximum number of Elastic workers for this App Service plan SKU.withMaximum
(Integer maximum) Set the maximum property: Maximum number of workers for this App Service plan SKU.withMinimum
(Integer minimum) Set the minimum property: Minimum number of workers for this App Service plan SKU.withScaleType
(String scaleType) Set the scaleType property: Available scale configurations for an App Service plan.
-
Constructor Details
-
SkuCapacity
public SkuCapacity()
-
-
Method Details
-
minimum
Get the minimum property: Minimum number of workers for this App Service plan SKU.- Returns:
- the minimum value.
-
withMinimum
Set the minimum property: Minimum number of workers for this App Service plan SKU.- Parameters:
minimum
- the minimum value to set.- Returns:
- the SkuCapacity object itself.
-
maximum
Get the maximum property: Maximum number of workers for this App Service plan SKU.- Returns:
- the maximum value.
-
withMaximum
Set the maximum property: Maximum number of workers for this App Service plan SKU.- Parameters:
maximum
- the maximum value to set.- Returns:
- the SkuCapacity object itself.
-
elasticMaximum
Get the elasticMaximum property: Maximum number of Elastic workers for this App Service plan SKU.- Returns:
- the elasticMaximum value.
-
withElasticMaximum
Set the elasticMaximum property: Maximum number of Elastic workers for this App Service plan SKU.- Parameters:
elasticMaximum
- the elasticMaximum value to set.- Returns:
- the SkuCapacity object itself.
-
defaultProperty
Get the defaultProperty property: Default number of workers for this App Service plan SKU.- Returns:
- the defaultProperty value.
-
withDefaultProperty
Set the defaultProperty property: Default number of workers for this App Service plan SKU.- Parameters:
defaultProperty
- the defaultProperty value to set.- Returns:
- the SkuCapacity object itself.
-
scaleType
Get the scaleType property: Available scale configurations for an App Service plan.- Returns:
- the scaleType value.
-
withScaleType
Set the scaleType property: Available scale configurations for an App Service plan.- Parameters:
scaleType
- the scaleType value to set.- Returns:
- the SkuCapacity object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-