az datashare synchronization-setting
Commands for providers to manage datashare synchronization settings.
Commands
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 synchronization-setting create
Create a synchronization setting.
az datashare synchronization-setting create --account-name
--name
--recurrence-interval {Day, Hour}
--resource-group
--share-name
--synchronization-time
[--kind {ScheduleBased}]
Examples
Create a synchronization setting
az datashare synchronization-setting create --account-name MyAccount --resource-group MyResourceGroup --share-name MyShare --name MyDataset --recurrence-interval Day --synchronization-time "2020-04-05 10:50:00 +00:00" --kind ScheduleBased
Required Parameters
The name of the share account.
The name of the synchronizationSetting.
Synchronization Recurrence Interval.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The name of the share.
Synchronization time. Format: date (yyyy-mm-dd) time (hh:mm:ss.xxxxx) timezone (+/-hh:mm).
Optional Parameters
Kind of synchronization.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
az datashare synchronization-setting delete
Delete a synchronization setting in a share.
az datashare synchronization-setting delete --account-name
--name
--resource-group
--share-name
[--no-wait]
[--yes]
Examples
Delete a synchronization setting
az datashare synchronization-setting delete --account-name MyAccount --resource-group MyResourceGroup --share-name MyShare --name MySyncrhonizationSetting
Required Parameters
The name of the share account.
The name of the synchronizationSetting.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The name of the share.
Optional Parameters
Do not wait for the long-running operation to finish.
Do not prompt for confirmation.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
az datashare synchronization-setting list
List synchronization settings in a share.
az datashare synchronization-setting list --account-name
--resource-group
--share-name
Examples
List synchronization settings
az datashare synchronization-setting list --account-name MyAccount --resource-group MyResourceGroup --share-name MyShare
Required Parameters
The name of the share account.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The name of the share.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
az datashare synchronization-setting show
Show a synchronization setting in a share.
az datashare synchronization-setting show --account-name
--name
--resource-group
--share-name
Examples
Show a synchronization setting
az datashare synchronization-setting show --account-name MyAccount --resource-group MyResourceGroup --share-name MyShare --name MySyncrhonizationSetting
Required Parameters
The name of the share account.
The name of the synchronizationSetting.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The name of the share.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
az datashare synchronization-setting wait
Place the CLI in a waiting state until a condition of the datashare synchronization setting is met.
az datashare synchronization-setting wait --account-name
--name
--resource-group
--share-name
[--created]
[--custom]
[--deleted]
[--exists]
[--interval]
[--timeout]
[--updated]
Examples
Pause executing next line of CLI script until the datashare synchronization setting is successfully provisioned.
az datashare synchronization-setting wait --account-name MyAccount --resource-group MyResourceGroup --share-name MyShare --name MySyncrhonizationSetting --created
Required Parameters
The name of the share account.
The name of the synchronizationSetting.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The name of the share.
Optional Parameters
Wait until created with 'provisioningState' at 'Succeeded'.
Wait until the condition satisfies a custom JMESPath query. E.g. provisioningState!='InProgress', instanceView.statuses[?code=='PowerState/running'].
Wait until deleted.
Wait until the resource exists.
Polling interval in seconds.
Maximum wait in seconds.
Wait until updated with provisioningState at 'Succeeded'.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.