public Observable<ServiceResponse<Page<SyncGroupLogPropertiesInner>>> listLogsSinglePageAsync(final String resourceGroupName, final String serverName, final String databaseName, final String syncGroupName, final String startTime, final String endTime, final String type, final String continuationToken) {
        if (resourceGroupName == null) {
            throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.");
        }
        if (serverName == null) {
            throw new IllegalArgumentException("Parameter serverName is required and cannot be null.");
        }
        if (databaseName == null) {
            throw new IllegalArgumentException("Parameter databaseName is required and cannot be null.");
        }
        if (syncGroupName == null) {
            throw new IllegalArgumentException("Parameter syncGroupName is required and cannot be null.");
        }
        if (this.client.subscriptionId() == null) {
            throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null.");
        }
        if (startTime == null) {
            throw new IllegalArgumentException("Parameter startTime is required and cannot be null.");
        }
        if (endTime == null) {
            throw new IllegalArgumentException("Parameter endTime is required and cannot be null.");
        }
        if (type == null) {
            throw new IllegalArgumentException("Parameter type is required and cannot be null.");
        }
        if (this.client.apiVersion() == null) {
            throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null.");
        }
        return service.listLogs(resourceGroupName, serverName, databaseName, syncGroupName, this.client.subscriptionId(), startTime, endTime, type, continuationToken, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent())
            .flatMap(new Func1<Response<ResponseBody>, Observable<ServiceResponse<Page<SyncGroupLogPropertiesInner>>>>() {
                @Override
                public Observable<ServiceResponse<Page<SyncGroupLogPropertiesInner>>> call(Response<ResponseBody> response) {
                    try {
                        ServiceResponse<PageImpl<SyncGroupLogPropertiesInner>> result = listLogsDelegate(response);
                        return Observable.just(new ServiceResponse<Page<SyncGroupLogPropertiesInner>>(result.body(), result.response()));
                    } catch (Throwable t) {
                        return Observable.error(t);
                    }
                }
            });
    }
public Observable < ServiceResponse < Page < SyncGroupLogPropertiesInner > > > listLogsSinglePageAsync ( final String resourceGroupName , final String serverName , final String databaseName , final String syncGroupName , final String startTime , final String endTime , final String type , final String continuationToken ) { if ( resourceGroupName == null ) { throw new IllegalArgumentException ( "Parameter resourceGroupName is required and cannot be null." ) ; } if ( serverName == null ) { throw new IllegalArgumentException ( "Parameter serverName is required and cannot be null." ) ; } if ( databaseName == null ) { throw new IllegalArgumentException ( "Parameter databaseName is required and cannot be null." ) ; } if ( syncGroupName == null ) { throw new IllegalArgumentException ( "Parameter syncGroupName is required and cannot be null." ) ; } if ( this . client . subscriptionId ( ) == null ) { throw new IllegalArgumentException ( "Parameter this.client.subscriptionId() is required and cannot be null." ) ; } if ( startTime == null ) { throw new IllegalArgumentException ( "Parameter startTime is required and cannot be null." ) ; } if ( endTime == null ) { throw new IllegalArgumentException ( "Parameter endTime is required and cannot be null." ) ; } if ( type == null ) { throw new IllegalArgumentException ( "Parameter type is required and cannot be null." ) ; } if ( this . client . apiVersion ( ) == null ) { throw new IllegalArgumentException ( "Parameter this.client.apiVersion() is required and cannot be null." ) ; } return service . listLogs ( resourceGroupName , serverName , databaseName , syncGroupName , this . client . subscriptionId ( ) , startTime , endTime , type , continuationToken , this . client . apiVersion ( ) , this . client . acceptLanguage ( ) , this . client . userAgent ( ) ) . flatMap ( new Func1 < Response < ResponseBody > , Observable < ServiceResponse < Page < SyncGroupLogPropertiesInner > > > > ( ) { @ Override public Observable < ServiceResponse < Page < SyncGroupLogPropertiesInner > > > call ( Response < ResponseBody > response ) { try { ServiceResponse < PageImpl < SyncGroupLogPropertiesInner > > result = listLogsDelegate ( response ) ; return Observable . just ( new ServiceResponse < Page < SyncGroupLogPropertiesInner > > ( result . body ( ) , result . response ( ) ) ) ; } catch ( Throwable t ) { return Observable . error ( t ) ; } } } ) ; }
Gets a collection of sync group logs.

ServiceResponse<PageImpl<SyncGroupLogPropertiesInner>> * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
ServiceResponse<PageImpl<SyncGroupLogPropertiesInner>> * @param serverName The name of the server.
ServiceResponse<PageImpl<SyncGroupLogPropertiesInner>> * @param databaseName The name of the database on which the sync group is hosted.
ServiceResponse<PageImpl<SyncGroupLogPropertiesInner>> * @param syncGroupName The name of the sync group.
ServiceResponse<PageImpl<SyncGroupLogPropertiesInner>> * @param startTime Get logs generated after this time.
ServiceResponse<PageImpl<SyncGroupLogPropertiesInner>> * @param endTime Get logs generated before this time.
ServiceResponse<PageImpl<SyncGroupLogPropertiesInner>> * @param type The types of logs to retrieve. Possible values include: 'All', 'Error', 'Warning', 'Success'
ServiceResponse<PageImpl<SyncGroupLogPropertiesInner>> * @param continuationToken The continuation token for this operation.
@throws IllegalArgumentException thrown if parameters fail the validation
@return the PagedList&lt;SyncGroupLogPropertiesInner&gt; object wrapped in {@link ServiceResponse} if successful.