CmdID

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

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from the Azure CLI, each command read by CmdID

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

2 in the Azure CLI extensions reference
--account-name, --name, -nThe name of the share account.
--resource-group, -gName of resource group.