az datashare

Commands to manage datashare.

Commands

az datashare account

Commands to manage datashare accounts.

az datashare account create

Create an account.

az datashare account delete

Delete an account.

az datashare account list

List datashare accounts.

az datashare account show

Show an account.

az datashare account update

Patch an account.

az datashare account wait

Place the CLI in a waiting state until a condition of the datashare account is met.

az datashare consumer

Commands for consumers to manage datashare.

az datashare consumer dataset-mapping

Commands for consumers to manage datashare dataset mappings.

az datashare consumer dataset-mapping create

Create a dataSet mapping.

az datashare consumer dataset-mapping delete

Delete a dataset mapping in a share subscription.

az datashare consumer dataset-mapping list

List dataset mappings in a share subscription.

az datashare consumer dataset-mapping show

Show a dataset mapping in a share subscription.

az datashare consumer invitation

Commands for consumers to manage datashare invitations.

az datashare consumer invitation list

List received invitations.

az datashare consumer invitation reject

Reject an invitation.

az datashare consumer invitation show

Show a received invitation.

az datashare consumer share-subscription

Commands for consumers to manage datashare share subscriptions.

az datashare consumer share-subscription create

Create a share subscription in an account.

az datashare consumer share-subscription delete

Delete a share subscription in an account.

az datashare consumer share-subscription list

List share subscriptions in an account.

az datashare consumer share-subscription list-source-dataset

List source datasets of a share subscription.

az datashare consumer share-subscription list-source-share-synchronization-setting

List synchronization settings set on a share.

az datashare consumer share-subscription show

Show a share subscription in an account.

az datashare consumer share-subscription synchronization

Commands for consumers to manage datashare share subscription synchronizations.

az datashare consumer share-subscription synchronization cancel

Request to cancel a synchronization.

az datashare consumer share-subscription synchronization list

List synchronizations of a share subscription.

az datashare consumer share-subscription synchronization list-detail

List synchronization details.

az datashare consumer share-subscription synchronization start

Initiate a dataset synchronization.

az datashare consumer share-subscription synchronization wait

Place the CLI in a waiting state until a condition of the datashare share subscription synchronization is met.

az datashare consumer share-subscription wait

Place the CLI in a waiting state until a condition of the datashare share subscription is met.

az datashare consumer trigger

Commands for consumers to manage datashare consumer triggers.

az datashare consumer trigger create

Create a trigger.

az datashare consumer trigger delete

Delete a trigger in a share subscription.

az datashare consumer trigger list

List triggers in a share subscription.

az datashare consumer trigger show

Show a trigger in a share subscription.

az datashare consumer trigger wait

Place the CLI in a waiting state until a condition of the datashare trigger is met.

az datashare create

Create a datashare.

az datashare dataset

Commands for providers to manage datashare datasets.

az datashare dataset create

Create a dataset.

az datashare dataset delete

Delete a dataset in a share.

az datashare dataset list

List datasets in a share.

az datashare dataset show

Show a dataset.

az datashare dataset wait

Place the CLI in a waiting state until a condition of the datashare dataset is met.

az datashare delete

Delete a datashare.

az datashare invitation

Commands for providers to manage datashare invitations.

az datashare invitation create

Create an invitation.

az datashare invitation delete

Delete an invitation in a share.

az datashare invitation list

List invitations in a share.

az datashare invitation show

Show an invitation in a share.

az datashare list

List datashares in an account.

az datashare provider-share-subscription

Commands for providers to manage datashare share subscriptions.

az datashare provider-share-subscription list

List share subscriptions in a provider share.

az datashare provider-share-subscription reinstate

Reinstate a share subscription in a provider share.

az datashare provider-share-subscription revoke

Revoke a share subscription in a provider share.

az datashare provider-share-subscription show

Show a share subscription in a provider share.

az datashare provider-share-subscription wait

Place the CLI in a waiting state until a condition of the datashare provider share subscription is met.

az datashare show

Show a datashare.

az datashare synchronization

Commands to manage datashare synchronization.

az datashare synchronization list

List synchronizations of a datashare.

az datashare synchronization list-detail

List synchronization details.

az datashare synchronization-setting

Commands for providers to manage datashare synchronization settings.

az datashare synchronization-setting create

Create a synchronization setting.

az datashare synchronization-setting delete

Delete a synchronization setting in a share.

az datashare synchronization-setting list

List synchronization settings in a share.

az datashare synchronization-setting show

Show a synchronization setting in a share.

az datashare synchronization-setting wait

Place the CLI in a waiting state until a condition of the datashare synchronization setting is met.

az datashare wait

Place the CLI in a waiting state until a condition of the datashare is met.

az datashare create

Create a datashare.

az datashare create --account-name
                    --name
                    --resource-group
                    [--description]
                    [--share-kind {CopyBased, InPlace}]
                    [--terms]

Examples

Create a datashare

az datashare create --account-name MyAccount --resource-group MyResourceGroup --description "share description" --share-kind "CopyBased" --terms "Confidential" --name MyShare

Required Parameters

--account-name

The name of the share account.

--name -n

The name of the share.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

Optional Parameters

--description

Share description.

--share-kind

Share kind.

accepted values: CopyBased, InPlace
--terms

Share terms.

az datashare delete

Delete a datashare.

az datashare delete --account-name
                    --name
                    --resource-group
                    [--no-wait]
                    [--yes]

Examples

Delete a datashare

az datashare delete --account-name MyAccount --resource-group MyResourceGroup --name MyShare

Required Parameters

--account-name

The name of the share account.

--name -n

The name of the share.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

Optional Parameters

--no-wait

Do not wait for the long-running operation to finish.

--yes -y

Do not prompt for confirmation.

az datashare list

List datashares in an account.

az datashare list --account-name
                  --resource-group

Examples

List datashares

az datashare list --account-name MyAccount --resource-group MyResourceGroup

Required Parameters

--account-name

The name of the share account.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

az datashare show

Show a datashare.

az datashare show --account-name
                  --name
                  --resource-group

Examples

Show a datashare

az datashare show --account-name MyAccount --resource-group MyResourceGroup --name MyShare

Required Parameters

--account-name

The name of the share account.

--name -n

The name of the share.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

az datashare wait

Place the CLI in a waiting state until a condition of the datashare is met.

az datashare wait --account-name
                  --name
                  --resource-group
                  [--created]
                  [--custom]
                  [--deleted]
                  [--exists]
                  [--interval]
                  [--timeout]
                  [--updated]

Examples

Pause executing next line of CLI script until the datashare is successfully provisioned.

az datashare wait --account-name MyAccount --resource-group MyResourceGroup --name MyShare --created

Required Parameters

--account-name

The name of the share account.

--name -n

The name of the share.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

Optional Parameters

--created

Wait until created with 'provisioningState' at 'Succeeded'.

--custom

Wait until the condition satisfies a custom JMESPath query. E.g. provisioningState!='InProgress', instanceView.statuses[?code=='PowerState/running'].

--deleted

Wait until deleted.

--exists

Wait until the resource exists.

--interval

Polling interval in seconds.

default value: 30
--timeout

Maximum wait in seconds.

default value: 3600
--updated

Wait until updated with provisioningState at 'Succeeded'.