你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
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 (string url = default, DateTimeOffset startTime = default, DateTimeOffset lastUpdateTime = default, Azure.Compute.Batch.BatchPoolUsageStatistics usageStats = default, Azure.Compute.Batch.BatchPoolResourceStatistics resourceStats = default);
static member BatchPoolStatistics : string * DateTimeOffset * DateTimeOffset * Azure.Compute.Batch.BatchPoolUsageStatistics * Azure.Compute.Batch.BatchPoolResourceStatistics -> Azure.Compute.Batch.BatchPoolStatistics
Public Shared Function BatchPoolStatistics (Optional url As String = Nothing, Optional startTime As DateTimeOffset = Nothing, Optional lastUpdateTime As DateTimeOffset = Nothing, Optional usageStats As BatchPoolUsageStatistics = Nothing, Optional resourceStats As BatchPoolResourceStatistics = Nothing) As BatchPoolStatistics
Parameters
- url
- String
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.
- usageStats
- BatchPoolUsageStatistics
Statistics related to Pool usage, such as the amount of core-time used.
- resourceStats
- BatchPoolResourceStatistics
Statistics related to resource consumption by Compute Nodes in the Pool.
Returns
A new BatchPoolStatistics instance for mocking.