Interface SqlServerSecurityAlertPolicy

All Superinterfaces:
com.azure.resourcemanager.resources.fluentcore.arm.models.HasId, com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel<ServerSecurityAlertPolicyInner>, com.azure.resourcemanager.resources.fluentcore.arm.models.HasName, com.azure.resourcemanager.resources.fluentcore.arm.models.HasResourceGroup, com.azure.resourcemanager.resources.fluentcore.model.Indexable, com.azure.resourcemanager.resources.fluentcore.model.Refreshable<SqlServerSecurityAlertPolicy>, com.azure.resourcemanager.resources.fluentcore.model.Updatable<SqlServerSecurityAlertPolicy.Update>

public interface SqlServerSecurityAlertPolicy extends com.azure.resourcemanager.resources.fluentcore.arm.models.HasId, com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel<ServerSecurityAlertPolicyInner>, com.azure.resourcemanager.resources.fluentcore.arm.models.HasName, com.azure.resourcemanager.resources.fluentcore.arm.models.HasResourceGroup, com.azure.resourcemanager.resources.fluentcore.model.Indexable, com.azure.resourcemanager.resources.fluentcore.model.Refreshable<SqlServerSecurityAlertPolicy>, com.azure.resourcemanager.resources.fluentcore.model.Updatable<SqlServerSecurityAlertPolicy.Update>
An immutable client-side representation of an Azure SQL Server Security Alert Policy.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    The template for a SQL Server Security Alert Policy update operation, containing all the settings that can be modified.
    static interface 
    Grouping of all the SQL Server Security Alert Policy update stages.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets a list of alerts that are disabled.
    boolean
    Checks whether an alert will be sent to the account administrators.
    Gets a list of e-mail addresses to which the alert is sent.
    Gets the parent SQL server ID.
    int
    Gets the number of days to keep in the Threat Detection audit logs.
    Gets the name of the SQL Server to which this DNS alias belongs.
    Gets the state of the policy.
    Gets the identifier key of the Threat Detection audit storage account.
    Gets the blob storage endpoint.

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasId

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

    resourceGroupName

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.Indexable

    key

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.Refreshable

    refresh, refreshAsync

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.Updatable

    update
  • Method Details

    • sqlServerName

      String sqlServerName()
      Gets the name of the SQL Server to which this DNS alias belongs.
      Returns:
      name of the SQL Server to which this DNS alias belongs
    • parentId

      String parentId()
      Gets the parent SQL server ID.
      Returns:
      the parent SQL server ID
    • state

      Gets the state of the policy.
      Returns:
      the state of the policy, whether it is enabled or disabled
    • disabledAlerts

      List<String> disabledAlerts()
      Gets a list of alerts that are disabled.
      Returns:
      a list of alerts that are disabled
    • emailAddresses

      List<String> emailAddresses()
      Gets a list of e-mail addresses to which the alert is sent.
      Returns:
      a list of e-mail addresses to which the alert is sent
    • emailAccountAdmins

      boolean emailAccountAdmins()
      Checks whether an alert will be sent to the account administrators.
      Returns:
      true if an alert will be sent to the account administrators
    • storageEndpoint

      String storageEndpoint()
      Gets the blob storage endpoint.
      Returns:
      the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net); this blob storage will hold all Threat Detection audit logs
    • storageAccountAccessKey

      String storageAccountAccessKey()
      Gets the identifier key of the Threat Detection audit storage account.
      Returns:
      the identifier key of the Threat Detection audit storage account
    • retentionDays

      int retentionDays()
      Gets the number of days to keep in the Threat Detection audit logs.
      Returns:
      the number of days to keep in the Threat Detection audit logs