PoolUsageMetrics Class
- java.
lang. Object - com.
microsoft. azure. batch. protocol. models. PoolUsageMetrics
- com.
public class PoolUsageMetrics
Usage metrics for a pool across an aggregation interval.
Method Summary
Modifier and Type | Method and Description |
---|---|
DateTime |
endTime()
Get the endTime value. |
String |
poolId()
Get the poolId value. |
DateTime |
startTime()
Get the startTime value. |
double |
totalCoreHours()
Get the totalCoreHours value. |
String |
vmSize()
Get for information about available sizes of virtual machines in pools, see Choose a VM size for compute nodes in an Azure Batch pool (https://docs.microsoft.com/azure/batch/batch-pool-vm-sizes). |
Pool |
withEndTime(DateTime endTime)
Set the endTime value. |
Pool |
withPoolId(String poolId)
Set the poolId value. |
Pool |
withStartTime(DateTime startTime)
Set the startTime value. |
Pool |
withTotalCoreHours(double totalCoreHours)
Set the totalCoreHours value. |
Pool |
withVmSize(String vmSize)
Set for information about available sizes of virtual machines in pools, see Choose a VM size for compute nodes in an Azure Batch pool (https://docs.microsoft.com/azure/batch/batch-pool-vm-sizes). |
Method Details
endTime
public DateTime endTime()
Get the endTime value.
Returns:
poolId
public String poolId()
Get the poolId value.
Returns:
startTime
public DateTime startTime()
Get the startTime value.
Returns:
totalCoreHours
public double totalCoreHours()
Get the totalCoreHours value.
Returns:
vmSize
public String vmSize()
Get for information about available sizes of virtual machines in pools, see Choose a VM size for compute nodes in an Azure Batch pool (https://docs.microsoft.com/azure/batch/batch-pool-vm-sizes).
Returns:
withEndTime
public PoolUsageMetrics withEndTime(DateTime endTime)
Set the endTime value.
Parameters:
Returns:
withPoolId
public PoolUsageMetrics withPoolId(String poolId)
Set the poolId value.
Parameters:
Returns:
withStartTime
public PoolUsageMetrics withStartTime(DateTime startTime)
Set the startTime value.
Parameters:
Returns:
withTotalCoreHours
public PoolUsageMetrics withTotalCoreHours(double totalCoreHours)
Set the totalCoreHours value.
Parameters:
Returns:
withVmSize
public PoolUsageMetrics withVmSize(String vmSize)
Set for information about available sizes of virtual machines in pools, see Choose a VM size for compute nodes in an Azure Batch pool (https://docs.microsoft.com/azure/batch/batch-pool-vm-sizes).
Parameters:
Returns:
Applies to
Azure SDK for Java