Class SkuCapacity
- java.lang.Object
-
- com.microsoft.azure.management.appservice.SkuCapacity
-
public class SkuCapacity extends Object
Description of the App Service plan scale options.
-
-
Constructor Summary
Constructors Constructor Description SkuCapacity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegerdefaultProperty()Get default number of workers for this App Service plan SKU.Integermaximum()Get maximum number of workers for this App Service plan SKU.Integerminimum()Get minimum number of workers for this App Service plan SKU.StringscaleType()Get available scale configurations for an App Service plan.SkuCapacitywithDefaultProperty(Integer defaultProperty)Set default number of workers for this App Service plan SKU.SkuCapacitywithMaximum(Integer maximum)Set maximum number of workers for this App Service plan SKU.SkuCapacitywithMinimum(Integer minimum)Set minimum number of workers for this App Service plan SKU.SkuCapacitywithScaleType(String scaleType)Set available scale configurations for an App Service plan.
-
-
-
Method Detail
-
minimum
public Integer minimum()
Get minimum number of workers for this App Service plan SKU.- Returns:
- the minimum value
-
withMinimum
public SkuCapacity withMinimum(Integer minimum)
Set minimum number of workers for this App Service plan SKU.- Parameters:
minimum- the minimum value to set- Returns:
- the SkuCapacity object itself.
-
maximum
public Integer maximum()
Get maximum number of workers for this App Service plan SKU.- Returns:
- the maximum value
-
withMaximum
public SkuCapacity withMaximum(Integer maximum)
Set maximum number of workers for this App Service plan SKU.- Parameters:
maximum- the maximum value to set- Returns:
- the SkuCapacity object itself.
-
defaultProperty
public Integer defaultProperty()
Get default number of workers for this App Service plan SKU.- Returns:
- the defaultProperty value
-
withDefaultProperty
public SkuCapacity withDefaultProperty(Integer defaultProperty)
Set default number of workers for this App Service plan SKU.- Parameters:
defaultProperty- the defaultProperty value to set- Returns:
- the SkuCapacity object itself.
-
scaleType
public String scaleType()
Get available scale configurations for an App Service plan.- Returns:
- the scaleType value
-
withScaleType
public SkuCapacity withScaleType(String scaleType)
Set available scale configurations for an App Service plan.- Parameters:
scaleType- the scaleType value to set- Returns:
- the SkuCapacity object itself.
-
-