Join Slack
Powered by
Hi - is there any documentation regarding the API ...
# help
q
quaint-analyst-14410
12/11/2024, 2:34 PM
Hi - is there any documentation regarding the API requests to get the pricing of some services (especially Virtual Machine) on AWS, Azure and GCP?
b
busy-agent-35515
12/11/2024, 2:50 PM
Hello, here you can see the examples:
https://www.infracost.io/docs/supported_resources/cloud_pricing_api/
q
quaint-analyst-14410
12/11/2024, 2:53 PM
Hello Vadim - with that page I managed to build an API request for AWS and I was now trying to do the same for Azure, but I'm having some problems. Is there any other source specific for Azure? Thanks in advance.
b
busy-agent-35515
12/11/2024, 2:56 PM
Unfortunately no, but you can look at CLI's cost components to get an idea which values you can pass:
https://github.com/infracost/infracost/blob/master/internal/resources/azure/linux_virtual_machine.go#L94-L102
5
Views
Open in Slack
Previous
Next