Testing Dockerhub pull limits in Azure

Hi,

Azure apparently have a special deal with Docker Hub, which delays implementation of the pull limits until the end of June. What this means is that if you attempt to check your limits coming from an Azure IP address, it always shows as zeroes, i.e.:

$ UP="user:api-token"
$ TOKEN=$(curl -s --user $UP "https://auth.docker.io/token?service=registry.docker.io&scope=repository:ratelimitpreview/test:pull" | jq -r .token)
$ curl --head -H "Authorization: Bearer $TOKEN" https://registry-1.docker.io/v2/ratelimitpreview/test/manifests/latest

HTTP/1.1 200 OK
content-length: 2782
content-type: application/vnd.docker.distribution.manifest.v1+prettyjws
docker-content-digest: sha256:767a3815c34823b355bed31760d5fa3daca0aec2ce15b217c9cd83229e0e2020
docker-distribution-api-version: registry/2.0
etag: "sha256:767a3815c34823b355bed31760d5fa3daca0aec2ce15b217c9cd83229e0e2020"
date: Wed, 09 Feb 2022 13:30:39 GMT
strict-transport-security: max-age=31536000
docker-ratelimit-source: [ip-address-hidden]

While the same credentials being used from a non-Azure IP give you the actual limits:

HTTP/1.1 200 OK
content-length: 2782
content-type: application/vnd.docker.distribution.manifest.v1+prettyjws
docker-content-digest: sha256:767a3815c34823b355bed31760d5fa3daca0aec2ce15b217c9cd83229e0e2020
docker-distribution-api-version: registry/2.0
etag: "sha256:767a3815c34823b355bed31760d5fa3daca0aec2ce15b217c9cd83229e0e2020"
date: Wed, 09 Feb 2022 13:31:57 GMT
strict-transport-security: max-age=31536000
ratelimit-limit: 200;w=21600
ratelimit-remaining: 198;w=21600
docker-ratelimit-source: [token hidden]

This prevents us from being able to accurately say what our docker hub pull usage is while coming from Azure. Is there a way to check the actual limits somehow?

Thanks!
Roman