Class SkuDescription
java.lang.Object
com.azure.resourcemanager.appservice.models.SkuDescription
Description of a SKU for a scalable resource.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the capabilities property: Capabilities of the SKU, e.g., is traffic manager enabled?.capacity()
Get the capacity property: Current number of instances assigned to the resource.family()
Get the family property: Family code of the resource SKU.Get the locations property: Locations of the SKU.name()
Get the name property: Name of the resource SKU.size()
Get the size property: Size specifier of the resource SKU.Get the skuCapacity property: Min, max, and default scale values of the SKU.tier()
Get the tier property: Service tier of the resource SKU.void
validate()
Validates the instance.withCapabilities
(List<CapabilityInner> capabilities) Set the capabilities property: Capabilities of the SKU, e.g., is traffic manager enabled?.withCapacity
(Integer capacity) Set the capacity property: Current number of instances assigned to the resource.withFamily
(String family) Set the family property: Family code of the resource SKU.withLocations
(List<String> locations) Set the locations property: Locations of the SKU.Set the name property: Name of the resource SKU.Set the size property: Size specifier of the resource SKU.withSkuCapacity
(SkuCapacity skuCapacity) Set the skuCapacity property: Min, max, and default scale values of the SKU.Set the tier property: Service tier of the resource SKU.
-
Constructor Details
-
SkuDescription
public SkuDescription()
-
-
Method Details
-
name
Get the name property: Name of the resource SKU.- Returns:
- the name value.
-
withName
Set the name property: Name of the resource SKU.- Parameters:
name
- the name value to set.- Returns:
- the SkuDescription object itself.
-
tier
Get the tier property: Service tier of the resource SKU.- Returns:
- the tier value.
-
withTier
Set the tier property: Service tier of the resource SKU.- Parameters:
tier
- the tier value to set.- Returns:
- the SkuDescription object itself.
-
size
Get the size property: Size specifier of the resource SKU.- Returns:
- the size value.
-
withSize
Set the size property: Size specifier of the resource SKU.- Parameters:
size
- the size value to set.- Returns:
- the SkuDescription object itself.
-
family
Get the family property: Family code of the resource SKU.- Returns:
- the family value.
-
withFamily
Set the family property: Family code of the resource SKU.- Parameters:
family
- the family value to set.- Returns:
- the SkuDescription object itself.
-
capacity
Get the capacity property: Current number of instances assigned to the resource.- Returns:
- the capacity value.
-
withCapacity
Set the capacity property: Current number of instances assigned to the resource.- Parameters:
capacity
- the capacity value to set.- Returns:
- the SkuDescription object itself.
-
skuCapacity
Get the skuCapacity property: Min, max, and default scale values of the SKU.- Returns:
- the skuCapacity value.
-
withSkuCapacity
Set the skuCapacity property: Min, max, and default scale values of the SKU.- Parameters:
skuCapacity
- the skuCapacity value to set.- Returns:
- the SkuDescription object itself.
-
locations
Get the locations property: Locations of the SKU.- Returns:
- the locations value.
-
withLocations
Set the locations property: Locations of the SKU.- Parameters:
locations
- the locations value to set.- Returns:
- the SkuDescription object itself.
-
capabilities
Get the capabilities property: Capabilities of the SKU, e.g., is traffic manager enabled?.- Returns:
- the capabilities value.
-
withCapabilities
Set the capabilities property: Capabilities of the SKU, e.g., is traffic manager enabled?.- Parameters:
capabilities
- the capabilities value to set.- Returns:
- the SkuDescription object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-