【问题标题】:Azure CLI returns error on Storage accessAzure CLI 返回存储访问错误
【发布时间】:2019-03-12 02:13:42
【问题描述】:

我在尝试使用 Azure CLI az 列出存储的 Linux 机器上

az storage blob list --container-name <name> --account-name <name> --account-key <key>

执行时返回错误

azure.common.AzureHttpError: One of the request inputs is out of range. ErrorCode: OutOfRangeInput
<?xml version="1.0" encoding="utf-8"?><Error><Code>OutOfRangeInput</Code><Message>One of the request inputs is out of range.
RequestId:bf2b4b1d-401e-0055-1678-d80520000000
Time:2019-03-12T02:08:42.4135303Z</Message></Error>

我找不到任何解释错误的文档?

【问题讨论】:

  • @jww 是Azure CLI的问题,不是网络的问题,也是类似powershell的编程问题,stackoverflow这样的问题很多,能不能先仔细看看问题你投反对票并投票关闭它??
  • 一般来说,Azure CLI 在 Stack Overflow 上是题外话。这个特定的问题也不例外。 Help Center 详细说明了什么是主题和非主题。
  • @jww 我从来没有听说过这个。我认为它符合Help Centera specific programming problemsoftware tools commonly used by programmers的要求。
  • 帮助中心的这部分内容自 2012 年左右以来没有发生重大变化。您错过了另一部分:“并且是......软件开发独有的实用、可回答的问题”。否则,厨房和咖啡机将成为 Stack Overflow 的热门话题。 (或者在这种情况下,管理服务器)。

标签: azure-storage azure-cli


【解决方案1】:

我可以重现您的问题,请确保您的 --account-name 是小写的,例如应该是--account-name 'teststorage',而不是--account-name 'Teststorage'

【讨论】:

    猜你喜欢
    • 2016-12-10
    • 1970-01-01
    • 2020-05-09
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多