Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does the SDK support Billing API? #600

Closed
rockypandalu opened this issue May 24, 2016 · 4 comments
Closed

Does the SDK support Billing API? #600

rockypandalu opened this issue May 24, 2016 · 4 comments

Comments

@rockypandalu
Copy link

Hi, I want to get the resource usage data form my Azure VM, and I think I need to use the Billing API (Resource Usage API) to do this. I am wondering whether there is any class that support the Billing API in the python SDK?
Appreciate for the help!

@lmazuel
Copy link
Member

lmazuel commented May 25, 2016

Hi,

I will publish a preview package called azure-mgmt-commerce this week. I keep this issue open till them, and do not hesitate to provide feedback if you have issues on it!

Thank you!

@rockypandalu
Copy link
Author

Thanks a lot, looking forward to your new package!

@lmazuel
Copy link
Member

lmazuel commented May 25, 2016

Package just released:
https://pypi.python.org/pypi/azure-mgmt-commerce/0.30.0rc4

As part of the azure 2.0.0rc4 distribution:
https://pypi.python.org/pypi/azure/2.0.0rc4

Sample:
http://azure-sdk-for-python.readthedocs.io/en/latest/resourcemanagementcommerce.html

This is a preview package. Please fill an issue if you encounter difficulties.

Thank you!

@lmazuel lmazuel closed this as completed May 25, 2016
@rockypandalu
Copy link
Author

Dear Mr. Imazuel,
Thank you so much for the package. I can now download some object using your package. But I am wondering how can I load the data inside the object. For example, the usage data I can retrieve using your package is like
<azure.mgmt.commerce.models.usage_aggregation_paged.UsageAggregationPaged object at 0x7f593994cd90>
But I do not know how can I get the understandable data from this object. Could you please give me some instruction?
Thank you so much!
Yan

@github-actions github-actions bot locked and limited conversation to collaborators Apr 13, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants