Class DataMaskingRulesOperationsExtensions
Extension methods for DataMaskingRulesOperations.
Namespace: System.Dynamic.ExpandoObject
Assembly: Microsoft.Azure.Management.Sql.dll
Syntax
public static class DataMaskingRulesOperationsExtensions
Methods
CreateOrUpdate(IDataMaskingRulesOperations, String, String, String, String, DataMaskingRule)
Creates or updates a database data masking rule.
Declaration
public static Microsoft.Azure.Management.Sql.Models.DataMaskingRule CreateOrUpdate (this Microsoft.Azure.Management.Sql.IDataMaskingRulesOperations operations, string resourceGroupName, string serverName, string databaseName, string dataMaskingRuleName, Microsoft.Azure.Management.Sql.Models.DataMaskingRule parameters);
Parameters
|
IDataMaskingRulesOperations
operations
The operations group for this extension method. |
|
String
resourceGroupName
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. |
|
String
serverName
The name of the server. |
|
String
databaseName
The name of the database. |
|
String
dataMaskingRuleName
The name of the data masking rule. |
|
DataMaskingRule
parameters
The required parameters for creating or updating a data masking rule. |
Returns
|
DataMaskingRule
|
CreateOrUpdateAsync(IDataMaskingRulesOperations, String, String, String, String, DataMaskingRule, CancellationToken)
Creates or updates a database data masking rule.
Declaration
[System.Diagnostics.DebuggerStepThrough]
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.Models.DataMaskingRule> CreateOrUpdateAsync (this Microsoft.Azure.Management.Sql.IDataMaskingRulesOperations operations, string resourceGroupName, string serverName, string databaseName, string dataMaskingRuleName, Microsoft.Azure.Management.Sql.Models.DataMaskingRule parameters, System.Threading.CancellationToken cancellationToken = null);
Parameters
|
IDataMaskingRulesOperations
operations
The operations group for this extension method. |
|
String
resourceGroupName
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. |
|
String
serverName
The name of the server. |
|
String
databaseName
The name of the database. |
|
String
dataMaskingRuleName
The name of the data masking rule. |
|
DataMaskingRule
parameters
The required parameters for creating or updating a data masking rule. |
|
CancellationToken
cancellationToken
The cancellation token. |
Returns
|
Task<DataMaskingRule>
|
ListByDatabase(IDataMaskingRulesOperations, String, String, String)
Gets a list of database data masking rules.
Declaration
public static System.Collections.Generic.IEnumerable<Microsoft.Azure.Management.Sql.Models.DataMaskingRule> ListByDatabase (this Microsoft.Azure.Management.Sql.IDataMaskingRulesOperations operations, string resourceGroupName, string serverName, string databaseName);
Parameters
|
IDataMaskingRulesOperations
operations
The operations group for this extension method. |
|
String
resourceGroupName
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. |
|
String
serverName
The name of the server. |
|
String
databaseName
The name of the database. |
Returns
|
IEnumerable<DataMaskingRule>
|
ListByDatabaseAsync(IDataMaskingRulesOperations, String, String, String, CancellationToken)
Gets a list of database data masking rules.
Declaration
[System.Diagnostics.DebuggerStepThrough]
public static System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.Azure.Management.Sql.Models.DataMaskingRule>> ListByDatabaseAsync (this Microsoft.Azure.Management.Sql.IDataMaskingRulesOperations operations, string resourceGroupName, string serverName, string databaseName, System.Threading.CancellationToken cancellationToken = null);
Parameters
|
IDataMaskingRulesOperations
operations
The operations group for this extension method. |
|
String
resourceGroupName
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. |
|
String
serverName
The name of the server. |
|
String
databaseName
The name of the database. |
|
CancellationToken
cancellationToken
The cancellation token. |
Returns
|
Task<IEnumerable<DataMaskingRule>>
|