azure - 授予 Datastore.register_azure_blob_container 的工作区访问权限 - 文档?
问题描述
grant_workspace_access
方法中的参数是否有任何文档Datastore.register_azure_blob_container
?我在SDK 文档中看到了它,但是当我尝试调用该服务时出现错误并且我不知道如何进行故障排除。
我得到的错误是:
ERROR - Registering datastore failed with a 400 error code and error message
'Cannot create resource using Workspace MSI access token. Please make sure Administrator/
User Access Administrator grants the Contributor RBAC role for the workspace.
解决方案
Yes, the documentation page contains documentation for that parameter.
Grants Workspace Managed Identities (MSI) access to the user storage account, defaults to False. This should be set if the Storage account is in VNET. If set to True, we will use your identity to grant access to the user storage account. It may take a while for the granted access to reflect.
Did you set the grant_workspace_access
parameter to True
when you register the datastore?
推荐阅读
- reactjs - React eslint报错:组件定义缺少显示名称
- javascript - 我如何将 terser 与 create-react-app 一起使用
- xpath - 如何xpath直接在html标签下“仅”定位文本(),而不是“其他html子标签”下包含的文本
- reactjs - react中的路由参数
- php - 用 PHP 计算列的总和
- python - 用 () Python 删除字符串
- extjs - ExtJS7:如何在开发或测试环境中测试`onAppUpdate`
- php - [Route: emps.show] [URI: emps/{emp}] 缺少必需的参数。(查看:D:\xampp\htdocs\crud1\resources\views\emps\index.blade.php)
- java - 无法掌握java中的构造函数和类(初始化对象)
- python - Raspberry Pi 上的代理与 Python