An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
Hi,
I am assuming you are creating budget that is not scoped to subscription but some other entity like billing profile and in that case budgets are logged at tenant/directory activity logs.
It is not possible to query those via az monitor activity-log command as it does it only on subscription scope. You need to use the rest command.
START_TIME=$(date -u -d '1 hour ago' +%Y-%m-%dT%H:%M:%SZ)
az rest --method get \
--uri "https://management.azure.com/providers/Microsoft.Insights/eventtypes/management/values?api-version=2015-04-01&\$filter=eventTimestamp ge '$START_TIME'" \
--query 'value[].{Time:eventTimestamp, Resource:resourceId, Operation:operationName.localizedValue, Status:status.localizedValue}' \
--output table
Please "Accept the answer" if the information helped you. This will help us and others in the community as well.