Share via


SqlServerDevOpsAuditingSettingData.IsAzureMonitorTargetEnabled Property

Definition

Specifies whether DevOps 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 DevOps audit, Diagnostic Settings with 'DevOpsOperationsAudit' diagnostic logs category on the master database should be also created.

Diagnostic Settings URI format: PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Sql/servers/{serverName}/databases/master/providers/microsoft.insights/diagnosticSettings/{settingsName}?api-version=2017-05-01-preview

For more information, see Diagnostic Settings REST API or Diagnostic Settings PowerShell

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

Property Value

Applies to