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

Inheritance: BuildAzureSqlDatabaseDataMaskingRule
Afficher le fichier Open project: Azure/azure-powershell

Private Properties

Свойство Type Description

Méthodes protégées

Méthode Description
GetEntity ( ) : IEnumerable

Provides the model element that this cmdlet operates on

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

Adds the data masking rule that this cmdlet operated on to the list of rules of this database

ValidateOperation ( IEnumerable rules ) : string

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

Method Details

GetEntity() protected méthode

Provides the model element that this cmdlet operates on
protected GetEntity ( ) : IEnumerable
Résultat IEnumerable

GetRule() protected méthode

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
Résultat Microsoft.Azure.Commands.Sql.DataMasking.Model.DatabaseDataMaskingRuleModel

UpdateRuleList() protected méthode

Adds the data masking rule that this cmdlet operated on to 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
Résultat IEnumerable

ValidateOperation() protected méthode

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