Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/security/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Azure functions Azure函数加载aztable_Azure Functions - Fatal编程技术网

Azure functions Azure函数加载aztable

Azure functions Azure函数加载aztable,azure-functions,Azure Functions,我试图使用required.psd文件加载/导入模块aztable,但无法工作。 我找到的唯一方法是将所有模块复制到函数目录并导入 这是唯一的办法吗?首选方法?介绍了推荐的方法。您可以将AzTable添加到requirements.psd1文件中,如下所示: @{ AzTable = '2.*' } 还请确保在host.json文件中启用了托管依赖项: { "managedDependency": { "enabled": true } } 我们无法在Azure函数中

我试图使用required.psd文件加载/导入模块aztable,但无法工作。 我找到的唯一方法是将所有模块复制到函数目录并导入


这是唯一的办法吗?首选方法?

介绍了推荐的方法。您可以将AzTable添加到
requirements.psd1
文件中,如下所示:

@{
    AzTable = '2.*'
}
还请确保在
host.json
文件中启用了托管依赖项:

{
  "managedDependency": {
    "enabled": true
  }
}

我们无法在Azure函数中安装
AzTable
模块。你可以用类似的方法来参考这个。