Udostępnij za pośrednictwem


ExtendedServerBlobAuditingPolicy.IsAzureMonitorTargetEnabled Property

Definition

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

public Azure.Provisioning.BicepValue<bool> IsAzureMonitorTargetEnabled { get; set; }
member this.IsAzureMonitorTargetEnabled : Azure.Provisioning.BicepValue<bool> with get, set
Public Property IsAzureMonitorTargetEnabled As BicepValue(Of Boolean)

Property Value

Applies to