[CostManagement] Query endpoint filters don't support logical "NOT" despite documentation #21430
Labels
Cost Management - Query
All issues in cost management associated with tags, dimensions and forecasts.
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
Mgmt
This issue is related to a management-plane library.
needs-team-attention
Workflow: This issue needs attention from Azure service team or SDK team
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Service Attention
Workflow: This issue is responsible by Azure service team.
According to the documentation here it seems like logical "NOT" was intended to be supported but the requests still don't work.
Is your feature request related to a problem? Please describe.
We need to make CostManagement queries excluding certain dimensions, currently to do so we need to pull all dimensions and create an inverted filter that includes all possible dimension values except the excluded one. This is cumbersome in the context of a larger system that needs to pass around dimensions and filters regularly.
Describe the solution you'd like
Would like for the API to support logical "NOT" filter alongside AND and OR for dimensions and tags.
Describe alternatives you've considered
Currently using the workaround mentioned above, however this is becoming unsustainable.
Additional context
Server returns 500 and provides a request ID for follow-up. It's not clear that "NOT" being unsupported is the reason for the error but I believe it to be so.
The text was updated successfully, but these errors were encountered: