Class SkuDescription
java.lang.Object
com.microsoft.azure.management.appservice.SkuDescription
Description of a SKU for a scalable resource.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<com.microsoft.azure.management.appservice.implementation.CapabilityInner>
Get capabilities of the SKU, e.g., is traffic manager enabled?.capacity()
Get current number of instances assigned to the resource.family()
Get family code of the resource SKU.Get locations of the SKU.name()
Get name of the resource SKU.size()
Get size specifier of the resource SKU.Get min, max, and default scale values of the SKU.tier()
Get service tier of the resource SKU.withCapabilities
(List<com.microsoft.azure.management.appservice.implementation.CapabilityInner> capabilities) Set capabilities of the SKU, e.g., is traffic manager enabled?.withCapacity
(Integer capacity) Set current number of instances assigned to the resource.withFamily
(String family) Set family code of the resource SKU.withLocations
(List<String> locations) Set locations of the SKU.Set name of the resource SKU.Set size specifier of the resource SKU.withSkuCapacity
(SkuCapacity skuCapacity) Set min, max, and default scale values of the SKU.Set service tier of the resource SKU.
-
Constructor Details
-
SkuDescription
public SkuDescription()
-
-
Method Details
-
name
Get name of the resource SKU.- Returns:
- the name value
-
withName
Set name of the resource SKU.- Parameters:
name
- the name value to set- Returns:
- the SkuDescription object itself.
-
tier
Get service tier of the resource SKU.- Returns:
- the tier value
-
withTier
Set service tier of the resource SKU.- Parameters:
tier
- the tier value to set- Returns:
- the SkuDescription object itself.
-
size
Get size specifier of the resource SKU.- Returns:
- the size value
-
withSize
Set size specifier of the resource SKU.- Parameters:
size
- the size value to set- Returns:
- the SkuDescription object itself.
-
family
Get family code of the resource SKU.- Returns:
- the family value
-
withFamily
Set family code of the resource SKU.- Parameters:
family
- the family value to set- Returns:
- the SkuDescription object itself.
-
capacity
Get current number of instances assigned to the resource.- Returns:
- the capacity value
-
withCapacity
Set current number of instances assigned to the resource.- Parameters:
capacity
- the capacity value to set- Returns:
- the SkuDescription object itself.
-
skuCapacity
Get min, max, and default scale values of the SKU.- Returns:
- the skuCapacity value
-
withSkuCapacity
Set min, max, and default scale values of the SKU.- Parameters:
skuCapacity
- the skuCapacity value to set- Returns:
- the SkuDescription object itself.
-
locations
Get locations of the SKU.- Returns:
- the locations value
-
withLocations
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.
-