Skip to main content

recommended_sensitivity_labels

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

Overview

Namerecommended_sensitivity_labels
TypeResource
Idazure.sql.recommended_sensitivity_labels

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
updateupdateresourceGroupName, serverName, databaseName, subscriptionIdUpdate recommended sensitivity labels states of a given database using an operations batch.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
databaseNamestringThe name of the database.
resourceGroupNamestringThe name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverNamestringThe name of the server.
subscriptionIdstringThe subscription ID that identifies an Azure subscription.

UPDATE examples

Update recommended sensitivity labels states of a given database using an operations batch.

UPDATE azure.sql.recommended_sensitivity_labels
SET
data__operations = '{{ operations }}'
WHERE
resourceGroupName = '{{ resourceGroupName }}' --required
AND serverName = '{{ serverName }}' --required
AND databaseName = '{{ databaseName }}' --required
AND subscriptionId = '{{ subscriptionId }}' --required;