PoolOperationsExtensions.ListUsageMetricsNextAsync 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.
Lists the usage metrics, aggregated by Pool across individual time intervals, for the specified Account.
public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Batch.Protocol.Models.PoolUsageMetrics>> ListUsageMetricsNextAsync (this Microsoft.Azure.Batch.Protocol.IPoolOperations operations, string nextPageLink, Microsoft.Azure.Batch.Protocol.Models.PoolListUsageMetricsNextOptions poolListUsageMetricsNextOptions = default, System.Threading.CancellationToken cancellationToken = default);
static member ListUsageMetricsNextAsync : Microsoft.Azure.Batch.Protocol.IPoolOperations * string * Microsoft.Azure.Batch.Protocol.Models.PoolListUsageMetricsNextOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Batch.Protocol.Models.PoolUsageMetrics>>
<Extension()>
Public Function ListUsageMetricsNextAsync (operations As IPoolOperations, nextPageLink As String, Optional poolListUsageMetricsNextOptions As PoolListUsageMetricsNextOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of PoolUsageMetrics))
Parameters
- operations
- IPoolOperations
The operations group for this extension method.
- nextPageLink
- String
The NextLink from the previous successful call to List operation.
- poolListUsageMetricsNextOptions
- PoolListUsageMetricsNextOptions
Additional parameters for the operation
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Remarks
If you do not specify a $filter clause including a poolId, the response includes all Pools that existed in the Account in the time range of the returned aggregation intervals. If you do not specify a $filter clause including a startTime or endTime these filters default to the start and end times of the last aggregation interval currently available; that is, only the last aggregation interval is returned.
Applies to
Azure SDK for .NET