ArmSynapseModelFactory.SynapseDataMaskingRuleData Method
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.
Initializes a new instance of SynapseDataMaskingRuleData.
public static Azure.ResourceManager.Synapse.SynapseDataMaskingRuleData SynapseDataMaskingRuleData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.Core.AzureLocation? location = default, string kind = default, string ruleId = default, string aliasName = default, Azure.ResourceManager.Synapse.Models.SynapseDataMaskingRuleState? ruleState = default, string schemaName = default, string tableName = default, string columnName = default, Azure.ResourceManager.Synapse.Models.SynapseDataMaskingFunction? maskingFunction = default, string numberFrom = default, string numberTo = default, string prefixSize = default, string suffixSize = default, string replacementString = default);
static member SynapseDataMaskingRuleData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.Core.AzureLocation> * string * string * string * Nullable<Azure.ResourceManager.Synapse.Models.SynapseDataMaskingRuleState> * string * string * string * Nullable<Azure.ResourceManager.Synapse.Models.SynapseDataMaskingFunction> * string * string * string * string * string -> Azure.ResourceManager.Synapse.SynapseDataMaskingRuleData
Public Shared Function SynapseDataMaskingRuleData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional location As Nullable(Of AzureLocation) = Nothing, Optional kind As String = Nothing, Optional ruleId As String = Nothing, Optional aliasName As String = Nothing, Optional ruleState As Nullable(Of SynapseDataMaskingRuleState) = Nothing, Optional schemaName As String = Nothing, Optional tableName As String = Nothing, Optional columnName As String = Nothing, Optional maskingFunction As Nullable(Of SynapseDataMaskingFunction) = 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) As SynapseDataMaskingRuleData
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- location
- Nullable<AzureLocation>
The location of the data masking rule.
- kind
- String
The kind of Data Masking Rule. Metadata, used for Azure portal.
- ruleId
- String
The rule Id.
- aliasName
- String
The alias name. This is a legacy parameter and is no longer used.
- ruleState
- Nullable<SynapseDataMaskingRuleState>
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.
- 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
- Nullable<SynapseDataMaskingFunction>
The masking function that is used for the data masking rule.
- 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.
Returns
A new SynapseDataMaskingRuleData instance for mocking.
Applies to
Azure SDK for .NET