示例#1
0
 /// <summary>
 /// Gets a list of meters for a given location.
 /// </summary>
 /// <remarks>
 /// Gets a list of meters for a given location.
 /// </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='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <IPage <BillingMeter> > ListNextAsync(this IBillingMetersOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.ListNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
示例#2
0
 /// <summary>
 /// Gets a list of meters for a given location.
 /// </summary>
 /// <remarks>
 /// Gets a list of meters for a given location.
 /// </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>
 public static IPage <BillingMeter> ListNext(this IBillingMetersOperations operations, string nextPageLink)
 {
     return(operations.ListNextAsync(nextPageLink).GetAwaiter().GetResult());
 }
示例#3
0
 /// <summary>
 /// Gets a list of meters for a given location.
 /// </summary>
 /// <remarks>
 /// Gets a list of meters for a given location.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='billingLocation'>
 /// Azure Location of billable resource
 /// </param>
 public static IPage <BillingMeter> List(this IBillingMetersOperations operations, string billingLocation = default(string))
 {
     return(operations.ListAsync(billingLocation).GetAwaiter().GetResult());
 }