Freigeben über


ComputeBatchModelFactory.BatchPoolResourceStatistics Method

Definition

Initializes a new instance of BatchPoolResourceStatistics.

public static Azure.Compute.Batch.BatchPoolResourceStatistics BatchPoolResourceStatistics (DateTimeOffset startTime = default, DateTimeOffset lastUpdateTime = default, float avgCpuPercentage = 0, float avgMemoryGiB = 0, float peakMemoryGiB = 0, float avgDiskGiB = 0, float peakDiskGiB = 0, long diskReadIOps = 0, long diskWriteIOps = 0, float diskReadGiB = 0, float diskWriteGiB = 0, float networkReadGiB = 0, float networkWriteGiB = 0);
static member BatchPoolResourceStatistics : DateTimeOffset * DateTimeOffset * single * single * single * single * single * int64 * int64 * single * single * single * single -> Azure.Compute.Batch.BatchPoolResourceStatistics
Public Shared Function BatchPoolResourceStatistics (Optional startTime As DateTimeOffset = Nothing, Optional lastUpdateTime As DateTimeOffset = Nothing, Optional avgCpuPercentage As Single = 0, Optional avgMemoryGiB As Single = 0, Optional peakMemoryGiB As Single = 0, Optional avgDiskGiB As Single = 0, Optional peakDiskGiB As Single = 0, Optional diskReadIOps As Long = 0, Optional diskWriteIOps As Long = 0, Optional diskReadGiB As Single = 0, Optional diskWriteGiB As Single = 0, Optional networkReadGiB As Single = 0, Optional networkWriteGiB As Single = 0) As BatchPoolResourceStatistics

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.

avgCpuPercentage
Single

The average CPU usage across all Compute Nodes in the Pool (percentage per node).

avgMemoryGiB
Single

The average memory usage in GiB across all Compute Nodes in the Pool.

peakMemoryGiB
Single

The peak memory usage in GiB across all Compute Nodes in the Pool.

avgDiskGiB
Single

The average used disk space in GiB across all Compute Nodes in the Pool.

peakDiskGiB
Single

The peak used disk space in GiB across all Compute Nodes in the Pool.

diskReadIOps
Int64

The total number of disk read operations across all Compute Nodes in the Pool.

diskWriteIOps
Int64

The total number of disk write operations across all Compute Nodes in the Pool.

diskReadGiB
Single

The total amount of data in GiB of disk reads across all Compute Nodes in the Pool.

diskWriteGiB
Single

The total amount of data in GiB of disk writes across all Compute Nodes in the Pool.

networkReadGiB
Single

The total amount of data in GiB of network reads across all Compute Nodes in the Pool.

networkWriteGiB
Single

The total amount of data in GiB of network writes across all Compute Nodes in the Pool.

Returns

A new BatchPoolResourceStatistics instance for mocking.

Applies to