次の方法で共有


ServerBlobAuditingPolicy.StorageAccountAccessKey プロパティ

定義

監査ストレージ アカウントの識別子キーを取得または設定します。 state が Enabled で storageEndpoint が指定されている場合、storageAccountAccessKey を指定しないと、SQL Server システム割り当てマネージド ID を使用してストレージにアクセスします。 マネージド ID 認証を使用するための前提条件:

  1. Azure Active Directory (AAD) でシステム割り当てマネージド ID SQL Server割り当てます。
  2. "ストレージ BLOB データ共同作成者" RBAC ロールをサーバー ID に追加して、SQL Server ID にストレージ アカウントへのアクセス権を付与します。 詳細については、「マネージド ID 認証を使用したストレージへの監査」を参照してください。
[Newtonsoft.Json.JsonProperty(PropertyName="properties.storageAccountAccessKey")]
public string StorageAccountAccessKey { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="properties.storageAccountAccessKey")>]
member this.StorageAccountAccessKey : string with get, set
Public Property StorageAccountAccessKey As String

プロパティ値

属性
Newtonsoft.Json.JsonPropertyAttribute

適用対象