Describe the bug
When executing the “az consumption budget show” command, the “filter” is not displayed as part of the detailed budget configuration information. We need this information to identify which filter is applied to this budget.
Related command
az consumption budget show --budget-name <budget_name>
Errors
Filter information is missing
Issue script & Debug output
{
"amount": "1000.0",
"category": "Cost",
"currentSpend": {
"amount": "0.0",
"unit": "USD"
},
"eTag": ""xxxxxxxxxxxxxxxxxxxx"",
"id": "/subscriptions/xxxxxxxxxxxxxxxxxxxx/providers/Microsoft.Consumption/budgets/budget-10111",
"name": "budget-10111",
"notifications": {
"notificationForExceededBudget1": {
"contactEmails": [
"xxxxxx@xxxxx.com"
],
"contactGroups": [],
"contactRoles": [],
"enabled": true,
"operator": "GreaterThan",
"threshold": "90.0"
},
"notificationForExceededBudget2": {
"contactEmails": [
"xxxxxx@xxxxx.com"
],
"contactGroups": [],
"contactRoles": [],
"enabled": true,
"operator": "GreaterThan",
"threshold": "110.0"
}
},
"timeGrain": "Monthly",
"timePeriod": {
"endDate": "2025-09-30T00:00:00Z",
"startDate": "2024-09-01T00:00:00Z"
},
"type": "Microsoft.Consumption/budgets"
}
Expected behavior
The filter information should be display, like the information we can get from the REST API like below:
"filter": {
"tags": {
"name": "critical",
"operator": "In",
"values": [
"yes"
]
}
Environment Summary
azure-cli 2.64.0
core 2.64.0
telemetry 1.1.0
Extensions:
aks-preview 0.5.162
bastion 1.1.0
connectedk8s 1.2.0
k8s-extension 1.0.4
Dependencies:
msal 1.30.0
azure-mgmt-resource 23.1.1
Python location 'C:\Program Files\Microsoft SDKs\Azure\CLI2\python.exe'
Extensions directory 'C:\Users\leowa.azure\cliextensions'
Python (Windows) 3.11.8 (tags/v3.11.8:db85d51, Feb 6 2024, 22:03:32) [MSC v.1937 64 bit (AMD64)]
Legal docs and information: aka.ms/AzureCliLegal
Your CLI is up-to-date.
Additional context
No response
Describe the bug
When executing the “az consumption budget show” command, the “filter” is not displayed as part of the detailed budget configuration information. We need this information to identify which filter is applied to this budget.
Related command
az consumption budget show --budget-name <budget_name>
Errors
Filter information is missing
Issue script & Debug output
{
"amount": "1000.0",
"category": "Cost",
"currentSpend": {
"amount": "0.0",
"unit": "USD"
},
"eTag": ""xxxxxxxxxxxxxxxxxxxx"",
"id": "/subscriptions/xxxxxxxxxxxxxxxxxxxx/providers/Microsoft.Consumption/budgets/budget-10111",
"name": "budget-10111",
"notifications": {
"notificationForExceededBudget1": {
"contactEmails": [
"xxxxxx@xxxxx.com"
],
"contactGroups": [],
"contactRoles": [],
"enabled": true,
"operator": "GreaterThan",
"threshold": "90.0"
},
"notificationForExceededBudget2": {
"contactEmails": [
"xxxxxx@xxxxx.com"
],
"contactGroups": [],
"contactRoles": [],
"enabled": true,
"operator": "GreaterThan",
"threshold": "110.0"
}
},
"timeGrain": "Monthly",
"timePeriod": {
"endDate": "2025-09-30T00:00:00Z",
"startDate": "2024-09-01T00:00:00Z"
},
"type": "Microsoft.Consumption/budgets"
}
Expected behavior
The filter information should be display, like the information we can get from the REST API like below:
Environment Summary
azure-cli 2.64.0
core 2.64.0
telemetry 1.1.0
Extensions:
aks-preview 0.5.162
bastion 1.1.0
connectedk8s 1.2.0
k8s-extension 1.0.4
Dependencies:
msal 1.30.0
azure-mgmt-resource 23.1.1
Python location 'C:\Program Files\Microsoft SDKs\Azure\CLI2\python.exe'
Extensions directory 'C:\Users\leowa.azure\cliextensions'
Python (Windows) 3.11.8 (tags/v3.11.8:db85d51, Feb 6 2024, 22:03:32) [MSC v.1937 64 bit (AMD64)]
Legal docs and information: aka.ms/AzureCliLegal
Your CLI is up-to-date.
Additional context
No response