ServerBlobAuditingPolicy.IsDevopsAuditEnabled 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 the state of devops audit. If state is Enabled, devops logs will be sent to Azure Monitor. In order to send the events to Azure Monitor, specify 'State' as 'Enabled', 'IsAzureMonitorTargetEnabled' as true and 'IsDevopsAuditEnabled' as true
When using REST API to configure auditing, Diagnostic Settings with 'DevOpsOperationsAudit' diagnostic logs category on the master database should also be 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
[Newtonsoft.Json.JsonProperty(PropertyName="properties.isDevopsAuditEnabled")]
public bool? IsDevopsAuditEnabled { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="properties.isDevopsAuditEnabled")>]
member this.IsDevopsAuditEnabled : Nullable<bool> with get, set
Public Property IsDevopsAuditEnabled As Nullable(Of Boolean)
Property Value
- Attributes
-
Newtonsoft.Json.JsonPropertyAttribute
Applies to
Azure SDK for .NET