SqlServerSecurityAlertPolicy Interface
Implements
public interface SqlServerSecurityAlertPolicy
extends HasId, HasInnerModel<ServerSecurityAlertPolicyInner>, HasName, HasResourceGroup, Indexable, Refreshable<SqlServerSecurityAlertPolicy>, Updatable<Update>
An immutable client-side representation of an Azure SQL Server Security Alert Policy.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract List<String> |
disabledAlerts()
Gets a list of alerts that are disabled. |
abstract boolean |
emailAccountAdmins()
Checks whether an alert will be sent to the account administrators. |
abstract List<String> |
emailAddresses()
Gets a list of e-mail addresses to which the alert is sent. |
abstract String |
parentId()
Gets the parent SQL server ID. |
abstract int |
retentionDays()
Gets the number of days to keep in the Threat Detection audit logs. |
abstract String |
sqlServerName()
Gets the name of the SQL Server to which this DNS alias belongs. |
abstract
Security |
state()
Gets the state of the policy. |
abstract String |
storageAccountAccessKey()
Gets the identifier key of the Threat Detection audit storage account. |
abstract String |
storageEndpoint()
Gets the blob storage endpoint. |
Method Details
disabledAlerts
public abstract List
Gets a list of alerts that are disabled.
Returns:
emailAccountAdmins
public abstract boolean emailAccountAdmins()
Checks whether an alert will be sent to the account administrators.
Returns:
emailAddresses
public abstract List
Gets a list of e-mail addresses to which the alert is sent.
Returns:
parentId
public abstract String parentId()
Gets the parent SQL server ID.
Returns:
retentionDays
public abstract int retentionDays()
Gets the number of days to keep in the Threat Detection audit logs.
Returns:
sqlServerName
public abstract String sqlServerName()
Gets the name of the SQL Server to which this DNS alias belongs.
Returns:
state
public abstract SecurityAlertPolicyState state()
Gets the state of the policy.
Returns:
storageAccountAccessKey
public abstract String storageAccountAccessKey()
Gets the identifier key of the Threat Detection audit storage account.
Returns:
storageEndpoint
public abstract String storageEndpoint()
Gets the blob storage endpoint.
Returns:
Applies to
Azure SDK for Java