你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Sku Class
- java.
lang. Object - com.
microsoft. azure. management. compute. Sku
- com.
public class Sku
Describes a virtual machine scale set sku.
Method Summary
Modifier and Type | Method and Description |
---|---|
Long |
capacity()
Get the capacity value. |
String |
name()
Get the name value. |
String |
tier()
Get the tier value. |
Sku |
withCapacity(Long capacity)
Set the capacity value. |
Sku |
withName(String name)
Set the name value. |
Sku |
withTier(String tier)
Set the tier value. |
Method Details
capacity
public Long capacity()
Get the capacity value.
Returns:
the capacity value
name
public String name()
Get the name value.
Returns:
the name value
tier
public String tier()
Get the tier value.
Returns:
the tier value
withCapacity
public Sku withCapacity(Long capacity)
Set the capacity value.
Parameters:
capacity
- the capacity value to set
Returns:
the Sku object itself.
withName
public Sku withName(String name)
Set the name value.
Parameters:
name
- the name value to set
Returns:
the Sku object itself.
withTier
public Sku withTier(String tier)
Set the tier value.
Parameters:
tier
- the tier value to set
Returns:
the Sku object itself.