Sku Class

  • java.lang.Object
    • com.microsoft.azure.management.compute.Sku

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