azure-sdk-for-python icon indicating copy to clipboard operation
azure-sdk-for-python copied to clipboard

Examples of code use for CostManagement Module

Open evollution opened this issue 6 years ago • 4 comments

Hi, can someone make some examples of CostManagement module in use ?

Is very hard to understand how to use it without any code examples.

I went here: https://docs.microsoft.com/en-us/python/api/overview/azure/?view=azure-python

But i could not find any example.

Thank you

evollution avatar Mar 23 '20 13:03 evollution

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @mspremp, @ramaganesan-rg.

ghost avatar Mar 23 '20 18:03 ghost

Please check this sample https://github.com/ms-premp/AzureConsumptionSamples/blob/master/Python_sdk/costmanagement_query_python_example.py

ms-premp avatar Jun 05 '20 19:06 ms-premp

Closing issue given Prem has shared the samples. please feel free to reopen the issue as needed.

ramaganesan-rg avatar Jun 10 '20 22:06 ramaganesan-rg

Please check this sample https://github.com/ms-premp/AzureConsumptionSamples/blob/master/Python_sdk/costmanagement_query_python_example.py

This is an example for using the REST API directly. However, this issue was a request for documentation for the azure.mgmt.costmanagement python sdk. @ms-premp @ramaganesan-rg

uriah avatar Jun 04 '21 22:06 uriah