az datashare consumer share-subscription synchronization

참고

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

소비자가 datashare 공유 구독 동기화를 관리 하는 명령입니다.

명령

az datashare consumer share-subscription synchronization cancel

동기화를 취소 하는 요청입니다.

az datashare consumer share-subscription synchronization list

공유 구독의 동기화를 나열 합니다.

az datashare consumer share-subscription synchronization list-detail

동기화 정보를 나열 합니다.

az datashare consumer share-subscription synchronization start

데이터 집합 동기화를 시작 합니다.

az datashare consumer share-subscription synchronization wait

Datashare 공유 구독 동기화의 조건이 충족 될 때까지 CLI를 대기 중 상태로 전환 합니다.

az datashare consumer share-subscription synchronization cancel

동기화를 취소 하는 요청입니다.

az datashare consumer share-subscription synchronization cancel --account-name
                                                                --resource-group
                                                                --share-subscription-name
                                                                --synchronization-id
                                                                [--no-wait]

예제

동기화 취소 요청

az datashare consumer share-subscription synchronization cancel --account-name MyAccount --resource-group MyResourceGroup --share-subscription-name MyShareSubscription --synchronization-id 00000000-0000-0000-0000-000000000000

필수 매개 변수

--account-name

공유 계정의 이름입니다.

--resource-group -g

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

--share-subscription-name

공유 구독의 이름입니다.

--synchronization-id

동기화 GUID입니다.

선택적 매개 변수

--no-wait

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

az datashare consumer share-subscription synchronization list

공유 구독의 동기화를 나열 합니다.

az datashare consumer share-subscription synchronization list --account-name
                                                              --resource-group
                                                              --share-subscription-name

예제

동기화 목록 표시

az datashare consumer share-subscription synchronization list --account-name MyAccount --resource-group MyResourceGroup --share-subscription-name MyShareSub

필수 매개 변수

--account-name

공유 계정의 이름입니다.

--resource-group -g

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

--share-subscription-name

공유 구독의 이름입니다.

az datashare consumer share-subscription synchronization list-detail

동기화 정보를 나열 합니다.

az datashare consumer share-subscription synchronization list-detail --account-name
                                                                     --resource-group
                                                                     --share-subscription-name
                                                                     --synchronization-id

예제

동기화 정보 나열

az datashare consumer share-subscription synchronization list-detail --account-name MyAccount --resource-group MyResourceGroup --share-subscription-name MyShareSub --synchronization-id 00000000-0000-0000-0000-000000000000

필수 매개 변수

--account-name

공유 계정의 이름입니다.

--resource-group -g

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

--share-subscription-name

공유 구독의 이름입니다.

--synchronization-id

동기화 id입니다.

az datashare consumer share-subscription synchronization start

데이터 집합 동기화를 시작 합니다.

az datashare consumer share-subscription synchronization start --account-name
                                                               --resource-group
                                                               --share-subscription-name
                                                               [--no-wait]
                                                               [--synchronization-mode {FullSync, Incremental}]

예제

데이터 집합 동기화 시작

az datashare consumer share-subscription synchronization start --account-name MyAccount --resource-group MyResourceGroup --share-subscription-name MyShareSubscription --synchronization-mode "Incremental"

필수 매개 변수

--account-name

공유 계정의 이름입니다.

--resource-group -g

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

--share-subscription-name

공유 구독의 이름입니다.

선택적 매개 변수

--no-wait

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

--synchronization-mode

동기화 모드입니다.

허용되는 값: FullSync, Incremental

az datashare consumer share-subscription synchronization wait

Datashare 공유 구독 동기화의 조건이 충족 될 때까지 CLI를 대기 중 상태로 전환 합니다.

az datashare consumer share-subscription synchronization wait --account-name
                                                              --resource-group
                                                              --share-subscription-name
                                                              --synchronization-id
                                                              [--created]
                                                              [--custom]
                                                              [--deleted]
                                                              [--exists]
                                                              [--interval]
                                                              [--timeout]
                                                              [--updated]

예제

Datashare 공유 구독 동기화가 성공적으로 완료 될 때까지 CLI 스크립트의 다음 줄 실행을 일시 중지 합니다.

az datashare consumer share-subscription synchronization wait --custom "status=='Succeeded'" --account-name MyAccount --resource-group MyResourceGroup --share-subscription-name MyShareSubscription --synchronization-id 00000000-0000-0000-0000-000000000000

Datashare 공유 구독 동기화가 취소 될 때까지 CLI 스크립트의 다음 줄 실행을 일시 중지 합니다.

az datashare consumer share-subscription synchronization wait --custom "status=='Cancelled'" --account-name MyAccount --resource-group MyResourceGroup --share-subscription-name MyShareSubscription --synchronization-id 00000000-0000-0000-0000-000000000000

필수 매개 변수

--account-name

공유 계정의 이름입니다.

--resource-group -g

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

--share-subscription-name

공유 구독의 이름입니다.

--synchronization-id

동기화 GUID입니다.

선택적 매개 변수

--created

' 성공 '에서 ' provisioningState '를 사용 하 여 만들 때까지 기다립니다.

--custom

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

--deleted

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

--exists

리소스가 있을 때까지 기다립니다.

--interval

폴링 간격 (초)입니다.

기본값: 30
--timeout

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

기본값: 3600
--updated

' 성공 '으로 provisioningState으로 업데이트할 때까지 기다립니다.