CmdID / az / az datashare / az datashare account
az datashare account wait
Place the CLI in a waiting state until a condition of the datashare account is met. Azure CLI extensions reference
2 examples 2 options Its page in the Azure CLI extensions reference
Examples
Pause executing next line of CLI script until the datashare account is successfully created.
az datashare account wait --name "Account1" --resource-group "SampleResourceGroup" --createdIdentify--nameThe name of the share account.--resource-groupName of resource group.Pause executing next line of CLI script until the datashare account is successfully deleted.
az datashare account wait --name "Account1" --resource-group "SampleResourceGroup" --deletedIdentify--nameThe name of the share account.--resource-groupName of resource group.Options
--account-name, --name, -nThe name of the share account.--resource-group, -gName of resource group.