DatabaseBlobAuditingPolicy.IsAzureMonitorTargetEnabled Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets specifies whether audit events are sent to Azure Monitor. In order to send the events to Azure Monitor, specify 'State' as 'Enabled' and 'IsAzureMonitorTargetEnabled' as true.
When using REST API to configure auditing, Diagnostic Settings with 'SQLSecurityAuditEvents' diagnostic logs category on the database should be also created. Note that for server level audit you should use the 'master' database as {databaseName}.
Diagnostic Settings URI format: PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/providers/microsoft.insights/diagnosticSettings/{settingsName}?api-version=2017-05-01-preview
For more information, see Diagnostic Settings REST API or Diagnostic Settings PowerShell
[Newtonsoft.Json.JsonProperty(PropertyName="properties.isAzureMonitorTargetEnabled")]
public bool? IsAzureMonitorTargetEnabled { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="properties.isAzureMonitorTargetEnabled")>]
member this.IsAzureMonitorTargetEnabled : Nullable<bool> with get, set
Public Property IsAzureMonitorTargetEnabled As Nullable(Of Boolean)
Property Value
- Attributes
-
Newtonsoft.Json.JsonPropertyAttribute
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應