Data Masking Policies - Get

データベース データ マスク ポリシーを取得します。

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/dataMaskingPolicies/Default?api-version=2021-11-01

URI パラメーター

名前 / 必須 説明
databaseName
path True

string

データベースの名前。

dataMaskingPolicyName
path True

DataMaskingPolicyName

データ マスク ポリシーが適用されるデータベースの名前。

resourceGroupName
path True

string

リソースが含まれているリソース グループの名前。 この値は、Azure リソース マネージャー API またはポータルから取得できます。

serverName
path True

string

サーバーの名前。

subscriptionId
path True

string

Azure サブスクリプションを識別するサブスクリプション ID。

api-version
query True

string

要求で使用する API のバージョン。

応答

名前 説明
200 OK

DataMaskingPolicy

データベース データ マスク ポリシーが正常に取得されました。

Other Status Codes

エラー応答: ***

Gets the database data masking policies.

Sample Request

GET https://management.azure.com/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Sql/servers/sqlcrudtest-2080/databases/sqlcrudtest-331/dataMaskingPolicies/Default?api-version=2021-11-01

Sample Response

{
  "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Sql/servers/sqlcrudtest-2080/databases/sqlcrudtest-331/dataMaskingPolicies/Default",
  "name": "Default",
  "type": "Microsoft.Sql/servers/databases/dataMaskingPolicies",
  "location": "Central US",
  "kind": null,
  "properties": {
    "dataMaskingState": "Enabled",
    "applicationPrincipals": "",
    "exemptPrincipals": "",
    "maskingLevel": ""
  }
}

定義

名前 説明
DataMaskingPolicy

データベース データ マスク ポリシー。

DataMaskingPolicyName

データ マスク ポリシーが適用されるデータベースの名前。

DataMaskingState

データ マスキング ポリシーの状態。

DataMaskingPolicy

データベース データ マスク ポリシー。

名前 説明
id

string

リソースの ID

kind

string

データ マスク ポリシーの種類。 Azure portalに使用されるメタデータ。

location

string

データ マスク ポリシーの場所。

name

string

リソース名。

properties.applicationPrincipals

string

アプリケーション プリンシパルの一覧。 これはレガシ パラメーターであり、使用されなくなりました。

properties.dataMaskingState

DataMaskingState

データ マスキング ポリシーの状態。

properties.exemptPrincipals

string

除外プリンシパルの一覧。 データ マスク ポリシーが適用されないデータベース ユーザーのセミコロン区切りのリストを指定します。 指定されたユーザーは、すべてのデータベース クエリをマスクせずにデータの結果を受け取ります。

properties.maskingLevel

string

マスク レベル。 これはレガシ パラメーターであり、使用されなくなりました。

type

string

リソースの種類。

DataMaskingPolicyName

データ マスク ポリシーが適用されるデータベースの名前。

名前 説明
Default

string

DataMaskingState

データ マスキング ポリシーの状態。

名前 説明
Disabled

string

Enabled

string