Dela via


DataMaskingRule Constructors

Definition

Overloads

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.

DataMaskingRule()

Initializes a new instance of the DataMaskingRule class.

public DataMaskingRule ();
Public Sub New ()

Applies to

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.

public DataMaskingRule (string schemaName, string tableName, string columnName, Microsoft.Azure.Management.Synapse.Models.DataMaskingFunction maskingFunction, string id = default, string name = default, string type = default, string dataMaskingRuleId = default, string aliasName = default, Microsoft.Azure.Management.Synapse.Models.DataMaskingRuleState? ruleState = default, string numberFrom = default, string numberTo = default, string prefixSize = default, string suffixSize = default, string replacementString = default, string location = default, string kind = default);
new Microsoft.Azure.Management.Synapse.Models.DataMaskingRule : string * string * string * Microsoft.Azure.Management.Synapse.Models.DataMaskingFunction * string * string * string * string * string * Nullable<Microsoft.Azure.Management.Synapse.Models.DataMaskingRuleState> * string * string * string * string * string * string * string -> Microsoft.Azure.Management.Synapse.Models.DataMaskingRule
Public Sub New (schemaName As String, tableName As String, columnName As String, maskingFunction As DataMaskingFunction, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional dataMaskingRuleId As String = Nothing, Optional aliasName As String = Nothing, Optional ruleState As Nullable(Of DataMaskingRuleState) = Nothing, Optional numberFrom As String = Nothing, Optional numberTo As String = Nothing, Optional prefixSize As String = Nothing, Optional suffixSize As String = Nothing, Optional replacementString As String = Nothing, Optional location As String = Nothing, Optional kind As String = Nothing)

Parameters

schemaName
String

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

tableName
String

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

columnName
String

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

maskingFunction
DataMaskingFunction

The masking function that is used for the data masking rule. Possible values include: 'Default', 'CCN', 'Email', 'Number', 'SSN', 'Text'

id
String

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

name
String

The name of the resource

type
String

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

dataMaskingRuleId
String

The rule Id.

aliasName
String

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

ruleState
Nullable<DataMaskingRuleState>

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'

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.

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.

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.

location
String

The location of the data masking rule.

kind
String

The kind of Data Masking Rule. Metadata, used for Azure portal.

Applies to