Azure / Azure/azure-cli-extensions

az costmanagement query does not provide a way to overwrite property Granularity

Open
#1,935 9 comments 2 reactions 1 assignee Claimed by @haroldrandom View on GitHub
Cost Management feature-request Service Attention
Dominant language
Python
Stars
454
Forks
1.7k
Avg merge
2d 19h
Merged PRs (30d)
64

Description

- If the issue is to do with Azure CLI 2.0 in-particular, create an issue here at [Azure/azure-cli](https://github.com/Azure/azure-cli/issues)

### Extension name (the extension in question)
costmanagement

### Description of issue (in as much detail as possible)
az costmanagement query does not provide a way to overwrite property Granularity. It is set to 'Daily' by default and the extension should allow the option to change this.

The request body for all query based calls to the cost management APIs resemble like the following:

{"type": "Usage", "timeframe": "MonthToDate", "dataSet": {"granularity": "Daily", "configuration": {}}}
-----

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.