wiki:jazz/16-04-07

Version 4 (modified by jazz, 8 years ago) (diff)

--

2016-04-07

Azure

使用 azure-cli Docker 容器

  • 安裝好 Azure CLI 之後,您就能從命令列使用者介面 (Bash、終端機及命令提示字元等) 中執行 azure 命令。例如,若要執行 [說明] 命令,請輸入下列命令:
    azure help
    
  • 若要查看您所安裝的 Azure CLI 版本,請輸入下列命令:
    azure --version
    
  • 參考 https://azure.microsoft.com/zh-tw/documentation/articles/xplat-cli-connect/ 完成帳號綁定
    root@azure:~# azure --version
    0.9.19 (node: 4.2.4)
    root@azure:~# azure login
    info:    Executing command login
    -info:    To sign in, use a web browser to open the page https://aka.ms/devicelogin. Enter the code G*K*N*D*L to authenticate.
    /info:    Added subscription Free Trial
    info:    Setting subscription "Free Trial" as default
    +
    info:    login command OK