utils.usage¶
Utils for collecting and sending Azure usage data.
Functions
|
Update one Usage with the cost, etc. |
|
Compress a list of usage items into a single item by combining them. |
|
Yield a datetime day for each day between start_date and end_date (inclusive). |
|
Get Azure usage data for a subscription between start_time and end_time. |
|
Retrieve usage data from Azure and send it to the API. |
|
Retrieve usage data from Azure. |
|
Post each item of usage_data to a route. |
|
Convert a '04/17/1990' string to '1990-04-17'. |
|
Convert a Legacy or Modern UsageDetail to a Usage model. |