public Observable<List<AnnotationInner>> listAsync(String resourceGroupName, String resourceName, String start, String end) {
        return listWithServiceResponseAsync(resourceGroupName, resourceName, start, end).map(new Func1<ServiceResponse<List<AnnotationInner>>, List<AnnotationInner>>() {
            @Override
            public List<AnnotationInner> call(ServiceResponse<List<AnnotationInner>> response) {
                return response.body();
            }
        });
    }
public Observable < List < AnnotationInner > > listAsync ( String resourceGroupName , String resourceName , String start , String end ) { return listWithServiceResponseAsync ( resourceGroupName , resourceName , start , end ) . map ( new Func1 < ServiceResponse < List < AnnotationInner > > , List < AnnotationInner > > ( ) { @ Override public List < AnnotationInner > call ( ServiceResponse < List < AnnotationInner > > response ) { return response . body ( ) ; } } ) ; }
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
@return the observable to the List&lt;AnnotationInner&gt; object