C# Class Microsoft.Azure.Commands.Sql.DataMasking.Cmdlet.SetAzureSqlDatabaseDataMaskingRule

Inheritance: BuildAzureSqlDatabaseDataMaskingRule
Datei anzeigen Open project: Azure/azure-powershell

Private Properties

Property Type Description

Protected Methods

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

Returns a new data masking rule model

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

Updates the data masking rule that this cmdlet operated in the list of rules of this database

ValidateOperation ( IEnumerable rules ) : string

An additional validation to see that a rule with the user provided Id already exists.

Method Details

GetRule() protected method

Returns a new data masking rule model
protected GetRule ( IEnumerable rules ) : Microsoft.Azure.Commands.Sql.DataMasking.Model.DatabaseDataMaskingRuleModel
rules IEnumerable The database's data masking rules
return Microsoft.Azure.Commands.Sql.DataMasking.Model.DatabaseDataMaskingRuleModel

UpdateRuleList() protected method

Updates the data masking rule that this cmdlet operated in the list of rules of this database
protected UpdateRuleList ( IEnumerable rules, Microsoft.Azure.Commands.Sql.DataMasking.Model.DatabaseDataMaskingRuleModel rule ) : IEnumerable
rules IEnumerable The data masking rules already defined for this database
rule Microsoft.Azure.Commands.Sql.DataMasking.Model.DatabaseDataMaskingRuleModel The rule that this cmdlet operated on
return IEnumerable

ValidateOperation() protected method

An additional validation to see that a rule with the user provided Id already exists.
protected ValidateOperation ( IEnumerable rules ) : string
rules IEnumerable The rule the cmdlet operates on
return string