Skip to main content

sensitivity_settings

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

Overview

Namesensitivity_settings
TypeResource
Idazure.security.sensitivity_settings

Fields

The following fields are returned by SELECT queries:

Success of the sensitivity settings get

NameDatatypeDescription
idstringThe ID of the sensitivity settings
namestringThe name of the sensitivity settings
propertiesobjectThe sensitivity settings properties
typestringThe type of the sensitivity settings

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectapi-versionGets data sensitivity settings for sensitive data discovery
listselectapi-versionGets a list with a single sensitivity settings resource
create_or_updateinsertdata__sensitiveInfoTypesIdsapi-versionCreate or update data sensitivity settings for sensitive data discovery

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
api-versionstringAPI version for the operation

SELECT examples

Gets data sensitivity settings for sensitive data discovery

SELECT
id,
name,
properties,
type
FROM azure.security.sensitivity_settings
WHERE api-version = '{{ api-version }}'
;

INSERT examples

Create or update data sensitivity settings for sensitive data discovery

INSERT INTO azure.security.sensitivity_settings (
data__sensitiveInfoTypesIds,
data__sensitivityThresholdLabelOrder,
data__sensitivityThresholdLabelId,
api-version
)
SELECT
'{{ sensitiveInfoTypesIds }}' /* required */,
{{ sensitivityThresholdLabelOrder }},
'{{ sensitivityThresholdLabelId }}',
'{{ api-version }}'
RETURNING
id,
name,
properties,
type
;