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"
필수 매개 변수
게스트 구성 할당의 이름입니다.
ARC 컴퓨터의 이름입니다.
리소스 그룹의 이름입니다. az configure --defaults group=<name>을 사용하여 기본 그룹을 구성할 수 있습니다.
선택적 매개 변수
게스트 구성 할당을 시작한 소스입니다. 예: Azure Policy.
게스트 구성에 대한 구성 매개 변수입니다.
게스트 구성에 대한 구성 설정입니다.
게스트 구성의 이름입니다.
게스트 구성의 버전입니다.
게스트 구성 할당의 구성 세부 정보입니다. 예상 값: json-string/@json-file .
위치입니다. 값 출처: az account list-locations. az configure --defaults location=<location>을 사용하여 기본 위치를 구성할 수 있습니다.
게스트 구성 할당의 이름입니다.
장기 실행 작업이 완료될 때까지 기다리지 마세요.
로깅의 자세한 정도를 늘려 모든 디버그 로그를 표시합니다.
이 도움말 메시지를 표시하고 종료합니다.
오류만 표시하고, 경고를 표시하지 않습니다.
출력 형식입니다.
JMESPath 쿼리 문자열입니다. 자세한 내용 및 예제는 http://jmespath.org/를 참조하세요.
로깅의 자세한 정도를 늘립니다. 전체 디버그 로그를 표시하려면 --debug를 사용합니다.
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"
필수 매개 변수
게스트 구성 할당의 이름입니다.
ARC 컴퓨터의 이름입니다.
리소스 그룹의 이름입니다. az configure --defaults group=<name>을 사용하여 기본 그룹을 구성할 수 있습니다.
선택적 매개 변수
장기 실행 작업이 완료될 때까지 기다리지 마세요.
로깅의 자세한 정도를 늘려 모든 디버그 로그를 표시합니다.
이 도움말 메시지를 표시하고 종료합니다.
오류만 표시하고, 경고를 표시하지 않습니다.
출력 형식입니다.
JMESPath 쿼리 문자열입니다. 자세한 내용 및 예제는 http://jmespath.org/를 참조하세요.
로깅의 자세한 정도를 늘립니다. 전체 디버그 로그를 표시하려면 --debug를 사용합니다.
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"
필수 매개 변수
ARC 컴퓨터의 이름입니다.
리소스 그룹의 이름입니다. az configure --defaults group=<name>을 사용하여 기본 그룹을 구성할 수 있습니다.
로깅의 자세한 정도를 늘려 모든 디버그 로그를 표시합니다.
이 도움말 메시지를 표시하고 종료합니다.
오류만 표시하고, 경고를 표시하지 않습니다.
출력 형식입니다.
JMESPath 쿼리 문자열입니다. 자세한 내용 및 예제는 http://jmespath.org/를 참조하세요.
로깅의 자세한 정도를 늘립니다. 전체 디버그 로그를 표시하려면 --debug를 사용합니다.
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"
필수 매개 변수
게스트 구성 할당 이름입니다.
ARC 컴퓨터의 이름입니다.
리소스 그룹의 이름입니다. az configure --defaults group=<name>을 사용하여 기본 그룹을 구성할 수 있습니다.
로깅의 자세한 정도를 늘려 모든 디버그 로그를 표시합니다.
이 도움말 메시지를 표시하고 종료합니다.
오류만 표시하고, 경고를 표시하지 않습니다.
출력 형식입니다.
JMESPath 쿼리 문자열입니다. 자세한 내용 및 예제는 http://jmespath.org/를 참조하세요.
로깅의 자세한 정도를 늘립니다. 전체 디버그 로그를 표시하려면 --debug를 사용합니다.
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"
필수 매개 변수
게스트 구성 할당의 이름입니다.
ARC 컴퓨터의 이름입니다.
리소스 그룹의 이름입니다. az configure --defaults group=<name>을 사용하여 기본 그룹을 구성할 수 있습니다.
선택적 매개 변수
게스트 구성 할당을 시작한 소스입니다. 예: Azure Policy.
게스트 구성에 대한 구성 매개 변수입니다.
게스트 구성에 대한 구성 설정입니다.
게스트 구성의 이름입니다.
게스트 구성의 버전입니다.
게스트 구성 할당의 구성 세부 정보입니다. 예상 값: json-string/@json-file .
위치입니다. 값 출처: az account list-locations. az configure --defaults location=<location>을 사용하여 기본 위치를 구성할 수 있습니다.
게스트 구성 할당의 이름입니다.
장기 실행 작업이 완료될 때까지 기다리지 마세요.
로깅의 자세한 정도를 늘려 모든 디버그 로그를 표시합니다.
이 도움말 메시지를 표시하고 종료합니다.
오류만 표시하고, 경고를 표시하지 않습니다.
출력 형식입니다.
JMESPath 쿼리 문자열입니다. 자세한 내용 및 예제는 http://jmespath.org/를 참조하세요.
로깅의 자세한 정도를 늘립니다. 전체 디버그 로그를 표시하려면 --debug를 사용합니다.
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
필수 매개 변수
게스트 구성 할당 이름입니다.
ARC 컴퓨터의 이름입니다.
리소스 그룹의 이름입니다. az configure --defaults group=<name>을 사용하여 기본 그룹을 구성할 수 있습니다.
선택적 매개 변수
'Succeeded'에서 'provisioningState'를 통해 생성될 때까지 기다립니다.
조건이 사용자 지정 JMESPath 쿼리를 충족할 때까지 기다립니다. 예를 들어 provisioningState!='InProgress', instanceView.statuses[?code=='PowerState/running'].
삭제될 때까지 기다립니다.
리소스가 존재할 때까지 기다립니다.
폴링 간격(초)입니다.
최대 대기 시간(초)입니다.
'Succeeded'에서 provisioningState로 업데이트될 때까지 기다립니다.
로깅의 자세한 정도를 늘려 모든 디버그 로그를 표시합니다.
이 도움말 메시지를 표시하고 종료합니다.
오류만 표시하고, 경고를 표시하지 않습니다.
출력 형식입니다.
JMESPath 쿼리 문자열입니다. 자세한 내용 및 예제는 http://jmespath.org/를 참조하세요.
로깅의 자세한 정도를 늘립니다. 전체 디버그 로그를 표시하려면 --debug를 사용합니다.