Condividi tramite


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 | _models.DataMaskingState | None = None, exempt_principals: str | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
data_masking_state

The state of the data masking policy. Known values are: "Disabled" and "Enabled".

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

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.

data_masking_state

The state of the data masking policy. Known values are: "Disabled" and "Enabled".

exempt_principals
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.

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.