sensitivity_labels_current_by_databases
Creates, updates, deletes, gets or lists a sensitivity_labels_current_by_databases
resource.
Overview
Name | sensitivity_labels_current_by_databases |
Type | Resource |
Id | azure.sql.sensitivity_labels_current_by_databases |
Fields
Name | Datatype | Description |
---|---|---|
managedBy | string | Resource that manages the sensitivity label. |
properties | object | Properties of a sensitivity label. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
list | SELECT | databaseName, resourceGroupName, serverName, subscriptionId | Gets the sensitivity labels of a given database |
SELECT
examples
Gets the sensitivity labels of a given database
SELECT
managedBy,
properties
FROM azure.sql.sensitivity_labels_current_by_databases
WHERE databaseName = '{{ databaseName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND serverName = '{{ serverName }}'
AND subscriptionId = '{{ subscriptionId }}';