Interface SqlDatabaseThreatDetectionPolicy

All Superinterfaces:
ChildResource<SqlDatabase>, ExternalChildResource<SqlDatabaseThreatDetectionPolicy,SqlDatabase>, HasInnerModel<DatabaseSecurityAlertPolicyInner>, HasName, HasParent<SqlDatabase>, HasResourceGroup, Indexable, Refreshable<SqlDatabaseThreatDetectionPolicy>, Updatable<SqlDatabaseThreatDetectionPolicy.Update>

A representation of the Azure SQL Database threat detection policy.
  • Method Details

    • 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

      @Deprecated String disabledAlerts()
      Deprecated.
      Returns:
      the semicolon-separated list of alerts that are disabled
    • disabledAlertList

      List<String> disabledAlertList()
      Returns:
      a list of disabled alerts
    • emailAddresses

      @Deprecated String emailAddresses()
      Deprecated.
      Returns:
      the semicolon-separated list of e-mail addresses to which the alert is sent
    • emailAddressList

      List<String> emailAddressList()
      Returns:
      a 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