C# Класс Microsoft.Azure.Commands.Sql.Auditing.Services.AuditingEndpointsCommunicator

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

Private Properties

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

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

Метод Описание
AuditingEndpointsCommunicator ( AzureContext context ) : Microsoft.Azure.Commands.Common.Authentication
GetDatabaseAuditingPolicy ( string resourceGroupName, string serverName, string databaseName, string clientRequestId, Microsoft.Azure.Management.Sql.Models.BlobAuditingPolicy &policy ) : void

Gets the database blob auditing policy for the given database in the given database server in the given resource group

GetDatabaseAuditingPolicy ( string resourceGroupName, string serverName, string databaseName, string clientRequestId, Microsoft.Azure.Management.Sql.Models.DatabaseAuditingPolicy &policy ) : void

Gets the database auditing policy for the given database in the given database server in the given resource group

GetServerAuditingPolicy ( string resourceGroupName, string serverName, string clientRequestId, Microsoft.Azure.Management.Sql.Models.BlobAuditingPolicy &policy ) : void

Gets the database server blob auditing policy for the given database server in the given resource group

GetServerAuditingPolicy ( string resourceGroupName, string serverName, string clientRequestId, Microsoft.Azure.Management.Sql.Models.ServerAuditingPolicy &policy ) : void

Gets the database server auditing policy for the given database server in the given resource group

GetServerCreateOrUpdateOperationStatus ( string operationStatusLink, string clientRequestId ) : OperationStatus

Returns the operation status of a server create or update operation

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

Calls the set blob audit APIs for the database auditing policy for the given database in the given database server in the given resource group

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

Calls the set audit APIs for the database auditing policy for the given database in the given database server in the given resource group

SetServerAuditingPolicy ( string resourceGroupName, string serverName, string clientRequestId, Microsoft.Azure.Management.Sql.Models.BlobAuditingCreateOrUpdateParameters parameters ) : void

Sets the database server blob auditing policy of the given database server in the given resource group

SetServerAuditingPolicy ( string resourceGroupName, string serverName, string clientRequestId, Microsoft.Azure.Management.Sql.Models.ServerAuditingPolicyCreateOrUpdateParameters parameters ) : void

Sets the database server auditing policy of the given database server in the given resource group

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

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

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

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

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

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

Gets the database blob auditing policy for the given database in the given database server in the given resource group
public GetDatabaseAuditingPolicy ( string resourceGroupName, string serverName, string databaseName, string clientRequestId, Microsoft.Azure.Management.Sql.Models.BlobAuditingPolicy &policy ) : void
resourceGroupName string
serverName string
databaseName string
clientRequestId string
policy Microsoft.Azure.Management.Sql.Models.BlobAuditingPolicy
Результат void

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

Gets the database auditing policy for the given database in the given database server in the given resource group
public GetDatabaseAuditingPolicy ( string resourceGroupName, string serverName, string databaseName, string clientRequestId, Microsoft.Azure.Management.Sql.Models.DatabaseAuditingPolicy &policy ) : void
resourceGroupName string
serverName string
databaseName string
clientRequestId string
policy Microsoft.Azure.Management.Sql.Models.DatabaseAuditingPolicy
Результат void

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

Gets the database server blob auditing policy for the given database server in the given resource group
public GetServerAuditingPolicy ( string resourceGroupName, string serverName, string clientRequestId, Microsoft.Azure.Management.Sql.Models.BlobAuditingPolicy &policy ) : void
resourceGroupName string
serverName string
clientRequestId string
policy Microsoft.Azure.Management.Sql.Models.BlobAuditingPolicy
Результат void

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

Gets the database server auditing policy for the given database server in the given resource group
public GetServerAuditingPolicy ( string resourceGroupName, string serverName, string clientRequestId, Microsoft.Azure.Management.Sql.Models.ServerAuditingPolicy &policy ) : void
resourceGroupName string
serverName string
clientRequestId string
policy Microsoft.Azure.Management.Sql.Models.ServerAuditingPolicy
Результат void

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

Returns the operation status of a server create or update operation
public GetServerCreateOrUpdateOperationStatus ( string operationStatusLink, string clientRequestId ) : OperationStatus
operationStatusLink string
clientRequestId string
Результат OperationStatus

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

Calls the set blob audit APIs for the database auditing policy for the given database in the given database server in the given resource group
public SetDatabaseAuditingPolicy ( string resourceGroupName, string serverName, string databaseName, string clientRequestId, Microsoft.Azure.Management.Sql.Models.BlobAuditingCreateOrUpdateParameters parameters ) : void
resourceGroupName string
serverName string
databaseName string
clientRequestId string
parameters Microsoft.Azure.Management.Sql.Models.BlobAuditingCreateOrUpdateParameters
Результат void

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

Calls the set audit APIs for the database auditing policy for the given database in the given database server in the given resource group
public SetDatabaseAuditingPolicy ( string resourceGroupName, string serverName, string databaseName, string clientRequestId, Microsoft.Azure.Management.Sql.Models.DatabaseAuditingPolicyCreateOrUpdateParameters parameters ) : void
resourceGroupName string
serverName string
databaseName string
clientRequestId string
parameters Microsoft.Azure.Management.Sql.Models.DatabaseAuditingPolicyCreateOrUpdateParameters
Результат void

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

Sets the database server blob auditing policy of the given database server in the given resource group
public SetServerAuditingPolicy ( string resourceGroupName, string serverName, string clientRequestId, Microsoft.Azure.Management.Sql.Models.BlobAuditingCreateOrUpdateParameters parameters ) : void
resourceGroupName string
serverName string
clientRequestId string
parameters Microsoft.Azure.Management.Sql.Models.BlobAuditingCreateOrUpdateParameters
Результат void

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

Sets the database server auditing policy of the given database server in the given resource group
public SetServerAuditingPolicy ( string resourceGroupName, string serverName, string clientRequestId, Microsoft.Azure.Management.Sql.Models.ServerAuditingPolicyCreateOrUpdateParameters parameters ) : void
resourceGroupName string
serverName string
clientRequestId string
parameters Microsoft.Azure.Management.Sql.Models.ServerAuditingPolicyCreateOrUpdateParameters
Результат void