public Observable<Page<JobExecutionInner>> listByAgentAsync(final String resourceGroupName, final String serverName, final String jobAgentName) {
        return listByAgentWithServiceResponseAsync(resourceGroupName, serverName, jobAgentName)
            .map(new Func1<ServiceResponse<Page<JobExecutionInner>>, Page<JobExecutionInner>>() {
                @Override
                public Page<JobExecutionInner> call(ServiceResponse<Page<JobExecutionInner>> response) {
                    return response.body();
                }
            });
    }
public Observable < Page < JobExecutionInner > > listByAgentAsync ( final String resourceGroupName , final String serverName , final String jobAgentName ) { return listByAgentWithServiceResponseAsync ( resourceGroupName , serverName , jobAgentName ) . map ( new Func1 < ServiceResponse < Page < JobExecutionInner > > , Page < JobExecutionInner > > ( ) { @ Override public Page < JobExecutionInner > call ( ServiceResponse < Page < JobExecutionInner > > response ) { return response . body ( ) ; } } ) ; }
Lists all executions in a job agent.

@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.
@param serverName The name of the server.
@param jobAgentName The name of the job agent.
@throws IllegalArgumentException thrown if parameters fail the validation
@return the observable to the PagedList&lt;JobExecutionInner&gt; object