Class ServerSecurityAlertPolicyState
Inherited Members
Namespace: Pulumi.Azure.MSSql
Assembly: Pulumi.Azure.dll
Syntax
public sealed class ServerSecurityAlertPolicyState : ResourceArgs
Constructors
View SourceServerSecurityAlertPolicyState()
Declaration
public ServerSecurityAlertPolicyState()
Properties
View SourceDisabledAlerts
Specifies an array of alerts that are disabled. Allowed values are: Sql_Injection, Sql_Injection_Vulnerability, Access_Anomaly, Data_Exfiltration, Unsafe_Action.
Declaration
public InputList<string> DisabledAlerts { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
EmailAccountAdmins
Boolean flag which specifies if the alert is sent to the account administrators or not. Defaults to false.
Declaration
public Input<bool> EmailAccountAdmins { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
EmailAddresses
Specifies an array of e-mail addresses to which the alert is sent.
Declaration
public InputList<string> EmailAddresses { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
ResourceGroupName
The name of the resource group that contains the MS SQL Server. Changing this forces a new resource to be created.
Declaration
public Input<string> ResourceGroupName { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
RetentionDays
Specifies the number of days to keep in the Threat Detection audit logs. Defaults to 0.
Declaration
public Input<int> RetentionDays { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
ServerName
Specifies the name of the MS SQL Server. Changing this forces a new resource to be created.
Declaration
public Input<string> ServerName { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
State
Specifies the state of the policy, whether it is enabled or disabled or a policy has not been applied yet on the specific database server. Allowed values are: Disabled, Enabled, 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.
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.
Declaration
public Input<string> StorageEndpoint { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |