az hdinsight

HDInsight 리소스를 관리 합니다.

명령

az hdinsight application

HDInsight 애플리케이션을 관리합니다.

az hdinsight application create

HDInsight 클러스터용 애플리케이션을 만듭니다.

az hdinsight application delete

HDInsight 클러스터에서 지정된 애플리케이션을 삭제합니다.

az hdinsight application list

HDInsight 클러스터에 대한 모든 애플리케이션을 나열합니다.

az hdinsight application show

지정된 애플리케이션의 속성을 가져옵니다.

az hdinsight application wait

작업이 완료될 때까지 CLI를 대기 상태로 놓습니다.

az hdinsight autoscale

HDInsight 클러스터의 자동 크기 조정 구성을 관리 합니다.

az hdinsight autoscale condition

일정 기반 자동 크기 조정을 사용하도록 설정한 HDInsight 클러스터의 일정 조건을 관리합니다.

az hdinsight autoscale condition create

새 일정 조건을 추가합니다.

az hdinsight autoscale condition delete

일정 조건을 삭제합니다.

az hdinsight autoscale condition list

모든 일정 조건을 나열합니다.

az hdinsight autoscale condition update

일정 조건을 업데이트합니다.

az hdinsight autoscale condition wait

작업이 완료될 때까지 CLI를 대기 상태로 하십시오.

az hdinsight autoscale create

실행 중인 클러스터에 자동 크기 조정을 사용 하도록 설정 합니다.

az hdinsight autoscale delete

실행 중인 클러스터에 대해 자동 크기 조정을 사용 하지 않도록 설정 합니다.

az hdinsight autoscale list-timezones

일정 기반 자동 크기 조정을 사용 하는 경우 사용 가능한 표준 시간대 이름을 나열 합니다.

az hdinsight autoscale show

지정 된 클러스터의 자동 크기 조정 구성을 가져옵니다.

az hdinsight autoscale update

자동 크기 조정 구성을 업데이트 합니다.

az hdinsight autoscale wait

작업이 완료 될 때까지 CLI를 대기 상태로 전환 합니다.

az hdinsight azure-monitor

HDInsight 클러스터에서 Azure Monitor 로그 통합을 관리 합니다.

az hdinsight azure-monitor disable

HDInsight 클러스터에서 Azure Monitor 로그 통합을 사용 하지 않도록 설정 합니다.

az hdinsight azure-monitor enable

HDInsight 클러스터에서 Azure Monitor 로그 통합을 사용 하도록 설정 합니다.

az hdinsight azure-monitor show

HDInsight 클러스터에서 Azure Monitor 로그 통합의 상태를 가져옵니다.

az hdinsight create

새 클러스터를 만듭니다.

az hdinsight delete

지정된 HDInsight 클러스터를 삭제합니다.

az hdinsight host

HDInsight 클러스터의 가상 호스트를 관리합니다.

az hdinsight host list

지정된 HDInsight 클러스터의 호스트를 나열합니다.

az hdinsight host restart

지정된 HDInsight 클러스터의 특정 호스트를 다시 시작합니다.

az hdinsight list

리소스 그룹 또는 구독에 HDInsight 클러스터를 나열합니다.

az hdinsight list-usage

지정된 된 위치에 대 한 사용량을 나열 합니다.

az hdinsight monitor

HDInsight 클러스터에서 클래식 Azure Monitor 로그 통합을 관리 합니다.

az hdinsight monitor disable

HDInsight 클러스터에서 클래식 Azure Monitor 로그 통합을 사용 하지 않도록 설정 합니다.

az hdinsight monitor enable

HDInsight 클러스터에서 클래식 Azure Monitor 로그 통합을 사용 하도록 설정 합니다.

az hdinsight monitor show

HDInsight 클러스터에서 클래식 Azure Monitor 로그 통합의 상태를 가져옵니다.

az hdinsight resize

지정된 HDInsight 클러스터의 크기를 지정된 크기로 조정합니다.

az hdinsight rotate-disk-encryption-key

지정된 HDInsight 클러스터의 디스크 암호화 키를 회전합니다.

az hdinsight script-action

