Azure Recommendations解决方案模板中的使用情况事件 [英] Usage Event in Azure Recommendations Solutions Template
问题描述
在不建议使用的Recommendations API中,有一个API可上传使用情况事件.在新的建议解决方案模板"中,我找不到该API调用.新服务似乎只接受使用率CSV文件.有人可以确认吗?
In the deprecated Recommendations API, there is an API to upload Usage Event. In the new Recommendations Solutions Template, I could not find that API call. The new service seems to only accept usage CSV file. Could someone please confirm this?
推荐答案
如前所述,建议解决方案模板( http://aka.ms/recopcs ).
As you mention, there is no API to upload a single usage event in the recommendations solution template (http://aka.ms/recopcs).
解决方法是从blob存储打开文件(我们称其为UsageDelta.csv),向其中添加一行内容,然后将其写回到blob存储中.
The workaround would be to open a file from blob storage (let's call it usageDelta.csv), add a line of content to it, and then write it back to blob-storage.
请注意,如果您想高效地执行此操作,则可以创建一个附加Blob".这是一个博客,有人在做类似的事情:
Note that you could create an "Append Blob" if you would like to do this efficiently. Here is a blog with someone doing something similar:
https://blogs.technet.microsoft.com/thbrown/2015/08/26/azure-blob-now-has-append/
谢谢!
路易斯·卡布雷拉| PM-推荐API | 云AI平台
Luis Cabrera | PM - Recommendations API | Cloud AI Platform
这篇关于Azure Recommendations解决方案模板中的使用情况事件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!