EnvironmentSize Class

  • java.lang.Object
    • com.microsoft.azure.management.labservices.v2018_10_15.EnvironmentSize

public class EnvironmentSize

Represents a size category supported by this Lab Account (small, medium or large).

Constructor Summary

Constructor Description
EnvironmentSize()

Method Summary

Modifier and Type Method and Description
java.math.BigDecimal maxPrice()

Get the pay-as-you-go dollar price per hour this size will cost.

java.lang.Double minMemory()

Get the amount of memory available (in GB).

java.lang.Integer minNumberOfCores()

Get the number of cores a VM of this size has.

ManagedLabVmSize name()

Get the size category.

java.util.List<SizeInfo> vmSizes()

Get represents a set of compute sizes that can serve this given size type.

EnvironmentSize withName(ManagedLabVmSize name)

Set the size category.

EnvironmentSize withVmSizes(List<SizeInfo> vmSizes)

Set represents a set of compute sizes that can serve this given size type.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

EnvironmentSize

public EnvironmentSize()

Method Details

maxPrice

public BigDecimal maxPrice()

Get the pay-as-you-go dollar price per hour this size will cost. It does not include discounts and may not reflect the actual price the size will cost. This is the maximum price of all prices within this tier.

Returns:

the maxPrice value

minMemory

public Double minMemory()

Get the amount of memory available (in GB). This is the minimum amount of memory within this tier.

Returns:

the minMemory value

minNumberOfCores

public Integer minNumberOfCores()

Get the number of cores a VM of this size has. This is the minimum number of cores within this tier.

Returns:

the minNumberOfCores value

name

public ManagedLabVmSize name()

Get the size category. Possible values include: 'Basic', 'Standard', 'Performance'.

Returns:

the name value

vmSizes

public List vmSizes()

Get represents a set of compute sizes that can serve this given size type.

Returns:

the vmSizes value

withName

public EnvironmentSize withName(ManagedLabVmSize name)

Set the size category. Possible values include: 'Basic', 'Standard', 'Performance'.

Parameters:

name - the name value to set

Returns:

the EnvironmentSize object itself.

withVmSizes

public EnvironmentSize withVmSizes(List vmSizes)

Set represents a set of compute sizes that can serve this given size type.

Parameters:

vmSizes - the vmSizes value to set

Returns:

the EnvironmentSize object itself.

Applies to