az datashare consumer share-subscription synchronization

Notitie

Deze verwijzing maakt deel uit van de extensie datashare voor Azure CLI en vereist versie 2.3.1 of hoger. De extensie wordt automatisch geïnstalleerd wanneer u de opdracht az datashare consumer share-subscription synchronization voor de eerste keer gebruikt. Meer informatie over extensies.

Opdrachten voor consumenten voor het beheren van synchronisaties van abonnementen voor het delen van gegevensshares.

Opdracht

az datashare consumer share-subscription synchronization cancel

Verzoek om een synchronisatie te annuleren.

az datashare consumer share-subscription synchronization list

Synchronisaties van een shareabonnement opsneert.

az datashare consumer share-subscription synchronization list-detail

Synchronisatiedetails bekijken.

az datashare consumer share-subscription synchronization start

Start een gegevenssetsynchronisatie.

az datashare consumer share-subscription synchronization wait

Plaats de CLI in een wachttoestand totdat aan een voorwaarde van de synchronisatie van het datashareshare-abonnement wordt voldaan.

az datashare consumer share-subscription synchronization cancel

Verzoek om een synchronisatie te annuleren.

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

Voorbeelden

Aanvraag voor het annuleren van een synchronisatie

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

Vereiste parameters

--account-name

De naam van het shareaccount.

--resource-group -g

De naam van de resourcegroep. U kunt de standaardgroep configureren met az configure --defaults group=<name> behulp van .

--share-subscription-name

De naam van het shareabonnement.

--synchronization-id

De synchronisatie-GUID.

Optionele parameters

--no-wait

Wacht niet tot de langlopende bewerking is uitgevoerd.

az datashare consumer share-subscription synchronization list

Synchronisaties van een shareabonnement opsneert.

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

Voorbeelden

Synchronisaties op een lijst zetten

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

Vereiste parameters

--account-name

De naam van het shareaccount.

--resource-group -g

De naam van de resourcegroep. U kunt de standaardgroep configureren met az configure --defaults group=<name> behulp van .

--share-subscription-name

De naam van het shareabonnement.

az datashare consumer share-subscription synchronization list-detail

Synchronisatiedetails bekijken.

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

Voorbeelden

Synchronisatiedetails op een lijst zetten

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

Vereiste parameters

--account-name

De naam van het shareaccount.

--resource-group -g

De naam van de resourcegroep. U kunt de standaardgroep configureren met az configure --defaults group=<name> behulp van .

--share-subscription-name

De naam van het shareabonnement.

--synchronization-id

Synchronisatie-id.

az datashare consumer share-subscription synchronization start

Start een gegevenssetsynchronisatie.

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

Voorbeelden

Een gegevenssetsynchronisatie initiëren

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

Vereiste parameters

--account-name

De naam van het shareaccount.

--resource-group -g

De naam van de resourcegroep. U kunt de standaardgroep configureren met az configure --defaults group=<name> behulp van .

--share-subscription-name

De naam van het shareabonnement.

Optionele parameters

--no-wait

Wacht niet tot de langlopende bewerking is uitgevoerd.

--synchronization-mode

Synchronisatiemodus.

geaccepteerde waarden: FullSync, Incremental

az datashare consumer share-subscription synchronization wait

Plaats de CLI in een wachttoestand totdat aan een voorwaarde van de synchronisatie van het datashareshare-abonnement wordt voldaan.

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

Voorbeelden

Pauzeer de uitvoering van de volgende regel van het CLI-script totdat de synchronisatie van het datashareshare-abonnement is voltooid.

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

Pauzeer de uitvoering van de volgende regel van het CLI-script totdat de synchronisatie van het datashareshare-abonnement is geannuleerd.

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

Vereiste parameters

--account-name

De naam van het shareaccount.

--resource-group -g

De naam van de resourcegroep. U kunt de standaardgroep configureren met az configure --defaults group=<name> behulp van .

--share-subscription-name

De naam van het shareabonnement.

--synchronization-id

De synchronisatie-GUID.

Optionele parameters

--created

Wacht tot u met provisioningState bij Succeeded hebt gemaakt.

--custom

Wacht totdat de voorwaarde voldoet aan een aangepaste JMESPath-query. Bijvoorbeeld provisioningState!='InProgress', instanceView.statuses[?code=='PowerState/running'].

--deleted

Wacht tot u deze hebt verwijderd.

--exists

Wacht totdat de resource bestaat.

--interval

Pollinginterval in seconden.

standaardwaarde: 30
--timeout

Maximale wachttijd in seconden.

standaardwaarde: 3600
--updated

Wacht tot provisioningState is bijgewerkt bij 'Geslaagd'.