Class DatabaseThreatDetectionPolicyArgs
Inherited Members
Namespace: Pulumi.Azure.Sql.Inputs
Assembly: Pulumi.Azure.dll
Syntax
public sealed class DatabaseThreatDetectionPolicyArgs : ResourceArgs
Constructors
View SourceDatabaseThreatDetectionPolicyArgs()
Declaration
public DatabaseThreatDetectionPolicyArgs()
Properties
View SourceDisabledAlerts
Specifies a list of alerts which should be disabled. Possible values include Access_Anomaly, Sql_Injection and Sql_Injection_Vulnerability.
Declaration
public InputList<string> DisabledAlerts { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
EmailAccountAdmins
Should the account administrators be emailed when this alert is triggered?
Declaration
public Input<string> EmailAccountAdmins { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
EmailAddresses
A list of email addresses which alerts should be sent to.
Declaration
public InputList<string> EmailAddresses { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
RetentionDays
Specifies the number of days to keep in the Threat Detection audit logs.
Declaration
public Input<int> RetentionDays { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
State
The State of the Policy. Possible values are Enabled, Disabled or New.
Declaration
public Input<string> State { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
StorageAccountAccessKey
Specifies the identifier key of the Threat Detection audit storage account. Required if state is Enabled.
Declaration
public Input<string> StorageAccountAccessKey { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<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 Input<string> StorageEndpoint { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
UseServerDefault
Should the default server policy be used? Defaults to Disabled.
Declaration
public Input<string> UseServerDefault { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |