提供程序REST API无法按预期工作。这是一个错误还是我读错了? [英] Provider REST API not working as expected. Is it a bug or am I reading it incorrectly?

查看:62
本文介绍了提供程序REST API无法按预期工作。这是一个错误还是我读错了?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

提供者API(https://docs.microsoft.com/en-us/rest/api/resources/providers/list#code-try-0)声称"获取订阅的所有资源
提供商
" ;。我在Azure门户中作为选项提供的资源类型之一是"Power BI Embedded",它似乎没有以任何形式或形式出现在JSON响应中。还有一些其他资源没有出现
(我还没有列出并检查两次),但我认为检查我是否不理解这个API的功能会更好一点。第一。我的印象是,这将返回所有潜在的资源类型?谢谢!

The provider API (https://docs.microsoft.com/en-us/rest/api/resources/providers/list#code-try-0) claims to "Gets all resource providers for a subscription". One of the Resource Types I have as an option in the Azure Portal is "Power BI Embedded", which does not seem to appear in JSON response in any shape or form. There are also a few other resources which do not appear (I am yet to make a list and check it twice), but I thought it would be a better idea to check if I am not understanding the functionality of this API first. I was under the impression that this would return all potential resource types? Thanks!

推荐答案

您好vtechno1729 我为此创建了repro,并使用REST API"获取订阅的所有资源提供者"

Hi vtechno1729  I have created the repro for this and use the REST API to 'Gets all resource providers for a subscription'

REST API
https://management.azure.com/subscriptions/{subscriptionId}/providers?api -version = 2018-05-01

使用PowerBI资源提供程序输出JSON响应 

Output JSON response with PowerBI resource provider 

}

您还可以从门户网站交叉检查为您的订阅注册的所有资源提供者。

You can also cross check all the resource provider registered for your subscription from portal also.

1) 从订阅列表中选择要查看的订阅。

1) Select the subscription from the subscription list to view.

2) 选择资源提供商并查看可用资源提供商列表。

2) Select Resource providers and view the list of available resource providers.


这篇关于提供程序REST API无法按预期工作。这是一个错误还是我读错了?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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