【发布时间】:2020-07-02 07:47:37
【问题描述】:
我在公司代理后面使用 Windows 10,az --version 输出以下内容:
azure-cli 2.5.1
command-modules-nspkg 2.0.3
core 2.5.1
nspkg 3.0.4
telemetry 1.0.4
...
Unable to check if your CLI is up-to-date. Check your internet connection.
此外,az extension list-available 抛出:
Unable to get extension index.
Please ensure you have network connection. Error detail: HTTPSConnectionPool(host='aka.ms', port=443): Max retries exceeded with url: /azure-cli-extension-index-v1 (Caused by ProxyError('Cannot connect to proxy.', OSError('Tunnel connection failed: 403 Forbidden',)))
如何为企业代理配置 azure-cli?
【问题讨论】: