Interface SqlDatabaseThreatDetectionPolicy
- All Superinterfaces:
ChildResource<SqlDatabase>,ExternalChildResource<SqlDatabaseThreatDetectionPolicy,,SqlDatabase> HasInner<com.microsoft.azure.management.sql.implementation.DatabaseSecurityAlertPolicyInner>,HasName,HasParent<SqlDatabase>,HasResourceGroup,Indexable,Refreshable<SqlDatabaseThreatDetectionPolicy>,Updatable<SqlDatabaseThreatDetectionPolicy.Update>
@Beta(V1_7_0)
public interface SqlDatabaseThreatDetectionPolicy
extends ExternalChildResource<SqlDatabaseThreatDetectionPolicy,SqlDatabase>, HasParent<SqlDatabase>, HasInner<com.microsoft.azure.management.sql.implementation.DatabaseSecurityAlertPolicyInner>, HasResourceGroup, Refreshable<SqlDatabaseThreatDetectionPolicy>, Updatable<SqlDatabaseThreatDetectionPolicy.Update>
A representation of the Azure SQL Database threat detection policy.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceGrouping of all the SQL database threat detection policy definition stages.static interfaceContainer interface for all the definitions that need to be implemented.static interfaceContainer interface for SQL database threat detection policy operations.static interfaceThe template for a SQL database threat detection policy update operation, containing all the settings that can be modified.static interfaceGrouping of all the SQL database threat detection policy update stages. -
Method Summary
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.ExternalChildResource
idMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.HasInner
innerMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.HasName
nameMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.HasParent
parentMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.HasResourceGroup
resourceGroupNameMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.Indexable
keyMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.Refreshable
refresh, refreshAsync
-
Method Details
-
region
Region region()- Returns:
- the geo-location where the resource lives
-
kind
String kind()- Returns:
- the resource kind
-
currentState
SecurityAlertPolicyState currentState()- Returns:
- the state of the policy.
-
disabledAlerts
String disabledAlerts()- Returns:
- the semicolon-separated list of alerts that are disabled
-
emailAddresses
String emailAddresses()- Returns:
- the semicolon-separated list of e-mail addresses to which the alert is sent
-
emailAccountAdmins
boolean emailAccountAdmins()- Returns:
- true if the alert is sent to the account administrators
-
storageEndpoint
String storageEndpoint()- Returns:
- the blob storage endpoint
-
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
-
isDefaultSecurityAlertPolicy
boolean isDefaultSecurityAlertPolicy()- Returns:
- true if using default server policy
-