code: public Observable<ServiceResponse<Page<SyncAgentLinkedDatabaseInner>>> listLinkedDatabasesSinglePageAsync(final String resourceGroupName, final String serverName, final String syncAgentName) {
          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 (syncAgentName == null) {
              throw new IllegalArgumentException("Parameter syncAgentName 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 (this.client.apiVersion() == null) {
              throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null.");
          }
          return service.listLinkedDatabases(resourceGroupName, serverName, syncAgentName, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent())
              .flatMap(new Func1<Response<ResponseBody>, Observable<ServiceResponse<Page<SyncAgentLinkedDatabaseInner>>>>() {
                  @Override
                  public Observable<ServiceResponse<Page<SyncAgentLinkedDatabaseInner>>> call(Response<ResponseBody> response) {
                      try {
                          ServiceResponse<PageImpl<SyncAgentLinkedDatabaseInner>> result = listLinkedDatabasesDelegate(response);
                          return Observable.just(new ServiceResponse<Page<SyncAgentLinkedDatabaseInner>>(result.body(), result.response()));
                      } catch (Throwable t) {
                          return Observable.error(t);
                      }
                  }
              });
      }
docs: Lists databases linked to a sync agent.
  
  ServiceResponse<PageImpl<SyncAgentLinkedDatabaseInner>> * @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<SyncAgentLinkedDatabaseInner>> * @param serverName The name of the server on which the sync agent is hosted.
  ServiceResponse<PageImpl<SyncAgentLinkedDatabaseInner>> * @param syncAgentName The name of the sync agent.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the PagedList&lt;SyncAgentLinkedDatabaseInner&gt; object wrapped in {@link ServiceResponse} if successful.