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
EventHubAuthorizationRuleIdentifier
Gets or sets the resource identifier of the Event Hub authorization rule.
public string EventHubAuthorizationRuleIdentifier { get; set; }
Property Value
EventHubName
Gets or sets the optional event hub name.
public string EventHubName { get; set; }
Property Value
EventHubTargetEnabled
Gets or sets whether the event hub target is enabled.
public BooleanOption EventHubTargetEnabled { get; set; }
Property Value
LogAnalyticsTargetEnabled
Gets or sets whether the log analytics target is enabled.
public BooleanOption LogAnalyticsTargetEnabled { get; set; }
Property Value
LogAnalyticsWorkspaceIdentifier
Gets or sets the resource identifier of the log analytics workspace.
public string LogAnalyticsWorkspaceIdentifier { get; set; }
Property Value
LogAnalyticsWorkspaceName
Gets or sets the name of the log analytics workspace.
public string LogAnalyticsWorkspaceName { get; set; }
Property Value
RetentionDays
Gets or sets the number of retention days for the audit logs.
public int RetentionDays { get; set; }
Property Value
StorageAccountIdentifier
Gets or sets the resource identifier of the storage account used for auditing.
public string StorageAccountIdentifier { get; set; }
Property Value
StorageAccountName
Gets or sets the name of the storage account used for auditing.
public string StorageAccountName { get; set; }
Property Value
StorageKeyType
Gets or sets the key type to use to access the storage.
public AzureSqlAuditingStorageKeyType StorageKeyType { get; set; }
Property Value
StorageKeyTypeString
Gets the key type to use to access the storage.
public string StorageKeyTypeString { get; set; }
Property Value
StorageTargetEnabled
Gets or sets whether the storage target is enabled.
public BooleanOption StorageTargetEnabled { get; set; }
Property Value
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.