PoolUsageMetrics Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
PoolUsageMetrics() |
Initializes a new instance of the PoolUsageMetrics class. |
PoolUsageMetrics(String, DateTime, DateTime, String, Double) |
Initializes a new instance of the PoolUsageMetrics class. |
PoolUsageMetrics()
- Source:
- PoolUsageMetrics.cs
Initializes a new instance of the PoolUsageMetrics class.
public PoolUsageMetrics ();
Public Sub New ()
Applies to
PoolUsageMetrics(String, DateTime, DateTime, String, Double)
- Source:
- PoolUsageMetrics.cs
Initializes a new instance of the PoolUsageMetrics class.
public PoolUsageMetrics (string poolId, DateTime startTime, DateTime endTime, string vmSize, double totalCoreHours);
new Microsoft.Azure.Batch.Protocol.Models.PoolUsageMetrics : string * DateTime * DateTime * string * double -> Microsoft.Azure.Batch.Protocol.Models.PoolUsageMetrics
Public Sub New (poolId As String, startTime As DateTime, endTime As DateTime, vmSize As String, totalCoreHours As Double)
Parameters
- poolId
- String
The ID of the Pool whose metrics are aggregated in this entry.
- startTime
- DateTime
The start time of the aggregation interval covered by this entry.
- endTime
- DateTime
The end time of the aggregation interval covered by this entry.
- vmSize
- String
The size of virtual machines in the Pool. All VMs in a Pool are the same size.
- totalCoreHours
- Double
The total core hours used in the Pool during this aggregation interval.