az cloud

등록된 Azure 클라우드를 관리합니다.

명령

az cloud list

등록된 클라우드를 나열합니다.

az cloud list-profiles

클라우드에 대해 지원되는 프로필을 나열합니다.

az cloud register

클라우드를 등록합니다.

az cloud set

활성 클라우드를 설정합니다.

az cloud show

등록된 클라우드의 세부 정보를 얻습니다.

az cloud unregister

클라우드 등록을 취소합니다.

az cloud update

클라우드의 구성을 업데이트합니다.

az cloud list

등록된 클라우드를 나열합니다.

az cloud list [--query-examples]

선택적 매개 변수

--query-examples

JMESPath 문자열을 권장합니다. 쿼리 중 하나를 복사하여 큰따옴표 안에 --query 매개 변수를 붙여넣어 결과를 볼 수 있습니다. 이러한 키워드를 기반으로 제안을 제공할 수 있도록 하나 이상의 위치 키워드를 추가할 수 있습니다.

az cloud list-profiles

클라우드에 대해 지원되는 프로필을 나열합니다.

az cloud list-profiles [--name]
                       [--show-all]

선택적 매개 변수

--name -n

등록된 클라우드의 이름입니다.

기본값: AzureCloud
--show-all

CLI에서 지원되는 사용 가능한 모든 프로필을 표시합니다.

az cloud register

클라우드를 등록합니다.

클라우드를 등록할 때 다른 엔드포인트의 자동 검색에 대한 리소스 관리자 엔드포인트만 지정합니다.

az cloud register --name
                  [--cloud-config]
                  [--endpoint-active-directory]
                  [--endpoint-active-directory-data-lake-resource-id]
                  [--endpoint-active-directory-graph-resource-id]
                  [--endpoint-active-directory-resource-id]
                  [--endpoint-gallery]
                  [--endpoint-management]
                  [--endpoint-resource-manager]
                  [--endpoint-sql-management]
                  [--endpoint-vm-image-alias-doc]
                  [--profile {2017-03-09-profile, 2018-03-01-hybrid, 2019-03-01-hybrid, 2020-09-01-hybrid, latest}]
                  [--suffix-acr-login-server-endpoint]
                  [--suffix-azure-datalake-analytics-catalog-and-job-endpoint]
                  [--suffix-azure-datalake-store-file-system-endpoint]
                  [--suffix-keyvault-dns]
                  [--suffix-sql-server-hostname]
                  [--suffix-storage-endpoint]

예제

구성 파일을 통해 클라우드 등록

az cloud register -n MyCloud --cloud-config @"cloud.json"
("cloud.json" supports all the endpoint and suffix options in camel case or the JSON output format from az cloud show. See the example content below.)
{
  "endpointActiveDirectory": "https://login.microsoftonline.us",
  "suffixAcrLoginServerEndpoint": ".azurecr.us"
}
or
{
  "endpoints":{
    "activeDirectory": "https://login.microsoftonline.us"
  },
  "suffixes":{
    "acrLoginServerEndpoint": ".azurecr.us"
  }
}

필수 매개 변수

--name -n

등록된 클라우드의 이름입니다.

선택적 매개 변수

--cloud-config

JSON 인코딩된 클라우드 구성. @{file}을 사용하여 파일에서 로드합니다.

--endpoint-active-directory

Active Directory 로그인 엔드포인트입니다.

--endpoint-active-directory-data-lake-resource-id

Data Lake 서비스의 Active Directory 리소스 ID입니다.

--endpoint-active-directory-graph-resource-id

Active Directory 리소스 ID입니다.

--endpoint-active-directory-resource-id

AD 토큰을 가져올 리소스 ID입니다.

--endpoint-gallery

템플릿 갤러리 엔드포인트입니다.

--endpoint-management

관리 서비스 엔드포인트입니다.

--endpoint-resource-manager

리소스 관리 엔드포인트입니다.

--endpoint-sql-management

sql server 관리 엔드포인트입니다.

--endpoint-vm-image-alias-doc

일반적으로 사용되는 가상 머신 이미지를 캐시하는 문서의 URI입니다.

--profile

이 클라우드에 사용할 프로필입니다.

허용되는 값: 2017-03-09-profile, 2018-03-01-hybrid, 2019-03-01-hybrid, 2020-09-01-hybrid, latest
--suffix-acr-login-server-endpoint

Azure Container Registry 로그인 서버 접미사입니다.

--suffix-azure-datalake-analytics-catalog-and-job-endpoint

Data Lake 분석 작업 및 카탈로그 서비스 dns 접미사입니다.

--suffix-azure-datalake-store-file-system-endpoint

Data Lake 저장소 파일 시스템 서비스 dns 접미사입니다.

--suffix-keyvault-dns

