def METHOD_NAME(next_link=None):
    if not next_link:
        request = build_list_metrics_request(
            resource_group_name=resource_group_name,
            account_name=account_name,
            region=region,
            database_rid=database_rid,
            collection_rid=collection_rid,
            partition_key_range_id=partition_key_range_id,
            subscription_id=self._config.subscription_id,
            filter=filter,
            api_version=api_version,
            template_url=self.list_metrics.metadata["url"],
            headers=_headers,
            params=_params,
        )
        request = _convert_request(request)
        request.url = self._client.format_url(request.url)
    else:
        # make call to next link with the client's api-version
        _parsed_next_link = urllib.parse.urlparse(next_link)
        _next_request_params = case_insensitive_dict(
            {
                key: [urllib.parse.quote(v) for v in value]
                for key, value in urllib.parse.parse_qs(_parsed_next_link.query).items()
            }
        )
        _next_request_params["api-version"] = self._config.api_version
        request = HttpRequest(
            "GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params
        )
        request = _convert_request(request)
        request.url = self._client.format_url(request.url)
        request.method = "GET"
    return request