Interface SqlServerSecurityAlertPolicy
- All Superinterfaces:
HasId
,HasInner<com.microsoft.azure.management.sql.implementation.ServerSecurityAlertPolicyInner>
,HasName
,HasResourceGroup
,Indexable
,Refreshable<SqlServerSecurityAlertPolicy>
,Updatable<SqlServerSecurityAlertPolicy.Update>
@Beta(V1_15_0)
public interface SqlServerSecurityAlertPolicy
extends HasId, HasInner<com.microsoft.azure.management.sql.implementation.ServerSecurityAlertPolicyInner>, HasName, HasResourceGroup, Indexable, Refreshable<SqlServerSecurityAlertPolicy>, Updatable<SqlServerSecurityAlertPolicy.Update>
An immutable client-side representation of an Azure SQL Server Security Alert Policy.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
The template for a SQL Server Security Alert Policy update operation, containing all the settings that can be modified.static interface
Grouping of all the SQL Server Security Alert Policy update stages. -
Method Summary
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.HasId
id
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.HasInner
inner
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.HasName
name
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.HasResourceGroup
resourceGroupName
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.Indexable
key
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.Refreshable
refresh, refreshAsync
-
Method Details
-
sqlServerName
String sqlServerName()- Returns:
- name of the SQL Server to which this DNS alias belongs
-
parentId
String parentId()- Returns:
- the parent SQL server ID
-
state
SecurityAlertPolicyState state()- Returns:
- the state of the policy, whether it is enabled or disabled
-
disabledAlerts
- Returns:
- a list of alerts that are disabled
-
emailAddresses
- Returns:
- a list of e-mail addresses to which the alert is sent
-
emailAccountAdmins
boolean emailAccountAdmins()- Returns:
- true if an alert will be sent to the account administrators
-
storageEndpoint
String storageEndpoint()- Returns:
- the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net); this blob storage will hold all Threat Detection audit logs
-
storageAccountAccessKey
String storageAccountAccessKey()- Returns:
- the identifier key of the Threat Detection audit storage account
-
retentionDays
int retentionDays()- Returns:
- the number of days to keep in the Threat Detection audit logs
-