/// <summary> /// Lists the billingSpecs for the specified subscription and location. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='location'> /// The Azure location (region) for which to make the request. /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <BillingResponseListResult> ListBillingSpecsAsync(this ILocationsOperations operations, string location, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.ListBillingSpecsWithHttpMessagesAsync(location, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }