Esempio n. 1
0
 /// <summary>
 /// Lists the usage metrics, aggregated by Pool across individual time
 /// intervals, for the specified Account.
 /// </summary>
 /// <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.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='nextPageLink'>
 /// The NextLink from the previous successful call to List operation.
 /// </param>
 /// <param name='poolListUsageMetricsNextOptions'>
 /// Additional parameters for the operation
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <IPage <PoolUsageMetrics> > ListUsageMetricsNextAsync(this IPoolOperations operations, string nextPageLink, PoolListUsageMetricsNextOptions poolListUsageMetricsNextOptions = default(PoolListUsageMetricsNextOptions), CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.ListUsageMetricsNextWithHttpMessagesAsync(nextPageLink, poolListUsageMetricsNextOptions, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
Esempio n. 2
0
 /// <summary>
 /// Lists the usage metrics, aggregated by Pool across individual time
 /// intervals, for the specified Account.
 /// </summary>
 /// <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.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='nextPageLink'>
 /// The NextLink from the previous successful call to List operation.
 /// </param>
 /// <param name='poolListUsageMetricsNextOptions'>
 /// Additional parameters for the operation
 /// </param>
 public static IPage <PoolUsageMetrics> ListUsageMetricsNext(this IPoolOperations operations, string nextPageLink, PoolListUsageMetricsNextOptions poolListUsageMetricsNextOptions = default(PoolListUsageMetricsNextOptions))
 {
     return(operations.ListUsageMetricsNextAsync(nextPageLink, poolListUsageMetricsNextOptions).GetAwaiter().GetResult());
 }