在ADF管道中未找到Azure批处理链接服务

在ADF管道中未找到Azure批处理链接服务,azure,azure-data-factory,arm-template,azure-batch,Azure,Azure Data Factory,Arm Template,Azure Batch,我正在尝试使用ARM模板部署ADF管道。以下是azure批处理链接服务的代码部分: { "type": "linkedservice", "name": "AzureBatchLS", "dependsOn": [ "[variables('dataFactoryName')]" ], "apiVersion": "2015-10-01", "properties": { "type": "A

我正在尝试使用ARM模板部署ADF管道。以下是azure批处理链接服务的代码部分:

{
      "type": "linkedservice",
      "name": "AzureBatchLS",
      "dependsOn": [
        "[variables('dataFactoryName')]"
      ],
      "apiVersion": "2015-10-01",
      "properties": {
        "type": "AzureBatch",
        "typeProperties": {
          "accountName": "<acct name>.eastus2",
          "accessKey": <access key>,
          "poolName": "<pool name>",
          "linkedServiceName": "Dev-LinkedService"
        }
      }
    }
{
“类型”:“linkedservice”,
“名称”:“AzureBatchLS”,
“dependsOn”:[
“[变量('dataFactoryName')]”
],
“apiVersion”:“2015-10-01”,
“财产”:{
“类型”:“AzureBatch”,
“类型属性”:{
“帐户名”:“.eastus2”,
“accessKey”:,
“池名”:“,
“LinkedService名称”:“开发LinkedService”
}
}
}
但是,每次在部署期间,我都会收到以下错误消息:

New-AzureRmResourceGroupDeployment : 9:22:08 PM - Resource Microsoft.DataFactory/datafactories/linkedservice '<adf name>/AzureBatch' failed with message '{
"error": {
    "code": "BadRequest",
    "message": "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\r\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\r\n<head>\r\n<meta http-equiv=\"Content-Type\" 
content=\"text/html; charset=iso-8859-1\"/>\r\n<title>404 - File or directory not found.</title>\r\n<style type=\"text/css\">\r\n<!--\r\nbody{margin:0;font-size:.7em;font-family:Verdana, Arial, Helvetica, 
sans-serif;background:#EEEEEE;}\r\nfieldset{padding:0 15px 10px 15px;} \r\nh1{font-size:2.4em;margin:0;color:#FFF;}\r\nh2{font-size:1.7em;margin:0;color:#CC0000;} \r\nh3{font-size:1.2em;margin:10px 0 0 0;color:#000000;} 
\r\n#header{width:96%;margin:0 0 0 0;padding:6px 2% 6px 2%;font-family:\"trebuchet MS\", Verdana, sans-serif;color:#FFF;\r\nbackground-color:#555555;}\r\n#content{margin:0 0 0 
2%;position:relative;}\r\n.content-container{background:#FFF;width:96%;margin-top:8px;padding:10px;position:relative;}\r\n-->\r\n</style>\r\n</head>\r\n<body>\r\n<div id=\"header\"><h1>Server Error</h1></div>\r\n<div 
id=\"content\">\r\n <div class=\"content-container\"><fieldset>\r\n  <h2>404 - File or directory not found.</h2>\r\n  <h3>The resource you are looking for might have been removed, had its name changed, or is temporarily 
unavailable.</h3>\r\n </fieldset></div>\r\n</div>\r\n</body>\r\n</html>\r\n"
  }
}'
At C:\Users\tsolanki\Desktop\OBFoundationCloudPoC\Solution\HCLS-OBF-ARM-Templates\DataTransfer_v0.1\Deploy-AzureResourceGroup.ps1:110 char:5
+     New-AzureRmResourceGroupDeployment -Name ((Get-ChildItem $TemplateFile).Base ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [New-AzureRmResourceGroupDeployment], Exception
    + FullyQualifiedErrorId : Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation.NewAzureResourceGroupDeploymentCmdlet
新建AzureRmResourceGroupDeployment:9:22:08 PM-资源Microsoft.DataFactory/DataFactorys/linkedservice'/AzureBatch'失败,并显示消息'{
“错误”:{
“代码”:“BADDREQUEST”,
“消息”:“\r\n\r\n\r\n\r\n404-找不到文件或目录。\r\n\r\n\r\n\r\n\r\n服务器错误\r\n\r\n\r\n 404-找不到文件或目录。\r\n您正在查找的资源可能已被删除、名称已更改或暂时丢失
不可用。\r\n\r\n\r\n\r\n\r\n“
}
}'
在C:\Users\tsolanki\Desktop\OBFoundationCloudPoC\Solution\HCLS OBF ARM Templates\DataTransfer\u v0.1\Deploy AzureResourceGroup.ps1:110 char:5
+New AzureRmResourceGroupDeployment-Name((Get ChildItem$TemplateFile).Base。。。
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+CategoryInfo:NotSpecified:(:)[New AzureRmResourceGroupDeployment],异常
+FullyQualifiedErrorId:Microsoft.Azure.Commands.ResourceManager.cmdlet.Implementation.NewAzureResourceGroupDeploymentCmdlet

我已多次检查,以确保命名正确,资源处于联机状态,并且在该订阅中。以前有人看到过此错误吗?我似乎在web上找不到任何解决方案。

尝试将
类型
设置为
“linkedservices”
尝试将
类型
设置为
“linkedservices”

哇,我觉得自己很笨。不管怎样,谢谢!我可以想象自己因为一个打字错误而被困在这上面几个小时。他们真的应该在我看来显示更好的错误信息。哇,我觉得自己很笨。不管怎样,谢谢!我可以想象自己因为一个打字错误而被困在这上面几个小时。他们真的应该在我看来显示更好的错误信息。