HDInsight 스크립트 작업을 관리합니다.

az hdinsight script-action delete

클러스터에서 지정된 지속형 스크립트 동작을 삭제합니다.

az hdinsight script-action execute

지정된 HDInsight 클러스터에서 스크립트 동작을 실행합니다.

az hdinsight script-action list

지정된 클러스터에 대한 지속형 스크립트 동작을 모두 나열합니다.

az hdinsight script-action list-execution-history

지정된 클러스터에 대한 스크립트 실행 기록을 모두 나열합니다.

az hdinsight script-action promote

지정된 임시 스크립트 실행을 지속형 스크립트로 승격합니다.

az hdinsight script-action show-execution-details

지정된 스크립트 실행 ID에 대한 스크립트 실행 세부 정보를 가져옵니다.

az hdinsight show

지정된 클러스터를 가져옵니다.

az hdinsight update

지정된 HDInsight 클러스터의 태그를 업데이트합니다.

az hdinsight wait

작업이 완료될 때까지 CLI를 대기 상태로 하십시오.

az hdinsight create

새 클러스터를 만듭니다.

az hdinsight create --name
                    --resource-group
                    --type
                    [--assign-identity]
                    [--autoscale-count]
                    [--autoscale-max-count]
                    [--autoscale-min-count]
                    [--autoscale-type {Load, Schedule}]
                    [--cluster-admin-account]
                    [--cluster-admin-password]
                    [--cluster-configurations]
                    [--cluster-tier {Premium, Standard}]
                    [--cluster-users-group-dns]
                    [--component-version]
                    [--compute-isolation {false, true}]
                    [--days {Friday, Monday, Saturday, Sunday, Thursday, Tuesday, Wednesday}]
                    [--domain]
                    [--edgenode-size]
                    [--enable-private-link {false, true}]
                    [--encryption-algorithm {RSA-OAEP, RSA-OAEP-256, RSA1_5}]
                    [--encryption-at-host {false, true}]
                    [--encryption-in-transit {false, true}]
                    [--encryption-key-name]
                    [--encryption-key-version]
                    [--encryption-vault-uri]
                    [--esp]
                    [--headnode-size]
                    [--host-sku]
                    [--http-password]
                    [--http-user]
                    [--idbroker]
                    [--kafka-client-group-id]
                    [--kafka-client-group-name]
                    [--kafka-management-node-count]
                    [--kafka-management-node-size]
                    [--ldaps-urls]
                    [--location]
                    [--minimal-tls-version {1.0, 1.1, 1.2}]
                    [--no-validation-timeout]
                    [--no-wait]
                    [--resource-provider-connection {Inbound, Outbound}]
                    [--ssh-password]
                    [--ssh-public-key]
                    [--ssh-user]
                    [--storage-account]
                    [--storage-account-key]
                    [--storage-account-managed-identity]
                    [--storage-container]
                    [--storage-filesystem]
                    [--subnet]
                    [--subscription]
                    [--tags]
                    [--time]
                    [--timezone]
                    [--version]
                    [--vnet-name]
                    [--workernode-count]
                    [--workernode-data-disk-size]
                    [--workernode-data-disk-storage-account-type {premium_lrs, standard_lrs}]
                    [--workernode-data-disks-per-node]
                    [--workernode-size]
                    [--zookeepernode-size]

예제

기존 저장소 계정을 사용 하 여 클러스터를 만듭니다.

az hdinsight create -t spark -g MyResourceGroup -n MyCluster \
-p "HttpPassword1234!" \
--storage-account MyStorageAccount

최소 tls 버전을 사용 하 여 클러스터를 만듭니다.

az hdinsight create -t spark -g MyResourceGroup -n MyCluster \
-p "HttpPassword1234!" \
--storage-account MyStorageAccount --minimal-tls-version 1.2

전송 중 암호화를 사용 하는 클러스터를 만듭니다.

az hdinsight create -t spark -g MyResourceGroup -n MyCluster \
-p "HttpPassword1234!" \
--storage-account MyStorageAccount --encryption-in-transit true

호스트에서 암호화를 사용 하 여 클러스터를 만듭니다.

