CmdID / az / az sql / az sql server / az sql server ms-support / az sql server ms-support audit-policy
az sql server ms-support audit-policy update
Update a server's Microsoft support operations auditing policy. Azure CLI reference
10 options Its page in the Azure CLI reference
Options
--blob-storage-target-state, --bstsIndicate whether blob storage is a destination for audit records.--event-hub, --ehThe name of the event hub.--event-hub-authorization-rule-id, --ehariThe resource Id for the event hub authorization rule.--event-hub-target-state, --ehtsIndicate whether event hub is a destination for audit records.--log-analytics-target-state, --latsIndicate whether log analytics is a destination for audit records.--log-analytics-workspace-resource-id, --lawriThe workspace ID (resource ID of a Log Analytics workspace) for a Log Analytics workspace to which you would like to send Audit Logs.--stateAuditing policy state--storage-accountName of the storage account.--storage-endpointThe storage account endpoint.--storage-keyAccess key for the storage account.