code: public ServiceFuture<UsagesResultInner> getUsagesAsync(String resourceGroupName, String accountName, String filter, final ServiceCallback<UsagesResultInner> serviceCallback) {
          return ServiceFuture.fromResponse(getUsagesWithServiceResponseAsync(resourceGroupName, accountName, filter), serviceCallback);
      }
docs: Get usages for the requested Cognitive Services account.
  
  @param resourceGroupName The name of the resource group within the user's subscription.
  @param accountName The name of Cognitive Services account.
  @param filter An OData filter expression that describes a subset of usages to return. The supported parameter is name.value (name of the metric, can have an or of multiple names).
  @param serviceCallback the async ServiceCallback to handle successful and failed responses.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the {@link ServiceFuture} object