az hdinsight create -t spark -g MyResourceGroup -n MyCluster \
-p "HttpPassword1234!" \
--storage-account MyStorageAccount --encryption-at-host true

Enterprise Security Package (ESP)를 사용 하 여 클러스터를 만듭니다.

az hdinsight create --esp -t spark -g MyResourceGroup -n MyCluster \
-p "HttpPassword1234!" \
--storage-account MyStorageAccount \
--subnet "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyRG/providers/Microsoft.Network/virtualNetworks/MyVnet/subnets/subnet1" \
--domain "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyRG/providers/Microsoft.AAD/domainServices/MyDomain.onmicrosoft.com" \
--assign-identity "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MyMsiRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/MyMSI" \
--cluster-admin-account MyAdminAccount@MyDomain.onmicrosoft.com \
--cluster-users-group-dns MyGroup

Enterprise Security Package (ESP)를 사용 하 여 클러스터를 만들고 HDInsight ID Broker를 사용 하도록 설정 합니다.

az hdinsight create --esp --idbroker -t spark -g MyResourceGroup -n MyCluster \
-p "HttpPassword1234!" \
--storage-account MyStorageAccount \
--subnet "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyRG/providers/Microsoft.Network/virtualNetworks/MyVnet/subnets/subnet1" \
--domain "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyRG/providers/Microsoft.AAD/domainServices/MyDomain.onmicrosoft.com" \
--assign-identity "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MyMsiRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/MyMSI" \
--cluster-admin-account MyAdminAccount@MyDomain.onmicrosoft.com \
--cluster-users-group-dns MyGroup

디스크 암호화를 사용 하 여 Kafka 클러스터를 만듭니다. https://docs.microsoft.com/azure/hdinsight/kafka/apache-kafka-byok을 참조하세요.

az hdinsight create -t kafka -g MyResourceGroup -n MyCluster \
-p "HttpPassword1234!" --workernode-data-disks-per-node 2 \
--storage-account MyStorageAccount \
--encryption-key-name kafkaClusterKey \
--encryption-key-version 00000000000000000000000000000000 \
--encryption-vault-uri https://MyKeyVault.vault.azure.net \
--assign-identity MyMSI

Kafka rest 프록시를 사용 하 여 kafka 클러스터를 만듭니다.

az hdinsight create -t kafka -g MyResourceGroup -n MyCluster \
-p "HttpPassword1234!" --workernode-data-disks-per-node 2 \
--storage-account MyStorageAccount \
--kafka-management-node-size "Standard_D4_v2" \
--kafka-client-group-id MySecurityGroupId \
--kafka-client-group-name MySecurityGroupName
--component-version kafka=2.1

Azure Data Lake Storage Gen2로 클러스터 만들기

az hdinsight create -t spark -g MyResourceGroup -n MyCluster \
-p "HttpPassword1234!" \
--storage-account MyStorageAccount \
--storage-account-managed-identity MyMSI

JSON 문자열의 구성을 사용 하 여 클러스터를 만듭니다.

az hdinsight create -t spark -g MyResourceGroup -n MyCluster \
-p "HttpPassword1234!" \
--storage-account MyStorageAccount \
--cluster-configuration {'gateway':{'restAuthCredential.username':'admin'}}

로컬 파일의 구성을 사용 하 여 클러스터를 만듭니다.

az hdinsight create -t spark -g MyResourceGroup -n MyCluster \
-p "HttpPassword1234!" \
--storage-account MyStorageAccount \
--cluster-configuration @config.json

부하 기반 자동 크기 조정에 대 한 클러스터를 만듭니다.

az hdinsight create -t spark --version 3.6 -g MyResourceGroup -n MyCluster \
-p "HttpPassword1234!" --storage-account MyStorageAccount \
--autoscale-type Load --autoscale-min-workernode-count 3 --autoscale-max-workernode-count 5

일정 기반 자동 크기 조정에 사용 되는 클러스터를 만듭니다.

az hdinsight create -t spark --version 3.6 -g MyResourceGroup -n MyCluster \
-p "HttpPassword1234!" --storage-account MyStorageAccount \
--autoscale-type Schedule --timezone "Pacific Standard Time" --days Monday \
--time 09:00 --autoscale-workernode-count 5

