GetServerSecurityAlertPolicyResult

data class GetServerSecurityAlertPolicyResult(val disabledAlerts: List<String>? = null, val emailAccountAdmins: Boolean? = null, val emailAddresses: List<String>? = null, val id: String, val name: String, val retentionDays: Int? = null, val state: String, val storageAccountAccessKey: String? = null, val storageEndpoint: String? = null, val type: String)

A server security alert policy.

Constructors

Link copied to clipboard
constructor(disabledAlerts: List<String>? = null, emailAccountAdmins: Boolean? = null, emailAddresses: List<String>? = null, id: String, name: String, retentionDays: Int? = null, state: String, storageAccountAccessKey: String? = null, storageEndpoint: String? = null, type: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val disabledAlerts: List<String>? = null

Specifies an array of alerts that are disabled. Allowed values are: Sql_Injection, Sql_Injection_Vulnerability, Access_Anomaly

Link copied to clipboard

Specifies that the alert is sent to the account administrators.

Link copied to clipboard
val emailAddresses: List<String>? = null

Specifies an array of e-mail addresses to which the alert is sent.

Link copied to clipboard
val id: String

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

Link copied to clipboard

The name of the resource

Link copied to clipboard
val retentionDays: Int? = null

Specifies the number of days to keep in the Threat Detection audit logs.

Link copied to clipboard

Specifies the state of the policy, whether it is enabled or disabled.

Link copied to clipboard

Specifies the identifier key of the Threat Detection audit storage account.

Link copied to clipboard
val storageEndpoint: String? = null

Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob storage will hold all Threat Detection audit logs.

Link copied to clipboard

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"