C# Class Microsoft.Azure.Commands.Sql.Auditing.Services.AuditingEndpointsCommunicator

This class is responsible for all the REST communication with the audit REST endpoints
Afficher le fichier Open project: Azure/azure-powershell Class Usage Examples

Private Properties

Свойство Type Description
GetCurrentSqlClient Microsoft.Azure.Management.Sql.SqlManagementClient

Méthodes publiques

Méthode Description
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

Private Methods

Méthode 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

AuditingEndpointsCommunicator() public méthode

public AuditingEndpointsCommunicator ( AzureContext context ) : Microsoft.Azure.Commands.Common.Authentication
context Microsoft.Azure.Commands.Common.Authentication.Models.AzureContext
Résultat Microsoft.Azure.Commands.Common.Authentication

GetDatabaseAuditingPolicy() public méthode

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
Résultat void

GetDatabaseAuditingPolicy() public méthode

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
Résultat void

GetServerAuditingPolicy() public méthode

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
Résultat void

GetServerAuditingPolicy() public méthode

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
Résultat void

GetServerCreateOrUpdateOperationStatus() public méthode

Returns the operation status of a server create or update operation
public GetServerCreateOrUpdateOperationStatus ( string operationStatusLink, string clientRequestId ) : OperationStatus
operationStatusLink string
clientRequestId string
Résultat OperationStatus

SetDatabaseAuditingPolicy() public méthode

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
Résultat void

SetDatabaseAuditingPolicy() public méthode

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
Résultat void

SetServerAuditingPolicy() public méthode

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
Résultat void

SetServerAuditingPolicy() public méthode

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
Résultat void