Get Ankra Cloud account quotas
import requests
url = "https://platform.ankra.app/api/v1/clusters/ankracloud/quotas"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://platform.ankra.app/api/v1/clusters/ankracloud/quotas', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://platform.ankra.app/api/v1/clusters/ankracloud/quotas \
--header 'Authorization: Bearer <token>'{
"provider": "<string>",
"increase": {
"mechanism": "provider_api",
"automatable": true,
"limits_readable": true,
"instructions": "<string>",
"console_url": "<string>",
"docs_url": "<string>",
"cost_implication": "<string>"
},
"dimensions": [
{
"dimension": "<string>",
"scope": "<string>",
"unit": "<string>",
"used": 123,
"limit": 123,
"exhausted": true,
"location": "<string>",
"remaining": 123,
"utilisation_percent": 123,
"provider_quota_name": "<string>"
}
],
"limits_exposed": true,
"pressured": [
{
"dimension": "<string>",
"scope": "<string>",
"unit": "<string>",
"used": 123,
"limit": 123,
"exhausted": true,
"location": "<string>",
"remaining": 123,
"utilisation_percent": 123,
"provider_quota_name": "<string>"
}
]
}{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}Ankra Cloud Clusters
Get Ankra Cloud account quotas
Reads the limits and usage of the organisation’s Ankra Cloud account, without naming a cluster: servers, cores, memory, storage, floating IPs, private networks and routers, each with what is left, and how to request a higher limit. Requires clusters.read. Answers 404 unless the organisation’s ankra_cloud_quota_management and ankra_cloud_provider feature flags are both on.
GET
/
api
/
v1
/
clusters
/
ankracloud
/
quotas
Get Ankra Cloud account quotas
import requests
url = "https://platform.ankra.app/api/v1/clusters/ankracloud/quotas"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://platform.ankra.app/api/v1/clusters/ankracloud/quotas', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://platform.ankra.app/api/v1/clusters/ankracloud/quotas \
--header 'Authorization: Bearer <token>'{
"provider": "<string>",
"increase": {
"mechanism": "provider_api",
"automatable": true,
"limits_readable": true,
"instructions": "<string>",
"console_url": "<string>",
"docs_url": "<string>",
"cost_implication": "<string>"
},
"dimensions": [
{
"dimension": "<string>",
"scope": "<string>",
"unit": "<string>",
"used": 123,
"limit": 123,
"exhausted": true,
"location": "<string>",
"remaining": 123,
"utilisation_percent": 123,
"provider_quota_name": "<string>"
}
],
"limits_exposed": true,
"pressured": [
{
"dimension": "<string>",
"scope": "<string>",
"unit": "<string>",
"used": 123,
"limit": 123,
"exhausted": true,
"location": "<string>",
"remaining": 123,
"utilisation_percent": 123,
"provider_quota_name": "<string>"
}
]
}{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}Authorizations
Query Parameters
Response
The quota report
The normalised quota view of a cloud credential (GET /org/credentials/{provider}/{credential_id}/quotas): every limit-bearing resource the provider reports, which of them are under pressure, and how a limit is raised.