Table of Contents

Class AzureSqlAuditPolicy

Namespace
CENTREL.XIA.Configuration.Types
Assembly
CENTREL.XIA.Configuration.Types.dll

Represents the Azure SQL audit policy settings.

public class AzureSqlAuditPolicy : BypassSection
Inheritance
AzureSqlAuditPolicy
Inherited Members

Constructors

AzureSqlAuditPolicy()

Initializes a new instance of the CENTREL.XIA.Configuration.Types.AzureSqlAuditPolicy class.

public AzureSqlAuditPolicy()

Properties

AuditingEnabled

Gets or sets whether auditing is enabled.

public BooleanOption AuditingEnabled { get; set; }

Property Value

BooleanOption

EventHubAuthorizationRuleIdentifier

Gets or sets the resource identifier of the Event Hub authorization rule.

public string EventHubAuthorizationRuleIdentifier { get; set; }

Property Value

string

EventHubName

Gets or sets the optional event hub name.

public string EventHubName { get; set; }

Property Value

string

EventHubTargetEnabled

Gets or sets whether the event hub target is enabled.

public BooleanOption EventHubTargetEnabled { get; set; }

Property Value

BooleanOption

LogAnalyticsTargetEnabled

Gets or sets whether the log analytics target is enabled.

public BooleanOption LogAnalyticsTargetEnabled { get; set; }

Property Value

BooleanOption

LogAnalyticsWorkspaceIdentifier

Gets or sets the resource identifier of the log analytics workspace.

public string LogAnalyticsWorkspaceIdentifier { get; set; }

Property Value

string

LogAnalyticsWorkspaceName

Gets or sets the name of the log analytics workspace.

public string LogAnalyticsWorkspaceName { get; set; }

Property Value

string

RetentionDays

Gets or sets the number of retention days for the audit logs.

public int RetentionDays { get; set; }

Property Value

int

StorageAccountIdentifier

Gets or sets the resource identifier of the storage account used for auditing.

public string StorageAccountIdentifier { get; set; }

Property Value

string

StorageAccountName

Gets or sets the name of the storage account used for auditing.

public string StorageAccountName { get; set; }

Property Value

string

StorageKeyType

Gets or sets the key type to use to access the storage.

public AzureSqlAuditingStorageKeyType StorageKeyType { get; set; }

Property Value

AzureSqlAuditingStorageKeyType

StorageKeyTypeString

Gets the key type to use to access the storage.

public string StorageKeyTypeString { get; set; }

Property Value

string

StorageTargetEnabled

Gets or sets whether the storage target is enabled.

public BooleanOption StorageTargetEnabled { get; set; }

Property Value

BooleanOption

Methods

ToString()

Returns the audit policy as a human readable string.

public override string ToString()

Returns

string

The audit policy as a human readable string.