CmdID

CmdID / az / az monitor / az monitor diagnostic-settings / az monitor diagnostic-settings subscription

az monitor diagnostic-settings subscription create

Create subscription diagnostic settings for the specified resource. Azure CLI reference

7 options Its page in the Azure CLI reference

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

Options

7 in the Azure CLI reference
--event-hub-auth-ruleThe resource Id for the event hub authorization rule.
--event-hub-nameThe name of the event hub.
--logsJSON encoded list of logs settings.
--name, -nThe name of the diagnostic setting.
--service-bus-ruleThe service bus rule ID of the service bus namespace in which you would like to have Event Hubs created for streaming the Activity Log.
--storage-accountThe resource id of the storage account to which you would like to send the Activity Log.
--workspaceThe resource id of the log analytics workspace.