Skip to content

Support quota usages for managed environments (container app environments)Β #156

@dimitri-fert-citeo-p

Description

@dimitri-fert-citeo-p

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions