Share via


SqlAuditAdapter<AuditPolicyType,AuditModelType> Class

Definition

The SqlAuditClient class is responsible for transforming the data that was received form the endpoints to the cmdlets model of auditing policy and vice versa

public abstract class SqlAuditAdapter<AuditPolicyType,AuditModelType> where AuditPolicyType : ProxyResource where AuditModelType : WorkspaceDevOpsAuditModel
type SqlAuditAdapter<'AuditPolicyType, 'AuditModelType (requires 'AuditPolicyType :> ProxyResource and 'AuditModelType :> WorkspaceDevOpsAuditModel)> = class
Public MustInherit Class SqlAuditAdapter(Of AuditPolicyType, AuditModelType)

Type Parameters

AuditPolicyType
AuditModelType
Inheritance
SqlAuditAdapter<AuditPolicyType,AuditModelType>
Derived

Constructors

SqlAuditAdapter<AuditPolicyType,AuditModelType>(IAzureContext, Guid)

Properties

AzureCommunicator

The Azure endpoints communicator used by this adapter

Communicator

The auditing endpoints communicator used by this adapter

Context

Gets or sets the Azure profile

Methods

CreateDiagnosticSettings(String, String, String, String, String, String)
GetAuditingPolicy(String, String)
GetDiagnosticsEnablingAuditCategoryName()
GetNextDiagnosticSettingsNamePrefix()
GetStorageKeyKind(AuditModelType)
ModelizeAuditPolicy(AuditModelType, AuditPolicyType)
PolicizeAuditModel(AuditModelType, ProxyResource)
RemoveDiagnosticSettings(DiagnosticSettingsResource, AuditModelType)
SetAudit(AuditModelType)
UpdateDiagnosticSettings(DiagnosticSettingsResource, AuditModelType)

Applies to