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.
  • 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