DataMaskingRule Interface
public interface DataMaskingRule
An immutable client-side representation of DataMaskingRule.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract String |
aliasName()
Gets the alias |
abstract String |
columnName()
Gets the column |
abstract String |
id()
Gets the id property: Fully qualified resource Id for the resource. |
abstract String |
idPropertiesId()
Gets the id |
abstract
Data |
innerModel()
Gets the inner com. |
abstract String |
kind()
Gets the kind property: The kind of Data Masking Rule. |
abstract String |
location()
Gets the location property: The location of the data masking rule. |
abstract
Data |
maskingFunction()
Gets the masking |
abstract String |
name()
Gets the name property: The name of the resource. |
abstract String |
numberFrom()
Gets the number |
abstract String |
numberTo()
Gets the number |
abstract String |
prefixSize()
Gets the prefix |
abstract
Data |
refresh()
Refreshes the resource to sync with Azure. |
abstract
Data |
refresh(Context context)
Refreshes the resource to sync with Azure. |
abstract Region |
region()
Gets the region of the resource. |
abstract String |
regionName()
Gets the name of the resource region. |
abstract String |
replacementString()
Gets the replacement |
abstract String |
resourceGroupName()
Gets the name of the resource group. |
abstract
Data |
ruleState()
Gets the rule |
abstract String |
schemaName()
Gets the schema |
abstract String |
suffixSize()
Gets the suffix |
abstract String |
tableName()
Gets the table |
abstract String |
type()
Gets the type property: The type of the resource. |
abstract Update |
update()
Begins update for the Data |
Method Details
aliasName
public abstract String aliasName()
Gets the aliasName property: The alias name. This is a legacy parameter and is no longer used.
Returns:
columnName
public abstract String columnName()
Gets the columnName property: The column name on which the data masking rule is applied.
Returns:
id
public abstract String id()
Gets the id property: Fully qualified resource Id for the resource.
Returns:
idPropertiesId
public abstract String idPropertiesId()
Gets the idPropertiesId property: The rule Id.
Returns:
innerModel
public abstract DataMaskingRuleInner innerModel()
Gets the inner com.azure.resourcemanager.synapse.fluent.models.DataMaskingRuleInner object.
Returns:
kind
public abstract String kind()
Gets the kind property: The kind of Data Masking Rule. Metadata, used for Azure portal.
Returns:
location
public abstract String location()
Gets the location property: The location of the data masking rule.
Returns:
maskingFunction
public abstract DataMaskingFunction maskingFunction()
Gets the maskingFunction property: The masking function that is used for the data masking rule.
Returns:
name
public abstract String name()
Gets the name property: The name of the resource.
Returns:
numberFrom
public abstract String numberFrom()
Gets the numberFrom property: The numberFrom property of the masking rule. Required if maskingFunction is set to Number, otherwise this parameter will be ignored.
Returns:
numberTo
public abstract String numberTo()
Gets the numberTo property: The numberTo property of the data masking rule. Required if maskingFunction is set to Number, otherwise this parameter will be ignored.
Returns:
prefixSize
public abstract String prefixSize()
Gets the prefixSize property: 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.
Returns:
refresh
public abstract DataMaskingRule refresh()
Refreshes the resource to sync with Azure.
Returns:
refresh
public abstract DataMaskingRule refresh(Context context)
Refreshes the resource to sync with Azure.
Parameters:
Returns:
region
public abstract Region region()
Gets the region of the resource.
Returns:
regionName
public abstract String regionName()
Gets the name of the resource region.
Returns:
replacementString
public abstract String replacementString()
Gets the replacementString property: 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:
resourceGroupName
public abstract String resourceGroupName()
Gets the name of the resource group.
Returns:
ruleState
public abstract DataMaskingRuleState ruleState()
Gets the ruleState property: 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.
Returns:
schemaName
public abstract String schemaName()
Gets the schemaName property: The schema name on which the data masking rule is applied.
Returns:
suffixSize
public abstract String suffixSize()
Gets the suffixSize property: 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.
Returns:
tableName
public abstract String tableName()
Gets the tableName property: The table name on which the data masking rule is applied.
Returns:
type
public abstract String type()
Gets the type property: The type of the resource.
Returns:
update
public abstract DataMaskingRule.Update update()
Begins update for the DataMaskingRule resource.
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for