Changes between Version 4 and Version 5 of jazz/16-04-07


Ignore:
Timestamp:
Apr 7, 2016, 6:29:32 PM (8 years ago)
Author:
jazz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • jazz/16-04-07

    v4 v5  
    1414docker run -it microsoft/azure-cli
    1515}}}
    16 * 安裝好 Azure CLI 之後,您就能從命令列使用者介面 (Bash、終端機及命令提示字元等) 中執行 azure 命令。例如,若要執行 [說明] 命令,請輸入下列命令:
     16 * 安裝好 Azure CLI 之後,您就能從命令列使用者介面 (Bash、終端機及命令提示字元等) 中執行 azure 命令。例如,若要執行 [說明] 命令,請輸入下列命令:
    1717{{{
    1818azure help
    1919}}}
    20 * 若要查看您所安裝的 Azure CLI 版本,請輸入下列命令:
     20 * 若要查看您所安裝的 Azure CLI 版本,請輸入下列命令:
    2121{{{
    2222azure --version
    2323}}}
    24 * 參考 https://azure.microsoft.com/zh-tw/documentation/articles/xplat-cli-connect/ 完成帳號綁定
     24 * 參考 https://azure.microsoft.com/zh-tw/documentation/articles/xplat-cli-connect/ 完成帳號綁定
     25 * 因為使用的是 0.9.10 以後的版本,所以直接使用 `azure login`
    2526{{{
    2627root@azure:~# azure --version
     
    3435info:    login command OK
    3536}}}
     37 * 檢查 account 狀態
     38{{{
     39root@azure:~# azure account list
     40info:    Executing command account list
     41data:    Name        Id                                    Current  State 
     42data:    ----------  ------------------------------------  -------  -------
     43data:    Free Trial  ####################################  true     Enabled
     44info:    account list command OK
     45}}}