【发布时间】:2018-01-23 22:54:05
【问题描述】:
当我使用 Azure CLI 通过注释部署我的 PHP 应用程序时
az webapp deployment source config-zip --resource-group gaoExtDBApp2Linux --name gaoExtDBApp2 --src clouddrive/sqltest.zip
报错
'str' 对象没有属性'cloud'
Traceback(最近一次通话最后一次):
文件“/opt/az/lib/python3.6/site-packages/knack/cli.py”,第 194 行, 在调用中
cmd_result = self.invocation.execute(args)....
文件 "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/client_factory.py", 第 83 行,在 _get_mgmt_service_client
resource = resource or cli_ctx.cloud.endpoints.active_directory_resource_idAttributeError: 'str' 对象没有属性 'cloud'
请帮帮我。
谢谢。
【问题讨论】:
标签: azure