Class SecurityEventProperties

java.lang.Object
com.azure.resourcemanager.sql.fluent.models.SecurityEventProperties

public final class SecurityEventProperties extends Object
The properties of a security event.
  • Constructor Details

    • SecurityEventProperties

      public SecurityEventProperties()
      Creates an instance of SecurityEventProperties class.
  • Method Details

    • eventTime

      public OffsetDateTime eventTime()
      Get the eventTime property: The time when the security event occurred.
      Returns:
      the eventTime value.
    • securityEventType

      public SecurityEventType securityEventType()
      Get the securityEventType property: The type of the security event.
      Returns:
      the securityEventType value.
    • subscription

      public String subscription()
      Get the subscription property: The subscription name.
      Returns:
      the subscription value.
    • server

      public String server()
      Get the server property: The server name.
      Returns:
      the server value.
    • database

      public String database()
      Get the database property: The database name.
      Returns:
      the database value.
    • clientIp

      public String clientIp()
      Get the clientIp property: The IP address of the client who executed the statement.
      Returns:
      the clientIp value.
    • applicationName

      public String applicationName()
      Get the applicationName property: The application used to execute the statement.
      Returns:
      the applicationName value.
    • principalName

      public String principalName()
      Get the principalName property: The principal user who executed the statement.
      Returns:
      the principalName value.
    • securityEventSqlInjectionAdditionalProperties

      public SecurityEventSqlInjectionAdditionalProperties securityEventSqlInjectionAdditionalProperties()
      Get the securityEventSqlInjectionAdditionalProperties property: The sql injection additional properties, populated only if the type of the security event is sql injection.
      Returns:
      the securityEventSqlInjectionAdditionalProperties value.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.