-
Notifications
You must be signed in to change notification settings - Fork 36
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
Get Subscription Usage cost (monthly) #423
Comments
Not sure - I don't really use the library or the azure API. Perhaps @djberg96 knows? |
I'm afraid I don't know, sorry. |
@Fryguy @agrare Ruby doc shows that we can use azure_mgmt_consumption. But I can't install that on the docker container. I get error. Is this already included or is there a way to install these? I'm not sure why I can't install these. I could install aws-sdk fine on the container without issues.
|
Looks like azure_mgmt_consumption is a C extensions, and we don't have the C headers in the docker image (we do that at build time). |
Weird that it's a C extension. Looks like y'all need to wrap their consumption REST API: https://docs.microsoft.com/en-us/rest/api/consumption/ Though that only works for enterprise accounts I think. |
I think that's the one that @kTipSSIoYv is suggesting (that article points to https://rubygems.org/gems/azure_mgmt_consumption) |
It is important to note that the |
This issue has been automatically marked as stale because it has not been updated for at least 3 months. If you can still reproduce this issue on the current release or on Thank you for all your contributions! More information about the ManageIQ triage process can be found in the triage process documentation. |
@Fryguy The
Azure::Armrest::Billing::UsageService
returns detail billing of each resources. Is there a way to get the total cost of all resources? I mean total cost of subscription for the defined period?The text was updated successfully, but these errors were encountered: