code: public List<AnnotationInner> list(String resourceGroupName, String resourceName, String start, String end) {
          return listWithServiceResponseAsync(resourceGroupName, resourceName, start, end).toBlocking().single().body();
      }
docs: Gets the list of annotations for a component for given time range.
  
  @param resourceGroupName The name of the resource group.
  @param resourceName The name of the Application Insights component resource.
  @param start The start time to query from for annotations, cannot be older than 90 days from current date.
  @param end The end time to query for annotations.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @throws AnnotationErrorException thrown if the request is rejected by server
  @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
  @return the List&lt;AnnotationInner&gt; object if successful.