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.
Applies to
Colaborar con nosotros en GitHub
El origen de este contenido se puede encontrar en GitHub, donde también puede crear y revisar problemas y solicitudes de incorporación de cambios. Para más información, consulte nuestra guía para colaboradores.
Azure SDK for Java