managed_database_recommended_sensitivity_labels
Creates, updates, deletes, gets or lists a managed_database_recommended_sensitivity_labels resource.
Overview
| Name | managed_database_recommended_sensitivity_labels |
| Type | Resource |
| Id | azure.sql.managed_database_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:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
update | update | resource_group_name, managed_instance_name, database_name, subscription_id | Update 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.
| Name | Datatype | Description |
|---|---|---|
database_name | string | The name of the database. Required. |
managed_instance_name | string | The name of the managed instance. Required. |
resource_group_name | string | The name of the resource group. The name is case insensitive. Required. |
subscription_id | string |
UPDATE examples
- update
Update recommended sensitivity labels states of a given database using an operations batch.
UPDATE azure.sql.managed_database_recommended_sensitivity_labels
SET
operations = '{{ operations }}'
WHERE
resource_group_name = '{{ resource_group_name }}' --required
AND managed_instance_name = '{{ managed_instance_name }}' --required
AND database_name = '{{ database_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required;