REST API,用于获取Azure虚拟机规格,定价和服务使用情况。 [英] REST API to get the Azure Virtual machines specs, pricing and service usage.

查看:83
本文介绍了REST API,用于获取Azure虚拟机规格,定价和服务使用情况。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

我尝试过搜索,但我无法找到REST API,它会根据地区提供Azure虚拟机规格和定价的完整列表,层,工作量和计费选项。

I tried searching, but I am unable to locate REST APIs which will give me the entire list of Azure Virtual machines specs and pricing based on region, tier, workload and billing option.

另外,如何获取Azure Databricks支持的实例类型的DBU详细信息 - 每个实例类型的DBU和使用REST API的每个DBU的成本?

Also how can I get the DBU details as well for Azure Databricks supported instance types - DBU per instance type and cost per DBU using a REST API??

为了获得使用,我尝试使用以下REST API但收到错误。我有Pay-as-you-go订阅,我相信这个API不支持,或者我在这里遗漏了什么?

For getting usage, I tried using following REST API but getting errors. I have Pay-as-you-go subscription which I believe is not supported by this API or am I missing anything here ?

https://docs.microsoft.com/en-us / rest / api / consumption / usagedetails / list#usagedetailsexpand

https://docs.microsoft.com/en-us/rest/api/consumption/usagedetails/list#usagedetailsexpand

您能否建议其他Azure REST API,它们可用于获取这些详细信息所有可用的订阅类型?

Could you please also suggest what are the other Azure REST APIs, which can be used to get these details for all available subscription types?

感谢任何解决此问题的建议/指示。

Appreciate any suggestions/pointers to solve this.

谢谢,

Arti

推荐答案

ArtiShinde,

Hi ArtiShinde,

我不相信有一个REST API可以返回每个区域的所有虚拟机SKU,价格,工作负载和计费选项。但是,您可以通过调用适用的
虚拟机的REST API

I don't believe there's a single REST API that returns All Virtual Machine SKUs, price, workload, billing options per region. However, you may be able to derive the required data set by calling applicable REST API for virtual machines.

对于DBU详细信息,以下是 
引用的API  用于Azure DataBricks。有关Databricks的更深入帮助,请发布您的问题

here
,我们的主题专家将能够提供帮助。

For DBU details, here are the  referenced APIs  for Azure DataBricks. For deeper assistance on Databricks, please post your questioins here and one of our subject matter experts will be able to assist.

Re:REST API的错误,你是正确的消费APIS不支持PAY-AS-GO订阅。目前仅支持企业注册和Web直接订阅。详情

这里
- 剪下来。

Re: the error with the REST API, you are correct that consumption APIS do not support PAY-AS-GO Subscription. For now only Enterprise Enrollments and Web Direct Subscriptions are supported. Details here - snipped below.


这篇关于REST API,用于获取Azure虚拟机规格,定价和服务使用情况。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