code: public Observable<Page<ServerDnsAliasInner>> listByServerAsync(final String resourceGroupName, final String serverName) {
          return listByServerWithServiceResponseAsync(resourceGroupName, serverName)
              .map(new Func1<ServiceResponse<Page<ServerDnsAliasInner>>, Page<ServerDnsAliasInner>>() {
                  @Override
                  public Page<ServerDnsAliasInner> call(ServiceResponse<Page<ServerDnsAliasInner>> response) {
                      return response.body();
                  }
              });
      }
docs: Gets a list of server DNS aliases for a server.
  
  @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 that the alias is pointing to.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable to the PagedList&lt;ServerDnsAliasInner&gt; object