Share via


ComputeBatchModelFactory.BatchPoolUsageStatistics Method

Definition

Initializes a new instance of BatchPoolUsageStatistics.

public static Azure.Compute.Batch.BatchPoolUsageStatistics BatchPoolUsageStatistics (DateTimeOffset startTime = default, DateTimeOffset lastUpdateTime = default, TimeSpan dedicatedCoreTime = default);
static member BatchPoolUsageStatistics : DateTimeOffset * DateTimeOffset * TimeSpan -> Azure.Compute.Batch.BatchPoolUsageStatistics
Public Shared Function BatchPoolUsageStatistics (Optional startTime As DateTimeOffset = Nothing, Optional lastUpdateTime As DateTimeOffset = Nothing, Optional dedicatedCoreTime As TimeSpan = Nothing) As BatchPoolUsageStatistics

Parameters

startTime
DateTimeOffset

The start time of the time range covered by the statistics.

lastUpdateTime
DateTimeOffset

The time at which the statistics were last updated. All statistics are limited to the range between startTime and lastUpdateTime.

dedicatedCoreTime
TimeSpan

The aggregated wall-clock time of the dedicated Compute Node cores being part of the Pool.

Returns

A new BatchPoolUsageStatistics instance for mocking.

Applies to