C# Класс Microsoft.Azure.Commands.Sql.DataMasking.Cmdlet.BuildAzureSqlDatabaseDataMaskingRule

Base for creation and update of data masking rule.
Наследование: SqlDatabaseDataMaskingRuleCmdletBase
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
ModelizeMaskingFunction MaskingFunction

Защищенные методы

Метод Описание
ApplyUserInputToModel ( IEnumerable rules ) : IEnumerable

Updates the given model element with the cmdlet specific operation

GetRule ( IEnumerable rules ) : Microsoft.Azure.Commands.Sql.DataMasking.Model.DatabaseDataMaskingRuleModel

Returns the rule that this cmdlet operates on

PersistChanges ( IEnumerable rules ) : IEnumerable

This method is responsible to call the right API in the communication layer that will eventually send the information in the object to the REST endpoint

UpdateRule ( Microsoft.Azure.Commands.Sql.DataMasking.Model.DatabaseDataMaskingRuleModel rule ) : Microsoft.Azure.Commands.Sql.DataMasking.Model.DatabaseDataMaskingRuleModel

Update the rule this cmdlet is operating on based on the values provided by the user

UpdateRuleList ( IEnumerable rules, Microsoft.Azure.Commands.Sql.DataMasking.Model.DatabaseDataMaskingRuleModel rule ) : IEnumerable

Update the rule that this cmdlet operates on based on the user provided values

ValidateOperation ( IEnumerable rules ) : string

An additional validation hook for inheriting classes to provide specific validation.

WriteResult ( ) : bool

Returns true if the model object that was constructed by this cmdlet should be written out

Приватные методы

Метод Описание
ModelizeMaskingFunction ( ) : MaskingFunction

Transforms the user given data masking function to its model representation

Описание методов

ApplyUserInputToModel() защищенный Метод

Updates the given model element with the cmdlet specific operation
protected ApplyUserInputToModel ( IEnumerable rules ) : IEnumerable
rules IEnumerable
Результат IEnumerable

GetRule() защищенный абстрактный Метод

Returns the rule that this cmdlet operates on
protected abstract GetRule ( IEnumerable rules ) : Microsoft.Azure.Commands.Sql.DataMasking.Model.DatabaseDataMaskingRuleModel
rules IEnumerable All the data masking rules of the database
Результат Microsoft.Azure.Commands.Sql.DataMasking.Model.DatabaseDataMaskingRuleModel

PersistChanges() защищенный Метод

This method is responsible to call the right API in the communication layer that will eventually send the information in the object to the REST endpoint
protected PersistChanges ( IEnumerable rules ) : IEnumerable
rules IEnumerable
Результат IEnumerable

UpdateRule() защищенный Метод

Update the rule this cmdlet is operating on based on the values provided by the user
protected UpdateRule ( Microsoft.Azure.Commands.Sql.DataMasking.Model.DatabaseDataMaskingRuleModel rule ) : Microsoft.Azure.Commands.Sql.DataMasking.Model.DatabaseDataMaskingRuleModel
rule Microsoft.Azure.Commands.Sql.DataMasking.Model.DatabaseDataMaskingRuleModel The rule this cmdlet operates on
Результат Microsoft.Azure.Commands.Sql.DataMasking.Model.DatabaseDataMaskingRuleModel

UpdateRuleList() защищенный абстрактный Метод

Update the rule that this cmdlet operates on based on the user provided values
protected abstract UpdateRuleList ( IEnumerable rules, Microsoft.Azure.Commands.Sql.DataMasking.Model.DatabaseDataMaskingRuleModel rule ) : IEnumerable
rules IEnumerable The data masking rules of the database
rule Microsoft.Azure.Commands.Sql.DataMasking.Model.DatabaseDataMaskingRuleModel The rule that this cmdlet operates on
Результат IEnumerable

ValidateOperation() защищенный абстрактный Метод

An additional validation hook for inheriting classes to provide specific validation.
protected abstract ValidateOperation ( IEnumerable rules ) : string
rules IEnumerable The rule the cmdlet operates on
Результат string

WriteResult() защищенный Метод

Returns true if the model object that was constructed by this cmdlet should be written out
protected WriteResult ( ) : bool
Результат bool