az guestconfig guest-configuration-hcrp-assignment

참고

이 참조는 Azure CLI 대한 guestconfig 확장의 일부이며 버전 2.3.1 이상이 필요합니다. az guestconfig guest-configuration-hcrp-assignment 명령을 처음 실행할 때 확장이 자동으로 설치됩니다. 확장에 대해 자세히 알아보세요.

Guestconfig guest-configuration-hcrp-assignment.

명령

az guestconfig guest-configuration-hcrp-assignment create

ARC 컴퓨터와 게스트 구성 간의 연결을 만듭니다.

az guestconfig guest-configuration-hcrp-assignment delete

게스트 구성 할당을 삭제합니다.

az guestconfig guest-configuration-hcrp-assignment list

ARC 머신에 대한 모든 게스트 구성 할당을 나열합니다.

az guestconfig guest-configuration-hcrp-assignment show

게스트 구성 할당에 대한 정보를 가져옵니다.

az guestconfig guest-configuration-hcrp-assignment update

ARC 컴퓨터와 게스트 구성 간의 연결을 만듭니다.

az guestconfig guest-configuration-hcrp-assignment wait

guestconfig guest-configuration-hcrp-assignment 조건이 충족될 때까지 CLI를 대기 상태로 유지합니다.

az guestconfig guest-configuration-hcrp-assignment create

ARC 컴퓨터와 게스트 구성 간의 연결을 만듭니다.

az guestconfig guest-configuration-hcrp-assignment create --guest-configuration-assignment-name
                                                          --machine-name
                                                          --resource-group
                                                          [--context]
                                                          [--guest-configuration-configuration-parameter]
                                                          [--guest-configuration-configuration-setting]
                                                          [--guest-configuration-name]
                                                          [--guest-configuration-version]
                                                          [--latest-assignment-report-assignment]
                                                          [--location]
                                                          [--name]
                                                          [--no-wait]

예제

게스트 구성 할당 만들기 또는 업데이트

az guestconfig guest-configuration-hcrp-assignment create --guest-configuration-assignment-name "WhitelistedApplication" --machine-name "myMachineName" --guest-configuration-name "WhitelistedApplication" --location "westcentralus" --context "Azure policy" --guest-configuration-name "WhitelistedApplication" --guest-configuration-configuration-parameter name="[InstalledApplication]bwhitelistedapp;Name" value="NotePad,sql" --guest-configuration-configuration-setting action-after-reboot="ContinueConfiguration" configuration-mode="MonitorOnly" configuration-mode-frequency-mins=15 reboot-if-needed="False" --guest-configuration-version "1.*" --resource-group "myResourceGroupName"

필수 매개 변수

--guest-configuration-assignment-name

게스트 구성 할당의 이름입니다.

--machine-name

ARC 컴퓨터의 이름입니다.

--resource-group -g

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

선택적 매개 변수

--context

게스트 구성 할당을 시작한 소스입니다. 예: Azure Policy.

--guest-configuration-configuration-parameter

게스트 구성에 대한 구성 매개 변수입니다.

--guest-configuration-configuration-setting

게스트 구성에 대한 구성 설정입니다.

--guest-configuration-name

게스트 구성의 이름입니다.

--guest-configuration-version

게스트 구성의 버전입니다.

--latest-assignment-report-assignment

게스트 구성 할당의 구성 세부 정보입니다. 예상 값: json-string/@json-file .

--location -l

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

--name

게스트 구성 할당의 이름입니다.

--no-wait

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

az guestconfig guest-configuration-hcrp-assignment delete

게스트 구성 할당을 삭제합니다.

az guestconfig guest-configuration-hcrp-assignment delete --guest-configuration-assignment-name
                                                          --machine-name
                                                          --resource-group
                                                          [--no-wait]

예제

게스트 구성 할당 삭제

az guestconfig guest-configuration-hcrp-assignment delete --guest-configuration-assignment-name "SecureProtocol" --machine-name "myMachineName" --resource-group "myResourceGroupName"

필수 매개 변수

--guest-configuration-assignment-name

게스트 구성 할당의 이름입니다.

--machine-name

ARC 컴퓨터의 이름입니다.

--resource-group -g

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

선택적 매개 변수

--no-wait

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

az guestconfig guest-configuration-hcrp-assignment list

ARC 머신에 대한 모든 게스트 구성 할당을 나열합니다.

az guestconfig guest-configuration-hcrp-assignment list --machine-name
                                                        --resource-group

예제

가상 머신에 대한 모든 게스트 구성 할당 나열

az guestconfig guest-configuration-hcrp-assignment list --machine-name "myMachineName" --resource-group "myResourceGroupName"

