CmdID

CmdID / az / az logz / az logz monitor

az logz monitor wait

Place the CLI in a waiting state until a condition of the logz monitor 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 logz monitor is successfully created.

az logz monitor wait --name "myMonitor" --resource-group "myResourceGroup" --createdIdentify
--nameMonitor resource name
--resource-groupName of resource group.

Pause executing next line of CLI script until the logz monitor is successfully deleted.

az logz monitor wait --name "myMonitor" --resource-group "myResourceGroup" --deletedIdentify
--nameMonitor resource name
--resource-groupName of resource group.

Options

2 in the Azure CLI extensions reference
--monitor-name, --name, -nMonitor resource name
--resource-group, -gName of resource group.