Class SkuDescription
- java.lang.Object
-
- com.microsoft.azure.management.appservice.SkuDescription
-
public class SkuDescription extends Object
Description of a SKU for a scalable resource.
-
-
Constructor Summary
Constructors Constructor Description SkuDescription()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<com.microsoft.azure.management.appservice.implementation.CapabilityInner>capabilities()Get capabilities of the SKU, e.g., is traffic manager enabled?.Integercapacity()Get current number of instances assigned to the resource.Stringfamily()Get family code of the resource SKU.List<String>locations()Get locations of the SKU.Stringname()Get name of the resource SKU.Stringsize()Get size specifier of the resource SKU.SkuCapacityskuCapacity()Get min, max, and default scale values of the SKU.Stringtier()Get service tier of the resource SKU.SkuDescriptionwithCapabilities(List<com.microsoft.azure.management.appservice.implementation.CapabilityInner> capabilities)Set capabilities of the SKU, e.g., is traffic manager enabled?.SkuDescriptionwithCapacity(Integer capacity)Set current number of instances assigned to the resource.SkuDescriptionwithFamily(String family)Set family code of the resource SKU.SkuDescriptionwithLocations(List<String> locations)Set locations of the SKU.SkuDescriptionwithName(String name)Set name of the resource SKU.SkuDescriptionwithSize(String size)Set size specifier of the resource SKU.SkuDescriptionwithSkuCapacity(SkuCapacity skuCapacity)Set min, max, and default scale values of the SKU.SkuDescriptionwithTier(String tier)Set service tier of the resource SKU.
-
-
-
Method Detail
-
name
public String name()
Get name of the resource SKU.- Returns:
- the name value
-
withName
public SkuDescription withName(String name)
Set name of the resource SKU.- Parameters:
name- the name value to set- Returns:
- the SkuDescription object itself.
-
tier
public String tier()
Get service tier of the resource SKU.- Returns:
- the tier value
-
withTier
public SkuDescription withTier(String tier)
Set service tier of the resource SKU.- Parameters:
tier- the tier value to set- Returns:
- the SkuDescription object itself.
-
size
public String size()
Get size specifier of the resource SKU.- Returns:
- the size value
-
withSize
public SkuDescription withSize(String size)
Set size specifier of the resource SKU.- Parameters:
size- the size value to set- Returns:
- the SkuDescription object itself.
-
family
public String family()
Get family code of the resource SKU.- Returns:
- the family value
-
withFamily
public SkuDescription withFamily(String family)
Set family code of the resource SKU.- Parameters:
family- the family value to set- Returns:
- the SkuDescription object itself.
-
capacity
public Integer capacity()
Get current number of instances assigned to the resource.- Returns:
- the capacity value
-
withCapacity
public SkuDescription withCapacity(Integer capacity)
Set current number of instances assigned to the resource.- Parameters:
capacity- the capacity value to set- Returns:
- the SkuDescription object itself.
-
skuCapacity
public SkuCapacity skuCapacity()
Get min, max, and default scale values of the SKU.- Returns:
- the skuCapacity value
-
withSkuCapacity
public SkuDescription withSkuCapacity(SkuCapacity skuCapacity)
Set min, max, and default scale values of the SKU.- Parameters:
skuCapacity- the skuCapacity value to set- Returns:
- the SkuDescription object itself.
-
withLocations
public SkuDescription withLocations(List<String> locations)
Set locations of the SKU.- Parameters:
locations- the locations value to set- Returns:
- the SkuDescription object itself.
-
capabilities
public List<com.microsoft.azure.management.appservice.implementation.CapabilityInner> capabilities()
Get capabilities of the SKU, e.g., is traffic manager enabled?.- Returns:
- the capabilities value
-
withCapabilities
public SkuDescription withCapabilities(List<com.microsoft.azure.management.appservice.implementation.CapabilityInner> capabilities)
Set capabilities of the SKU, e.g., is traffic manager enabled?.- Parameters:
capabilities- the capabilities value to set- Returns:
- the SkuDescription object itself.
-
-