릴레이 아웃 바운드 및 개인 링크 기능을 사용 하 여 클러스터를 만듭니다.

az hdinsight create -t spark --version 3.6 -g MyResourceGroup -n MyCluster \
-p "HttpPassword1234!" --storage-account MyStorageAccount \
--subnet "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/fakevnet/subnets/default" \
--resource-provider-connection Outbound --enable-private-link

계산 격리 기능을 사용 하 여 클러스터를 만듭니다.

az hdinsight create -t spark --version 3.6 -g MyResourceGroup -n MyCluster \
-p "HttpPassword1234!" --storage-account MyStorageAccount \
--enable-compute-isolation --workernode-size "Standard_E8S_V3" --headnode-size "Standard_E8S_V3"

필수 매개 변수

--name -n

클러스터의 이름입니다.

--resource-group -g

리소스 그룹의 이름입니다. az configure --defaults group=<name>을 사용하여 기본 그룹을 구성할 수 있습니다.

--type -t

HDInsight 클러스터 유형(예: hadoop, interactivehive, hbase, kafka, storm, spark, rserver, mlservices). 참고 항목: https://docs.microsoft.com/azure/hdinsight/hdinsight-hadoop-provision-linux-clusters#cluster-types .

선택적 매개 변수

--assign-identity

사용자 할당 id의 이름 또는 ID입니다.

--autoscale-count --autoscale-workernode-count

예약 된 노드 수입니다.

--autoscale-max-count --autoscale-max-workernode-count

부하 기반 atuoscale의 최대 작업자 노드 수입니다.

--autoscale-min-count --autoscale-min-workernode-count

부하 기반 atuoscale의 최소 작업자 노드 수입니다.

--autoscale-type

자동 크기 조정 형식입니다.

허용되는 값: Load, Schedule
--cluster-admin-account

클러스터에 대 한 관리자 권한을 보유 하는 도메인 사용자 계정입니다. Enterprise Security Package를 사용 하 여 클러스터를 만들 때만 필요 합니다.

--cluster-admin-password

도메인 관리자 암호입니다. Enterprise Security Package를 사용 하 여 클러스터를 만들 때만 필요 합니다.

--cluster-configurations

다양 한 구성 요소의 추가 구성 구문이 나 JSON 문자열을 사용 하 여 파일에서 구성을 제공할 수 있습니다 @{path} . 참고 항목: https://docs.microsoft.com/azure/hdinsight/hdinsight-hadoop-customize-cluster-bootstrap .

--cluster-tier

클러스터의 계층입니다.

허용되는 값: Premium, Standard
--cluster-users-group-dns

클러스터 사용자 그룹의 고유 이름을 공백으로 구분한 목록입니다. Enterprise Security Package를 사용 하 여 클러스터를 만들 때만 필요 합니다.

--component-version

'Component = version' 형식의 공백으로 구분된 버전으로 이루어진 다양한 Hadoop 구성 요소의 버전입니다. 예: Spark = 2.0 Hadoop = 2.7.3 참고 항목: https://docs.microsoft.com/azure/hdinsight/hdinsight-component-versioning#hadoop-components-available-with-different-hdinsight-versions .

--compute-isolation --enable-compute-isolation

계산 격리 사용 여부를 나타냅니다.

허용되는 값: false, true
--days

공백으로 구분 된 일정 날짜 목록입니다.

허용되는 값: Friday, Monday, Saturday, Sunday, Thursday, Tuesday, Wednesday
--domain

사용자 Azure Active Directory 도메인 서비스의 이름 또는 리소스 ID입니다. Enterprise Security Package를 사용 하 여 클러스터를 만들 때만 필요 합니다.

--edgenode-size
--enable-private-link

개인 링크를 사용 하도록 설정할지 여부를 나타냅니다.

허용되는 값: false, true
--encryption-algorithm

암호화에 대 한 알고리즘 식별자입니다.

허용되는 값: RSA-OAEP, RSA-OAEP-256, RSA1_5
기본값: RSA-OAEP
--encryption-at-host

