C# Класс Microsoft.Azure.Commands.Sql.DataMasking.Services.DataMaskingEndpointsCommunicator

This class is responsible for all the REST communication with the data masking endpoints
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
GetCurrentSqlClient Microsoft.Azure.Management.Sql.SqlManagementClient

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
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.

Описание методов

DataMaskingEndpointsCommunicator() публичный Метод

public DataMaskingEndpointsCommunicator ( AzureContext context ) : Microsoft.Azure.Commands.Common.Authentication
context Microsoft.Azure.Commands.Common.Authentication.Models.AzureContext
Результат Microsoft.Azure.Commands.Common.Authentication

DeleteDataMaskingRule() публичный Метод

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
Результат void

GetDatabaseDataMaskingPolicy() публичный Метод

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
Результат Microsoft.Azure.Management.Sql.Models.DataMaskingPolicy

ListDataMaskingRules() публичный Метод

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
Результат IList

SetDatabaseDataMaskingPolicy() публичный Метод

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
Результат void

SetDatabaseDataMaskingRule() публичный Метод

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
Результат void