共用方式為


Sensitivity Labels - Delete

刪除指定數據行的敏感度標籤

DELETE https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/schemas/{schemaName}/tables/{tableName}/columns/{columnName}/sensitivityLabels/current?api-version=2023-08-01

URI 參數

名稱 位於 必要 類型 Description
columnName
path True

string

數據行的名稱。

databaseName
path True

string

資料庫的名稱。

resourceGroupName
path True

string

包含資源的資源群組名稱。 您可以從 Azure Resource Manager API 或入口網站取得此值。

schemaName
path True

string

架構的名稱。

sensitivityLabelSource
path True

CurrentSensitivityLabelSource

敏感度標籤的來源。

serverName
path True

string

伺服器的名稱。

subscriptionId
path True

string

識別 Azure 訂用帳戶的訂用帳戶標識碼。

tableName
path True

string

數據表的名稱。

api-version
query True

string

要用於要求的 API 版本。

回應

名稱 類型 Description
200 OK

已成功刪除敏感度標籤。

Other Status Codes

ErrorResponse

錯誤回應: ***

  • 400 DatawarehouseDatabaseIsDeactivated - 無法執行數據分類作業,因為資料庫已暫停。 請繼續。

  • 400 SensitivityLabelSourceNameNotSupported - 指定的敏感度標籤來源無效

  • 404 SubscriptionDoesNotHaveServer - 找不到要求的伺服器

  • 404 SensitivityLabelsSchemaNotFound - 找不到架構 {0}

  • 404 SensitivityLabelsTableNotFound - 在架構 {0} 找不到數據表 {1}

  • 404 SensitivityLabelsColumnNotFound - 在數據表 {0}中找不到數據行 {2}。{1}

  • 404 DatabaseDoesNotExist - 使用者已指定此伺服器實例上不存在的資料庫名稱。

  • 404 SensitivityLabelsLabelNotFound - 找不到指定的敏感度標籤

  • 501 SensitivityLabelRecommendedSourceNameNotSupported - 尚不支援「建議」敏感度卷標來源

  • 501 SensitivityLabelRecommendedSourceNameNotSupported - 尚不支援「建議」敏感度卷標來源

範例

Deletes the sensitivity label of a given column

範例要求

DELETE https://management.azure.com/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myRG/providers/Microsoft.Sql/servers/myServer/databases/myDatabase/schemas/dbo/tables/myTable/columns/myColumn/sensitivityLabels/current?api-version=2023-08-01

範例回覆

定義

名稱 Description
CurrentSensitivityLabelSource

敏感度標籤的來源。

ErrorAdditionalInfo

資源管理錯誤其他資訊。

ErrorDetail

錯誤詳細數據。

ErrorResponse

錯誤回應

CurrentSensitivityLabelSource

敏感度標籤的來源。

Description
current

ErrorAdditionalInfo

資源管理錯誤其他資訊。

名稱 類型 Description
info

object

其他資訊。

type

string

其他信息類型。

ErrorDetail

錯誤詳細數據。

名稱 類型 Description
additionalInfo

ErrorAdditionalInfo[]

錯誤其他資訊。

code

string

錯誤碼。

details

ErrorDetail[]

錯誤詳細數據。

message

string

錯誤訊息。

target

string

錯誤目標。

ErrorResponse

錯誤回應

名稱 類型 Description
error

ErrorDetail

error 物件。