호스트에서 암호화를 사용 하도록 설정할지 여부를 나타냅니다.

허용되는 값: false, true
--encryption-in-transit

전송 중 암호화를 사용할지 여부를 나타냅니다.

허용되는 값: false, true
--encryption-key-name

디스크 암호화를 사용 하도록 설정 하는 데 사용 되는 키 이름입니다.

--encryption-key-version

디스크 암호화를 사용 하도록 설정 하는 데 사용 되는 키 버전입니다.

--encryption-vault-uri

고객 키가 있는 기본 키 자격 증명 모음 URI (예:)입니다. https://myvault.vault.azure.net.

--esp

Enterprise Security Package를 사용 하 여 클러스터를 만들도록 지정 합니다. 생략 하는 경우 Enterprise Security Package를 사용 하 여 클러스터를 만들 수 없습니다.

--headnode-size
--host-sku

계산 격리의 전용 호스트 sku입니다.

--http-password -p

클러스터에 대 한 HTTP 암호입니다. 지정 하지 않으면 메시지가 표시 됩니다.

--http-user -u

클러스터에 대 한 HTTP 사용자 이름입니다. 기본값: admin

--idbroker

HDInsight ID Broker를 사용 하 여 ESP 클러스터를 만들도록 지정 합니다. 생략 하는 경우 HDInsight ID Broker를 사용 하 여 ESP 클러스터를 만들 수 없습니다.

--kafka-client-group-id

Kafka Rest 프록시의 클라이언트 AAD 보안 그룹 id입니다.

--kafka-client-group-name

Kafka REST 프록시의 클라이언트 AAD 보안 그룹 이름입니다.

--kafka-management-node-count

클러스터의 kafka 관리 노드 수입니다.

기본값: 2
--kafka-management-node-size
--ldaps-urls

Active Directory와 통신 하기 위한 공백으로 구분 된 LDAPS 프로토콜 Url 목록입니다. Enterprise Security Package를 사용 하 여 클러스터를 만들 때만 필요 합니다.

--location -l

위치입니다. 값 출처: az account list-locations. az configure --defaults location=<location>을 사용하여 기본 위치를 구성할 수 있습니다.

--minimal-tls-version

지원 되는 최소 TLS 버전

허용되는 값: 1.0, 1.1, 1.2
--no-validation-timeout

인수 유효성 검사 단계 중에 시간 초과 오류가 발생 했습니다. 생략 하는 경우 유효성 검사 시간 제한 오류가 허용 됩니다.

--no-wait

장기 실행 작업이 완료될 때까지 기다리지 마세요.

--resource-provider-connection --rp-connection

리소스 공급자 연결 형식입니다.

허용되는 값: Inbound, Outbound
--ssh-password -P

클러스터 노드에 대 한 SSH 암호입니다. 지정 하지 않으면 HTTP 암호를 사용 합니다.

--ssh-public-key -K

클러스터 노드에 대 한 SSH 공개 키입니다.

--ssh-user -U

클러스터 노드에 대 한 SSH 사용자 이름입니다.

기본값: sshuser
--storage-account

저장소 계정의 이름 또는 ID입니다.

--storage-account-key

스토리지 계정 키입니다. 사용자가 저장소 계정에 액세스할 수 있는 경우 키를 자동으로 검색할 수 있습니다.

--storage-account-managed-identity

저장소 계정 파일 시스템에 대 한 액세스 권한이 있는 사용자 할당 관리 id입니다. 저장소 계정 유형을 Azure Data Lake Storage Gen2 하는 경우에만 필요 합니다.

--storage-container

클러스터가 사용 하는 저장소 컨테이너입니다. 지정 된 항목이 없는 경우에는 클러스터 이름을 사용 합니다. (WASB에만 해당).

--storage-filesystem

클러스터가 사용 하는 저장소 파일 시스템입니다. 지정 된 항목이 없는 경우에는 클러스터 이름을 사용 합니다. (DFS에만 해당).

--subnet

서브넷의 이름 또는 ID입니다. 이름을 제공 하는 경우를 --vnet-name 제공 해야 합니다.

