C# Class Microsoft.Azure.Commands.Sql.DataMasking.Services.DataMaskingEndpointsCommunicator

This class is responsible for all the REST communication with the data masking endpoints
Datei anzeigen Open project: Azure/azure-powershell Class Usage Examples

Private Properties

Property Type Description
GetCurrentSqlClient Microsoft.Azure.Management.Sql.SqlManagementClient

Public Methods

Method Description
DataMaskingEndpointsCommunicator ( AzureContext context ) : Microsoft.Azure.Commands.Common.Authentication
DeleteDataMaskingRule ( string resourceGroupName, string serverName, string databaseName, string ruleId, string clientRequestId ) : void

Deletes a data masking rule from the list of rules of a specific database

GetDatabaseDataMaskingPolicy ( string resourceGroupName, string serverName, string databaseName, string clientRequestId ) : Microsoft.Azure.Management.Sql.Models.DataMaskingPolicy

Get the data masking policy for a specific database

ListDataMaskingRules ( string resourceGroupName, string serverName, string databaseName, string clientRequestId ) : IList

Calls to list all the data masking rules for a specific database

SetDatabaseDataMaskingPolicy ( string resourceGroupName, string serverName, string databaseName, string clientRequestId, Microsoft.Azure.Management.Sql.Models.DataMaskingPolicyCreateOrUpdateParameters parameters ) : void

Set (or create) the data masking policy for a specific database

SetDatabaseDataMaskingRule ( string resourceGroupName, string serverName, string databaseName, string ruleId, string clientRequestId, Microsoft.Azure.Management.Sql.Models.DataMaskingRuleCreateOrUpdateParameters parameters ) : void

Sets the data masking rules for a specific database

Private Methods

Method Description
GetCurrentSqlClient ( String clientRequestId ) : Microsoft.Azure.Management.Sql.SqlManagementClient

Retrieve the SQL Management client for the currently selected subscription, adding the session and request id tracing headers for the current cmdlet invocation.

Method Details

DataMaskingEndpointsCommunicator() public method

public DataMaskingEndpointsCommunicator ( AzureContext context ) : Microsoft.Azure.Commands.Common.Authentication
context Microsoft.Azure.Commands.Common.Authentication.Models.AzureContext
return Microsoft.Azure.Commands.Common.Authentication

DeleteDataMaskingRule() public method

Deletes a data masking rule from the list of rules of a specific database
public DeleteDataMaskingRule ( string resourceGroupName, string serverName, string databaseName, string ruleId, string clientRequestId ) : void
resourceGroupName string
serverName string
databaseName string
ruleId string
clientRequestId string
return void

GetDatabaseDataMaskingPolicy() public method

Get the data masking policy for a specific database
public GetDatabaseDataMaskingPolicy ( string resourceGroupName, string serverName, string databaseName, string clientRequestId ) : Microsoft.Azure.Management.Sql.Models.DataMaskingPolicy
resourceGroupName string
serverName string
databaseName string
clientRequestId string
return Microsoft.Azure.Management.Sql.Models.DataMaskingPolicy

ListDataMaskingRules() public method

Calls to list all the data masking rules for a specific database
public ListDataMaskingRules ( string resourceGroupName, string serverName, string databaseName, string clientRequestId ) : IList
resourceGroupName string
serverName string
databaseName string
clientRequestId string
return IList

SetDatabaseDataMaskingPolicy() public method

Set (or create) the data masking policy for a specific database
public SetDatabaseDataMaskingPolicy ( string resourceGroupName, string serverName, string databaseName, string clientRequestId, Microsoft.Azure.Management.Sql.Models.DataMaskingPolicyCreateOrUpdateParameters parameters ) : void
resourceGroupName string
serverName string
databaseName string
clientRequestId string
parameters Microsoft.Azure.Management.Sql.Models.DataMaskingPolicyCreateOrUpdateParameters
return void

SetDatabaseDataMaskingRule() public method

Sets the data masking rules for a specific database
public SetDatabaseDataMaskingRule ( string resourceGroupName, string serverName, string databaseName, string ruleId, string clientRequestId, Microsoft.Azure.Management.Sql.Models.DataMaskingRuleCreateOrUpdateParameters parameters ) : void
resourceGroupName string
serverName string
databaseName string
ruleId string
clientRequestId string
parameters Microsoft.Azure.Management.Sql.Models.DataMaskingRuleCreateOrUpdateParameters
return void