次の方法で共有


ServerBlobAuditingPolicy.IsAzureMonitorTargetEnabled プロパティ

定義

監査イベントを Azure Monitor に送信するかどうかを取得または設定します。 イベントを Azure Monitor に送信するには、'state' を 'Enabled' に、'isAzureMonitorTargetEnabled' を true に指定します。

REST API を使用して監査を構成する場合は、データベースに 'SQLSecurityAuditEvents' 診断ログ カテゴリを含む診断設定も作成する必要があります。 サーバー レベルの監査では、'master' データベースを {databaseName} として使用する必要があることに注意してください。

診断設定 URI 形式: 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

詳細については、「診断設定 REST API」または「診断設定 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)

プロパティ値

属性
Newtonsoft.Json.JsonPropertyAttribute

適用対象