The workspaces/sqlPools/dataMaskingPolicies resource type can be deployed with operations that target:
For a list of changed properties in each API version, see change log.
To create a Microsoft.Synapse/workspaces/sqlPools/dataMaskingPolicies resource, add the following JSON to your template.
{
"type": "Microsoft.Synapse/workspaces/sqlPools/dataMaskingPolicies",
"apiVersion": "2021-06-01",
"name": "Default",
"properties": {
"dataMaskingState": "string",
"exemptPrincipals": "string"
}
}
Name | Description | Value |
---|---|---|
type | The resource type | 'Microsoft.Synapse/workspaces/sqlPools/dataMaskingPolicies' |
apiVersion | The resource api version | '2021-06-01' |
name | The resource name See how to set names and types for child resources in JSON ARM templates. |
'Default' |
properties | The properties of the data masking policy. | DataMaskingPolicyProperties |
Name | Description | Value |
---|---|---|
dataMaskingState | The state of the data masking policy. | 'Disabled' 'Enabled' (required) |
exemptPrincipals | The list of the exempt principals. Specifies the semicolon-separated list of database users for which the data masking policy does not apply. The specified users receive data results without masking for all of the database queries. | string |