Exemple #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='billingLocation'>
 /// Azure Location of billable resource
 /// </param>
 /// <param name='osType'>
 /// App Service OS type meters used for
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <IPage <BillingMeter> > ListBillingMetersAsync(this IWebSiteManagementClient operations, string billingLocation = default(string), string osType = default(string), CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.ListBillingMetersWithHttpMessagesAsync(billingLocation, osType, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }