DataMaskingPolicy Class
Represents a database data masking policy.
Variables are only populated by the server, and will be ignored when sending a request.
- Inheritance
-
azure.mgmt.sql.models._models_py3.ProxyResourceDataMaskingPolicy
Constructor
DataMaskingPolicy(*, data_masking_state: str | DataMaskingState | None = None, exempt_principals: str | None = None, **kwargs)
Parameters
Name | Description |
---|---|
data_masking_state
Required
|
The state of the data masking policy. Possible values include: "Disabled", "Enabled". |
exempt_principals
Required
|
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. |
Keyword-Only Parameters
Name | Description |
---|---|
data_masking_state
Required
|
|
exempt_principals
Required
|
|
Variables
Name | Description |
---|---|
id
|
Resource ID. |
name
|
Resource name. |
type
|
Resource type. |
location
|
The location of the data masking policy. |
kind
|
The kind of data masking policy. Metadata, used for Azure portal. |
application_principals
|
The list of the application principals. This is a legacy parameter and is no longer used. |
masking_level
|
The masking level. This is a legacy parameter and is no longer used. |
Azure SDK for Python