如何使用Azure视频索引来检索边缘模块的配置令牌?
最近,Azure视频分析仪变成了Azure视频索引器。我正在尝试使用IoT轮毂中的边缘模块将相机连接到视频索引器。为视频分析仪设计的模板的一部分需要“ ava_provisioning_token”。我可以在使用Azure Video Analyzer时找到API调用以检索此功能:
POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/videoAnalyzers/{accountName}/edgeModules/{edgeModuleName}/listProvisioningToken?api-version=2021-11-01-preview
但是由于此服务不在继续,因此我没有收到任何数据。我尝试将其更改为提供商/Microsoft.videoindexer,但API不支持。
唯一接近的另一件事就是这个呼吁:
GET https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.VideoIndexer/accounts?api-version=2022-04-13-preview
但这仅检索提供的供应状态,而不是实际的令牌。
如果有人知道使用API或Azure门户的解决方法,我将非常感谢。
来源:
Recently Azure Video Analyzer became Azure Video Indexer. I'm trying to connect a camera to the Video Indexer using a Edge Modul in the IoT Hub. Part of the template which was designed for the Video Analyzer needs a "AVA_PROVISIONING_TOKEN". I can find the api call to retrieve this when using Azure Video Analyzer:
POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/videoAnalyzers/{accountName}/edgeModules/{edgeModuleName}/listProvisioningToken?api-version=2021-11-01-preview
But since this service is not continued I'm not receiving any data. I tried changing it to providers/Microsoft.VideoIndexer but this is not supported by the api.
The only other thing that comes close is this call:
GET https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.VideoIndexer/accounts?api-version=2022-04-13-preview
But this only retrieves the provisioning state not the actual Token.
If anybody knows a workaround either with the api or the azure portal I would be very thankful.
Sources:
https://learn.microsoft.com/en-us/rest/api/videoindexer/accounts/list
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
实际上,正是“媒体的Azure视频分析仪”成为Azure视频索引器。这是仅限云的PAAS产品。
您提到尝试使用IoT轮毂中的边缘模块连接相机。该边缘模块是“ Azure视频分析仪”的一部分,其退休是在4月宣布的。该模块不应再使用。
Actually, it was "Azure Video Analyzer for Media" that became Azure Video Indexer. This is a cloud-only PaaS product.
You mention trying to connect a camera using an Edge Module in the IoT Hub. This edge module was part of "Azure Video Analyzer", the retirement of which was announced in April. This module should no longer be used.