DataMaskingRules interface

Interface representing a DataMaskingRules.

Methods

createOrUpdate(string, string, string, string, DataMaskingRule, DataMaskingRulesCreateOrUpdateOptionalParams)

Creates or updates a database data masking rule.

listByDatabase(string, string, string, DataMaskingRulesListByDatabaseOptionalParams)

Gets a list of database data masking rules.

Method Details

createOrUpdate(string, string, string, string, DataMaskingRule, DataMaskingRulesCreateOrUpdateOptionalParams)

Creates or updates a database data masking rule.

function createOrUpdate(resourceGroupName: string, serverName: string, databaseName: string, dataMaskingRuleName: string, parameters: DataMaskingRule, options?: DataMaskingRulesCreateOrUpdateOptionalParams): Promise<DataMaskingRule>

Parameters

resourceGroupName

string

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

serverName

string

The name of the server.

databaseName

string

The name of the database.

dataMaskingRuleName

string

The name of the data masking rule.

parameters
DataMaskingRule

The required parameters for creating or updating a data masking rule.

options
DataMaskingRulesCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<DataMaskingRule>

listByDatabase(string, string, string, DataMaskingRulesListByDatabaseOptionalParams)

Gets a list of database data masking rules.

function listByDatabase(resourceGroupName: string, serverName: string, databaseName: string, options?: DataMaskingRulesListByDatabaseOptionalParams): PagedAsyncIterableIterator<DataMaskingRule, DataMaskingRule[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

serverName

string

The name of the server.

databaseName

string

The name of the database.

options
DataMaskingRulesListByDatabaseOptionalParams

The options parameters.

Returns