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 interface
Grouping of all the SQL database threat detection policy definition stages.static interface
Container interface for all the definitions that need to be implemented.static interface
Container interface for SQL database threat detection policy operations.static interface
The template for a SQL database threat detection policy update operation, containing all the settings that can be modified.static interface
Grouping 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
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.HasParent
parent
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
-
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
-