필수 매개 변수

--machine-name

ARC 컴퓨터의 이름입니다.

--resource-group -g

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

az guestconfig guest-configuration-hcrp-assignment show

게스트 구성 할당에 대한 정보를 가져옵니다.

az guestconfig guest-configuration-hcrp-assignment show --guest-configuration-assignment-name
                                                        --machine-name
                                                        --resource-group

예제

게스트 구성 할당 받기

az guestconfig guest-configuration-hcrp-assignment show --guest-configuration-assignment-name "SecureProtocol" --machine-name "myMachineName" --resource-group "myResourceGroupName"

필수 매개 변수

--guest-configuration-assignment-name

게스트 구성 할당 이름입니다.

--machine-name

ARC 컴퓨터의 이름입니다.

--resource-group -g

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

az guestconfig guest-configuration-hcrp-assignment update

ARC 컴퓨터와 게스트 구성 간의 연결을 만듭니다.

az guestconfig guest-configuration-hcrp-assignment update --guest-configuration-assignment-name
                                                          --machine-name
                                                          --resource-group
                                                          [--context]
                                                          [--guest-configuration-configuration-parameter]
                                                          [--guest-configuration-configuration-setting]
                                                          [--guest-configuration-name]
                                                          [--guest-configuration-version]
                                                          [--latest-assignment-report-assignment]
                                                          [--location]
                                                          [--name]
                                                          [--no-wait]

예제

게스트 구성 할당 만들기 또는 업데이트

az guestconfig guest-configuration-hcrp-assignment update --guest-configuration-assignment-name "WhitelistedApplication" --machine-name "myMachineName" --guest-configuration-name "WhitelistedApplication" --location "westcentralus" --context "Azure policy" --guest-configuration-name "WhitelistedApplication" --guest-configuration-configuration-parameter name="[InstalledApplication]bwhitelistedapp;Name" value="NotePad,sql" --guest-configuration-configuration-setting action-after-reboot="ContinueConfiguration" configuration-mode="MonitorOnly" configuration-mode-frequency-mins=15 reboot-if-needed="False" --guest-configuration-version "1.*" --resource-group "myResourceGroupName"

필수 매개 변수

--guest-configuration-assignment-name

게스트 구성 할당의 이름입니다.

--machine-name

ARC 컴퓨터의 이름입니다.

--resource-group -g

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

선택적 매개 변수

--context

게스트 구성 할당을 시작한 소스입니다. 예: Azure Policy.

--guest-configuration-configuration-parameter

게스트 구성에 대한 구성 매개 변수입니다.

--guest-configuration-configuration-setting

게스트 구성에 대한 구성 설정입니다.

--guest-configuration-name

게스트 구성의 이름입니다.

--guest-configuration-version

게스트 구성의 버전입니다.

--latest-assignment-report-assignment

게스트 구성 할당의 구성 세부 정보입니다. 예상 값: json-string/@json-file .

--location -l

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

--name

게스트 구성 할당의 이름입니다.

--no-wait

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

az guestconfig guest-configuration-hcrp-assignment wait

guestconfig guest-configuration-hcrp-assignment 조건이 충족될 때까지 CLI를 대기 상태로 유지합니다.

az guestconfig guest-configuration-hcrp-assignment wait --guest-configuration-assignment-name
                                                        --machine-name
                                                        --resource-group
                                                        [--created]
                                                        [--custom]
                                                        [--deleted]
                                                        [--exists]
                                                        [--interval]
                                                        [--timeout]
                                                        [--updated]

예제

guestconfig guest-configuration-hcrp-assignment가 성공적으로 만들어질 때까지 CLI 스크립트의 다음 줄 실행을 일시 중지합니다.

az guestconfig guest-configuration-hcrp-assignment wait --guest-configuration-assignment-name "SecureProtocol" --machine-name "myMachineName" --resource-group "myResourceGroupName" --created

guestconfig guest-configuration-hcrp-assignment가 성공적으로 삭제될 때까지 CLI 스크립트의 다음 줄 실행을 일시 중지합니다.

az guestconfig guest-configuration-hcrp-assignment wait --guest-configuration-assignment-name "SecureProtocol" --machine-name "myMachineName" --resource-group "myResourceGroupName" --deleted

필수 매개 변수

--guest-configuration-assignment-name

게스트 구성 할당 이름입니다.

--machine-name

ARC 컴퓨터의 이름입니다.

--resource-group -g

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

선택적 매개 변수

--created

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

--custom

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

--deleted

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

--exists

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

--interval

폴링 간격(초)입니다.

기본값: 30
--timeout

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

기본값: 3600
--updated

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