Skip to main content

managed_database_sensitivity_labels_current_by_databases

Creates, updates, deletes, gets or lists a managed_database_sensitivity_labels_current_by_databases resource.

Overview

Namemanaged_database_sensitivity_labels_current_by_databases
TypeResource
Idazure.sql.managed_database_sensitivity_labels_current_by_databases

Fields

NameDatatypeDescription
managedBystringResource that manages the sensitivity label.
propertiesobjectProperties of a sensitivity label.

Methods

NameAccessible byRequired ParamsDescription
listSELECTdatabaseName, managedInstanceName, resourceGroupName, subscriptionIdGets 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 }}';