SkuCapacity Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. SkuCapacity
- com.
Implements
public final class SkuCapacity
implements JsonSerializable<SkuCapacity>
Description of the App Service plan scale options.
Constructor Summary
Constructor | Description |
---|---|
SkuCapacity() |
Creates an instance of Sku |
Method Summary
Modifier and Type | Method and Description |
---|---|
Integer |
defaultProperty()
Get the default |
Integer |
elasticMaximum()
Get the elastic |
static
Sku |
fromJson(JsonReader jsonReader)
Reads an instance of 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 scale |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Sku |
withDefaultProperty(Integer defaultProperty)
Set the default |
Sku |
withElasticMaximum(Integer elasticMaximum)
Set the elastic |
Sku |
withMaximum(Integer maximum)
Set the maximum property: Maximum number of workers for this App Service plan SKU. |
Sku |
withMinimum(Integer minimum)
Set the minimum property: Minimum number of workers for this App Service plan SKU. |
Sku |
withScaleType(String scaleType)
Set the scale |
Methods inherited from java.lang.Object
Constructor Details
SkuCapacity
public SkuCapacity()
Creates an instance of SkuCapacity class.
Method Details
defaultProperty
public Integer defaultProperty()
Get the defaultProperty property: Default number of workers for this App Service plan SKU.
Returns:
elasticMaximum
public Integer elasticMaximum()
Get the elasticMaximum property: Maximum number of Elastic workers for this App Service plan SKU.
Returns:
fromJson
public static SkuCapacity fromJson(JsonReader jsonReader)
Reads an instance of SkuCapacity from the JsonReader.
Parameters:
Returns:
Throws:
maximum
public Integer maximum()
Get the maximum property: Maximum number of workers for this App Service plan SKU.
Returns:
minimum
public Integer minimum()
Get the minimum property: Minimum number of workers for this App Service plan SKU.
Returns:
scaleType
public String scaleType()
Get the scaleType property: Available scale configurations for an App Service plan.
Returns:
toJson
validate
public void validate()
Validates the instance.
withDefaultProperty
public SkuCapacity withDefaultProperty(Integer defaultProperty)
Set the defaultProperty property: Default number of workers for this App Service plan SKU.
Parameters:
Returns:
withElasticMaximum
public SkuCapacity withElasticMaximum(Integer elasticMaximum)
Set the elasticMaximum property: Maximum number of Elastic workers for this App Service plan SKU.
Parameters:
Returns:
withMaximum
public SkuCapacity withMaximum(Integer maximum)
Set the maximum property: Maximum number of workers for this App Service plan SKU.
Parameters:
Returns:
withMinimum
public SkuCapacity withMinimum(Integer minimum)
Set the minimum property: Minimum number of workers for this App Service plan SKU.
Parameters:
Returns:
withScaleType
public SkuCapacity withScaleType(String scaleType)
Set the scaleType property: Available scale configurations for an App Service plan.
Parameters:
Returns:
Applies to
Azure SDK for Java