Class DatabaseThreatDetectionPolicy
Inheritance
Inherited Members
Namespace: Pulumi.Azure.Sql.Outputs
Assembly: Pulumi.Azure.dll
Syntax
public sealed class DatabaseThreatDetectionPolicy
Fields
View SourceDisabledAlerts
Specifies a list of alerts which should be disabled. Possible values include Access_Anomaly, Sql_Injection and Sql_Injection_Vulnerability.
Declaration
public readonly ImmutableArray<string> DisabledAlerts
Field Value
| Type | Description |
|---|---|
| System.Collections.Immutable.ImmutableArray<System.String> |
EmailAccountAdmins
Should the account administrators be emailed when this alert is triggered?
Declaration
public readonly string EmailAccountAdmins
Field Value
| Type | Description |
|---|---|
| System.String |
EmailAddresses
A list of email addresses which alerts should be sent to.
Declaration
public readonly ImmutableArray<string> EmailAddresses
Field Value
| Type | Description |
|---|---|
| System.Collections.Immutable.ImmutableArray<System.String> |
RetentionDays
Specifies the number of days to keep in the Threat Detection audit logs.
Declaration
public readonly int? RetentionDays
Field Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |
State
The State of the Policy. Possible values are Enabled, Disabled or New.
Declaration
public readonly string State
Field Value
| Type | Description |
|---|---|
| System.String |
StorageAccountAccessKey
Specifies the identifier key of the Threat Detection audit storage account. Required if state is Enabled.
Declaration
public readonly string StorageAccountAccessKey
Field Value
| Type | Description |
|---|---|
| System.String |
StorageEndpoint
Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob storage will hold all Threat Detection audit logs. Required if state is Enabled.
Declaration
public readonly string StorageEndpoint
Field Value
| Type | Description |
|---|---|
| System.String |
UseServerDefault
Should the default server policy be used? Defaults to Disabled.
Declaration
public readonly string UseServerDefault
Field Value
| Type | Description |
|---|---|
| System.String |