Key Vault 서비스 dns 접미사입니다.

--suffix-sql-server-hostname

sql server에 대한 dns 접미사입니다.

--suffix-storage-endpoint

스토리지 계정의 엔드포인트 접미사입니다.

az cloud set

활성 클라우드를 설정합니다.

az cloud set --name
             [--profile {2017-03-09-profile, 2018-03-01-hybrid, 2019-03-01-hybrid, 2020-09-01-hybrid, latest}]

예제

활성 클라우드를 설정합니다. (자동 생성)

az cloud set --name MyRegisteredCloud

필수 매개 변수

--name -n

등록된 클라우드의 이름입니다.

선택적 매개 변수

--profile

이 클라우드에 사용할 프로필입니다.

허용되는 값: 2017-03-09-profile, 2018-03-01-hybrid, 2019-03-01-hybrid, 2020-09-01-hybrid, latest

az cloud show

등록된 클라우드의 세부 정보를 얻습니다.

az cloud show [--name]
              [--query-examples]

선택적 매개 변수

--name -n

등록된 클라우드의 이름입니다.

기본값: AzureCloud
--query-examples

JMESPath 문자열을 권장합니다. 쿼리 중 하나를 복사하여 큰따옴표 안에 --query 매개 변수를 붙여넣어 결과를 볼 수 있습니다. 이러한 키워드를 기반으로 제안을 제공할 수 있도록 하나 이상의 위치 키워드를 추가할 수 있습니다.

az cloud unregister

클라우드 등록을 취소합니다.

az cloud unregister --name

예제

클라우드 등록을 취소합니다. (자동 생성)

az cloud unregister --name MyRegisteredCloud

필수 매개 변수

--name -n

등록된 클라우드의 이름입니다.

az cloud update

클라우드의 구성을 업데이트합니다.

az cloud update [--cloud-config]
                [--endpoint-active-directory]
                [--endpoint-active-directory-data-lake-resource-id]
                [--endpoint-active-directory-graph-resource-id]
                [--endpoint-active-directory-resource-id]
                [--endpoint-gallery]
                [--endpoint-management]
                [--endpoint-resource-manager]
                [--endpoint-sql-management]
                [--endpoint-vm-image-alias-doc]
                [--name]
                [--profile {2017-03-09-profile, 2018-03-01-hybrid, 2019-03-01-hybrid, 2020-09-01-hybrid, latest}]
                [--suffix-acr-login-server-endpoint]
                [--suffix-azure-datalake-analytics-catalog-and-job-endpoint]
                [--suffix-azure-datalake-store-file-system-endpoint]
                [--suffix-keyvault-dns]
                [--suffix-sql-server-hostname]
                [--suffix-storage-endpoint]

예제

클라우드의 구성을 업데이트합니다. (자동 생성)

az cloud update --profile latest

선택적 매개 변수

--cloud-config

JSON 인코딩된 클라우드 구성. @{file}을 사용하여 파일에서 로드합니다.

--endpoint-active-directory

Active Directory 로그인 엔드포인트입니다.

--endpoint-active-directory-data-lake-resource-id

Data Lake 서비스의 Active Directory 리소스 ID입니다.

--endpoint-active-directory-graph-resource-id

Active Directory 리소스 ID입니다.

--endpoint-active-directory-resource-id

AD 토큰을 가져올 리소스 ID입니다.

--endpoint-gallery

템플릿 갤러리 엔드포인트입니다.

--endpoint-management

관리 서비스 엔드포인트입니다.

--endpoint-resource-manager

리소스 관리 엔드포인트입니다.

--endpoint-sql-management

sql server 관리 엔드포인트입니다.

--endpoint-vm-image-alias-doc

일반적으로 사용되는 가상 머신 이미지를 캐시하는 문서의 URI입니다.

--name -n

등록된 클라우드의 이름입니다.

기본값: AzureCloud
--profile

이 클라우드에 사용할 프로필입니다.

허용되는 값: 2017-03-09-profile, 2018-03-01-hybrid, 2019-03-01-hybrid, 2020-09-01-hybrid, latest
--suffix-acr-login-server-endpoint

Azure Container Registry 로그인 서버 접미사입니다.

--suffix-azure-datalake-analytics-catalog-and-job-endpoint

Data Lake 분석 작업 및 카탈로그 서비스 dns 접미사입니다.

--suffix-azure-datalake-store-file-system-endpoint

Data Lake 저장소 파일 시스템 서비스 dns 접미사입니다.

--suffix-keyvault-dns

Key Vault 서비스 dns 접미사입니다.

--suffix-sql-server-hostname

sql server에 대한 dns 접미사입니다.

--suffix-storage-endpoint

스토리지 계정의 엔드포인트 접미사입니다.