Package version:

Interface DataMaskingRule

Represents a database data masking rule.

Hierarchy

Properties

aliasName?: string

The alias name. This is a legacy parameter and is no longer used.

columnName?: string

The column name on which the data masking rule is applied.

id?: string

Resource ID. NOTE: This property will not be serialized. It can only be populated by the server.

idPropertiesId?: string

The rule Id. NOTE: This property will not be serialized. It can only be populated by the server.

kind?: string

The kind of Data Masking Rule. Metadata, used for Azure portal. NOTE: This property will not be serialized. It can only be populated by the server.

location?: string

The location of the data masking rule. NOTE: This property will not be serialized. It can only be populated by the server.

maskingFunction?: DataMaskingFunction

The masking function that is used for the data masking rule.

name?: string

Resource name. NOTE: This property will not be serialized. It can only be populated by the server.

numberFrom?: string

The numberFrom property of the masking rule. Required if maskingFunction is set to Number, otherwise this parameter will be ignored.

numberTo?: string

The numberTo property of the data masking rule. Required if maskingFunction is set to Number, otherwise this parameter will be ignored.

prefixSize?: string

If maskingFunction is set to Text, the number of characters to show unmasked in the beginning of the string. Otherwise, this parameter will be ignored.

replacementString?: string

If maskingFunction is set to Text, the character to use for masking the unexposed part of the string. Otherwise, this parameter will be ignored.

The rule state. Used to delete a rule. To delete an existing rule, specify the schemaName, tableName, columnName, maskingFunction, and specify ruleState as disabled. However, if the rule doesn't already exist, the rule will be created with ruleState set to enabled, regardless of the provided value of ruleState.

schemaName?: string

The schema name on which the data masking rule is applied.

suffixSize?: string

If maskingFunction is set to Text, the number of characters to show unmasked at the end of the string. Otherwise, this parameter will be ignored.

tableName?: string

The table name on which the data masking rule is applied.

type?: string

Resource type. NOTE: This property will not be serialized. It can only be populated by the server.

Generated using TypeDoc