Share via


DataMaskingPolicy Class

Represents a database data masking policy.

Variables are only populated by the server, and will be ignored when sending a request.

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
Default value: None
exempt_principals
Default value: None

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.