CmdID / az / az disk-pool / az disk-pool iscsi-target
az disk-pool iscsi-target wait
Place the CLI in a waiting state until a condition of the disk-pool iscsi-target is met. Azure CLI extensions reference
3 examples 3 options Its page in the Azure CLI extensions reference
Examples
Pause executing next line of CLI script until the disk-pool iscsi-target is successfully created.
az disk-pool iscsi-target wait --disk-pool-name "myDiskPool" --name "myIscsiTarget" --resource-group "myResourceGroup" --createdIdentify--disk-pool-nameThe name of the Disk Pool.--nameThe name of the iSCSI Target.--resource-groupName of resource group.Pause executing next line of CLI script until the disk-pool iscsi-target is successfully updated.
az disk-pool iscsi-target wait --disk-pool-name "myDiskPool" --name "myIscsiTarget" --resource-group "myResourceGroup" --updatedIdentify--disk-pool-nameThe name of the Disk Pool.--nameThe name of the iSCSI Target.--resource-groupName of resource group.Pause executing next line of CLI script until the disk-pool iscsi-target is successfully deleted.
az disk-pool iscsi-target wait --disk-pool-name "myDiskPool" --name "myIscsiTarget" --resource-group "myResourceGroup" --deletedIdentify--disk-pool-nameThe name of the Disk Pool.--nameThe name of the iSCSI Target.--resource-groupName of resource group.Options
--disk-pool-nameThe name of the Disk Pool.--iscsi-target-name, --name, -nThe name of the iSCSI Target.--resource-group, -gName of resource group.