-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
Hello and thanks for maintaining this project.
I'd like to be able to fetch quota information of managed environments, that could be fetched through the command below. Having a quick look in the code I feel like this is not currently supported. Can you confirm this and advise if it is planned to be added in near future ?
Thanks in advance π
az containerapp env list-usages \
--resource-group '<resource_group>' \
--name '<cappe_name>' \
--debug
...
urllib3.connectionpool: https://management.azure.com:443 "GET /subscriptions/<subscription_id>/resourceGroups/<resource_group_name>/providers/Microsoft.App/managedEnvironments/<cappe_name>/usages?api-version=2025-01-01 HTTP/1.1" 200 487
...
{
"value": [
{
"currentValue": 8,
"limit": 500,
"name": {
"localizedValue": "Managed Environment General Purpose Cores",
"value": "ManagedEnvironmentGeneralPurposeCores"
},
"usage": 8
},
{
"currentValue": 0,
"limit": 500,
"name": {
"localizedValue": "Managed Environment Memory Optimized Cores",
"value": "ManagedEnvironmentMemoryOptimizedCores"
},
"usage": 0
},
{
"currentValue": 5.5,
"limit": 500,
"name": {
"localizedValue": "Managed Environment Consumption Cores",
"value": "ManagedEnvironmentConsumptionCores"
},
"usage": 5.5
}
]
}
Metadata
Metadata
Assignees
Labels
No labels