ComputeBatchModelFactory.BatchPoolStatistics Method
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.
Initializes a new instance of BatchPoolStatistics.
public static Azure.Compute.Batch.BatchPoolStatistics BatchPoolStatistics(Uri uri = default, DateTimeOffset startTime = default, DateTimeOffset lastUpdateTime = default, Azure.Compute.Batch.BatchPoolUsageStatistics usageStatistics = default, Azure.Compute.Batch.BatchPoolResourceStatistics resourceStatistics = default);
static member BatchPoolStatistics : Uri * DateTimeOffset * DateTimeOffset * Azure.Compute.Batch.BatchPoolUsageStatistics * Azure.Compute.Batch.BatchPoolResourceStatistics -> Azure.Compute.Batch.BatchPoolStatistics
Public Shared Function BatchPoolStatistics (Optional uri As Uri = Nothing, Optional startTime As DateTimeOffset = Nothing, Optional lastUpdateTime As DateTimeOffset = Nothing, Optional usageStatistics As BatchPoolUsageStatistics = Nothing, Optional resourceStatistics As BatchPoolResourceStatistics = Nothing) As BatchPoolStatistics
Parameters
- uri
- Uri
The URL for the statistics.
- 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.
- usageStatistics
- BatchPoolUsageStatistics
Statistics related to Pool usage, such as the amount of core-time used.
- resourceStatistics
- BatchPoolResourceStatistics
Statistics related to resource consumption by Compute Nodes in the Pool.
Returns
A new BatchPoolStatistics instance for mocking.