DataMaskingRule Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a database data masking rule.
[Microsoft.Rest.Serialization.JsonTransformation]
public class DataMaskingRule : Microsoft.Azure.Management.Sql.Models.ProxyResource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type DataMaskingRule = class
inherit ProxyResource
Public Class DataMaskingRule
Inherits ProxyResource
- Inheritance
- Attributes
Constructors
DataMaskingRule() |
Initializes a new instance of the DataMaskingRule class. |
DataMaskingRule(String, String, String, DataMaskingFunction, String, String, String, String, String, Nullable<DataMaskingRuleState>, String, String, String, String, String, String, String) |
Initializes a new instance of the DataMaskingRule class. |
Properties
AliasName |
Gets or sets the alias name. This is a legacy parameter and is no longer used. |
ColumnName |
Gets or sets the column name on which the data masking rule is applied. |
DataMaskingRuleId |
Gets the rule Id. |
Id |
Gets resource ID. (Inherited from Resource) |
Kind |
Gets the kind of Data Masking Rule. Metadata, used for Azure portal. |
Location |
Gets the location of the data masking rule. |
MaskingFunction |
Gets or sets the masking function that is used for the data masking rule. Possible values include: 'Default', 'CCN', 'Email', 'Number', 'SSN', 'Text' |
Name |
Gets resource name. (Inherited from Resource) |
NumberFrom |
Gets or sets the numberFrom property of the masking rule. Required if maskingFunction is set to Number, otherwise this parameter will be ignored. |
NumberTo |
Gets or sets the numberTo property of the data masking rule. Required if maskingFunction is set to Number, otherwise this parameter will be ignored. |
PrefixSize |
Gets or sets 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 |
Gets or sets if maskingFunction is set to Text, the character to use for masking the unexposed part of the string. Otherwise, this parameter will be ignored. |
RuleState |
Gets or sets 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. Possible values include: 'Disabled', 'Enabled' |
SchemaName |
Gets or sets the schema name on which the data masking rule is applied. |
SuffixSize |
Gets or sets 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 |
Gets or sets the table name on which the data masking rule is applied. |
Type |
Gets resource type. (Inherited from Resource) |
Methods
Validate() |
Validate the object. |