Megosztás a következőn keresztül:


Sql Pool Sensitivity Labels - List Current

Lekéri az SQL-készlet bizalmassági címkéit.

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/currentSensitivityLabels?api-version=2021-06-01
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/currentSensitivityLabels?api-version=2021-06-01&$filter={$filter}

URI-paraméterek

Name In Kötelező Típus Description
resourceGroupName
path True

string

minLength: 1
maxLength: 90

Az erőforráscsoport neve. A név nem megkülönbözteti a kis- és nagybetűket.

sqlPoolName
path True

string

SQL-készlet neve

subscriptionId
path True

string

minLength: 1

A cél-előfizetés azonosítója.

workspaceName
path True

string

A munkaterület neve.

api-version
query True

string

minLength: 1

A művelethez használni kívánt API-verzió.

$filter
query

string

OData szűrőkifejezés, amely a gyűjtemény elemeit szűri.

Válaszok

Name Típus Description
200 OK

SensitivityLabelListResult

OKÉ

Other Status Codes

ErrorResponse

Példák

Gets the current sensitivity labels of a given SQL Analytics pool

Mintakérelem

GET https://management.azure.com/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myRG/providers/Microsoft.Synapse/workspaces/myServer/sqlPools/myDatabase/currentSensitivityLabels?api-version=2021-06-01

Mintaválasz

{
  "value": [
    {
      "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myRG/providers/Microsoft.Synapse/workspaces/myServer/sqlPools/myDatabase/schemas/dbo/tables/myTable/columns/myColumn3/sensitivityLabels/current",
      "name": "current",
      "type": "Microsoft.Synapse/workspaces/sqlPools/schemas/tables/columns/sensitivityLabels",
      "properties": {
        "informationType": "Financial",
        "informationTypeId": "d22fa6e9-5ee4-3bde-4c2b-a409604c4646",
        "labelId": "05e6eaa1-075a-4fb4-a732-a92215a2444a",
        "labelName": "Sensitive"
      }
    },
    {
      "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myRG/providers/Microsoft.Synapse/workspaces/myServer/sqlPools/myDatabase/schemas/dbo/tables/myTable/columns/myColumn4/sensitivityLabels/current",
      "name": "current",
      "type": "Microsoft.Synapse/workspaces/sqlPools/schemas/tables/columns/sensitivityLabels",
      "properties": {
        "informationType": "Email",
        "informationTypeId": "d22fa6e9-5ee4-3bde-4c2b-a409604c4646",
        "labelId": "bf91e08c-f4f0-478a-b016-25164b2a65ff",
        "labelName": "PII"
      }
    }
  ]
}

Definíciók

Name Description
ErrorAdditionalInfo

Az erőforrás-kezelési hiba további információi.

ErrorDetail

A hiba részletei.

ErrorResponse

Hibaválasz

SensitivityLabel

Bizalmassági címke.

SensitivityLabelListResult

A bizalmassági címkék listája.

SensitivityLabelRank

ErrorAdditionalInfo

Az erőforrás-kezelési hiba további információi.

Name Típus Description
info

object

A további információk.

type

string

A további információtípus.

ErrorDetail

A hiba részletei.

Name Típus Description
additionalInfo

ErrorAdditionalInfo[]

A hiba további információi.

code

string

A hibakód.

details

ErrorDetail[]

A hiba részletei.

message

string

A hibaüzenet.

target

string

A hibacél.

ErrorResponse

Hibaválasz

Name Típus Description
error

ErrorDetail

A hibaobjektum.

SensitivityLabel

Bizalmassági címke.

Name Típus Description
id

string

Az erőforrás teljes erőforrás-azonosítója. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

managedBy

string

felügyelte:

name

string

Az erőforrás neve

properties.columnName

string

Az oszlop neve.

properties.informationType

string

Az információ típusa.

properties.informationTypeId

string

Az információtípus azonosítója.

properties.isDisabled

boolean

A bizalmassági javaslat le van tiltva. Csak az ajánlott bizalmassági címke esetén alkalmazható. Megadja, hogy az oszlop bizalmassági ajánlása le van-e tiltva (elvetve) vagy sem.

properties.labelId

string

A címke azonosítója.

properties.labelName

string

A címke neve.

properties.rank

SensitivityLabelRank

properties.schemaName

string

A séma neve.

properties.tableName

string

A tábla neve.

type

string

Az erőforrás típusa. Pl. "Microsoft.Compute/virtualMachines" vagy "Microsoft.Storage/storageAccounts"

SensitivityLabelListResult

A bizalmassági címkék listája.

Name Típus Description
nextLink

string

Hivatkozás az eredmények következő oldalának lekéréséhez.

value

SensitivityLabel[]

Eredménytömb.

SensitivityLabelRank

Érték Description
Critical
High
Low
Medium
None