我在Azure数据工厂上使用具有非默认 endpoints 的经典Web服务来更新资源活动 . 这是我得到的错误:
我没有弄清楚自己 . This网站显示了我通过填写mlEndpoint,apiKey和updateRessourceEndpoint的值来使用的示例:
{
"name": "updatableScoringEndpoint2",
"properties": {
"type": "AzureML",
"typeProperties": {
"mlEndpoint": "https://ussouthcentral.services.azureml.net/workspaces/xxx/services/--scoring experiment--/jobs",
"apiKey": "endpoint2Key",
"updateResourceEndpoint": "https://management.azureml.net/workspaces/xxx/webservices/--scoring experiment--/endpoints/endpoint2"
}
}
}
没有提到需要传递的令牌......
1 回答
此错误基本上是说您提供的apiKey无效以执行更新资源操作 . 以下是一些帖子供您参考:https://social.msdn.microsoft.com/Forums/azure/en-US/3bb77e37-8860-43c6-bcaa-d6ebd70617b8/retrain-predictive-web-service-programmatically-when-do-not-have-access-to-managementazuremlnet?forum=MachineLearning
另请注意,如果您在ADF中修改了链接服务,请记住重新部署管道以反映您的更改 .