Azure / azure-rest-api-specs

The source for REST API specifications for Microsoft Azure.
MIT License
2.61k stars 5.02k forks source link

Azure Cost Management - Retail Prices API - Request add additional properties for Compute services #25245

Open jgurbani opened 1 year ago

jgurbani commented 1 year ago

Hi there. I'm glad that Microsoft provides a Retail API endpoint to query pricing information. For compute based services, its missing additional properties such as CPU, memory size and OS. Can those properties be added to the JSON output?

navba-MSFT commented 1 year ago

@jgurbani Thanks for reaching out to us and reporting this issue. We are looking into this issue and we will provide an update.

navba-MSFT commented 1 year ago

@jgurbani Regarding your question about additional properties such as CPU, memory size, and OS, the Azure Cost Management Retail API currently provides a set of standard properties for compute-based services, including the service name, meter ID, meter name, meter category, unit of measure, and pricing tier. However, the API does not currently provide additional properties such as CPU, memory size, and OS.

That being said, you can use the Azure Pricing Calculator to estimate the cost of Azure services based on your specific requirements, including CPU, memory size, and OS. The Azure Pricing Calculator provides a web-based interface to estimate the cost of Azure services based on various parameters, including service type, region, instance type, and usage. You can also download the pricing details in CSV format for further analysis.

Here's an example of how to use the Azure Pricing Calculator to estimate the cost of a virtual machine with specific CPU, memory size, and OS requirements:

image

I hope this information helps you.

jgurbani commented 1 year ago

Hi - @navba-MSFT, I understand I can the CPU, memory info via the Pricing Calculator website in the meanwhile. I'm requesting a feature request too add this to Retail API as well.

navba-MSFT commented 1 year ago

Adding service team to look into the feature-request ask.