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.ProxyResource
DataMaskingPolicy

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
str

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
str

Resource ID.

name
str

Resource name.

type
str

Resource type.

location
str

The location of the data masking policy.

kind
str

The kind of data masking policy. Metadata, used for Azure portal.

application_principals
str

The list of the application principals. This is a legacy parameter and is no longer used.

masking_level
str

The masking level. This is a legacy parameter and is no longer used.