"azure" 명령어로 관리하기

  • azureking
    (아주라)
  • azureking's Avatar 이 글의 작성자
  • Offline
  • Newbie
  • Newbie
더보기
04 Apr 2017 10:50 #2010 작성자: azureking
azureking 님의 글: "azure" 명령어로 관리하기
1. "azure" 버전 확인
PS C:\azureking> azure --version
Microsoft Azure CLI would like to collect data about how users use CLI
commands and some problems they encounter.  Microsoft uses this information
to improve our CLI commands.  Participation is voluntary and when you
choose to participate your device automatically sends information to
Microsoft about how you use Azure CLI.

If you choose to participate, you can stop at any time later by using Azure
CLI as follows:
1.  Use the azure telemetry command to turn the feature Off.
To disable data collection, execute: azure telemetry --disable

If you choose to not participate, you can enable at any time later by using
Azure CLI as follows:
1.  Use the azure telemetry command to turn the feature On.
To enable data collection, execute: azure telemetry --enable

Select y to enable data collection :(y/n) y

You choose to participate in Microsoft Azure CLI data collection.


0.10.9 (node: 4.7.0)

2. 로그인
PS C:\azureking> azure login
info:    Executing command login
/info:    To sign in, use a web browser to open the page https://aka.ms/devicelogin and enter the code HNCDU624T to auth
enticate.
|info:    Added subscription Azure Pass
info:    Setting subscription "Azure Pass" as default
+
info:    login command OK

3. 계정 목록
PS C:\azureking> azure account list
info:    Executing command account list
data:    Name        Id                                    Current  State
data:    ----------  ------------------------------------  -------  -------
data:    Azure Pass  abcd1234-0687-484a-810c-xyzxyzxyzxyz  true     Enabled
info:    account list command OK
Time to create page: 0.051 seconds
Powered by Kunena Forum