--subscription

구독의 이름 또는 ID입니다. 을 사용 하 여 기본 구독을 구성할 수 있습니다 az account set -s NAME_OR_ID .

--tags

공백으로 구분 된 태그: 키 [= 값] [키 [= 값] ...]. ""를 사용 하 여 기존 태그를 지웁니다.

--time

Xx: xx 형식의 24 시간 (일)입니다.

--timezone

일정 자동 크기 조정 유형의 시간대입니다. 의 az hdinsight autoscale list-timezones 값입니다.

--version -v

HDInsight 클러스터 버전입니다. 참고: https://docs.microsoft.com/azure/hdinsight/hdinsight-component-versioning#supported-hdinsight-versions .

기본값: default
--vnet-name

가상 네트워크의 이름입니다.

--workernode-count -c

클러스터의 작업자 노드 수입니다.

기본값: 3
--workernode-data-disk-size

데이터 디스크의 크기(GB)입니다(예: 1023).

--workernode-data-disk-storage-account-type

데이터 디스크에 사용할 스토리지 계정 유형(standard_lrs 또는 premium_lrs)입니다.

허용되는 값: premium_lrs, standard_lrs
--workernode-data-disks-per-node

작업자 노드당 사용할 데이터 디스크의 수입니다.

--workernode-size
--zookeepernode-size

az hdinsight delete

지정된 HDInsight 클러스터를 삭제합니다.

az hdinsight delete --name
                    --resource-group
                    [--no-wait]
                    [--subscription]
                    [--yes]

필수 매개 변수

--name -n

클러스터의 이름입니다.

--resource-group -g

리소스 그룹의 이름입니다. az configure --defaults group=<name>을 사용하여 기본 그룹을 구성할 수 있습니다.

선택적 매개 변수

--no-wait

장기 실행 작업이 완료될 때까지 기다리지 마세요.

--subscription

구독의 이름 또는 ID입니다. 를 사용하여 기본 구독을 구성할 수 az account set -s NAME_OR_ID 있습니다.

--yes -y

확인을 묻는 메시지를 표시하지 마세요.

az hdinsight list

리소스 그룹 또는 구독에 HDInsight 클러스터를 나열합니다.

az hdinsight list [--query-examples]
                  [--resource-group]
                  [--subscription]

선택적 매개 변수

--query-examples

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

--resource-group -g

리소스 그룹의 이름입니다. az configure --defaults group=<name>을 사용하여 기본 그룹을 구성할 수 있습니다.

--subscription

구독의 이름 또는 ID입니다. 를 사용하여 기본 구독을 구성할 수 az account set -s NAME_OR_ID 있습니다.

az hdinsight list-usage

지정된 된 위치에 대 한 사용량을 나열 합니다.

az hdinsight list-usage --location
                        [--subscription]

필수 매개 변수

--location -l

위치입니다. 값 출처: az account list-locations. az configure --defaults location=<location>을 사용하여 기본 위치를 구성할 수 있습니다.

선택적 매개 변수

--subscription

구독의 이름 또는 ID입니다. 를 사용하여 기본 구독을 구성할 수 az account set -s NAME_OR_ID 있습니다.

az hdinsight resize

지정된 HDInsight 클러스터의 크기를 지정된 크기로 조정합니다.

az hdinsight resize --name
                    --resource-group
                    --workernode-count
                    [--no-wait]
                    [--subscription]

예제

클러스터의 workernode 크기를 조정합니다.

az hdinsight resize --name MyCluster --resource-group rg --workernode-count 5

필수 매개 변수

--name -n

클러스터의 이름입니다.

--resource-group -g

리소스 그룹의 이름입니다. az configure --defaults group=<name>을 사용하여 기본 그룹을 구성할 수 있습니다.

--workernode-count -c

작업의 대상 작업자 노드 인스턴스 수입니다.

선택적 매개 변수

--no-wait

장기 실행 작업이 완료될 때까지 기다리지 마세요.

--subscription

구독의 이름 또는 ID입니다. 를 사용하여 기본 구독을 구성할 수 az account set -s NAME_OR_ID 있습니다.

