Defining SQL Azure Server Audits

The following properties are applicable to a SQL Azure Server Audit object.

Tab

Property

Description

Additional Information

  Type Specifies the location for the audit trail  
Enabled Specifies whether the server audit is enabled  
Generate Specifies whether SQL query is generated during forward engineering  
General Queue Delay Specifies the maximum time to wait, in milliseconds, before audit actions are processed  
Failure Action Specifies the action to take upon failure to write an audit entry  
Audit GUID Specifies the GUID for the audit on a mirrored database  
Where Specifies the predicate expression that helps determine the events that must be processed  
File Path Specifies the path of the audit log Available only when Type is set to URL
Retention Days Specifies the number of days for which the audit log is retained Available only when Type is set to URL
Reserve Disk Space Specifies whether disk space must be preallocated Available only when Type is set to URL

Note: This object is supported only for Azure SQL Managed Instance.