CmdID / az / az logz / az logz monitor
az logz monitor create
Create a monitor resource. Azure CLI extensions reference
1 example 8 options Its page in the Azure CLI extensions reference
Examples
Monitors_Create
az logz monitor create --name "myMonitor" --location "West US" --plan-data billing-cycle="Monthly" effective-date="2019-08-30T15:14:33+02:00" plan-details="logzapitestplan" usage-type="Committed" --user-info email-address="alice@microsoft.com" first-name="Alice" last-name="Bob" phone-number="123456" --tags Environment="Dev" --resource-group "myResourceGroup"Identify--nameMonitor resource name--locationLocation.--tagsspace-separated tags: key[=value] [key[=value] ...].--resource-groupName of resource group.Options
--location, -lLocation.--monitor-name, --name, -nMonitor resource name--monitoring-statusFlag specifying if the resource monitoring is enabled or disabled.--org-properties, --plan-data, --user-info--resource-group, -gName of resource group.--subscription-statusFlag specifying the Marketplace Subscription Status of the resource.--tagsspace-separated tags: key[=value] [key[=value] ...].--typeIdentity type.