az hdinsight rotate-disk-encryption-key

지정된 HDInsight 클러스터의 디스크 암호화 키를 회전합니다.

az hdinsight rotate-disk-encryption-key --encryption-key-name
                                        --encryption-key-version
                                        --encryption-vault-uri
                                        --name
                                        --resource-group
                                        [--no-wait]
                                        [--subscription]

필수 매개 변수

--encryption-key-name

디스크 암호화를 사용하도록 설정하는 데 사용되는 키 이름입니다.

--encryption-key-version

디스크 암호화를 사용하도록 설정하는 데 사용되는 키 버전입니다.

--encryption-vault-uri

예를 들어 고객 키가 있는 기본 키 자격 증명 모음 URI입니다. https://myvault.vault.azure.net.

--name -n

클러스터의 이름입니다.

--resource-group -g

리소스 그룹의 이름입니다. az configure --defaults group=<name>을 사용하여 기본 그룹을 구성할 수 있습니다.

선택적 매개 변수

--no-wait

장기 실행 작업이 완료될 때까지 기다리지 마세요.

--subscription

구독의 이름 또는 ID입니다. 를 사용하여 기본 구독을 구성할 수 az account set -s NAME_OR_ID 있습니다.

az hdinsight show

지정된 클러스터를 가져옵니다.

az hdinsight show --name
                  --resource-group
                  [--query-examples]
                  [--subscription]

필수 매개 변수

--name -n

클러스터의 이름입니다.

--resource-group -g

리소스 그룹의 이름입니다. az configure --defaults group=<name>을 사용하여 기본 그룹을 구성할 수 있습니다.

선택적 매개 변수

--query-examples

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

--subscription

구독의 이름 또는 ID입니다. 를 사용하여 기본 구독을 구성할 수 az account set -s NAME_OR_ID 있습니다.

az hdinsight update

지정된 HDInsight 클러스터의 태그를 업데이트합니다.

az hdinsight update --name
                    --resource-group
                    [--no-wait]
                    [--subscription]
                    [--tags]

예제

태그를 업데이트합니다.

az hdinsight update --name MyCluster --resource-group rg --tags key=value

필수 매개 변수

--name -n

클러스터의 이름입니다.

--resource-group -g

리소스 그룹의 이름입니다. az configure --defaults group=<name>을 사용하여 기본 그룹을 구성할 수 있습니다.

선택적 매개 변수

--no-wait

장기 실행 작업이 완료될 때까지 기다리지 마세요.

--subscription

구독의 이름 또는 ID입니다. 를 사용하여 기본 구독을 구성할 수 az account set -s NAME_OR_ID 있습니다.

--tags

공백으로 구분된 태그: key[=value] [key[=value] ...]. ""를 사용하여 기존 태그를 지웁니다.

az hdinsight wait

작업이 완료될 때까지 CLI를 대기 상태로 하십시오.

az hdinsight wait --name
                  --resource-group
                  [--created]
                  [--custom]
                  [--deleted]
                  [--exists]
                  [--interval]
                  [--subscription]
                  [--timeout]
                  [--updated]

필수 매개 변수

--name -n

클러스터의 이름입니다.

--resource-group -g

리소스 그룹의 이름입니다. az configure --defaults group=<name>을 사용하여 기본 그룹을 구성할 수 있습니다.

선택적 매개 변수

--created

'Succeeded'에서 'provisioningState'를 통해 생성될 때까지 기다립니다.

--custom

조건이 사용자 지정 JMESPath 쿼리를 충족할 때까지 기다립니다. 예를 들어 provisioningState!='InProgress', instanceView.statuses[?code=='PowerState/running'].

--deleted

삭제될 때까지 기다립니다.

--exists

리소스가 존재할 때까지 기다립니다.

--interval

폴링 간격(초)입니다.

기본값: 30
--subscription

구독의 이름 또는 ID입니다. 를 사용하여 기본 구독을 구성할 수 az account set -s NAME_OR_ID 있습니다.

--timeout

최대 대기 시간(초)입니다.

기본값: 3600
--updated

'Succeeded'에서 provisioningState로 업데이트될 때까지 기다립니다.