EnvironmentSize Class
- java.
lang. Object - com.
microsoft. azure. management. labservices. v2018_10_15.EnvironmentSize
- com.
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. |
Managed |
name()
Get the size category. |
java.util.List<Size |
vmSizes()
Get represents a set of compute sizes that can serve this given size type. |
Environment |
withName(ManagedLabVmSize name)
Set the size category. |
Environment |
withVmSizes(List<SizeInfo> vmSizes)
Set represents a set of compute sizes that can serve this given size type. |
Methods inherited from java.lang.Object
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:
minMemory
public Double minMemory()
Get the amount of memory available (in GB). This is the minimum amount of memory within this tier.
Returns:
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:
name
public ManagedLabVmSize name()
Get the size category. Possible values include: 'Basic', 'Standard', 'Performance'.
Returns:
vmSizes
public List
Get represents a set of compute sizes that can serve this given size type.
Returns:
withName
public EnvironmentSize withName(ManagedLabVmSize name)
Set the size category. Possible values include: 'Basic', 'Standard', 'Performance'.
Parameters:
Returns:
withVmSizes
public EnvironmentSize withVmSizes(List
Set represents a set of compute sizes that can serve this given size type.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for