Comments (8)
Not sure - I don't really use the library or the azure API. Perhaps @djberg96 knows?
from azure-armrest.
I'm afraid I don't know, sorry.
from azure-armrest.
@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.
sh-4.4# gem install azure_mgmt_consumption
Building native extensions. This could take a while...
ERROR: Error installing azure_mgmt_consumption:
ERROR: Failed to build gem native extension.
current directory: /usr/local/share/gems/gems/unf_ext-0.0.8.2/ext/unf_ext
/usr/bin/ruby -I /usr/share/rubygems -r ./siteconf20220823-31870-17iu7iu.rb extconf.rb
mkmf.rb can't find header files for ruby at /usr/share/include/ruby.h
You might have to install separate package for the ruby development
environment, ruby-dev or ruby-devel for example.
extconf failed, exit code 1
Gem files will remain installed in /usr/local/share/gems/gems/unf_ext-0.0.8.2 for inspection.
Results logged to /usr/local/lib64/gems/ruby/unf_ext-0.0.8.2/gem_make.out
from azure-armrest.
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).
from azure-armrest.
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.
from azure-armrest.
I think that's the one that @kTipSSIoYv is suggesting (that article points to https://rubygems.org/gems/azure_mgmt_consumption)
from azure-armrest.
It is important to note that the azure_mgmt_*
gems are deprecated and are not being updated so if we want to use consumption data I think we should hit the rest api directly as @djberg96 mentioned rather than trying to use azure_mgmt_consumption
from azure-armrest.
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 master
, please reply with all of the information you have about it in order to keep the issue open.
Thank you for all your contributions! More information about the ManageIQ triage process can be found in the triage process documentation.
from azure-armrest.
Related Issues (20)
- Remove Nokogiri, use REXML HOT 2
- StorageAccountService#list_all_private_images results in Errno::ECONNREFUSED HOT 2
- Marketplace Image Support HOT 1
- Switch from rest-client to excon HOT 1
- VirtualMachineImageService#list_all is very slow HOT 1
- Add friendlier handling of 429 and 50x errors HOT 1
- Refactor request methods into a module HOT 1
- StorageAccount#all_blobs consumes lots of memory HOT 1
- Some current test failures on Windows HOT 5
- Test failures on Windows HOT 1
- next_marker_results is busted HOT 1
- VirtualMachineService#delete_associated_resources does not handle managed disks HOT 1
- StorageAccount#table_data with :all option is busted HOT 2
- RFE: AzureStack -- auto-discovery of Azure endpoint URLs HOT 6
- Update rest-client to 2.1.0 HOT 1
- Metrics collection needs to be updated HOT 1
- Azure-armrest fails to properly handle application/xml exceptions
- Parallel dependency 5y old HOT 7
- Dependency Dashboard
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from azure-armrest.