C# 클래스 Microsoft.Azure.Commands.Sql.DataMasking.Cmdlet.BuildAzureSqlDatabaseDataMaskingRule

Base for creation and update of data masking rule.
상속: SqlDatabaseDataMaskingRuleCmdletBase
파일 보기 프로젝트 열기: Azure/azure-powershell

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