Interface SqlDatabaseThreatDetectionPolicy
-
- All Superinterfaces:
ChildResource<SqlDatabase>,ExternalChildResource<SqlDatabaseThreatDetectionPolicy,SqlDatabase>,HasInnerModel<DatabaseSecurityAlertPolicyInner>,HasName,HasParent<SqlDatabase>,HasResourceGroup,Indexable,Refreshable<SqlDatabaseThreatDetectionPolicy>,Updatable<SqlDatabaseThreatDetectionPolicy.Update>
public interface SqlDatabaseThreatDetectionPolicy extends ExternalChildResource<SqlDatabaseThreatDetectionPolicy,SqlDatabase>, HasParent<SqlDatabase>, HasInnerModel<DatabaseSecurityAlertPolicyInner>, HasResourceGroup, Refreshable<SqlDatabaseThreatDetectionPolicy>, Updatable<SqlDatabaseThreatDetectionPolicy.Update>
A representation of the Azure SQL Database threat detection policy.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceSqlDatabaseThreatDetectionPolicy.DefinitionStagesGrouping of all the SQL database threat detection policy definition stages.static interfaceSqlDatabaseThreatDetectionPolicy.SqlDatabaseThreatDetectionPolicyDefinitionContainer interface for all the definitions that need to be implemented.static interfaceSqlDatabaseThreatDetectionPolicy.SqlDatabaseThreatDetectionPolicyOperationsContainer interface for SQL database threat detection policy operations.static interfaceSqlDatabaseThreatDetectionPolicy.UpdateThe template for a SQL database threat detection policy update operation, containing all the settings that can be modified.static interfaceSqlDatabaseThreatDetectionPolicy.UpdateStagesGrouping of all the SQL database threat detection policy update stages.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SecurityAlertPolicyStatecurrentState()StringdisabledAlerts()booleanemailAccountAdmins()StringemailAddresses()booleanisDefaultSecurityAlertPolicy()Stringkind()com.azure.core.management.Regionregion()intretentionDays()StringstorageAccountAccessKey()StringstorageEndpoint()-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.ExternalChildResource
id
-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel
innerModel
-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasName
name
-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasParent
parent
-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasResourceGroup
resourceGroupName
-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.Refreshable
refresh, refreshAsync
-
-
-
-
Method Detail
-
region
com.azure.core.management.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
-
-