managed_database_sensitivity_labels_current_by_databases
Creates, updates, deletes, gets or lists a managed_database_sensitivity_labels_current_by_databases
resource.
Overview
Name | managed_database_sensitivity_labels_current_by_databases |
Type | Resource |
Id | azure.sql.managed_database_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, managedInstanceName, resourceGroupName, 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.managed_database_sensitivity_labels_current_by_databases
WHERE databaseName = '{{ databaseName }}'
AND managedInstanceName = '{{ managedInstanceName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';