Interface DataMaskingRule


public interface DataMaskingRule
An immutable client-side representation of DataMaskingRule.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    The entirety of the DataMaskingRule definition.
    static interface 
    The DataMaskingRule definition stages.
    static interface 
    The template for DataMaskingRule update.
    static interface 
    The DataMaskingRule update stages.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the aliasName property: The alias name.
    Gets the columnName property: The column name on which the data masking rule is applied.
    id()
    Gets the id property: Fully qualified resource Id for the resource.
    Gets the idPropertiesId property: The rule Id.
    Gets the inner com.azure.resourcemanager.synapse.fluent.models.DataMaskingRuleInner object.
    Gets the kind property: The kind of Data Masking Rule.
    Gets the location property: The location of the data masking rule.
    Gets the maskingFunction property: The masking function that is used for the data masking rule.
    Gets the name property: The name of the resource.
    Gets the numberFrom property: The numberFrom property of the masking rule.
    Gets the numberTo property: The numberTo property of the data masking rule.
    Gets the prefixSize property: If maskingFunction is set to Text, the number of characters to show unmasked in the beginning of the string.
    Refreshes the resource to sync with Azure.
    refresh(com.azure.core.util.Context context)
    Refreshes the resource to sync with Azure.
    com.azure.core.management.Region
    Gets the region of the resource.
    Gets the name of the resource region.
    Gets the replacementString property: If maskingFunction is set to Text, the character to use for masking the unexposed part of the string.
    Gets the name of the resource group.
    Gets the ruleState property: The rule state.
    Gets the schemaName property: The schema name on which the data masking rule is applied.
    Gets the suffixSize property: If maskingFunction is set to Text, the number of characters to show unmasked at the end of the string.
    Gets the tableName property: The table name on which the data masking rule is applied.
    Gets the type property: The type of the resource.
    Begins update for the DataMaskingRule resource.
  • Method Details

    • id

      String id()
      Gets the id property: Fully qualified resource Id for the resource.
      Returns:
      the id value.
    • name

      String name()
      Gets the name property: The name of the resource.
      Returns:
      the name value.
    • type

      String type()
      Gets the type property: The type of the resource.
      Returns:
      the type value.
    • location

      String location()
      Gets the location property: The location of the data masking rule.
      Returns:
      the location value.
    • kind

      String kind()
      Gets the kind property: The kind of Data Masking Rule. Metadata, used for Azure portal.
      Returns:
      the kind value.
    • idPropertiesId

      String idPropertiesId()
      Gets the idPropertiesId property: The rule Id.
      Returns:
      the idPropertiesId value.
    • aliasName

      String aliasName()
      Gets the aliasName property: The alias name. This is a legacy parameter and is no longer used.
      Returns:
      the aliasName value.
    • 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:
      the ruleState value.
    • schemaName

      String schemaName()
      Gets the schemaName property: The schema name on which the data masking rule is applied.
      Returns:
      the schemaName value.
    • tableName

      String tableName()
      Gets the tableName property: The table name on which the data masking rule is applied.
      Returns:
      the tableName value.
    • columnName

      String columnName()
      Gets the columnName property: The column name on which the data masking rule is applied.
      Returns:
      the columnName value.
    • maskingFunction

      DataMaskingFunction maskingFunction()
      Gets the maskingFunction property: The masking function that is used for the data masking rule.
      Returns:
      the maskingFunction value.
    • numberFrom

      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:
      the numberFrom value.
    • numberTo

      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:
      the numberTo value.
    • prefixSize

      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:
      the prefixSize value.
    • suffixSize

      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:
      the suffixSize value.
    • replacementString

      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:
      the replacementString value.
    • region

      com.azure.core.management.Region region()
      Gets the region of the resource.
      Returns:
      the region of the resource.
    • regionName

      String regionName()
      Gets the name of the resource region.
      Returns:
      the name of the resource region.
    • resourceGroupName

      String resourceGroupName()
      Gets the name of the resource group.
      Returns:
      the name of the resource group.
    • innerModel

      DataMaskingRuleInner innerModel()
      Gets the inner com.azure.resourcemanager.synapse.fluent.models.DataMaskingRuleInner object.
      Returns:
      the inner object.
    • update

      Begins update for the DataMaskingRule resource.
      Returns:
      the stage of resource update.
    • refresh

      DataMaskingRule refresh()
      Refreshes the resource to sync with Azure.
      Returns:
      the refreshed resource.
    • refresh

      DataMaskingRule refresh(com.azure.core.util.Context context)
      Refreshes the resource to sync with Azure.
      Parameters:
      context - The context to associate with this operation.
      Returns:
      the refreshed resource.