code: public ServiceFuture<List<ApplicationInsightsComponentFavoriteInner>> listAsync(String resourceGroupName, String resourceName, FavoriteType favoriteType, FavoriteSourceType sourceType, Boolean canFetchContent, List<String> tags, final ServiceCallback<List<ApplicationInsightsComponentFavoriteInner>> serviceCallback) {
          return ServiceFuture.fromResponse(listWithServiceResponseAsync(resourceGroupName, resourceName, favoriteType, sourceType, canFetchContent, tags), serviceCallback);
      }
docs: Gets a list of favorites defined within an Application Insights component.
  
  @param resourceGroupName The name of the resource group.
  @param resourceName The name of the Application Insights component resource.
  @param favoriteType The type of favorite. Value can be either shared or user. Possible values include: 'shared', 'user'
  @param sourceType Source type of favorite to return. When left out, the source type defaults to 'other' (not present in this enum). Possible values include: 'retention', 'notebook', 'sessions', 'events', 'userflows', 'funnel', 'impact', 'segmentation'
  @param canFetchContent Flag indicating whether or not to return the full content for each applicable favorite. If false, only return summary content for favorites.
  @param tags Tags that must be present on each favorite returned.
  @param serviceCallback the async ServiceCallback to handle successful and failed responses.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the {@link ServiceFuture} object