Class SecurityEventInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.sql.fluent.models.SecurityEventInner
public final class SecurityEventInner
extends com.azure.core.management.ProxyResource
A security event.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the applicationName property: The application used to execute the statement.clientIp()Get the clientIp property: The IP address of the client who executed the statement.database()Get the database property: The database name.Get the eventTime property: The time when the security event occurred.Get the principalName property: The principal user who executed the statement.Get the securityEventSqlInjectionAdditionalProperties property: The sql injection additional properties, populated only if the type of the security event is sql injection.Get the securityEventType property: The type of the security event.server()Get the server property: The server name.Get the subscription property: The subscription name.voidvalidate()Validates the instance.Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
SecurityEventInner
public SecurityEventInner()Creates an instance of SecurityEventInner class.
-
-
Method Details
-
eventTime
Get the eventTime property: The time when the security event occurred.- Returns:
- the eventTime value.
-
securityEventType
Get the securityEventType property: The type of the security event.- Returns:
- the securityEventType value.
-
subscription
Get the subscription property: The subscription name.- Returns:
- the subscription value.
-
server
Get the server property: The server name.- Returns:
- the server value.
-
database
Get the database property: The database name.- Returns:
- the database value.
-
clientIp
Get the clientIp property: The IP address of the client who executed the statement.- Returns:
- the clientIp value.
-
applicationName
Get the applicationName property: The application used to execute the statement.- Returns:
- the applicationName value.
-
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.
-